This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/22518] ICE in gfc_conv_function_call for elemental character functions
- From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jul 2005 07:31:01 -0000
- Subject: [Bug fortran/22518] ICE in gfc_conv_function_call for elemental character functions
- References: <20050717111159.22518.tkoenig@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-19 07:30 -------
This is probably invalid code.
ifort rejects this with
fortcom: Error: elem-char.f90, line 5: A CHARACTER function name must not be
declared with an asterisk type-param-value (i.e., (LEN=*)) if the function is
an internal function. [FOO]
elemental function foo(a)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22518