aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--4.1.1/gentoo/42_all_gcc4-PR27627.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/4.1.1/gentoo/42_all_gcc4-PR27627.patch b/4.1.1/gentoo/42_all_gcc4-PR27627.patch
new file mode 100644
index 0000000..969f521
--- /dev/null
+++ b/4.1.1/gentoo/42_all_gcc4-PR27627.patch
@@ -0,0 +1,34 @@
+http://bugs.gentoo.org/155368
+http://gcc.gnu.org/PR27627
+
+2006-06-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ PR target/27627
+ * pa/pa-modes.def: Use mips_single_format, mips_double_format and
+ mips_quad_format formats instead of ieee_single_format,
+ ieee_double_format and ieee_quad_format formats, respectively.
+
+--- trunk/gcc/config/pa/pa-modes.def 2006/05/24 23:19:36 114058
++++ trunk/gcc/config/pa/pa-modes.def 2006/05/24 23:23:10 114059
+@@ -1,5 +1,5 @@
+ /* Definitions of target machine for GNU compiler, for the HP Spectrum.
+- Copyright (C) 2002, 2003 Free Software Foundation, Inc.
++ Copyright (C) 2002, 2003, 2006 Free Software Foundation, Inc.
+ Contributed by Michael Tiemann (tiemann@cygnus.com) of Cygnus Support
+ and Tim Moore (moore@defmacro.cs.utah.edu) of the Center for
+ Software Science at the University of Utah.
+@@ -21,8 +21,13 @@
+ the Free Software Foundation, 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA. */
+
++/* PA-RISC has the same reversed quiet bit as MIPS.
++ ??? Why is this called the MIPS format. */
++RESET_FLOAT_FORMAT (SF, mips_single_format);
++RESET_FLOAT_FORMAT (DF, mips_double_format);
++
+ /* TFmode: IEEE quad floating point (software). */
+-FLOAT_MODE (TF, 16, ieee_quad_format);
++FLOAT_MODE (TF, 16, mips_quad_format);
+
+ /* HPPA floating comparisons produce distinct condition codes. */
+ CC_MODE (CCFP);