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

            Bug ID: 117360
           Summary: ext-dce.cc:573:15: runtime error: shift exponent 127
                    is too large for 64-bit type 'long long unsigned int'
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

I tried a bootstrap and got the runtime error in the title.

The line of code is

    mask |= 1ULL << (GET_MODE_BITSIZE (mode).to_constant () - 1);

Bootstrap configure is

../trunk/configure --prefix=$HOME/gcc/results.$DATE \
        --disable-multilib \
        --disable-werror \
        --with-pkgversion=$HASH \
    --with-build-config="bootstrap-asan bootstrap-ubsan" \
        --enable-checking=yes \
        --enable-languages=c,c++

sed 's;-O2;-O2 -march=znver3 -fno-var-tracking-assignments;' < Makefile >
Makefile.tmp
mv Makefile.tmp Makefile

Reply via email to