Trying to confirm:  Feisty x86
g++ (GCC) 4.1.2 20070106 (prerelease) (Ubuntu 4.1.1-21ubuntu7)

$ g++ -O2 lp82190.cpp 
$ ./a.out  > opt2.out
10000 100 10
$ g++  lp82190.cpp 
$ ./a.out  > noopt.out
10000 100 10
$ diff noopt.out opt2.out > diff


** Attachment added: "differences in the outputs"
   http://librarian.launchpad.net/5932982/diff

-- 
Seem optimization -O2 don't work g++
https://launchpad.net/bugs/82190

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to