This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] -pedantic-errors fixups


> 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

Attachment: p.20070914-2
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]