- To: gcc-help@xxxxxxxxxxx
- Subject: gcc versus g++ optimization of identical C code
- From: Jules Colding <colding@xxxxxxxxxxxxx>
- Date: Mon, 23 Jul 2012 17:04:53 +0200
- Comment: DKIM? See http://www.dkim.org
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
Hi,
I've observed that my little side project:
https://github.com/colding/disruptorC
consistently performs approximately 10% better when compiled with g++ instead of gcc. Just adding "CC=g++" to configure.ac just after AC_PROG_CXX is all it takes.
Do I do something subtly wrong or is g++ merely much better at generating code then gcc?
Thanks,
jules
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]