This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Inlining, nested functions, and VLAs
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: rth at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 1 Nov 04 16:37:27 EST
- Subject: Re: Inlining, nested functions, and VLAs
I suppose we could force a type match by adding a VIEW_CONVERT_EXPR...
We could. It would be the very safe change of changing the abort to
a build of a VIEW_CONVERT_EXPR. However, the validity check that's there
is valuable, I think, and I'm not sure that it'd be worth it to remove
that check just for this obscure case. On the other hand, it's certainly
far less code than adding a check for and disallowing this inlining.