public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Make p and q referenced in gcc.dg/ipa/ipa-pta-11.c
@ 2010-05-09 13:09 Richard Guenther
  0 siblings, 0 replies; only message in thread
From: Richard Guenther @ 2010-05-09 13:09 UTC (permalink / raw)
  To: gcc-patches


Committed.

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

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

Index: gcc/testsuite/gcc.dg/ipa/ipa-pta-11.c
===================================================================
*** gcc/testsuite/gcc.dg/ipa/ipa-pta-11.c	(revision 159196)
--- gcc/testsuite/gcc.dg/ipa/ipa-pta-11.c	(working copy)
*************** int l;
*** 21,26 ****
--- 21,29 ----
  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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-05-09 13:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-09 13:09 [PATCH] Make p and q referenced in gcc.dg/ipa/ipa-pta-11.c Richard Guenther

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).