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

Olga Golovanevsky OLGA@il.ibm.com
Thu Dec 13 19:10:00 GMT 2007


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

> Lots of the new tests introduced with 130892:130894 fail for
> cris-elf:
>
> Running /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/struct/struct-
> reorg.exp ...
> FAIL: gcc.dg/struct/wo_prof_escape_str_init.c scan-ipa-dump
> ipa_struct_reorg "is initialized...Excluded"
> FAIL: gcc.dg/struct/wo_prof_global_array.c scan-ipa-dump
> ipa_struct_reorg "Number of structures to transform is 1"
> FAIL: gcc.dg/struct/wo_prof_global_var.c scan-ipa-dump
> ipa_struct_reorg "Number of structures to transform is 1"
> FAIL: gcc.dg/struct/wo_prof_local_array.c scan-ipa-dump
> ipa_struct_reorg "Number of structures to transform is 1"
> FAIL: gcc.dg/struct/wo_prof_local_var.c scan-ipa-dump
> ipa_struct_reorg "Number of structures to transform is 1"
> FAIL: gcc.dg/struct/wo_prof_single_str_global.c scan-ipa-dump
> ipa_struct_reorg "Number of structures to transform is 1"
> 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"
>
> 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?

>
> 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.

Olga

>
> brgds, H-P



More information about the Gcc-patches mailing list