[v3] -pedantic-errors fixups
Benjamin Kosnik
bkoz@redhat.com
Fri Sep 14 17:11:00 GMT 2007
> Also, probably this pragma should not warn on C++ VLA issues, but this
> is not the current behavior. I'll investigate and file a bug about
> this in bugzilla.
Huh. I cannot come up with a small reproducer for this behavior. Weird.
However, a quick scan of bugzilla shows a bunch of C++ vs. VLA issues,
so I'm going to let this part drop.
I'm checking in the attached patch. It's mostly the same, with the
change to use __builtin_alloca, which is consistent with the rest of
the library. (via Ulrich.)
tested x86/linux
best,
benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.20070914-2
Type: application/octet-stream
Size: 7620 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20070914/73d33413/attachment.obj>
More information about the Libstdc++
mailing list