[M3devel] more m3tests failures

Tony Hosking hosking at cs.purdue.edu
Tue Jan 8 07:23:58 CET 2008


Seems to be fixed now.  Includes fix for p035.

On Jan 7, 2008, at 7:30 PM, Olaf Wagner wrote:

> Quoting Tony Hosking <hosking at cs.purdue.edu>:
>
>> I just checked in the fix for p035, with changes to the gcc-based
>> backend (tree-nested.c and parse.c).
>
> As Kaspar has already noticed, this seems to break compilation
> of m3core:
>
>  +++ cm3 -build -override -DROOT='/d/home/wagner/work/cm3' - 
> DCM3_VERSION_TEXT='d5.5.1' -DCM3_VERSION_NUMBER='050501' - 
> DCM3_LAST_CHANGED='2007-12-30'  +++
> --- building in FreeBSD4 ---
>
> new source -> compiling RTCollector.m3
> RTCollector.m3:1878: internal compiler error: Segmentation fault: 11
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> compilation failed => not building library "libm3core.a"
> Fatal Error: package build failed
>  *** execution of  failed ***
>
> Olaf
>>
>> On Jan 5, 2008, at 3:00 PM, Olaf Wagner wrote:
>>
>>> I've looked into some more failures of m3tests, which I'd like to
>>> present to the whole list: (All tests run on FreeBSD 6.3)
>>>
>>> p035 is a scoping problem which was Ok with
>>>
>>>  /usr/local/cm3/bin/cm3cg-5.4.0
>>>
>>> but
>>>
>>>  /usr/local/cm3/bin/cm3cg-d5.5.1
>>>
>>> fails, so it must be caused by recent gcc changes. The check that  
>>> fails is
>>>
>>>  PROCEDURE foo (p: P; same: BOOLEAN) =
>>>    BEGIN
>>>      checkB (bar = p, same); checkB (bar # p, NOT same);
>>>    END foo;
>>>  PROCEDURE bar (<*UNUSED*> t: Text.T) =
>>>    BEGIN
>>>    END bar;
>>>  BEGIN
>>>    msg ("group M"); foo (bar, TRUE);
>>>    msg ("group N"); foo (dummy, FALSE);
>>>  END;
>
>
>
> -- 
> Olaf Wagner -- elego Software Solutions GmbH
>                Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin,  
> Germany
> phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23  
> 45 86 95
>    http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz:  
> Berlin
> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr:  
> DE163214194
>




More information about the M3devel mailing list