http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54597
--- Comment #4 from Li Dong 2012-09-16 12:58:03
UTC ---
(In reply to comment #3)
> But back to your test case:
>
> function foo()
> character(*), allocatable :: foo
>
> The "*" is invalid in this context; it means that the length is
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54597
--- Comment #2 from Li Dong 2012-09-16 08:52:00
UTC ---
(In reply to comment #1)
> (In reply to comment #0)
> > I would like to write a function that will return string without trailing
> > spaces, the prototype of the function is as following:
>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54597
Bug #: 54597
Summary: Function can't return string without trailing spaces
Classification: Unclassified
Product: gcc
Version: 4.7.1
Status: UNCONFIRMED
Severity: minor