Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2001-10

Bug report

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Tom Verhoeff

When preparing an assignment for our Programming Education and Contest Hosting system (PEACH), I encountered a compiler bug.

The program below `panics' the compiler (internal compiler error). Configuration:
Version: 1.0.4
Date: 2000/12/18
OS: Linux
Platform: i386

Best regards,

Tom Verhoeff

program Panic1; { (Eindhoven University of Technology) panic1.p(18,18) Error: Operator is not overloaded Panic : Internal compiler error, exiting. panic1.p(19,3) Fatal: Internal error 9999 } const M = 21; N = 19; type Row = 0 .. M-1; Col = 0 .. N-1; Matrix = array [ Row, Col ] of Char; procedure DoMatrix ( const m: Matrix ); { paramname clashes with global const } begin write ( m [ M-1, N-1 ] ) { this is line 18 } end; { DoMatrix } var theMatrix: Matrix; begin DoMatrix ( theMatrix ) end.

Reply by email

Jonas Maebe
to Tom Verhoeff
Tom Verhoeff wrote 5 lines
program Panic1; { (Eindhoven University of Technology) panic1.p(18,18) Error: Operator is not overloaded Panic : Internal compiler error, exiting. panic1.p(19,3) Fatal: Internal error 9999 }

Thanks, but this is already fixed in the snapshots.

Jonas

Reply by email