public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/90134] ICE in duplicate_eh_regions_1, at except.c:557
       [not found] <bug-90134-4@http.gcc.gnu.org/bugzilla/>
@ 2021-09-16  0:35 ` pinskia at gcc dot gnu.org
  2022-11-17 15:40 ` asolokha at gmx dot com
  2024-03-10  6:36 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-16  0:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This no longer ICEs on the trunk because DSE does:
  Deleted trivially dead stmt: _14 = fq_13(D)->te;

This was done in r12-248 but I suspect there is a missing trapping check.

This code is all undefined anyways .....

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

* [Bug tree-optimization/90134] ICE in duplicate_eh_regions_1, at except.c:557
       [not found] <bug-90134-4@http.gcc.gnu.org/bugzilla/>
  2021-09-16  0:35 ` [Bug tree-optimization/90134] ICE in duplicate_eh_regions_1, at except.c:557 pinskia at gcc dot gnu.org
@ 2022-11-17 15:40 ` asolokha at gmx dot com
  2024-03-10  6:36 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: asolokha at gmx dot com @ 2022-11-17 15:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Arseny Solokha <asolokha at gmx dot com> ---
(In reply to Andrew Pinski from comment #3)
> This code is all undefined anyways .....

Yes, but what about unmodified tests from libstdc++? I occasionally hit this
ICE on them too, as shown in comment 2. I've just got it w/

g++-13 -O1 -ftree-parallelize-loops=2 -fno-lifetime-dse -fnon-call-exceptions
--param max-early-inliner-iterations=0 -Ilibstdc++-v3/testsuite/util -c
libstdc++-v3/testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc

which triggers on the same code from include/g++-v13/bits/stl_uninitialized.h

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

* [Bug tree-optimization/90134] ICE in duplicate_eh_regions_1, at except.c:557
       [not found] <bug-90134-4@http.gcc.gnu.org/bugzilla/>
  2021-09-16  0:35 ` [Bug tree-optimization/90134] ICE in duplicate_eh_regions_1, at except.c:557 pinskia at gcc dot gnu.org
  2022-11-17 15:40 ` asolokha at gmx dot com
@ 2024-03-10  6:36 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-10  6:36 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|12.1.0                      |
           Keywords|                            |EH

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note in GCC 12+, you also need -fno-delete-dead-exceptions  to get the ICE.

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

end of thread, other threads:[~2024-03-10  6:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-90134-4@http.gcc.gnu.org/bugzilla/>
2021-09-16  0:35 ` [Bug tree-optimization/90134] ICE in duplicate_eh_regions_1, at except.c:557 pinskia at gcc dot gnu.org
2022-11-17 15:40 ` asolokha at gmx dot com
2024-03-10  6:36 ` pinskia 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).