aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-niter.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2020-01-15 09:31:11 -0500
committerJason Merrill <jason@redhat.com>2020-01-15 15:02:28 -0500
commit7192b1ec12484f5ca8b20930d8dc4d28ab4a533a (patch)
tree5e48e9dc719ed39cfc30318de6ce5c84ecb9e716 /gcc/tree-ssa-loop-niter.c
parentbc071d3a951a98284a3f46043afd44c03c123376 (diff)
downloadgcc-7192b1ec12484f5ca8b20930d8dc4d28ab4a533a.zip
gcc-7192b1ec12484f5ca8b20930d8dc4d28ab4a533a.tar.gz
gcc-7192b1ec12484f5ca8b20930d8dc4d28ab4a533a.tar.bz2
PR c++/92871 - bad code with xvalue and GNU ?: extension.
I steered Jakub wrong on the desired behavior for temp-extend1.C in the context of bug 92831; it doesn't make sense to try to extend the lifetime of a temporary that we've already materialized to evaluate the test. So this patch munges the stabilized expression so that it won't be subject to lifetime extension. * call.c (prevent_lifetime_extension): New. (build_conditional_expr_1): Use it.
Diffstat (limited to 'gcc/tree-ssa-loop-niter.c')
0 files changed, 0 insertions, 0 deletions