public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/11848] New: internal compiler error for -mlong-double-128
@ 2003-08-07 18:43 gcc at microbizz dot nl
  2003-08-07 18:50 ` [Bug target/11848] " pinskia at physics dot uc dot edu
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: gcc at microbizz dot nl @ 2003-08-07 18:43 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: internal compiler error for -mlong-double-128
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gcc at microbizz dot nl
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-apple-darwin
  GCC host triplet: powerpc-apple-darwin
GCC target triplet: powerpc-apple-darwin

[G4:~/gnu/testgpc/adriaan] adriaan% cat longreals.c

#include <stdio.h>

int main( void )
{
  long double l = 1.2345E6;
        printf( "% .4E\n", l);    
        return 0;
}

[G4:~/gnu/testgpc/adriaan] adriaan% gcc longreals.c -mlong-double-128

longreals.c: In function `main':
longreals.c:9: error: insn does not satisfy its constraints:
(insn 74 73 51 0x0 (set (reg:SI 33 f1)
        (mem:SI (plus:SI (reg/f:SI 30 r30)
                (const_int 80 [0x50])) [0 S4 A8])) 306 {*movsi_internal1} (nil)
    (nil))
longreals.c:9: internal compiler error: in extract_constrain_insn_cached, at
recog.c:2090

[G4:~/gnu/testgpc/adriaan] adriaan% gcc -v
Reading specs from
/Developer/Pascal/gpc33d6/lib/gcc-lib/powerpc-apple-darwin/3.3/specs
Configured with: ../gpc-3.3d6/configure --enable-languages=pascal,c
--enable-threads=posix --prefix=/Developer/Pascal/gpc33d6
--target=powerpc-apple-darwin
Thread model: posix
gcc version 3.3

Regards,

Adriaan van Os


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

* [Bug target/11848] internal compiler error for -mlong-double-128
  2003-08-07 18:43 [Bug c/11848] New: internal compiler error for -mlong-double-128 gcc at microbizz dot nl
@ 2003-08-07 18:50 ` pinskia at physics dot uc dot edu
  2003-08-11 19:23 ` [Bug target/11848] [darwin] [no support for 128 doubles] " pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-07 18:50 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|c                           |target
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2003-08-07 18:50:53
               date|                            |


------- Additional Comments From pinskia at physics dot uc dot edu  2003-08-07 18:50 -------
I can confirm this on the mainline (20030806) but I think the problem is that powerpc-darwin does 
not support 128bit long double's, I think the fix is to add TARGET_MACHO to the support where 
TARGET_AIX is, but I do not know this for sure.


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

* [Bug target/11848] [darwin] [no support for 128 doubles] internal compiler error for -mlong-double-128
  2003-08-07 18:43 [Bug c/11848] New: internal compiler error for -mlong-double-128 gcc at microbizz dot nl
  2003-08-07 18:50 ` [Bug target/11848] " pinskia at physics dot uc dot edu
@ 2003-08-11 19:23 ` pinskia at gcc dot gnu dot org
  2003-08-17 12:57 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-11 19:23 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
            Summary|internal compiler error for |[darwin] [no support for 128
                   |-mlong-double-128           |doubles] internal compiler
                   |                            |error for -mlong-double-128


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

* [Bug target/11848] [darwin] [no support for 128 doubles] internal compiler error for -mlong-double-128
  2003-08-07 18:43 [Bug c/11848] New: internal compiler error for -mlong-double-128 gcc at microbizz dot nl
  2003-08-07 18:50 ` [Bug target/11848] " pinskia at physics dot uc dot edu
  2003-08-11 19:23 ` [Bug target/11848] [darwin] [no support for 128 doubles] " pinskia at gcc dot gnu dot org
@ 2003-08-17 12:57 ` pinskia at gcc dot gnu dot org
  2003-08-17 13:42 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-17 12:57 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-17 12:57 -------
I have a patch which I am testing.


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

* [Bug target/11848] [darwin] [no support for 128 doubles] internal compiler error for -mlong-double-128
  2003-08-07 18:43 [Bug c/11848] New: internal compiler error for -mlong-double-128 gcc at microbizz dot nl
                   ` (2 preceding siblings ...)
  2003-08-17 12:57 ` pinskia at gcc dot gnu dot org
@ 2003-08-17 13:42 ` pinskia at gcc dot gnu dot org
  2003-08-23  1:11 ` dhazeghi at yahoo dot com
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-17 13:42 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|pinskia at gcc dot gnu dot  |unassigned at gcc dot gnu
                   |org                         |dot org
             Status|ASSIGNED                    |NEW


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-17 13:42 -------
Never mind it did not work.


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

* [Bug target/11848] [darwin] [no support for 128 doubles] internal compiler error for -mlong-double-128
  2003-08-07 18:43 [Bug c/11848] New: internal compiler error for -mlong-double-128 gcc at microbizz dot nl
                   ` (3 preceding siblings ...)
  2003-08-17 13:42 ` pinskia at gcc dot gnu dot org
@ 2003-08-23  1:11 ` dhazeghi at yahoo dot com
  2003-11-15  1:16 ` dhazeghi at yahoo dot com
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-08-23  1:11 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


dhazeghi at yahoo dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4                         |---


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

* [Bug target/11848] [darwin] [no support for 128 doubles] internal compiler error for -mlong-double-128
  2003-08-07 18:43 [Bug c/11848] New: internal compiler error for -mlong-double-128 gcc at microbizz dot nl
                   ` (4 preceding siblings ...)
  2003-08-23  1:11 ` dhazeghi at yahoo dot com
@ 2003-11-15  1:16 ` dhazeghi at yahoo dot com
  2003-11-16 11:52 ` geoffk at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-11-15  1:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dhazeghi at yahoo dot com  2003-11-15 01:16 -------
Confirmed mainline (20031115). Geoff's recent patch <http://gcc.gnu.org/ml/gcc-patches/2003-
11/msg01113.html> did not fix this.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-08-07 18:50:53         |2003-11-15 01:16:07
               date|                            |


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


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

* [Bug target/11848] [darwin] [no support for 128 doubles] internal compiler error for -mlong-double-128
  2003-08-07 18:43 [Bug c/11848] New: internal compiler error for -mlong-double-128 gcc at microbizz dot nl
                   ` (5 preceding siblings ...)
  2003-11-15  1:16 ` dhazeghi at yahoo dot com
@ 2003-11-16 11:52 ` geoffk at gcc dot gnu dot org
  2003-11-16 11:55 ` geoffk at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: geoffk at gcc dot gnu dot org @ 2003-11-16 11:52 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2003-11-15 01:16:07         |2003-11-16 11:52:31
               date|                            |


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


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

* [Bug target/11848] [darwin] [no support for 128 doubles] internal compiler error for -mlong-double-128
  2003-08-07 18:43 [Bug c/11848] New: internal compiler error for -mlong-double-128 gcc at microbizz dot nl
                   ` (6 preceding siblings ...)
  2003-11-16 11:52 ` geoffk at gcc dot gnu dot org
@ 2003-11-16 11:55 ` geoffk at gcc dot gnu dot org
  2003-12-09  1:58 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: geoffk at gcc dot gnu dot org @ 2003-11-16 11:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From geoffk at gcc dot gnu dot org  2003-11-16 11:55 -------
Note that even when this is fixed, -mlong-double-128 (and especially this testcase) won't work on 
Darwin because the library support for it is not there.  That's not a GCC problem.

-- 


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


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

* [Bug target/11848] [darwin] [no support for 128 doubles] internal compiler error for -mlong-double-128
  2003-08-07 18:43 [Bug c/11848] New: internal compiler error for -mlong-double-128 gcc at microbizz dot nl
                   ` (7 preceding siblings ...)
  2003-11-16 11:55 ` geoffk at gcc dot gnu dot org
@ 2003-12-09  1:58 ` cvs-commit at gcc dot gnu dot org
  2003-12-09  2:00 ` geoffk at gcc dot gnu dot org
  2003-12-09  2:22 ` pinskia at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-12-09  1:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-12-09 01:57 -------
Subject: Bug 11848

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	geoffk@gcc.gnu.org	2003-12-09 01:57:45

Modified files:
	gcc            : ChangeLog 
	gcc/config/rs6000: altivec.md rs6000-protos.h rs6000.c rs6000.h 
	                   rs6000.md 
Added files:
	gcc/testsuite/gcc.c-torture/compile: 20031208-1.c 

Log message:
	PR target/11848
	* rs6000.h (CANNOT_CHANGE_MODE_CLASS): Allow change of mode
	in floating-point registers between TFmode and DImode.
	* rs6000.c (rs6000_emit_move): Split moves early.
	(secondary_reload_class): Random Whitespace Change.
	(rs6000_split_multireg_move): Support moves involving FP registers.
	Emit instructions directly.
	* rs6000-protos.h (rs6000_split_multireg_move): Update prototype.
	* altivec.md: Update for changes to rs6000_split_multireg_move.
	* rs6000.md: Update for changes to rs6000_split_multireg_move.
	(movtf_internal): Support moves to/from GPRs.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.1966&r2=2.1967
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/compile/20031208-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/altivec.md.diff?cvsroot=gcc&r1=1.11&r2=1.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000-protos.h.diff?cvsroot=gcc&r1=1.67&r2=1.68
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.c.diff?cvsroot=gcc&r1=1.554&r2=1.555
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.h.diff?cvsroot=gcc&r1=1.301&r2=1.302
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.md.diff?cvsroot=gcc&r1=1.275&r2=1.276



-- 


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


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

* [Bug target/11848] [darwin] [no support for 128 doubles] internal compiler error for -mlong-double-128
  2003-08-07 18:43 [Bug c/11848] New: internal compiler error for -mlong-double-128 gcc at microbizz dot nl
                   ` (8 preceding siblings ...)
  2003-12-09  1:58 ` cvs-commit at gcc dot gnu dot org
@ 2003-12-09  2:00 ` geoffk at gcc dot gnu dot org
  2003-12-09  2:22 ` pinskia at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: geoffk at gcc dot gnu dot org @ 2003-12-09  2:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From geoffk at gcc dot gnu dot org  2003-12-09 02:00 -------
Should be fixed now.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug target/11848] [darwin] [no support for 128 doubles] internal compiler error for -mlong-double-128
  2003-08-07 18:43 [Bug c/11848] New: internal compiler error for -mlong-double-128 gcc at microbizz dot nl
                   ` (9 preceding siblings ...)
  2003-12-09  2:00 ` geoffk at gcc dot gnu dot org
@ 2003-12-09  2:22 ` pinskia at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-09  2:22 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.4


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


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

end of thread, other threads:[~2003-12-09  2:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-07 18:43 [Bug c/11848] New: internal compiler error for -mlong-double-128 gcc at microbizz dot nl
2003-08-07 18:50 ` [Bug target/11848] " pinskia at physics dot uc dot edu
2003-08-11 19:23 ` [Bug target/11848] [darwin] [no support for 128 doubles] " pinskia at gcc dot gnu dot org
2003-08-17 12:57 ` pinskia at gcc dot gnu dot org
2003-08-17 13:42 ` pinskia at gcc dot gnu dot org
2003-08-23  1:11 ` dhazeghi at yahoo dot com
2003-11-15  1:16 ` dhazeghi at yahoo dot com
2003-11-16 11:52 ` geoffk at gcc dot gnu dot org
2003-11-16 11:55 ` geoffk at gcc dot gnu dot org
2003-12-09  1:58 ` cvs-commit at gcc dot gnu dot org
2003-12-09  2:00 ` geoffk at gcc dot gnu dot org
2003-12-09  2:22 ` 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).