[Bug fortran/45170] [F2003] allocatable character lengths

2017-09-09 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 janus at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.8.0

[Bug fortran/45170] [F2003] allocatable character lengths

2016-10-06 Thread lkrupp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 Bug 45170 depends on bug 57910, which changed state. Bug 57910 Summary: ICE (segfault) with deferred-length strings https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57910 What|Removed |Added

[Bug fortran/45170] [F2003] allocatable character lengths

2016-01-10 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 Bug 45170 depends on bug 50221, which changed state. Bug 50221 Summary: Allocatable string length fails with array assignment https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50221 What|Removed |Added --

[Bug fortran/45170] [F2003] allocatable character lengths

2016-01-10 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 Bug 45170 depends on bug 49954, which changed state. Bug 49954 Summary: ICE assigning concat expression to an array deferred-length string (realloc on assignment) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49954 What|Removed

[Bug fortran/45170] [F2003] allocatable character lengths

2015-09-03 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 Bug 45170 depends on bug 51976, which changed state. Bug 51976 Summary: [F2003] Support deferred-length character components of derived types (allocatable string length) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51976 What|Remo

[Bug fortran/45170] [F2003] allocatable character lengths

2015-06-04 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 Bug 45170 depends on bug 47674, which changed state. Bug 47674 Summary: gfortran.dg/realloc_on_assign_5.f03: Segfault at run time for deferred (allocatable) string length https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47674 What|Rem

[Bug fortran/45170] [F2003] allocatable character lengths

2013-09-02 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 Dominique d'Humieres changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug fortran/45170] [F2003] allocatable character lengths

2013-06-25 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 Dominique d'Humieres changed: What|Removed |Added Status|NEW |WAITING --- Comment #43 from Domin

[Bug fortran/45170] [F2003] allocatable character lengths

2013-06-14 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 Bug 45170 depends on bug 57596, which changed state. Bug 57596 Summary: Wrong code for allocatable deferred-length strings http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57596 What|Removed |Added --

[Bug fortran/45170] [F2003] allocatable character lengths

2013-06-13 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 Bug 45170 depends on bug 57596, which changed state. Bug 57596 Summary: Wrong code for allocatable deferred-length strings http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57596 What|Removed |Added --

[Bug fortran/45170] [F2003] allocatable character lengths

2013-02-05 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #42 from janus at gcc dot gnu.org 2013-02-05 20:22:25 UTC --- (In reply to comment #41) > With version 4.7.2 this bug still exists. Is there any timeline to fix it? > > [...] > > Both allocates triggers the bug. If the same

[Bug fortran/45170] [F2003] allocatable character lengths

2013-02-05 Thread infinity.probability at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #41 from I M 2013-02-05 16:36:41 UTC --- With version 4.7.2 this bug still exists. Is there any timeline to fix it? The following code module thing implicit none character(len=:), allocatable :: array_of_chars(:

[Bug fortran/45170] [F2003] allocatable character lengths

2013-02-05 Thread infinity.probability at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 I M changed: What|Removed |Added CC||infinity.probability at

[Bug fortran/45170] [F2003] allocatable character lengths

2012-06-16 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #39 from Tobias Burnus 2012-06-16 18:28:31 UTC --- The issue of comment 24 is now fixed (comment 38). Thus, only the following issues remain, which are all covered in other bugs (see dependency list): * PR 50221: Allocatable string l

[Bug fortran/45170] [F2003] allocatable character lengths

2012-06-16 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #38 from Tobias Burnus 2012-06-16 18:13:42 UTC --- Author: burnus Date: Sat Jun 16 18:13:38 2012 New Revision: 188692 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188692 Log: 2012-06-16 Tobias Burnus PR fortran/5

[Bug fortran/45170] [F2003] allocatable character lengths

2012-05-24 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #37 from Tobias Burnus 2012-05-24 13:08:33 UTC --- (In reply to comment #36) > REMAINING issues: > - comment 24 first "Does not work.", see also comment 34 One has in gfc_trans_assignment_1: string_length = gfc_evaluate_now (rse.

[Bug fortran/45170] [F2003] allocatable character lengths

2012-05-23 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #36 from Tobias Burnus 2012-05-23 20:45:29 UTC --- (In reply to comment #35) > New Revision: 187811 That patch fixed comment 14. REMAINING issues: - comment 24 first "Does not work.", see also comment 34 - PRs which block this PR,

[Bug fortran/45170] [F2003] allocatable character lengths

2012-05-23 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #35 from Tobias Burnus 2012-05-23 20:35:42 UTC --- Author: burnus Date: Wed May 23 20:35:30 2012 New Revision: 187811 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187811 Log: 2012-05-23 Tobias Burnus PR fortran/5

[Bug fortran/45170] [F2003] allocatable character lengths

2012-05-15 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #34 from Tobias Burnus 2012-05-15 12:54:36 UTC --- (In reply to comment #24) > call hello(ceiling(11*rnd),string) That should be floor or "10" - otherwise, it can give "11" which is too large. (Or and better: Change the "10" to

[Bug fortran/45170] [F2003] allocatable character lengths

2012-05-13 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #33 from Tobias Burnus 2012-05-13 12:45:46 UTC --- STATUS: Many issues have been fixed, but several still exist. - See list of bugs which depend on/block this PR. Regarding the bugs reported/mentioned directly in this PR: - Comment

[Bug fortran/45170] [F2003] allocatable character lengths

2012-05-13 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #32 from Tobias Burnus 2012-05-13 10:52:37 UTC --- Author: burnus Date: Sun May 13 10:52:32 2012 New Revision: 187436 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187436 Log: 2012-05-13 Alessandro Fanfarillo T

[Bug fortran/45170] [F2003] allocatable character lengths

2011-08-30 Thread sgk at troutmask dot apl.washington.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #31 from Steve Kargl 2011-08-30 19:31:25 UTC --- On Tue, Aug 30, 2011 at 06:46:42PM +, damian at rouson dot net wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 > > --- Comment #30 from Damian Rouson 2011-08-30 > 18:4

[Bug fortran/45170] [F2003] allocatable character lengths

2011-08-30 Thread damian at rouson dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #30 from Damian Rouson 2011-08-30 18:46:42 UTC --- Just out curiosity, what's the reason for the "real::rnd" line in the helloworld testcase? I don't see "rnd" used anywhere. Damian On Tue, Aug 30, 2011 at 8:34 AM, kargl at gcc dot

[Bug fortran/45170] [F2003] allocatable character lengths

2011-08-30 Thread kargl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #29 from kargl at gcc dot gnu.org 2011-08-30 15:34:06 UTC --- Author: kargl Date: Tue Aug 30 15:34:01 2011 New Revision: 178329 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178329 Log: 2011-08-30 Steven G. Kargl PR for

[Bug fortran/45170] [F2003] allocatable character lengths

2011-08-29 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #28 from Tobias Burnus 2011-08-29 16:34:34 UTC --- (In reply to comment #27) > > R421 length-selector is ( [ LEN = ] type-param-value ) [or ...] > > From F2003: > > C402 (R402) The type-param-value for a kind type parameter shall

[Bug fortran/45170] [F2003] allocatable character lengths

2011-08-29 Thread sgk at troutmask dot apl.washington.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #27 from Steve Kargl 2011-08-29 16:22:16 UTC --- On Mon, Aug 29, 2011 at 06:47:41AM +, burnus at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 > > --- Comment #26 from Tobias Burnus 2011-08-29 > 06:

[Bug fortran/45170] [F2003] allocatable character lengths

2011-08-28 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #26 from Tobias Burnus 2011-08-29 06:47:41 UTC --- (In reply to comment #24) > Your code in comment #14 is (I believe) invalid, and gfortran > is issuing the correct error message. I get: Error: Variable 'length' cannot appear in t

[Bug fortran/45170] [F2003] allocatable character lengths

2011-08-26 Thread boschmann at tp1 dot physik.uni-siegen.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #25 from Hans-Werner Boschmann 2011-08-26 19:44:10 UTC --- (In reply to comment #24) > Looking at your code in comment #17, one can easily find > a trivial change to make it work. Thank you, I was not aware of this. I was always wond

[Bug fortran/45170] [F2003] allocatable character lengths

2011-08-26 Thread sgk at troutmask dot apl.washington.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #24 from Steve Kargl 2011-08-26 17:23:11 UTC --- On Fri, Aug 26, 2011 at 10:05:32AM +, boschmann at tp1 dot physik.uni-siegen.de wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 > > --- Comment #23 from Hans-Werner Bosc

[Bug fortran/45170] [F2003] allocatable character lengths

2011-08-26 Thread boschmann at tp1 dot physik.uni-siegen.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #23 from Hans-Werner Boschmann 2011-08-26 10:05:32 UTC --- Is there any chance that gfortran 4.7.0 will support allocatable character lengths? Using fortran for text processing has been painful since time immemorial and this little fea

[Bug fortran/45170] [F2003] allocatable character lengths

2011-08-08 Thread sgk at troutmask dot apl.washington.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #22 from Steve Kargl 2011-08-09 05:09:13 UTC --- On Tue, Aug 09, 2011 at 04:26:49AM +, damian at rouson dot net wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 > > --- Comment #21 from Damian Rouson 2011-08-09 > 04:2

[Bug fortran/45170] [F2003] allocatable character lengths

2011-08-08 Thread damian at rouson dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #21 from Damian Rouson 2011-08-09 04:26:45 UTC --- Thanks but even the version with the "extraneous garbage" was reduced relative to what I really want to do (which includes making the speaker type abstract and the speak type-bound pr

[Bug fortran/45170] [F2003] allocatable character lengths

2011-08-08 Thread kargl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #20 from kargl at gcc dot gnu.org 2011-08-09 03:48:11 UTC --- (In reply to comment #19) > Comment 9 states that gfortran does not yet support "function result variables > which are character(len=:), pointer". Presumably this also impli

[Bug fortran/45170] [F2003] allocatable character lengths

2011-08-08 Thread damian at rouson dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 Damian Rouson changed: What|Removed |Added CC||damian at rouson dot net --- Comment #19

[Bug fortran/45170] [F2003] allocatable character lengths

2011-07-15 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #18 from Tobias Burnus 2011-07-15 14:02:45 UTC --- (In reply to comment #16) > Error: Variable 'length' cannot appear in the expression at (1) > That comes from the specification expression check. If one removes the check, it works

[Bug fortran/45170] [F2003] allocatable character lengths

2011-07-12 Thread boschmann at tp1 dot physik.uni-siegen.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #17 from Hans-Werner Boschmann 2011-07-12 15:00:22 UTC --- This sounds like there is still a lot of work to do in this character issue. Has anyone ever managed to allocate such strings dynamically? In (In reply to comment #15) > char

[Bug fortran/45170] [F2003] allocatable character lengths

2011-07-12 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #16 from Tobias Burnus 2011-07-12 14:44:11 UTC --- (In reply to comment #14) > allocate(character(len=length)::string) > > This is not yet accepted by gfortran. Is there any other way to allocate > "string" without a primitive like s

[Bug fortran/45170] [F2003] allocatable character lengths

2011-07-12 Thread sgk at troutmask dot apl.washington.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #15 from Steve Kargl 2011-07-12 14:19:24 UTC --- On Tue, Jul 12, 2011 at 01:51:40PM +, boschmann at tp1 dot physik.uni-siegen.de wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 > > Hans-Werner Boschmann changed: > >

[Bug fortran/45170] [F2003] allocatable character lengths

2011-07-12 Thread boschmann at tp1 dot physik.uni-siegen.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 Hans-Werner Boschmann changed: What|Removed |Added CC||boschmann at tp1 dot

[Bug fortran/45170] [F2003] allocatable character lengths

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #13 from Diego Novillo 2011-02-02 18:04:35 UTC --- Author: dnovillo Date: Wed Feb 2 18:04:21 2011 New Revision: 169697 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169697 Log: 2011-01-30 Paul Thomas PR fortran/47523

[Bug fortran/45170] [F2003] allocatable character lengths

2011-02-02 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #12 from Diego Novillo 2011-02-02 17:59:37 UTC --- Author: dnovillo Date: Wed Feb 2 17:59:29 2011 New Revision: 169666 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169666 Log: 2011-01-28 Paul Thomas Tobias Burnus

[Bug fortran/45170] [F2003] allocatable character lengths

2011-01-30 Thread pault at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #11 from Paul Thomas 2011-01-30 17:50:06 UTC --- Author: pault Date: Sun Jan 30 17:50:01 2011 New Revision: 169413 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169413 Log: 2011-01-30 Paul Thomas PR fortran/47523

[Bug fortran/45170] [F2003] allocatable character lengths

2011-01-28 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/45170] [F2003] allocatable character lengths

2011-01-28 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #9 from Tobias Burnus 2011-01-28 15:35:02 UTC --- TODO: - Function result variables which are character(len=:), pointer (according to http://gcc.gnu.org/ml/fortran/2011-01/msg00264.html item (v)) - Deferred-length string ARRAYS ha

[Bug fortran/45170] [F2003] allocatable character lengths

2011-01-28 Thread pault at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #8 from Paul Thomas 2011-01-28 13:53:25 UTC --- Author: pault Date: Fri Jan 28 13:53:19 2011 New Revision: 169356 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169356 Log: 2011-01-28 Paul Thomas Tobias Burnus

[Bug fortran/45170] [F2003] allocatable character lengths

2011-01-27 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #7 from Tobias Burnus 2011-01-27 21:04:27 UTC --- Submitted patch for deferred-length character strings (only for scalars): http://gcc.gnu.org/ml/fortran/2011-01/msg00264.html Also supports (re)allocate on assignment for scalars (PR

[Bug fortran/45170] [F2003] allocatable character lengths

2010-11-02 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #6

[Bug fortran/45170] [F2003] allocatable character lengths

2010-11-02 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170 --- Comment #5 from Tobias Burnus 2010-11-02 17:10:05 UTC --- Author: burnus Date: Tue Nov 2 17:09:58 2010 New Revision: 166205 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166205 Log: 2010-11-02 Steven G. Kargl < ka...@gcc.gnu.org>

[Bug fortran/45170] [F2003] allocatable character lengths

2010-08-15 Thread kargl at gcc dot gnu dot org
--- Comment #4 from kargl at gcc dot gnu dot org 2010-08-15 18:46 --- A patch to do the parsing and some error checking has been posted at http://gcc.gnu.org/ml/fortran/2010-08/msg00181.html It is not a complete implementation of the feature and requires much additional work. -- h

[Bug fortran/45170] [F2003] allocatable character lengths

2010-08-03 Thread clerman at fuse dot net
--- Comment #3 from clerman at fuse dot net 2010-08-03 10:24 --- Subject: Re: [F2003] allocatable character lengths Thank you very much for replying so promptly. I looked at the status page I didn't read it carefully enough. Regards, Norm Clerman burnus at gcc dot gnu dot org

[Bug fortran/45170] [F2003] allocatable character lengths

2010-08-02 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2010-08-03 05:43 --- By the way, gfortran's Fortran 2003 implementation status can be found at http://gcc.gnu.org/wiki/Fortran2003Status -- burnus at gcc dot gnu dot org changed: What|Removed |Added