mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-05 07:58:31 +02:00
* explicitly reset successor if noreturn is set
git-svn-id: trunk@49487 -
This commit is contained in:
parent
2b3edb2c53
commit
a988c0fab1
@ -307,7 +307,9 @@ unit optutils;
|
||||
begin
|
||||
{ not sure if this is enough (FK) }
|
||||
result:=p;
|
||||
if not(cnf_call_never_returns in tcallnode(p).callnodeflags) then
|
||||
if cnf_call_never_returns in tcallnode(p).callnodeflags then
|
||||
p.successor:=nil
|
||||
else
|
||||
p.successor:=succ;
|
||||
end;
|
||||
inlinen:
|
||||
|
Loading…
Reference in New Issue
Block a user