[Bug target/82411] const is not always read-only

2018-03-27 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82411 Segher Boessenkool changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/82411] const is not always read-only

2018-03-27 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82411 --- Comment #9 from Segher Boessenkool --- Author: segher Date: Tue Mar 27 23:28:25 2018 New Revision: 258909 URL: https://gcc.gnu.org/viewcvs?rev=258909=gcc=rev Log: rs6000: -mreadonly-in-sdata (PR82411) This adds a new option

[Bug target/82411] const is not always read-only

2018-03-27 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82411 --- Comment #8 from Segher Boessenkool --- Author: segher Date: Tue Mar 27 23:13:02 2018 New Revision: 258907 URL: https://gcc.gnu.org/viewcvs?rev=258907=gcc=rev Log: rs6000: -mreadonly-in-sdata (PR82411) This adds a new option

[Bug target/82411] const is not always read-only

2018-03-07 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82411 Segher Boessenkool changed: What|Removed |Added Status|WAITING |NEW --- Comment #7 from Segher

[Bug target/82411] const is not always read-only

2018-03-07 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82411 --- Comment #6 from Segher Boessenkool --- Author: segher Date: Wed Mar 7 20:27:11 2018 New Revision: 258340 URL: https://gcc.gnu.org/viewcvs?rev=258340=gcc=rev Log: rs6000: -mreadonly-in-sdata (PR82411) This adds a new option

[Bug target/82411] const is not always read-only

2018-02-28 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82411 Segher Boessenkool changed: What|Removed |Added Status|NEW |WAITING --- Comment #5 from Segher

[Bug target/82411] const is not always read-only

2017-10-04 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82411 Segher Boessenkool changed: What|Removed |Added Target|Powerpc*-*-*|powerpc*-*-* --- Comment #4 from

[Bug target/82411] const is not always read-only

2017-10-04 Thread kees at outflux dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82411 --- Comment #3 from Kees Cook --- To clarify, using -mno-sdata means all things are removed from sdata, not just const, yes? I'd like to be able to leave writable stuff there, to avoid any additional performance penalty.

[Bug target/82411] const is not always read-only

2017-10-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82411 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/82411] const is not always read-only

2017-10-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82411 --- Comment #1 from Andrew Pinski --- Actually it is just undefined what happens when a write to a const variable. So a trap or the write happened for a const both are valid thing. Now const really should be put in the read only section if