r248961 - in /trunk/gcc: ChangeLog fold-const.c...
mpolacek@gcc.gnu.org
mpolacek@gcc.gnu.org
Wed Jun 7 11:19:00 GMT 2017
Author: mpolacek
Date: Wed Jun 7 11:19:40 2017
New Revision: 248961
URL: https://gcc.gnu.org/viewcvs?rev=248961&root=gcc&view=rev
Log:
PR sanitizer/80932
* fold-const.c (extract_muldiv_1) <case MINUS_EXPR>: Add
TYPE_OVERFLOW_WRAPS check.
* c-c++-common/ubsan/pr80932.c: New test.
Added:
trunk/gcc/testsuite/c-c++-common/ubsan/pr80932.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list