[Bug fortran/31692] Wrong code when passing function name as result to procedures

2007-05-14 Thread burnus at gcc dot gnu dot org
--- Comment #7 from burnus at gcc dot gnu dot org 2007-05-14 20:06 --- *** Bug 31921 has been marked as a duplicate of this bug. *** -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/31692] Wrong code when passing function name as result to procedures

2007-05-08 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2007-05-08 13:45 --- Subject: Bug 31692 Author: pault Date: Tue May 8 12:45:31 2007 New Revision: 124546 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124546 Log: 2007-05-08 Paul Thomas [EMAIL PROTECTED] PR

[Bug fortran/31692] Wrong code when passing function name as result to procedures

2007-05-08 Thread pault at gcc dot gnu dot org
--- Comment #6 from pault at gcc dot gnu dot org 2007-05-08 13:49 --- Fixed on trunk Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/31692] Wrong code when passing function name as result to procedures

2007-05-04 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2007-05-04 07:29 --- This fixes it but needs some cleaning up: Index: gcc/fortran/trans-expr.c === *** gcc/fortran/trans-expr.c(revision 124354) ---

[Bug fortran/31692] Wrong code when passing function name as result to procedures

2007-05-04 Thread patchapp at dberlin dot org
--- Comment #4 from patchapp at dberlin dot org 2007-05-05 01:06 --- Subject: Bug number PR31692 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-05/msg00246.html --

[Bug fortran/31692] Wrong code when passing function name as result to procedures

2007-04-27 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-04-27 23:52 --- trans-expr.c's gfc_conv_variable contains: /* Special case for assigning the return value of a function. Self recursive functions must have an explicit return value. */ if (return_value

[Bug fortran/31692] Wrong code when passing function name as result to procedures

2007-04-25 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-04-25 07:38 --- foo1 (__result, n) { bar1 ((int4 *) n, foo1); goto __return_foo1; __return_foo1:; looks strange. Shouldn't this be: bar1 ((int4 *) n, __result) In addition, the warning g.f90:8: warning: Function does not