[Bug c++/48562] [C++0x] warn about uses of initializer_list that will lead to dangling pointers

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Sun Sep 25 11:08:00 GMT 2011


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?



More information about the Gcc-bugs mailing list