From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18829 invoked by alias); 19 Sep 2007 02:29:49 -0000 Received: (qmail 18803 invoked by uid 48); 19 Sep 2007 02:29:39 -0000 Date: Wed, 19 Sep 2007 02:29:00 -0000 Subject: [Bug libstdc++/33485] New: parallel v3: do not use __builtin_alloca, use VLA X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "bangerth at dealii 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: 2007-09/txt/msg01528.txt.bz2 find_template in parallel/find.h used to use a VLA, but Benjamin changed this to use __builtin_alloca a couple of days ago because VLAs are not in C++98 and therefore trigger a warning. He says the right thing to do is to use a VLA but make sure that the file is recognized as a system header so that the warning is suppressed. This PR is meant to remind him of changing things back to the VLA once he figures out how to flag a header as a system header :-) -- Summary: parallel v3: do not use __builtin_alloca, use VLA Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bangerth at dealii dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33485