On Sun, 17 May 2009, Petr Chornyj wrote:

Hi,

> Harbour Regression Test Suite
> Copyright (c) 1999-2009, http://www.harbour-project.org/
> ---------------------------------------------------------------------------
>       Version: Harbour 1.1.0dev (Rev. 11064)
>      Compiler: Pelles ISO C Compiler 6.0 (32-bit)
>            OS: Windows XP 5.1.2600 Service Pack 3
> !  719 MAIN_HVMA(0)    Empty( {|x|x+x}               )         
>        Result: .T.
>      Expected: .F.
> ..
> Test calls passed:       4736 ( 99.49 % )
> Test calls failed:         24 ( 0.51 % )
>                    ----------
>             Total:       4760 ( Time elapsed: 0.11 seconds )
> WARNING ! Failures detected

10 against 1 that it's the problem with SWITCH() statment optimization
in new POCC.
Probably as workarond you can change in expropt2.c in function
   BOOL hb_compExprReduceEMPTY( HB_EXPR_PTR pSelf, HB_COMP_DECL )
the code:
      case HB_ET_CODEBLOCK:
         break;

to:
      case HB_ET_CODEBLOCK:
         fResult = FALSE;
         break;

and make clean Harbour build.
If it helps then report the bug to POCC author.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to