diff options
author | Andreas Schwab <schwab@issan.cs.uni-dortmund.de> | 1999-05-08 01:25:41 +0000 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-05-07 18:25:41 -0700 |
commit | e9996db7413238dcd6a71b110d0e7ed30d6d4207 (patch) | |
tree | c926f2b38142a2ac4f9add54a9dc29d3b561f10a /gcc/varasm.c | |
parent | 2d9e0ce793d00a43ffbeef0e0231364a7345d9cd (diff) | |
download | gcc-e9996db7413238dcd6a71b110d0e7ed30d6d4207.zip gcc-e9996db7413238dcd6a71b110d0e7ed30d6d4207.tar.gz gcc-e9996db7413238dcd6a71b110d0e7ed30d6d4207.tar.bz2 |
* varasm.c (output_constant): Do nothing if -fsyntax-only.
From-SVN: r26833
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r-- | gcc/varasm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index 3f70814..84746f6 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -3870,7 +3870,7 @@ output_constant (exp, size) { register enum tree_code code = TREE_CODE (TREE_TYPE (exp)); - if (size == 0) + if (size == 0 || flag_syntax_only) return; /* Eliminate the NON_LVALUE_EXPR_EXPR that makes a cast not be an lvalue. |