This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]