Skip to content

string/pchar inline causing access violation on x86_64

Summary

with inline, my string comparison function crashes

without inline, it does not crash

System Information

  • Processor architecture: x86-64
  • Compiler version: trunk

Steps to reproduce

Compile the example project with -O1

Example Project

cccc.pas

What is the current bug behavior?

it crashes

What is the expected (correct) behavior?

it should not crash

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information