Internal Error 200109092 when manually compiling Lazarus


<h3><details><summary>Original Reporter info from Mantis: <small>CuriousKit @CuriousKit</small></summary><small>

- **Reporter name:** J. Gareth Moreton
</small></details></h3>

## Description:

After updating FPC to the latest trunk, Manually compiling Lazarus using FPC under Win64 via the command prompt raises Internal Error 200109092, which indicates an invalid loc parameter in "tcg.a_load_loc_reg" in "unit /compiler/cgobj.pas".  i.e:

lazsyntextarea.pp(1106,27) Fatal: Internal error 200109092<br/>
Fatal: Compilation aborted

## Steps to reproduce:

Build the x86_64-win64 build of FPC ("svn info" identifies the current revision as 43434) using "make clean all install", then from your Lazarus source directory (tested with a fresh pull of its own trunk), run the following command from the Windows command prompt (Replace "C:\pp" with wherever FPC has been installed after it is built):

C:\pp\bin\x86_64-win64\ppcx64 -Mobjfpc -FE -g- -Xs -FuC:\pp\units\x86_64-win64\fcl-db\src\sqldb -FuC:\pp\units\x86_64-win64\libtar\src -FuC:\pp\units\x86_64-win64\fpmkunit\src -Fupackager -FuC:\pp\units\x86_64-win64\fppkg\src -FlC:\pp\units\x86_64-win64\rtl -FuC:\pp\units\x86_64-win64\rtl -FiC:\pp\units\x86_64-win64\rtl\inc -FiC:\pp\units\x86_64-win64\rtl\win -FiC:\pp\units\x86_64-win64\rtl\win64 -FiC:\pp\units\x86_64-win64\rtl\x86_64 -FiC:\pp\units\x86_64-win64\rtl\win\wininc -FuC:\pp\units\x86_64-win64\rtl\win -FiC:\pp\units\x86_64-win64\rtl\objpas\sysutils -Fiide\include -FuC:\pp\units\x86_64-win64\rtl\inc -FuC:\pp\units\x86_64-win64\rtl\objpas -Fulcl\interfaces\win32 -Fucomponents\lazutils -FiC:\pp\units\x86_64-win64\rtl\objpas\classes -FuC:\pp\units\x86_64-win64\rtl-objpas\src\inc -FuC:\pp\units\x86_64-win64\fcl-base\src -Fulcl -FuC:\pp\units\x86_64-win64\fcl-image\src -Filcl\include -FuC:\pp\units\x86_64-win64\winunits-base\src -FuC:\pp\units\x86_64-win64\rtl-objpas\src\win -FiC:\pp\units\x86_64-win64\rtl-objpas\src\inc -FuC:\pp\units\x86_64-win64\paszlib\src -FuC:\pp\units\x86_64-win64\hash\src -FuC:\pp\units\x86_64-win64\pasjpeg\src -Fulcl\widgetset -Fucomponents\lazutils -FuC:\pp\units\x86_64-win64\fcl-process\src -FiC:\pp\units\x86_64-win64\fcl-process\src\win -FuC:\pp\units\x86_64-win64\chm\src -FuC:\pp\units\x86_64-win64\fcl-json\src -Fulcl\forms -Fucomponents\codetools -Fiide\include\win64 -Fucomponents\ideintf -Fucomponents\lazcontrols -Fucomponents\debuggerintf -Fudebugger -Fucomponents\synedit -FuC:\pp\units\x86_64-win64\fcl-registry\src -FuC:\pp\units\x86_64-win64\regexpr\src -Fupackager\registration -FuC:\pp\units\x86_64-win64\fcl-db\src\base -Fucomponents\ideintf -FuC:\pp\units\x86_64-win64\fcl-res\src -Fupackager -Fudesigner -Fuide\frames -FuC:\pp\units\x86_64-win64\fcl-xml\src -FuC:\pp\units\x86_64-win64\fcl-extra\src\win -FuC:\pp\units\x86_64-win64\winunits-jedi\src -FuC:\pp\units\x86_64-win64\fcl-db\src\dbase -FiC:\pp\units\x86_64-win64\fcl-process\src\winall -FiC:\pp\units\x86_64-win64\fcl-base\src\win -Fucomponents\lazdebuggergdbmi -Fudebugger\frames -Fuconverter -Fupackager\frames -O3 ide\lazarus.pp -B

## Additional information:

Using the "make" command on Lazarus does not raise the error.

I'm willing to accept that I might have gotten something wrong with the directories or the configuration, but an Internal Error is in the same category as assertions and is a bug no matter how incorrect one's configuration is.

Currently it is blocking my work on the jump optimisations (I updated my local FPC copy to the most recent trunk revision in order to test my patches).

## Mantis conversion info:

- **Mantis ID:** 36287
- **OS:** Microsoft Windows
- **OS Build:** 10 Professional
- **Build:** r43434
- **Platform:** x86_64-win64
- **Version:** 3.3.1

Story points: 100.0