* gcc.dg/stack-check-5.c: Skip with -fstack-protector.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr46932.c
blob2b39990d036035d22e226b98351a4900a5dbb309
1 /* { dg-options "-O2 -fdump-rtl-auto_inc_dec" } */
2 /* { dg-require-effective-target autoincdec } */
4 /* Check that accesses based on the frame pointer do not
5 use auto increment. */
7 extern void foo(char*);
8 void t01(char t)
10 char c = t;
11 foo(&c);
14 /* { dg-final { scan-rtl-dump-not "success" "auto_inc_dec" } } */