On Wed, 15 Mar 2006, Waldek Hebisch wrote:
Russell Whitaker wrote:
Hi Built gpc using just released gcc-3.4.6 and gpc-20060215:
passed: 5054 unsuported: aregextest.pas fail: fjf9321.pas, fjf932b.pas
both failures got an ICE at the line "with v do"
Russ
This was reported by Angelo Fumagalli. The fix (which I already posted) is :
=================================================================== RCS file: /mn/a8/cvsroot/gpc/p/types.c,v retrieving revision 1.10 diff -u -r1.10 types.c --- p/types.c 15 Feb 2006 02:03:12 -0000 1.10 +++ p/types.c 27 Feb 2006 21:51:28 -0000 @@ -1884,7 +1884,6 @@ tree field2 = sorted_fields[i], ret; if (DECL_NAME (field2) == component) {
gcc_unreachable (); field = field2; break; }
Just now applied patch; did a make clean; make; and full pascal test: same two failures.
uname -a: Linux bigred 2.6.15.5 #1 SMP PREEMPT Fri Mar 3 17:30:44 PST 2006 i686 unknown unknown GNU/Linux
make pascal.check-long MASK="fjf932*" > ~/test 2>&1
rm -f *.dat *.o *.s *.i *.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/*.i todo/*.gpi todo/*.gpd todo/core GP= PC="gpc" PFLAGS=" --autobuild -g -O3 -W -Wall -Wno-unused " PFLAGS_NO_PATHS="-g -O3 -W -Wall -Wno-unused " SRCDIR="." TEST_MAKE_FLAG=test-make-flag "./test_run" fjf932* | tee test_log Test Run By russ on 2006-03-15 10:55:02 Native configuration is i686-pc-linux-gnu (bigred) gpc 20060215, based on gcc-3.4.6, flags: -g -O3 -W -Wall -Wno-unused GPC-TEST-BEGIN ========================== TEST fjf932a.pas: ../../gcc-3.4.6/gcc/p/types.c:1887:find_field: failed assertion `unreachable code' ./fjf932a.pas: In main program: ./fjf932a.pas:73: error: Internal compiler error. Please submit a full bug report to the GPC mailing list gpc@gnu.de. See URL:http://www.gnu-pascal.de/todo.html for details. failed TEST fjf932b.pas: ../../gcc-3.4.6/gcc/p/types.c:1887:find_field: failed assertion `unreachable code' ./fjf932b.pas: In main program: ./fjf932b.pas:62: error: Internal compiler error. Please submit a full bug report to the GPC mailing list gpc@gnu.de. See URL:http://www.gnu-pascal.de/todo.html for details. ./fjf932u.pas: No such program failed
========================== GPC-TEST-END
Hope this helps, Russ