This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/33485] New: parallel v3: do not use __builtin_alloca, use VLA
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Sep 2007 02:29:39 -0000
- Subject: [Bug libstdc++/33485] New: parallel v3: do not use __builtin_alloca, use VLA
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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