Bug 86644 - [9 Regression] UBSAN error: tree-vect-patterns.c:225:17: runtime error: shift exponent 64 is too large for 32-bit type 'int'
Summary: [9 Regression] UBSAN error: tree-vect-patterns.c:225:17: runtime error: shift...
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: tree-optimization (show other bugs)
Version: 9.0
: P3 normal
Target Milestone: 9.0
Assignee: Richard Sandiford
URL:
Keywords:
Depends on:
Blocks: ubsan
  Show dependency treegraph
 
Reported: 2018-07-23 12:13 UTC by Martin Liška
Modified: 2018-07-26 21:41 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2018-07-23 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Liška 2018-07-23 12:13:10 UTC
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'
Comment 1 Richard Sandiford 2018-07-25 08:45:30 UTC
Fixed by r262961.
Comment 2 Richard Sandiford 2018-07-26 21:41:14 UTC
*** Bug 86506 has been marked as a duplicate of this bug. ***