Bug 36097 - internal error when compiling objective-c
Summary: internal error when compiling objective-c
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gcc
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-04-16 21:26 UTC by ctm
Modified: 2007-04-18 16:32 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-04-16 21:39:55 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.