On Thu, 23 Jan 2014, Marek Polacek wrote:

> 2014-01-23  Marek Polacek  <pola...@redhat.com>
> 
>       PR c/59846
> c-family/
>       * c-common.c (shorten_compare): Add location_t parameter.
>       * c-common.h (shorten_binary_op): Adjust declaration.
> cp/
>       * typeck.c (cp_build_binary_op): Pass location to shorten_compare.
> c/
>       * c-typeck.c (parser_build_binary_op): Use location instead of
>       input_location.
>       (build_binary_op): Pass location to shorten_compare.
> testsuite/
>       * gcc.dg/pr59846.c: New test.

OK.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to