diff options
author | Jakub Jelinek <jakub@redhat.com> | 2018-03-21 21:19:33 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2018-03-21 21:19:33 +0100 |
commit | 57e20f74e011f190a29ec0b414c0ee74e62ebdc9 (patch) | |
tree | f41cf51616f80f3c15202210cfdc0de3ca0b3ac7 /gcc/tree-cfg.c | |
parent | b2595987bd320849de932cd2bcf83d2faf5f3ee8 (diff) | |
download | gcc-57e20f74e011f190a29ec0b414c0ee74e62ebdc9.zip gcc-57e20f74e011f190a29ec0b414c0ee74e62ebdc9.tar.gz gcc-57e20f74e011f190a29ec0b414c0ee74e62ebdc9.tar.bz2 |
re PR c++/84961 (ICE error: SSA_NAME_DEF_STMT is wrong)
PR c++/84961
* cp-tree.h (genericize_compound_lvalue): Declare.
* typeck.c (genericize_compound_lvalue): New function.
(unary_complex_lvalue, cp_build_modify_expr): Use it.
* semantics.c (finish_asm_stmt): Replace MODIFY_EXPR, PREINCREMENT_EXPR
and PREDECREMENT_EXPR in output and "m" constrained input operands with
COMPOUND_EXPR. Call cxx_mark_addressable on the rightmost
COMPOUND_EXPR operand.
* c-c++-common/pr43690.c: Don't expect errors on "m" (--x) and
"m" (++x) in C++.
* g++.dg/torture/pr84961-1.C: New test.
* g++.dg/torture/pr84961-2.C: New test.
From-SVN: r258741
Diffstat (limited to 'gcc/tree-cfg.c')
0 files changed, 0 insertions, 0 deletions