From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B486F3858C78; Tue, 27 Feb 2024 15:24:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B486F3858C78 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709047463; bh=zCqGUYj0byCP9Shoq3GVc5PjUsSxhPFvR3YGAqSUkVc=; h=From:To:Subject:Date:From; b=jmUYVG1CfvmxtvBJIeUJTDG7u2gsp7FB2uhHqluj61obTGASyvk7Ct1Vq0gEVs3tn sk1vCPzZnL9q95JC6h3+WSF9VTTUtgyiEIE4jCHzfn7UhM+aydwp8498bTID9urYjn KVevxQ4dEo3/X5eerxDUAwu7kGnBSCzFnsTWSrVU= From: "gaius at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug modula2/114133] New: problem passing a string pointer to a C function on solaris 32 bit and 64 bit Date: Tue, 27 Feb 2024 15:24:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: modula2 X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gaius at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: gaius at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114133 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=20 +FAIL: gm2/extensions/run/pass/callingc10.mod execution, -O -g=20 +FAIL: gm2/extensions/run/pass/callingc10.mod execution, -O3 -fomit-frame-point er=20 +FAIL: gm2/extensions/run/pass/callingc10.mod execution, -O3 -fomit-frame-point er -finline-functions=20 +FAIL: gm2/extensions/run/pass/callingc10.mod execution, -Os=20 +FAIL: gm2/extensions/run/pass/callingc10.mod execution, -g=20 +FAIL: gm2/extensions/run/pass/callingc11.mod execution, -O=20 +FAIL: gm2/extensions/run/pass/callingc11.mod execution, -O -g=20 +FAIL: gm2/extensions/run/pass/callingc11.mod execution, -O3 -fomit-frame-pointer=20 +FAIL: gm2/extensions/run/pass/callingc11.mod execution, -O3 -fomit-frame-pointer -finline-functions=20 +FAIL: gm2/extensions/run/pass/callingc11.mod execution, -Os=20 +FAIL: gm2/extensions/run/pass/callingc11.mod execution, -g=20 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 w= ith result fail=