aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-parser.c
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2021-06-24 13:35:21 -0400
committerAndrew MacLeod <amacleod@redhat.com>2021-06-24 16:01:55 -0400
commita0accaa99844b0c40661202635859f8c0be76cdd (patch)
treec6d9dade1c227a5ce29b876acea3ade86809d564 /gcc/c/c-parser.c
parentce0b409f562cd09c67cc2dce74143a0f0647cde5 (diff)
downloadgcc-a0accaa99844b0c40661202635859f8c0be76cdd.zip
gcc-a0accaa99844b0c40661202635859f8c0be76cdd.tar.gz
gcc-a0accaa99844b0c40661202635859f8c0be76cdd.tar.bz2
Only register relations on live edges
Register a relation on a conditional edge only if the LHS supports this edge being taken. gcc/ PR tree-optimization/101189 * gimple-range-fold.cc (fold_using_range::range_of_range_op): Pass LHS range of condition to postfold routine. (fold_using_range::postfold_gcond_edges): Only process the TRUE or FALSE edge if the LHS range supports it being taken. * gimple-range-fold.h (postfold_gcond_edges): Add range parameter. gcc/testsuite/ * gcc.dg/tree-ssa/pr101189.c: New.
Diffstat (limited to 'gcc/c/c-parser.c')
0 files changed, 0 insertions, 0 deletions