diff options
author | Thomas Koenig <Thomas.Koenig@online.de> | 2005-08-05 20:37:07 +0000 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2005-08-05 20:37:07 +0000 |
commit | eed61baa40823f0c681f5e5a0e541dfea3f42f68 (patch) | |
tree | 2b660e0e0427c767da956459ec51ea570aaac0bf /gcc/fortran/trans-decl.c | |
parent | 50aa8e71b7caa281f77b032aa7d8592e77e19b00 (diff) | |
download | gcc-eed61baa40823f0c681f5e5a0e541dfea3f42f68.zip gcc-eed61baa40823f0c681f5e5a0e541dfea3f42f68.tar.gz gcc-eed61baa40823f0c681f5e5a0e541dfea3f42f68.tar.bz2 |
trans-expr.c (gfc_build_builtin_function_decls): Mark stop_numeric and stop_string as non-returning.
2005-08-05 Thomas Koenig <Thomas.Koenig@online.de>
* trans-expr.c (gfc_build_builtin_function_decls): Mark
stop_numeric and stop_string as non-returning.
From-SVN: r102782
Diffstat (limited to 'gcc/fortran/trans-decl.c')
-rw-r--r-- | gcc/fortran/trans-decl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/fortran/trans-decl.c b/gcc/fortran/trans-decl.c index 3395f3e..49811eb 100644 --- a/gcc/fortran/trans-decl.c +++ b/gcc/fortran/trans-decl.c @@ -1909,10 +1909,15 @@ gfc_build_builtin_function_decls (void) gfc_build_library_function_decl (get_identifier (PREFIX("stop_numeric")), void_type_node, 1, gfc_int4_type_node); + /* Stop doesn't return. */ + TREE_THIS_VOLATILE (gfor_fndecl_stop_numeric) = 1; + gfor_fndecl_stop_string = gfc_build_library_function_decl (get_identifier (PREFIX("stop_string")), void_type_node, 2, pchar_type_node, gfc_int4_type_node); + /* Stop doesn't return. */ + TREE_THIS_VOLATILE (gfor_fndecl_stop_string) = 1; gfor_fndecl_pause_numeric = gfc_build_library_function_decl (get_identifier (PREFIX("pause_numeric")), |