[Bug fortran/32928] DATA statement with array element as initializer is rejected

2007-11-27 Thread jvdelisle at gcc dot gnu dot org
--- Comment #8 from jvdelisle at gcc dot gnu dot org 2007-11-28 01:02 --- Subject: Bug 32928 Author: jvdelisle Date: Wed Nov 28 01:02:36 2007 New Revision: 130484 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130484 Log: 2007-11-27 Jerry DeLisle [EMAIL PROTECTED] PR

[Bug fortran/32928] DATA statement with array element as initializer is rejected

2007-11-27 Thread jvdelisle at gcc dot gnu dot org
--- Comment #9 from jvdelisle at gcc dot gnu dot org 2007-11-28 01:12 --- Subject: Bug 32928 Author: jvdelisle Date: Wed Nov 28 01:12:31 2007 New Revision: 130487 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130487 Log: 2007-11-27 Jerry DeLisle [EMAIL PROTECTED] PR

[Bug fortran/32928] DATA statement with array element as initializer is rejected

2007-11-27 Thread jvdelisle at gcc dot gnu dot org
--- Comment #10 from jvdelisle at gcc dot gnu dot org 2007-11-28 01:15 --- Fixed on trunk. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/32928] DATA statement with array element as initializer is rejected

2007-10-04 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2007-10-04 23:27 --- Created an attachment (id=14298) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14298action=view) Rough draft patch Here is a first cut at a patch. It does not successfully get the assignment to the integer

[Bug fortran/32928] DATA statement with array element as initializer is rejected

2007-10-04 Thread jvdelisle at gcc dot gnu dot org
--- Comment #7 from jvdelisle at gcc dot gnu dot org 2007-10-04 23:32 --- Note on comment #6 : I used the following simpler test case using INTEGER rather than the original test case which uses CHARACTER. The CHARACTER case does not compile at all. program chkdata integer,

[Bug fortran/32928] DATA statement with array element as initializer is rejected

2007-10-02 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2007-10-03 04:51 --- I think the problem here is that in match_data_constant we never even attempt to match the array specification. Using gfc_match_array_spec or gfc_match_array_ref I can successfully match and get the information.

[Bug fortran/32928] DATA statement with array element as initializer is rejected

2007-08-29 Thread pault at gcc dot gnu dot org
--- Comment #4 from pault at gcc dot gnu dot org 2007-08-29 19:19 --- (In reply to comment #3) I am going to try this one. Jerry, This fixes it but I do not understand why it is necessary; nor have I regtested. It's yours - I am going to tackle spanned pointers next, in the hope of

[Bug fortran/32928] DATA statement with array element as initializer is rejected

2007-08-25 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2007-08-26 01:55 --- I am going to try this one. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/32928] DATA statement with array element as initializer is rejected

2007-08-15 Thread fxcoudert at gcc dot gnu dot org
-- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug fortran/32928] DATA statement with array element as initializer is rejected

2007-07-28 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2007-07-28 13:29 --- The problem seems to be that in decl.c the var_element() function assumes that it only has to match a variable and not also, e.g., an array element. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32928

[Bug fortran/32928] DATA statement with array element as initializer is rejected

2007-07-28 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-07-28 14:00 --- R532 data-stmt-constant is scalar-constant or scalar-constant-subobject or signed-int-literal-constant or signed-real-literal-constant