[Bug c++/77375] [5/6/7 Regression] constant object with mutable subobject allocated in read-only memory

2016-09-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77375 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Fri Sep 16 20:21:29 2016 New Revision: 240195 URL: https://gcc.gnu.org/viewcvs?rev=240195=gcc=rev Log: PR c++/77375 * class.c (check_bases): Set CLASSTYPE_HAS_MUTABLE if

[Bug c++/77375] [5/6/7 Regression] constant object with mutable subobject allocated in read-only memory

2016-08-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77375 --- Comment #6 from Jakub Jelinek --- Created attachment 39505 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39505=edit gcc7-pr77375.patch Untested fix.

[Bug c++/77375] [5/6/7 Regression] constant object with mutable subobject allocated in read-only memory

2016-08-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77375 Jakub Jelinek changed: What|Removed |Added CC||jason at gcc dot gnu.org Target

[Bug c++/77375] [5/6/7 Regression] constant object with mutable subobject allocated in read-only memory

2016-08-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77375 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug c++/77375] [5/6/7 Regression] constant object with mutable subobject allocated in read-only memory

2016-08-26 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77375 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|ppalka at gcc

[Bug c++/77375] [5/6/7 Regression] constant object with mutable subobject allocated in read-only memory

2016-08-26 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77375 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/77375] [5/6/7 Regression] constant object with mutable subobject allocated in read-only memory

2016-08-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77375 Jonathan Wakely changed: What|Removed |Added Known to work||4.6.4 Summary|constant