This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
latest GCC breaks Objective-C compiler
- To: gcc at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org
- Subject: latest GCC breaks Objective-C compiler
- From: Ovidiu Predescu <ovidiu at cup dot hp dot com>
- Date: Sun, 08 Oct 2000 01:58:16 -0700
Hi,
It looks like the latest top-of-the-trunk GCC breaks the Objective-C compiler.
I've checked in the repository two tests, np-1.m and np-2.m, that show the
error. The programs are very simple, valid Objective-C programs. Here is the
compiler's error message from the first one; the compilation of the second
program gives a similar error:
/home/ovidiu/src/gcc/gcc/testsuite/objc/execute/np-1.m:18: two or more data types in declaration of `type name'
/home/ovidiu/src/gcc/gcc/testsuite/objc/execute/np-1.m:18: two or more data types in declaration of `type name'
/home/ovidiu/src/gcc/gcc/testsuite/objc/execute/np-1.m:18: two or more data types in declaration of `_i_MyObject__methodA'
/home/ovidiu/src/gcc/gcc/testsuite/objc/execute/np-1.m: In function `-[MyObject methodA]':
/home/ovidiu/src/gcc/gcc/testsuite/objc/execute/np-1.m:18: two or more data types in declaration of `type name'
/home/ovidiu/src/gcc/gcc/testsuite/objc/execute/np-1.m: In function `main':
/home/ovidiu/src/gcc/gcc/testsuite/objc/execute/np-1.m:26: two or more data types in declaration of `type name'
/home/ovidiu/src/gcc/gcc/testsuite/objc/execute/np-1.m: In function `__objc_tmp_0':
/home/ovidiu/src/gcc/gcc/testsuite/objc/execute/np-1.m:30: two or more data types in declaration of `type name'
The tests exercise a very basic functionality in Objective-C and I think it's
pretty bad the compiler fails like this (it used to work fine until maybe a
month and a half ago). I didn't have time to investigate the errors, I hope
I'll have some time in the next few days. If somebody has ideas what could be
wrong, it would be great.
Regards,
--
Ovidiu Predescu <ovidiu@cup.hp.com>
http://orion.nsr.hp.com/ (inside HP's firewall only)
http://www.geocities.com/SiliconValley/Monitor/7464/
PGP signature