[Bug tree-optimization/86644] New: [9 Regression] UBSAN error: tree-vect-patterns.c:225:17: runtime error: shift exponent 64 is too large for 32-bit type 'int'

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 23 12:14:00 GMT 2018


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

            Bug ID: 86644
           Summary: [9 Regression] UBSAN error:
                    tree-vect-patterns.c:225:17: runtime error: shift
                    exponent 64 is too large for 32-bit type 'int'
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: rdsandiford at googlemail dot com
            Blocks: 63426
  Target Milestone: ---

Probably starting with r262276 I see:

$ ./xgcc -B. -fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -flto
-fno-use-linker-plugin -flto-partition=none -Wno-stringop-overflow
-ftree-vectorize -c -o pr55569.o
/home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/compile/pr55569.c
/home/marxin/Programming/gcc/gcc/tree-vect-patterns.c:225:17: runtime error:
shift exponent 64 is too large for 32-bit type 'int'


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426
[Bug 63426] [meta-bug] Issues found with -fsanitize=undefined


More information about the Gcc-bugs mailing list