re PR target/71017 (libgcc/config/i386/cpuinfo.c:346:17: runtime error: left shift of 1 by 31 places cannot be represented in type 'int')

2017-01-23  Dominique d'Humieres  <dominiq@lps.ens.fr>

	PR target/71017
	* config/i386/cpuid.h: Fix another undefined behavior.

From-SVN: r245680
This commit is contained in:
Dominique d'Humieres 2017-02-23 13:19:05 +01:00 committed by Dominique d'Humieres
parent 45f7faf0b5
commit f3ffa342ea
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2017-01-23 Dominique d'Humieres <dominiq@lps.ens.fr>
PR target/71017
* config/i386/cpuid.h: Fix another undefined behavior.
2017-02-23 Richard Biener <rguenther@suse.de>
PR tree-optimization/79683

View File

@ -63,7 +63,7 @@
#define bit_MMXEXT (1 << 22)
#define bit_LM (1 << 29)
#define bit_3DNOWP (1 << 30)
#define bit_3DNOW (1 << 31)
#define bit_3DNOW (1u << 31)
/* %ebx */
#define bit_CLZERO (1 << 0)