I get this error:
<filename>(15682): fatal error: Internal error: 'Access violation' at 0x0048049c.
when trying to compile this large code:
http://pastebin.com/exALGqBtThis is using the 32-bit Pelles C compiler, and with optimisation on (/Ot). It's OK without optimising, or with the 64-bit compiler. [Version 7.00.25]
Edited to add:
Command line used (via my own IDE) is:
\pec\bin\pocc.exe /IC:\pellesc\include /IC:\pellesc\include\win -Tx86-coff -Ze /Ot \pca1\pccone.c >errors.tmp
OS is Windows 7 64-bit on AMD Athlon II X2.
(Sorry I can't get it any smaller than this 18000-line file; it did originally appear in a 5000-line constituent module, but that has many untidy includes to go with it, and 6000 or so lines is still quite a lot.)
The error seems to be at the 'do_sqrt()' function it refers to; it goes away if line 15692 ('break; case tr64:') is commented out. It also goes away when that function is put into a standalone program.
(The 64-bit compiler doesn't have this problem, however: this particular program often stores addresses of variables and functions in 32-bit slots, but the 64-bit compiler seems to like sometimes assigning addresses above the 32-bit range, such 0x140014480, even though the total code and data is small, which cause other problems!)