This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] (regression) Set TREE_CONSTANT for STATIC_EXPRandCAST_EXPR
Mark Mitchell <mark@codesourcery.com> wrote:
>> And what do you think of my TREE_CONSTANT patch then?
>
> I really want to work on this problem myself, but I've been trying to
> dutifully fix regressions instead.
> The thing we want to do is to still produce a STATIC_CAST_EXPR (that's
> actually required for correct mangling), but set its type correctly.
FWIW, this _is_ a trunk regression. The old parser was able to handle my
constant2/3.C correctly.
Giovanni Bajo