View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0038012 | FPC | Compiler | public | 2020-10-29 19:23 | 2020-10-29 22:14 |
Reporter | Ryan Joseph | Assigned To | Florian | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 3.2.0 | ||||
Fixed in Version | 3.3.1 | ||||
Summary | 0038012: Generic procedure with open array crashes compiler | ||||
Description | The test program causes the compiler to crash. The important part is the first "DoThis" procedure which comes before DoThis<T>(a: array of T); Free Pascal Compiler version 3.2.0 [2020/05/31] for x86_64 Copyright (c) 1993-2020 by Florian Klaempfl and others Target OS: Darwin for x86_64 Compiling /Developer/Projects/FPC/Various/scratch_pad.pas scratch_pad.pas(10,1) Error: Compilation raised exception internally Fatal: Compilation aborted An unhandled exception occurred at $000000010009145C: EAccessViolation: Access violation $000000010009145C | ||||
Steps To Reproduce | {$mode objfpc} program test; generic procedure DoThis<T>(msg: T); begin end; generic procedure DoThis<T>(a: array of T); begin end; begin end. | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 47253 | ||||
FPCOldBugId | |||||
FPCTarget | - | ||||
Attached Files |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2020-10-29 19:23 | Ryan Joseph | New Issue | |
2020-10-29 22:01 | Florian | Assigned To | => Florian |
2020-10-29 22:01 | Florian | Status | new => resolved |
2020-10-29 22:01 | Florian | Resolution | open => fixed |
2020-10-29 22:01 | Florian | Fixed in Version | => 3.3.1 |
2020-10-29 22:01 | Florian | Fixed in Revision | => 47253 |
2020-10-29 22:01 | Florian | FPCTarget | => - |
2020-10-29 22:14 | Ryan Joseph | Status | resolved => closed |