[LLVMbugs] [Bug 5610] New: gcc is not always slower than clang

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Nov 24 19:03:01 PST 2009


http://llvm.org/bugs/show_bug.cgi?id=5610

           Summary: gcc is not always slower than clang
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: preprocessor
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: mikhail.strelnikov at gmail.com
                CC: llvmbugs at cs.uiuc.edu


$ make ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1

$ time clang -Iboost_1_41_0/ -DDELAY_MAX=9
boost_1_41_0/libs/preprocessor/doc/examples/delay.c

real 0m3.034s
user 0m1.496s
sys 0m1.528s

$ time g++ -Iboost_1_41_0/ -DDELAY_MAX=9
boost_1_41_0/libs/preprocessor/doc/examples/delay.c

real 0m1.695s
user 0m1.140s
sys 0m0.540s


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list