[Bug libstdc++/57997] Segmentation fault after returning valarray expression from an auto function
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Oct 13 15:04:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57997
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I'm pretty sure our implementation conforms to the standard, expression
templates don't mix well with auto/decltype, but libc++ does seem to make code
like this work somehow so it is a reasonable enhancement request.
More information about the Gcc-bugs
mailing list