From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3487 invoked by alias); 8 Nov 2002 02:06:02 -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 3466 invoked by uid 71); 8 Nov 2002 02:06:01 -0000 Resent-Date: 8 Nov 2002 02:06:01 -0000 Resent-Message-ID: <20021108020601.3465.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, lminder@gmx.net Received: (qmail 962 invoked from network); 8 Nov 2002 01:57:14 -0000 Received: from unknown (HELO freesurfmail.sunrise.ch) (194.230.0.16) by sources.redhat.com with SMTP; 8 Nov 2002 01:57:14 -0000 Received: from fanzthesecond (194.230.163.111) by freesurfmail.sunrise.ch (6.0.055) id 3DC27B29000F9F13 for gcc-gnats@gcc.gnu.org; Fri, 8 Nov 2002 02:57:50 +0100 Received: from lorinder by fanzthesecond with local (Exim 3.35 #1 (Debian)) id 189yNr-00056A-00 for ; Fri, 08 Nov 2002 02:56:31 +0100 Message-Id: Date: Thu, 07 Nov 2002 18:06:00 -0000 From: lminder@gmx.net To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: 3.113 Subject: objc/8496: Crash if an object is declared instead of a pointer to an object X-SW-Source: 2002-11/txt/msg00392.txt.bz2 List-Id: >Number: 8496 >Category: objc >Synopsis: Crash if an object is declared instead of a pointer to an object >Confidential: no >Severity: non-critical >Priority: low >Responsible: unassigned >State: open >Class: ice-on-illegal-code >Submitter-Id: net >Arrival-Date: Thu Nov 07 18:06:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Lorenz Minder >Release: 3.3 20020916 (experimental), also 3.1, 3.0.4 (Debian Package) >Organization: >Environment: System: Linux fanzthesecond 2.4.18 #33 Thu Jul 18 04:56:44 CEST 2002 i686 unknown Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: ../gcc-20020916/configure --program-suffix=-xp --prefix=/usr/local --enable-languages=c,objc >Description: Declaring an object (rather than, what would be correct, a pointer to an object) causes the compiler to crash when one tries to send a message to that object. >How-To-Repeat: Try to compile the following code: @interface X { } @end void xyz(X y) { [y do_something]; } A crash occurs: crash_objc.m: In function `xyz': crash_objc.m:7: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. >Fix: >Release-Note: >Audit-Trail: >Unformatted: