[Bug fortran/46067] [F03] invalid procedure pointer assignment not detected

2010-10-21 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46067 janus at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug fortran/46067] [F03] invalid procedure pointer assignment not detected

2010-10-21 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46067 --- Comment #9 from janus at gcc dot gnu.org 2010-10-21 09:25:24 UTC --- Author: janus Date: Thu Oct 21 09:25:17 2010 New Revision: 165755 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165755 Log: 2010-10-21 Janus Weil PR fortran/4

[Bug fortran/46067] [F03] invalid procedure pointer assignment not detected

2010-10-21 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46067 --- Comment #8 from janus at gcc dot gnu.org 2010-10-21 07:59:37 UTC --- Note: Both of the test cases in comment #6 and #7 are invalid but accepted by current trunk builds (as well as 4.5). However, they are rejected with the patch in comment #5, w

[Bug fortran/46067] [F03] invalid procedure pointer assignment not detected

2010-10-21 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46067 --- Comment #7 from janus at gcc dot gnu.org 2010-10-21 07:54:43 UTC --- And here is yet another variant, which uses a procedure as actual argument to another procedure (instead of procedure pointers). Same symptoms (accepts-invalid). module m

[Bug fortran/46067] [F03] invalid procedure pointer assignment not detected

2010-10-21 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46067 --- Comment #6 from janus at gcc dot gnu.org 2010-10-21 07:51:37 UTC --- Here is a variant of the test case in comment #3 which uses plain procedure pointers instead of PPCs (and avoids recursive I/O): implicit none type test_type intege

[Bug fortran/46067] [F03] invalid procedure pointer assignment not detected

2010-10-20 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46067 janus at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug fortran/46067] [F03] invalid procedure pointer assignment not detected

2010-10-18 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46067 --- Comment #4 from Dominique d'Humieres 2010-10-18 21:31:54 UTC --- Beware the INVALID recursive IOs: they hang on darwin!-(see pr 30617).

[Bug fortran/46067] [F03] invalid procedure pointer assignment not detected

2010-10-18 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46067 --- Comment #3 from janus at gcc dot gnu.org 2010-10-18 21:29:31 UTC --- (In reply to comment #1) > > potential problem 2: if the error message is correct and if the type of the > > passed-object dummy argument in the sample code is changed from a

[Bug fortran/46067] [F03] invalid procedure pointer assignment not detected

2010-10-18 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46067 janus at gcc dot gnu.org changed: What|Removed |Added Keywords||accepts-invalid Summ