[Bug c++/58116] missed-optimization: const temporaries could be promoted to static

luto at mit dot edu gcc-bugzilla@gcc.gnu.org
Mon Jan 20 18:39:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58116

--- Comment #4 from Andy Lutomirski <luto at mit dot edu> ---
Sorry -- I forgot about the recursive / threaded case.

(I keep meaning to propose something like [[non_unique_address]] to enable
optimizations like this and things zero-byte struct members.)



More information about the Gcc-bugs mailing list