public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/111039] New: Unable to coalesce ssa_names
@ 2023-08-16 19:28 krebbel at gcc dot gnu.org
  2023-08-16 20:00 ` [Bug tree-optimization/111039] [11/12/13/14 Regression] " pinskia at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: krebbel at gcc dot gnu.org @ 2023-08-16 19:28 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 111039
           Summary: Unable to coalesce ssa_names
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: krebbel at gcc dot gnu.org
  Target Milestone: ---

compiler_corruption_function(flags) {
  int nowait = flags & 1048576, isexpand = flags & 8388608;
  abcd();
  _setjmp(flags);
  if (nowait && isexpand)
    flags &= 0;
  abcde();
}

gcc -mbranch-cost=0 -O t.c
verified with recent GCC: 02ecc9a2632

t.c: In function ‘compiler_corruption_function’:
t.c:1:1: internal compiler error: SSA corruption
    1 | compiler_corruption_function(flags) {
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
0x15a657c fail_abnormal_edge_coalesce
        /home/andreas/build/../gcc/gcc/tree-ssa-coalesce.cc:1003
0x15a657c coalesce_partitions
        /home/andreas/build/../gcc/gcc/tree-ssa-coalesce.cc:1425
0x15a657c coalesce_ssa_name(_var_map*)
        /home/andreas/build/../gcc/gcc/tree-ssa-coalesce.cc:1755
0x153d6cf remove_ssa_form
        /home/andreas/build/../gcc/gcc/tree-outof-ssa.cc:1065
0x153d6cf rewrite_out_of_ssa(ssaexpand*)
        /home/andreas/build/../gcc/gcc/tree-outof-ssa.cc:1323
0xf42073 execute
        /home/andreas/build/../gcc/gcc/cfgexpand.cc:6610

This very much looks like another instance of PR71020.

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

end of thread, other threads:[~2024-06-21  9:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-16 19:28 [Bug tree-optimization/111039] New: Unable to coalesce ssa_names krebbel at gcc dot gnu.org
2023-08-16 20:00 ` [Bug tree-optimization/111039] [11/12/13/14 Regression] " pinskia at gcc dot gnu.org
2023-08-16 20:03 ` pinskia at gcc dot gnu.org
2023-08-16 20:08 ` pinskia at gcc dot gnu.org
2023-08-17 11:07 ` rguenth at gcc dot gnu.org
2023-08-17 13:28 ` cvs-commit at gcc dot gnu.org
2023-08-17 13:49 ` [Bug tree-optimization/111039] [11/12/13 " rguenth at gcc dot gnu.org
2023-08-24 10:56 ` cvs-commit at gcc dot gnu.org
2024-05-17 11:12 ` [Bug tree-optimization/111039] [11/12 " cvs-commit at gcc dot gnu.org
2024-06-21  9:22 ` [Bug tree-optimization/111039] [11 " cvs-commit at gcc dot gnu.org
2024-06-21  9:38 ` 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).