1 /* Testcase derived from 20111227-1.c to ensure that REE is combining
2 redundant sign extends with sign extend to wider mode. */
3 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
4 /* { dg-options "-fdump-rtl-ree -O -free" } */
6 extern void abort (void);
13 void __attribute__((noinline
,noclone
))
16 if (t
== 2 && s
!= -1)
18 if (t
== 1 && i
!= -1)
20 if (t
== 0 && l
!= -1)
24 void __attribute__((noinline
,noclone
))
25 foo (signed char *a
, int t
)
45 /* { dg-final { scan-rtl-dump "Elimination opportunities = 3 realized = 3" "ree" } } */