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

            Bug ID: 127516
           Summary: ICE in reshape_init_r, at cp/decl.cc
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: s.kimura.h41104 at gmail dot com
  Target Milestone: ---

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

Reproducer:
```
using V __attribute__((vector_size(8))) = int;

V v = { .v = 42 };
```

Backtrace:
<source>:3:17: internal compiler error: in reshape_init_r, at cp/decl.cc:8213
    3 | V v = { .v = 42 };
      |                 ^
0x2c55318 diagnostics::context::diagnostic_impl(rich_location*,
diagnostics::metadata const*, diagnostics::option_id, char const*,
__va_list_tag (*) [1], diagnostics::kind)
        ???:0
0x2c49f5b internal_error(char const*, ...)
        ???:0
0xb7d352 fancy_abort(char const*, int, char const*)
        ???:0
0xc8b3c4 reshape_init(tree_node*, tree_node*, int)
        ???:0
0xc91e96 cp_finish_decl(tree_node*, tree_node*, bool, tree_node*, int,
cp_decomp*)
        ???:0
0xdd5fe3 c_parse_file()
        ???:0
0xf69869 c_common_parse_file()
        ???:0


This ICE is trunk only:
https://godbolt.org/z/96oT1W48j
  • [Bug c++/127516] New: ICE in... s.kimura.h41104 at gmail dot com via Gcc-bugs

Reply via email to