View Issue Details

IDProjectCategoryView StatusLast Update
0035598FPCCompilerpublic2019-05-18 14:02
ReporterMartin FriebeAssigned ToJonas Maebe 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platform64bit IntelOSwin 10OS Version10
Product Version3.3.1Product Build42090 
Target VersionFixed in Version3.3.1 
Summary0035598: fpc fails to build: defutil.pas(1606,7) Warning: Function result variable does not seem to initialized
DescriptionCompiling 42090 for win32/64 with the options
-gl -O4 -Or

fails with the warning/error:
defutil.pas(1606,7) Warning: Function result variable does not seem to initialized
TagsNo tags attached.
Fixed in Revision42091
FPCOldBugId
FPCTarget-
Attached Files

Activities

Marco van de Voort

2019-05-18 12:12

manager   ~0116242

Last edited: 2019-05-18 12:15

View 2 revisions

Comment of a developer: "It builds fine if you don't use DFA (which is enabled on -O3 or higher; you can disable it again there by appending -Oonodfa). "

Or, simply fixing the warning=error in cycle, pass ALLOW_WARNINGS=1 to make

Jonas Maebe

2019-05-18 12:22

manager   ~0116243

It's a bug in the data flow analyzer. That is why disabling it fixes the issue.

Issue History

Date Modified Username Field Change
2019-05-18 01:28 Martin Friebe New Issue
2019-05-18 01:52 Martin Friebe Description Updated View Revisions
2019-05-18 01:52 Martin Friebe FPCTarget => -
2019-05-18 12:12 Marco van de Voort Note Added: 0116242
2019-05-18 12:15 Marco van de Voort Note Edited: 0116242 View Revisions
2019-05-18 12:22 Jonas Maebe Note Added: 0116243
2019-05-18 14:02 Jonas Maebe Assigned To => Jonas Maebe
2019-05-18 14:02 Jonas Maebe Status new => resolved
2019-05-18 14:02 Jonas Maebe Resolution open => fixed
2019-05-18 14:02 Jonas Maebe Fixed in Version => 3.3.1
2019-05-18 14:02 Jonas Maebe Fixed in Revision => 42091