This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR27529, a step towards fixing PR27039
Tom Tromey writes:
> >>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
>
> Andrew> I can see the logic of this. I'd still want fold to see through
> Andrew> CHECKED_CONVERT_EXPR to the extent that
> Andrew> fold (build (CHECKED_CONVERT_EXPR, t, exp)) would return exp if it
> Andrew> were already of type t.
>
> Andrew> I would rather not be performing such major surgery to the Java
> Andrew> language front-end at this point in the development cycle. It seems
> Andrew> like a reasonable thing do do in Stage 1, though.
>
> I think when we merge the ecj branch, we won't need this special case
> at all -- we won't be using parse.y and in a .class file all
> checkcasts are explicit.
Correct.
> If you file a PR for this and link it to the ecj tracking PR, I can
> deal with the cleanup at merge time.
PR 28663.
Andrew.