From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26144 invoked by alias); 12 May 2003 18:03:27 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 20531 invoked by uid 71); 12 May 2003 17:56:02 -0000 Date: Mon, 12 May 2003 18:03:00 -0000 Message-ID: <20030512175602.20496.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "Giovanni Bajo" Subject: Re: c++/10635: [3.3/3.4 regression] ICE (segfault) when dereferencing an incomplete type casted from a void pointer Reply-To: "Giovanni Bajo" X-SW-Source: 2003-05/txt/msg01263.txt.bz2 List-Id: The following reply was made to PR c++/10635; it has been noted by GNATS. From: "Giovanni Bajo" To: , , , , Cc: Subject: Re: c++/10635: [3.3/3.4 regression] ICE (segfault) when dereferencing an incomplete type casted from a void pointer Date: Mon, 12 May 2003 19:43:17 +0200 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