From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 63842 invoked by alias); 22 Jul 2015 02:15:55 -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 63766 invoked by uid 48); 22 Jul 2015 02:15:49 -0000 From: "cesar at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/66714] ICE in loc_list_from_tree with -g Date: Wed, 22 Jul 2015 02:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgomp X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: ice-on-valid-code, openacc, openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: cesar at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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-07/txt/msg01873.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66714 --- Comment #22 from cesar at gcc dot gnu.org --- (In reply to vries from comment #21) > How about > > + else > + gcc_unreachable (); > > ? > > That makes sure you run into all the unhandled cases. Good idea. Unfortunately, that caused 4696 new unexpected failures. Maybe some of those value exprs are VAR_DECLs. I'll investigate this tomorrow. > > I tested this patch in gomp-4_0-branch libgomp and everything appears to > > work. Does this issue present in trunk too? > > Yep, this PR was originally filed as gomp-4_0-branch PR but, I changed it to > trunk PR at comment 13. Thanks. I'll check out trunk.