--- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-05-26
08:31 ---
Confirmed. Parse tree output for slightly modified testcase:
$ cat a.f
character*2 a
character*4 b
character*4 c
parameter(a="12")
parameter (b = a)
c = a
write (
--- Additional Comments From tkoenig at gcc dot gnu dot org 2005-09-18
20:08 ---
Not fixed in 4.0:
$ cat pr21730.f
! PR fortran/21730
! { dg-do run }
character*2 a
character*4 b
character*6 c
parameter (a="12")
parameter (b = a)
write (c,'("#",A,"#")'
--
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |dje at gcc dot gnu dot org
|dot org |
Status|NEW
--- Additional Comments From dje at gcc dot gnu dot org 2005-07-13 17:39
---
Patch here
http://gcc.gnu.org/ml/gcc-patches/2005-07/msg00937.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21730
--- Additional Comments From paulthomas2 at wanadoo dot fr 2005-07-13
17:43 ---
(In reply to comment #2)
> Patch here
> http://gcc.gnu.org/ml/gcc-patches/2005-07/msg00937.html
What about the testcase, David?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21730
--- Additional Comments From dje at watson dot ibm dot com 2005-07-13
18:23 ---
Subject: Re: Character length incorrect.
> What about the testcase, David?
I was focussing on the patch itself. Here's a testcase:
! PR fortran/21730
! {do-do run}
character*2 a
--- Additional Comments From fengwang at gcc dot gnu dot org 2005-07-14
02:49 ---
I think we have to consider character arrays. See:
character*2 a (1)
character*4 b
character*6 c
parameter (a="12")
parameter (b = a(1))
write (c,'("#",A,"#"
--- Additional Comments From fengwang at gcc dot gnu dot org 2005-07-14
03:30 ---
For comment #5, here is the backtrace:
#0 gfc_internal_error (
format=0x8447620 "Initialization expression didn't reduce %C")
at ../../gcc/gcc/fortran/error.c:662
#1 0x0805da16 in gfc_match_init_e
--- Additional Comments From dje at watson dot ibm dot com 2005-07-14
03:37 ---
Subject: Re: Character length incorrect.
> fengwang at gcc dot gnu dot org writes:
fengwang> IMHO, your patch only handles the scalar character and is not entire,
though a
fengwang> different bug is
--- Additional Comments From fengwang at gcc dot gnu dot org 2005-07-14
03:46 ---
I just hope you could work on this ;-)
Having a good start, why not fix entirely? If somebody agrees to fix step by
step, I have no objection.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21730
--- Additional Comments From dje at watson dot ibm dot com 2005-07-14
03:49 ---
Subject: Re: Character length incorrect.
> fengwang at gcc dot gnu dot org writes:
Feng> Having a good start, why not fix entirely? If somebody agrees to fix step
by
Feng> step, I have no objection.
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-17
00:48 ---
Subject: Bug 21730
CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED] 2005-07-17 00:48:46
Modified files:
gcc/fortran: ChangeLog decl.c
Log message:
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-17
00:56 ---
Subject: Bug 21730
CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED] 2005-07-17 00:55:59
Modified files:
gcc/testsuite : ChangeLog
Added files:
gcc/t
--- Additional Comments From rsandifo at gcc dot gnu dot org 2005-09-07
10:37 ---
Is this still a problem? The other two testcases seem to work now.
--
What|Removed |Added
--- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-09-09
07:53 ---
Everything here works. Closing.
--
What|Removed |Added
Status|ASSIGNED
15 matches
Mail list logo