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

2019-05-21 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48562 Eric Gallager changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

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

2019-02-19 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48562 Eric Gallager changed: What|Removed |Added Status|NEW |WAITING --- Comment #13 from Eric Gallag

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

2018-11-19 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48562 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #12

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

2018-05-29 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48562 --- Comment #11 from Jason Merrill --- Author: jason Date: Tue May 29 20:04:52 2018 New Revision: 260905 URL: https://gcc.gnu.org/viewcvs?rev=260905&root=gcc&view=rev Log: PR c++/67445 - returning temporary initializer_list. PR

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

2018-03-28 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48562 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org S

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

2018-03-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48562 --- Comment #9 from Jonathan Wakely --- (In reply to Florian Weimer from comment #8) > Almost any std::initializer_list object will be a temporary, after all, and > the called function should move the initializer elements, not copy them. std::in

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

2018-03-28 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48562 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org See Als

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

2011-09-25 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48562 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|NEW AssignedTo|paolo.carlini at o

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

2011-09-25 Thread schaub.johannes at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48562 --- Comment #6 from Johannes Schaub 2011-09-25 14:22:33 UTC --- (In reply to comment #5) > 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 >

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

2011-09-25 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48562 --- Comment #5 from Paolo Carlini 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

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

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48562 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED

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

2011-09-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48562 Paolo Carlini changed: What|Removed |Added AssignedTo|unassigned at gcc dot |paolo.carlini at oracle dot

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

2011-09-23 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48562 Jason Merrill changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED