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

            Bug ID: 102581
           Summary: ice in forced_merge, at ipa-modref-tree.h:352 with
                    -fno-strict-aliasing and -O2
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 51542
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51542&action=edit
gzipped C++ source code

The attached C++ source code, with compiler flags -fno-strict-aliasing
and -O2, does this:

/home/dcb35/rpmbuild/BUILD/Vulkan-Tools-sdk-1.2.189.0/vulkaninfo/vulkaninfo.cpp:1082:1:
internal compiler error: in forced_merge, at ipa-modref-tree.h:352

The bug first occurs sometime before git hash 2fcfc03459a907c0,
from about a month ago.

I will try to reduce this source code downto somethine sensible.

Reply via email to