This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] use correct column info for function definitions


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~



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]