Adriaan van Os a écrit:
Below is a report of an internal error in gpc for fjf664.pas.
I can send in more information if needed.
Regards,
Adriaan van Os
Last login: Mon Jan 6 18:20:47 on ttyp1 Welcome to Darwin! [G4:~] adriaan% cd test/testp [G4:~/test/testp] adriaan% gpc -v Reading specs from /usr/local/gpc321d2/lib/gcc-lib/powerpc-apple-darwin6.0/3.2.1/specs Configured with: /Users/adriaan/gpc-3.2.1/configure --enable-languages=pascal --prefix=/usr/local/gpc321d2 Thread model: single gpc version 20021128, based on gcc-3.2.1 [G4:~/test/testp] adriaan% make clean rm -f *.dat *.o *.s *.gpm *.gpi *.gpd *.gpc core a.out stderr.out *.exe testmake.tmp dummy.c dummy.pas dummy.out diff_cr*.tmp fixcr fixcr.exe rm -f todo/a.out todo/*.exe todo/*.o todo/*.s todo/*.gpm todo/*.gpi todo/*.gpd todo/core [G4:~/test/testp] adriaan% make MASK="fjf664.pas"
There is a problem with debugging with gcc-3.2.1 / gpc. From a message of Franck, when announcing this alpha:
------------------------------------------------------------
PS: Forgot to mention, since stabs is not the default with gcc-3, you must give `-gstabs' instead of simply `-g' to use it.
In particular, if you're going to send test results, add `EXTRA_TEST_PFLAGS=-g0' (at least under Linux).
------------------------------------------------------------
Running the GPC Test Suite. This may take a while ...
rm -f *.dat *.o *.s *.gpm *.gpi *.gpd *.gpc core a.out stderr.out *.exe testmake.tmp dummy.c dummy.pas dummy.out diff_cr*.tmp fixcr fixcr.exe rm -f todo/a.out todo/*.exe todo/*.o todo/*.s todo/*.gpm todo/*.gpi todo/*.gpd todo/core { gpc --version | head -1; gpc --print-search-dirs | grep install | head -1; hostname || echo "unknown host"; } | \ sed -e 's,^,Testing ,;N;s,\n.*gcc-lib[/], (,;s,[/].*,),;N;s,\n, (,;s,$,),' Testing gpc 20021128, based on gcc-3.2.1 (powerpc-apple-darwin6.0) (G4.local.) echo "gpc -g -O3 -W -Wall -Wundef -Wpointer-arith -Wno-unused " gpc -g -O3 -W -Wall -Wundef -Wpointer-arith -Wno-unused PC="gpc" PFLAGS="--autobuild -g -O3 -W -Wall -Wundef -Wpointer-arith -Wno-unused " SRCDIR="." TEST_MAKE_FLAG=test-make-flag "./test_run" "fjf664.pas" | "./test_sum" TEST fjf664.pas: gpc: Internal error: Illegal instruction (program gpc1) Please submit a full bug report to gpc@gnu.de. failed
Maurice