aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-03-31 08:05:47 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2017-03-31 08:05:47 +0200
commit005f12bf67e60ada0757470be80fe69799a83ebc (patch)
treefed7ca22248ee3191aed93f460ee299ae4d40758 /gcc/varasm.c
parent62a767024c694e9ab52b142689180979213e9684 (diff)
downloadgcc-005f12bf67e60ada0757470be80fe69799a83ebc.zip
gcc-005f12bf67e60ada0757470be80fe69799a83ebc.tar.gz
gcc-005f12bf67e60ada0757470be80fe69799a83ebc.tar.bz2
re PR debug/80025 (ICE w/ -O2 (-O3, -Ofast) -g -ftracer (infinite recursion in rtx_equal_for_cselib_1))
PR debug/80025 * cselib.h (rtx_equal_for_cselib_1): Add depth argument. (rtx_equal_for_cselib_p): Pass 0 to it. * cselib.c (cselib_hasher::equal): Likewise. (rtx_equal_for_cselib_1): Add depth argument. If depth is 128, don't look up VALUE locs and punt. Increment depth in recursive calls when walking VALUE locs. * gcc.dg/torture/pr80025.c: New test. From-SVN: r246606
Diffstat (limited to 'gcc/varasm.c')
0 files changed, 0 insertions, 0 deletions