Adriaan van Os
gpc at microbizz.nl
Sun Mar 30 12:10:41 CEST 2003
Frank Heckenbach wrote:
> Adriaan van Os wrote:
>>>> It builds on Mac OS X. Testsuite results are as expected (known
>>>> back-end issues)
>>> That's only the nonlocal goto bug (if you apply the backend
>>> patches), or anything else?
> I may have reported it to the GCC people back then. I don't remember
> exactly and I don't feel like looking it up in my old mail. It
> doesn't really matter since they've ignored all my bug reports so
> far, anyway.
> extern int puts (const char *);
> extern void abort (void);
> int main (void)
> __label__ l1;
> void foo (void)
> void bar (void)
> puts ("goto l1");
> goto l1;
> bar ();
> foo ();
> abort ();
> puts ("label l1");
> return 0;
Good news ! I forwarded it to the gcc-bugs at gcc.gnu.org mailing list and
got the following reply:
Geoff Keating wrote:
> Adriaan van Os writes:
>> Does anyone know what the status is of the following problems,
>> encountered with gcc-3.2.1/3.2.2 on Darwin/Mac OS X ?
>> (1) trampolines crash (I have a patch to fix it)
>> (2) longjumps crash (I have a patch to fix it also)
>> (3) non-local goto's don't work, e.g.
> These are all fixed in GCC 3.3.
>> (4) compiling any .c source with -ggdb or -gdwarf-2 (instead of
>> -gstabs or -g) produces the following output:
>> Internal compiler error in default_no_named_section, at varasm.c:5305
> Darwin doesn't really support dwarf2 at present.
> - Geoffrey Keating <geoffk at geoffk.org>
So, this gets solved when gcc-3.3 is released.
Adriaan van Os
More information about the Gpc