Frank Heckenbach wrote:
I've uploaded a new alpha to http://www.gnu-pascal.de/alpha/.
Thanks for the new alpha upload.
I tried gpc-20030850 with gcc-3.3.1. and got an internal compiler error while building the runtime library:
../.././xgpc -B../.././ -c -I. -W -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -g -O2 --unit-path=/Users/adriaan/gnu/gpc-20030830/gcc/p/rts --automake `cat needed-options` -DRTS_RELEASE_STRING="'`cat /Users/adriaan/gnu/gpc-20030830/gcc/p/rts/rts-version`'" -DGCC_VERSION="'3.3.1'" /Users/adriaan/gnu/gpc-20030830/gcc/p/rts/string.pas /Users/adriaan/gnu/gpc-20030830/gcc/p/rts/string.pas: In function `TrimBothStr': /Users/adriaan/gnu/gpc-20030830/gcc/p/rts/string.pas:756: internal compiler error: in tree_node_structure, at tree.c:1524 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions. make[2]: *** [string.o] Error 1 make[1]: *** [pascal.rts] Error 2 make: *** [all-gcc] Error 2
The backtrace reads like this:
**********
Date/Time: 2003-08-22 09:21:56 +0200 OS Version: 10.2.4 (Build 6I32) Host: G4.local.
Command: gpc1 PID: 11906
Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_INVALID_ADDRESS (0x0001) at 0x02000008
Thread 0 Crashed: #0 0x0023e9ac in ht_expand (hashtable.c:198) #1 0x0023e8ac in ht_lookup (hashtable.c:173) #2 0x000c3ba8 in get_identifier (stringpool.c:109) #3 0x000048f0 in set_identifier_spelling (declarations.c:1058) #4 0x00016590 in yylex (gpc-lex.c:1361) #5 0x0002fabc in main_yyparse (parse.c:573) #6 0x000980a0 in compile_file (toplev.c:2134) #7 0x0009d308 in do_compile (toplev.c:5384) #8 0x0009d3d4 in toplev_main (toplev.c:5414) #9 0x00002740 in _start (crt.c:267) #10 0x000025c0 in start
PPC Thread State: srr0: 0x0023e9ac srr1: 0x0000d930 vrsave: 0x00000000 xer: 0x00000000 lr: 0x0023e984 ctr: 0x00000000 mq: 0x00000000 r0: 0x00000000 r1: 0xbfffe730 r2: 0x2800824b r3: 0x00ff7000 r4: 0x012ab040 r5: 0x01017000 r6: 0x02000000 r7: 0x01015c74 r8: 0x0000ffff r9: 0x0000c819 r10: 0x0000eeff r11: 0x00036468 r12: 0x00000000 r13: 0x002f5dbc r14: 0x000000c8 r15: 0xbfffeca0 r16: 0x00000075 r17: 0x00000000 r18: 0x002d96ac r19: 0x00000000 r20: 0xbfffeb10 r21: 0x00000001 r22: 0x0086bd00 r23: 0x0000000b r24: 0x00007b2f r25: 0xd96f164e r26: 0x00843890 r27: 0x00007fff r28: 0x00843890 r29: 0x00010000 r30: 0x012ab000 r31: 0x000c3b7c
Regards,
Adriaan van Os