[Bug middle-end/56363] over aggressive division folding ignores sign conversion

2019-10-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56363 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/56363] over aggressive division folding ignores sign conversion

2018-10-02 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56363 --- Comment #8 from Eric Gallager --- (In reply to Jay from comment #7) > > > Perhaps I'll try with trunk. > > > - Jay Have you tried with trunk yet?

[Bug middle-end/56363] over aggressive division folding ignores sign conversion

2013-02-20 Thread jay.krell at cornell dot edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56363 --- Comment #7 from Jay 2013-02-20 08:51:49 UTC --- Here is the "successful experiment", where I changed the code to operate on all the div variants. Of course I am NOT suggesting this change be made. Nor is it 100% conclusive. But it is very mu

[Bug middle-end/56363] over aggressive division folding ignores sign conversion

2013-02-19 Thread jay.krell at cornell dot edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56363 --- Comment #6 from Jay 2013-02-19 21:52:31 UTC --- > should pass op0 and op1 to the fold_build2_loc call, instead of arg0/arg1 I don't disagree, but I really I don't know. Clearly that means almost but not exactly the same thing.

[Bug middle-end/56363] over aggressive division folding ignores sign conversion

2013-02-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56363 --- Comment #5 from Jakub Jelinek 2013-02-19 16:23:03 UTC --- At least from what is described in that PR, it would look like it is just fine to use EXACT_DIV_EXPR, but that we should pass op0 and op1 to the fold_build2_loc call, instead of

[Bug middle-end/56363] over aggressive division folding ignores sign conversion

2013-02-19 Thread jay.krell at cornell dot edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56363 --- Comment #4 from Jay 2013-02-19 16:18:02 UTC --- ah, here is more info; I reported the bug better years ago but it was never looked at: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46679 There I don't claim bad code, but a failu

[Bug middle-end/56363] over aggressive division folding ignores sign conversion

2013-02-18 Thread jay.krell at cornell dot edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56363 --- Comment #3 from Jay 2013-02-18 20:50:44 UTC --- (In reply to comment #2) > call? Anyway, it would be better to see a testcase. I'm not sure I can construct one in C. It might be too painful for you to take what I have -- a genera

[Bug middle-end/56363] over aggressive division folding ignores sign conversion

2013-02-18 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56363 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Co

[Bug middle-end/56363] over aggressive division folding ignores sign conversion

2013-02-18 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56363 Richard Biener changed: What|Removed |Added Keywords||wrong-code Status|U