This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: genrecog problem
- To: law at cygnus dot com
- Subject: Re: genrecog problem
- From: Dan Nicolaescu <dann at ics dot uci dot edu>
- Date: Thu, 04 Nov 1999 11:44:23 -0800
- Cc: gcc at gcc dot gnu dot org
- References: <21877.941744106@upchuck>
Jeffrey A Law <law@cygnus.com> writes:
> In message <199911041112.aa16843@gremlin-relay.ics.uci.edu>you write:
> > I run into problems with genrecog, the file it generates: insn-recog.c
> > contains a bad value for a case label in recog_2
> >
> > switch (GET_MODE (x1))
> > {
> > case DFmode:
> > goto L1208;
> > case SFmode:
> > goto L1209;
> > case SImode:
> > goto L1210;
> > case DImode:
> > goto L1212;
> > case HImode:
> > goto L1213;
> > case QImode:
> > goto L1218;
> > case mode:
> > ^^^^^^^
> > this is not defined anywhere, and I have no idea how it is
> > produced...
> Probably means the mode on one of your define_insns is wrong or
> missing.
How do I go about finding which one is the problem? I have tried to
remove all the define_insns that produced a warning when running
genrecog, but it still does not work.