[Bug preprocessor/60723] Line directives with incorrect system header flag
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 1 09:51:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60723
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu.org
--- Comment #4 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
Patches go to the gcc-patches mailing list for review. You will also need a
testcase formatted for inclusion on the testsuite and test your patch against
the GCC testsuite. See also: http://gcc.gnu.org/contribute.html
> In a function-like macro expansion, regular tokens are line-marked as being
> expanded at the opening parenthesis, while builtins are line-marked as being
> expanded at the closing parenthesis (both of these choices are reasonable,
> though the inconsistency is probably a design flaw). When a non-builtin
> follows a builtin in a multiline macro call, the line numbers of the tokens
> are inconsistent, forcing a line directive to be inserted.
I don't see how your patch fixes this inconsistency.
More information about the Gcc-bugs
mailing list