This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/71017] libgcc/config/i386/cpuinfo.c:346:17: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
- From: "dominiq at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 19 Feb 2017 16:13:05 +0000
- Subject: [Bug target/71017] libgcc/config/i386/cpuinfo.c:346:17: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
- Auto-submitted: auto-generated
- References: <bug-71017-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71017
--- Comment #5 from dominiq at gcc dot gnu.org ---
Author: dominiq
Date: Sun Feb 19 16:12:34 2017
New Revision: 245576
URL: https://gcc.gnu.org/viewcvs?rev=245576&root=gcc&view=rev
Log:
2017-02-19 Dominique d'Humieres <dominiq@lps.ens.fr>
PR target/71017
* config/i386/cpuid.h: Fix undefined behavior.
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/config/i386/cpuid.h