[Bug other/40623] variable seems to be optimised out incorrectly

2009-07-02 Thread paolo dot carlini at oracle dot com
--- Comment #9 from paolo dot carlini at oracle dot com 2009-07-02 20:47 --- Yes, is not fixed in 4.3.3. Is already fixed for 4.3.4, etc. -- paolo dot carlini at oracle dot com changed: What|Removed |Added -

[Bug other/40623] variable seems to be optimised out incorrectly

2009-07-02 Thread galtgendo at o2 dot pl
--- Comment #8 from galtgendo at o2 dot pl 2009-07-02 20:42 --- Though perhaps I didn't need to reopen. Just making sure: could you reproduce it with one of the mentioned versions ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40623

[Bug other/40623] variable seems to be optimised out incorrectly

2009-07-02 Thread galtgendo at o2 dot pl
--- Comment #7 from galtgendo at o2 dot pl 2009-07-02 20:37 --- Created an attachment (id=18128) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18128&action=view) this is the incorrect one ...with 'printf' and 'x0*y1-x1*y0' Both with '-O2' (though -0 is enough). -- http://gcc.

[Bug other/40623] variable seems to be optimised out incorrectly

2009-07-02 Thread galtgendo at o2 dot pl
--- Comment #6 from galtgendo at o2 dot pl 2009-07-02 20:35 --- Created an attachment (id=18127) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18127&action=view) this is correct assembly ...when 'printf' and '(x0*(y0+dy) - (x0+dx)*y0)' -- http://gcc.gnu.org/bugzilla/show_bug.

[Bug other/40623] variable seems to be optimised out incorrectly

2009-07-02 Thread galtgendo at o2 dot pl
--- Comment #5 from galtgendo at o2 dot pl 2009-07-02 20:33 --- It definitely doesn't work in 4.3.3. I'll attach generated assembly. -- galtgendo at o2 dot pl changed: What|Removed |Added

[Bug other/40623] variable seems to be optimised out incorrectly

2009-07-02 Thread paolo dot carlini at oracle dot com
--- Comment #4 from paolo dot carlini at oracle dot com 2009-07-02 18:26 --- Can't reproduce in any active branch, thus already fixed for 4.5.0, 4.4.1, 4.3.4 (maybe 4.3.3 too). -- paolo dot carlini at oracle dot com changed: What|Removed |Added --

[Bug other/40623] variable seems to be optimised out incorrectly

2009-07-02 Thread galtgendo at o2 dot pl
--- Comment #3 from galtgendo at o2 dot pl 2009-07-02 18:08 --- Created an attachment (id=18125) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18125&action=view) data for the test -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40623

[Bug other/40623] variable seems to be optimised out incorrectly

2009-07-02 Thread galtgendo at o2 dot pl
--- Comment #2 from galtgendo at o2 dot pl 2009-07-02 18:05 --- Due to that 'printf' thing, it seems vaguely similar to bug 39333, however here neither of the switches mentioned there has an effect. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40623

[Bug other/40623] variable seems to be optimised out incorrectly

2009-07-02 Thread galtgendo at o2 dot pl
--- Comment #1 from galtgendo at o2 dot pl 2009-07-02 18:02 --- Created an attachment (id=18124) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18124&action=view) a testcase for the bug As I said in the Gentoo bug, one version of the 'area' line produces correct result, other does