This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/41772] New: segfault
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Oct 2009 19:52:10 -0000
- Subject: [Bug fortran/41772] New: segfault
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Non-reduced testcase:
wget http://www.uszla.me.uk/FoX/source/FoX-4.0.4.tar.gz
tar xfz FoX-4.0.4.tar.gz
cd FoX-4.0.4 && ./configure FC=gfortran && make -j4
cat <<EOF > fox.f90
use FoX_dom
implicit none
type(Node), pointer :: doc
type(DOMConfiguration),pointer :: config
config => newDOMConfig()
call setParameter(config, "validate-if-schema", .true.)
doc => parseFile("input.xml",config)
end
EOF
gfortran -Iobjs/finclude fox.f90 objs/lib/libFoX_{dom,utils,sax,common,fsys}.a
./a.out
Segmentation fault (core dumped)
Needs the attached "input.xml". Testcase works with NAG f95.
--
Summary: segfault
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41772