This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/44868] [OOP] Error recovery: ICE after invalid TBP call
- From: "janus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jul 2010 09:23:07 -0000
- Subject: [Bug fortran/44868] [OOP] Error recovery: ICE after invalid TBP call
- References: <bug-44868-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from janus at gcc dot gnu dot org 2010-07-18 09:23 -------
(In reply to comment #3)
> At revision 162276, I get
>
> pr44868.f90:245.24:
>
> tst_case => self%list(i)
> 1
> Error: Pointer assignment target is neither TARGET nor POINTER at (1)
Dominique, I think you're compiling the wrong code. There is no "tst_case" in
comment #0.
On the test case in comment #0 I currently get:
c0.f90:59.22:
call suite%add("second_test", test_b)
1
Error: 'add' at (1) is not a member of the 'test_suite' structure
c0.f90:70.11:
use my_test
1
Fatal Error: Can't open module file 'my_test.mod' for reading at (1): No such
file or directory
The error message is correct. As long as there is no ICE (and no valgrind
errors), this PR can be closed.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44868