[Issue 6757] New: Expose compiler switches behind -release separately

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 2 01:54:23 PDT 2011


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

           Summary: Expose compiler switches behind -release separately
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: code at benjamin-thaut.de


--- Comment #0 from Benjamin Thaut <code at benjamin-thaut.de> 2011-10-02 01:53:38 PDT ---
When building with -release multiple compiler flags get enabled at the same
time.
For example asserts get disabled and framepointers get omitted.
It should be possible to enable each of these flags separately e.g.
-disable-assert
-omit-framepointer

When profiling with a sampling profiler one would want the compiler to put out
framepointers so that the profiler can unwind the stack correctly, but all
other release flags should be turned on to get a representative profiling
output.

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