Thread overview
Internal error: ../ztc/evalu8.c 174
May 25, 2005
Nick
May 25, 2005
clayasaurus
Jun 01, 2005
Thomas Kuehne
May 25, 2005
Compile the following with

$ dmd -release -O file.d

:void main()
:{
:}
:void foo()
:{
:  cdouble[] a;
:  cdouble[] b;
:  foreach(cdouble d; b)
:    {
:      d = -a[0];
:      for(;;){}
:    }
:}

Nick


May 25, 2005
Nick wrote:
> Compile the following with
> 
> $ dmd -release -O file.d
> 
> :void main()
> :{
> :}
> :void foo()
> :{
> :  cdouble[] a;
> :  cdouble[] b;
> :  foreach(cdouble d; b)
> :    {
> :      d = -a[0];
> :      for(;;){}
> :    }
> :}
> 
> Nick
> 
> 

void main()
{
}
void foo()
{
  cdouble[] a;
  cdouble[] b;
  foreach(cdouble d; b)
    {
      d = -a[0];
      for(;;){}
    }
}

-----------------------------------------------

<curious> what's up with the dots? </curious>
May 25, 2005
> <curious> what's up with the dots? </curious>

I believe the web interface has... more than a couple bugs.  This is a workaround for one of them.

-[Unknown]
June 01, 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nick schrieb am Wed, 25 May 2005 17:43:34 +0000 (UTC):
> Compile the following with
>
> $ dmd -release -O file.d
>
>:void main()
>:{
>:}
>:void foo()
>:{
>:  cdouble[] a;
>:  cdouble[] b;
>:  foreach(cdouble d; b)
>:    {
>:      d = -a[0];
>:      for(;;){}
>:    }
>:}
>
> Nick

Added to DStress as http://dstress.kuehne.cn/run/b/bug_evalu8_174_A.d http://dstress.kuehne.cn/run/b/bug_evalu8_174_B.d http://dstress.kuehne.cn/run/b/bug_evalu8_174_C.d http://dstress.kuehne.cn/run/b/bug_evalu8_174_D.d http://dstress.kuehne.cn/run/b/bug_evalu8_174_E.d

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFCncfR3w+/yD4P9tIRAmxFAKDKwsLFgWWFKvd5DtNZoBgryonhPgCgxdG7
aKlgADF0eMluWlA1zMYe8Z4=
=m3KX
-----END PGP SIGNATURE-----