[Issue 6665] Regression(2.055) ICE(cg87.c): static double inside closure

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 14 18:15:42 PDT 2011


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



--- Comment #3 from Don <clugdbug at yahoo.com.au> 2011-09-14 18:15:21 PDT ---
Compiling the first case with -inline gives an error: 
c:\dmd\windows\bin\..\..\src\phobos\std\algorithm.d(423): Error: function D
main
 is a nested function and cannot be accessed from array

which is completely wrong -- why does it think main() is a nested function???
So even on Windows this shows a serious problem with the inliner. But the
inlining bug isn't a regression, the same error message applies also as far
back as 2.035.

-- 
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