[Bug 148] gcc inline asm instruction template must be a constant char string regression

via D.gnu d.gnu at puremagic.com
Thu Feb 11 00:13:33 PST 2016


http://bugzilla.gdcproject.org/show_bug.cgi?id=148

--- Comment #4 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Iain Buclaw from comment #3)
> For resolving any kind of symbol to string via CTFE, I'd suggest we defer
> running semantic analysis until the second pass.
> 
> See for instance:
> https://github.com/D-Programming-Language/dmd/pull/5302/files#diff-
> 0d13b271f20a2f0982c3c74062c314fdR440

Ah, it was much more trivial than that. ;-)

-    insn->ctfeInterpret();
+    insn = insn->ctfeInterpret();

Looks like the CTFE result is not stashed in all cases.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20160211/e4f557c3/attachment.html>


More information about the D.gnu mailing list