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

            Bug ID: 126684
           Summary: <source>:13:1: internal compiler error: in
                    vec_safe_grow_cleared, at vec.h:773 since 13.1
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mario.rodriguezb1 at um dot es
  Target Milestone: ---

This bugs may be related to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126682, __GIMPLE (ssa) seems to
introduce multiple errors in GCC, this appears in 13.1:

```

typedef float v4sf __attribute__((vector_size(32)));
v4sf __GIMPLE (ssa)
load (const void * p)
{
  __int128 unsigned _3;
  v4sf _4;


  __BB(32):
  _3 = __MEM <__int128 unsigned, 128> ((char *)p_2(D));
  _4 = __VIEW_CONVERT <v4sf>(_3);
}

``` 

Stacktrace:

```
<source>:13:1: internal compiler error: in vec_safe_grow_cleared, at vec.h:773
0x27fe448 diagnostics::context::diagnostic_impl(rich_location*,
diagnostics::metadata const*, diagnostics::option_id, char const*,
__va_list_tag (*) [1], diagnostics::kind)
        ???:0
0x27f308b internal_error(char const*, ...)
        ???:0
0xa3aa9a fancy_abort(char const*, int, char const*)
        ???:0
0x126902a void vec_safe_grow_cleared<basic_block_def*,
va_gc>(vec<basic_block_def*, va_gc, vl_embed>*&, unsigned int, bool)
        ???:0
0x125ceff init_empty_tree_cfg_for_function(function*)
        ???:0
0xb1830b c_parser_parse_gimple_body(c_parser*, char*, c_declspec_il,
profile_count)
        ???:0
0xb0e620 c_parse_file()
        ???:0
0xb93f69 c_common_parse_file()
        ???:0
```

To quickly reproduce:

https://godbolt.org/z/748P8vGca
  • [Bug c/126684] New: <source... mario.rodriguezb1 at um dot es via Gcc-bugs

Reply via email to