]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/ada/sem_res.adb
[Ada] Avoid spurious errors on dimensionality checking in GNATprove
[thirdparty/gcc.git] / gcc / ada / sem_res.adb
index ecd8bc094ff14d3557060a4abc8e5a114f556183..759887ccd311d99aaa0ef20360ae20996c47ed3f 100644 (file)
@@ -6952,9 +6952,7 @@ package body Sem_Res is
       --  Check the dimensions of the actuals in the call. For function calls,
       --  propagate the dimensions from the returned type to N.
 
-      if not In_Inlined_Body then
-         Analyze_Dimension_Call (N, Nam);
-      end if;
+      Analyze_Dimension_Call (N, Nam);
 
       --  All done, evaluate call and deal with elaboration issues