Skip to content

Internal error 2012090402 with -O3

Original Reporter info from Mantis: 0h2o
  • Reporter name: 0h2o

Description:

Hi, the following code snippet will trigger an internal error(2012090402) in ppcx64 when -O3 is specified:

var a : integer;
begin
    for a := 1 to 1 do
        for a := 1 to a do
    end

Steps to reproduce:

  1. build the latest fpc-3.3.1 with fpc-3.2.0
  2. path_to_fpc-3.3.1/compiler/ppcx64 -O3 ./ice4.pas

Mantis conversion info:

  • Mantis ID: 37475
  • Platform: amd64
  • Version: 3.3.1
  • Fixed in version: 3.3.1
  • Fixed in revision: 46435 (#1ba8255a)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information