Bug 36097

Summary: internal error when compiling objective-c
Product: [Retired] Red Hat Linux Reporter: ctm
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-04-16 21:39:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ctm 2001-04-16 21:26:20 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.75 [en] (X11; U; Linux 2.4.2-ipsec-low i686)


I have an Objective-C file that causes gcc-objc-2.96-69 to die with a
segmentation fault each time I try to compile it.

Reproducible: Always
Steps to Reproduce:
1. gcc -g -O -Wall -D_REENTRANT -D_GNU_SOURCE   -I../include
-I/usr/include/pgsql -I../protocol_lib -I../tbot2 -c -o Game.o Game.m

	

Actual Results:  Game.m:1861: Internal error: Segmentation fault.
Please submit a full bug report.


Expected Results:  Program should have compiled into a .o file.

I can e-mail a pre-processed .m file that exhibits this crash to whoever
wants to reproduce this bug.

Comment 1 Jakub Jelinek 2001-04-16 21:39:50 UTC
There was a GC related bug in Objective-C frontend, which was fixed
in gcc-objc-2.96-76. Could you try that compiler (or newer, such as
the one released in the 7.1 distribution)?
If not or if you can reproduce it even with that compiler, please
use the attach button on this page to attach preprocessed Game.mi.
If that compiler fixes it, please let us know as well.