From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29265 invoked by alias); 4 Jun 2015 08:39:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 29172 invoked by uid 55); 4 Jun 2015 08:39:36 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/66190] [5/6 Regression] ICE:=?UTF-8?Q?=20tree=20code=20=E2=80=98call=5Fexpr=E2=80=99=20is=20not=20supported=20in=20LTO=20streams=20with=20=2Dfsanitize?==null Date: Thu, 04 Jun 2015 08:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-06/txt/msg00404.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66190 --- Comment #11 from Marek Polacek --- Author: mpolacek Date: Thu Jun 4 08:39:01 2015 New Revision: 224117 URL: https://gcc.gnu.org/viewcvs?rev=224117&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: branches/gcc-5-branch/gcc/testsuite/g++.dg/ubsan/static-init-1.C branches/gcc-5-branch/gcc/testsuite/g++.dg/ubsan/static-init-2.C branches/gcc-5-branch/gcc/testsuite/g++.dg/ubsan/static-init-3.C Modified: branches/gcc-5-branch/gcc/cp/ChangeLog branches/gcc-5-branch/gcc/cp/cp-gimplify.c branches/gcc-5-branch/gcc/testsuite/ChangeLog