* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Abstract_State>: New.

From-SVN: r202690
This commit is contained in:
Eric Botcazou 2013-09-18 10:35:53 +00:00 committed by Eric Botcazou
parent 195934c57c
commit d2c03c72c0
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2013-09-18 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Abstract_State>: New.
2013-09-18 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/trans.c (gigi): Remove dead code.

View File

@ -4812,6 +4812,12 @@ gnat_to_gnu_entity (Entity_Id gnat_entity, tree gnu_expr, int definition)
saved = true;
break;
case E_Abstract_State:
/* This is a SPARK annotation that only reaches here when compiling in
ASIS mode and has no characteristics to annotate. */
gcc_assert (type_annotate_only);
return error_mark_node;
default:
gcc_unreachable ();
}