Compiling http://www.microbizz.nl/ncurses-20050730.tar.gz with -O1 causes an ICE on Mac OS X.
[G5:~/Desktop/ncurses-gpc-20050730] adriaan% gp firework.pas -O1 /Users/adriaan/Desktop/ncurses-gpc-20050730/ncurses.pas:178: warning: identifiers should not start with an underscore /Users/adriaan/Desktop/ncurses-gpc-20050730/firework.pas: In main program: /Users/adriaan/Desktop/ncurses-gpc-20050730/firework.pas:146: error: insn does not satisfy its constraints: (insn 951 991 952 2 (set (reg:DI 63 f31 [157]) (mem/u/f:DI (lo_sum:SI (reg/u:SI 2 r2) (const:SI (minus:SI (symbol_ref/u:SI ("*LC16") [flags 0x2]) (symbol_ref:SI ("<pic base>"))))) [0 S8 A64])) 325 {*movdi_internal32} (nil) (expr_list:REG_EQUIV (const_int 2 [0x2]) (nil))) /Users/adriaan/Desktop/ncurses-gpc-20050730/firework.pas:146: internal compiler error: in reload_cse_simplify_operands, at postreload.c:391 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://www.gnu-pascal.de/todo.html for instructions.
[G5:~/Desktop/ncurses-gpc-20050730] adriaan% gpc -v Reading specs from /Developer/Pascal/gpc344d2/lib/gcc/powerpc-apple-darwin7/3.4.4/specs Configured with: ../gcc-3.4.4/configure --enable-languages=pascal,c --enable-threads=posix --target=powerpc-apple-darwin7 --host=powerpc-apple-darwin7 --build=powerpc-apple-darwin7 --prefix=/Developer/Pascal/gpc344d2 Thread model: posix gpc version 20050331, based on gcc-3.4.4
Regards,
Adriaan van Os