That is very peculiar, especially given that Delphi has the same problem!  I wonder what's causing that.

Going back to the problem at hand though... seems we have bad code being generated in places on x86_64, but it's not in the peephole optimizer for once!

Gareth aka. Kit

On 26/11/2020 17:25, Bart via fpc-devel wrote:
On Thu, Nov 26, 2020 at 5:00 PM J. Gareth Moreton via fpc-devel
<fpc-devel@lists.freepascal.org> wrote:

program break;
{$apptype console}

begin
   writeln('I am Break');
end.

Compiles with fpc 3.2.0 and Delphi 7.
Outputs nothing at all with both compilers....

If I run it inside GDB
Delphi 7 of fpc:
Starting program: C:\Users\Bart\LazarusProjecten\bugs\breakprog/break.exe
[New Thread 6888.0x26fc]
[New Thread 6888.0x1ea0]
[New Thread 6888.0x6bc]
[New Thread 6888.0x25b0]
I am Break

Program exited normally.



--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to