This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r229528 - in /trunk/gcc: ChangeLog fold-const.c...
- From: rguenth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 29 Oct 2015 14:10:32 -0000
- Subject: r229528 - in /trunk/gcc: ChangeLog fold-const.c...
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