diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2011-05-14 10:55:51 +0300 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2011-05-14 10:55:51 +0300 |
commit | 1028b2bded33a9ee92db6a1a968258f3ba29aa24 (patch) | |
tree | cd0c97323c6980b35b95ce189ac0bdc597d9c4dc /libgfortran/config | |
parent | b4224aec547b9e01f0b79d65c31c7b6da998b8cd (diff) | |
download | gcc-1028b2bded33a9ee92db6a1a968258f3ba29aa24.zip gcc-1028b2bded33a9ee92db6a1a968258f3ba29aa24.tar.gz gcc-1028b2bded33a9ee92db6a1a968258f3ba29aa24.tar.bz2 |
Error printing thread safety, remove GFORTRAN_USE_STDERR
From-SVN: r173749
Diffstat (limited to 'libgfortran/config')
-rw-r--r-- | libgfortran/config/fpu-aix.h | 28 | ||||
-rw-r--r-- | libgfortran/config/fpu-generic.h | 28 | ||||
-rw-r--r-- | libgfortran/config/fpu-glibc.h | 28 | ||||
-rw-r--r-- | libgfortran/config/fpu-sysv.h | 28 |
4 files changed, 56 insertions, 56 deletions
diff --git a/libgfortran/config/fpu-aix.h b/libgfortran/config/fpu-aix.h index 7d6f8df..262557b 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 234e6e2..72de91b 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 807f094..669b7ad 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 85ca252..4770089 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); |