[Bug sanitizer/79589] ICE in gimplify_compound_expr (gimplify.c:5712) with -fsanitize=undefined
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 21 17:59:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79589
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Feb 21 17:59:07 2017
New Revision: 245638
URL: https://gcc.gnu.org/viewcvs?rev=245638&root=gcc&view=rev
Log:
PR sanitizer/79589
* decl.c: Include gimplify.h.
(cp_finish_decomp): Make sure there is no sharing of trees
in between DECL_VALUE_EXPR of decomposition decls.
* g++.dg/ubsan/pr79589.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/ubsan/pr79589.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list