re PR tree-optimization/90213 (UBSAN: signed integer overflow: -5621332293356458048...
authorRichard Biener <rguenther@suse.de>
Thu, 25 Apr 2019 11:17:49 +0000 (11:17 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 25 Apr 2019 11:17:49 +0000 (11:17 +0000)
commita9e6359a90a16479a8558f76e6be2a4835ccd8f6
treebab5c976f92cdc45765211fdfd5ca225f8b19711
parentf469220df6185dee831686631c570245769887da
re PR tree-optimization/90213 (UBSAN: signed integer overflow: -5621332293356458048 * 8 cannot be represented in type 'long int')

2019-04-24  Richard Biener  <rguenther@suse.de>

PR middle-end/90213
* gimple-fold.c (fold_const_aggregate_ref_1): Do multiplication
by size and BITS_PER_UNIT on poly-wide-ints.

From-SVN: r270570
gcc/ChangeLog
gcc/gimple-fold.c