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

--- Comment #1 from Manuel Lauss <manuel.lauss at googlemail dot com> ---
Created attachment 55767
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55767&action=edit
another compressed unreduced testcase

Another testcase.  it triggers with "-march=zvner1" but not e.g. "core2" but
that is probably due to the source being preprocessed for znver4.

# g++ -march=znver1 -mtune=znver1 -O2 -c qxmlstream.ii 
during RTL pass: expand
In file included from
/tmp-ram/portage/dev-qt/qtcore-5.15.10-r1/work/qtbase-everywhere-src-5.15.10/src/corelib/serialization/qxmlstream.cpp:76:
/tmp-ram/portage/dev-qt/qtcore-5.15.10-r1/work/qtbase-everywhere-src-5.15.10/src/corelib/serialization/qxmlstream_p.h:
In member function 'QStringView QXmlStreamReaderPrivate::symView(int) const':
/tmp-ram/portage/dev-qt/qtcore-5.15.10-r1/work/qtbase-everywhere-src-5.15.10/src/corelib/serialization/qxmlstream_p.h:949:17:
internal compiler error: in expand_fn_using_insn, at internal-fn.cc:214
  949 |     QStringView symView(int index) const
      |                 ^~~~~~~
0x555774d492af internal_error(char const*, ...)
        ???:0
0x5557732b9ed6 fancy_abort(char const*, int, char const*)

Reply via email to