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

            Bug ID: 121130
           Summary: ICE at O2: in operator[], at vec.h:911
           Product: gcc
           Version: 15.1.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 61888
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61888&action=edit
testcase

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

console:
during GIMPLE pass: vect
<source>: In function 'w7.simdclone.1':
<source>:3:28: internal compiler error: in operator[], at vec.h:911
    3 | __attribute__((simd)) char w7(void) {
      |                            ^~
0x253f0d5 diagnostic_context::diagnostic_impl(rich_location*,
diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag
(*) [1], diagnostic_t)
        ???:0
0x2560db6 internal_error(char const*, ...)
        ???:0
0xa02454 fancy_abort(char const*, int, char const*)
        ???:0
0x14836ce vect_analyze_stmt(vec_info*, _slp_tree*, _slp_instance*,
vec<stmt_info_for_cost, va_heap, vl_ptr>*)
        ???:0
0x14e1b81 vect_slp_analyze_operations(vec_info*)
        ???:0
0x149e1b1 vect_analyze_loop(loop*, gimple*, vec_info_shared*)
        ???: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