This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/46186] New: Clang creates code running 1600 times faster than gcc's
- From: "jak at jak-linux dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 26 Oct 2010 14:27:04 +0000
- Subject: [Bug c/46186] New: Clang creates code running 1600 times faster than gcc's
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: jak@jak-linux.org
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).