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: Mon, 01 May 2017 15:38:46 +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 #3 from uros at gcc dot gnu.org ---
Author: uros
Date: Mon May 1 15:38:14 2017
New Revision: 247439
URL: https://gcc.gnu.org/viewcvs?rev=247439&root=gcc&view=rev
Log:
PR target/68491
* config/i386/cpuid.h (__get_cpuid): Always return 0 when
__get_cpuid_max returns 0.
(__get_cpuid_count): Ditto.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/cpuid.h