diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/synth/synth-decls.adb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/synth/synth-decls.adb b/src/synth/synth-decls.adb index 76a408203..fe5883ac3 100644 --- a/src/synth/synth-decls.adb +++ b/src/synth/synth-decls.adb @@ -482,6 +482,11 @@ package body Synth.Decls is is Inter : Node; begin + if Is_Second_Subprogram_Specification (Subprg) then + -- Already handled. + return; + end if; + Inter := Get_Interface_Declaration_Chain (Subprg); while Inter /= Null_Node loop Synth_Declaration_Type (Syn_Inst, Inter); |