[Issue 3160] ICE(cgcod.c 1511) returning string from void main, D1 only

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 14 23:54:41 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3160


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |regression


--- Comment #1 from Don <clugdbug at yahoo.com.au> 2009-09-14 23:54:41 PDT ---
This is actually a regression.
Did not ICE in 0.175, 1.006. Began to ICE at 1.017 or earlier.
ICE in 2.000->2.022. Was fixed in 2.023.
However, although it didn't ICE on those versions, it's an accepts-invalid.
Seems to be adding an implicitly cast to void. (BTW, the accepts-invalid
applies to all functions, not just main).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list