http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186
Summary: Clang creates code running 1600 times faster than
gcc's
Product: gcc
Version: 4.5.1
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 22161
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22161
C file
The attached code compiles into an executable that takes 1.6 seconds to run,
when compiled with clang, it takes 0.001 seconds (both with -O2 as the only
compiler option).