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: "bero at arklinux dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Oct 2007 17:00:57 -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 #3 from bero at arklinux dot org 2007-10-31 17:00 -------
That conversion warning is only in the simplified test case, the original code
it's extracted from (khtml) doesn't pass a string constant (it passes html code
retrieved from a web server) and crashes the same way.
There is a const_cast<char*> conversion from a const char * in the code though,
this probably triggers the same (mis)optimization pass?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33961