This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This fixes part of 7263. A more general fix is difficult because we do want to test for token->src_loc but we want to print using the input_location, so using cpp_error_at_location is of no use here. Bootstrapped and regression tested on x86_64-unknown-linux-gnu with --enable-languages=all,ada OK for trunk? 2008-08-12 Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR cpp/7263 libcpp/ * internal.h (cpp_in_system_header_at): New. (cpp_inhibit_warnings_at): New. * expr.c (cpp_classsify_number): Use it. testsuite/ * gcc.dg/cpp/pr7263.c: New. * gcc.dg/cpp/pr7263.h: New.
Attachment:
fix-ppr7263.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |