From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11246 invoked by alias); 10 Feb 2015 17:53:05 -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 11180 invoked by uid 48); 10 Feb 2015 17:53:01 -0000 From: "rth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/65000] ICE in in expand_builtin_eh_common, at except.c:2072 Date: Tue, 10 Feb 2015 17:53: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to attachments.created 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-02/txt/msg01069.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65000 Richard Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rth at gcc dot gnu.org --- Comment #10 from Richard Henderson --- Created attachment 34715 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34715&action=edit proposed patch Yes, marking the regions of __builtin_eh_copy_values sounds reasonable (and yes, it does fix the ICE here). I think it would be valuable to know what's different about ubsan that we haven't seen this same ICE with plain C++. I may spend a little bit of time trying to reverse-engineer such a test case while this patch goes through normal regression testing.