View Issue Details

IDProjectCategoryView StatusLast Update
0038575FPCCompilerpublic2021-03-03 09:22
ReporterMartok Assigned ToSven Barth  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionwon't fix 
Summary0038575: Compiler does not bootstrap since r48394
Descriptionr48394 introduced a constant definiton that is not supported by the still-allowed bootstrap compiler 3.0.4 during cycling:
const
  Families : array of TFamilies = (

Giving the number of elements explicitly fixes this.
TagsNo tags attached.
Fixed in Revision
FPCOldBugId
FPCTarget-
Attached Files

Activities

Martok

2021-03-02 22:12

reporter  

01_embed-syntax.patch (423 bytes)   
Index: compiler/systems/t_embed.pas
===================================================================
--- compiler/systems/t_embed.pas	(revision 48870)
+++ compiler/systems/t_embed.pas	(working copy)
@@ -1701,7 +1701,7 @@
   end;
 
 const
-  Families : array of TFamilies = (
+  Families : array[0..18] of TFamilies = (
     (k:'SAMD21'; v:$68ed2b88),
     (k:'SAML21'; v:$1851780a),
     (k:'SAMD51'; v:$55114460),
01_embed-syntax.patch (423 bytes)   

Sven Barth

2021-03-03 09:22

manager   ~0129337

We document that the only supported version is the last available release which currently is 3.2.0. That we also technically allow the release before that is a concession to reality, especially in the first few months after a new release, but we do not guarantee support of that. It's now half a year later, the grace period is over.

Issue History

Date Modified Username Field Change
2021-03-02 22:12 Martok New Issue
2021-03-02 22:12 Martok File Added: 01_embed-syntax.patch
2021-03-03 09:22 Sven Barth Assigned To => Sven Barth
2021-03-03 09:22 Sven Barth Status new => resolved
2021-03-03 09:22 Sven Barth Resolution open => won't fix
2021-03-03 09:22 Sven Barth FPCTarget => -
2021-03-03 09:22 Sven Barth Note Added: 0129337