[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A beginner's question

From: Gaius Mulley
Subject: Re: A beginner's question
Date: Thu, 13 Apr 2023 17:18:34 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Rudolf Schubert <> writes:

Hi Rudolf,

> 1.      With WriteString from TextIO I can use this 'construct' with GPM
> WriteString(cid, 15C+12C);
> With GM2 compilation goes fine but when run I get:
> RTExceptions.mod:648:35: In invalidloc
> RTExceptions.mod:648:35:invalid address referenced
> I did not dig too deep into this, perhaps the construct '15C+12C' here
> is not quite 'legal'? But instead I now use this little helper and
> everything is fine:

Thanks for the bug reports - I filed them under on GCC bugzilla under:

Bug 109496 - Cannot pass a constant char to an array of char formal

Bug 109497 - Adding two constant chars should result in a string of two

both are now fixed in the latest gcc git repro and test cases added to
the testsuite,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]