[Bug fortran/39850] Too strict checking for procedures as actual argument

2009-06-22 Thread dominiq at lps dot ens dot fr
--- Comment #7 from dominiq at lps dot ens dot fr 2009-06-22 08:28 --- At revision 148777, compiling the code in comment #0 gives: [ibook-dhum] f90/bug% gfc pr39850.f90 pr39850.f90: In function 'test': pr39850.f90:12:0: internal compiler error: in gfc_typenode_for_spec, at

[Bug fortran/39850] Too strict checking for procedures as actual argument

2009-06-22 Thread janus at gcc dot gnu dot org
--- Comment #8 from janus at gcc dot gnu dot org 2009-06-22 09:04 --- pr39850.f90:12:0: internal compiler error: in gfc_typenode_for_spec, at fortran/trans-types.c:995 Yeah, the same happens for the examples in PR37254. I didn't notice it before, since I changed the test case

[Bug fortran/39850] Too strict checking for procedures as actual argument

2009-06-22 Thread dominiq at lps dot ens dot fr
--- Comment #9 from dominiq at lps dot ens dot fr 2009-06-22 14:17 --- The patch in comment #8 fixes the ICEs reported in comment #7 and #8. Yeah, the same happens for the examples in PR37254. I also so it, but I preferred to report against this pr. Thanks for the quick patch. --

[Bug fortran/39850] Too strict checking for procedures as actual argument

2009-06-22 Thread janus at gcc dot gnu dot org
--- Comment #10 from janus at gcc dot gnu dot org 2009-06-22 21:02 --- Subject: Bug 39850 Author: janus Date: Mon Jun 22 21:02:19 2009 New Revision: 148816 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=148816 Log: 2009-06-22 Janus Weil ja...@gcc.gnu.org PR

[Bug fortran/39850] Too strict checking for procedures as actual argument

2009-06-21 Thread janus at gcc dot gnu dot org
--- Comment #5 from janus at gcc dot gnu dot org 2009-06-21 19:05 --- Subject: Bug 39850 Author: janus Date: Sun Jun 21 19:05:35 2009 New Revision: 148767 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=148767 Log: 2009-06-21 Janus Weil ja...@gcc.gnu.org PR

[Bug fortran/39850] Too strict checking for procedures as actual argument

2009-06-21 Thread janus at gcc dot gnu dot org
--- Comment #6 from janus at gcc dot gnu dot org 2009-06-21 19:16 --- Fixed with r148767. Closing. -- janus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/39850] Too strict checking for procedures as actual argument

2009-06-20 Thread janus at gcc dot gnu dot org
--- Comment #1 from janus at gcc dot gnu dot org 2009-06-20 14:11 --- After the improvement of error messages, the test case gives: Error: Interface mismatch in dummy procedure 'a' at (1): 'func' is not a function Mine. -- janus at gcc dot gnu dot org changed: What

[Bug fortran/39850] Too strict checking for procedures as actual argument

2009-06-20 Thread janus at gcc dot gnu dot org
--- Comment #2 from janus at gcc dot gnu dot org 2009-06-20 14:41 --- Btw, if comment #0 is correct, then the test case 'interface_21.f90' is wrong (that is: the test case itself is legal, but the dg-error is wrong). It was added by Jerry DeLisle in r129799, in connection with PR33162.

[Bug fortran/39850] Too strict checking for procedures as actual argument

2009-06-20 Thread janus at gcc dot gnu dot org
--- Comment #3 from janus at gcc dot gnu dot org 2009-06-20 15:17 --- (In reply to comment #2) Btw, if comment #0 is correct, then the test case 'interface_21.f90' is wrong Same goes for proc_decl_8.f90. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39850

[Bug fortran/39850] Too strict checking for procedures as actual argument

2009-06-20 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2009-06-20 17:44 --- Regarding comment 0: I believe the program is valid Regarding proc_decl_8.f90 and interface_21.f90: The programs are obviously invalid - and the error message is OK. * * * In case of

[Bug fortran/39850] Too strict checking for procedures as actual argument

2009-04-22 Thread janus at gcc dot gnu dot org
-- janus at gcc dot gnu dot org changed: What|Removed |Added CC||janus at gcc dot gnu dot org Status|UNCONFIRMED