[Bug fortran/21730] Character length incorrect.

dje at watson dot ibm dot com gcc-bugzilla@gcc.gnu.org
Wed Jul 13 18:36:00 GMT 2005


------- 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
        character*4 b
        character*6 c
        parameter (a="12")
        parameter (b = a)
        write (c,'("#",A,"#")') b
        if (c .ne. '#12  #') call abort
        end

David


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21730



More information about the Gcc-bugs mailing list