From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8892 invoked by alias); 10 Nov 2009 16:36:06 -0000 Received: (qmail 8709 invoked by uid 22791); 10 Nov 2009 16:35:28 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-yx0-f195.google.com (HELO mail-yx0-f195.google.com) (209.85.210.195) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 Nov 2009 16:35:24 +0000 Received: by yxe33 with SMTP id 33so308856yxe.0 for ; Tue, 10 Nov 2009 08:35:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.150.30.6 with SMTP id d6mr617605ybd.140.1257870922762; Tue, 10 Nov 2009 08:35:22 -0800 (PST) In-Reply-To: <26286452.post@talk.nabble.com> References: <26286452.post@talk.nabble.com> Date: Tue, 10 Nov 2009 16:36:00 -0000 Message-ID: Subject: Re: help on - adding a new pass to gcc From: Andrew Pinski To: ddmetro Cc: gcc@gcc.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-11/txt/msg00286.txt.bz2 On Tue, Nov 10, 2009 at 8:25 AM, ddmetro wrote: > > Hi All, > =C2=A0 =C2=A0 =C2=A0 =C2=A0 We are adding a new pass for - structural haz= ard optimization - in > gcc. > =C2=A0 =C2=A0 =C2=A0 =C2=A0 We have added a rtl_opt_pass variable(pass_sc= hed3) declaration in > tree-pass.h and defined the same in a new file - sched-by-category.c > =C2=A0 =C2=A0 =C2=A0 =C2=A0 We then added a target in gcc/Makefile.in, as= follows: > sched-by-category.o You forgot to add sched-by-category.o to the OBJS-common variable in Makefile.in. Thanks, Andrew Pinski