Address bug 1469393.
authorkvigor <kvigor@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 6 Feb 2007 06:53:52 +0000 (06:53 +0000)
committerkvigor <kvigor@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 6 Feb 2007 06:53:52 +0000 (06:53 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4619 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/ds390/gen.c
src/ds390/main.c

index d32a3894a78fac776aeecab4cc8dd74280fe309f..8185d65e206e3abcb43ef70e4b592466438ea1e0 100644 (file)
@@ -14453,8 +14453,11 @@ gen390Code (iCode * lic)
 #endif
 
         default:
-          ic = ic;
-        }
+           /* This should never happen, right? */
+           fprintf(stderr, "*** Probable error: unsupported op 0x%x (%c) in %s @ %d\n", 
+                   ic->op, ic->op, __FILE__, __LINE__);
+           ic = ic;
+       }
     }
 
 
index e489132783a79bb341643a822a9d0bcc661ae841..7ed6889e9d2bdd70ae9be38758b188a5b8261d8e 100644 (file)
@@ -939,11 +939,7 @@ PORT ds390_port =
   1,                           /* transform >= to ! < */
   1,                           /* transform != to !(a == b) */
   0,                           /* leave == */
-#if 0 // obsolete, and buggy for != xdata
-  TRUE,                         /* we support array initializers. */
-#else
   FALSE,                        /* No array initializer support. */
-#endif
   cseCostEstimation,
   __ds390_builtins,             /* table of builtin functions */
   GPOINTER,                    /* treat unqualified pointers as "generic" pointers */
@@ -1258,7 +1254,7 @@ PORT tininative_port =
   1,                           /* transform >= to ! < */
   1,                           /* transform != to !(a == b) */
   0,                           /* leave == */
-  TRUE,                         /* we support array initializers. */
+  FALSE,                        /* No array initializer support. */
   cseCostEstimation,
   __tininative_builtins,        /* table of builtin functions */
   FPOINTER,                    /* treat unqualified pointers as far pointers */
@@ -1494,7 +1490,7 @@ PORT ds400_port =
   1,                           /* transform >= to ! < */
   1,                           /* transform != to !(a == b) */
   0,                           /* leave == */
-  TRUE,                         /* we support array initializers. */
+  FALSE,                        /* No array initializer support. */
   cseCostEstimation,
   __ds390_builtins,             /* table of builtin functions */
   GPOINTER,                    /* treat unqualified pointers as "generic" pointers */