summaryrefslogtreecommitdiff
path: root/gcc/genconfig.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-01-30 23:39:01 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-01-30 23:39:01 +0000
commitbfb2d6613c0701b619f949e10066fe2a8c92d154 (patch)
tree7c2808d34ae59e80af4281f11d1b9842adc6d841 /gcc/genconfig.c
parent59445d742771835d8a0a8f59e10ae1b19f79fff8 (diff)
downloadgcc-bfb2d6613c0701b619f949e10066fe2a8c92d154.tar.gz
genconfig.c (main): Have CC0_P check its operand even on a target without cc0.
* genconfig.c (main): Have CC0_P check its operand even on a target without cc0. From-SVN: r77009
Diffstat (limited to 'gcc/genconfig.c')
-rw-r--r--gcc/genconfig.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/genconfig.c b/gcc/genconfig.c
index c76bdb9d645..6a356746754 100644
--- a/gcc/genconfig.c
+++ b/gcc/genconfig.c
@@ -336,7 +336,9 @@ main (int argc, char **argv)
}
else
{
- printf ("#define CC0_P(X) 0\n");
+ /* We output CC0_P this way to make sure that X is declared
+ somewhere. */
+ printf ("#define CC0_P(X) ((X) ? 0 : 0)\n");
}
if (have_cmove_flag)