This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] PR71017 - libgcc/config/i386/cpuinfo.c:346:17: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
- From: Dominique d'Humières <dominiq at lps dot ens dot fr>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, kyukhin at gcc dot gnu dot org
- Date: Mon, 9 Jan 2017 23:05:02 +0100
- Subject: Re: [Patch] PR71017 - libgcc/config/i386/cpuinfo.c:346:17: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
- Authentication-results: sourceware.org; auth=none
- References: <CAFULd4Ynq0P9+jn_96Xx=w8LvNFJ0FF0z=Av5L9LrAS1c0-yRQ@mail.gmail.com>
> Le 9 janv. 2017 à 20:37, Uros Bizjak <ubizjak@gmail.com> a écrit :
>
> Hello!
>
>> The following patch fixes errors of the kind
>>
>> libgcc/config/i386/cpuinfo.c:260:17: runtime error: left shift of 1 by 31 places cannot be
>> represented in type ‘int'
>>
>> 2017-01-07 Dominique d'Humieres <dominiq@lps.ens.fr>
>>
>> PR target/71017
>> * config/i386/cpuid.h: Fix undefined behavior.
>
>> Is it OK for trunk/branches?
>
> OK.
>
> Thanks,
> Uros.
Thanks, committed on the trunk as revision r244248. Is it OK for the 5 and 6 branches?
Dominique