digitalmars.D.bugs - -inline problem without return
- Vathix (14/14) Jul 14 2005 int foo() { } // No return.
- =?UTF-8?B?VGhvbWFzIEvDvGhuZQ==?= (29/29) Jul 18 2005 -----BEGIN PGP SIGNED MESSAGE-----
- Vathix (1/5) Jul 18 2005 Error 404..
int foo() { } // No return.
int main()
{
foo();
return 0;
}
Outputs the correct:
Error: AssertError Failure test.d(1)
but add -inline to it and it turns into:
Error: Win32 Exception
and that's just for this simple example. In my larger project it caused
compiler failure:
Internal error: ..\ztc\cod2.c 4364
that I can't seem to recreate with a smaller example.
Jul 14 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Vathix wrote:
| int foo() { } // No return.
| int main()
| {
| foo();
| return 0;
| }
|
|
| Outputs the correct:
| Error: AssertError Failure test.d(1)
| but add -inline to it and it turns into:
| Error: Win32 Exception
| and that's just for this simple example. In my larger project it
| caused compiler failure:
| Internal error: ..\ztc\cod2.c 4364
| that I can't seem to recreate with a smaller example.
Added to DStress as
http://dstress.kuehne.cn/norun/r/return_07_A.d
http://dstress.kuehne.cn/norun/r/return_07_B.d
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
iD8DBQFC3CBX3w+/yD4P9tIRAu7GAJ90S8ebYqBxs3i8Xss1drtsy08QPQCdHXGk
4p+bx6GwDWJpSLAdnJxdZ9g=
=cHkY
-----END PGP SIGNATURE-----
Jul 18 2005
Added to DStress as http://dstress.kuehne.cn/norun/r/return_07_A.d http://dstress.kuehne.cn/norun/r/return_07_B.d ThomasError 404..
Jul 18 2005








Vathix <chris dprogramming.com>