[Bug middle-end/77594] double computation for __builtin_sub_overflow (0, ...)
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 16 09:39:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77594
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Sep 16 09:38:31 2016
New Revision: 240183
URL: https://gcc.gnu.org/viewcvs?rev=240183&root=gcc&view=rev
Log:
PR middle-end/77594
* internal-fn.c (expand_arith_overflow) <case MINUS_EXPR>: Don't fall
through into expand_addsub_overflow after expand_neg_overflow.
* gcc.target/i386/pr77594.c: New test.
Added:
branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/pr77594.c
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/internal-fn.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list