------- Comment #9 from tobi at gcc dot gnu dot org 2006-11-25 18:50 ------- The miscompilation appears first with -O -ftree-vrp, i.e. removing -ftree-vrp from the following command line gives a working executable, with it, we get a broken compiler.
tobias-schluters-computer:~/src/trunk/build/gcc tobi$ /Users/tobi/src/trunk/build/./prev-gcc/xgcc -B/Users/tobi/src/trunk/build/./prev-gcc/ -B/Users/tobi/usr/i386-apple-darwin8.8.3/bin/ -c -O -g -ftree-vrp -fomit-frame-pointer -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute -Werror -fno-common -DHAVE_CONFIG_H -I. -Ifortran -I../../gcc -I../../gcc/fortran -I../../gcc/../include -I./../intl -I../../gcc/../libcpp/include -I/sw/include -I../../gcc/../libdecnumber -I../libdecnumber ../../gcc/fortran/trans-array.c -o fortran/trans-array.o -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29516