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: [PATCH] Fix handling of deferred pragmas inside of macro arguments (PR preprocessor/34692)


>>>>> "Jakub" == Jakub Jelinek <jakub@redhat.com> writes:

Jakub> The following patch restores roughly the 4.1 behavior or
Jakub> -save-temps behavior of the trunk even when
Jakub> preprocessing/compiling together.  The CPP_PRAGMA
Jakub> ... CPP_PRAGMA_EOL tokens are pushed into a separate buffer,
Jakub> which is included before the macro replacement.

Nice patch.

Please update the comment for collect_args and funlike_invocation_p to
document the new argument; and also add a note to the comment for
enter_macro_context describing the new return value.

This is ok with that change.

Tom


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