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

Reply via email to