This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fwd: [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: Uros Bizjak <ubizjak at gmail dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: Dominique Dhumieres <dominiq at lps dot ens dot fr>, Kirill Yukhin <kirill dot yukhin at gmail dot com>
- Date: Tue, 10 Jan 2017 09:13:31 +0100
- Subject: Fwd: [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> <E0F3A669-E0B0-4DFF-BAD6-5FA90AC6C33D@lps.ens.fr> <CAFULd4Ze4+MTHWPEGq+cKMFmdmVAXy_xzCkAvcpg9XEwTxPHOQ@mail.gmail.com>
On Mon, Jan 9, 2017 at 11:05 PM, Dominique d'Humières
<dominiq@lps.ens.fr> wrote:
>
> > 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?
>
>
> Thanks, committed on the trunk as revision r244248. Is it OK for the 5 and 6 branches?
Yes, but please wait a couple of days if any problem arises with patch
in mainline.
Uros.