summaryrefslogtreecommitdiff
path: root/libgfortran/config
diff options
context:
space:
mode:
authorjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-14 07:55:51 +0000
committerjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-14 07:55:51 +0000
commitabe12f3ee643ba6397424e0f6bc1e7c661e9d05c (patch)
treecd0c97323c6980b35b95ce189ac0bdc597d9c4dc /libgfortran/config
parent96cb28340343e35fc361b061ad2c55336ef613c7 (diff)
downloadgcc-abe12f3ee643ba6397424e0f6bc1e7c661e9d05c.tar.gz
Error printing thread safety, remove GFORTRAN_USE_STDERR
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173749 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/config')
-rw-r--r--libgfortran/config/fpu-aix.h28
-rw-r--r--libgfortran/config/fpu-generic.h28
-rw-r--r--libgfortran/config/fpu-glibc.h28
-rw-r--r--libgfortran/config/fpu-sysv.h28
4 files changed, 56 insertions, 56 deletions
diff --git a/libgfortran/config/fpu-aix.h b/libgfortran/config/fpu-aix.h
index 7d6f8dfcd7b..262557b6d01 100644
--- a/libgfortran/config/fpu-aix.h
+++ b/libgfortran/config/fpu-aix.h
@@ -1,8 +1,8 @@
/* AIX FPU-related code.
- Copyright 2005, 2007, 2009 Free Software Foundation, Inc.
+ Copyright 2005, 2007, 2009, 2011 Free Software Foundation, Inc.
Contributed by Francois-Xavier Coudert <coudert@clipper.ens.fr>
-This file is part of the GNU Fortran 95 runtime library (libgfortran).
+This file is part of the GNU Fortran runtime library (libgfortran).
Libgfortran is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
@@ -38,44 +38,44 @@ set_fpu (void)
#ifdef TRP_INVALID
mode |= TRP_INVALID;
#else
- st_printf ("Fortran runtime warning: IEEE 'invalid operation' "
- "exception not supported.\n");
+ estr_write ("Fortran runtime warning: IEEE 'invalid operation' "
+ "exception not supported.\n");
#endif
if (options.fpe & GFC_FPE_DENORMAL)
- st_printf ("Fortran runtime warning: IEEE 'denormal number' "
- "exception not supported.\n");
+ estr_write ("Fortran runtime warning: IEEE 'denormal number' "
+ "exception not supported.\n");
if (options.fpe & GFC_FPE_ZERO)
#ifdef TRP_DIV_BY_ZERO
mode |= TRP_DIV_BY_ZERO;
#else
- st_printf ("Fortran runtime warning: IEEE 'division by zero' "
- "exception not supported.\n");
+ estr_write ("Fortran runtime warning: IEEE 'division by zero' "
+ "exception not supported.\n");
#endif
if (options.fpe & GFC_FPE_OVERFLOW)
#ifdef TRP_OVERFLOW
mode |= TRP_OVERFLOW;
#else
- st_printf ("Fortran runtime warning: IEEE 'overflow' "
- "exception not supported.\n");
+ estr_write ("Fortran runtime warning: IEEE 'overflow' "
+ "exception not supported.\n");
#endif
if (options.fpe & GFC_FPE_UNDERFLOW)
#ifdef TRP_UNDERFLOW
mode |= TRP_UNDERFLOW;
#else
- st_printf ("Fortran runtime warning: IEEE 'underflow' "
- "exception not supported.\n");
+ estr_write ("Fortran runtime warning: IEEE 'underflow' "
+ "exception not supported.\n");
#endif
if (options.fpe & GFC_FPE_PRECISION)
#ifdef TRP_UNDERFLOW
mode |= TRP_UNDERFLOW;
#else
- st_printf ("Fortran runtime warning: IEEE 'loss of precision' "
- "exception not supported.\n");
+ estr_write ("Fortran runtime warning: IEEE 'loss of precision' "
+ "exception not supported.\n");
#endif
fp_trap(FP_TRAP_SYNC);
diff --git a/libgfortran/config/fpu-generic.h b/libgfortran/config/fpu-generic.h
index 234e6e2cd59..72de91b28c7 100644
--- a/libgfortran/config/fpu-generic.h
+++ b/libgfortran/config/fpu-generic.h
@@ -1,8 +1,8 @@
/* Fallback FPU-related code (for systems not otherwise supported).
- Copyright 2005, 2007, 2009 Free Software Foundation, Inc.
+ Copyright 2005, 2007, 2009, 2011 Free Software Foundation, Inc.
Contributed by Francois-Xavier Coudert <coudert@clipper.ens.fr>
-This file is part of the GNU Fortran 95 runtime library (libgfortran).
+This file is part of the GNU Fortran runtime library (libgfortran).
Libgfortran is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
@@ -32,21 +32,21 @@ void
set_fpu (void)
{
if (options.fpe & GFC_FPE_INVALID)
- st_printf ("Fortran runtime warning: IEEE 'invalid operation' "
- "exception not supported.\n");
+ estr_write ("Fortran runtime warning: IEEE 'invalid operation' "
+ "exception not supported.\n");
if (options.fpe & GFC_FPE_DENORMAL)
- st_printf ("Fortran runtime warning: IEEE 'denormal number' "
- "exception not supported.\n");
+ estr_write ("Fortran runtime warning: IEEE 'denormal number' "
+ "exception not supported.\n");
if (options.fpe & GFC_FPE_ZERO)
- st_printf ("Fortran runtime warning: IEEE 'division by zero' "
- "exception not supported.\n");
+ estr_write ("Fortran runtime warning: IEEE 'division by zero' "
+ "exception not supported.\n");
if (options.fpe & GFC_FPE_OVERFLOW)
- st_printf ("Fortran runtime warning: IEEE 'overflow' "
- "exception not supported.\n");
+ estr_write ("Fortran runtime warning: IEEE 'overflow' "
+ "exception not supported.\n");
if (options.fpe & GFC_FPE_UNDERFLOW)
- st_printf ("Fortran runtime warning: IEEE 'underflow' "
- "exception not supported.\n");
+ estr_write ("Fortran runtime warning: IEEE 'underflow' "
+ "exception not supported.\n");
if (options.fpe & GFC_FPE_PRECISION)
- st_printf ("Fortran runtime warning: IEEE 'loss of precision' "
- "exception not supported.\n");
+ estr_write ("Fortran runtime warning: IEEE 'loss of precision' "
+ "exception not supported.\n");
}
diff --git a/libgfortran/config/fpu-glibc.h b/libgfortran/config/fpu-glibc.h
index 807f0942e08..669b7ad98c1 100644
--- a/libgfortran/config/fpu-glibc.h
+++ b/libgfortran/config/fpu-glibc.h
@@ -1,8 +1,8 @@
/* FPU-related code for systems with GNU libc.
- Copyright 2005, 2007, 2009 Free Software Foundation, Inc.
+ Copyright 2005, 2007, 2009, 2011 Free Software Foundation, Inc.
Contributed by Francois-Xavier Coudert <coudert@clipper.ens.fr>
-This file is part of the GNU Fortran 95 runtime library (libgfortran).
+This file is part of the GNU Fortran runtime library (libgfortran).
Libgfortran is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
@@ -40,8 +40,8 @@ void set_fpu (void)
#ifdef FE_INVALID
feenableexcept (FE_INVALID);
#else
- st_printf ("Fortran runtime warning: IEEE 'invalid operation' "
- "exception not supported.\n");
+ estr_write ("Fortran runtime warning: IEEE 'invalid operation' "
+ "exception not supported.\n");
#endif
/* glibc does never have a FE_DENORMAL. */
@@ -49,39 +49,39 @@ void set_fpu (void)
#ifdef FE_DENORMAL
feenableexcept (FE_DENORMAL);
#else
- st_printf ("Fortran runtime warning: IEEE 'denormal number' "
- "exception not supported.\n");
+ estr_write ("Fortran runtime warning: IEEE 'denormal number' "
+ "exception not supported.\n");
#endif
if (options.fpe & GFC_FPE_ZERO)
#ifdef FE_DIVBYZERO
feenableexcept (FE_DIVBYZERO);
#else
- st_printf ("Fortran runtime warning: IEEE 'division by zero' "
- "exception not supported.\n");
+ estr_write ("Fortran runtime warning: IEEE 'division by zero' "
+ "exception not supported.\n");
#endif
if (options.fpe & GFC_FPE_OVERFLOW)
#ifdef FE_OVERFLOW
feenableexcept (FE_OVERFLOW);
#else
- st_printf ("Fortran runtime warning: IEEE 'overflow' "
- "exception not supported.\n");
+ estr_write ("Fortran runtime warning: IEEE 'overflow' "
+ "exception not supported.\n");
#endif
if (options.fpe & GFC_FPE_UNDERFLOW)
#ifdef FE_UNDERFLOW
feenableexcept (FE_UNDERFLOW);
#else
- st_printf ("Fortran runtime warning: IEEE 'underflow' "
- "exception not supported.\n");
+ estr_write ("Fortran runtime warning: IEEE 'underflow' "
+ "exception not supported.\n");
#endif
if (options.fpe & GFC_FPE_PRECISION)
#ifdef FE_INEXACT
feenableexcept (FE_INEXACT);
#else
- st_printf ("Fortran runtime warning: IEEE 'loss of precision' "
- "exception not supported.\n");
+ estr_write ("Fortran runtime warning: IEEE 'loss of precision' "
+ "exception not supported.\n");
#endif
}
diff --git a/libgfortran/config/fpu-sysv.h b/libgfortran/config/fpu-sysv.h
index 85ca25285ea..477008968ba 100644
--- a/libgfortran/config/fpu-sysv.h
+++ b/libgfortran/config/fpu-sysv.h
@@ -1,8 +1,8 @@
/* SysV FPU-related code (for systems not otherwise supported).
- Copyright 2005, 2007, 2009 Free Software Foundation, Inc.
+ Copyright 2005, 2007, 2009, 2011 Free Software Foundation, Inc.
Contributed by Francois-Xavier Coudert <coudert@clipper.ens.fr>
-This file is part of the GNU Fortran 95 runtime library (libgfortran).
+This file is part of the GNU Fortran runtime library (libgfortran).
Libgfortran is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
@@ -34,48 +34,48 @@ set_fpu (void)
#ifdef FP_X_INV
cw |= FP_X_INV;
#else
- st_printf ("Fortran runtime warning: IEEE 'invalid operation' "
- "exception not supported.\n");
+ estr_write ("Fortran runtime warning: IEEE 'invalid operation' "
+ "exception not supported.\n");
#endif
if (options.fpe & GFC_FPE_DENORMAL)
#ifdef FP_X_DNML
cw |= FP_X_DNML;
#else
- st_printf ("Fortran runtime warning: IEEE 'denormal number' "
- "exception not supported.\n");
+ estr_write ("Fortran runtime warning: IEEE 'denormal number' "
+ "exception not supported.\n");
#endif
if (options.fpe & GFC_FPE_ZERO)
#ifdef FP_X_DZ
cw |= FP_X_DZ;
#else
- st_printf ("Fortran runtime warning: IEEE 'division by zero' "
- "exception not supported.\n");
+ estr_write ("Fortran runtime warning: IEEE 'division by zero' "
+ "exception not supported.\n");
#endif
if (options.fpe & GFC_FPE_OVERFLOW)
#ifdef FP_X_OFL
cw |= FP_X_OFL;
#else
- st_printf ("Fortran runtime warning: IEEE 'overflow' "
- "exception not supported.\n");
+ estr_write ("Fortran runtime warning: IEEE 'overflow' "
+ "exception not supported.\n");
#endif
if (options.fpe & GFC_FPE_UNDERFLOW)
#ifdef FP_X_UFL
cw |= FP_X_UFL;
#else
- st_printf ("Fortran runtime warning: IEEE 'underflow' "
- "exception not supported.\n");
+ estr_write ("Fortran runtime warning: IEEE 'underflow' "
+ "exception not supported.\n");
#endif
if (options.fpe & GFC_FPE_PRECISION)
#ifdef FP_X_IMP
cw |= FP_X_IMP;
#else
- st_printf ("Fortran runtime warning: IEEE 'loss of precision' "
- "exception not supported.\n");
+ estr_write ("Fortran runtime warning: IEEE 'loss of precision' "
+ "exception not supported.\n");
#endif
fpsetmask(cw);