https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42353
janus at gcc dot gnu.org changed:
What|Removed |Added
Target Milestone|--- |4.5.0
--- Comment #7 from janus at gcc dot gnu dot org 2009-12-28 14:15 ---
Here is a reduced version of the test case in comment #6:
module concrete_vector
type :: trivial_vector_type
end type
class(trivial_vector_type), pointer :: this
end module concrete_vector
module
--- Comment #8 from janus at gcc dot gnu dot org 2009-12-28 14:29 ---
Ok, here is a new patch, which fixes all problems reported here so far:
Index: gcc/fortran/symbol.c
===
--- gcc/fortran/symbol.c(revision
--- Comment #9 from janus at gcc dot gnu dot org 2009-12-28 15:24 ---
(In reply to comment #8)
In the meantime I will test it for regressions.
Regtest finished successfully.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42353
--- Comment #10 from anlauf at gmx dot de 2009-12-28 18:35 ---
(In reply to comment #8)
Ok, here is a new patch, which fixes all problems reported here so far:
Janus,
this patch appears OK so far.
(I get a probably unrelated ICE later in the compilation process
of the Fortran
--- Comment #11 from janus at gcc dot gnu dot org 2009-12-28 19:13 ---
(In reply to comment #10)
this patch appears OK so far.
Great, thanks for checking.
(I get a probably unrelated ICE later in the compilation process
of the Fortran project which I am investigating).
Would be
--- Comment #12 from anlauf at gmx dot de 2009-12-28 21:44 ---
Created an attachment (id=19404)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19404action=view)
Sample code for ICE
Janus,
I have attached a version that results in the following ICE after your patch
was applied.
--- Comment #13 from janus at gcc dot gnu dot org 2009-12-28 21:59 ---
(In reply to comment #12)
I have attached a version that results in the following ICE after your patch
was applied. The error message reads:
gfcbug96c.f90:144:0: internal compiler error: Segmentation fault
--- Comment #14 from anlauf at gmx dot de 2009-12-28 22:39 ---
(In reply to comment #13)
Sorry, I'm unable to reproduce this ICE on x86_64-unknown-linux-gnu with the
trunk at r155493, neither with the patch in comment #8 nor without.
My mistake, I applied the patch to the same gcc
--- Comment #15 from janus at gcc dot gnu dot org 2009-12-28 23:13 ---
Subject: Bug 42353
Author: janus
Date: Mon Dec 28 23:13:03 2009
New Revision: 155494
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155494
Log:
gcc/fortran/
2009-12-28 Janus Weil ja...@gcc.gnu.org
PR
--- Comment #16 from janus at gcc dot gnu dot org 2009-12-28 23:16 ---
Fixed with r155494. Closing.
--
janus at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #6 from anlauf at gmx dot de 2009-12-17 21:09 ---
Created an attachment (id=19340)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19340action=view)
Extended demo code.
Here's a slightly extended sample of the code where the two
submitted patches still fail with the
--- Comment #5 from anlauf at gmx dot de 2009-12-16 21:16 ---
(In reply to comment #3)
One can get rid of this by making the vtypes private:
Index: gcc/fortran/symbol.c
===
--- gcc/fortran/symbol.c(revision
--- Comment #3 from janus at gcc dot gnu dot org 2009-12-13 21:09 ---
One can get rid of this by making the vtypes private:
Index: gcc/fortran/symbol.c
===
--- gcc/fortran/symbol.c(revision 155182)
+++
--- Comment #4 from janus at gcc dot gnu dot org 2009-12-13 21:41 ---
Btw, here is a reduced/modified test case which gives the same error:
module m0
type :: t
end type
end module
module m1a
use m0
class(t), pointer :: c1
end module
module m1b
use m0
class(t), pointer ::
--- Comment #1 from anlauf at gmx dot de 2009-12-11 22:53 ---
Created an attachment (id=19279)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19279action=view)
Reduced demo code
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42353
--- Comment #2 from janus at gcc dot gnu dot org 2009-12-11 23:13 ---
Confirmed. Thanks for reporting.
--
janus at gcc dot gnu dot org changed:
What|Removed |Added
17 matches
Mail list logo