This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/48562] [C++0x] warn about uses of initializer_list that will lead to dangling pointers
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 25 Sep 2011 10:54:07 +0000
- Subject: [Bug c++/48562] [C++0x] warn about uses of initializer_list that will lead to dangling pointers
- Auto-submitted: auto-generated
- References: <bug-48562-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48562
--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-09-25 10:54:07 UTC ---
Johannes, sorry about the dumb question: now I understand the issue decently
well - and after all boils down to adding a warning - but I'm not sure to
understand your code snippet: is it meant to crash at runtime? Trigger valgrind
errors?