This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/57997] Segmentation fault after returning valarray expression from an auto function
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 13 Oct 2014 15:49:10 +0000
- Subject: [Bug libstdc++/57997] Segmentation fault after returning valarray expression from an auto function
- Auto-submitted: auto-generated
- References: <bug-57997-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57997
--- Comment #9 from Marc Glisse <glisse at gcc dot gnu.org> ---
I'd rather work on improving the warnings so we can tell the user how bad his
code is, but in case, we had a similar request in GMP, a code that was inspired
by libstdc++ valarray:
https://gmplib.org/list-archives/gmp-bugs/2014-January/003315.html
and the discussion may contain hints relevant to the valarray case.