https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108404
Gaius Mulley changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108404
--- Comment #8 from Iain Sandoe ---
(In reply to Gaius Mulley from comment #7)
> I wonder if this bug has now been fixed via the other PR fixes.
> Specifically the rewrite of RTco.cc, the defensive use of select, bugfixes
> to HIGH and FIO.mod
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108404
--- Comment #7 from Gaius Mulley ---
I wonder if this bug has now been fixed via the other PR fixes. Specifically
the rewrite of RTco.cc, the defensive use of select, bugfixes to HIGH and
FIO.mod (memcpy parameters)? It might be worth a re-run
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108404
--- Comment #6 from Iain Sandoe ---
(In reply to Gaius Mulley from comment #5)
> I've committed the patch above - since the source tree without it definitely
> has a mismatched prototype. The exit issue needs to be resolved before
> this PR ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108404
--- Comment #5 from Gaius Mulley ---
I've committed the patch above - since the source tree without it definitely
has a mismatched prototype. The exit issue needs to be resolved before this
PR can close.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108404
--- Comment #4 from Iain Sandoe ---
Works for me - now the failing test cases produce a diagnostic;
/src-local/gcc-master/libgm2/libm2iso/RTco.cc:373:in initThread has caused
failed to set stack size attribute
Although it does not seem to exi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108404
Gaius Mulley changed:
What|Removed |Added
CC||gaius at gcc dot gnu.org
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108404
--- Comment #2 from Gaius Mulley ---
For completeness if Modula-2 calls a C function defined in a DEFINITION FOR "C"
module then it will pass a "hello world" as a pointer to a null terminated
character sequence. All strings gm2 generate are nul
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108404
--- Comment #1 from Gaius Mulley ---
Ah the ARRAY OF CHAR is passed as: struct { char *contents; unsigned int high
}.
(Even if VAR or non VAR). The effect of non VAR is for the callee to take a
copy.
Essentially if RTco calls halt it should: