Commit a2cf7deb by Craig Burley Committed by Craig Burley

reduce spurious warnings using -fsyntax-only

From-SVN: r25366
parent 3c350eb3
Mon Feb 22 11:40:44 1999 Craig Burley <craig@jcb-sc.com>
Decrease spurious warnings from -fsyntax-only:
* stmt.c (expand_expr_stmt): Expand expr even when -fsyntax-only.
Mon Feb 22 10:55:00 1999 Gavin Romig-Koch <gavin@cygnus.com> Mon Feb 22 10:55:00 1999 Gavin Romig-Koch <gavin@cygnus.com>
* c-lex.c (yylex): Replace warning about integer constants being * c-lex.c (yylex): Replace warning about integer constants being
......
...@@ -1692,9 +1692,6 @@ expand_expr_stmt (exp) ...@@ -1692,9 +1692,6 @@ expand_expr_stmt (exp)
exp = build1 (ADDR_EXPR, build_pointer_type (TREE_TYPE (exp)), exp); exp = build1 (ADDR_EXPR, build_pointer_type (TREE_TYPE (exp)), exp);
last_expr_type = TREE_TYPE (exp); last_expr_type = TREE_TYPE (exp);
if (flag_syntax_only && ! expr_stmts_for_value)
last_expr_value = 0;
else
last_expr_value = expand_expr (exp, last_expr_value = expand_expr (exp,
(expr_stmts_for_value (expr_stmts_for_value
? NULL_RTX : const0_rtx), ? NULL_RTX : const0_rtx),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment