Waldek Hebisch wrote:
Looks like problem with debug info.
indeed, I can run the testsuite with -g0
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="gpc403d1" PFLAGS=" --autobuild -g -O3 -W -Wall -Wno-unused - g0 " PFLAGS_NO_PATHS="-g -O3 -W -Wall -Wno-unused -g0 " SRCDIR="." TEST_MAKE_FLAG=test-make-flag "./test_run" "*.pas" | tee test_log | "./test_sum" -d Test Run By adriaan on 2006-03-25 21:51:38 Native configuration is powerpc-apple-darwin8 (g5.local)
=== gpc tests ===
Running target any Running testsuite ...
UNSUPPORTED: agettext2test.pas UNSUPPORTED: agettexttest.pas UNSUPPORTED: aregextest.pas UNSUPPORTED: asmtest.pas
FAIL: chief41.pas ./chief41.pas: In function `Str2Charset': ./chief41.pas:6: internal compiler error: in hard_function_value, at explow.c:1541 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://www.gnu-pascal.de/todo.html for instructions. failed
FAIL: fjf1062a.pas /var/tmp//cccboFg7.s:35:non-relocatable subtraction expression, "L2" minus "L00000000001$pb" /var/tmp//cccboFg7.s:35:symbol: "L2" can't be undefined in a subtraction expression /var/tmp//cccboFg7.s:33:non-relocatable subtraction expression, "L2" minus "L00000000001$pb" /var/tmp//cccboFg7.s:33:symbol: "L2" can't be undefined in a subtraction expression /var/tmp//cccboFg7.s:unknown:Undefined local symbol L2 failed
FAIL: fjf1062b.pas /var/tmp//cc1jCse8.s:35:non-relocatable subtraction expression, "L2" minus "L00000000001$pb" /var/tmp//cc1jCse8.s:35:symbol: "L2" can't be undefined in a subtraction expression /var/tmp//cc1jCse8.s:33:non-relocatable subtraction expression, "L2" minus "L00000000001$pb" /var/tmp//cc1jCse8.s:33:symbol: "L2" can't be undefined in a subtraction expression /var/tmp//cc1jCse8.s:unknown:Undefined local symbol L2 failed
FAIL: fjf1062c.pas /var/tmp//cc1Mei4d.s:785:non-relocatable subtraction expression, "L67" minus "L00000000009$pb" /var/tmp//cc1Mei4d.s:785:symbol: "L67" can't be undefined in a subtraction expression /var/tmp//cc1Mei4d.s:783:non-relocatable subtraction expression, "L67" minus "L00000000009$pb" /var/tmp//cc1Mei4d.s:783:symbol: "L67" can't be undefined in a subtraction expression /var/tmp//cc1Mei4d.s:419:non-relocatable subtraction expression, "L35" minus "L00000000005$pb" /var/tmp//cc1Mei4d.s:419:symbol: "L35" can't be undefined in a subtraction expression /var/tmp//cc1Mei4d.s:417:non-relocatable subtraction expression, "L35" minus "L00000000005$pb" /var/tmp//cc1Mei4d.s:417:symbol: "L35" can't be undefined in a subtraction expression /var/tmp//cc1Mei4d.s:35:non-relocatable subtraction expression, "L2" minus "L00000000001$pb" /var/tmp//cc1Mei4d.s:35:symbol: "L2" can't be undefined in a subtraction expression /var/tmp//cc1Mei4d.s:33:non-relocatable subtraction expression, "L2" minus "L00000000001$pb" /var/tmp//cc1Mei4d.s:33:symbol: "L2" can't be undefined in a subtraction expression /var/tmp//cc1Mei4d.s:unknown:Undefined local symbol L2 /var/tmp//cc1Mei4d.s:unknown:Undefined local symbol L35 /var/tmp//cc1Mei4d.s:unknown:Undefined local symbol L67 failed
UNSUPPORTED: fjf165a.pas
FAIL: fjf322.pas ./fjf322.pas: In function `o': gpc1: warnings being treated as errors ./fjf322.pas:8: warning: 'result_0 .length ' is used uninitialized in this function failed
FAIL: fjf403b.pas failed: failed
FAIL: fjf477.pas failed
FAIL: fjf554a.pas ./fjf554a.pas: In function `foo': ./fjf554a.pas:6: internal compiler error: in hard_function_value, at explow.c:1541 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://www.gnu-pascal.de/todo.html for instructions. failed
FAIL: fjf554a2.pas FAIL: fjf554b.pas FAIL: fjf554b2.pas FAIL: fjf554c.pas FAIL: fjf554c2.pas FAIL: fjf554d.pas FAIL: fjf554e.pas FAIL: fjf554f.pas FAIL: fjf554g.pas FAIL: fjf554h.pas FAIL: fjf554i.pas FAIL: fjf554j.pas FAIL: fjf554k.pas FAIL: fjf554l.pas FAIL: fjf554m.pas FAIL: fjf554n.pas FAIL: fjf554o.pas FAIL: fjf554p.pas FAIL: fjf554q.pas FAIL: fjf554r.pas FAIL: fjf554s.pas FAIL: fjf554t.pas FAIL: fjf554u.pas FAIL: fjf554v.pas FAIL: fjf554x.pas same as above (internal compiler error: in hard_function_value, at explow.c:1541)
FAIL: fjf587b.pas ./fjf587b.pas: In procedure `Foo': gpc1: warnings being treated as errors ./fjf587b.pas:5: warning: 'concat_0 ._p_Schema_[3]{lb: 1 sz: 1} ' is used uninitialized in this function failed
FAIL: fjf779a.pas failed: FAIL: fjf779b.pas failed: FAIL: fjf779e.pas failed: FAIL: fjf779f.pas failed: FAIL: fjf779g.pas failed:
FAIL: fjf885.pas same as above (internal compiler error: in hard_function_value, at explow.c:1541)
FAIL: fjf998r.pas failed:
UNSUPPORTED: gmptest.pas
FAIL: goto8.pas ./goto8.pas: In main program: gpc1: warnings being treated as errors ./goto8.pas:10: warning: 'C.155422' may be used uninitialized in this function ./goto8.pas:9: warning: 'saved_stack.155436' may be used uninitialized in this function ./goto8.pas:10: warning: 'nonconstant_expr_1' may be used uninitialized in this function failed
FAIL: inga1a.pas same as above (internal compiler error: in hard_function_value, at explow.c:1541)
FAIL: inga1b.pas same as above (internal compiler error: in hard_function_value, at explow.c:1541)
UNSUPPORTED: longr2.pas FAIL: mir047h.pas
FAIL: nicola4c.pas failed:
FAIL: nmaze.pas ./nmaze.pas: In procedure `perle': gpc1: warnings being treated as errors ./nmaze.pas:20: warning: 'w' may be used uninitialized in this function failed
FAIL: permute.pas ./permute.pas: In procedure `perle': gpc1: warnings being treated as errors ./permute.pas:13: warning: 'w' may be used uninitialized in this function failed
FAIL: peter5c.pas ./peter5c.pas: In method `ObjectB.GetA': gpc1: warnings being treated as errors ./peter5c.pas:16: warning: 'result_3' is used uninitialized in this function failed
FAIL: peter5f.pas ./peter5f.pas: In method `MyCollection.GetDataHandle': gpc1: warnings being treated as errors ./peter5f.pas:9: warning: 'result_0' may be used uninitialized in this function failed
FAIL: prep2p.pas
FAIL: setret.pas same as above (internal compiler error: in hard_function_value, at explow.c:1541)
FAIL: systemtest.pas
=== gpc Summary ===
# of tests 5070 # of expected passes 5010 # of unexpected failures 53 # of unsupported tests 7
gpc403d1 version 20060325, based on gcc-4.0.3
BTW: if the same happens with standalone program (without modules) I should be able to reproduce it.
Sorry, not clear to me what you mean.
Regards,
Adriaan van Os