[Bug fortran/54597] Function can't return string without trailing spaces

2012-09-16 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54597 Tobias Burnus changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug fortran/54597] Function can't return string without trailing spaces

2012-09-16 Thread dongli at lasg dot iap.ac.cn
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

[Bug fortran/54597] Function can't return string without trailing spaces

2012-09-16 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54597 Tobias Burnus changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug fortran/54597] Function can't return string without trailing spaces

2012-09-16 Thread dongli at lasg dot iap.ac.cn
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: >

[Bug fortran/54597] Function can't return string without trailing spaces

2012-09-16 Thread kargl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54597 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- Co