This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/68491] libgcc calls __get_cpuid with 0 level breaks on early 486
- From: "uros at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 03 May 2017 18:19:59 +0000
- Subject: [Bug target/68491] libgcc calls __get_cpuid with 0 level breaks on early 486
- Auto-submitted: auto-generated
- References: <bug-68491-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68491
--- Comment #5 from uros at gcc dot gnu.org ---
Author: uros
Date: Wed May 3 18:19:28 2017
New Revision: 247561
URL: https://gcc.gnu.org/viewcvs?rev=247561&root=gcc&view=rev
Log:
Backport from mainline
2017-05-01 Uros Bizjak <ubizjak@gmail.com>
PR target/68491
* config/i386/cpuid.h (__get_cpuid): Always return 0 when
__get_cpuid_max returns 0.
(__get_cpuid_count): Ditto.
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/config/i386/cpuid.h