diff options
author | Marek Polacek <polacek@redhat.com> | 2017-05-17 08:11:15 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2017-05-17 08:11:15 +0000 |
commit | b2fa0a8bdfe15c427f5750f008509ed518683e2b (patch) | |
tree | dfc3305649a9ef1e3056be43490be2749e68b03f /gcc/c/c-parser.c | |
parent | 8508a5b58ff4eefe161489d10623a9a24899c0b2 (diff) | |
download | gcc-b2fa0a8bdfe15c427f5750f008509ed518683e2b.zip gcc-b2fa0a8bdfe15c427f5750f008509ed518683e2b.tar.gz gcc-b2fa0a8bdfe15c427f5750f008509ed518683e2b.tar.bz2 |
Bye bye, c_save_expr.
From-SVN: r248139
Diffstat (limited to 'gcc/c/c-parser.c')
-rw-r--r-- | gcc/c/c-parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c/c-parser.c b/gcc/c/c-parser.c index 90d2d17..96c0749 100644 --- a/gcc/c/c-parser.c +++ b/gcc/c/c-parser.c @@ -1880,7 +1880,7 @@ c_parser_declaration_or_fndef (c_parser *parser, bool fndef_ok, bool vm_type = variably_modified_type_p (init_type, NULL_TREE); if (vm_type) - init.value = c_save_expr (init.value); + init.value = save_expr (init.value); finish_init (); specs->typespec_kind = ctsk_typeof; specs->locations[cdw_typedef] = init_loc; @@ -6500,7 +6500,7 @@ c_parser_conditional_expression (c_parser *parser, struct c_expr *after, e = TREE_OPERAND (e, 1); warn_for_omitted_condop (middle_loc, e); /* Make sure first operand is calculated only once. */ - exp1.value = c_save_expr (default_conversion (cond.value)); + exp1.value = save_expr (default_conversion (cond.value)); if (eptype) exp1.value = build1 (EXCESS_PRECISION_EXPR, eptype, exp1.value); exp1.original_type = NULL; |