public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/26223]  New: ICE on complex<long double> with -mno-80387
@ 2006-02-11 11:09 pluto at agmk dot net
  2006-02-11 16:07 ` [Bug target/26223] " pinskia at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: pluto at agmk dot net @ 2006-02-11 11:09 UTC (permalink / raw)
  To: gcc-bugs

#include <complex>
using namespace std;

template <typename T>
complex<T> add(complex<T> a, complex<T> b) { return a + b; }

template complex<long double> add(complex<long double>, complex<long double>);


$ g++ -Wall tmp.cpp -mno-80387 -O2
tmp.cpp: In function &#8216;std::complex<_Tp> add(std::complex<_Tp>,
std::complex<_Tp>) [with T = long double]&#8217;:
tmp.cpp:5: error: insn does not satisfy its constraints:
(insn 48 18 49 0 (set (mem/c:XF (plus:DI (reg/f:DI 7 sp)
                (const_int 32 [0x20])) [0 S16 A8])
        (reg:XF 8 )) 99 {*movxf_integer} (nil)
    (nil))
tmp.cpp:5: internal compiler error: in reload_cse_simplify_operands,
           at postreload.c:394

$ gcc -v
Reading specs from /usr/lib64/gcc/x86_64-pld-linux/4.1.0/specs
Target: x86_64-pld-linux
Configured with: ../configure --prefix=/usr --libdir=/usr/lib64
--libexecdir=/usr/lib64 --infodir=/usr/share/info --mandir=/usr/share/man
--x-libraries=/usr/X11R6/lib64 --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-languages=c,c++,fortran,objc,obj-c++,ada,java
--enable-c99 --enable-long-long --disable-multilib --enable-nls
--disable-werror --with-gnu-as --with-gnu-ld --with-demangler-in-ld
--with-system-zlib --with-slibdir=/lib64 --enable-cmath --enable-libgcj
--enable-libgcj-multifile --enable-libgcj-database --enable-gtk-cairo
--enable-java-awt=gtk,xlib --enable-jni --enable-xmlj --enable-alsa
--enable-dssi x86_64-pld-linux
Thread model: posix
gcc version 4.1.0 20060210 (prerelease)

revision 110831


-- 
           Summary: ICE on complex<long double> with -mno-80387
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at agmk dot net
 GCC build triplet: x86-64
  GCC host triplet: x86-64
GCC target triplet: x86-64


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


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

end of thread, other threads:[~2006-06-06 22:41 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-11 11:09 [Bug target/26223] New: ICE on complex<long double> with -mno-80387 pluto at agmk dot net
2006-02-11 16:07 ` [Bug target/26223] " pinskia at gcc dot gnu dot org
2006-02-16 14:12 ` [Bug target/26223] [4.0/4.1/4.2 regression] ICE on long double " reichelt at gcc dot gnu dot org
2006-02-16 15:12 ` pinskia at gcc dot gnu dot org
2006-02-16 15:32 ` pluto at agmk dot net
2006-02-16 19:51 ` steven at gcc dot gnu dot org
2006-02-16 19:58 ` steven at gcc dot gnu dot org
2006-02-18  6:50 ` mmitchel at gcc dot gnu dot org
2006-02-24  0:31 ` mmitchel at gcc dot gnu dot org
2006-05-25  2:37 ` mmitchel at gcc dot gnu dot org
2006-06-04  4:28 ` sayle at gcc dot gnu dot org
2006-06-05 22:45 ` sayle at gcc dot gnu dot org
2006-06-06  5:08 ` [Bug target/26223] [4.0 " pinskia at gcc dot gnu dot org
2006-06-06 19:53 ` sayle at gcc dot gnu dot org
2006-06-06 22:53 ` roger at eyesopen dot com

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