[Bug tree-optimization/59358] [4.8/4.9 Regression] Infinite loop generated with >=O2

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 3 07:30:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59358

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Dec  3 07:30:48 2013
New Revision: 205619

URL: http://gcc.gnu.org/viewcvs?rev=205619&root=gcc&view=rev
Log:
    PR tree-optimization/59358
    * tree-vrp.c (union_ranges): To check for the partially
    overlapping ranges or adjacent ranges, also compare *vr0max
    with vr1max.

    * gcc.c-torture/execute/pr59358.c: New test.

Added:
    branches/gcc-4_8-branch/gcc/testsuite/gcc.c-torture/execute/pr59358.c



More information about the Gcc-bugs mailing list