[Bug c++/69145] [6 Regression] Bogus 'warning:=?UTF-8?Q?=20=23pragma=20implementation=20for=20=E2=80=98?=...=?UTF-8?Q?=E2=80=99=20appears=20after=20file=20is=20included?='
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 8 06:44:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69145
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Jan 8 06:43:31 2016
New Revision: 232150
URL: https://gcc.gnu.org/viewcvs?rev=232150&root=gcc&view=rev
Log:
PR c++/69145
* files.c (cpp_included_before): If IS_ADHOC_LOC (location), lookup
real location from the line_table.
* g++.dg/ext/pr69145-1.C: New test.
* g++.dg/ext/pr69145-2-very-long-filename.cc: New file.
* g++.dg/ext/pr69145-2.h: New file.
Added:
trunk/gcc/testsuite/g++.dg/ext/pr69145-1.C
trunk/gcc/testsuite/g++.dg/ext/pr69145-2-very-long-filename.cc
trunk/gcc/testsuite/g++.dg/ext/pr69145-2.h
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/libcpp/ChangeLog
trunk/libcpp/files.c
More information about the Gcc-bugs
mailing list