This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch to rs6000 backend.


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);
  	}
      }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]