From: Piotr Trojanek <[email protected]>
gcc/ada/ChangeLog:
* exp_attr.adb (Rewrite_Attribute_Proc_Call)<Attribute_Put_Image>:
Fix call to Analyze.
Tested on x86_64-pc-linux-gnu, committed on master.
---
gcc/ada/exp_attr.adb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/ada/exp_attr.adb b/gcc/ada/exp_attr.adb
index 41a7703e523..086ef91928e 100644
--- a/gcc/ada/exp_attr.adb
+++ b/gcc/ada/exp_attr.adb
@@ -6304,7 +6304,7 @@ package body Exp_Attr is
/= RTU_Entity (Interfaces_C))
then
Rewrite (N, Build_String_Put_Image_Call (N));
- Analyze (N);
+ Analyze (N, Suppress => All_Checks);
return;
elsif Is_Array_Type (U_Type) then
--
2.51.0