[Bug fortran/21177] wrong code with NULL()

2005-04-27 Thread fxcoudert at gcc dot gnu dot org
--- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-04-27 15:44 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug fortran/21177] wrong code with NULL()

2005-04-27 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-27 15:43 --- Subject: Bug 21177 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-04-27 15:42:54 Modified files: gcc/fortran: Change

[Bug fortran/21177] wrong code with NULL()

2005-04-27 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-27 15:38 --- Subject: Bug 21177 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-04-27 15:37:55 Modified files: gcc/fortran: ChangeLog interface.c gcc/te

[Bug fortran/21177] wrong code with NULL()

2005-04-25 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-25 13:31 --- Patch was posted. -- What|Removed |Added URL||htt

[Bug fortran/21177] wrong code with NULL()

2005-04-24 Thread fxcoudert at gcc dot gnu dot org
--- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-04-24 13:06 --- Found a patch (after a good night's sleep, it seemed to easy!): Instead of if (actual->expr_type != EXPR_NULL && !gfc_compare_types (&formal->ts, &actual->ts)) return 0; we need to use if (

[Bug fortran/21177] wrong code with NULL()

2005-04-24 Thread fxcoudert at gcc dot gnu dot org
--- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-04-24 10:59 --- This test was introduced to fix PR 12841. Something more subtle is needed (maybe, check not only for EXPR_NULL, but for EXPR_NULL with no type?). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21177

[Bug fortran/21177] wrong code with NULL()

2005-04-23 Thread fxcoudert at gcc dot gnu dot org
--- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-04-23 22:07 --- In interface.c, we use compare_parameter to match an actual argument to one of the formal arguments. The type is used to determine which member of the interface (tt_r or tt_i) we will call. Unfortunately,

[Bug fortran/21177] wrong code with NULL()

2005-04-23 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-23 15:20 --- Confirmed, the real version is being called for both of the NULL()'s. -- What|Removed |Added