diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2007-02-03 20:49:51 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2007-02-03 20:49:51 +0000 |
commit | b86a760aed87957b7f57a39aeef25ac8ab8ecaa9 (patch) | |
tree | 3c924698e0bed7d0bb13a6fbd463def170b9bb50 /gcc/emit-rtl.c | |
parent | 3a610de8791728417247258df99cf16c14c09822 (diff) | |
download | gcc-b86a760aed87957b7f57a39aeef25ac8ab8ecaa9.zip gcc-b86a760aed87957b7f57a39aeef25ac8ab8ecaa9.tar.gz gcc-b86a760aed87957b7f57a39aeef25ac8ab8ecaa9.tar.bz2 |
emit-rtl.c (dconstpi): Delete.
* emit-rtl.c (dconstpi): Delete.
(dconstsqrt2): New.
(init_emit_once): Delete dconstpi and init dconstsqrt2.
* real.h (dconstpi): Delete.
(dconstsqrt2): New.
* builtins.c (fold_builtin_cabs): Use dconstsqrt2.
(fold_builtin_hypot): Likewise.
From-SVN: r121550
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r-- | gcc/emit-rtl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 94381a9e..1faa57f 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -105,7 +105,7 @@ REAL_VALUE_TYPE dconstm1; REAL_VALUE_TYPE dconstm2; REAL_VALUE_TYPE dconsthalf; REAL_VALUE_TYPE dconstthird; -REAL_VALUE_TYPE dconstpi; +REAL_VALUE_TYPE dconstsqrt2; REAL_VALUE_TYPE dconste; /* All references to the following fixed hard registers go through @@ -5154,8 +5154,8 @@ init_emit_once (int line_numbers) /* Initialize mathematical constants for constant folding builtins. These constants need to be given to at least 160 bits precision. */ - real_from_string (&dconstpi, - "3.1415926535897932384626433832795028841971693993751058209749445923078"); + real_from_string (&dconstsqrt2, + "1.4142135623730950488016887242096980785696718753769480731766797379907"); real_from_string (&dconste, "2.7182818284590452353602874713526624977572470936999595749669676277241"); |