www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 460] New: Assertion failure: '!needThis()' on line 143 in file 'tocsym.c'

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=460

           Summary: Assertion failure: '!needThis()' on line 143 in file
                    'tocsym.c'
           Product: D
           Version: 0.172
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: digitalmars-com baysmith.com


The code listed below is invalid, but an error message would be better than a
compiler assertion failure.

dmd -c gld\tmp.d

abnormal program termination ----- tmp.d ----- extern(C) void func(void*); struct s { int v; } void func2() { func(&s.v); } --
Oct 25 2006
next sibling parent Thomas Kuehne <thomas-dloop kuehne.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

d-bugmail puremagic.com schrieb am 2006-10-25:
 http://d.puremagic.com/issues/show_bug.cgi?id=460

 The code listed below is invalid, but an error message would be better than a
 compiler assertion failure.

dmd -c gld\tmp.d

abnormal program termination ----- tmp.d ----- extern(C) void func(void*); struct s { int v; } void func2() { func(&s.v); }

Added to DStress as http://dstress.kuehne.cn/nocompile/b/bug_tocsym_142_E.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFFUf47LK5blCcjpWoRAu0vAKCT2T3Up1jBZ5aJ6BtpG30hps6y2ACdGAc7 sOmZhL8cR3mu5QUaT4yrR9I= =rRFD -----END PGP SIGNATURE-----
Nov 08 2006
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=460


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #2 from bugzilla digitalmars.com  2006-11-25 03:54 -------
Fixed DMD 0.175


-- 
Nov 25 2006