This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/44868] [OOP] Error recovery: ICE after invalid TBP call



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]