public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug modula2/113768] New: gm2/extensions/run/pass/vararg2.mod FAILs
@ 2024-02-05 14:07 ro at gcc dot gnu.org
2024-02-05 14:07 ` [Bug modula2/113768] " ro at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: ro at gcc dot gnu.org @ 2024-02-05 14:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113768
Bug ID: 113768
Summary: gm2/extensions/run/pass/vararg2.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: sparc*-sun-solaris2.11, s390x-ibm-linux-gnu,
m68k-unknown-linux-gnu
The gm2/extensions/run/pass/vararg2.mod test FAILs on Solaris/SPARC (32 and
64-bit) since its introduction:
FAIL: gm2/extensions/run/pass/vararg2.mod execution, -O
FAIL: gm2/extensions/run/pass/vararg2.mod execution, -O -g
FAIL: gm2/extensions/run/pass/vararg2.mod execution, -O3 -fomit-frame-pointer
FAIL: gm2/extensions/run/pass/vararg2.mod execution, -O3 -fomit-frame-pointer
-finline-functions
FAIL: gm2/extensions/run/pass/vararg2.mod execution, -Os
FAIL: gm2/extensions/run/pass/vararg2.mod execution, -g
There are also gcc-testresults reports for Linus/s390x and Linux/m68k.
On Solaris, the test prints
parameter is hello world and length 0
executed
/var/gcc/regression/master/11.4-gcc/build/gcc/testsuite/gm21/vararg2.x0 with
result fail
All affected targets are big-endian, though I don't yet see how this affects
the test.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug modula2/113768] gm2/extensions/run/pass/vararg2.mod FAILs
2024-02-05 14:07 [Bug modula2/113768] New: gm2/extensions/run/pass/vararg2.mod FAILs ro at gcc dot gnu.org
@ 2024-02-05 14:07 ` ro at gcc dot gnu.org
2024-02-27 17:41 ` gaius at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: ro at gcc dot gnu.org @ 2024-02-05 14:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113768
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |14.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug modula2/113768] gm2/extensions/run/pass/vararg2.mod FAILs
2024-02-05 14:07 [Bug modula2/113768] New: gm2/extensions/run/pass/vararg2.mod FAILs ro at gcc dot gnu.org
2024-02-05 14:07 ` [Bug modula2/113768] " ro at gcc dot gnu.org
@ 2024-02-27 17:41 ` gaius at gcc dot gnu.org
2024-05-07 7:44 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: gaius at gcc dot gnu.org @ 2024-02-27 17:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113768
Gaius Mulley <gaius at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2024-02-27
Status|UNCONFIRMED |ASSIGNED
--- Comment #1 from Gaius Mulley <gaius at gcc dot gnu.org> ---
Thanks this is a duplicate of Bug 114133 (or visa versa).
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug modula2/113768] gm2/extensions/run/pass/vararg2.mod FAILs
2024-02-05 14:07 [Bug modula2/113768] New: gm2/extensions/run/pass/vararg2.mod FAILs ro at gcc dot gnu.org
2024-02-05 14:07 ` [Bug modula2/113768] " ro at gcc dot gnu.org
2024-02-27 17:41 ` gaius at gcc dot gnu.org
@ 2024-05-07 7:44 ` rguenth at gcc dot gnu.org
2024-05-07 18:57 ` cvs-commit at gcc dot gnu.org
2024-05-07 18:58 ` gaius at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-05-07 7:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113768
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|14.0 |14.2
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 14.1 is being released, retargeting bugs to GCC 14.2.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug modula2/113768] gm2/extensions/run/pass/vararg2.mod FAILs
2024-02-05 14:07 [Bug modula2/113768] New: gm2/extensions/run/pass/vararg2.mod FAILs ro at gcc dot gnu.org
` (2 preceding siblings ...)
2024-05-07 7:44 ` rguenth at gcc dot gnu.org
@ 2024-05-07 18:57 ` cvs-commit at gcc dot gnu.org
2024-05-07 18:58 ` gaius at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-05-07 18:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113768
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Gaius Mulley
<gaius@gcc.gnu.org>:
https://gcc.gnu.org/g:07dab3f6b56c711dcd737d856cf01a597a2e1626
commit r14-10179-g07dab3f6b56c711dcd737d856cf01a597a2e1626
Author: Gaius Mulley <gaiusmod2@gmail.com>
Date: Tue May 7 19:51:08 2024 +0100
[PR modula2/113768][PR modula2/114133] bugfix constants must be cast prior
to vararg call
This bug fix corrects the test codes below by converting the constant
literals to the type required by C. In the testcases below the values, 1
etc were converted into the INTEGER type before being passed to a C
vararg function. By default in modula2 constant literal ordinals are
represented as the ZTYPE (the largest GCC integer type node).
gcc/testsuite/ChangeLog:
PR modula2/113768
PR modula2/114133
* gm2/extensions/run/pass/callingc10.mod: Convert constant literal
numbers into INTEGER.
* gm2/extensions/run/pass/callingc11.mod: Ditto.
* gm2/extensions/run/pass/vararg2.mod: Ditto.
* gm2/iso/run/pass/packed.mod: Emit a printf as a runtime
diagnostic.
Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug modula2/113768] gm2/extensions/run/pass/vararg2.mod FAILs
2024-02-05 14:07 [Bug modula2/113768] New: gm2/extensions/run/pass/vararg2.mod FAILs ro at gcc dot gnu.org
` (3 preceding siblings ...)
2024-05-07 18:57 ` cvs-commit at gcc dot gnu.org
@ 2024-05-07 18:58 ` gaius at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: gaius at gcc dot gnu.org @ 2024-05-07 18:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113768
Gaius Mulley <gaius at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #4 from Gaius Mulley <gaius at gcc dot gnu.org> ---
Closing now that the patch has been applied.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-05-07 18:58 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-05 14:07 [Bug modula2/113768] New: gm2/extensions/run/pass/vararg2.mod FAILs ro at gcc dot gnu.org
2024-02-05 14:07 ` [Bug modula2/113768] " ro at gcc dot gnu.org
2024-02-27 17:41 ` gaius at gcc dot gnu.org
2024-05-07 7:44 ` rguenth at gcc dot gnu.org
2024-05-07 18:57 ` cvs-commit at gcc dot gnu.org
2024-05-07 18:58 ` 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).