trans-decl.c (gfc_get_extern_function_decl): Set DECL_IS_PURE only for functions.
authorTobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
Sat, 22 May 2004 13:31:07 +0000 (13:31 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Sat, 22 May 2004 13:31:07 +0000 (13:31 +0000)
commitb7e6a6b3f511cc8aabb80a4460c417fcac90c2e7
treecaf0113c4074bca1c3f1ec3f9712ec2090ae8898
parent21fdfcc12c75a3ad3b0b4f2a3053f183941710d5
trans-decl.c (gfc_get_extern_function_decl): Set DECL_IS_PURE only for functions.

* trans-decl.c (gfc_get_extern_function_decl): Set DECL_IS_PURE
only for functions.
(gfc_build_function_decl): Likewise.

From-SVN: r82132
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c