[Issue 15272] [2.069-rc2,inline] nothing written to output when -inline is set

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Nov 2 12:11:23 PST 2015


https://issues.dlang.org/show_bug.cgi?id=15272

safety0ff.bugz <safety0ff.bugz at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |safety0ff.bugz at gmail.com

--- Comment #13 from safety0ff.bugz <safety0ff.bugz at gmail.com> ---
(In reply to Martin Nowak from comment #12)
> I diggered and found https://github.com/D-Programming-Language/dmd/pull/4909
> to be the culprit.

FWIW, the following patch fixes it for me:

--- a/src/backend/cgelem.c
+++ b/src/backend/cgelem.c
@@ -3545,8 +3545,8 @@ STATIC elem * eleq(elem *e, goal_t goal)
             {
                 e->E2 = e2->E1;
                 eb = el_bin(OPeq,ty,eb,e2->E2);
-                e2->E1 = eb;
-                e2->E2 = e;
+                e2->E1 = e;
+                e2->E2 = eb;
             }
             else
             {

--


More information about the Digitalmars-d-bugs mailing list