View Issue Details

IDProjectCategoryView StatusLast Update
0037823FPCCompilerpublic2020-09-27 18:54
ReporterWolfgang Helbig Assigned ToFlorian  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformimacOSos x 
Product Version3.2.0 
Fixed in Version3.3.1 
Summary0037823: {$implicitExceptions off} doesn't turn off implicit exceptions.
Description   To witniss compile this program:
    {$MODE ISO}
    {$implicitExceptions off}
    {$Q+}
    {$R+}
    program gt;
      label 1;
      procedure jump;
      var
        a: integer;
        b: rawbytestring;
      begin
        b := 'nanu';
        writeln('nanu');
        goto 1;
      end;
    begin
      jump;
      writeln('not jumped!');
    1:
    writeln('jumped!');
    end.

FPC says:
Error: Leaving procedures containing explicit or implicit exceptions frames using goto is not allowed
     
TagsNo tags attached.
Fixed in Revision46974
FPCOldBugId
FPCTarget-
Attached Files

Activities

Florian

2020-09-27 18:54

administrator   ~0125906

Actually, I think we should forbid managed types completely in ISO mode ...

Issue History

Date Modified Username Field Change
2020-09-27 15:29 Wolfgang Helbig New Issue
2020-09-27 18:54 Florian Assigned To => Florian
2020-09-27 18:54 Florian Status new => resolved
2020-09-27 18:54 Florian Resolution open => fixed
2020-09-27 18:54 Florian Fixed in Version => 3.3.1
2020-09-27 18:54 Florian Fixed in Revision => 46974
2020-09-27 18:54 Florian FPCTarget => -
2020-09-27 18:54 Florian Note Added: 0125906