public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/110673] New: [14 regression] ICE when buliding opus (internal compiler error: in gimple_phi_arg_def_from_edge, at gimple.h:4699)
@ 2023-07-15  4:38 sjames at gcc dot gnu.org
  2023-07-15  5:15 ` [Bug middle-end/110673] " sjames at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-07-15  4:38 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 110673
           Summary: [14 regression] ICE when buliding opus (internal
                    compiler error: in gimple_phi_arg_def_from_edge, at
                    gimple.h:4699)
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sjames at gcc dot gnu.org
  Target Milestone: ---

Created attachment 55546
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55546&action=edit
test_unit_entropy.c.i

Hit with opus-1.4.

```
# aarch64-unknown-linux-gnu-gcc -Icelt/tests/test_unit_entropy.p -Icelt/tests
-I../opus-1.4/celt/tests -I. -I../opus-1.4 -Iinclude -I../opus-1.4/include
-Icelt -I../opus-1.4/celt -Isilk -I../opus-1.4/silk -fdiagnostics-color=always
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -DOPUS_BUILD
-DHAVE_CONFIG_H -fvisibility=hidden -Wcast-align -Wnested-externs -Wshadow
-Wstrict-prototypes -fstack-protector-strong -O3 -pipe -mcpu=native
-fdiagnostics-color=always -ggdb3 -MD -MQ
celt/tests/test_unit_entropy.p/test_unit_entropy.c.o -MF
celt/tests/test_unit_entropy.p/test_unit_entropy.c.o.d -o
celt/tests/test_unit_entropy.p/test_unit_entropy.c.o -c
../opus-1.4/celt/tests/test_unit_entropy.c -save-temps
aarch64-unknown-linux-gnu-gcc: warning: ‘-pipe’ ignored because ‘-save-temps’
specified
during GIMPLE pass: sccp
../opus-1.4/celt/tests/test_unit_entropy.c: In function ‘main’:
../opus-1.4/celt/tests/test_unit_entropy.c:53:5: internal compiler error: in
gimple_phi_arg_def_from_edge, at gimple.h:4699
   53 | int main(int _argc,char **_argv){
      |     ^~~~
0xaaaad781675b gimple_phi_arg_def_from_edge(gphi const*, edge_def const*)
       
/usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/gimple.h:4699
0xaaaad8160f8b gimple_phi_arg_def_from_edge(gphi const*, edge_def const*)
       
/usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/gimple-iterator.h:133
0xaaaad8160f8b final_value_replacement_loop(loop*)
       
/usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree-scalar-evolution.cc:3732
0xaaaad822566b execute
       
/usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree-ssa-loop.cc:411
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.
```

Reproduces with `gcc -c test_unit_entropy.c.i -O3`.

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

* [Bug middle-end/110673] [14 regression] ICE when buliding opus (internal compiler error: in gimple_phi_arg_def_from_edge, at gimple.h:4699)
  2023-07-15  4:38 [Bug middle-end/110673] New: [14 regression] ICE when buliding opus (internal compiler error: in gimple_phi_arg_def_from_edge, at gimple.h:4699) sjames at gcc dot gnu.org
@ 2023-07-15  5:15 ` sjames at gcc dot gnu.org
  2023-07-15  5:45 ` sjames at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-07-15  5:15 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Sam James <sjames at gcc dot gnu.org> ---
Created attachment 55547
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55547&action=edit
test_unit_entropy.c.i

This is what cvise popped out, it's borderline invalid though, so let me touch
it up.

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

* [Bug middle-end/110673] [14 regression] ICE when buliding opus (internal compiler error: in gimple_phi_arg_def_from_edge, at gimple.h:4699)
  2023-07-15  4:38 [Bug middle-end/110673] New: [14 regression] ICE when buliding opus (internal compiler error: in gimple_phi_arg_def_from_edge, at gimple.h:4699) sjames at gcc dot gnu.org
  2023-07-15  5:15 ` [Bug middle-end/110673] " sjames at gcc dot gnu.org
@ 2023-07-15  5:45 ` sjames at gcc dot gnu.org
  2023-07-15 17:19 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-07-15  5:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Sam James <sjames at gcc dot gnu.org> ---
Created attachment 55548
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55548&action=edit
reduced.i

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

* [Bug middle-end/110673] [14 regression] ICE when buliding opus (internal compiler error: in gimple_phi_arg_def_from_edge, at gimple.h:4699)
  2023-07-15  4:38 [Bug middle-end/110673] New: [14 regression] ICE when buliding opus (internal compiler error: in gimple_phi_arg_def_from_edge, at gimple.h:4699) sjames at gcc dot gnu.org
  2023-07-15  5:15 ` [Bug middle-end/110673] " sjames at gcc dot gnu.org
  2023-07-15  5:45 ` sjames at gcc dot gnu.org
@ 2023-07-15 17:19 ` pinskia at gcc dot gnu.org
  2023-07-17  3:39 ` pinskia at gcc dot gnu.org
  2023-07-17  8:36 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-07-15 17:19 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |14.0

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

* [Bug middle-end/110673] [14 regression] ICE when buliding opus (internal compiler error: in gimple_phi_arg_def_from_edge, at gimple.h:4699)
  2023-07-15  4:38 [Bug middle-end/110673] New: [14 regression] ICE when buliding opus (internal compiler error: in gimple_phi_arg_def_from_edge, at gimple.h:4699) sjames at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2023-07-15 17:19 ` pinskia at gcc dot gnu.org
@ 2023-07-17  3:39 ` pinskia at gcc dot gnu.org
  2023-07-17  8:36 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-07-17  3:39 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced is the same as PR 110669 .

*** This bug has been marked as a duplicate of bug 110669 ***

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

* [Bug middle-end/110673] [14 regression] ICE when buliding opus (internal compiler error: in gimple_phi_arg_def_from_edge, at gimple.h:4699)
  2023-07-15  4:38 [Bug middle-end/110673] New: [14 regression] ICE when buliding opus (internal compiler error: in gimple_phi_arg_def_from_edge, at gimple.h:4699) sjames at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2023-07-17  3:39 ` pinskia at gcc dot gnu.org
@ 2023-07-17  8:36 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-17  8:36 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110673
Bug 110673 depends on bug 110669, which changed state.

Bug 110669 Summary: [14 regression] ICE in gcc.dg/torture/pr105132.c since r14-2515-gb77161e60bce7b
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110669

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

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

end of thread, other threads:[~2023-07-17  8:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-15  4:38 [Bug middle-end/110673] New: [14 regression] ICE when buliding opus (internal compiler error: in gimple_phi_arg_def_from_edge, at gimple.h:4699) sjames at gcc dot gnu.org
2023-07-15  5:15 ` [Bug middle-end/110673] " sjames at gcc dot gnu.org
2023-07-15  5:45 ` sjames at gcc dot gnu.org
2023-07-15 17:19 ` pinskia at gcc dot gnu.org
2023-07-17  3:39 ` pinskia at gcc dot gnu.org
2023-07-17  8:36 ` 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).