diff options
author | David Malcolm <dmalcolm@redhat.com> | 2016-01-27 18:57:51 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2016-01-27 18:57:51 +0000 |
commit | 0afff540e652c77b409ce094f64cc2b033495785 (patch) | |
tree | f6cecd18c9211abd83605d0385a9448c4f50e786 /gcc/gcc.h | |
parent | b45285fc2ee430b675f57e8c92310aaf77ba031e (diff) | |
download | gcc-0afff540e652c77b409ce094f64cc2b033495785.zip gcc-0afff540e652c77b409ce094f64cc2b033495785.tar.gz gcc-0afff540e652c77b409ce094f64cc2b033495785.tar.bz2 |
libcpp: use better locations for _Pragma tokens (preprocessor/69126)
gcc/testsuite/ChangeLog:
PR preprocessor/69126
* c-c++-common/pr69126.c: New test case.
libcpp/ChangeLog:
PR preprocessor/69126
* directives.c (destringize_and_run): Add expansion_loc param; use
it when handling unexpanded pragmas to fixup the locations of the
synthesized tokens.
(_cpp_do__Pragma): Add expansion_loc param and use it when calling
destringize_and_run.
* internal.h (_cpp_do__Pragma): Add expansion_loc param.
* macro.c (builtin_macro): Pass expansion location of _Pragma to
_cpp_do__Pragma.
From-SVN: r232893
Diffstat (limited to 'gcc/gcc.h')
0 files changed, 0 insertions, 0 deletions