This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: C++ delayed folding merge
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Richard Biener <rguenther at suse dot de>, Marek Polacek <polacek at redhat dot com>
- Date: Mon, 09 Nov 2015 10:24:13 +0100
- Subject: Re: RFC: C++ delayed folding merge
- Authentication-results: sourceware.org; auth=none
- References: <56403D8A dot 8010601 at redhat dot com>
> One question: The branch changes 'convert' to not fold its result, and
> it's not clear to me whether that's part of the expected behavior of a
> front end 'convert' function or not.
I don't think that you should change the behavior for front-ends that have an
internal representation distinct from the GENERIC trees and thus do a global
translation to GENERIC at the end; e.g. in the Ada compiler we'd rather have
*more* folding than less during this translation.
--
Eric Botcazou