This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/33961] [4.3 regression] gcc 4.3 causes crash valid code to crash
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Oct 2007 17:07:44 -0000
- Subject: [Bug tree-optimization/33961] [4.3 regression] gcc 4.3 causes crash valid code to crash
- References: <bug-33961-5606@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from pinskia at gcc dot gnu dot org 2007-10-31 17:07 -------
So what we have is a conditional store but a non conditional read. So the
store can trap but the read does not. Really using a const_cast does nothing
to change the fact you are passing a readonly memory to something which might
be written to.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33961