J. David Bryan wrote:
The attached program causes an "internal compiler error" when compiled using gpc version 20070904, based on gcc-3.4.5 (mingw special), running on Windows XP.
Reproducible on Mac OS X
[p17-2:~/gpc/testgpc/adriaan] adriaan% gpc cstringbug.pas cstringbug.pas: In main program: cstringbug.pas:14: internal compiler error: in assign_stack_temp_for_type, at function.c:660
[p17-2:~/gpc/testgpc/adriaan] adriaan% gpc -v Reading specs from /Developer/Pascal/gpc345u5/lib/gcc/i386-apple-darwin8/3.4.5/specs Configured with: ../gcc-3.4.5/configure --enable-languages=pascal,c --enable-threads=posix --target=i386-apple-darwin8 --host=i386-apple-darwin8 --build=i386-apple-darwin8 --prefix=/Developer/Pascal/gpc345u5 --with-arch=pentium-m --with-tune=prescott Thread model: posix gpc version 20051116, based on gcc-3.4.5
[p17-2:~/gpc/testgpc/adriaan] adriaan% gpc412 cstringbug.pas cstringbug.pas: In main program: cstringbug.pas:14: interne compilerfout: in create_tmp_var, at gimplify.c:410
[p17-2:~/gpc/testgpc/adriaan] adriaan% gpc412 -v Ingebouwde specs worden gebruikt. Configured with: ../gcc-4.1.2/configure --enable-languages=pascal,c --enable-threads=posix --target=i386-apple-darwin9 --host=i386-apple-darwin9 --build=i386-apple-darwin9 --prefix=/Developer/Pascal/gpc412u2 --with-arch=pentium-m --with-tune=prescott Thread model: posix gpc version 20070904, based on gcc-4.1.2
By the way, how can I put off the automatic translation into Dutch (which I find quite irritating).
Regards,
Adriaan van Os