diff options
author | Jakub Jelinek <jakub@redhat.com> | 2019-10-04 08:54:05 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2019-10-04 08:54:05 +0200 |
commit | 708935b2b44663505a1cccf1a4aec80b310d0052 (patch) | |
tree | 76c2aaee541f5a226be94bd8a91efde5aa4e5acb /gcc/tree-vect-loop.c | |
parent | cf09ecdb94d617f740e938c476252e61dffacc29 (diff) | |
download | gcc-708935b2b44663505a1cccf1a4aec80b310d0052.zip gcc-708935b2b44663505a1cccf1a4aec80b310d0052.tar.gz gcc-708935b2b44663505a1cccf1a4aec80b310d0052.tar.bz2 |
re PR c++/91974 (function not sequenced before function argument)
PR c++/91974
* cp-gimplify.c (cp_gimplify_expr) <case CALL_EXPR>: For
-fstrong-eval-order ensure CALL_EXPR_FN side-effects are evaluated
before any arguments. Additionally, ensure CALL_EXPR_FN that isn't
invariant nor OBJ_TYPE_REF nor SSA_NAME is forced into a temporary.
* g++.dg/cpp1z/eval-order5.C: New test.
From-SVN: r276562
Diffstat (limited to 'gcc/tree-vect-loop.c')
0 files changed, 0 insertions, 0 deletions