This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/10635: [3.3/3.4 regression] ICE (segfault) when dereferencing an incomplete type casted from a void pointer
- From: "Giovanni Bajo" <giovannibajo at libero dot it>
- To: <gcc-prs at gcc dot gnu dot org>,<gcc-bugs at gcc dot gnu dot org>,<gcc-gnats at gcc dot gnu dot org>,<Shea dot Williams at colorado dot edu>,<nobody at gcc dot gnu dot org>
- Date: Mon, 12 May 2003 19:43:17 +0200
- Subject: Re: c++/10635: [3.3/3.4 regression] ICE (segfault) when dereferencing an incomplete type casted from a void pointer
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10635
After analyzing a duplicate of this (c++/10727), I noticed that if I move
the function get_incomplete() outside the Foo class (in the reduced snippet
above), GCC 2.95 correctly rejects the code. Thus, I mark this as a
regression, since the behaviour on this issue is globally worse than it used
to be.
Notice that this happens with moc code generated by Qt, so it's very
important to fix this.
Giovanni Bajo