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 libstdc++/83860] valarray replacement type breaks with auto and more than one operation


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

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
N.B. compiling with -fstack-reuse=none will prevent the optimizer from reusing
the stack space immediately, so the dangling references can still be used to
access the temporaries after their lifetime ends.

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