[Bug 82190] Re: Seem optimization -O2 don't work g++

2007-07-23 Thread Matthias Klose
this is expectedon x86; please see the documentation for -ffloat-store in the gcc man page. why don't use use EPS for comparisions of floating point variables? ** Changed in: gcc-4.1 (Ubuntu) Importance: High = Undecided Status: Confirmed = Invalid -- Seem optimization -O2 don't

[Bug 82190] Re: Seem optimization -O2 don't work g++

2007-02-06 Thread Áron Sisak
** Changed in: gcc-4.1 (Ubuntu) Importance: Undecided = High -- 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

[Bug 82190] Re: Seem optimization -O2 don't work g++

2007-01-29 Thread Nonplay
** Description changed: If I compile the code using g++ and -O2 optimization and try the algorithm with this input 1 100 10 I get a wrong answer. I can get the correct solution if I compile the same code don't using any optimization. #include algorithm #include cstdlib

[Bug 82190] Re: Seem optimization -O2 don't work g++

2007-01-29 Thread Áron Sisak
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 1 100 10 $ g++ lp82190.cpp $ ./a.out noopt.out 1 100 10 $ diff noopt.out opt2.out diff ** Attachment added: differences in the outputs

[Bug 82190] Re: Seem optimization -O2 don't work g++

2007-01-29 Thread Áron Sisak
Feisty x86, confirmed. ** Changed in: Ubuntu Status: Unconfirmed = Confirmed -- 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

[Bug 82190] Re: Seem optimization -O2 don't work g++

2007-01-29 Thread didier
** Changed in: Ubuntu Sourcepackagename: None = gcc-4.1 -- 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