Summary: -S compiler switch to output asm
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD

--- Comment #0 from 2012-04-08 17:41:29 PDT ---
Looking at the asm produced by a system language is often useful, to know if a
function was inlined, to see if the compiler has done certain expected
optimizations, to verify certain compiler bugs, to compare the quality of a D
compiler to a C or C++ compiler on similar code, to learn to write assembly,
and so on.

There are some ways to read the asm produced by the D compiler (like using
obj2asm) but I suggest to add to DMD a compiler switch similar to "-S" of GCC
to output the asm from the compiler itself.

There was a request for it in D.learn too:

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to