https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114133
Bug ID: 114133 Summary: problem passing a string pointer to a C function on solaris 32 bit and 64 bit Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2 Assignee: gaius at gcc dot gnu.org Reporter: gaius at gcc dot gnu.org Target Milestone: --- This is a follow on from: Bug 114026 - incorrect location during for loop type check which occurred when I added a new testcase and was reported as failing: Two of the new tests FAIL on 32 and 64-bit Solaris/SPARC: +FAIL: gm2/extensions/run/pass/callingc10.mod execution, -O +FAIL: gm2/extensions/run/pass/callingc10.mod execution, -O -g +FAIL: gm2/extensions/run/pass/callingc10.mod execution, -O3 -fomit-frame-point er +FAIL: gm2/extensions/run/pass/callingc10.mod execution, -O3 -fomit-frame-point er -finline-functions +FAIL: gm2/extensions/run/pass/callingc10.mod execution, -Os +FAIL: gm2/extensions/run/pass/callingc10.mod execution, -g +FAIL: gm2/extensions/run/pass/callingc11.mod execution, -O +FAIL: gm2/extensions/run/pass/callingc11.mod execution, -O -g +FAIL: gm2/extensions/run/pass/callingc11.mod execution, -O3 -fomit-frame-pointer +FAIL: gm2/extensions/run/pass/callingc11.mod execution, -O3 -fomit-frame-pointer -finline-functions +FAIL: gm2/extensions/run/pass/callingc11.mod execution, -Os +FAIL: gm2/extensions/run/pass/callingc11.mod execution, -g The failure mode is the same for both: parameter is hello and length 0 executed /var/gcc/regression/master/11.4-gcc/build/gcc/testsuite/gm2/callingc10.x0 with result fail