From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28618 invoked by alias); 14 Dec 2009 06:28:21 -0000 Received: (qmail 28595 invoked by uid 22791); 14 Dec 2009 06:28:19 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_50,SPF_HELO_PASS,SPF_PASS,WEIRD_PORT X-Spam-Check-By: sourceware.org Received: from kuber.nabble.com (HELO kuber.nabble.com) (216.139.236.158) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 Dec 2009 06:28:14 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NK4Pk-000337-5T for gcc-help@gcc.gnu.org; Sun, 13 Dec 2009 22:28:12 -0800 Message-ID: <26773518.post@talk.nabble.com> Date: Mon, 14 Dec 2009 06:37:00 -0000 From: DSS To: gcc-help@gcc.gnu.org Subject: Re: gcc-4.3.0 build problem In-Reply-To: <26773228.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <26773228.post@talk.nabble.com> X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2009-12/txt/msg00197.txt.bz2 sorry gcc-help, I made a very silly mistake in my md due which that error is coming. At one time i am uses cases in preparation statements and i had written 'if' instead of switch to switch between the cases. Sorry for wasting anyone's value able time. DSS wrote: >=20 > Hi, >=20 > I got a problem while building gcc-4.3.0 after putting "movdi" pattern in > my md file. Error is like this >=20 > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2045: error: extra > brace group at end of initializer > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2045: error: (near > initialization for =E2=80=98insn_data[14]=E2=80=99) > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2048: error: extra > brace group at end of initializer > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2048: error: (near > initialization for =E2=80=98insn_data[14]=E2=80=99) > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2058: warning: > excess elements in struct initializer > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2058: warning: > (near initialization for =E2=80=98insn_data[14]=E2=80=99) > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2060: error: extra > brace group at end of initializer > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2060: error: (near > initialization for =E2=80=98insn_data[14]=E2=80=99) > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2063: error: extra > brace group at end of initializer > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2063: error: (near > initialization for =E2=80=98insn_data[14]=E2=80=99) > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2073: warning: > excess elements in struct initializer > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2073: warning: > (near initialization for =E2=80=98insn_data[14]=E2=80=99) > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2075: error: extra > brace group at end of initializer > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2075: error: (near > initialization for =E2=80=98insn_data[14]=E2=80=99) > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2078: error: extra > brace group at end of initializer > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2078: error: (near > initialization for =E2=80=98insn_data[14]=E2=80=99) > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2088: warning: > excess elements in struct initializer > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2088: warning: > (near initialization for =E2=80=98insn_data[14]=E2=80=99) > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2090: error: extra > brace group at end of initializer > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2090: error: (near > initialization for =E2=80=98insn_data[14]=E2=80=99) > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2093: error: extra > brace group at end of initializer > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2093: error: (near > initialization for =E2=80=98insn_data[14]=E2=80=99) > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2103: warning: > excess elements in struct initializer > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2103: warning: > (near initialization for =E2=80=98insn_data[14]=E2=80=99) > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2105: error: extra > brace group at end of initializer > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2105: error: (near > initialization for =E2=80=98insn_data[14]=E2=80=99) > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2108: error: extra > brace group at end of initializer > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2108: error: (near > initialization for =E2=80=98insn_data[14]=E2=80=99) > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2124: warning: > excess elements in struct initializer > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:2124: warning: > (near initialization for =E2=80=98insn_data[14]=E2=80=99) > . > . > . > . > . > . > . > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:3284: error: extra > brace group at end of initializer > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:3284: error: (near > initialization for =E2=80=98insn_data[14]=E2=80=99) > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:3294: warning: > excess elements in struct initializer > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:3294: warning: > (near initialization for =E2=80=98insn_data[14]=E2=80=99) > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:3296: error: extra > brace group at end of initializer > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:3296: error: (near > initialization for =E2=80=98insn_data[14]=E2=80=99) > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:3299: error: extra > brace group at end of initializer > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:3299: error: (near > initialization for =E2=80=98insn_data[14]=E2=80=99) > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:3309: warning: > excess elements in struct initializer > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:3309: warning: > (near initialization for =E2=80=98insn_data[14]=E2=80=99) > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:3310: warning: > missing initializer > /root/prerequisties/gcc-4.3.0/gcc/config/trial/trial.md:3310: warning: > (near initialization for =E2=80=98insn_data[14].n_operands=E2=80=99) > make[2]: *** [insn-output.o] Error 1 > make[2]: Leaving directory `/root/build/gcc' > make[1]: *** [all-gcc] Error 2 > make[1]: Leaving directory `/root/build' > make: *** [all] Error 2 >=20 >=20 > Please help me in this. >=20 > My movdi pattern is like this. > (define_expand "movdi" > [(set (match_operand:DI 0 "general_operand" "") > (match_operand:DI 1 "general_operand" ""))] > "" > " > if(GET_CODE(operands[0])=3D=3DMEM && GET_CODE(operands[1])!=3DREG) > {=20=20=20 > if(can_create_pseudo_p()) > { > operands[1]=3Dforce_reg(DImode,operands[1]); > } > } > " > ) > (define_insn_and_split "*movdi" > [(set(match_operand: DI 0 "nonimmediate_operand" "=3Dr,r") > (match_operand: DI 1 "general_operand" "r,i"))] >=20 > "(register_operand (operands[0], DImode) > || register_operand (operands[1], DImode))" >=20 > "if(which_alternative) > { > case 0: > case 1: return \"#\";=09=20 > }" > "" > [(set (match_dup 0)(match_dup 1)) > (set (match_dup 2)(match_dup 3))] > "{ > operands[2] =3D gen_highpart (SImode, operands[0]); > operands[0] =3D gen_lowpart (SImode, operands[0]); > operands[3] =3D gen_highpart (SImode, operands[1]); > operands[1] =3D gen_lowpart (SImode, operands[1]); > }" > ) >=20 >=20 --=20 View this message in context: http://old.nabble.com/gcc-4.3.0-build-problem= -tp26773228p26773518.html Sent from the gcc - Help mailing list archive at Nabble.com.