From: Eric Botcazou Date: Fri, 30 Aug 2019 14:39:09 +0000 (+0000) Subject: decl.c (annotate_value): Inline the call also if List_Representation_Info is greater... X-Git-Tag: misc/cutover-git~3026 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=37cf9302639271ff141d2ff7b4e29e60a401785c;p=thirdparty%2Fgcc.git decl.c (annotate_value): Inline the call also if List_Representation_Info is greater than 3. * gcc-interface/decl.c (annotate_value) : Inline the call also if List_Representation_Info is greater than 3. From-SVN: r275188 --- diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index af3db1d63776..5f004a92fdd0 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2019-08-30 Eric Botcazou + + * gcc-interface/decl.c (annotate_value) : Inline the call + also if List_Representation_Info is greater than 3. + 2019-08-30 Eric Botcazou * gcc-interface/trans.c (Attribute_to_gnu) : Add assertion. diff --git a/gcc/ada/gcc-interface/decl.c b/gcc/ada/gcc-interface/decl.c index 54ceb8d32374..0695c2f00e8e 100644 --- a/gcc/ada/gcc-interface/decl.c +++ b/gcc/ada/gcc-interface/decl.c @@ -8398,7 +8398,7 @@ annotate_value (tree gnu_size) /* In regular mode, inline back only if symbolic annotation is requested in order to avoid memory explosion on big discriminated record types. But not in ASIS mode, as symbolic annotation is required for DDA. */ - if (List_Representation_Info == 3 || type_annotate_only) + if (List_Representation_Info >= 3 || type_annotate_only) { tree t = maybe_inline_call_in_expr (gnu_size); return t ? annotate_value (t) : No_Uint;