Commit 37cf9302 by Eric Botcazou Committed by Eric Botcazou

decl.c (annotate_value): Inline the call also if List_Representation_Info is greater than 3.

	* gcc-interface/decl.c (annotate_value) <CALL_EXPR>: Inline the call
	also if List_Representation_Info is greater than 3.

From-SVN: r275188
parent da81cc57
2019-08-30 Eric Botcazou <ebotcazou@adacore.com> 2019-08-30 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/decl.c (annotate_value) <CALL_EXPR>: Inline the call
also if List_Representation_Info is greater than 3.
2019-08-30 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/trans.c (Attribute_to_gnu) <Attr_Size>: Add assertion. * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Size>: Add assertion.
2019-08-30 Eric Botcazou <ebotcazou@adacore.com> 2019-08-30 Eric Botcazou <ebotcazou@adacore.com>
......
...@@ -8398,7 +8398,7 @@ annotate_value (tree gnu_size) ...@@ -8398,7 +8398,7 @@ annotate_value (tree gnu_size)
/* In regular mode, inline back only if symbolic annotation is requested /* In regular mode, inline back only if symbolic annotation is requested
in order to avoid memory explosion on big discriminated record types. in order to avoid memory explosion on big discriminated record types.
But not in ASIS mode, as symbolic annotation is required for DDA. */ 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); tree t = maybe_inline_call_in_expr (gnu_size);
return t ? annotate_value (t) : No_Uint; return t ? annotate_value (t) : No_Uint;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment