[Bug 143] New: -O2 optimisation level not default for non-debug mode

[email protected] Fri, 24 Jun 2005 19:37:20 -0400
Newsgroups gmane.comp.java.vm.sablevm.bugs
Message-ID <[email protected]>
http://sablevm.org/bugs/show_bug.cgi?id=143

           Summary: -O2 optimisation level not default for non-debug mode
           Product: SableVM
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


After two years, I only just realized -O2 isn't turned on automatically if you
don't specify --enable-debugging-features.  On the other hand, -O0 is specified
if you do enable debugging features.  I observed a 20% speedup when I compiled
the switch interpreter with -O2 in my CFLAGS.

If there is some reason not to include -O2 in the configure.ac file, I think it
would be useful to tell users that they should put it in their CFLAGS.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.