* gcc-interface/decl.c (prepend_one_attribute_pragma): Call
Is_OK_Static_Expression in lieu of Is_Static_Expression to
detect valid arguments.
From-SVN: r209409
2014-04-15 Eric Botcazou <ebotcazou@adacore.com>
+ * gcc-interface/decl.c (prepend_one_attribute_pragma): Call
+ Is_OK_Static_Expression in lieu of Is_Static_Expression to
+ detect valid arguments.
+
+2014-04-15 Eric Botcazou <ebotcazou@adacore.com>
+
* gcc-interface/trans.c (gnat_gimplify_stmt): Propagate loop hints.
2014-04-14 Paolo Carlini <paolo.carlini@oracle.com>
Node_Id gnat_arg0 = Next (First (gnat_arg));
Node_Id gnat_arg1 = Empty;
- if (Present (gnat_arg0) && Is_Static_Expression (Expression (gnat_arg0)))
+ if (Present (gnat_arg0)
+ && Is_OK_Static_Expression (Expression (gnat_arg0)))
{
gnu_arg0 = gnat_to_gnu (Expression (gnat_arg0));
gnat_arg1 = Next (gnat_arg0);
}
- if (Present (gnat_arg1) && Is_Static_Expression (Expression (gnat_arg1)))
+ if (Present (gnat_arg1)
+ && Is_OK_Static_Expression (Expression (gnat_arg1)))
{
gnu_arg1 = gnat_to_gnu (Expression (gnat_arg1));