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

Iain Sandoe <iains at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2026-02-16
     Ever confirmed|0                           |1
                 CC|                            |dinka.ranns at gmail dot com,
                   |                            |iains at gcc dot gnu.org
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Iain Sandoe <iains at gcc dot gnu.org> ---
I am not sure why "needs-bisection" is set - this does not appear to be a
regression.


with revised syntax - this fails on trunk (with a different point of failure)

```
template<typename T>
auto fn()
  pre (T{})
{
}


int main(int, char**) {
  fn<int>();
  return 0;
}
```

```
<source>: In function 'auto fn() [with T = int]':
<source>:5:1: internal compiler error: in gimplify_init_constructor, at
gimplify.cc:6802
    5 | }
      | ^
0x295dcf8 diagnostics::context::diagnostic_impl(rich_location*,
diagnostics::metadata const*, diagnostics::option_id, char const*,
__va_list_tag (*) [1], diagnostics::kind)
        ???:0
0x2952a3b internal_error(char const*, ...)
        ???:0
0xb2142c fancy_abort(char const*, int, char const*)
        ???:0
0x11f132a gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0x11f4bea gimplify_stmt(tree_node**, gimple**)
        ???:0
0x11f097f gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0x11f3101 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0x11f3101 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0x11f306b gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0x11f4bea gimplify_stmt(tree_node**, gimple**)
        ???:0
0x11f1e70 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0x1216096 gimplify_body(tree_node*, bool)
        ???:0
0x121655c gimplify_function_tree(tree_node*)
        ???:0
0xfcc257 cgraph_node::analyze()
        ???:0
0xfcf726 symbol_table::finalize_compilation_unit()
        ???:0
```

Reply via email to