re PR middle-end/78228 (fstrict-overflow breaks code without overflow?)
authorRichard Biener <rguenther@suse.de>
Mon, 7 Nov 2016 12:25:09 +0000 (12:25 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 7 Nov 2016 12:25:09 +0000 (12:25 +0000)
commit32894793ff96f4c56b90e0f0e1d961e526a6edc7
treec262e115f9ce800d3846ad1e27f9cf648149d1b1
parente27bfda2fc621864fd0ffd2ba3a2cee38b3c7965
re PR middle-end/78228 (fstrict-overflow breaks code without overflow?)

2016-11-07  Richard Biener  <rguenther@suse.de>

PR tree-optimization/78228
* tree-ssa-phiopt.c (abs_replacement): Avoid introducing
undefined behavior.

* gcc.dg/tree-ssa/phi-opt-15.c: New testcase.

From-SVN: r241899
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/phi-opt-15.c [new file with mode: 0644]
gcc/tree-ssa-phiopt.c