[Bug c++/65209] [5 Regression] Broken code with global static variables, invalid pointer when freeing global variables

2015-03-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65209 --- Comment #7 from Jason Merrill jason at gcc dot gnu.org --- Author: jason Date: Wed Mar 4 18:13:44 2015 New Revision: 221192 URL: https://gcc.gnu.org/viewcvs?rev=221192root=gccview=rev Log: PR c++/65209 PR c++/65309 * decl2.c

[Bug c++/65209] [5 Regression] Broken code with global static variables, invalid pointer when freeing global variables

2015-02-25 Thread manisandro at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65209 --- Comment #2 from Sandro Mani manisandro at gmail dot com --- Created attachment 34874 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34874action=edit Slightly reduced test case ==30483== Invalid free() / delete / delete[] / realloc()

[Bug c++/65209] [5 Regression] Broken code with global static variables, invalid pointer when freeing global variables

2015-02-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65209 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c++/65209] [5 Regression] Broken code with global static variables, invalid pointer when freeing global variables

2015-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65209 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P1 --- Comment

[Bug c++/65209] [5 Regression] Broken code with global static variables, invalid pointer when freeing global variables

2015-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65209 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug c++/65209] [5 Regression] Broken code with global static variables, invalid pointer when freeing global variables

2015-02-25 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65209 --- Comment #5 from Jason Merrill jason at gcc dot gnu.org --- Author: jason Date: Wed Feb 25 21:46:29 2015 New Revision: 220991 URL: https://gcc.gnu.org/viewcvs?rev=220991root=gccview=rev Log: PR c++/65209 * decl2.c

[Bug c++/65209] [5 Regression] Broken code with global static variables, invalid pointer when freeing global variables

2015-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65209 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED