]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* genconfig.c (main): Have CC0_P check its operand even on a
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Jan 2004 23:39:01 +0000 (23:39 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Jan 2004 23:39:01 +0000 (23:39 +0000)
target without cc0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77009 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/genconfig.c

index 96c6efea1cc6f9e8f83c12213b13b2921e59e9b9..d1d0b019d77cfd97a383b12548522423725e5aa2 100644 (file)
@@ -1,3 +1,8 @@
+2004-01-30  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * genconfig.c (main): Have CC0_P check its operand even on a
+       target without cc0.
+
 2004-01-30  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/alpha/alpha.c: Remove mentions of deprecates macros
index c76bdb9d64594891aadd7822478b067c08c29d74..6a356746754335bf1afcd1869265162dab53813c 100644 (file)
@@ -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)