Revert patch that disabled exporting of global ranges.
authorAldy Hernandez <aldyh@redhat.com>
Tue, 1 Jun 2021 09:26:02 +0000 (05:26 -0400)
committerAldy Hernandez <aldyh@redhat.com>
Tue, 1 Jun 2021 14:59:30 +0000 (16:59 +0200)
commit18b88412069f51433e1b4f440d3c035bfc7b5cca
tree1d0578038ac910608d6f5154ff74c472be56c2f8
parentb195d84561a5c31108c7bbbd7c5b63fe3cebe35f
Revert patch that disabled exporting of global ranges.

Andrew's last set of changes fixes the bootstrap problem on i686 when
global ranges are exported from evrp.  The specific patch that fixes the
problem is 715914d3:

Author: Andrew MacLeod <amacleod@redhat.com>
Date:   Mon May 31 12:13:50 2021 -0400

    Do not calculate new values when evaluating a debug statement.

    Add a flag to enable/disable immediately improving poor values found during
    cache propagation. Then disable it when processing debug statements.

This patch reverts commit 2364b58 now that exporting of global ranges works.

Tested on x86-64 Linux with default flags, and on i686 with the flags in
the PR: --enable-clocale=gnu --with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-languages=c,c++ --enable-cet i686-linux --enable-bootstrap --with-fpmath=sse --disable-libcc1 --disable-libcilkrts --disable-libsanitizer

gcc/ChangeLog:

* gimple-ssa-evrp.c: Enable exporting of global ranges.

gcc/testsuite/ChangeLog:

* gcc.dg/Wstringop-overflow-55.c: Adjust for global ranges changes.
* gcc.dg/pr80776-1.c: Same.
gcc/gimple-ssa-evrp.c
gcc/testsuite/gcc.dg/Wstringop-overflow-55.c
gcc/testsuite/gcc.dg/pr80776-1.c