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]

Bug in cross-gcc egcs-19991004 compiled on i586-pc-cygwin32 gcc 2.95




[main] d:\users\rku65670\xgcc\lib\gcc-lib\i386-unkown-aout\2.96\cc1.exe 1282 (0)
 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
[main] cc1 1282 (0) handle_exceptions: Dumping stack trace to cc1.exe.core


 <<gcc-bug.txt>>  <<task3.i>> 

The error only happens when optimizing is turned on. It doesn't happen with my native
compiler gcc-2.95. Since both gcc-2.95 and egcs-19991004 are compiled with
gcc-2.95, I think its a bug inside egcs-19991004. 

xgcc (aka egcs-19991004 itself is a crosscompiler for i386 and i486 based
boards using an embedded RTOS called micros.)

-- 
 Klaus Rotter, Siemens AG,  ATD TD 6 EPG, Postfach 3249, 91020 Erlangen
 Tel.: +49 9131 18-84637, Fax: +49 9131 18-84648 
 mailto:Klaus.Rotter@erl9.siemens.de


Reading specs from /xgcc/lib/gcc-lib/i386-unkown-aout/2.96/specs
gcc version 2.96 19991004 (experimental)
 /xgcc/lib/gcc-lib/i386-unkown-aout/2.96/cpp.exe -lang-c -v -I../../inc/ -D__GNUC__=2 -D__GNUC_MINOR__=96 -Di386 -D__i386__ -D__i386 -D__OPTIMIZE__ -D__FAST_MATH__ -g -Wall -Wno-comment -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -D__tune_i386__ task3.c task3.i
GNU CPP version 2.96 19991004 (experimental) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 ../../inc
 /xgcc/lib/gcc-lib/i386-unkown-aout/2.96/include
 /xgcc/lib/gcc-lib/i386-unkown-aout/2.96/../../../../i386-unkown-aout/include
End of search list.
The following default directories have been omitted from the search path:
 /xgcc/lib/gcc-lib/i386-unkown-aout/2.96/../../../../include/g++-
 /xgcc/lib/gcc-lib/i386-unkown-aout/2.96/../../../../i386-unkown-aout/sys-include
End of omitted list.
 /xgcc/lib/gcc-lib/i386-unkown-aout/2.96/cc1.exe task3.i -quiet -dumpbase task3.c -mpreferred-stack-boundary=4 -mrtd -g -O -Wall -Wno-comment -version -ffast-math -fpack-struct -fverbose-asm -o task3.s
GNU C version 2.96 19991004 (experimental) (i386-unkown-aout) compiled by GNU C version 2.95 19990728 (release).
task3.c: In function `sprintfloat':
task3.c:328: warning: implicit declaration of function `sprintf'
task3.c: In function `MainTask1':
task3.c:400: warning: passing arg 1 of `vioprint' discards qualifiers from pointer target type
[main] d:\users\rku65670\xgcc\lib\gcc-lib\i386-unkown-aout\2.96\cc1.exe 1282 (0) handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
[main] cc1 1282 (0) handle_exceptions: Dumping stack trace to cc1.exe.core

task3.i


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