[Bug fortran/54195] [4.8 Regression][OOP] IMPORT fails with GENERIC TBP: "is already present in the interface"

2013-02-04 Thread mikael at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54195 Mikael Morin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug fortran/54195] [4.8 Regression][OOP] IMPORT fails with GENERIC TBP: "is already present in the interface"

2013-02-04 Thread mikael at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54195 --- Comment #17 from Mikael Morin 2013-02-04 19:06:15 UTC --- Author: mikael Date: Mon Feb 4 19:06:06 2013 New Revision: 195730 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195730 Log: fortran/ PR fortran/54195 * r

[Bug fortran/54195] [4.8 Regression][OOP] IMPORT fails with GENERIC TBP: "is already present in the interface"

2013-02-04 Thread mikael at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54195 --- Comment #16 from Mikael Morin 2013-02-04 18:34:42 UTC --- Author: mikael Date: Mon Feb 4 18:34:30 2013 New Revision: 195729 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195729 Log: fortran/ PR fortran/54107 PR

[Bug fortran/54195] [4.8 Regression][OOP] IMPORT fails with GENERIC TBP: "is already present in the interface"

2013-02-02 Thread mikael at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54195 --- Comment #15 from Mikael Morin 2013-02-02 12:13:41 UTC --- (In reply to comment #13) > I'm inclined to test and submit both, They break class_20.f03. Fixed with this (reverts partially patches for pr44044 and pr48112): diff --git

[Bug fortran/54195] [4.8 Regression][OOP] IMPORT fails with GENERIC TBP: "is already present in the interface"

2013-02-02 Thread mikael at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54195 --- Comment #14 from Mikael Morin 2013-02-02 11:15:48 UTC --- (In reply to comment #13) > typedef struct > { > + gfc_try resolve_cached_result; > + unsigned resolved:1; > + >/* Variable attributes. */ resolve_cached_result

[Bug fortran/54195] [4.8 Regression][OOP] IMPORT fails with GENERIC TBP: "is already present in the interface"

2013-02-02 Thread mikael at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54195 --- Comment #13 from Mikael Morin 2013-02-02 11:07:30 UTC --- (In reply to comment #12) > (In reply to comment #11) > > The `gfc_namespace' struct has a `resolved' attribute. Maybe we can use it? > > Not sure. I was thinking that we ma

[Bug fortran/54195] [4.8 Regression][OOP] IMPORT fails with GENERIC TBP: "is already present in the interface"

2013-01-11 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54195 --- Comment #12 from janus at gcc dot gnu.org 2013-01-11 14:29:41 UTC --- (In reply to comment #11) > (In reply to comment #10) > > For comment #8, resolve_typebound_intrinsic_op is called twice: Once for the > > base type 'nc', and once fo

[Bug fortran/54195] [4.8 Regression][OOP] IMPORT fails with GENERIC TBP: "is already present in the interface"

2013-01-11 Thread mikael at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54195 Mikael Morin changed: What|Removed |Added CC||mikael at gcc dot gnu.org --- Co

[Bug fortran/54195] [4.8 Regression][OOP] IMPORT fails with GENERIC TBP: "is already present in the interface"

2013-01-08 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54195 --- Comment #10 from janus at gcc dot gnu.org 2013-01-08 09:47:17 UTC --- For comment #8, resolve_typebound_intrinsic_op is called twice: Once for the base type 'nc', and once for the extended type 'ncb'. A crude way to avoid this is the f

[Bug fortran/54195] [4.8 Regression][OOP] IMPORT fails with GENERIC TBP: "is already present in the interface"

2013-01-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54195 --- Comment #9 from janus at gcc dot gnu.org 2013-01-07 21:23:20 UTC --- Apparently comment #0 has been fixed by http://gcc.gnu.org/viewcvs?view=revision&revision=193568 which applied the patch of comment #5. However, the test case in co

[Bug fortran/54195] [4.8 Regression][OOP] IMPORT fails with GENERIC TBP: "is already present in the interface"

2012-09-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54195 Richard Guenther changed: What|Removed |Added Priority|P3 |P4

[Bug fortran/54195] [4.8 Regression][OOP] IMPORT fails with GENERIC TBP: "is already present in the interface"

2012-08-20 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54195 --- Comment #8 from janus at gcc dot gnu.org 2012-08-20 09:45:15 UTC --- A similar test case (also a regression) was reported by Andrew Benson at http://gcc.gnu.org/ml/fortran/2012-08/msg00101.html: module gn implicit none type :: nc con

[Bug fortran/54195] [4.8 Regression][OOP] IMPORT fails with GENERIC TBP: "is already present in the interface"

2012-08-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54195 --- Comment #7 from janus at gcc dot gnu.org 2012-08-07 22:05:49 UTC --- (In reply to comment #5) > Will start a full regtest now ... Completed successfully.

[Bug fortran/54195] [4.8 Regression][OOP] IMPORT fails with GENERIC TBP: "is already present in the interface"

2012-08-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54195 --- Comment #6 from janus at gcc dot gnu.org 2012-08-07 21:21:23 UTC --- (In reply to comment #4) > However: Witout the patch, the code guarded by the IF statement above is > called > twice (which leads to the error). But with the patch, it is not

[Bug fortran/54195] [4.8 Regression][OOP] IMPORT fails with GENERIC TBP: "is already present in the interface"

2012-08-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54195 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|una

[Bug fortran/54195] [4.8 Regression][OOP] IMPORT fails with GENERIC TBP: "is already present in the interface"

2012-08-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54195 --- Comment #4 from janus at gcc dot gnu.org 2012-08-07 20:23:26 UTC --- My first attempt to fix it would be something like this: Index: gcc/fortran/resolve.c === --- gcc/fortran/reso

[Bug fortran/54195] [4.8 Regression][OOP] IMPORT fails with GENERIC TBP: "is already present in the interface"

2012-08-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54195 --- Comment #3 from janus at gcc dot gnu.org 2012-08-07 18:12:07 UTC --- (In reply to comment #2) > The changelog lists only one entry in that period, namely: > > Author: janus > Date: Wed Jun 27 17:38:00 2012 > New Revision: 189022 Yeah, I knew

[Bug fortran/54195] [4.8 Regression][OOP] IMPORT fails with GENERIC TBP: "is already present in the interface"

2012-08-07 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54195 --- Comment #2 from Tobias Burnus 2012-08-07 16:47:10 UTC --- It works with the snapshot GCC 4.8.0 20120624 and fails with the one from 20120701. The changelog lists only one entry in that period, namely: Author: janus Date: Wed Jun 27 17:38:00

[Bug fortran/54195] [4.8 Regression][OOP] IMPORT fails with GENERIC TBP: "is already present in the interface"

2012-08-07 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54195 janus at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/54195] [4.8 Regression][OOP] IMPORT fails with GENERIC TBP: "is already present in the interface"

2012-08-07 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54195 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org Target Milest