c++/2892
Joe Goyette
goyette@sgi.com
Fri Aug 10 09:44:00 GMT 2001
The example case was compiled again, this time using CodeSourcery's Online
Test Compilation to generate the executable. The following output was
generated. (the output was modified for readability)
[goyette@tux tmp]$ ./test-cs
Input = 1, -1, 1
item = 4.93371e-270, 3.50301, -1.99882
mBuffer[0] = 4.93371e-270, 3.50301, -1.99882,
Output = 4.93371e-270, 3.50301, -1.99882
Input = 1, 1, -1
item = 4.93371e-270, 3.50301, -1.99882
mBuffer[1] = 4.93371e-270, 3.50301, -1.99882,
Output = 4.93371e-270, 3.50301, -1.99882
Input = 1, 1, 1
item = 4.93371e-270, 3.50301, -1.99882
mBuffer[2] = 4.93371e-270, 3.50301, -1.99882,
Output = 4.93371e-270, 3.50301, -1.99882
Input = 1, -1, 1
item = 4.93371e-270, 3.50301, -1.99882
mBuffer[3] = 4.93371e-270, 3.50301, -1.99882,
Output = 4.93371e-270, 3.50301, -1.99882
These results are still incorrect. The values in the item, mBuffer, and
Output arrays should be identical to the corresponding Input array.
Note: Ian Williams (original submitter from SGI) is no longer working on
this issue. If possible, please add Joe Goyette (goyette@sgi.com) to the
'cc list.
Thanks. Joe.
More information about the Gcc-bugs
mailing list