http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46344
janus at gcc dot gnu.org changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46344
--- Comment #10 from janus at gcc dot gnu.org 2010-11-08 09:04:03 UTC ---
Author: janus
Date: Mon Nov 8 09:03:50 2010
New Revision: 166430
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=166430
Log:
2010-11-08 Janus Weil ja...@gcc.gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46344
--- Comment #11 from janus at gcc dot gnu.org 2010-11-08 09:20:48 UTC ---
r166430 fixes the test cases in comment #0 and #4 and the one in PR 46345.
However, the problem in comment #5 persists. Reduced test case:
module m
type t1
end type
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46344
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
Priority|P3 |P4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46344
--- Comment #12 from janus at gcc dot gnu.org 2010-11-08 14:39:01 UTC ---
(In reply to comment #11)
The error seems to be sensitive to the first letter of the type(t1) variable.
All names starting with 'w'-'z' fail, others seem to work. Also the
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46344
--- Comment #13 from janus at gcc dot gnu.org 2010-11-08 22:42:41 UTC ---
Author: janus
Date: Mon Nov 8 22:42:34 2010
New Revision: 166458
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=166458
Log:
2010-11-08 Janus Weil ja...@gcc.gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46344
--- Comment #14 from janus at gcc dot gnu.org 2010-11-08 22:46:09 UTC ---
r166458 fixes comment #11 (by building the vtab early).
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46344
janus at gcc dot gnu.org changed:
What|Removed |Added
CC||sfilippone at uniroma2 dot
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46344
--- Comment #3 from Tobias Burnus burnus at gcc dot gnu.org 2010-11-07
13:07:35 UTC ---
(In reply to comment #2)
*** Bug 46345 has been marked as a duplicate of this bug. ***
That PR contains a longer test case: attachment 22307
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46344
--- Comment #4 from janus at gcc dot gnu.org 2010-11-07 13:16:29 UTC ---
Here's a variant:
module m
type t1
end type
type t2
class(t1), allocatable :: cc
end type
class(t2), allocatable :: sm
end module m
program p
use m
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46344
--- Comment #5 from janus at gcc dot gnu.org 2010-11-07 13:22:07 UTC ---
(In reply to comment #4)
Here's a variant:
Side remark: In comment #4, if I change the name of 'sm' to 'y', I get:
end module m
1
Internal Error at (1):
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46344
--- Comment #6 from Dominique d'Humieres dominiq at lps dot ens.fr 2010-11-07
13:39:37 UTC ---
Revision 162456 compiles the tests, but not revision 166102. When compiled, the
executable for pr46345 gives
Check 0: T
a.out(84352) malloc: ***
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46344
--- Comment #7 from Salvatore Filippone sfilippone at uniroma2 dot it
2010-11-07 14:58:40 UTC ---
(In reply to comment #6)
Revision 162456 compiles the tests, but not revision 166102. When compiled,
the
executable for pr46345 gives
Check
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46344
janus at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46344
--- Comment #9 from janus at gcc dot gnu.org 2010-11-07 21:12:22 UTC ---
(In reply to comment #8)
The ICE can be fixed with the following patch:
Here is a better patch which has the same effect:
Index: gcc/fortran/trans-types.c
15 matches
Mail list logo