From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21893 invoked by alias); 10 May 2011 14:16:40 -0000 Received: (qmail 21885 invoked by uid 22791); 10 May 2011 14:16:40 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (74.125.121.67) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 May 2011 14:16:23 +0000 Received: from hpaq11.eem.corp.google.com (hpaq11.eem.corp.google.com [172.25.149.11]) by smtp-out.google.com with ESMTP id p4AEGL9j020039 for ; Tue, 10 May 2011 07:16:21 -0700 Received: from gxk8 (gxk8.prod.google.com [10.202.11.8]) by hpaq11.eem.corp.google.com with ESMTP id p4AEGJjX005268 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 10 May 2011 07:16:20 -0700 Received: by gxk8 with SMTP id 8so2837599gxk.23 for ; Tue, 10 May 2011 07:16:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.114.10 with SMTP id m10mr6410318ybc.412.1305036979315; Tue, 10 May 2011 07:16:19 -0700 (PDT) Received: by 10.151.41.13 with HTTP; Tue, 10 May 2011 07:16:19 -0700 (PDT) In-Reply-To: <20110510131438.GT23480@codesourcery.com> References: <20110510131438.GT23480@codesourcery.com> Date: Tue, 10 May 2011 15:17:00 -0000 Message-ID: Subject: Re: [PATCH] use build_function_type less in c-family and LTO From: Diego Novillo To: Nathan Froyd Cc: gcc-patches@gcc.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-IsSubscribed: yes 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/msg00746.txt.bz2 On Tue, May 10, 2011 at 10:14, Nathan Froyd wrot= e: > gcc/c-family/ > =C2=A0 =C2=A0 =C2=A0 =C2=A0* c-common.c (def_fn_type): Don't call build_f= unction_type, call > =C2=A0 =C2=A0 =C2=A0 =C2=A0build_function_type_vec or build_varargs_funct= ion_type_vec instead. > =C2=A0 =C2=A0 =C2=A0 =C2=A0(c_common_nodes_and_builtins): Likewise. > > gcc/lto/ > =C2=A0 =C2=A0 =C2=A0 =C2=A0* lto-lang.c (def_fn_type): Don't call build_f= unction_type, call > =C2=A0 =C2=A0 =C2=A0 =C2=A0build_function_type_vec or build_varargs_funct= ion_type_vec instead. OK for LTO. Diego.