Commit 081dc0d9 authored by wolfgang's avatar wolfgang
Browse files

[project @ 2005-05-07 17:28:05 by wolfgang]

GCC 4.0 Fix: Do not emit lvalue casts for foreign calls.

Note: This fix might break cmm code that directly assigns the result
      of a foreign call to a "strange type" register (but we don't do that).

parent cca80b4a
......@@ -701,7 +701,7 @@ pprCall ppr_fn cconv results args vols
ppr_results [] = empty
ppr_results [(one,hint)]
= pprExpr (CmmReg one) <> ptext SLIT(" = ")
= pprReg one <> ptext SLIT(" = ")
<> pprUnHint hint (cmmRegRep one)
ppr_results _other = panic "pprCall: multiple results"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment