<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>I got a fix.</p>
<p><a class="moz-txt-link-freetext" href="https://bugs.freepascal.org/view.php?id=38129">https://bugs.freepascal.org/view.php?id=38129</a></p>
<p>It's not perfect because CSE becomes less efficient, but it
appears to fix the bug. Someone with more knowledge of this part
of the compiler might be able to improve on it in the future.
x86_64-win64 and aarch64-linux tests all pass. I'm not yet sure
if it fixes the -O2 bugs reported on aarch64 specifically - those
will have to be tested when this fix (or another one) goes live.<br>
</p>
<p>Gareth aka. Kit<br>
</p>
<div class="moz-cite-prefix">On 27/11/2020 19:47, J. Gareth Moreton
via fpc-devel wrote:<br>
</div>
<blockquote type="cite"
cite="mid:00fde71f-7aae-1d2b-645c-081c42114705@moreton-family.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<p>Crumbs, this minor aside has blown up more than the original
problem!</p>
<p>To get back on topic, it seems there's a bug with one of the
node code generators under -O2 and above. It's not something
I've researched that deeply, but I would like to see it fixed.
First though we need to find which node is malfunctioning.<br>
</p>
<p>Gareth aka. Kit<br>
</p>
<div class="moz-cite-prefix">On 27/11/2020 19:43, Alexander
Grotewohl via fpc-devel wrote:<br>
</div>
<blockquote type="cite"
cite="mid:MN2PR03MB5296482DA77ED999A4D9A4D1C5F80@MN2PR03MB5296.namprd03.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div style="color: rgb(33, 33, 33); background-color: rgb(255,
255, 255); text-align: left;" dir="auto"> "break" is a windows
built-in. explains the first attempt.</div>
<div id="ms-outlook-mobile-signature">
<div><br>
</div>
--<br>
Alexander Grotewohl<br>
<a href="https://dcclost.com" target="_blank"
moz-do-not-send="true">https://dcclost.com</a></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
face="Calibri, sans-serif" color="#000000"><b>From:</b>
fpc-devel <a class="moz-txt-link-rfc2396E"
href="mailto:fpc-devel-bounces@lists.freepascal.org"
moz-do-not-send="true"><fpc-devel-bounces@lists.freepascal.org></a>
on behalf of Tomas Hajny via fpc-devel <a
class="moz-txt-link-rfc2396E"
href="mailto:fpc-devel@lists.freepascal.org"
moz-do-not-send="true"><fpc-devel@lists.freepascal.org></a><br>
<b>Sent:</b> Friday, November 27, 2020 11:16:26 AM<br>
<b>To:</b> FPC developers' list <a
class="moz-txt-link-rfc2396E"
href="mailto:fpc-devel@lists.freepascal.org"
moz-do-not-send="true"><fpc-devel@lists.freepascal.org></a><br>
<b>Cc:</b> Tomas Hajny <a class="moz-txt-link-rfc2396E"
href="mailto:XHajT03@hajny.biz" moz-do-not-send="true"><XHajT03@hajny.biz></a><br>
<b>Subject:</b> Re: [fpc-devel] Might need some help with
this one</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span
style="font-size:11pt;">
<div class="PlainText">On 2020-11-27 15:34, Bart via
fpc-devel wrote:<br>
> On Thu, Nov 26, 2020 at 11:10 PM Tomas Hajny via
fpc-devel<br>
> <a class="moz-txt-link-rfc2396E"
href="mailto:fpc-devel@lists.freepascal.org"
moz-do-not-send="true"><fpc-devel@lists.freepascal.org></a>
wrote:<br>
> <br>
>> Typing 'break.exe' in cmd.exe _does_ make a
difference here (it <br>
>> executes<br>
>> as expected unlike when typing just 'break').
And obviously running<br>
>> break.exe using some other 'shell' (e.g. your
preferred OFM ;-) ) <br>
>> works<br>
>> as well.<br>
> <br>
> Well, at my machine it did not.<br>
> I also called it from a batchfile (as break.exe) to
see if I could<br>
> catch the errorlevel (I let it crash with a
division by zero).<br>
> The errorlevel is set, but absolutely no output to
screen or pipe.<br>
<br>
Understood. Haven't I already mentioned something about
MS approach <br>
towards compatibility here recently? :/<br>
<br>
-------------------<br>
D:\TEMP>cmd<br>
Microsoft Windows [Version 10.0.18363.1082]<br>
(c) 2019 Microsoft Corporation. Všechna práva vyhrazena.<br>
<br>
D:\TEMP>break<br>
<br>
D:\TEMP>break.exe<br>
I am Break<br>
<br>
D:\TEMP>.\break<br>
I am Break<br>
<br>
D:\TEMP><br>
===================<br>
<br>
Tomas<br>
_______________________________________________<br>
fpc-devel maillist - <a
class="moz-txt-link-abbreviated"
href="mailto:fpc-devel@lists.freepascal.org"
moz-do-not-send="true">fpc-devel@lists.freepascal.org</a><br>
<a
href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel"
moz-do-not-send="true">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a><br>
</div>
</span></font></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
fpc-devel maillist - <a class="moz-txt-link-abbreviated" href="mailto:fpc-devel@lists.freepascal.org" moz-do-not-send="true">fpc-devel@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel" moz-do-not-send="true">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a>
</pre>
</blockquote>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top: 1px solid #D3D4DE;">
<tbody>
<tr>
<td style="width: 55px; padding-top: 13px;"><a
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient"
target="_blank" moz-do-not-send="true"><img
src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif"
alt="" style="width: 46px; height: 29px;"
moz-do-not-send="true" width="46" height="29"></a></td>
<td style="width: 470px; padding-top: 12px; color:
#41424e; font-size: 13px; font-family: Arial, Helvetica,
sans-serif; line-height: 18px;">Virus-free. <a
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient"
target="_blank" style="color: #4453ea;"
moz-do-not-send="true">www.avast.com</a> </td>
</tr>
</tbody>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1"
height="1" moz-do-not-send="true"> </a></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
fpc-devel maillist - <a class="moz-txt-link-abbreviated" href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a>
</pre>
</blockquote>
</body>
</html>