New IPA tests and gcc.dg/weak/weak-5.c and 6 fail, cris-elf
Fri Dec 14 01:06:00 GMT 2007
> From: Olga Golovanevsky <OLGA@il.ibm.com>
> Date: Thu, 13 Dec 2007 21:05:48 +0200
> Hans-Peter Nilsson <email@example.com> wrote on 13/12/2007
> > gcc.log doesn't have much more to say. For the ICE:
> > x/gcc/testsuite/gcc.dg/struct/wo_prof_two_strs.c:56: internal
> > compiler error: in find_new_var_of_type, at ipa-struct-reorg.c:605
> I forgot to commit ipa-struct-reorg.c, committed.
> Would you please try now?
That fixed some, but with 130917, there's still the ICE for
Running /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/struct/struct-reorg.exp ...
FAIL: gcc.dg/struct/wo_prof_two_strs.c (internal compiler error)
FAIL: gcc.dg/struct/wo_prof_two_strs.c (test for excess errors)
WARNING: gcc.dg/struct/wo_prof_two_strs.c compilation failed to produce executable
FAIL: gcc.dg/struct/wo_prof_two_strs.c scan-ipa-dump ipa_struct_reorg "Number of structures to transform is 2"
The ICE message is the same.
> > 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?
> true. fixing it.
This part is fixed, thanks!
More information about the Gcc-patches