On Thu, 19 May 2011 21:45:49 +0200 Basile Starynkevitch <bas...@starynkevitch.net> wrote: > However, did you check that the atomic qualifier is correctly written & > re-read in the state (I believe you did, otherwise it probably won't > work). This is needed for plugins using it, or using atomic qualified > fields of existing (or future) structures.
This also brings a wish. Now that gengtype is plugin friendly, I would find great if some testcases appeared for gengtype on plugins. That would be the good way to test new GTY or gengtype features. Unfortunately, this probably requires fluency with dejagnu & expect, which I don't have. The dream I have is to be able to test with dejagnu that gengtype -P is able to generate some gt*.h file with such and such regexp patterns. To say it otherwise, testing new GTY features is best done on plugin-like code, because these new featurres cannot be used before gengtype has been properly extended. That "plugin" code don't need to do something useful, or even to work as a GCC plugin; it simply have to be passed to gengtype with -P. 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 mine, sont seulement les miennes} ***