diff options
author | Richard Biener <rguenther@suse.de> | 2017-06-14 11:40:20 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2017-06-14 11:40:20 +0000 |
commit | 909263f855ae056b49b8fbbbcf594d7e9b90b434 (patch) | |
tree | 438e6ca62418d179e447ddb69fbd318488a45f11 /gcc/tree-switch-conversion.c | |
parent | c74985e3ee7f30091582908b1bdf3cdec5218897 (diff) | |
download | gcc-909263f855ae056b49b8fbbbcf594d7e9b90b434.zip gcc-909263f855ae056b49b8fbbbcf594d7e9b90b434.tar.gz gcc-909263f855ae056b49b8fbbbcf594d7e9b90b434.tar.bz2 |
re PR middle-end/81088 (UBSAN: false positive as a result of reassosiation)
2017-06-14 Richard Biener <rguenther@suse.de>
PR middle-end/81088
* fold-const.c (split_tree): Drop TREE_OVERFLOW flag from
literal constants.
(fold_binary_loc): When associating do not treat pre-existing
TREE_OVERFLOW on literal constants as a reason to allow
TREE_OVERFLOW on associated literal constants.
* c-c++-common/ubsan/pr81088.c: New testcase.
From-SVN: r249192
Diffstat (limited to 'gcc/tree-switch-conversion.c')
0 files changed, 0 insertions, 0 deletions