1 /* PR tree-optimization/52448 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -ftree-cselim -fdump-tree-cselim-details" } */
5 extern void perhaps_free_something (void);
7 void f1 (int *p
, int a
, int b
, int cond
, int cond2
)
11 perhaps_free_something ();
16 void f2 (int *p
, int a
, int b
, int *cond
, int *cond2
)
20 for (i
= 0; cond
[i
]; i
++)
24 perhaps_free_something ();
28 /* None of the above conditional stores might be made unconditional. */
29 /* { dg-final { scan-tree-dump-not "cstore" "cselim" } } */