<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I wanted a test following compile 1'000'000x WriteLn.<br>
<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<pre class="laz" style="margin: 0px; padding: 0px; font-family:
monospace; white-space: normal; color: rgb(0, 0, 0); font-size:
13px; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: 18.2px; orphans:
auto; text-align: start; text-indent: 0px; text-transform: none;
widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);"><span class="kw1"
style="margin: 0px; padding: 0px; color: rgb(0, 0, 0);
font-weight: bold;">program</span><span
class="Apple-converted-space"> </span>Project1;<br
style="margin: 0px; padding: 0px;">
<span class="kw1" style="margin: 0px; padding: 0px; color: rgb(0,
0, 0); font-weight: bold;">begin</span><br style="margin: 0px;
padding: 0px;">
WriteLn<span class="br0" style="margin: 0px; padding: 0px;
color: rgb(0, 153, 0);">(</span><span class="nu0" style="margin:
0px; padding: 0px; color: rgb(0, 0, 128);">1</span><span
class="br0" style="margin: 0px; padding: 0px; color: rgb(0, 153,
0);">)</span>;<br style="margin: 0px; padding: 0px;">
WriteLn<span class="br0" style="margin: 0px; padding: 0px;
color: rgb(0, 153, 0);">(</span><span class="nu0" style="margin:
0px; padding: 0px; color: rgb(0, 0, 128);">2</span><span
class="br0" style="margin: 0px; padding: 0px; color: rgb(0, 153,
0);">)</span>;<br style="margin: 0px; padding: 0px;">
<span class="Apple-converted-space"> </span><span class="co1"
style="margin: 0px; padding: 0px; color: rgb(0, 0, 255);
font-weight: bold;">// ...........</span><br style="margin: 0px;
padding: 0px;">
WriteLn<span class="br0" style="margin: 0px; padding: 0px;
color: rgb(0, 153, 0);">(</span><span class="nu0" style="margin:
0px; padding: 0px; color: rgb(0, 0, 128);">1000000</span><span
class="br0" style="margin: 0px; padding: 0px; color: rgb(0, 153,
0);">)</span>;<br style="margin: 0px; padding: 0px;">
<span class="kw1" style="margin: 0px; padding: 0px; color: rgb(0,
0, 0); font-weight: bold;">end</span>. <span
class="Apple-converted-space"> <br>
<br>
</span></pre>
<span class="Apple-converted-space">Then breaks the compiler from
the following error.</span><br>
<span class="Apple-converted-space"><br>
</span>
<pre><span class="Apple-converted-space">$ fpc pascaltest.pas
Free Pascal Compiler version 3.1.1 [2016/01/07] for x86_64
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling pascaltest.pas
pascaltest.pas(7282,3) Fatal: Procedure too complex, it requires too many registers
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode
</span></pre>
<span class="Apple-converted-space">WinXP:<br>
<br>
</span>
<pre><span class="Apple-converted-space">>fpc pascaltest.pas</span></pre>
<pre><span class="Apple-converted-space">Free Pascal Compiler version 3.0.0 [2015/12/07] for i386</span></pre>
<pre><span class="Apple-converted-space">Copyright (c) 1993-2015 by Florian Klaempfl and others</span></pre>
<pre><span class="Apple-converted-space">Target OS: Win32 for i386</span></pre>
<pre><span class="Apple-converted-space">Compiling pascaltest.pas</span></pre>
<pre><span class="Apple-converted-space">Fatal: No memory left</span></pre>
<pre><span class="Apple-converted-space">Error: c:\lazarus\fpc\3.0.0\bin\i386-win32\ppc386.exe returned an error exitcode</span></pre>
<pre><span class="Apple-converted-space"></span></pre>
<span class="Apple-converted-space"></span>
<pre><span class="Apple-converted-space"></span></pre>
<span class="Apple-converted-space"><br>
</span><br>
<br>
</body>
</html>