Created attachment 357344 [details]
This is the preprocessor output for the file I was trying to compile.
Description of problem:
gcc aborts with an internal compiler error on a seemingly innocuous line in a simple Objective-C program.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Compile the attached file
The compiler aborts in the middle of compilation with an internal compiler error.
The compiler should give me an actual error message about my source code or compile the program successfully.
Created attachment 357491 [details]
Preprocessor output for the working version of the file I was trying to compile
Silly me, the compiler options I was using turn out to be important. I should've thought of that right away. Here is the compiler command line I was using:
gcc -fobjc-gc letterset.m
Also, I've attached a new version of the preprocessor output as I managed to debug the program on an OS X box I have around. This program will actually work if you can compile it. It does work without -fobjc-gc on Fedora 11.
-fobjc-gc isn't meant to be used with the GNU runtime, only with the next runtime. Upstream has a bugreport open requesting an error when trying to use -fobjc-gc with -fgnu-runtime.
And, as I understand it, Fedora doesn't ship with the Next runtime. :-(