* src/z80/ralloc.c (packRegsForHLUse3): Created and optimised.
[fw/sdcc] / support / regression / tests / logic.c
index 085cd7464bf327d8382a48c2b35eedfb97d7ee15..1636d334c32cca3e41e76f2cc15035d55b7cf0b2 100644 (file)
@@ -51,19 +51,17 @@ testLogicalAnd(void)
     ASSERT(true && !false);
     ASSERT(!false && true);
 
-#if 1
     /* PENDING: Doesn't work. */
     /* Test that the evaluation is aborted on the first false. */
     if (true && false && neverGetHere()) {
         /* Tested using neverGetHere() */
     }
-#else
+
     /* Alternate that is similar. */
     if (true && false) {
         neverGetHere();
         /* Tested using neverGetHere() */
     }
-#endif
 
     resetGetHere();
     /* Test that the evaluation is done left to right. */
@@ -82,15 +80,11 @@ testLogicalOr(void)
     ASSERT(!true || !false);
     ASSERT(false || true);
 
-#if 0
     /* PENDING: Doesn't work in sdcc. */
     /* Test that the evaluation is aborted on the first hit. */
     if (false || true || neverGetHere()) {
         /* Tested using neverGetHere() */
     }
-#else
-    /* No equivalent. */
-#endif
 
     resetGetHere();
     /* Test that the evaluation is done left to right. */