public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/97915] New: ICE in get_odr_type, at ipa-devirt.c:1930 in pre
@ 2020-11-19 19:38 msebor at gcc dot gnu.org
  2020-11-19 19:51 ` Jan Hubicka
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: msebor at gcc dot gnu.org @ 2020-11-19 19:38 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97915
           Summary: ICE in get_odr_type, at ipa-devirt.c:1930 in pre
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: msebor at gcc dot gnu.org
  Target Milestone: ---

I see the following failures in the objc test suite today:

!  FAIL: objc.dg/lto/trivial-1 (2: +2)
!  FAIL: objc.dg/torture/forward-1.m (4: +4)
!  FAIL: objc.dg/torture/strings/const-str-3.m (4: +4)
!  FAIL: objc.dg/torture/strings/const-str-7.m (4: +4)
!  FAIL: objc.dg/torture/strings/const-str-8.m (4: +4)
!  FAIL: objc.dg/torture/strings/string1.m (4: +4)
!  FAIL: objc.dg/torture/strings/string2.m (4: +4)
!  FAIL: objc.dg/torture/strings/string3.m (4: +4)
!  FAIL: objc.dg/torture/strings/string4.m (4: +4)
!  FAIL: objc.dg/torture/tls/thr-init-3.m (4: +4)
!  FAIL: objc.dg/torture/trivial.m (4: +4)

The log has this output for the first test (the rest of them look similar):

spawn -ignore SIGHUP /build/gcc-trunk/gcc/xgcc -B/ssd/test/build/gcc-97
172/gcc/ objc_lto_trivial-1_0.o -fdiagnostics-plain-output -O2 -flto
-fgnu-runti
me -Wno-objc-root-class -I/src/gcc/trunk/gcc/testsuite/../../libobjc -B
/build/gcc-trunk/x86_64-pc-linux-gnu/./libobjc/.libs
-L/build/gcc-trunk/x86_64-pc-linux-gnu/./libobjc/.libs -lobjc -o
objc-dg-lto-trivial-1-11
.exe
during GIMPLE pass: pre
/src/gcc/trunk/gcc/testsuite/objc.dg/lto/trivial-1_0.m: In function 'main':
/src/gcc/trunk/gcc/testsuite/objc.dg/lto/trivial-1_0.m:32:5: internal compiler
error: in get_odr_type, at ipa-devirt.c:1930
0x65b384 get_odr_type(tree_node*, bool)
        /src/gcc/trunk/gcc/ipa-devirt.c:1930
0xab35c0 obj_type_ref_class(tree_node const*, bool)
        /src/gcc/trunk/gcc/ipa-devirt.c:1906
0x9bfd45 operand_compare::hash_operand(tree_node const*, inchash::hash&,
unsigned int)
        /src/gcc/trunk/gcc/fold-const.c:3869
0xec9020 vn_reference_op_compute_hash
        /src/gcc/trunk/gcc/tree-ssa-sccvn.c:626
0xec9020 vn_reference_compute_hash
        /src/gcc/trunk/gcc/tree-ssa-sccvn.c:674
0xed3e96 vn_reference_lookup_call(gcall*, vn_reference_s**, vn_reference_s*)
        /src/gcc/trunk/gcc/tree-ssa-sccvn.c:3581
0xedb60e visit_reference_op_call
        /src/gcc/trunk/gcc/tree-ssa-sccvn.c:4900
0xedb60e visit_stmt
        /src/gcc/trunk/gcc/tree-ssa-sccvn.c:5506
0xedc746 process_bb
        /src/gcc/trunk/gcc/tree-ssa-sccvn.c:7113
0xede9a5 do_rpo_vn
        /src/gcc/trunk/gcc/tree-ssa-sccvn.c:7600
0xedf2a2 run_rpo_vn(vn_lookup_kind)
        /src/gcc/trunk/gcc/tree-ssa-sccvn.c:6687
0xeab143 execute
        /src/gcc/trunk/gcc/tree-ssa-pre.c:4392
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
lto-wrapper: fatal error: /build/gcc-trunk/gcc/xgcc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
compiler exited with status 1

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

* Re: [Bug tree-optimization/97915] New: ICE in get_odr_type, at ipa-devirt.c:1930 in pre
  2020-11-19 19:38 [Bug tree-optimization/97915] New: ICE in get_odr_type, at ipa-devirt.c:1930 in pre msebor at gcc dot gnu.org
@ 2020-11-19 19:51 ` Jan Hubicka
  2020-11-19 19:51 ` [Bug tree-optimization/97915] " hubicka at ucw dot cz
  2020-11-20  7:17 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: Jan Hubicka @ 2020-11-19 19:51 UTC (permalink / raw)
  To: msebor at gcc dot gnu.org; +Cc: gcc-bugs

Hi,
this ought to be fixed by g:0862d007b564eca8c9a48fca0e689dd3f90db828
sorry for the breakage.  OBJ_TYPE_REF in obj-C frontend is odd.


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

* [Bug tree-optimization/97915] ICE in get_odr_type, at ipa-devirt.c:1930 in pre
  2020-11-19 19:38 [Bug tree-optimization/97915] New: ICE in get_odr_type, at ipa-devirt.c:1930 in pre msebor at gcc dot gnu.org
  2020-11-19 19:51 ` Jan Hubicka
@ 2020-11-19 19:51 ` hubicka at ucw dot cz
  2020-11-20  7:17 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: hubicka at ucw dot cz @ 2020-11-19 19:51 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Jan Hubicka <hubicka at ucw dot cz> ---
Hi,
this ought to be fixed by g:0862d007b564eca8c9a48fca0e689dd3f90db828
sorry for the breakage.  OBJ_TYPE_REF in obj-C frontend is odd.

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

* [Bug tree-optimization/97915] ICE in get_odr_type, at ipa-devirt.c:1930 in pre
  2020-11-19 19:38 [Bug tree-optimization/97915] New: ICE in get_odr_type, at ipa-devirt.c:1930 in pre msebor at gcc dot gnu.org
  2020-11-19 19:51 ` Jan Hubicka
  2020-11-19 19:51 ` [Bug tree-optimization/97915] " hubicka at ucw dot cz
@ 2020-11-20  7:17 ` rguenth at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-11-20  7:17 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
So fixed.  Please re-open if not.

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

end of thread, other threads:[~2020-11-20  7:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-19 19:38 [Bug tree-optimization/97915] New: ICE in get_odr_type, at ipa-devirt.c:1930 in pre msebor at gcc dot gnu.org
2020-11-19 19:51 ` Jan Hubicka
2020-11-19 19:51 ` [Bug tree-optimization/97915] " hubicka at ucw dot cz
2020-11-20  7:17 ` 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).