[Bug fortran/42144] [OOP] deferred TBPs do not work

2009-12-22 Thread hjl dot tools at gmail dot com
-- hjl dot tools at gmail dot com changed: What|Removed |Added Target Milestone|--- |4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42144

[Bug fortran/42144] [OOP] deferred TBPs do not work

2009-12-17 Thread janus at gcc dot gnu dot org
--- Comment #9 from janus at gcc dot gnu dot org 2009-12-17 09:46 --- Fixed on trunk with r155305 (on fortran-dev it was working already). Closing. -- janus at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/42144] [OOP] deferred TBPs do not work

2009-12-17 Thread janus at gcc dot gnu dot org
--- Comment #8 from janus at gcc dot gnu dot org 2009-12-17 09:28 --- Subject: Bug 42144 Author: janus Date: Thu Dec 17 09:28:25 2009 New Revision: 155305 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155305 Log: gcc/fortran/ 2009-12-17 Janus Weil PR fortran/42144

[Bug fortran/42144] [OOP] deferred TBPs do not work

2009-12-15 Thread janus at gcc dot gnu dot org
--- Comment #7 from janus at gcc dot gnu dot org 2009-12-15 23:02 --- (In reply to comment #6) > The test case in comment #5 has issues which go beyond the usage of > 'deferred': > The variant below, which has no deferred procedures, compiles, but produces > wrong code (the operators ar

[Bug fortran/42144] [OOP] deferred TBPs do not work

2009-12-15 Thread janus at gcc dot gnu dot org
--- Comment #6 from janus at gcc dot gnu dot org 2009-12-15 22:30 --- The test case in comment #5 has issues which go beyond the usage of 'deferred': The variant below, which has no deferred procedures, compiles, but produces wrong code (the operators are always resolved to the TBPs of t

[Bug fortran/42144] [OOP] deferred TBPs do not work

2009-12-01 Thread janus at gcc dot gnu dot org
--- Comment #5 from janus at gcc dot gnu dot org 2009-12-01 22:09 --- Btw: The example in comment #1 is affected by PR41829, which can be avoided by moving the subroutine 'rescale' to the main program. However, this still fails (also with the patch from comment #3): module foo_module i

[Bug fortran/42144] [OOP] deferred TBPs do not work

2009-12-01 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2009-12-01 15:19 --- The patch in comment #3 allows the test in comment #0 to be compiled and run (though I don't know if the executable is valid). However there are still errors at link time for the test in comment #1. -- http://gcc

[Bug fortran/42144] [OOP] deferred TBPs do not work

2009-12-01 Thread janus at gcc dot gnu dot org
--- Comment #3 from janus at gcc dot gnu dot org 2009-12-01 09:11 --- This simple patch fixes comment #0 (but not comment #1): Index: gcc/fortran/trans-expr.c === --- gcc/fortran/trans-expr.c(revision 154840) +++ gcc/fo

[Bug fortran/42144] [OOP] deferred TBPs do not work

2009-11-30 Thread janus at gcc dot gnu dot org
--- Comment #2 from janus at gcc dot gnu dot org 2009-11-30 23:03 --- (In reply to comment #0) > This gives > > undefined reference to `create_interface_' > > when linking. 'create_interface' is the abstract interface of the deferred > TBP. > Instead of calling this, one should do the

[Bug fortran/42144] [OOP] deferred TBPs do not work

2009-11-23 Thread janus at gcc dot gnu dot org
--- Comment #1 from janus at gcc dot gnu dot org 2009-11-23 11:41 --- Another example (with generics): module foo_module implicit none private public :: foo,rescale type ,abstract :: foo contains procedure(times_interface) ,deferred :: times procedure(assign_interface) ,defe