[Bug target/68491] libgcc calls __get_cpuid with 0 level breaks on early 486

uros at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 3 18:21:00 GMT 2017


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


More information about the Gcc-bugs mailing list