[Bug sanitizer/80659] [7/8 Regression] -fsanitize=address evokes ICE in in gimplify_switch_expr
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed May 17 10:26:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80659
--- Comment #9 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Wed May 17 09:59:20 2017
New Revision: 248143
URL: https://gcc.gnu.org/viewcvs?rev=248143&root=gcc&view=rev
Log:
PR sanitizer/80659
* c-decl.c (build_compound_literal): Set DECL_ARTIFICIAL and
DECL_IGNORED_P even for non-static compound literals.
* gcc.dg/asan/pr80659.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/asan/pr80659.c
Modified:
trunk/gcc/c/ChangeLog
trunk/gcc/c/c-decl.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list