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  <rguent...@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

Reply via email to