From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9007 invoked by alias); 19 Jun 2013 18:19:36 -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 8965 invoked by uid 48); 19 Jun 2013 18:19:32 -0000 From: "geir at cray dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/33720] A negative value in OpenMP clause num_threads is not detected at runtime Date: Wed, 19 Jun 2013 18:19: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: 4.2.1 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: geir at cray dot com X-Bugzilla-Status: UNCONFIRMED 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: 2013-06/txt/msg01037.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33720 --- Comment #6 from Geir Johansen --- Fails in GCC 4.8.0: $ gcc --version gcc (GCC) 4.8.0 20130322 (Cray Inc.) Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ gcc -o x -fopenmp bug2883.c -lm $ ./x pi 3.1416 n_thread -7 libgomp: Out of memory allocating 481036337712 bytes $