This is the mail archive of the 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: cpp macro expansion for #pragmas

On Fri, 2006-09-29 at 14:09 +0000, Paul Rubin wrote:
> This is revived from several months back.  It adds cpp macro expansion
> capability for #pragma directives, under control of a gcc command line
> option (-expand-pragmas).  It's against version 117267 of the svn
> tree, which is now a day or so old, except the testsuite/ChangeLog
> diff is against a newer revision (but changelogs always get patch
> conflicts anyway).  I'd like to submit it for GCC 4.3.  I've run the
> full gcc test suite and while there are a number of unexpected
> failures and successes, they're in non-cpp-related areas and I get the
> same failures when running the tests using the unpatched cpp (2
> unexpected failures in C, one unexpected success in C++, and 16
> unexpected failures in Fortran, IIRC.  I think Fortran does not use
> the cpp at all).  Please let me know of any probs.

Can I suggest the option be changed to -fexpand-pragmas so you don't
have to edit the driver code (gcc.c) and it is closer to the rest of the
options in GCC?

Also changelogs should be in plain text and not part of the patch.

Andrew Pinski

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