1 /* { dg-options "-O2 -fdump-rtl-auto_inc_dec" } */
2 /* { dg-require-effective-target autoincdec } */
3 
4 /* Check that accesses based on the frame pointer do not
5    use auto increment.  */
6 
7 extern void foo(char*);
t01(char t)8 void t01(char t)
9 {
10   char c = t;
11   foo(&c);
12 }
13 
14 /* { dg-final { scan-rtl-dump-not "success" "auto_inc_dec" } } */
15