public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/59900] New: isnan signals FPE invalid operation when given a NaN
@ 2014-01-21 21:56 cam888eron at yahoo dot com
  2014-01-21 21:58 ` [Bug c++/59900] " cam888eron at yahoo dot com
  0 siblings, 1 reply; 2+ messages in thread
From: cam888eron at yahoo dot com @ 2014-01-21 21:56 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59900
           Summary: isnan signals FPE invalid operation when given a NaN
           Product: gcc
           Version: 4.4.6
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: cam888eron at yahoo dot com

Created attachment 31912
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31912&action=edit
preprocessed file 1st

Possible g++ problem.  isnan signals
  FPE invalid operation when given a NaN.

  (Ditto isnanf.  I found that using g++ 4.1.2, where isnan
   works but isnanf signals FPE invalid operation, not shown.)

  If not g++ problem, any advice on which other .org
  to report problem to would be much appreciated, 'the
  assembler, the linker or the C library', etc.  Thanks.

  Command line
  % ( g++ -v -c -g -m64 -Wall -fpic -save-temps -o check4nan.o check4nan.cc ;
      g++ -m64 -shared check4nan.o -o libnan.so ;
      g++ -c -g -m64 -Wall -fpic -save-temps -o nan.o nan.cc ;
      g++ -m64 -L. -lnan -o nan nan.o ;
      setenv LD_LIBRARY_PATH .:${LD_LIBRARY_PATH} ;
      ./nan )
  says:

Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-ppl --with-cloog --with-tune=generic --with-arch_32=i686
--build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) 
COLLECT_GCC_OPTIONS='-v' '-c' '-g' '-m64' '-Wall' '-fpic' '-save-temps' '-o'
'check4nan.o' '-shared-libgcc' '-mtune=generic'
 /usr/libexec/gcc/x86_64-redhat-linux/4.4.6/cc1plus -E -quiet -v -D_GNU_SOURCE
check4nan.cc -m64 -mtune=generic -Wall -fpic -g -fworking-directory
-fpch-preprocess -o check4nan.ii
ignoring nonexistent directory
"/usr/lib/gcc/x86_64-redhat-linux/4.4.6/include-fixed"
ignoring nonexistent directory
"/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../x86_64-redhat-linux/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6

/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/x86_64-red
hat-linux
 /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/backward
 /usr/local/include
 /usr/lib/gcc/x86_64-redhat-linux/4.4.6/include
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-c' '-g' '-m64' '-Wall' '-fpic' '-save-temps' '-o'
'check4nan.o' '-shared-libgcc' '-mtune=generic'
 /usr/libexec/gcc/x86_64-redhat-linux/4.4.6/cc1plus -fpreprocessed
check4nan.ii -quiet -dumpbase check4nan.cc -m64 -mtune=generic -auxbase-strip
check4nan.o -g -Wall -version -fpic -o check4nan.s
GNU C++ (GCC) version 4.4.6 20110731 (Red Hat 4.4.6-3) (x86_64-redhat-linux)
        compiled by GNU C version 4.4.6 20110731 (Red Hat 4.4.6-3), GMP
version 4.3.1, MPFR version 2.4.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 42c2a139506c57f2f1525b40cf548e53
COLLECT_GCC_OPTIONS='-v' '-c' '-g' '-m64' '-Wall' '-fpic' '-save-temps' '-o'
'check4nan.o' '-shared-libgcc' '-mtune=generic'
 as -V -Qy --64 -o check4nan.o check4nan.s
GNU assembler version 2.20.51.0.2 (x86_64-redhat-linux) using BFD version
version 2.20.51.0.2-5.28.el6 20091009
COMPILER_PATH=/usr/libexec/gcc/x86_64-redhat-linux/4.4.6/:/usr/libexec/gcc/x86_6
4-redhat-linux/4.4.6/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-
redhat-linux/4.4.6/:/usr/lib/gcc/x86_64-redhat-linux/:/usr/libexec/gcc/x86_64-re
dhat-linux/4.4.6/:/usr/libexec/gcc/x86_64-redhat-linux/:/usr/lib/gcc/x86_64-redh
at-linux/4.4.6/:/usr/lib/gcc/x86_64-redhat-linux/
LIBRARY_PATH=/usr/lib/gcc/x86_64-redhat-linux/4.4.6/:/usr/lib/gcc/x86_64-redhat-
linux/4.4.6/:/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../lib64/:/lib/../l
ib64/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../:/lib/:
/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-c' '-g' '-m64' '-Wall' '-fpic' '-save-temps' '-o'
'check4nan.o' '-shared-libgcc' '-mtune=generic'
isnan  !!! signal handler - caught FPE
!!! Floating point invalid operation


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

* [Bug c++/59900] isnan signals FPE invalid operation when given a NaN
  2014-01-21 21:56 [Bug c++/59900] New: isnan signals FPE invalid operation when given a NaN cam888eron at yahoo dot com
@ 2014-01-21 21:58 ` cam888eron at yahoo dot com
  0 siblings, 0 replies; 2+ messages in thread
From: cam888eron at yahoo dot com @ 2014-01-21 21:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Cameron MacMinn <cam888eron at yahoo dot com> ---
Created attachment 31913
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31913&action=edit
preprocessed file 2nd

needs 2 source files, hence 2 .ii preprocessed files


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

end of thread, other threads:[~2014-01-21 21:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-21 21:56 [Bug c++/59900] New: isnan signals FPE invalid operation when given a NaN cam888eron at yahoo dot com
2014-01-21 21:58 ` [Bug c++/59900] " cam888eron at yahoo 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).