public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug modula2/113559] New: gm2/isolib/run/pass/seqappend.mod FAILs @ 2024-01-23 10:22 ro at gcc dot gnu.org 2024-01-23 10:22 ` [Bug modula2/113559] " ro at gcc dot gnu.org ` (6 more replies) 0 siblings, 7 replies; 8+ messages in thread From: ro at gcc dot gnu.org @ 2024-01-23 10:22 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113559 Bug ID: 113559 Summary: gm2/isolib/run/pass/seqappend.mod FAILs Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2 Assignee: gaius at gcc dot gnu.org Reporter: ro at gcc dot gnu.org Target Milestone: --- Target: i386-pc-solaris2.11, sparc-sun-solaris2.11, s390x-ibm-linux-gnu, m68k-unknown-linux-gnu Since 20230515, the gm2/isolib/run/pass/seqappend.mod test FAILs on 32-bit Solaris/SPARC and x86: FAIL: gm2/isolib/run/pass/seqappend.mod execution, -O FAIL: gm2/isolib/run/pass/seqappend.mod execution, -O -g FAIL: gm2/isolib/run/pass/seqappend.mod execution, -O3 -fomit-frame-pointer FAIL: gm2/isolib/run/pass/seqappend.mod execution, -O3 -fomit-frame-pointer -finline-functions FAIL: gm2/isolib/run/pass/seqappend.mod execution, -Os FAIL: gm2/isolib/run/pass/seqappend.mod execution, -g There are also reports for Linux/s390x and Linux/m68k. The failure is like short read occurred: 10... append test failed ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug modula2/113559] gm2/isolib/run/pass/seqappend.mod FAILs 2024-01-23 10:22 [Bug modula2/113559] New: gm2/isolib/run/pass/seqappend.mod FAILs ro at gcc dot gnu.org @ 2024-01-23 10:22 ` ro at gcc dot gnu.org 2024-01-24 8:22 ` gaius at gcc dot gnu.org ` (5 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: ro at gcc dot gnu.org @ 2024-01-23 10:22 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113559 Rainer Orth <ro at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |14.0 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug modula2/113559] gm2/isolib/run/pass/seqappend.mod FAILs 2024-01-23 10:22 [Bug modula2/113559] New: gm2/isolib/run/pass/seqappend.mod FAILs ro at gcc dot gnu.org 2024-01-23 10:22 ` [Bug modula2/113559] " ro at gcc dot gnu.org @ 2024-01-24 8:22 ` gaius at gcc dot gnu.org 2024-01-24 8:35 ` gaius at gcc dot gnu.org ` (4 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: gaius at gcc dot gnu.org @ 2024-01-24 8:22 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113559 Gaius Mulley <gaius at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2024-01-24 Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED --- Comment #1 from Gaius Mulley <gaius at gcc dot gnu.org> --- Thanks for the bug report - indeed verified the bug and have a fix. ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug modula2/113559] gm2/isolib/run/pass/seqappend.mod FAILs 2024-01-23 10:22 [Bug modula2/113559] New: gm2/isolib/run/pass/seqappend.mod FAILs ro at gcc dot gnu.org 2024-01-23 10:22 ` [Bug modula2/113559] " ro at gcc dot gnu.org 2024-01-24 8:22 ` gaius at gcc dot gnu.org @ 2024-01-24 8:35 ` gaius at gcc dot gnu.org 2024-01-24 9:42 ` gaius at gcc dot gnu.org ` (3 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: gaius at gcc dot gnu.org @ 2024-01-24 8:35 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113559 --- Comment #2 from Gaius Mulley <gaius at gcc dot gnu.org> --- Created attachment 57204 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57204&action=edit Proposed fix Here is the proposed patch - it passes the regression test on x86_32 and x86_64. The full bootstrap tests on both platforms is in progress. ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug modula2/113559] gm2/isolib/run/pass/seqappend.mod FAILs 2024-01-23 10:22 [Bug modula2/113559] New: gm2/isolib/run/pass/seqappend.mod FAILs ro at gcc dot gnu.org ` (2 preceding siblings ...) 2024-01-24 8:35 ` gaius at gcc dot gnu.org @ 2024-01-24 9:42 ` gaius at gcc dot gnu.org 2024-01-24 10:22 ` ro at CeBiTec dot Uni-Bielefeld.DE ` (2 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: gaius at gcc dot gnu.org @ 2024-01-24 9:42 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113559 Gaius Mulley <gaius at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #57204|0 |1 is obsolete| | --- Comment #3 from Gaius Mulley <gaius at gcc dot gnu.org> --- Created attachment 57205 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57205&action=edit Proposed fix v2 Correction the cast should be the signed sizetype CSSIZE_T. ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug modula2/113559] gm2/isolib/run/pass/seqappend.mod FAILs 2024-01-23 10:22 [Bug modula2/113559] New: gm2/isolib/run/pass/seqappend.mod FAILs ro at gcc dot gnu.org ` (3 preceding siblings ...) 2024-01-24 9:42 ` gaius at gcc dot gnu.org @ 2024-01-24 10:22 ` ro at CeBiTec dot Uni-Bielefeld.DE 2024-01-24 13:12 ` cvs-commit at gcc dot gnu.org 2024-01-24 13:14 ` gaius at gcc dot gnu.org 6 siblings, 0 replies; 8+ messages in thread From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2024-01-24 10:22 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113559 --- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #3 from Gaius Mulley <gaius at gcc dot gnu.org> --- > Created attachment 57205 > --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57205&action=edit > Proposed fix v2 > > Correction the cast should be the signed sizetype CSSIZE_T. I've just successfully tested this version on both i386-pc-solaris2.11 and sparc-sun-solaris2.11. Thanks. ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug modula2/113559] gm2/isolib/run/pass/seqappend.mod FAILs 2024-01-23 10:22 [Bug modula2/113559] New: gm2/isolib/run/pass/seqappend.mod FAILs ro at gcc dot gnu.org ` (4 preceding siblings ...) 2024-01-24 10:22 ` ro at CeBiTec dot Uni-Bielefeld.DE @ 2024-01-24 13:12 ` cvs-commit at gcc dot gnu.org 2024-01-24 13:14 ` gaius at gcc dot gnu.org 6 siblings, 0 replies; 8+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2024-01-24 13:12 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113559 --- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Gaius Mulley <gaius@gcc.gnu.org>: https://gcc.gnu.org/g:3de031c96f28f19a68ea2080260d8fd2c78828ee commit r14-8389-g3de031c96f28f19a68ea2080260d8fd2c78828ee Author: Gaius Mulley <gaiusmod2@gmail.com> Date: Wed Jan 24 13:11:46 2024 +0000 PR modula2/113559 FIO.mod lseek requires cssize_t rather than longint This patch fixes a bug in gcc/m2/gm2-libs/FIO.mod which failed to cast the whence parameter into the correct type. The patch casts the whence parameter for lseek to SYSTEM.CSSIZE_T. gcc/m2/ChangeLog: PR modula2/113559 * gm2-libs/FIO.mod (SetPositionFromBeginning): Convert pos into CSSIZE_T during call to lseek. (SetPositionFromEnd): Convert pos into CSSIZE_T during call to lseek. Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com> ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug modula2/113559] gm2/isolib/run/pass/seqappend.mod FAILs 2024-01-23 10:22 [Bug modula2/113559] New: gm2/isolib/run/pass/seqappend.mod FAILs ro at gcc dot gnu.org ` (5 preceding siblings ...) 2024-01-24 13:12 ` cvs-commit at gcc dot gnu.org @ 2024-01-24 13:14 ` gaius at gcc dot gnu.org 6 siblings, 0 replies; 8+ messages in thread From: gaius at gcc dot gnu.org @ 2024-01-24 13:14 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113559 Gaius Mulley <gaius at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Gaius Mulley <gaius at gcc dot gnu.org> --- Thanks for the bug report and testing the bugfix! ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-01-24 13:14 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2024-01-23 10:22 [Bug modula2/113559] New: gm2/isolib/run/pass/seqappend.mod FAILs ro at gcc dot gnu.org 2024-01-23 10:22 ` [Bug modula2/113559] " ro at gcc dot gnu.org 2024-01-24 8:22 ` gaius at gcc dot gnu.org 2024-01-24 8:35 ` gaius at gcc dot gnu.org 2024-01-24 9:42 ` gaius at gcc dot gnu.org 2024-01-24 10:22 ` ro at CeBiTec dot Uni-Bielefeld.DE 2024-01-24 13:12 ` cvs-commit at gcc dot gnu.org 2024-01-24 13:14 ` gaius at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).