On 04/29/14 15:19, Marek Polacek wrote:
At least for function calls we can use their location info
to generate better diagnostics.

Regtested/bootstrapped on x86_64-linux, ok for trunk?

2014-04-29  Marek Polacek  <pola...@redhat.com>

        PR c/56989
        * c-typeck.c (default_conversion): Use better location for
        error call.

        * gcc.dg/pr56989.c: New test.
OK.  Thanks
Jeff

Reply via email to