This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug inline-asm/33220] impossible constraint in Ďasmí



------- Comment #2 from yakov at emc dot com  2007-09-02 15:44 -------
Subject: Re:  impossible constraint in asm

pinskia at gcc dot gnu dot org wrote:
> ------- Comment #1 from pinskia at gcc dot gnu dot org  2007-09-01 19:51 -------
> -msoft-float disables the floating register stack so this is not a bug.  The
> error message is correct the constraint is impossible
Does it mean that gcc-3x family has a bug:

gcc -v -msoft-float f_powf.c
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib
--enable-languages=c,c++,f77,objc,java,ada --disable-checking
--enable-libgcj --with-gxx-include-dir=/usr/include/g++
--with-slibdir=/lib --with-system-zlib --enable-shared
--enable-__cxa_atexit i486-suse-linux
Thread model: posix
gcc version 3.3 20030226 (prerelease) (SuSE Linux)
 /usr/lib/gcc-lib/i486-suse-linux/3.3/cc1 -quiet -v -D__GNUC__=3
-D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=0 f_powf.c -quiet -dumpbase
f_powf.c -msoft-float -auxbase f_powf -version -o /tmp/ccOIZkYJ.s
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C version 3.3 20030226 (prerelease) (SuSE Linux) (i486-suse-linux)
        compiled by GNU C version 3.3 20030226 (prerelease) (SuSE Linux).
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/lib/gcc-lib/i486-suse-linux/3.3/include
 /usr/i486-suse-linux/include
 /usr/include
End of search list.
 /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bin/as
-V -Qy -o /tmp/ccgzdkTv.o /tmp/ccOIZkYJ.s
GNU assembler version 2.13.90.0.18 (i486-suse-linux) using BFD version
2.13.90.0.18 20030121 (SuSE Linux)
 /usr/lib/gcc-lib/i486-suse-linux/3.3/collect2 --eh-frame-hdr -m
elf_i386 -dynamic-linker /lib/ld-linux.so.2
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../crt1.o
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../crti.o
/usr/lib/gcc-lib/i486-suse-linux/3.3/crtbegin.o
-L/usr/lib/gcc-lib/i486-suse-linux/3.3
-L/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/lib
-L/usr/lib/gcc-lib/i486-suse-linux/3.3/../../.. /tmp/ccgzdkTv.o -lgcc
-lgcc_eh -lc -lgcc -lgcc_eh
/usr/lib/gcc-lib/i486-suse-linux/3.3/crtend.o
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../crtn.o
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../crt1.o(.text+0x18): In
function `_start':
: undefined reference to `main'
/tmp/ccgzdkTv.o(.text+0xf): In function `_f_powf':
: undefined reference to `__gtsf2'
/tmp/ccgzdkTv.o(.text+0x6b): In function `_f_powf':
: undefined reference to `powf'
collect2: ld returned 1 exit status
usenmyakushnx1l[/emc/yakov]: gcc -v -msoft-float -c f_powf.c
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib
--enable-languages=c,c++,f77,objc,java,ada --disable-checking
--enable-libgcj --with-gxx-include-dir=/usr/include/g++
--with-slibdir=/lib --with-system-zlib --enable-shared
--enable-__cxa_atexit i486-suse-linux
Thread model: posix
gcc version 3.3 20030226 (prerelease) (SuSE Linux)
 /usr/lib/gcc-lib/i486-suse-linux/3.3/cc1 -quiet -v -D__GNUC__=3
-D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=0 f_powf.c -quiet -dumpbase
f_powf.c -msoft-float -auxbase f_powf -version -o /tmp/ccGvb4Lt.s
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C version 3.3 20030226 (prerelease) (SuSE Linux) (i486-suse-linux)
        compiled by GNU C version 3.3 20030226 (prerelease) (SuSE Linux).
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/lib/gcc-lib/i486-suse-linux/3.3/include
 /usr/i486-suse-linux/include
 /usr/include
End of search list.
 /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bin/as
-V -Qy -o f_powf.o /tmp/ccGvb4Lt.s
GNU assembler version 2.13.90.0.18 (i486-suse-linux) using BFD version
2.13.90.0.18 20030121 (SuSE Linux)


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]