URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
! { dg-do compile }
|
! { dg-do compile }
|
! Tests fix for PR29211, in which an ICE would be produced by FORALL assignments
|
! Tests fix for PR29211, in which an ICE would be produced by FORALL assignments
|
! with dependencies.
|
! with dependencies.
|
!
|
!
|
! Contributed by Paul Thomas
|
! Contributed by Paul Thomas
|
!
|
!
|
character(12), dimension(2) :: a, b
|
character(12), dimension(2) :: a, b
|
a= (/"abcdefghijkl","mnopqrstuvwx"/)
|
a= (/"abcdefghijkl","mnopqrstuvwx"/)
|
! OK because it uses gfc_trans_assignment
|
! OK because it uses gfc_trans_assignment
|
forall (i=1:2) b(i) = a(i)
|
forall (i=1:2) b(i) = a(i)
|
! Was broken - gfc_trans_assign_need_temp had no handling of string lengths
|
! Was broken - gfc_trans_assign_need_temp had no handling of string lengths
|
forall (i=1:2) a(3-i) = a(i)
|
forall (i=1:2) a(3-i) = a(i)
|
end
|
end
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.