This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/66355] defining a constructor inhibits optimization


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66355

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
If you make the constructors and operator+ constexpr and compile with
-std=gnu++14 then you remove the overhead.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]