[Bug tree-optimization/69399] [5 Regression] wrong code with -O and int128

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 10 18:43:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69399

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 10 18:42:34 2016
New Revision: 233298

URL: https://gcc.gnu.org/viewcvs?rev=233298&root=gcc&view=rev
Log:
        Backported from mainline
        2016-01-27  Jakub Jelinek  <jakub@redhat.com>

        PR tree-optimization/69399
        * wide-int.h (wi::lrshift): For larger precisions, only
        use fast path if shift is known to be < HOST_BITS_PER_WIDE_INT.

        * gcc.dg/torture/pr69399.c: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr69399.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/testsuite/ChangeLog
    branches/gcc-5-branch/gcc/wide-int.h


More information about the Gcc-bugs mailing list