diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2021-06-13 16:20:33 +0200 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2021-06-14 08:19:21 +0200 |
commit | 5a897a6b1b3e11677fcac3212d14e61d65e893ea (patch) | |
tree | 7d474e2047b1fa5cc2b64557971a2cfe27b4d7b0 /gcc/fortran/resolve.c | |
parent | ed14a956aef878150e40130c99f9c1fbf2b548b1 (diff) | |
download | gcc-5a897a6b1b3e11677fcac3212d14e61d65e893ea.zip gcc-5a897a6b1b3e11677fcac3212d14e61d65e893ea.tar.gz gcc-5a897a6b1b3e11677fcac3212d14e61d65e893ea.tar.bz2 |
Pick up global ranges in ranger after inlining.
Ranger was not picking up global ranges because doing so could remove
__builtin_unreachable calls too early to the detriment of LTO. However,
we can safely remove these calls after inlining. This patch removes the
restriction and allows ranger to pick up global ranges under these
circumstances.
Tested on x86-64 Linux.
gcc/ChangeLog:
* value-query.cc (gimple_range_global): Call get_range_global
if called after inlining.
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions