This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: make grokfield handle locations
>>>>> "Aldy" == Aldy Hernandez <aldyh@redhat.com> writes:
Aldy> * gcc.dg/cpp/pr28165.c: Same.
Aldy> * gcc.dg/cpp/paste15.c: Same.
Aldy> * gcc.dg/cpp/trad/assert2.c: Same.
Aldy> Sorry to keep bothering everyone with this, but it turns out all the
Aldy> CPP tests I mention print out incorrect column information for at least
Aldy> one of the errors being tested-- some of them bizarrely so.
FYI, I looked at these.
I fixed paste15 and assert2. I will fix up the test cases and check
in my patch after regtesting, and after yours goes in (I'll need the
dg fix).
The pr28165 case is funny because the tokens come from a string. At
first glance libcpp is not set up to handle this gracefully. I'll dig
a bit more.
Tom