This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch to rs6000 backend.
- To: gcc-patches at gcc dot gnu dot org
- Subject: Patch to rs6000 backend.
- From: Nick Clifton <nickc at cygnus dot com>
- Date: Fri, 20 Aug 1999 09:46:09 +0100
Hi Guys,
I have applied the following patch to the rs6000 backend under the
obviously correct rule, and with the approval of the maintainers.
Cheers
Nick
Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
* config/rs6000/rs6000.c (rs6000_override_options): Fix test for
unrecognisable switches.
Index: rs6000.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/config/rs6000/rs6000.c,v
retrieving revision 1.219
diff -p -r1.219 rs6000.c
*** rs6000.c 1999/07/30 22:21:21 1.219
--- rs6000.c 1999/08/19 13:53:38
*************** rs6000_override_options (default_cpu)
*** 289,295 ****
break;
}
! if (i == ptt_size)
error ("bad value (%s) for %s switch", ptr->string, ptr->name);
}
}
--- 289,295 ----
break;
}
! if (j == ptt_size)
error ("bad value (%s) for %s switch", ptr->string, ptr->name);
}
}