diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-05-20 13:58:49 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-05-20 13:58:49 +0200 |
commit | 1895484016aa288d135e1e475eb3afaa04a4e7b6 (patch) | |
tree | f40d460b0d22bea9c8d8b3aaed1d75663960dafa /gcc/tree-ssa-loop-niter.c | |
parent | 6804797178f4c4c831fa43e94f51fdaaad4641f3 (diff) | |
download | gcc-1895484016aa288d135e1e475eb3afaa04a4e7b6.zip gcc-1895484016aa288d135e1e475eb3afaa04a4e7b6.tar.gz gcc-1895484016aa288d135e1e475eb3afaa04a4e7b6.tar.bz2 |
re PR c++/71210 (internal compiler error: in assign_temp, at function.c:961)
PR c++/71210
* gimple-fold.c (gimple_fold_call): Do not remove lhs of noreturn
calls if the LHS is variable length or has addressable type.
If targets[0]->decl is a noreturn call with void return type and
zero arguments, adjust fntype and remove lhs in that case.
* g++.dg/opt/pr71210-1.C: New test.
* g++.dg/opt/pr71210-2.C: New test.
From-SVN: r236506
Diffstat (limited to 'gcc/tree-ssa-loop-niter.c')
0 files changed, 0 insertions, 0 deletions