------- Comment #1 from tobi at gcc dot gnu dot org 2007-04-17 17:27 -------
Adding pault, as he's the likely culprit :)
Paul, I'm wondering if the testcase is really valid Fortran:
<snip>
if (any (Up ("AbCdEfGhIjKlM") .ne. (/"ABCDEFGHIJKLM"/))) call abort ()
contains
Character (len=20) Function Up (string)
</snip>
It looks like it's comparing a CHARACTER*20 (= Up's result) to an array of
characters (= the array constructor).
I don't see how I could confirm "confusion" of the middle-end :-)
--
tobi at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tobi at gcc dot gnu dot org,
| |pault at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31608