This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/66190] [5/6 Regression] ICE: tree code âcall_exprâ is not supported in LTO streams with -fsanitize=null
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 03 Jun 2015 16:54:56 +0000
- Subject: [Bug sanitizer/66190] [5/6 Regression] ICE: tree code âcall_exprâ is not supported in LTO streams with -fsanitize=null
- Auto-submitted: auto-generated
- References: <bug-66190-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66190
--- Comment #9 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Wed Jun 3 16:54:24 2015
New Revision: 224096
URL: https://gcc.gnu.org/viewcvs?rev=224096&root=gcc&view=rev
Log:
PR sanitizer/66190
* cp-gimplify.c (struct cp_genericize_data): Add no_sanitize_p.
(cp_genericize_r): Don't instrument static initializers.
(cp_genericize_tree): Initialize wtd.no_sanitize_p.
* g++.dg/ubsan/static-init-1.C: New test.
* g++.dg/ubsan/static-init-2.C: New test.
* g++.dg/ubsan/static-init-3.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/ubsan/static-init-1.C
trunk/gcc/testsuite/g++.dg/ubsan/static-init-2.C
trunk/gcc/testsuite/g++.dg/ubsan/static-init-3.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-gimplify.c
trunk/gcc/testsuite/ChangeLog