public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/19019] New: GCC ldouble format incompatibility with XLC long double
@ 2004-12-15 19:41 dje at gcc dot gnu dot org
  2004-12-16 23:41 ` [Bug target/19019] " pinskia at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: dje at gcc dot gnu dot org @ 2004-12-15 19:41 UTC (permalink / raw)
  To: gcc-bugs

GCC implemented a stricter definition for the IBM extended long double format
than defined in AIX and XLC.  GCC cmptf pattern will not produce correct results
for some values generated by XLC.

-- 
           Summary: GCC ldouble format incompatibility with XLC long double
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Keywords: ABI
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dje at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: *-*-*
  GCC host triplet: *-*-*
GCC target triplet: powerpc-*-*


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19019


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/19019] GCC ldouble format incompatibility with XLC long double
  2004-12-15 19:41 [Bug target/19019] New: GCC ldouble format incompatibility with XLC long double dje at gcc dot gnu dot org
@ 2004-12-16 23:41 ` pinskia at gcc dot gnu dot org
  2005-02-14 10:05 ` cvs-commit at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-16 23:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-16 23:41 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-12-16 23:41:43
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19019


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/19019] GCC ldouble format incompatibility with XLC long double
  2004-12-15 19:41 [Bug target/19019] New: GCC ldouble format incompatibility with XLC long double dje at gcc dot gnu dot org
  2004-12-16 23:41 ` [Bug target/19019] " pinskia at gcc dot gnu dot org
@ 2005-02-14 10:05 ` cvs-commit at gcc dot gnu dot org
  2005-02-15  0:36 ` cvs-commit at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-14 10:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-13 21:31 -------
Subject: Bug 19019

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	dje@gcc.gnu.org	2005-02-13 21:31:37

Modified files:
	gcc            : ChangeLog 
	gcc/config/rs6000: aix.h beos.h rs6000.c rs6000.h rs6000.md 
	gcc/doc        : invoke.texi 

Log message:
	PR target/19019
	* config/rs6000/aix.h ({TARGET,MASK}_XL_CALL): Rename to
	{TARGET,MASK}_XL_COMPAT.
	(SUBTARGET_SWITCHES): Rename xl-call to xl-compat.  Use
	MASK_XL_COMPAT.
	* config/rs6000/beos.h ({TARGET,MASK}_XL_CALL): Remove.
	* config/rs6000/rs6000.c (function_arg): Change TARGET_XL_CALL to
	TARGET_XL_COMPAT.
	(rs6000_arg_partial_bytes): Same.
	(rs6000_generate_compare): Generate PARALLEL for compare if TFmode
	and XL compatibility enabled.
	* config/rs6000/rs6000.h (TARGET_XL_CALL): Rename to TARGET_XL_COMPAT.
	* config/rs6000/rs6000.md (cmptf_internal1): Add !TARGET_XL_COMPAT
	test to final condition.
	(cmptf_internal2): New.
	* doc/invoke.texi (RS/6000 Subtarget Options): Change xl-call to
	xl-compat.  Add TFmode information to description.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7464&r2=2.7465
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/aix.h.diff?cvsroot=gcc&r1=1.49&r2=1.50
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/beos.h.diff?cvsroot=gcc&r1=1.12&r2=1.13
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.c.diff?cvsroot=gcc&r1=1.784&r2=1.785
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.h.diff?cvsroot=gcc&r1=1.353&r2=1.354
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.md.diff?cvsroot=gcc&r1=1.346&r2=1.347
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/invoke.texi.diff?cvsroot=gcc&r1=1.577&r2=1.578



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19019


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/19019] GCC ldouble format incompatibility with XLC long double
  2004-12-15 19:41 [Bug target/19019] New: GCC ldouble format incompatibility with XLC long double dje at gcc dot gnu dot org
  2004-12-16 23:41 ` [Bug target/19019] " pinskia at gcc dot gnu dot org
  2005-02-14 10:05 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-15  0:36 ` cvs-commit at gcc dot gnu dot org
  2005-02-16  5:38 ` cvs-commit at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-15  0:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-14 20:21 -------
Subject: Bug 19019

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	dje@gcc.gnu.org	2005-02-14 20:21:13

Modified files:
	gcc            : ChangeLog 
	gcc/config/rs6000: rs6000.md 

Log message:
	PR target/19019
	* config/rs6000/rs6000.md (trunctfdf2): Change to define_expand.
	(trunctfdf2_internal1): New.
	(trunctfdf2_internal2): Renamed from trunctfdf2.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7473&r2=2.7474
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.md.diff?cvsroot=gcc&r1=1.347&r2=1.348



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19019


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/19019] GCC ldouble format incompatibility with XLC long double
  2004-12-15 19:41 [Bug target/19019] New: GCC ldouble format incompatibility with XLC long double dje at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-02-15  0:36 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-16  5:38 ` cvs-commit at gcc dot gnu dot org
  2005-02-17 11:34 ` cvs-commit at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-16  5:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-15 23:17 -------
Subject: Bug 19019

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	dje@gcc.gnu.org	2005-02-15 23:16:49

Modified files:
	gcc            : ChangeLog 
	gcc/config/rs6000: darwin-ldouble.c libgcc-ppc64.ver rs6000.c 
	                   t-aix43 t-aix52 t-newas 

Log message:
	PR target/19019
	* config/rs6000/darwin-ldouble.c (_xlqadd): Rename to __gcc_qadd.
	(_xlqsub): Rename to __gcc_qsub.
	(_xlqmul): Rename to __gcc_qmul.
	(_xlqdiv): Rename to __gcc_qdiv.
	Provide versioned symbol aliases with old names.
	* config/rs6000/libgcc-ppc64.ver: Rename symbols.
	* config/rs6000/rs6000.c (rs6000_init_libfuncs): Rename symbols.
	* config/rs6000/t-aix43 (LIB2FUNCS_EXTRA): New.
	* config/rs6000/t-aix52 (LIB2FUNCS_EXTRA): New.
	* config/rs6000/t-newas (LIB2FUNCS_EXTRA): New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7486&r2=2.7487
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/darwin-ldouble.c.diff?cvsroot=gcc&r1=1.8&r2=1.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/libgcc-ppc64.ver.diff?cvsroot=gcc&r1=1.2&r2=1.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.c.diff?cvsroot=gcc&r1=1.785&r2=1.786
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/t-aix43.diff?cvsroot=gcc&r1=1.22&r2=1.23
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/t-aix52.diff?cvsroot=gcc&r1=1.5&r2=1.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/t-newas.diff?cvsroot=gcc&r1=1.6&r2=1.7



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19019


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/19019] GCC ldouble format incompatibility with XLC long double
  2004-12-15 19:41 [Bug target/19019] New: GCC ldouble format incompatibility with XLC long double dje at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-02-16  5:38 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-17 11:34 ` cvs-commit at gcc dot gnu dot org
  2005-02-17 12:11 ` cvs-commit at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-17 11:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-17 00:16 -------
Subject: Bug 19019

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	dje@gcc.gnu.org	2005-02-17 00:16:11

Modified files:
	gcc            : ChangeLog 
	gcc/config/rs6000: t-aix43 t-aix52 

Log message:
	PR target/19019
	* config/rs6000/t-aix43 (SHLIB_MAPFILES): Add libgcc-ppc64.ver.
	* config/rs6000/t-aix52 (SHLIB_MAPFILES): Same.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7500&r2=2.7501
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/t-aix43.diff?cvsroot=gcc&r1=1.23&r2=1.24
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/t-aix52.diff?cvsroot=gcc&r1=1.6&r2=1.7



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19019


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/19019] GCC ldouble format incompatibility with XLC long double
  2004-12-15 19:41 [Bug target/19019] New: GCC ldouble format incompatibility with XLC long double dje at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-02-17 11:34 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-17 12:11 ` cvs-commit at gcc dot gnu dot org
  2005-02-17 12:13 ` cvs-commit at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-17 12:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-17 00:32 -------
Subject: Bug 19019

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	apple-ppc-branch
Changes by:	geoffk@gcc.gnu.org	2005-02-17 00:32:08

Modified files:
	gcc            : ChangeLog 
	gcc/config/rs6000: aix.h beos.h darwin-ldouble.c 
	                   libgcc-ppc64.ver rs6000.c rs6000.h rs6000.md 
	                   t-aix43 t-aix52 t-newas 

Log message:
	2005-02-13  David Edelsohn  <edelsohn@gnu.org>
	
	PR target/19019
	* config/rs6000/aix.h ({TARGET,MASK}_XL_CALL): Rename to
	{TARGET,MASK}_XL_COMPAT.
	(SUBTARGET_SWITCHES): Rename xl-call to xl-compat.  Use
	MASK_XL_COMPAT.
	* config/rs6000/beos.h ({TARGET,MASK}_XL_CALL): Remove.
	* config/rs6000/rs6000.c (function_arg): Change TARGET_XL_CALL to
	TARGET_XL_COMPAT.
	(rs6000_arg_partial_bytes): Same.
	(rs6000_generate_compare): Generate PARALLEL for compare if TFmode
	and XL compatibility enabled.
	* config/rs6000/rs6000.h (TARGET_XL_CALL): Rename to TARGET_XL_COMPAT.
	* config/rs6000/rs6000.md (cmptf_internal1): Add !TARGET_XL_COMPAT
	test to final condition.
	(cmptf_internal2): New.
	* doc/invoke.texi (RS/6000 Subtarget Options): Change xl-call to
	xl-compat.  Add TFmode information to description.
	
	2005-02-14  David Edelsohn  <edelsohn@gnu.org>
	
	PR target/19019
	* config/rs6000/rs6000.md (trunctfdf2): Change to define_expand.
	(trunctfdf2_internal1): New.
	(trunctfdf2_internal2): Renamed from trunctfdf2.
	
	2005-02-15  David Edelsohn  <edelsohn@gnu.org>
	
	PR target/19019
	* config/rs6000/darwin-ldouble.c (_xlqadd): Rename to __gcc_qadd.
	(_xlqsub): Rename to __gcc_qsub.
	(_xlqmul): Rename to __gcc_qmul.
	(_xlqdiv): Rename to __gcc_qdiv.
	Provide versioned symbol aliases with old names.
	* config/rs6000/libgcc-ppc64.ver: Rename symbols.
	* config/rs6000/rs6000.c (rs6000_init_libfuncs): Rename symbols.
	* config/rs6000/t-aix43 (LIB2FUNCS_EXTRA): New.
	* config/rs6000/t-aix52 (LIB2FUNCS_EXTRA): New.
	* config/rs6000/t-newas (LIB2FUNCS_EXTRA): New.
	
	Bug #: 4006454
	Reviewed by: mstump

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.14646.2.151.2.43&r2=1.14646.2.151.2.44
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/aix.h.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.29.2.12.2.3&r2=1.29.2.12.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/beos.h.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.10.2.2&r2=1.10.2.2.8.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/darwin-ldouble.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.3.10.2.4.4&r2=1.3.10.2.4.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/libgcc-ppc64.ver.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.2.2.1&r2=1.2.2.1.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.332.2.46.2.103&r2=1.332.2.46.2.104
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.h.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.210.2.36.2.26&r2=1.210.2.36.2.27
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.md.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.190.2.41.2.26&r2=1.190.2.41.2.27
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/t-aix43.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.17.2.2&r2=1.17.2.2.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/t-aix52.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.1.6.2&r2=1.1.6.2.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/t-newas.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.5.22.1&r2=1.5.22.1.10.1



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19019


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/19019] GCC ldouble format incompatibility with XLC long double
  2004-12-15 19:41 [Bug target/19019] New: GCC ldouble format incompatibility with XLC long double dje at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2005-02-17 12:11 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-17 12:13 ` cvs-commit at gcc dot gnu dot org
  2005-02-23  9:30 ` jakub at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-17 12:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-17 00:34 -------
Subject: Bug 19019

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	dje@gcc.gnu.org	2005-02-17 00:34:42

Modified files:
	gcc            : ChangeLog 
	gcc/doc        : invoke.texi 
	gcc/config/rs6000: t-aix43 t-aix52 darwin-ldouble.c 
	                   libgcc-ppc64.ver rs6000.c rs6000.md aix.h 
	                   beos.h 

Log message:
	PR target/19019
	Backport from mainline:
	2005-02-16  David Edelsohn  <edelsohn@gnu.org>
	* config/rs6000/t-aix43 (SHLIB_MAPFILES): Add libgcc-ppc64.ver.
	* config/rs6000/t-aix52 (SHLIB_MAPFILES): Same.
	2005-02-15  David Edelsohn  <edelsohn@gnu.org>
	Alan Modra  <amodra@bigpond.net.au>
	* config/rs6000/darwin-ldouble.c (_xlqadd): Rename to __gcc_qadd.
	(_xlqsub): Rename to __gcc_qsub.
	(_xlqmul): Rename to __gcc_qmul.
	(_xlqdiv): Rename to __gcc_qdiv.
	Provide versioned symbol aliases with old names.
	* config/rs6000/libgcc-ppc64.ver: Rename symbols.
	* config/rs6000/rs6000.c (rs6000_init_libfuncs): Rename symbols.
	* config/rs6000/t-aix43 (LIB2FUNCS_EXTRA): New.
	* config/rs6000/t-aix52 (LIB2FUNCS_EXTRA): New.
	* config/rs6000/t-newas (LIB2FUNCS_EXTRA): New.
	2005-02-14  David Edelsohn  <edelsohn@gnu.org>
	* config/rs6000/rs6000.md (trunctfdf2): Change to define_expand.
	(trunctfdf2_internal1): New.
	(trunctfdf2_internal2): Renamed from trunctfdf2.
	2005-02-13  David Edelsohn  <edelsohn@gnu.org>
	* config/rs6000/aix.h ({TARGET,MASK}_XL_CALL): Rename to
	{TARGET,MASK}_XL_COMPAT.
	(SUBTARGET_SWITCHES): Rename xl-call to xl-compat.  Use
	MASK_XL_COMPAT.
	* config/rs6000/beos.h ({TARGET,MASK}_XL_CALL): Remove.
	* config/rs6000/rs6000.c (function_arg): Change TARGET_XL_CALL to
	TARGET_XL_COMPAT.
	(rs6000_arg_partial_bytes): Same.
	(rs6000_generate_compare): Generate PARALLEL for compare if TFmode
	and XL compatibility enabled.
	* config/rs6000/rs6000.h (TARGET_XL_CALL): Rename to TARGET_XL_COMPAT.
	* config/rs6000/rs6000.md (cmptf_internal1): Add !TARGET_XL_COMPAT
	test to final condition.
	(cmptf_internal2): New.
	* doc/invoke.texi (RS/6000 Subtarget Options): Change xl-call to
	xl-compat.  Add TFmode information to description.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.801&r2=2.2326.2.802
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/invoke.texi.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.390.2.35&r2=1.390.2.36
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/t-aix43.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.19&r2=1.19.20.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/t-aix52.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.2&r2=1.2.20.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/darwin-ldouble.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3.4.1&r2=1.3.4.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/libgcc-ppc64.ver.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.2.10.1&r2=1.2.10.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.576.2.40&r2=1.576.2.41
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.md.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.284.4.15&r2=1.284.4.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/aix.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.43.4.3&r2=1.43.4.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/beos.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.12&r2=1.12.16.1



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19019


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/19019] GCC ldouble format incompatibility with XLC long double
  2004-12-15 19:41 [Bug target/19019] New: GCC ldouble format incompatibility with XLC long double dje at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2005-02-17 12:13 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-23  9:30 ` jakub at gcc dot gnu dot org
  2005-02-23  9:55 ` dje at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-02-23  9:30 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jakub at gcc dot gnu dot org  2005-02-22 22:38 -------
The 3.4 backport doesn't seem to work for me at all.
The problem is the .hidden .oS generation that dies on the .symvers in
darwin-ldouble.o that is going to be included in libgcc_eh.a.

( ` if [ -f ./nm ] ; then echo ./nm ; elif [ -f
/usr/src/build/524491-ppc64/BUILD/gcc-3.4.3-20050222/obj-ppc64-redhat-linux/gcc/../binutils/nm-new ] ; then echo
/usr/src/build/524491-ppc64/BUILD/gcc-3.4.3-20050222/obj-ppc64-redhat-linux/gcc/../binutils/nm-new ; else if [ "powerpc64-redhat-linux-gnu" =
"powerpc64-redhat-linux-gnu" ] ; then echo nm; else t='s,y,y,'; echo nm | sed -e 
; fi; fi` -pg libgcc/./darwin-ldouble.o | gawk 'NF == 3 && $2 !~ /^[UN]$/ { print
"\t.hidden", $3 }'; cat libgcc//stacknote.s ) |  ./xgcc -B./
-B/usr/ppc64-redhat-linux/bin/ -isystem /usr/ppc64-redhat-linux/include -isystem
/usr/ppc64-redhat-linux/sys-include
-L/usr/src/build/524491-ppc64/BUILD/gcc-3.4.3-20050222/obj-ppc64-redhat-linux/gcc
/../ld -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -mno-minimal-toc
-fPIC -specs=bispecs -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
  -fPIC -mstrict-align -r -nostdinc -nostdlib -o libgcc/./darwin-ldouble.oS
libgcc/./darwin-ldouble.o -xassembler -
{standard input}: Assembler messages:
{standard input}:5: Error: junk at end of line, first unrecognized character is
`@'
{standard input}:6: Error: junk at end of line, first unrecognized character is
`@'
{standard input}:7: Error: junk at end of line, first unrecognized character is
`@'
{standard input}:8: Error: junk at end of line, first unrecognized character is
`@'

But even on the trunk it is highly undesirable to have the .symver directives
in the object that will be included in libgcc.a.

On the trunk each libgcc* object is built separately for .a library and
libgcc_s.so, so we could use here perhaps the -DHIDE_EXPORTS macro
(.symver directives would be present only #if defined __ELF__ && !defined
HIDE_EXPORTS && defined HAVE_GAS_HIDDEN or something like that).
But on gcc-3_4-branch, each object is compiled just once, so I think we need
some mklibgcc.in hacks to build a separate darwin-ldouble.c (for libgcc.a only)
and darwin-ldouble-shared.c (for libgcc_s.so only).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amodra at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19019


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/19019] GCC ldouble format incompatibility with XLC long double
  2004-12-15 19:41 [Bug target/19019] New: GCC ldouble format incompatibility with XLC long double dje at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2005-02-23  9:30 ` jakub at gcc dot gnu dot org
@ 2005-02-23  9:55 ` dje at gcc dot gnu dot org
  2005-02-23 14:59 ` jakub at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: dje at gcc dot gnu dot org @ 2005-02-23  9:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dje at gcc dot gnu dot org  2005-02-22 22:52 -------
We could skip the versioned old symbols completely, although providing those
symbols probably is more important in GCC 3.4 than in GCC 4.0.  Should we place
the directives in a separate file only included in the shared libgcc_s?

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19019


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/19019] GCC ldouble format incompatibility with XLC long double
  2004-12-15 19:41 [Bug target/19019] New: GCC ldouble format incompatibility with XLC long double dje at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2005-02-23  9:55 ` dje at gcc dot gnu dot org
@ 2005-02-23 14:59 ` jakub at gcc dot gnu dot org
  2005-02-24 14:30 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-02-23 14:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jakub at gcc dot gnu dot org  2005-02-23 10:21 -------
That's not possible, the .symver directives must be in the same source as
defines the symbols in the first operands of .symver.

The following patch works for me in 3.4:
<http://gcc.gnu.org/ml/gcc-patches/2005-02/msg01403.html>

For trunk the changes will be far simpler.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19019


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/19019] GCC ldouble format incompatibility with XLC long double
  2004-12-15 19:41 [Bug target/19019] New: GCC ldouble format incompatibility with XLC long double dje at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2005-02-23 14:59 ` jakub at gcc dot gnu dot org
@ 2005-02-24 14:30 ` cvs-commit at gcc dot gnu dot org
  2005-02-25  1:57 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-24 14:30 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-24 09:27 -------
Subject: Bug 19019

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	jakub@gcc.gnu.org	2005-02-24 09:27:01

Modified files:
	gcc            : ChangeLog mklibgcc.in Makefile.in 
	gcc/config/rs6000: t-linux64 darwin-ldouble.c 
Added files:
	gcc/config/rs6000: darwin-ldouble-shared.c 

Log message:
	PR target/19019
	* Makefile.in (LIB2FUNCS_SHARED_EXTRA, LIB2ADD_SH): New.
	(libgcc.mk): Depend on $(LIB2ADD_SH), pass LIB2ADD_SH to mklibgcc.
	(LIBGCC_DEPS): Add $(LIB2ADD_SH).
	* mklibgcc.in: Handle LIB2ADD_SH.
	* config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Remove darwin-ldouble.c.
	(LIB2FUNCS_STATIC_EXTRA, LIB2FUNCS_SHARED_EXTRA): Set.
	* config/rs6000/darwin-ldouble.c: Protect .symver asm also with
	defined IN_LIBGCC2_S.
	* config/rs6000/darwin-ldouble-shared.c: New file.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.804&r2=2.2326.2.805
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/mklibgcc.in.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.67.4.3&r2=1.67.4.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/Makefile.in.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.1223.2.22&r2=1.1223.2.23
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/darwin-ldouble-shared.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/t-linux64.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.5.16.2&r2=1.5.16.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/darwin-ldouble.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3.4.2&r2=1.3.4.3



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19019


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/19019] GCC ldouble format incompatibility with XLC long double
  2004-12-15 19:41 [Bug target/19019] New: GCC ldouble format incompatibility with XLC long double dje at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2005-02-24 14:30 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-25  1:57 ` cvs-commit at gcc dot gnu dot org
  2005-02-25 23:00 ` cvs-commit at gcc dot gnu dot org
  2005-08-08 20:37 ` pinskia at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-25  1:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-24 21:33 -------
Subject: Bug 19019

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	jakub@gcc.gnu.org	2005-02-24 21:33:05

Modified files:
	gcc            : ChangeLog mklibgcc.in 
	gcc/config/rs6000: darwin-ldouble.c 

Log message:
	PR target/19019
	* mklibgcc.in: Pass -DSHARED when compiling all *_s${objext} objects.
	* config/rs6000/darwin-ldouble.c: Only use the .symver directives
	if SHARED is defined.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7583&r2=2.7584
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/mklibgcc.in.diff?cvsroot=gcc&r1=1.85&r2=1.86
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/darwin-ldouble.c.diff?cvsroot=gcc&r1=1.9&r2=1.10



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19019


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/19019] GCC ldouble format incompatibility with XLC long double
  2004-12-15 19:41 [Bug target/19019] New: GCC ldouble format incompatibility with XLC long double dje at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2005-02-25  1:57 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-25 23:00 ` cvs-commit at gcc dot gnu dot org
  2005-08-08 20:37 ` pinskia at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-25 23:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-25 16:42 -------
Subject: Bug 19019

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	dje@gcc.gnu.org	2005-02-25 16:42:01

Modified files:
	gcc            : ChangeLog reload.c 
	gcc/config/rs6000: rs6000.md 

Log message:
	Backport from mainline:
	2005-02-24  David Edelsohn  <edelsohn@gnu.org>
	PR target/19019
	* reload.c (operands_match_p): Only increment register number for
	SCALAR_INT_MODE_P modes in multiple hard registers.
	* config/rs6000/rs6000.md (trunctfdf2): Remove register constraints.
	Fix formatting.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.805&r2=2.2326.2.806
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/reload.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.229.4.7&r2=1.229.4.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.md.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.284.4.16&r2=1.284.4.17



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19019


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug target/19019] GCC ldouble format incompatibility with XLC long double
  2004-12-15 19:41 [Bug target/19019] New: GCC ldouble format incompatibility with XLC long double dje at gcc dot gnu dot org
                   ` (12 preceding siblings ...)
  2005-02-25 23:00 ` cvs-commit at gcc dot gnu dot org
@ 2005-08-08 20:37 ` pinskia at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-08 20:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-08 20:37 -------
Fixed in 3.4.4 and above.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.4.4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19019


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2005-08-08 20:37 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-15 19:41 [Bug target/19019] New: GCC ldouble format incompatibility with XLC long double dje at gcc dot gnu dot org
2004-12-16 23:41 ` [Bug target/19019] " pinskia at gcc dot gnu dot org
2005-02-14 10:05 ` cvs-commit at gcc dot gnu dot org
2005-02-15  0:36 ` cvs-commit at gcc dot gnu dot org
2005-02-16  5:38 ` cvs-commit at gcc dot gnu dot org
2005-02-17 11:34 ` cvs-commit at gcc dot gnu dot org
2005-02-17 12:11 ` cvs-commit at gcc dot gnu dot org
2005-02-17 12:13 ` cvs-commit at gcc dot gnu dot org
2005-02-23  9:30 ` jakub at gcc dot gnu dot org
2005-02-23  9:55 ` dje at gcc dot gnu dot org
2005-02-23 14:59 ` jakub at gcc dot gnu dot org
2005-02-24 14:30 ` cvs-commit at gcc dot gnu dot org
2005-02-25  1:57 ` cvs-commit at gcc dot gnu dot org
2005-02-25 23:00 ` cvs-commit at gcc dot gnu dot org
2005-08-08 20:37 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).