https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119779
Bug ID: 119779
Summary: ASM examples no longer work
Product: gcc
Version: 15.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: ---
A spin off from PR-119751
The documentation examples no longer work, for example: I tried a code snippet
from https://gcc.gnu.org/onlinedocs/gm2/Assembly-language.html („2.17 Interface
to assembly language”) — simply by including that proc definition into that
„coroutine example” module.
Unfortunately, both examples generate error message instead of code:
coex2.mod: Assembler messages:
coex2.mod:22: Error: operand type mismatch for `movq'
So either something isn't right with both examples — or there's a need to
describe something MORE DETAILED WAY immediately on the very same page (if it
was my mistake?); that's what the docs are for, anyway.