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

            Bug ID: 118870
           Summary: internal compiler error: in force_constant_size, at
                    gimplify.cc:802
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bic60176 at gmail dot com
  Target Milestone: ---

Created attachment 60495
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60495&action=edit
testcase

Compiler Explorer: https://godbolt.org/z/q3e6Pa8v5

console:
<source>: In function 'fn':
<source>:9:12: internal compiler error: in force_constant_size, at
gimplify.cc:802
    9 |     return __builtin_assoc_barrier(s);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~
0x25f2965 diagnostic_context::diagnostic_impl(rich_location*,
diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag
(*) [1], diagnostic_t)
        ???:0
0x2609a36 internal_error(char const*, ...)
        ???:0
0x9e95e6 fancy_abort(char const*, int, char const*)
        ???:0
0xddcd77 gimple_add_tmp_var(tree_node*)
        ???:0
0xd86f8b create_tmp_var(tree_node*, char const*)
        ???:0
0xde58db gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0xde7fe5 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0xde7d4d gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0xde61f2 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0xde9b7a gimplify_stmt(tree_node**, gimple**)
        ???:0
0xde7f82 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0xde9b7a gimplify_stmt(tree_node**, gimple**)
        ???:0
0xde704b gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0xde9b7a gimplify_stmt(tree_node**, gimple**)
        ???:0
0xde799c gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0xdefed6 gimplify_body(tree_node*, bool)
        ???:0
0xdf039c gimplify_function_tree(tree_node*)
        ???:0
0x120ba82 lower_nested_functions(tree_node*)
        ???:0
0xc05074 cgraph_node::analyze()
        ???:0
0xc08611 symbol_table::finalize_compilation_unit()
        ???:0
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
Compiler returned: 1

Reply via email to