1 /* { dg-options "isa_rev>=6 -mcompact-branches=optimal -mno-abicalls -G4" } */
2 /* { dg-final { scan-assembler-not "bne\t" } } */
3 /* { dg-final { scan-assembler-not "beq\t" } } */
4 /* { dg-final { scan-assembler-times "\\(foo\\)" 1 } } */
6 /* Test that when compact branches are used, that a compact branch is
7 produced in the case where code expansion would have occurred if a
8 delay slot branch would have be used. 'foo' should only be
9 referenced once in the program text. */
21 extern void t (int, int, int*);
28 t (1, foo
, &gr
->element
);