* g++.dg/rtti/tinfo1.C: Scan for ".global" also.
PR testsuite/25442
* gcc.dg/ipa/ipa-1.c, gcc.dg/ipa/ipa-2.c, gcc.dg/ipa/ipa-3.c,
gcc.dg/ipa/ipa-4.c, gcc.dg/ipa/ipa-5.c: Skip if -fpic/-fPIC.
PR testsuite/25441
* gcc.dg/pr23911.c: Make test variable static.
PR testsuite/25444
* gcc.dg/tree-ssa/pr14841.c: Likewise.
From-SVN: r109083
+2005-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * g++.dg/rtti/tinfo1.C: Scan for ".global" also.
+
+ PR testsuite/25442
+ * gcc.dg/ipa/ipa-1.c, gcc.dg/ipa/ipa-2.c, gcc.dg/ipa/ipa-3.c,
+ gcc.dg/ipa/ipa-4.c, gcc.dg/ipa/ipa-5.c: Skip if -fpic/-fPIC.
+
+ PR testsuite/25441
+ * gcc.dg/pr23911.c: Make test variable static.
+
+ PR testsuite/25444
+ * gcc.dg/tree-ssa/pr14841.c: Likewise.
+
2005-12-26 Mark Mitchell <mark@codesourcery.com>
PR c++/25439
// Test if a local definition is in a linkonce/comdat section.
// { dg-do compile }
// { dg-final { scan-assembler "_ZTIP9CTemplateIhE\[: \t\n\]" } }
-// { dg-final { scan-assembler-not ".globl\[ \]+_ZTIP9CTemplateIhE" } }
+// { dg-final { scan-assembler-not "(.globl|.global)\[ \]+_ZTIP9CTemplateIhE" } }
// { dg-final { scan-assembler-not ".section\[^\n\r\]*_ZTIP9CTemplateIhE\[^\n\r\]*" } }
/* { dg-do compile } */
/* { dg-options "-O3 -fipa-cp -fdump-ipa-cp" } */
+/* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
#include <stdio.h>
int g (int b, int c)
/* { dg-do compile } */
/* { dg-options "-O3 -fipa-cp -fdump-ipa-cp" } */
+/* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
#include <stdio.h>
int g (int b, int c)
/* { dg-do compile } */
/* { dg-options "-O3 -fipa-cp -fdump-ipa-cp" } */
+/* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
/* Double constants. */
/* { dg-do compile } */
/* { dg-options "-O3 -fipa-cp -fdump-ipa-cp" } */
+/* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
#include <stdio.h>
int g (int b, int c)
/* { dg-do compile } */
/* { dg-options "-O3 -fipa-cp -fdump-ipa-cp" } */
+/* { dg-skip-if "PR 25442" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */
/* Float & short constants. */
/* { dg-options "-O2 -fdump-tree-store_ccp" } */
double _Complex *a;
-const double _Complex b[10] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
+static const double _Complex b[10] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
void
test (void)
int tire_pressure[4];
};
-const struct car cars[] = {
+static const struct car cars[] = {
{ 75, { 10, 20, 30, 40 } },
{ 35, { 12, 34, 56, 78 } },
{ 40, { 19, 28, 37, 46 } }