This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH: PR 13243 and PR 12573
On Mon, 2003-12-15 at 10:27, Jason Merrill wrote:
> On Mon, 15 Dec 2003 08:58:02 -0800, Mark Mitchell <mark@codesourcery.com> wrote:
>
> > The standard is not perfectly clear on what is permitted in an
> > integral constant-expression, and it has a partial listk of what is
> > forbidden, which confused me. However, things like "[...]" and "->"
> > clearly should not be permitted, and the EDG front end rejects these
> > cases as well.
>
> You should also take a look at Giovanni Bajo's patch for 13243, to see if
> any of it is still relevant after your patch.
>
> http://gcc.gnu.org/ml/gcc-patches/2003-12/threads.html#00767
I think the finish_id_expression parts are still relevant. Giovanni,
would you please retest that part of your patch? Assuming it all still
works, would you please check it in?
> I would still like "constant_expression_p" to become
> "integral_constant_expression_p", since that's what it means.
You can make that change -- you've got an editor, don't you? :-)
--
Mark Mitchell <mark@codesourcery.com>
CodeSourcery, LLC