[patch] use correct column info for function definitions

Richard Henderson rth@redhat.com
Tue Sep 9 02:54:00 GMT 2008


Aldy Hernandez wrote:
> 	* function.h (struct function): Add function_start_locus.
> 	* cfgexpand.c (gimple_expand_cfg): Use it.
> 	* c-parser.c (c_parser_declaration_or_fndef): Set it.
> testsuite/
> 	* gcc.dg/always_inline.c: Place error message on function
> 	name line.
> 	* gcc.dg/winline-6.c: Same.
> 	* gcc.dg/noreturn-1.c: Same.
> 	* gcc.dg/noreturn-7.c: Same.
> 	* gcc.dg/inline-14.c: Same.
> 	* gcc.dg/always_inline3.c: Same.
> 	* gcc.dg/winline-3.c: Same.
> 	* gcc.dg/wtr-func-def-1.c: Same.
> 	* gcc.dg/winline-5.c: Same.
> 	* gcc.dg/winline-7.c: Same.
> 	* gcc.dg/winline-9.c: Same.
> 	* gcc.dg/noreturn-4.c: Same.
> 	* gcc.dg/20041213-1.c: Use column numbers.

Ok.


r~



More information about the Gcc-patches mailing list