No problem with macOS 10.14.6 in 32 bit or 64 bit.
$ /usr/local/lib/fpc/3.0.4/ppc386 program.pas
Free Pascal Compiler version 3.0.4 [2018/09/30] for i386
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Darwin for i386
Compiling program.pas
program.pas(8,3) Note: Local variable "B" is assigned but never used
Assembling (pipe) program.s
Linking program
ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)
11 lines compiled, 0.2 sec
1 note(s) issued
$ /usr/local/lib/fpc/3.0.4/ppcx64 program.pas
Free Pascal Compiler version 3.0.4 [2018/09/30] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Darwin for x86_64
Compiling program.pas
program.pas(8,3) Note: Local variable "B" is assigned but never used
Assembling (pipe) program.s
Linking program
11 lines compiled, 0.1 sec
1 note(s) issued