public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* fix testsuite/48506
@ 2011-04-09  0:01 Mike Stump
  0 siblings, 0 replies; only message in thread
From: Mike Stump @ 2011-04-09  0:01 UTC (permalink / raw)
  To: gcc-patches Patches

[-- Attachment #1: Type: text/plain, Size: 116 bytes --]

I've checked in this to avoid problems with ports that default to -fno-common.  I've also checked it into 4.6.x.


[-- Attachment #2: ccp.diffs.txt --]
[-- Type: text/plain, Size: 437 bytes --]

	PR testsuite/48506
	* gcc.dg/tree-ssa/ssa-ccp-17.c: Robustify against ports that
	default to fno-common.

Index: gcc.dg/tree-ssa/ssa-ccp-17.c
===================================================================
--- gcc.dg/tree-ssa/ssa-ccp-17.c	(revision 172125)
+++ gcc.dg/tree-ssa/ssa-ccp-17.c	(working copy)
@@ -18,7 +18,7 @@
   return ((struct Foo *)p)->i;
 }
 
-const struct Foo g;
+extern const struct Foo g;
 
 int foobar(void)
 {

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

only message in thread, other threads:[~2011-04-09  0:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-09  0:01 fix testsuite/48506 Mike Stump

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).