------- Comment #1 from anlauf at gmx dot de  2006-06-26 20:58 -------
Created an attachment (id=11759)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11759&action=view)
Testcase

Output of testcase:

 Before foo:
 a(1)=abc def ghij
 a(2)=klm nop qrst
 b(1)=abc def ghij
 b(2)=klm nop qrst

 In foo: c(1)=f ghi

 After foo:
 a(1)=abc d
 a(2)=klm n
 b(1)=abc d
 b(2)=klm n
 Bug: array a corrupted in subroutine call!
 Bug: array b corrupted in subroutine call!


-- 


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

Reply via email to