Bug#345435: gcc-3.3: wrong evaluation of ++ expressions

2006-01-12 Thread John Mysoul
On Saturday 31 December 2005 14:47, Martin Stumpf wrote: > Package: gcc-3.3 > Version: 1:3.3.5-13 > Severity: normal > > The following program evaluates d to 13. On other architectures (and in > java) the same code evaluates to 12. > (2.95, 3.3, 3.4, 4.0, 4.1 do have the same bug) > > #include > >

Bug#345435: gcc-3.3: wrong evaluation of ++ expressions

2005-12-31 Thread Martin Stumpf
Package: gcc-3.3 Version: 1:3.3.5-13 Severity: normal The following program evaluates d to 13. On other architectures (and in java) the same code evaluates to 12. (2.95, 3.3, 3.4, 4.0, 4.1 do have the same bug) #include using namespace std; int main(int argc, char* argv[]) { int b = 2; in