From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18717 invoked by alias); 26 Nov 2006 19:16:28 -0000 Received: (qmail 18576 invoked by uid 48); 26 Nov 2006 19:16:17 -0000 Date: Sun, 26 Nov 2006 19:16:00 -0000 Message-ID: <20061126191617.18575.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/29965] OpenMP vs always throw in a loop In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jakub at gcc dot gnu dot org" 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 X-SW-Source: 2006-11/txt/msg02293.txt.bz2 ------- Comment #2 from jakub at gcc dot gnu dot org 2006-11-26 19:16 ------- That's actually ICE on invalid, you can't throw out of a parallel region. OpenMP 2.5, section 2.4 says: "A throw executed inside a parallel region must cause execution to resume within the same parallel region, and it must be caught by the same thread that threw the exception." -- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|ice-on-valid-code |ice-on-invalid-code http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29965