From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28091 invoked by alias); 4 May 2011 13:26:38 -0000 Received: (qmail 28079 invoked by uid 22791); 4 May 2011 13:26:37 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from VLSI1.ULTRA.NYU.EDU (HELO vlsi1.ultra.nyu.edu) (128.122.140.213) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Wed, 04 May 2011 13:26:18 +0000 Received: by vlsi1.ultra.nyu.edu (4.1/1.34) id AA03290; Wed, 4 May 11 09:33:26 EDT From: kenner@vlsi1.ultra.nyu.edu (Richard Kenner) Message-Id: <11105041333.AA03290@vlsi1.ultra.nyu.edu> Date: Wed, 04 May 2011 13:39:00 -0000 To: dnovillo@google.com Subject: Re: [google]: initialize language field for clone function struct Cc: davidxl@google.com, ebotcazou@gnat.com, froydnj@codesourcery.com, gcc-patches@gcc.gnu.org, hubicka@ucw.cz, joseph@codesourcery.com, richard.guenther@gmail.com In-Reply-To: References: <201105041200.29307.ebotcazou@adacore.com> <20110504114442.1E15033C67@vlsi1.gnat.com> <11105041230.AA02337@vlsi1.ultra.nyu.edu> <20110504131934.GF23480@codesourcery.com> Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-05/txt/msg00300.txt.bz2 > I think we may be talking at different levels. It's my impression > that Richard K. was referring to local transformations like "a - a" -> > "0" once we are in the middle end. I agree that doing that > transformation close to the FE is undesirable, but once we are in the > middle end that should be fine. That's exactly what I mean. If the FE cares about no folding taking place, it shouldn't fold. But once we're past the point that it's doing syntax and semantic checking, there's no optimization benefit in deferring the folding until we get to SSA, for example.