On Tue, Apr 09, 2013 at 01:21:27PM +0000, Evgeny Gavrin wrote: > Is there any simple way to add support of custom pragma-directive for C/C++ = > front-ends? > I'm trying to avoid lots of modifications on every level from pa= > rser to GIMPLE.
Yes, make a GCC plugin (in C++) or better yet a MELT extension (see http://gcc-melt.org/ for more about MELT which is a high-level domain specific language to extend GCC) to add your pragmas. Cheers. -- 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} ***