This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] enabling -fshow-column by default
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 5 Jun 2009 00:09:57 +0100
- Subject: Re: [RFC] enabling -fshow-column by default
- References: <20090520142305.GA14937@redhat.com> <6c33472e0905200739x54647acdgac2d7909fc192790@mail.gmail.com> <20090520153905.GA14983@redhat.com>
2009/5/20 Aldy Hernandez:
>>
>> My only worry is that the testsuite may confuse column and line
>> numbers and pass/fail tests because of it.
>
> Janis has a patch for the testsuite to handle all this.
I'm seeing exactly this in the libstdc++ testsuite with some new tests
I've written - is a fix on the way soon?
I have something like:
/*33*/ foo<int> p1; // { dg-error "no match" }
/*34*/ foo<int&> p2; // { dg-error "no match" }
and the error for p2 has line:column as 34:33: which matches the first
dg-error, so I get a FAIL on line 34
Jonathan