[Issue 9356] -inline with inout and append generates wrong code

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 28 06:53:05 PDT 2013


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


yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
                 CC|                            |yebblies at gmail.com
         AssignedTo|nobody at puremagic.com        |yebblies at gmail.com


--- Comment #2 from yebblies <yebblies at gmail.com> 2013-06-28 23:53:01 EST ---
Yeah, the inliner ends up replacing the call expression with the return
expression, but doesn't re-paint the type to account for castless implicit
conversions.  e2ir uses if/else when it should be using if/elseif/else assert,
so it generates wrong code instead of ICEing.

https://github.com/D-Programming-Language/dmd/pull/2269

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