diff options
Diffstat (limited to 'gcc/cp/tree.c')
-rw-r--r-- | gcc/cp/tree.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index 792f1fd0909..1d16f2c860a 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -92,11 +92,12 @@ lvalue_p_1 (tree ref, switch (TREE_CODE (ref)) { + case SAVE_EXPR: + return clk_none; /* preincrements and predecrements are valid lvals, provided what they refer to are valid lvals. */ case PREINCREMENT_EXPR: case PREDECREMENT_EXPR: - case SAVE_EXPR: case TRY_CATCH_EXPR: case WITH_CLEANUP_EXPR: case REALPART_EXPR: |