On Wed, 20 Jul 2011, Jason Merrill wrote: > The first patch adjusts the C++ front end's current support for the old GNU > designated initializer syntax to support the C99 syntax as well. > > The second patch adjusts recog.h/genoutput.c to use a new macro > HAVE_DESIGNATED_UNION_INITIALIZERS instead of HAVE_DESIGNATED_INITIALIZERS > because with the above change, the uses there work with the C++ compiler, but > the uses in dwarf2asm.c still don't because they involve out-of-order > initialization. > > I'm applying the first patch to trunk. Is the second patch OK as well, or > should use of designated initializers in recog.h wait until the C++ front end > supports the dwarf2asm.c use as well?
The 2nd patch is ok as well, it fixes a memory usage regression introduced by building with C++. Thanks, Richard.