Why GCC C compiler very slow than GCC C++ ?

Revision ru1, by xsc, 2018-05-11 20:15:40

Hi, everyone.

Why same source code is slower on GCC-5.1 C compiler and very fast on GCC-5.1 C++.

See 38119970 for GCC C runs 468 ms.

And 38119937 for GCC C++ runs 78 ms.

Are there different optimization compiler flags ?

Tags gcc, optimization, compilers

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
ru1 Russian xsc 2018-05-11 20:15:40 304 Первая редакция (опубликовано)