This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fix g++.dg/init/new4.C
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: rth at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 30 Jun 04 22:28:20 EDT
- Subject: Re: fix g++.dg/init/new4.C
I *think* this flag should go away, and the error generated by
variable_size should be generated by the front ends. I havn't
looked at this in detail yet.
I'm not sure that the entire concept of pending sizes makes sense anymore
at all. For one thing, there's the issue of keeping the context straight
in the presence of nested functions.
As long as each variable-length type and decl is in a DECL_EXPR, the
gimplifier should take care of making sure everything is evaluated at
the right place.