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

            Bug ID: 108278
           Summary: runtime error with -O1 -Wall
           Product: gcc
           Version: 13.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 54182
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54182&action=edit
gzipped C++ source code

The attached C++ code does this:

$ ../results/bin/g++ -c -O1 -Wall bug872.cc 
../../trunk.d1/gcc/poly-int.h:753:21: runtime error: signed integer overflow:
4611686018427387903 * 8 cannot be represented in type 'long int'
$ 

The bug first seems to occur sometime between git hash d423e8dc59045d8f,
from a couple of days ago and fee53a3194c0d8b7, from today, a distance
of 14 commits.

I have a reduction running.

Reply via email to