mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 22:09:32 +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
|
begin
|
||||||
{ not sure if this is enough (FK) }
|
{ not sure if this is enough (FK) }
|
||||||
result:=p;
|
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;
|
p.successor:=succ;
|
||||||
end;
|
end;
|
||||||
inlinen:
|
inlinen:
|
||||||
|
Loading…
Reference in New Issue
Block a user