On Aug 18 2017, David Malcolm <dmalc...@redhat.com> wrote:

> gcc/c/ChangeLog:
>       * c-parser.c (c_parser_expr_list): Use c_expr::get_location ()
>       rather than peeking the location of the first token.
>       * c-tree.h (c_expr::get_location): New method.

This breaks gcc.dg/Wtraditional-conversion-2.c on m68k:

FAIL: gcc.dg/Wtraditional-conversion-2.c  (test for warnings, line 54)
FAIL: gcc.dg/Wtraditional-conversion-2.c  (test for warnings, line 55)
FAIL: gcc.dg/Wtraditional-conversion-2.c (test for excess errors)
Excess errors:
cc1: warning: passing argument 1 of 'ff' as 'float' rather than 'double' due to 
prototype
cc1: warning: passing argument 1 of 'x.ff' as 'float' rather than 'double' due 
to prototype

Andreas.

-- 
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

Reply via email to