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: gengtype & plugins [#define emitted in wrong order]


Basile STARYNKEVITCH wrote:
However, it seems to me that in plugin mode, the #define are emitted in the wrong order.

Correcting the problem is actually simple, as the attached patch (against trunk r152356) demonstrates. I just moved the write_func_for_structure calls inside write_types into their own loops.


I am also attaching the gcc/ChangeLog entry

Ok for trunk if it bootstraps?

It did bootstrap on amd64 debian sid (linux x86-64).


Regards.
--
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***


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