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]

[PATCH, i386]: Do not use casted vendor signature strings in driver-i386.c


Hello!

This patch substitutes casted vendor signature strings with equivalent
integernumbers in driver-i386.c.

2008-11-04  Uros Bizjak  <ubizjak@gmail.com>

	* config/i386/driver-i386.c (enum vendor_signatures): New enum.
	(host_detect_local_cpu): Use it instead of casted strings to
	compare vendor signatures.

Patch was bootstrapped and regression tested on i686-pc-linux-gnu.
Patch is committed to mainline.

Uros.

Attachment: p.diff.txt
Description: Text document


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