This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New IPA tests and gcc.dg/weak/weak-5.c and 6 fail, cris-elf


Hans-Peter Nilsson <hans-peter.nilsson@axis.com> wrote on 13/12/2007
18:42:36:


>
> Also, gcc.dg/weak/weak-5.c and gcc.dg/weak/weak-6.c has started
> to fail in the mentioned revision range.  Looks like "-O3
> -fipa-struct-reorg -fdump-ipa-all -fwhole-program -combine
> -fipa-type-escape" have been added to the default compiler
> options.  Perhaps you need to save and restore DEFAULT_CFLAGS or
> similar in gcc/testsuite/gcc.dg/struct/struct-reorg.exp?

Fixed with the patch below.

Please let me know if it still fails on scis-elf.

Olga

Index: gcc.dg/struct/struct-reorg.exp
===================================================================
--- gcc.dg/struct/struct-reorg.exp  (revision 130914)
+++ gcc.dg/struct/struct-reorg.exp  (working copy)
@@ -20,12 +20,12 @@
 load_lib gcc-dg.exp
 load_lib target-supports.exp

-set DEFAULT_CFLAGS "-O3 -fipa-struct-reorg -fdump-ipa-all -fwhole-program
-combine -fipa-type-escape"
+set STRUCT_REORG_CFLAGS "-O3 -fipa-struct-reorg -fdump-ipa-all
-fwhole-program -combine -fipa-type-escape"

 # Initialize `dg'.
 dg-init

-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/wo_prof_*.c]] ""
$DEFAULT_CFLAGS
+dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/wo_prof_*.c]] ""
$STRUCT_REORG_CFLAGS

 dg-final

Index: ChangeLog
===================================================================
--- ChangeLog     (revision 130914)
+++ ChangeLog     (working copy)
@@ -1,3 +1,8 @@
+2007-12-13  Olga Golovanevsky  <olga@il.ibm.com>
+
+     * gcc.dg/struct/struct-reorg.exp: Replace
+      DEFAULT_CFLAGS by STRUCT_REORG_CFLAFS.
+
 2007-12-13  Thomas Koenig  <tkoenig@gcc.gnu.org>

      PR libfortran/34370

>
> brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]