[Bug middle-end/68142] unsafe association of multiplication
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Oct 29 14:11:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68142
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Thu Oct 29 14:10:31 2015
New Revision: 229528
URL: https://gcc.gnu.org/viewcvs?rev=229528&root=gcc&view=rev
Log:
2015-10-29 Richard Biener <rguenther@suse.de>
PR middle-end/68142
* fold-const.c (extract_muldiv_1): Avoid introducing undefined
overflow.
* c-c++-common/ubsan/pr68142.c: New testcase.
Added:
trunk/gcc/testsuite/c-c++-common/ubsan/pr68142.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list