1 /* { dg-lto-options {{ -O1 -flto -flto-partition=1to1 }} } */
2 /* { dg-lto-do run } */
4 /* Test that ipa-reference notice that get_val will not change since do_nothing does not
5 modify anything. This needs streaming cross file boundary summaries. */
6 extern int get_val (void);
7 extern int set_val (void);
8 extern void do_nothing (void);
21 if (!__builtin_constant_p (a
==b
))