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]
Other format: [Raw text]

Re: Complain about wrong -mcpu settings for x86-64


> On Tue, 26 Nov 2002, 16:04:04 +0100, Jan Hubicka wrote:
> > Hi,
> > installed as obvious
> > 
> > Tue Nov 26 15:55:27 CET 2002  Jan Hubicka  <jh@suse.cz>
> > 	* i386.c (override_options): Error about wrong -mcpu
> > 	on x86-64 compilation.
> > Index: i386.c
> > ===================================================================
> > RCS file: /cvs/gcc/gcc/gcc/config/i386/i386.c,v
> > retrieving revision 1.447.2.28
> > diff -c -3 -p -r1.447.2.28 i386.c
> > *** i386.c	25 Nov 2002 23:16:23 -0000	1.447.2.28
> > --- i386.c	26 Nov 2002 14:53:48 -0000
> > *************** override_options ()
> > *** 1182,1187 ****
> > --- 1182,1189 ----
> >       if (! strcmp (ix86_cpu_string, processor_alias_table[i].name))
> >         {
> >   	ix86_cpu = processor_alias_table[i].processor;
> > + 	if (TARGET_64BIT && !(processor_alias_table[i].flags & PTA_64BIT))
> > + 	  error ("CPU you sellected does not support x86-64 instruction set");
> 			  ^^^^^^^^^ This should read selected
Oops.  My favorite typo.
Thanks!  I will fix the other occurence of same error too.

Honza
> 
> >   	break;
> >         }
> >     if (processor_alias_table[i].flags & PTA_PREFETCH_SSE)
> 
> Cheers.
> 
> l8er
> manfred


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