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: [RFC/PATCH] Fix 17807, ICE for undefined local function


On Mon, Oct 04, 2004 at 01:56:32PM -0400, Andrew Pinski wrote:
> +	  error ("nested function, %qE, not declared", cgn->decl);

This sort of diagnosis belongs in the front end.  By the time
we get to the middle-end, everything should be kosher.

And it's "defined", not "declared".


r~


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