www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - DMD-0.153 regressions (preliminary)

reply Thomas Kuehne <thomas-dloop kuehne.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

There are quite a few regressions (336 test cases, 2774 configurations) 
in DMD-0.153, however most - if not all - seem to have a common cause:

(sample source: http://dstress.kuehne.cn/run/t/typeid_86_C.d)


compiling without "-g"
=====================
Program received signal SIGSEGV, Segmentation fault.
0x0805030a in _init__Dmain1B ()
(gdb) bt




Previous frame inner to this frame (corrupt stack?)


compiling with "-g"
===================
(gdb) break _init__Dmain1B
Breakpoint 1 at 0x80502cd
(gdb) run
Starting program: ./typeid_86_C 

Program exited normally.


compiling without "-g" and manual linking without "--gc-sections"
=================================================================
Starting program: ./typeid_86_C 
Error: AssertError Failure run/t/typeid_86_C.d(18)

Program exited with code 01.


Thomas


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

iD8DBQFEPJki3w+/yD4P9tIRAoyOAJ4lYLbYVWod1SiigUM++EBxiQulpQCdE7En
PcefO1m33jBWu4K0HnuPF+U=
=7dM2
-----END PGP SIGNATURE-----
Apr 11 2006
parent reply Lionello Lunesu <lio lunesu.remove.com> writes:
Seems to be the same problem as bugzilla entry 100: assert error. 
Exception handling is not working under linux when linked with that 
--gc-sections flag?

L.
Apr 12 2006
parent Dave <Dave_member pathlink.com> writes:
Lionello Lunesu wrote:
 Seems to be the same problem as bugzilla entry 100: assert error. 
 Exception handling is not working under linux when linked with that 
 --gc-sections flag?
 
 L.
Apr 12 2006