This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 01/17] Add param-type-mismatch.c/C testcases as a baseline
- From: Jeff Law <law at redhat dot com>
- To: David Malcolm <dmalcolm at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 1 Sep 2017 11:00:46 -0600
- Subject: Re: [PATCH 01/17] Add param-type-mismatch.c/C testcases as a baseline
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx06.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=law at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 820321F57C
- References: <1500926714-56988-1-git-send-email-dmalcolm@redhat.com> <1500926714-56988-2-git-send-email-dmalcolm@redhat.com>
On 07/24/2017 02:04 PM, David Malcolm wrote:
> Amongst other things, this patch kit aims to improve our handling
> of mismatched types within function calls.
Certainly a worthy goal. It's silly that someone trying to parse the
diagnostic we currently give to have to manually walk the arguments and
figure out where the mismatch is. Underlining the mismatched parameter
at the call site and in the declaration would be a huge step forward.
I'd support getting these tests into the testsuite independent of the
BLT work. They may need to be xfailed for a period of time.
If you wanted to go forward on that, be my guest.
jeff