[Bug c/80097] internal compiler error in c_fully_fold_internal with std=c89 and -fsanitize=float-divide-by-zero
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri May 5 21:43:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80097
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri May 5 21:42:05 2017
New Revision: 247687
URL: https://gcc.gnu.org/viewcvs?rev=247687&root=gcc&view=rev
Log:
Backported from mainline
2017-03-21 Jakub Jelinek <jakub@redhat.com>
PR c/80097
* c-typeck.c (build_binary_op): Add EXCESS_PRECISION_EXPR only around
optional COMPOUND_EXPR with ubsan instrumentation.
* gcc.dg/ubsan/pr80097.c: New test.
Added:
branches/gcc-6-branch/gcc/testsuite/gcc.dg/ubsan/pr80097.c
Modified:
branches/gcc-6-branch/gcc/c/ChangeLog
branches/gcc-6-branch/gcc/c/c-typeck.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list