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

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
The ICE triggers when streaming the main_argc used in the variable bound
expression in char argv[main_argc + 1].  The bound is included in the attribute
access added to the declaration of main by the C front end:

 <ssa_name 0x7fffea801cf0
    type <integer_type 0x7fffea8105e8 int public SI
        size <integer_cst 0x7fffea7f7f18 constant 32>
        unit-size <integer_cst 0x7fffea7f7f30 constant 4>
        align:32 warn_if_not_align:0 symtab:0 alias-set 2 canonical-type
0x7fffea8105e8 precision:32 min <integer_cst 0x7fffea7f7ed0 -2147483648> max
<integer_cst 0x7fffea7f7ee8 2147483647>
        pointer_to_this <pointer_type 0x7fffea8189d8>>
    visited
    def_stmt main_argc.0_1 = main_argc;
    version:1>

Reply via email to