Commit c8dbf886 by Eric Botcazou Committed by Eric Botcazou

decl.c (gnat_to_gnu_entity): Do not short-circuit the regular handling.

	* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Abstract_State>: Do not
	short-circuit the regular handling.

From-SVN: r221446
parent e1be83ca
2015-03-16 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Abstract_State>: Do not
short-circuit the regular handling.
2015-03-13 Robert Dewar <dewar@adacore.com>
* exp_unst.adb (Note_Uplevel_Reference): Eliminate duplicate
......
......@@ -4800,9 +4800,11 @@ gnat_to_gnu_entity (Entity_Id gnat_entity, tree gnu_expr, int definition)
case E_Abstract_State:
/* This is a SPARK annotation that only reaches here when compiling in
ASIS mode and has no characteristics to annotate. */
ASIS mode. */
gcc_assert (type_annotate_only);
return error_mark_node;
gnu_decl = error_mark_node;
saved = true;
break;
default:
gcc_unreachable ();
......
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