[Bug sanitizer/79589] ICE in gimplify_compound_expr (gimplify.c:5712) with -fsanitize=undefined

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 20 09:52:00 GMT 2017


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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-02-20
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.  It had been rejected before with
error: expected unqualified-id before ‘[’ token
etc., then starting with r242377 I see

/home/brq/mpolacek/decomp18.C:10:72: internal compiler error: in quick_push, at
vec.h:863
   for (auto & [ b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s ] : a) //
{ dg-warning "decomposition declaration only available with" "" { target
c++14_down } }
                                                                        ^
0x88e4af vec<tree_node*, va_heap, vl_embed>::quick_push(tree_node* const&)
        ../../gcc/vec.h:863
0x88db2f vec<tree_node*, va_heap, vl_ptr>::quick_push(tree_node* const&)
        ../../gcc/vec.h:1540
0x8d1da0 cp_parser_range_for
        ../../gcc/cp/parser.c:11503
0x8d19ac cp_parser_for
        ../../gcc/cp/parser.c:11424
0x8d3278 cp_parser_iteration_statement
        ../../gcc/cp/parser.c:11957
0x8cff51 cp_parser_statement
        ../../gcc/cp/parser.c:10551
0x8d0e3e cp_parser_statement_seq_opt
        ../../gcc/cp/parser.c:11016
0x8d0d39 cp_parser_compound_statement
        ../../gcc/cp/parser.c:10970
0x8e43c5 cp_parser_function_body
        ../../gcc/cp/parser.c:21347
0x8e458e cp_parser_ctor_initializer_opt_and_function_body
        ../../gcc/cp/parser.c:21383
0x8ed6ba cp_parser_function_definition_after_declarator
        ../../gcc/cp/parser.c:26141
0x8ed4be cp_parser_function_definition_from_specifiers_and_declarator
        ../../gcc/cp/parser.c:26053
0x8dfe27 cp_parser_init_declarator
        ../../gcc/cp/parser.c:19099
0x8d49ce cp_parser_simple_declaration
        ../../gcc/cp/parser.c:12761
0x8d45ab cp_parser_block_declaration
        ../../gcc/cp/parser.c:12588
0x8d432e cp_parser_declaration
        ../../gcc/cp/parser.c:12485
0x8d3e80 cp_parser_declaration_seq_opt
        ../../gcc/cp/parser.c:12361
0x8c2d02 cp_parser_translation_unit
        ../../gcc/cp/parser.c:4367
0x912757 c_parse_file()
        ../../gcc/cp/parser.c:38252
0xabc69e c_common_parse_file()
        ../../gcc/c-family/c-opts.c:1086
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

and then since r242828 the gimplify_expr.


More information about the Gcc-bugs mailing list