------- Comment #2 from brooks at gcc dot gnu dot org  2007-04-06 23:06 -------
The following code repeats the ICE:

 character(LEN=2), parameter :: a="a "
 real, dimension(2,2), parameter :: r=1.0
 character(LEN=4) :: b=REPEAT(a,2)
 real, dimension(4) :: l=RESHAPE(r,(/4/))
 character(LEN=3) :: c=TRIM("a ")

 IF (b.NE."a a ") CALL ABORT()
 IF (ANY(l.NE.1.0)) CALL ABORT()
 IF (c.NE."a  ") CALL ABORT()
 END

This is thus not something coming from the lack of transfer constant-folding.


-- 

brooks at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brooks at gcc dot gnu dot
                   |                            |org
OtherBugsDependingO|31237                       |
              nThis|                            |


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

Reply via email to