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] |
Hi, compiling current gdb-cvs sources I get a floating point error(!) within the compiler if I compile the file tracepoint.c with -O3 I have attached the fully preprocessed tracepoint.c gcc -v gives Reading specs from /usr/LOCAL/lib/gcc-lib/mips-sgi-irix6.5/2.97/specs Configured with: --with-gcc-version-trigger=/usr/people/jarausch/ZIP/EGCS/gcc-cvs/gcc/version.c --host=mips-sgi-irix6.5 --prefix=/usr/LOCAL --with-local-prefix=/usr/LOCAL --enable-haifa --enable-cpp --enable-c-cpplib --norecursion gcc version 2.97 20001024 (experimental) Invocation and error message: gcc -c -O3 -I. -I/usr/people/jarausch/ZIP/GNU/gdb-cvs/gdb -I/usr/people/jarausch/ZIP/GNU/gdb-cvs/gdb/config -DHAVE_CONFIG_H -I/usr/people/jarausch/ZIP/GNU/gdb-cvs/gdb/../include/opcode -I/usr/people/jarausch/ZIP/GNU/gdb-cvs/gdb/../readline/.. -I../bfd -I/usr/people/jarausch/ZIP/GNU/gdb-cvs/gdb/../bfd -I/usr/people/jarausch/ZIP/GNU/gdb-cvs/gdb/../include -I../intl -I/usr/people/jarausch/ZIP/GNU/gdb-cvs/gdb/../intl -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized /usr/people/jarausch/ZIP/GNU/gdb-cvs/gdb/tracepoint.c /usr/people/jarausch/ZIP/GNU/gdb-cvs/gdb/tracepoint.c: In function `map_args_over_tracepoints': /usr/people/jarausch/ZIP/GNU/gdb-cvs/gdb/tracepoint.c:597: warning: `tpnum' might be used uninitialized in this function /usr/people/jarausch/ZIP/GNU/gdb-cvs/gdb/tracepoint.c: In function `trace_pass_command': /usr/people/jarausch/ZIP/GNU/gdb-cvs/gdb/tracepoint.c:597: warning: `tpnum' might be used uninitialized in this function /usr/people/jarausch/ZIP/GNU/gdb-cvs/gdb/tracepoint.c: In function `stringify_collection_list': /usr/people/jarausch/ZIP/GNU/gdb-cvs/gdb/tracepoint.c:1442: Internal error: Floating point exception. Please submit a full bug report. Reducing the optimization to -O seems to work fine. Thanks for looking into it. Helmut Jarausch Lehrstuhl fuer Numerische Mathematik Institute of Technology, RWTH Aachen D 52056 Aachen, Germany
fully preprocessed tracepoint.c from gdb_cvs
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |