gcc versus g++ optimization of identical C code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux