aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/fortran/ChangeLog7
-rw-r--r--gcc/fortran/trans-decl.c7
-rw-r--r--gcc/fortran/trans-stmt.c2
-rw-r--r--gcc/fortran/trans.h1
4 files changed, 8 insertions, 9 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 7b653ce6..8149bf9 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,10 @@
+2016-12-19 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * trans.h: Remove gfor_fndecl_stop_numeric_f08.
+ * trans-decl.c: Remove gfor_fndecl_stop_numeric_f08.
+ * trans-stmt.c (gfc_trans_stop): Use gfor_fndecl_stop_numeric
+ instead of gfor_fndecl_stop_numeric_f08.
+
2016-12-19 Janus Weil <janus@gcc.gnu.org>
PR fortran/78545
diff --git a/gcc/fortran/trans-decl.c b/gcc/fortran/trans-decl.c
index a7a5e2a..403f543 100644
--- a/gcc/fortran/trans-decl.c
+++ b/gcc/fortran/trans-decl.c
@@ -98,7 +98,6 @@ static int seen_ieee_symbol;
tree gfor_fndecl_pause_numeric;
tree gfor_fndecl_pause_string;
tree gfor_fndecl_stop_numeric;
-tree gfor_fndecl_stop_numeric_f08;
tree gfor_fndecl_stop_string;
tree gfor_fndecl_error_stop_numeric;
tree gfor_fndecl_error_stop_string;
@@ -3470,12 +3469,6 @@ gfc_build_builtin_function_decls (void)
/* STOP doesn't return. */
TREE_THIS_VOLATILE (gfor_fndecl_stop_numeric) = 1;
- gfor_fndecl_stop_numeric_f08 = gfc_build_library_function_decl (
- get_identifier (PREFIX("stop_numeric_f08")),
- void_type_node, 1, gfc_int4_type_node);
- /* STOP doesn't return. */
- TREE_THIS_VOLATILE (gfor_fndecl_stop_numeric_f08) = 1;
-
gfor_fndecl_stop_string = gfc_build_library_function_decl_with_spec (
get_identifier (PREFIX("stop_string")), ".R.",
void_type_node, 2, pchar_type_node, gfc_int4_type_node);
diff --git a/gcc/fortran/trans-stmt.c b/gcc/fortran/trans-stmt.c
index d9e185f..ccfaee6 100644
--- a/gcc/fortran/trans-stmt.c
+++ b/gcc/fortran/trans-stmt.c
@@ -650,7 +650,7 @@ gfc_trans_stop (gfc_code *code, bool error_stop)
: gfor_fndecl_error_stop_numeric)
: (flag_coarray == GFC_FCOARRAY_LIB
? gfor_fndecl_caf_stop_numeric
- : gfor_fndecl_stop_numeric_f08), 1,
+ : gfor_fndecl_stop_numeric), 1,
fold_convert (gfc_int4_type_node, se.expr));
}
else
diff --git a/gcc/fortran/trans.h b/gcc/fortran/trans.h
index bfc2a24..3095f4c 100644
--- a/gcc/fortran/trans.h
+++ b/gcc/fortran/trans.h
@@ -784,7 +784,6 @@ void gfc_omp_firstprivatize_type_sizes (struct gimplify_omp_ctx *, tree);
extern GTY(()) tree gfor_fndecl_pause_numeric;
extern GTY(()) tree gfor_fndecl_pause_string;
extern GTY(()) tree gfor_fndecl_stop_numeric;
-extern GTY(()) tree gfor_fndecl_stop_numeric_f08;
extern GTY(()) tree gfor_fndecl_stop_string;
extern GTY(()) tree gfor_fndecl_error_stop_numeric;
extern GTY(()) tree gfor_fndecl_error_stop_string;