public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/26607]  New: Illegal inlined assembler on config/rs6000/darwin-ldouble.c
@ 2006-03-08 18:59 edmar at freescale dot com
  2006-03-08 19:01 ` [Bug target/26607] " edmar at freescale dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: edmar at freescale dot com @ 2006-03-08 18:59 UTC (permalink / raw)
  To: gcc-bugs

Gcc cannot process in-lined assembler, when configured for powerpc-gnuspe
target (Note: that target does not have float point registers, but it has float
point sinstructions that operates on the general purpose registers).

ra8797:/local/gnu_toolchain/build_area/obj_gcc_gcc-trunk_e500v1/gcc>
/local/gnu_toolchain/build_area/obj_gcc_gcc-trunk_e500v1/./gcc/xgcc
-B/local/gnu_toolchain/build_area/obj_gcc_gcc-trunk_e500v1/./gcc/
-B/local/gnu_toolchain/install-gcc-trunk-20060308-e500v1/powerpc-unknown-linux-gnuspe/bin/
-B/local/gnu_toolchain/install-gcc-trunk-20060308-e500v1/powerpc-unknown-linux-gnuspe/lib/
-isystem
/local/gnu_toolchain/install-gcc-trunk-20060308-e500v1/powerpc-unknown-linux-gnuspe/include
-isystem
/local/gnu_toolchain/install-gcc-trunk-20060308-e500v1/powerpc-unknown-linux-gnuspe/sys-include
-O2  -O2 -g -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
./include  -fPIC -specs=ldblspecs -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I -I../../gcc-trunk/gcc
-I../../gcc-trunk/gcc/ -I../../gcc-trunk/gcc/../include
-I../../gcc-trunk/gcc/../libcpp/include  -I../../gcc-trunk/gcc/../libdecnumber
-I../libdecnumber -fPIC -mstrict-align -fvisibility=hidden -DHIDE_EXPORTS -c
../../gcc-trunk/gcc/config/rs6000/darwin-ldouble.c -o libgcc/./darwin-ldouble.o
--save-temps -v
Reading specs from
/local/gnu_toolchain/build_area/obj_gcc_gcc-trunk_e500v1/./gcc/specs
Reading specs from
/local/gnu_toolchain/build_area/obj_gcc_gcc-trunk_e500v1/./gcc/ldblspecs
Target: powerpc-unknown-linux-gnuspe
Configured with: ../gcc-trunk/configure
--prefix=/local/gnu_toolchain/install-gcc-trunk-20060308-e500v1
--with-local-prefix=/local/gnu_toolchain/install-gcc-trunk-20060308-e500v1
--enable-languages=c,c++ --enable-threads --target=powerpc-unknown-linux-gnuspe
Thread model: posix
gcc version 4.2.0 20060308 (experimental)
 /local/gnu_toolchain/build_area/obj_gcc_gcc-trunk_e500v1/./gcc/cc1 -E -quiet
-v -I. -I -I../../gcc-trunk/gcc -I../../gcc-trunk/gcc/
-I../../gcc-trunk/gcc/../include -I../../gcc-trunk/gcc/../libcpp/include
-I../../gcc-trunk/gcc/../libdecnumber -I../libdecnumber -iprefix
/temp/gnu_toolchain/build_area/obj_gcc_gcc-trunk_e500v1/gcc/../lib/gcc/powerpc-unknown-linux-gnuspe/4.2.0/
-isystem /local/gnu_toolchain/build_area/obj_gcc_gcc-trunk_e500v1/./gcc/include
-D__unix__ -D__gnu_linux__ -D__linux__ -Dunix -D__unix -Dlinux -D__linux
-Asystem=linux -Asystem=unix -Asystem=posix -DIN_GCC -DCROSS_COMPILE
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc
-DHIDE_EXPORTS -isystem
/local/gnu_toolchain/install-gcc-trunk-20060308-e500v1/powerpc-unknown-linux-gnuspe/include
-isystem
/local/gnu_toolchain/install-gcc-trunk-20060308-e500v1/powerpc-unknown-linux-gnuspe/sys-include
-isystem ./include ../../gcc-trunk/gcc/config/rs6000/darwin-ldouble.c
-mstrict-align -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -fPIC -fPIC -fvisibility=hidden
-fworking-directory -O2 -O2 -O2 -fpch-preprocess -o darwin-ldouble.i
ignoring nonexistent directory
"/local/gnu_toolchain/install-gcc-trunk-20060308-e500v1/powerpc-unknown-linux-gnuspe/include"
ignoring duplicate directory "./include"
ignoring nonexistent directory
"/temp/gnu_toolchain/build_area/obj_gcc_gcc-trunk_e500v1/gcc/../lib/gcc/powerpc-unknown-linux-gnuspe/4.2.0/include"
ignoring nonexistent directory
"/temp/gnu_toolchain/build_area/obj_gcc_gcc-trunk_e500v1/gcc/../lib/gcc/powerpc-unknown-linux-gnuspe/4.2.0/../../../../powerpc-unknown-linux-gnuspe/sys-include"
ignoring nonexistent directory
"/temp/gnu_toolchain/build_area/obj_gcc_gcc-trunk_e500v1/gcc/../lib/gcc/powerpc-unknown-linux-gnuspe/4.2.0/../../../../powerpc-unknown-linux-gnuspe/include"
ignoring duplicate directory
"/local/gnu_toolchain/install-gcc-trunk-20060308-e500v1/lib/gcc/powerpc-unknown-linux-gnuspe/4.2.0/../../../../powerpc-unknown-linux-gnuspe/sys-include"
ignoring nonexistent directory
"/local/gnu_toolchain/install-gcc-trunk-20060308-e500v1/lib/gcc/powerpc-unknown-linux-gnuspe/4.2.0/../../../../powerpc-unknown-linux-gnuspe/include"
ignoring nonexistent directory "-I../../gcc-trunk/gcc"
#include "..." search starts here:
#include <...> search starts here:
 .
 ../../gcc-trunk/gcc/
 ../../gcc-trunk/gcc/../include
 ../../gcc-trunk/gcc/../libcpp/include
 ../../gcc-trunk/gcc/../libdecnumber
 ../libdecnumber
 /local/gnu_toolchain/build_area/obj_gcc_gcc-trunk_e500v1/./gcc/include

/local/gnu_toolchain/install-gcc-trunk-20060308-e500v1/powerpc-unknown-linux-gnuspe/sys-include

/local/gnu_toolchain/install-gcc-trunk-20060308-e500v1/lib/gcc/powerpc-unknown-linux-gnuspe/4.2.0/include
End of search list.
 /local/gnu_toolchain/build_area/obj_gcc_gcc-trunk_e500v1/./gcc/cc1
-fpreprocessed darwin-ldouble.i -quiet -dumpbase darwin-ldouble.c
-mstrict-align -auxbase-strip libgcc/./darwin-ldouble.o -g -g -O2 -O2 -O2 -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -version -fPIC -fPIC -fvisibility=hidden
-mlong-double-128 -o darwin-ldouble.s
GNU C version 4.2.0 20060308 (experimental) (powerpc-unknown-linux-gnuspe)
        compiled by GNU C version 3.4.3.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 992a552977f881ca86a06270e1959aa6
../../gcc-trunk/gcc/config/rs6000/darwin-ldouble.c: In function '__gcc_qdiv':
../../gcc-trunk/gcc/config/rs6000/darwin-ldouble.c:189: error: impossible
constraint in 'asm'


-- 
           Summary: Illegal inlined assembler on config/rs6000/darwin-
                    ldouble.c
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: edmar at freescale dot com
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnuspe


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


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

* [Bug target/26607] Illegal inlined assembler on config/rs6000/darwin-ldouble.c
  2006-03-08 18:59 [Bug c/26607] New: Illegal inlined assembler on config/rs6000/darwin-ldouble.c edmar at freescale dot com
@ 2006-03-08 19:01 ` edmar at freescale dot com
  2006-03-08 19:04 ` [Bug target/26607] [4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: edmar at freescale dot com @ 2006-03-08 19:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from edmar at freescale dot com  2006-03-08 19:01 -------
Created an attachment (id=10994)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10994&action=view)
Intermediate file for reported bug


-- 


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


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

* [Bug target/26607] [4.2 Regression] Illegal inlined assembler on config/rs6000/darwin-ldouble.c
  2006-03-08 18:59 [Bug c/26607] New: Illegal inlined assembler on config/rs6000/darwin-ldouble.c edmar at freescale dot com
  2006-03-08 19:01 ` [Bug target/26607] " edmar at freescale dot com
@ 2006-03-08 19:04 ` pinskia at gcc dot gnu dot org
  2006-03-08 19:10 ` edmar at freescale dot com
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-08 19:04 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   GCC host triplet|x86_64-unknown-linux-gnu    |
            Summary|Illegal inlined assembler on|[4.2 Regression] Illegal
                   |config/rs6000/darwin-       |inlined assembler on
                   |ldouble.c                   |config/rs6000/darwin-
                   |                            |ldouble.c
   Target Milestone|---                         |4.2.0


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


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

* [Bug target/26607] [4.2 Regression] Illegal inlined assembler on config/rs6000/darwin-ldouble.c
  2006-03-08 18:59 [Bug c/26607] New: Illegal inlined assembler on config/rs6000/darwin-ldouble.c edmar at freescale dot com
  2006-03-08 19:01 ` [Bug target/26607] " edmar at freescale dot com
  2006-03-08 19:04 ` [Bug target/26607] [4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-03-08 19:10 ` edmar at freescale dot com
  2006-03-08 19:11 ` [Bug target/26607] [4.1/4.2 " pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: edmar at freescale dot com @ 2006-03-08 19:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from edmar at freescale dot com  2006-03-08 19:10 -------
Same error observed on gcc-4_1-branch 20060308


-- 


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


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

* [Bug target/26607] [4.1/4.2 Regression] Illegal inlined assembler on config/rs6000/darwin-ldouble.c
  2006-03-08 18:59 [Bug c/26607] New: Illegal inlined assembler on config/rs6000/darwin-ldouble.c edmar at freescale dot com
                   ` (2 preceding siblings ...)
  2006-03-08 19:10 ` edmar at freescale dot com
@ 2006-03-08 19:11 ` pinskia at gcc dot gnu dot org
  2006-03-08 19:12 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-08 19:11 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |blocker
            Summary|[4.2 Regression] Illegal    |[4.1/4.2 Regression] Illegal
                   |inlined assembler on        |inlined assembler on
                   |config/rs6000/darwin-       |config/rs6000/darwin-
                   |ldouble.c                   |ldouble.c
   Target Milestone|4.2.0                       |4.1.1


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


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

* [Bug target/26607] [4.1/4.2 Regression] Illegal inlined assembler on config/rs6000/darwin-ldouble.c
  2006-03-08 18:59 [Bug c/26607] New: Illegal inlined assembler on config/rs6000/darwin-ldouble.c edmar at freescale dot com
                   ` (3 preceding siblings ...)
  2006-03-08 19:11 ` [Bug target/26607] [4.1/4.2 " pinskia at gcc dot gnu dot org
@ 2006-03-08 19:12 ` pinskia at gcc dot gnu dot org
  2006-03-08 22:21 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-08 19:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-03-08 19:11 -------
This was caused by the 128bit long doubles patches (well really caused by a
secondary patch to work around a code gen issue).


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

* [Bug target/26607] [4.1/4.2 Regression] Illegal inlined assembler on config/rs6000/darwin-ldouble.c
  2006-03-08 18:59 [Bug c/26607] New: Illegal inlined assembler on config/rs6000/darwin-ldouble.c edmar at freescale dot com
                   ` (4 preceding siblings ...)
  2006-03-08 19:12 ` pinskia at gcc dot gnu dot org
@ 2006-03-08 22:21 ` pinskia at gcc dot gnu dot org
  2006-03-21  5:14 ` amodra at bigpond dot net dot au
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-08 22:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-03-08 22:21 -------
I\x7f should had looked into this one.  This is what I was afraid of when this
idea 128bits long double went it.  It was not the optimization which I thought
was applied but instead just the compiling of darwin-ldouble.c on
powerpc-linux-gnuspe which caused it:
        2006-01-27  David Edelsohn  <edelsohn@gnu.org>
                    Alan Modra  <amodra@bigpond.net.au>

        * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Add darwin-ldouble.c.


-- 


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


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

* [Bug target/26607] [4.1/4.2 Regression] Illegal inlined assembler on config/rs6000/darwin-ldouble.c
  2006-03-08 18:59 [Bug c/26607] New: Illegal inlined assembler on config/rs6000/darwin-ldouble.c edmar at freescale dot com
                   ` (5 preceding siblings ...)
  2006-03-08 22:21 ` pinskia at gcc dot gnu dot org
@ 2006-03-21  5:14 ` amodra at bigpond dot net dot au
  2006-03-23 22:23 ` amodra at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: amodra at bigpond dot net dot au @ 2006-03-21  5:14 UTC (permalink / raw)
  To: gcc-bugs



-- 

amodra at bigpond dot net dot au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |amodra at bigpond dot net
                   |dot org                     |dot au
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-03-21 05:14:03
               date|                            |


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


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

* [Bug target/26607] [4.1/4.2 Regression] Illegal inlined assembler on config/rs6000/darwin-ldouble.c
  2006-03-08 18:59 [Bug c/26607] New: Illegal inlined assembler on config/rs6000/darwin-ldouble.c edmar at freescale dot com
                   ` (6 preceding siblings ...)
  2006-03-21  5:14 ` amodra at bigpond dot net dot au
@ 2006-03-23 22:23 ` amodra at gcc dot gnu dot org
  2006-03-23 22:24 ` amodra at gcc dot gnu dot org
  2006-03-23 22:37 ` amodra at bigpond dot net dot au
  9 siblings, 0 replies; 11+ messages in thread
From: amodra at gcc dot gnu dot org @ 2006-03-23 22:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from amodra at gcc dot gnu dot org  2006-03-23 22:23 -------
Subject: Bug 26607

Author: amodra
Date: Thu Mar 23 22:23:24 2006
New Revision: 112334

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112334
Log:
        PR target/26607
        * config/rs6000/darwin-ldouble.c: Don't compile when __NO_FPRS__
        or __LITTLE_ENDIAN__.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/darwin-ldouble.c


-- 


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


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

* [Bug target/26607] [4.1/4.2 Regression] Illegal inlined assembler on config/rs6000/darwin-ldouble.c
  2006-03-08 18:59 [Bug c/26607] New: Illegal inlined assembler on config/rs6000/darwin-ldouble.c edmar at freescale dot com
                   ` (7 preceding siblings ...)
  2006-03-23 22:23 ` amodra at gcc dot gnu dot org
@ 2006-03-23 22:24 ` amodra at gcc dot gnu dot org
  2006-03-23 22:37 ` amodra at bigpond dot net dot au
  9 siblings, 0 replies; 11+ messages in thread
From: amodra at gcc dot gnu dot org @ 2006-03-23 22:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from amodra at gcc dot gnu dot org  2006-03-23 22:24 -------
Subject: Bug 26607

Author: amodra
Date: Thu Mar 23 22:23:58 2006
New Revision: 112335

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112335
Log:
        PR target/26607
        * config/rs6000/darwin-ldouble.c: Don't compile when __NO_FPRS__
        or __LITTLE_ENDIAN__.


Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/config/rs6000/darwin-ldouble.c


-- 


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


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

* [Bug target/26607] [4.1/4.2 Regression] Illegal inlined assembler on config/rs6000/darwin-ldouble.c
  2006-03-08 18:59 [Bug c/26607] New: Illegal inlined assembler on config/rs6000/darwin-ldouble.c edmar at freescale dot com
                   ` (8 preceding siblings ...)
  2006-03-23 22:24 ` amodra at gcc dot gnu dot org
@ 2006-03-23 22:37 ` amodra at bigpond dot net dot au
  9 siblings, 0 replies; 11+ messages in thread
From: amodra at bigpond dot net dot au @ 2006-03-23 22:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from amodra at bigpond dot net dot au  2006-03-23 22:37 -------
fixed


-- 

amodra at bigpond dot net dot au changed:

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


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


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

end of thread, other threads:[~2006-03-23 22:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-08 18:59 [Bug c/26607] New: Illegal inlined assembler on config/rs6000/darwin-ldouble.c edmar at freescale dot com
2006-03-08 19:01 ` [Bug target/26607] " edmar at freescale dot com
2006-03-08 19:04 ` [Bug target/26607] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-03-08 19:10 ` edmar at freescale dot com
2006-03-08 19:11 ` [Bug target/26607] [4.1/4.2 " pinskia at gcc dot gnu dot org
2006-03-08 19:12 ` pinskia at gcc dot gnu dot org
2006-03-08 22:21 ` pinskia at gcc dot gnu dot org
2006-03-21  5:14 ` amodra at bigpond dot net dot au
2006-03-23 22:23 ` amodra at gcc dot gnu dot org
2006-03-23 22:24 ` amodra at gcc dot gnu dot org
2006-03-23 22:37 ` amodra at bigpond dot net dot au

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).