[Patch, Fortran] PR 45004: Segfault with allocatable scalars and move_alloc
Salvatore Filippone
salvatore.filippone@uniroma2.it
Mon Jul 26 11:27:00 GMT 2010
Hi,
I am getting this build error from make bootstrap:
/home/travel/GCC/BUILDS/obj-dev/./prev-gcc/xgcc -B/home/travel/GCC/BUILDS/obj-dev/./prev-gcc/ -B/usr/local/gnudev/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gnudev/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gnudev/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gnudev/x86_64-unknown-linux-gnu/include -isystem /usr/local/gnudev/x86_64-unknown-linux-gnu/sys-include -c -DIN_GCC_FRONTEND -g -O2 -gtoggle -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -I. -Ifortran -I../../gcc-dev/gcc -I../../gcc-dev/gcc/fortran -I../../gcc-dev/gcc/../include -I../../gcc-dev/gcc/../libcpp/include -I../../gcc-dev/gcc/../libdecnumber -I../../gcc-dev/gcc/../libdecnumber/bid -I../libdecnumber -I/usr/include/libelf ../../gcc-dev/gcc/fortran/trans.c -o fortran/trans.o
../../gcc-dev/gcc/fortran/trans.c: In function âtrans_codeâ:
../../gcc-dev/gcc/fortran/trans.c:1096:6: error: enum conversion when passing argument 3 of âgfc_trans_class_assignâ is invalid in C++ [-Werror=c++-compat]
../../gcc-dev/gcc/fortran/trans-stmt.h:36:6: note: expected âgfc_intrinsic_opâ but argument is of type âgfc_exec_opâ
../../gcc-dev/gcc/fortran/trans.c:1107:6: error: enum conversion when passing argument 3 of âgfc_trans_class_assignâ is invalid in C++ [-Werror=c++-compat]
../../gcc-dev/gcc/fortran/trans-stmt.h:36:6: note: expected âgfc_intrinsic_opâ but argument is of type âgfc_exec_opâ
cc1: all warnings being treated as errors
make[3]: *** [fortran/trans.o] Error 1
make[3]: *** Waiting for unfinished jobs....
Salvatore
More information about the Fortran
mailing list