compiler: compilation of sting scanning routine with sets fails at -O2
Original Reporter info from Mantis: AntonK
-
Reporter name: Anton Kavalenka
Original Reporter info from Mantis: AntonK
- Reporter name: Anton Kavalenka
Description:
Attached example can not be compiled at -O2 and greater with FPC 3.1.1 r31614
Steps to reproduce:
/usr/local/lib/fpc/3.1.1/ppc386 -Mdelphi -Cg a.pas -O2
Free Pascal Compiler version 3.1.1 [2015/09/12] for i386
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Linux for i386
Compiling a.pas
a.pas(13,5) Fatal: Procedure too complex, it requires too many registers
Fatal: Compilation aborted
Mantis conversion info:
- Mantis ID: 28667
- OS: Linux
- OS Build: Debian 8.2
- Platform: i386
- Version: 3.1.1
- Fixed in version: 3.1.1
- Fixed in revision: 33103 (#001417bb)