This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [C++ patch/rfc] PR 16859


Paolo Carlini wrote:
Hi!

I had a look at this PR, which seems not too difficult for me.

In my tentative patch, I'm enforcing 8.5.1/4 only when -pedantic,
simply looking at *initp. Makes sense? Passes C/C++/libstdc++-v3
testsuites on x86-linux.

Is this patch against tte mainline? I don't see the code you're patching.


I think it would be cleaner to do the check in complete_array_type.

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


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