This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/57987] Fortran finalizers considered extern-inline by middle-end
- From: "jamborm at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 26 Jul 2013 12:00:50 +0000
- Subject: [Bug fortran/57987] Fortran finalizers considered extern-inline by middle-end
- Auto-submitted: auto-generated
- References: <bug-57987-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57987
--- Comment #1 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Created attachment 30558
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30558&action=edit
An unsuccessful attempt to fix this
I attempted to fix this with the attached patch but it fails some Fortran
testcases:
Tests that now fail, but worked before:
gfortran.dg/coarray/registering_1.f90 -fcoarray=lib -O2 -lcaf_single (test
for excess er
rors)
gfortran.dg/coarray/registering_1.f90 -fcoarray=single -O2 (test for excess
errors)
gfortran.dg/coarray/this_image_2.f90 -fcoarray=lib -O2 -lcaf_single (test for
excess err
ors)
gfortran.dg/coarray_13.f90 -O0 (test for excess errors)
gfortran.dg/coarray_13.f90 -O1 (test for excess errors)
gfortran.dg/coarray_13.f90 -O2 (test for excess errors)
gfortran.dg/coarray_13.f90 -O3 -fomit-frame-pointer (test for excess errors)
gfortran.dg/coarray_13.f90 -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions
(test for excess errors)
gfortran.dg/coarray_13.f90 -O3 -fomit-frame-pointer -funroll-loops (test for
excess erro
rs)
gfortran.dg/coarray_13.f90 -O3 -g (test for excess errors)
gfortran.dg/coarray_13.f90 -Os (test for excess errors)
New tests that FAIL:
gfortran.dg/coarray/registering_1.f90 -fcoarray=lib -O2 -lcaf_single
(internal compiler
error)
gfortran.dg/coarray/this_image_2.f90 -fcoarray=lib -O2 -lcaf_single (internal
compiler e
rror)