[Bug c++/126527] New: Regression in 16.1.0 against 15.2.0 at OpenBSD/sparc64

kirill at korins dot ky via Gcc-bugs <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126527

            Bug ID: 126527
           Summary: Regression in 16.1.0 against 15.2.0 at OpenBSD/sparc64
           Product: gcc
           Version: 16.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kirill at korins dot ky
  Target Milestone: ---

Created attachment 65190
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65190&action=edit
minimal reproducer

Here a trivial reproducer of that regression.

I run it as:


  eg++ -O1 \
    sparc64-slp-min.cpp -o min-O1

  eg++ -O2 \
    sparc64-slp-min.cpp -o min-O2

  eg++ -O2 \
    -fno-tree-slp-vectorize \
    sparc64-slp-min.cpp -o min-O2-noslp

  eg++ -O2 \
    -fno-store-merging \
    sparc64-slp-min.cpp -o min-O2-nomerge

It works as:

  - min-O1 and min-O2-noslp works
  - min-O2 and min-O2-nomerge crashes on SIGBUS
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.