From d4dd174148d5aeb59792e8efcf12395a4f438dfb Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Fri, 8 Apr 2011 23:53:59 +0000 Subject: [PATCH] re PR testsuite/48506 (ssa-ccp-17.c = g.i fails) PR testsuite/48506 * gcc.dg/tree-ssa/ssa-ccp-17.c: Robustify against ports that default to fno-common. From-SVN: r172218 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-17.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b0a56997672..e510b63e635 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2011-04-08 Mike Stump + + PR testsuite/48506 + * gcc.dg/tree-ssa/ssa-ccp-17.c: Robustify against ports that + default to fno-common. + 2011-04-08 Georg-Johann Lay * gcc.dg/sibcall-3.c: Don't xfail on AVR. diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-17.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-17.c index 7d769ae176a..aece3c7cdc7 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-17.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-17.c @@ -18,7 +18,7 @@ int bar(void) return ((struct Foo *)p)->i; } -const struct Foo g; +extern const struct Foo g; int foobar(void) { -- 2.30.2