[Bug preprocessor/56824] [4.8/4.9 regression] pragma GCC diagnostic push/pop fail with GCC diagnostic ignored "-Waggregate-return"
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 7 16:43:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56824
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Feb 7 16:42:24 2014
New Revision: 207606
URL: http://gcc.gnu.org/viewcvs?rev=207606&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gcc.dg/pr56824.c
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/libcpp/ChangeLog
trunk/libcpp/line-map.c
More information about the Gcc-bugs
mailing list