[dmd-beta] dmd 1.063 and 2.048 beta
Walter Bright
walter at digitalmars.com
Mon Aug 9 14:13:31 PDT 2010
It's the negass. Working on a fix.
Don Clugston wrote:
> Confirmed, that code gives a segfault on D1 Windows too. Works OK with D2.
>
> On 9 August 2010 12:46, Fawzi Mohamed <fawzi at gmx.ch> wrote:
>
>> Thanks for the release, sorry to bring a bad news, but I still have a bus
>> error (as with the previous beta) when compiling blip.parallel.smp.SmpModels
>> with -O.
>>
>> I have reduced it to
>> {{{
>> module bug;
>>
>> enum TaskStatus:int{
>> Building=-1,
>> }
>>
>> /// conversion str -> TaskStatus
>> TaskStatus taskStatusFromStr(char[] s){
>> char[] t="TaskStatus";
>> if (s.length>t.length && s[0..t.length]==t){
>> long res=0;
>> if (s[t.length]=='-') res= -res;
>> return cast(TaskStatus)cast(int)res;
>> }
>> assert(0);
>> }
>> }}}
>>
>> with -O, and keeing something (so that res is not known at compile time) the
>> cast seems to trigger an error in the compiler.
>>
>> Fawzi
>> On 9-ago-10, at 08:19, Walter Bright wrote:
>>
>>
>>> http://ftp.digitalmars.com/dmd1beta.zip
>>> http://ftp.digitalmars.com/dmd2beta.zip
>>> _______________________________________________
>>> dmd-beta mailing list
>>> dmd-beta at puremagic.com
>>> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>>>
>> _______________________________________________
>> dmd-beta mailing list
>> dmd-beta at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>>
>>
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>
>
>
More information about the dmd-beta
mailing list