public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/97188] New: [11 Regression] ICE in c_tree_printer at c/c-objc-common.c:314 since r11-3303-g6450f07388f9fe57
@ 2020-09-24  7:32 marxin at gcc dot gnu.org
  2020-09-24  7:33 ` [Bug tree-optimization/97188] " marxin at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-09-24  7:32 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97188
           Summary: [11 Regression] ICE in c_tree_printer at
                    c/c-objc-common.c:314 since r11-3303-g6450f07388f9fe57
           Product: gcc
           Version: 10.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: msebor at gcc dot gnu.org
  Target Milestone: ---

The following ICEs:

$ void function(short width, int[][width]);
void test() { function(1, 0); }

$ gcc vla.c -Wnonnull -c

during RTL pass: expand
In function ‘test’:
Segmentation fault
    2 | void test() { function(1, 0); }
      |               ^~~~~~~~~~~~~~
0xd9e6ff crash_signal
        /home/marxin/Programming/gcc/gcc/toplev.c:329
0x7ffff788652f ???
       
/usr/src/debug/glibc-2.31-6.3.x86_64/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0x8336e0 c_tree_printer
        /home/marxin/Programming/gcc/gcc/c/c-objc-common.c:314
0x8336e0 c_tree_printer
        /home/marxin/Programming/gcc/gcc/c/c-objc-common.c:254
0x188dccc pp_format(pretty_printer*, text_info*)
        /home/marxin/Programming/gcc/gcc/pretty-print.c:1475
0x1871bbe diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info*)
        /home/marxin/Programming/gcc/gcc/diagnostic.c:1205
0x1874238 diagnostic_impl
        /home/marxin/Programming/gcc/gcc/diagnostic.c:1355
0x1874238 warning_at(unsigned int, int, char const*, ...)
        /home/marxin/Programming/gcc/gcc/diagnostic.c:1492
0x927455 maybe_warn_rdwr_sizes
        /home/marxin/Programming/gcc/gcc/calls.c:2038
0x928ad6 initialize_argument_information
        /home/marxin/Programming/gcc/gcc/calls.c:2531
0x928ad6 expand_call(tree_node*, rtx_def*, int)
        /home/marxin/Programming/gcc/gcc/calls.c:3926
0xa5ea2a expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        /home/marxin/Programming/gcc/gcc/expr.c:11246
0x940259 expand_expr
        /home/marxin/Programming/gcc/gcc/expr.h:282
0x940259 expand_call_stmt
        /home/marxin/Programming/gcc/gcc/cfgexpand.c:2703
0x940259 expand_gimple_stmt_1
        /home/marxin/Programming/gcc/gcc/cfgexpand.c:3686
0x940259 expand_gimple_stmt
        /home/marxin/Programming/gcc/gcc/cfgexpand.c:3851
0x94560a expand_gimple_basic_block
        /home/marxin/Programming/gcc/gcc/cfgexpand.c:5892
0x9470b6 execute
        /home/marxin/Programming/gcc/gcc/cfgexpand.c:6576
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] 6+ messages in thread

end of thread, other threads:[~2020-09-29 23:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-24  7:32 [Bug tree-optimization/97188] New: [11 Regression] ICE in c_tree_printer at c/c-objc-common.c:314 since r11-3303-g6450f07388f9fe57 marxin at gcc dot gnu.org
2020-09-24  7:33 ` [Bug tree-optimization/97188] " marxin at gcc dot gnu.org
2020-09-24 17:21 ` msebor at gcc dot gnu.org
2020-09-25  0:15 ` msebor at gcc dot gnu.org
2020-09-29 23:14 ` cvs-commit at gcc dot gnu.org
2020-09-29 23:16 ` [Bug tree-optimization/97188] [11 Regression] ICE passing a null VLA to a function expecting at least one element msebor 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).