https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86479

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Thu Jul 12 07:11:50 2018
New Revision: 262574

URL: https://gcc.gnu.org/viewcvs?rev=262574&root=gcc&view=rev
Log:
2018-07-12  Richard Biener  <rguent...@suse.de>

        PR middle-end/86479
        * fold-const.c (fold_binary_op_with_conditional_arg): Do not
        move possibly trapping operations into the conditional.

        * gcc.dg/graphite/pr86479.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/graphite/pr86479.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to