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

--- Comment #12 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
Author: aoliva
Date: Tue Apr 16 12:44:46 2019
New Revision: 270388

URL: https://gcc.gnu.org/viewcvs?rev=270388&root=gcc&view=rev
Log:
[PR86438] avoid too-long shift in test

The test fell back to long long and long when __int128 is not
available, but it assumed sizeof(long) < sizeof(long long) because of
a shift count that would be out of range for a long long if their
widths are the same.  Fixed by splitting it up into two shifts.


for  gcc/testsuite/ChangeLog

        PR rtl-optimization/86438
        * gcc.dg/torture/pr86438.c: Split up too-wide shift.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/torture/pr86438.c

Reply via email to