]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
re PR preprocessor/56824 (pragma GCC diagnostic push/pop fail with GCC diagnostic...
authorJakub Jelinek <jakub@redhat.com>
Fri, 7 Feb 2014 16:42:24 +0000 (17:42 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 7 Feb 2014 16:42:24 +0000 (17:42 +0100)
commitacf601aefd44b7c2615c78408b32e862212d34ef
tree0bdd845c1adb622d79a45e91abf5a44001f7be1c
parent177bc204a2f3a13c9fad9c8f88eb3449c8752552
re PR preprocessor/56824 (pragma GCC diagnostic push/pop fail with GCC diagnostic ignored "-Waggregate-return")

PR preprocessor/56824
* line-map.c (get_combined_adhoc_loc, linemap_get_expansion_line,
linemap_get_expansion_filename, linemap_location_in_system_header_p,
linemap_location_from_macro_expansion_p,
linemap_macro_loc_to_spelling_point, linemap_macro_loc_to_def_point,
linemap_macro_loc_to_exp_point, linemap_expand_location): Fix
formatting.
(linemap_compare_locations): Look through adhoc locations for both
l0 and l1.

* gcc.dg/pr56824.c: New test.

From-SVN: r207606
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr56824.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/line-map.c