diff options
author | Xiretza <xiretza@xiretza.xyz> | 2022-05-14 11:46:53 +0200 |
---|---|---|
committer | Xiretza <xiretza@xiretza.xyz> | 2022-05-14 12:11:08 +0200 |
commit | 8c5689b93e68ac34cdf7dd089a3990ae22f0049c (patch) | |
tree | 64abf2fe317a6563c7fd6a3f1a3a13a2647391a1 /src/synth/synth-vhdl_stmts.adb | |
parent | 4c3825daf54f81433e5de46cc25fdfac7189ffab (diff) | |
download | ghdl-8c5689b93e68ac34cdf7dd089a3990ae22f0049c.tar.gz ghdl-8c5689b93e68ac34cdf7dd089a3990ae22f0049c.tar.bz2 ghdl-8c5689b93e68ac34cdf7dd089a3990ae22f0049c.zip |
fix: avoid "pragma Unreferenced given" warnings with GCC 12
Diffstat (limited to 'src/synth/synth-vhdl_stmts.adb')
-rw-r--r-- | src/synth/synth-vhdl_stmts.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/synth-vhdl_stmts.adb b/src/synth/synth-vhdl_stmts.adb index 3e09c3318..6fa2e9227 100644 --- a/src/synth/synth-vhdl_stmts.adb +++ b/src/synth/synth-vhdl_stmts.adb @@ -1933,11 +1933,11 @@ package body Synth.Vhdl_Stmts is Assoc_Chain : Node) is Infos : Target_Info_Array (1 .. 0); - pragma Unreferenced (Infos); Init : Association_Iterator_Init; begin Init := Association_Iterator_Build (Inter_Chain, Assoc_Chain); Synth_Subprogram_Association (Subprg_Inst, Caller_Inst, Init, Infos); + pragma Unreferenced (Infos); end Synth_Subprogram_Association; -- Create wires for out and inout interface variables. |