summaryrefslogtreecommitdiff
path: root/libgfortran/intrinsics
diff options
context:
space:
mode:
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-10 13:20:46 +0000
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-10 13:20:46 +0000
commitc1c66d1de85a052eb3e151e9720a499119332727 (patch)
tree6fe2b2a09d6588d6e70e33af11acf0040848bd81 /libgfortran/intrinsics
parent129b095bba9b6ac45f7ae41fd97bcff239fc3f8f (diff)
downloadgcc-c1c66d1de85a052eb3e151e9720a499119332727.tar.gz
PR fortran/32933
* trans-decl.c (gfc_build_builtin_function_decls): Change prototype for associated. * trans-intrinsic.c (gfc_conv_intrinsic_minmax): Convert the result of __builtin_isnan into a boolean. (gfc_conv_intrinsic_strcmp): Cleanup. (gfc_conv_associated): Convert the result of the associated function into a boolean. * intrinsics/associated.c: Change return type of associated into a C int. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127334 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/intrinsics')
-rw-r--r--libgfortran/intrinsics/associated.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libgfortran/intrinsics/associated.c b/libgfortran/intrinsics/associated.c
index d5ef556b80c..0d32fd7d002 100644
--- a/libgfortran/intrinsics/associated.c
+++ b/libgfortran/intrinsics/associated.c
@@ -30,11 +30,10 @@ Boston, MA 02110-1301, USA. */
#include "libgfortran.h"
-extern GFC_LOGICAL_4 associated (const gfc_array_void *,
- const gfc_array_void *);
+extern int associated (const gfc_array_void *, const gfc_array_void *);
export_proto(associated);
-GFC_LOGICAL_4
+int
associated (const gfc_array_void *pointer, const gfc_array_void *target)
{
int n, rank;