This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31608] wrong types in character array/scalar binop
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 May 2007 20:40:14 -0000
- Subject: [Bug fortran/31608] wrong types in character array/scalar binop
- References: <bug-31608-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from pault at gcc dot gnu dot org 2007-05-31 20:40 -------
I am not at all convinced that this is the fault of gfc_trans_array_transfer.
It is quite correctly producing &(*(char[0:][1:1] as the output type. The
problem is the comaprison between an array of character(1)'s and the scalar
character. Some sorting out is needed in the binary operator that has a
character array on one side and a character scalar on the other.
I have changed the title to reflect this but this does not mean that I will
ignore it.
Paul
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|wrong types in array |wrong types in character
|transfer |array/scalar binop
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31608