[Bug libstdc++/33485] New: parallel v3: do not use __builtin_alloca, use VLA

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Wed Sep 19 02:29:00 GMT 2007


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



More information about the Gcc-bugs mailing list