Commit 64ed87b4 by Richard Guenther Committed by Richard Biener

ipa-pta-11.c: Make p and q referenced.

2010-05-09  Richard Guenther  <rguenther@suse.de>

	* gcc.dg/ipa/ipa-pta-11.c: Make p and q referenced.

From-SVN: r159199
parent d10380d2
2010-05-09 Richard Guenther <rguenther@suse.de>
* gcc.dg/ipa/ipa-pta-11.c: Make p and q referenced.
2010-05-09 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/lto6.adb: Remove superfluous -gnat05 switch.
......
......@@ -21,6 +21,9 @@ int l;
int *s = &l;
/* { dg-final { scan-ipa-dump "s = { ESCAPED NONLOCAL l }" "pta" } } */
/* Make p and q referenced so they do not get optimized out. */
int foo() { return &p < &q; }
int main()
{
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment