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.
-- Dave
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
On 5 Feb 2008 at 19:14, Adriaan van Os wrote:
[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).
Add "--disable-nls" to the "configure" invocation. From the "Installing GCC" manual:
--enable-nls --disable-nls The `--enable-nls' option enables Native Language Support (NLS), which lets GCC output diagnostics in languages other than American English. Native Language Support is enabled by default if not doing a canadian cross build. The `--disable-nls' option disables NLS.
-- Dave
On Tue, 5 Feb 2008, 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.
same error here: gpc version 20070904, based on gcc-4.1.2; Linux i686
cstringbug.pas: In main program: cstringbug.pas:9: internal compiler error: in create_tmp_var, at gimplify.c:410 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://www.gnu-pascal.de/todo.html for instructions.
Russ