Internal error 2014091205 raised when array constants have too few elements
Summary
In some situations, when a constant array is defined with too few elements, the compiler additionally throws Internal error 2014091205 in some situations.
System Information
- Operating system: Windows (maybe others)
- Processor architecture: x86_64 (maybe others)
- Compiler version: Trunk
Steps to reproduce
Compile the attached project under -O2. tcond1f.pp
Observe the following errors:
tcond1f.pp(11,13) Error: Expected another 1 array elements
tcond1f.pp(11,23) Error: Expected another 1 array elements
tcond1f.pp(11,33) Error: Expected another 1 array elements
tcond1f.pp(11,43) Error: Expected another 1 array elements
tcond1f.pp(11,45) Fatal: Internal error 2014091205
What is the current bug behavior?
An internal error is generated.
What is the expected (correct) behavior?
The program should fail to compile without an internal error.