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

            Bug ID: 121889
           Summary: ice in discriminator_for_local_entity, at
                    cp/mangle.cc:2293
           Product: gcc
           Version: 16.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 62362
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62362&action=edit
gzipped C++ source code

The attached C++ code does this with recent gcc trunk:

foundBugs $ /home/dcb42/gcc/results.20250905.asan.ubsan/bin/g++ -c -w
-march=znver3 bug492.cc
foundBugs $
foundBugs $ /home/dcb42/gcc/results.20250907.asan.ubsan/bin/g++ -c -w
-march=znver3 bug492.cc
...
/usr/include/boost/math/special_functions/zeta.hpp:883:28: internal compiler
error: in discriminator_for_local_entity, at cp/mangle.cc:2280

To pin down the git range:

foundBugs $ /home/dcb42/gcc/results.20250905.asan.ubsan/bin/g++ -v 2>&1 | grep
exp
gcc version 16.0.0 20250905 (experimental) (911ec2e09bcfadb2) 
foundBugs $ /home/dcb42/gcc/results.20250907.asan.ubsan/bin/g++ -v 2>&1 | grep
exp
gcc version 16.0.0 20250907 (experimental) (1b9c218d1429d596) 
foundBugs $ 

and the number of commits on this range is 46.

I have a reduction running.

Reply via email to