Bugzilla – Bug 320269
[PPC] Jagged Array(type double) initialization fails
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by sunvenk@hotmail.com 2006-02-07 07:37:25 MST ---- Please fill in this template when reporting a bug, unless you know what you are doing. Description of Problem: Steps to reproduce the problem: 1. run the following program double[,] AX = new double[2,4] { {-.099, -.081, -.081, -.063}, {-.048, -.038, -.040, -.021}}; Console.WriteLine("AX values"); for(int i=0;i<2;i++) for(int j=0;j<4;j++) Console.Write(",AX[{0},{1}]={2}",i,j,AX[i,j]); Actual Results: Junk values are being displayed Expected Results: Actual values given in array definition How often does this happen? Always Additional Information: ---- Additional Comments From vargaz@gmail.com 2006-02-07 08:03:44 MST ---- This works on x86 so it might be a PPC only bug. ---- Additional Comments From miguel@ximian.com 2006-07-15 17:07:48 MST ---- Looking for confirmation on this bug. Full sample: using System; class X { static void Main () { double[,] AX = new double[2,4] { {-.099, -.081, -.081, -.063}, {-.048, -.038, -.040, -.021}}; Console.WriteLine("AX values"); for(int i=0;i<2;i++) for(int j=0;j<4;j++) Console.Write(",AX[{0},{1}]={2}",i,j,AX[i,j]); } } ---- Additional Comments From miguel@ximian.com 2006-07-20 20:10:31 MST ---- This does not happen on OSX/PPC, so it might be a Linux/PPC only bug. Sunil, could you confirm if this problem persists in 1.1.16? ---- Additional Comments From sunvenk@hotmail.com 2006-07-25 06:29:50 MST ---- Since I dont have PPC machine in new project, can not test it now. ---- Additional Comments From lupus@ximian.com 2006-09-27 10:48:07 MST ---- Fixed in svn. Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>Linux Running on Power PC</cf_op_sys_details> Unknown operating system LinuxPPC 2000. Setting to default OS "Other".