Re: Diagnostic advice for "Internal compiler error in ?" ?

Ross Patterson via Gcc-help <[email protected]> Sun, 14 Jun 2026 08:47:16 -0400
Newsgroups gmane.comp.gcc.help
Message-ID <CAEW5ycLRmu48SRdfif6Zu3PzEMK_cPNSZQkybYVT_46oEfAGcw@mail.gmail.com>
On Sun, Jun 14, 2026 at 08:35 Vadim V Konovalov <
[email protected]> wrote:

> I think this is about GCC on MVS (gccmvs.sourceforge.net).


That's the correct GCC port, but it's running on VM/CMS, which is one of
the supported environments.


The reason here is that 64bit integer arithmetic not actually implemented.
> The simple solution is to avoid "long long" - seek for definition of
> 64-bit integers in your CREXX header files and replace these by 32 ints.


Thank you.  I would never have thought to look for a construct that was
valid syntax but not implemented in the back end.

To "fix" the problem in compiler, you need to implement 64bit arithmetic,
> somewhere in ./gcc/config/i379/i370.md file.


With the hint about 64-bit ints, I'm going to see if I can fix the
application instead of the compiler.

Paul Edwards, who implemented the port, is active here from time to time,
> so probably he can help.


Yup, this is Paul's port of GCC.

Ross