This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/27470] [4.1 regression] wrong memory allocator for derived types
- From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 May 2006 21:25:36 -0000
- Subject: [Bug fortran/27470] [4.1 regression] wrong memory allocator for derived types
- References: <bug-27470-10391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from tkoenig at gcc dot gnu dot org 2006-05-27 21:25 -------
I applied the patch to the 4.1 branch, and I have a strange "regression":
When running "make check-fortran", I get
Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for
target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using /home/ig25/gcc/branches/gcc-4_1-branch/gcc/testsuite/config/default.exp
as tool-and-target-specific interface file.
Running /home/ig25/gcc/branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/dg.exp
...
FAIL: gfortran.dg/io_constraints_2.f90 -O (test for errors, line 61)
FAIL: gfortran.dg/io_constraints_2.f90 -O (test for excess errors)
got a INT signal, interrupted by user
=== gfortran Summary ===
# of expected passes 6807
# of unexpected failures 2
# of expected failures 11
# of unsupported tests 16
(although it is hard to see how that came about).
When I run just that test case, I get
$ make -k check-gfortran RUNTESTFLAGS="dg.exp=gfortran.dg/io_constraints_2.f90"
test -d testsuite || mkdir testsuite
test -d testsuite/gfortran || mkdir testsuite/gfortran
(rootme=`${PWDCMD-pwd}`; export rootme; \
srcdir=`cd ../../../../gcc/branches/gcc-4_1-branch/gcc; ${PWDCMD-pwd}`
; export srcdir ; \
cd testsuite/gfortran; \
rm -f tmp-site.exp; \
sed '/set tmpdir/ s|testsuite|testsuite/gfortran|' \
< ../../site.exp > tmp-site.exp; \
/bin/sh ${srcdir}/../move-if-change tmp-site.exp site.exp; \
EXPECT=`if [ -f ${rootme}/../expect/expect ] ; then echo
${rootme}/../expect/expect ; else echo expect ; fi` ; export EXPECT ; \
if [ -f ${rootme}/../expect/expect ] ; then \
TCL_LIBRARY=`cd .. ; cd ${srcdir}/../tcl/library ; ${PWDCMD-pwd}` ;
\
export TCL_LIBRARY ; fi ; \
`if [ -f ${srcdir}/../dejagnu/runtest ] ; then echo
${srcdir}/../dejagnu/runtest ; else echo runtest; fi` --tool gfortran
dg.exp=gfortran.dg/io_constraints_2.f90)
site.exp is unchanged
Test Run By ig25 on Sat May 27 23:22:53 2006
Native configuration is i686-pc-linux-gnu
=== gfortran tests ===
Schedule of variations:
unix
Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for
target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using /home/ig25/gcc/branches/gcc-4_1-branch/gcc/testsuite/config/default.exp
as tool-and-target-specific interface file.
Running /home/ig25/gcc/branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/dg.exp
...
=== gfortran Summary ===
# of expected passes 18
/home/ig25/gcc-bin/branches/gcc-4_1-branch/gcc/testsuite/gfortran/../../gfortran
version 4.1.2 20060527 (prerelease)
Not committing right now.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27470