www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Segmentation fault - testcase.zip

reply marco.falda unipd.it writes:
I am trying to translate my constraint solver from C++ to D, but I have
encountered an error that prevents me to continue. 
I attach a minimal subset of code to reproduce the error. When I compile
"VincoloIIF.d" or "VincoloIPF.d" a segmentation fault (compiler internal error,
according to the GNU gcc 3.3.3 D frontend) occurs.
I am using DMD version 0.12 on WinXP Home.
Apr 15 2005
parent reply Thomas Kuehne <thomas-dloop kuehne.thisisspam.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

marco.falda unipd.it schrieb am Fri, 15 Apr 2005 13:29:19 +0000 (UTC):
 I am trying to translate my constraint solver from C++ to D, but I have
 encountered an error that prevents me to continue. 
 I attach a minimal subset of code to reproduce the error. When I compile
 "VincoloIIF.d" or "VincoloIPF.d" a segmentation fault (compiler internal error,
 according to the GNU gcc 3.3.3 D frontend) occurs.
 I am using DMD version 0.12 on WinXP Home.

You didn't try to reduce the size of your code, did you? This bug can be reproduced by 2 files with a total of 36 bytes. Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFCYCfD3w+/yD4P9tIRAiwrAJ4zDIPe5t3Qxe9zokl+wAyGrz95MgCaAss9 pCKjMT9Wmpa5AG3sdV7iWxM= =I/BM -----END PGP SIGNATURE-----
Apr 15 2005
next sibling parent J C Calvarese <jcc7 cox.net> writes:
Thomas Kuehne wrote:
...
according to the GNU gcc 3.3.3 D frontend) occurs.
I am using DMD version 0.12 on WinXP Home.

You didn't try to reduce the size of your code, did you? This bug can be reproduced by 2 files with a total of 36 bytes. Thomas

Also, he should really consider upgrading if he's still using DMD version 0.12. I think that version is several years old. ;) -- jcc7 http://jcc_7.tripod.com/d/
Apr 15 2005
prev sibling parent reply "Walter" <newshound digitalmars.com> writes:
"Thomas Kuehne" <thomas-dloop kuehne.thisisspam.cn> wrote in message
news:3nl5j2-4q5.ln1 lnews.kuehne.cn...
 This bug can be reproduced by 2 files with a total of 36 bytes.

Please post!
Apr 17 2005
parent reply Thomas Kuehne <thomas-dloop kuehne.thisisspam.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Walter schrieb am Sun, 17 Apr 2005 18:28:54 -0700:
 "Thomas Kuehne" <thomas-dloop kuehne.thisisspam.cn> wrote in message
 news:3nl5j2-4q5.ln1 lnews.kuehne.cn...
 This bug can be reproduced by 2 files with a total of 36 bytes.

Please post!

http://dstress.kuehne.cn/nocompile/import_06_A.d http://dstress.kuehne.cn/nocompile/import_06_B.d Try: "dmd -c import_06_A.d" and "dmd -c import_06_B.d" Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFCY3DP3w+/yD4P9tIRAn5NAJ9C6vBAhXqTK/msaV8/HBh/bv0ArQCcDKgc ZwAItU3COWN0EYTgfRPh/tI= =3RdU -----END PGP SIGNATURE-----
Apr 18 2005
parent "Walter" <newshound digitalmars.com> writes:
tanks!
Apr 18 2005