This is sources Bugzilla
Bugzilla Version 2.17.5
Bugzilla Bug 2831
  soft-fp quad.h broken with 64-bit _FP_W_TYPE, 32-bit long Last modified: 2007-03-26 12:04:09
     Query page      Enter new bug
Bug#: 2831   Hardware:   Reporter: Joseph Myers <jsm28@gcc.gnu.org>
Host: Target: Build:
Product:     Add CC:
Component:   Version:   CC:
Remove selected CCs
Status: RESOLVED   Priority:  
Resolution: FIXED   Severity:  
Assigned To: Ulrich Drepper <drepper@redhat.com>   Target Milestone:  
Flags: Requestee:
  backport ()
  examined ()
  testsuite ()
Summary:
Keywords:

Attachment Description Type Created Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 2831 depends on: Show dependency tree
Show dependency graph
Bug 2831 blocks: 2833

Additional Comments:


Leave as RESOLVED FIXED
Reopen bug
Mark bug as VERIFIED

View Bug Activity   |   Format For Printing


Description:   Last confirmed: 0000-00-00 00:00 Opened: 2006-06-23 15:49
soft-fp's quad.h does not work in the case where two unsigned long 
long words are being used but unsigned long is only 32 bits (as in MIPS64 
N32).

Patch: http://sourceware.org/ml/libc-alpha/2006-06/msg00011.html

If you'd prefer a larger patch where all such bit-fields for all floating-point
formats are changed to _FP_W_TYPE, please let me know.

------- Additional Comment #1 From Daniel Jacobowitz 2006-07-24 15:00 -------
Has anybody looked at this patch?

------- Additional Comment #2 From Steven Munroe 2006-10-12 18:50 -------
This patch looks correct. 

------- Additional Comment #3 From cvs-commit@gcc.gnu.org 2007-03-20 12:10 -------
Subject: Bug 2831

CVSROOT:	/cvs/glibc
Module name:	libc
Changes by:	jakub@sourceware.org	2007-03-20 12:10:36

Modified files:
	.              : ChangeLog 
	soft-fp        : double.h extended.h quad.h 

Log message:
	* soft-fp/double.h (_FP_UNION_D): Use _FP_W_TYPE for frac
	bit-fields.
	* soft-fp/extended.h (_FP_UNION_E): Likewise.
	
	[BZ #2831]
	* soft-fp/quad.h (_FP_UNION_Q): Use _FP_W_TYPE for frac
	bit-fields.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/ChangeLog.diff?cvsroot=glibc&r1=1.10562&r2=1.10563
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/soft-fp/double.h.diff?cvsroot=glibc&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/soft-fp/extended.h.diff?cvsroot=glibc&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/soft-fp/quad.h.diff?cvsroot=glibc&r1=1.8&r2=1.9


------- Additional Comment #4 From Jakub Jelinek 2007-03-26 13:04 -------
Fixed.

     Query page      Enter new bug
Actions: New | Query | bug # | Reports | Requests   New Account | Log In