diff mbox

fix testsuite/48506

Message ID 4AD5EDE8-FA87-4DB7-86CE-A3387389ED8D@comcast.net
State New
Headers show

Commit Message

Mike Stump April 9, 2011, midnight UTC
I've checked in this to avoid problems with ports that default to -fno-common.  I've also checked it into 4.6.x.
PR testsuite/48506
	* gcc.dg/tree-ssa/ssa-ccp-17.c: Robustify against ports that
	default to fno-common.
diff mbox

Patch

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