This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29516] Bug in character transpose
- From: "tobi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Nov 2006 18:50:32 -0000
- Subject: [Bug fortran/29516] Bug in character transpose
- References: <bug-29516-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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