public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/99025] New: [11 Regression] ICE Segmentation fault since r11-6351-g12ae2bc70846a2be
@ 2021-02-09 14:38 marxin at gcc dot gnu.org
  2021-02-09 14:39 ` [Bug target/99025] " marxin at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-02-09 14:38 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99025
           Summary: [11 Regression] ICE Segmentation fault since
                    r11-6351-g12ae2bc70846a2be
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: wwwhhhyyy333 at gmail dot com
  Target Milestone: ---
              Host: x86_64-linux-gnu

The following ICEs, reduced from postgresql package:

$ cat pg_proc.i
long ProcedureCreate_values[16];
int ProcedureCreate_X;
union {
  float value;
  int retval;
} ProcedureCreate_myunion;

void
ProcedureCreate() {
  ProcedureCreate_myunion.value = ProcedureCreate_X;
  ProcedureCreate_values[6 - 1] = ProcedureCreate_myunion.retval;
  float X;
  union {
    float value;
    int retval;
  } myunion;
  myunion.value = X;
  ProcedureCreate_values[7 - 1] = myunion.retval;
}

$ gcc pg_proc.i -c -O3 -march=haswell
during RTL pass: expand
pg_proc.i: In function ‘ProcedureCreate’:
pg_proc.i:19:1: internal compiler error: Segmentation fault
   19 | }
      | ^
0xe7b97a crash_signal
        /home/marxin/Programming/gcc/gcc/toplev.c:327
0xcb5b3b mark_jump_label_1
        /home/marxin/Programming/gcc/gcc/jump.c:1097
0xcb5bd3 mark_jump_label_1
        /home/marxin/Programming/gcc/gcc/jump.c:1221
0xcb5bd3 mark_jump_label_1
        /home/marxin/Programming/gcc/gcc/jump.c:1221
0xcb5bd3 mark_jump_label_1
        /home/marxin/Programming/gcc/gcc/jump.c:1221
0xcb605d mark_all_labels
        /home/marxin/Programming/gcc/gcc/jump.c:332
0xcb605d rebuild_jump_labels_1
        /home/marxin/Programming/gcc/gcc/jump.c:74
0x9d36b4 execute
        /home/marxin/Programming/gcc/gcc/cfgexpand.c:6779
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.

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

end of thread, other threads:[~2021-02-10 18:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-09 14:38 [Bug target/99025] New: [11 Regression] ICE Segmentation fault since r11-6351-g12ae2bc70846a2be marxin at gcc dot gnu.org
2021-02-09 14:39 ` [Bug target/99025] " marxin at gcc dot gnu.org
2021-02-09 18:51 ` jakub at gcc dot gnu.org
2021-02-10  9:00 ` ubizjak at gmail dot com
2021-02-10  9:56 ` jakub at gcc dot gnu.org
2021-02-10 18:50 ` cvs-commit at gcc dot gnu.org
2021-02-10 18:56 ` jakub 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).