public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/97162] New: [11 Regression] ICE when building SPECCPU 2006 Gamess benchmark
@ 2020-09-22 11:34 tnfchris at gcc dot gnu.org
  2020-09-22 12:05 ` [Bug fortran/97162] " marxin at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: tnfchris at gcc dot gnu.org @ 2020-09-22 11:34 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97162

            Bug ID: 97162
           Summary: [11 Regression] ICE when building SPECCPU 2006 Gamess
                    benchmark
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tnfchris at gcc dot gnu.org
  Target Milestone: ---

Unforunately I don't have data going back to the start of GCC 11 and I also
don't know any fortran so no idea how to go about minimizing this..

But Gamess in SPECCPU 2006 fails with an ICE:

  0x6ca753 tree_contains_struct_check_failed(tree_node const*,
tree_node_structure_enum, char const*, int, char const*)
    ../.././gcc/tree.c:9905
  0x753033 contains_struct_check(tree_node*, tree_node_structure_enum, char
const*, int, char const*)
    ../.././gcc/tree.h:3413
  0x753033 compare_base_decls(tree_node*, tree_node*)
    ../.././gcc/alias.c:2145
  0xdaa9c3 ptr_deref_may_alias_decl_p
    ../.././gcc/tree-ssa-alias.c:227
  0x17f67bb dr_may_alias_p(data_reference const*, data_reference const*, loop*)
    ../.././gcc/tree-data-ref.c:2769
  0x17f693f initialize_data_dependence_relation(data_reference*,
data_reference*, vec<loop*, va_heap, vl_ptr>)
    ../.././gcc/tree-data-ref.c:2843
  0x17fb13b compute_all_dependences(vec<data_reference*, va_heap, vl_ptr>,
vec<data_dependence_relation*, va_heap, vl_ptr>*, vec<loop*, va_heap, vl_ptr>,
bool)
    ../.././gcc/tree-data-ref.c:5391
  0x1800807 compute_data_dependences_for_loop(loop*, bool, vec<loop*, va_heap,
vl_ptr>*, vec<data_reference*, va_heap, vl_ptr>*,
vec<data_dependence_relation*, va_heap, vl_ptr>*)
    ../.././gcc/tree-data-ref.c:5868
  0xd6b307 tree_predictive_commoning_loop
    ../.././gcc/tree-predcom.c:3211
  0xd6b307 tree_predictive_commoning()
    ../.././gcc/tree-predcom.c:3333

when built with

-Ofast -fomit-frame-pointer -flto --param ipa-cp-eval-threshold=1 --param
ipa-cp-unit-growth=80 -fno-inline-functions-called-once

Removing any of these options seems to make it go away.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-09-23  8:15 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-22 11:34 [Bug fortran/97162] New: [11 Regression] ICE when building SPECCPU 2006 Gamess benchmark tnfchris at gcc dot gnu.org
2020-09-22 12:05 ` [Bug fortran/97162] " marxin at gcc dot gnu.org
2020-09-22 12:19 ` marxin at gcc dot gnu.org
2020-09-22 12:58 ` tnfchris at gcc dot gnu.org
2020-09-22 14:05 ` rguenth at gcc dot gnu.org
2020-09-22 14:07 ` rguenth at gcc dot gnu.org
2020-09-22 14:11 ` marxin at gcc dot gnu.org
2020-09-23  7:09 ` rguenth at gcc dot gnu.org
2020-09-23  7:12 ` rguenth at gcc dot gnu.org
2020-09-23  8:09 ` cvs-commit at gcc dot gnu.org
2020-09-23  8:12 ` tnfchris at gcc dot gnu.org
2020-09-23  8:15 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).