This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix bootstrap issues with C++
Jakub Jelinek wrote:
>>> Well - it's pre-existing, this just completes it to avoid
>>> unused or set-but-not-used warnings.
>> How are designated intializers relevant?
>
> Because C++ doesn't support them?
Well, sure, but the patch didn't seem to be removing any use of
designated initializers. I guess, reading between the line, that it
removes a variable that itself is used only if there are designated
initializers. That's fine; I'm not second-guessing the patch, I think
just think it would be helpful to briefly state the rationale for
patches necessary to make GCC compile with a C++ compiler.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713