www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Internal error: ../ztc/evalu8.c 174

reply Nick <Nick_member pathlink.com> writes:
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
next sibling parent reply clayasaurus <clayasaurus gmail.com> writes:
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
parent "Unknown W. Brackets" <unknown simplemachines.org> writes:
 <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]
May 25 2005
prev sibling parent Thomas Kuehne <thomas-dloop kuehne.this-is.spam.cn> writes:
-----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-----
Jun 01 2005