https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80097
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue Mar 21 07:01:05 2017 New Revision: 246302 URL: https://gcc.gnu.org/viewcvs?rev=246302&root=gcc&view=rev Log: 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: trunk/gcc/testsuite/gcc.dg/ubsan/pr80097.c Modified: trunk/gcc/c/ChangeLog trunk/gcc/c/c-typeck.c trunk/gcc/testsuite/ChangeLog