public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/102269] New: [12 Regression] ICE in verify_gimple_stmt since r12-3433-ga25e0b5e6ac8a77a
@ 2021-09-10  7:58 marxin at gcc dot gnu.org
  2021-09-10  7:58 ` [Bug tree-optimization/102269] " marxin at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-09-10  7:58 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102269
           Summary: [12 Regression] ICE in verify_gimple_stmt since
                    r12-3433-ga25e0b5e6ac8a77a
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: qing.zhao at oracle dot com
  Target Milestone: ---

The following crashes:

$ cat auto-var.c
void fn() { int a[0]; }

$ gcc auto-var.c -c -ftrivial-auto-var-init=zero -fdump-tree-all
auto-var.c: In function ‘fn’:
auto-var.c:1:6: internal compiler error: Segmentation fault
    1 | void fn() { int a[0]; }
      |      ^~
0x14615f8 crash_signal
        /home/marxin/Programming/gcc/gcc/toplev.c:328
0x7ffff786239f ???
        ../sysdeps/unix/sysv/linux/sigaction.c:10
0x14c1ffc verify_gimple_call
        /home/marxin/Programming/gcc/gcc/tree-cfg.c:3466
0x14c8d13 verify_gimple_stmt
        /home/marxin/Programming/gcc/gcc/tree-cfg.c:5032
0x14c92f4 verify_gimple_in_seq_2
        /home/marxin/Programming/gcc/gcc/tree-cfg.c:5188
0x14c91e3 verify_gimple_in_seq_2
        /home/marxin/Programming/gcc/gcc/tree-cfg.c:5161
0x14c941c verify_gimple_in_seq(gimple*)
        /home/marxin/Programming/gcc/gcc/tree-cfg.c:5227
0x1028655 gimplify_body(tree_node*, bool)
        /home/marxin/Programming/gcc/gcc/gimplify.c:15746
0x1028922 gimplify_function_tree(tree_node*)
        /home/marxin/Programming/gcc/gcc/gimplify.c:15817
0xd543d0 cgraph_node::analyze()
        /home/marxin/Programming/gcc/gcc/cgraphunit.c:670
0xd5671d analyze_functions
        /home/marxin/Programming/gcc/gcc/cgraphunit.c:1234
0xd59e59 symbol_table::finalize_compilation_unit()
        /home/marxin/Programming/gcc/gcc/cgraphunit.c:2508
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] 9+ messages in thread

end of thread, other threads:[~2021-09-11  6:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-10  7:58 [Bug tree-optimization/102269] New: [12 Regression] ICE in verify_gimple_stmt since r12-3433-ga25e0b5e6ac8a77a marxin at gcc dot gnu.org
2021-09-10  7:58 ` [Bug tree-optimization/102269] " marxin at gcc dot gnu.org
2021-09-10  8:17 ` rguenth at gcc dot gnu.org
2021-09-10  8:53 ` [Bug tree-optimization/102269] ICE in verify_gimple_stmt and -ftrivial-auto-var-init=zero and zero size array pinskia at gcc dot gnu.org
2021-09-10  9:11 ` cvs-commit at gcc dot gnu.org
2021-09-10  9:12 ` rguenth at gcc dot gnu.org
2021-09-10  9:55 ` marxin at gcc dot gnu.org
2021-09-10 14:31 ` qinzhao at gcc dot gnu.org
2021-09-11  6:41 ` 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).