[Bug tree-optimization/53805] combine_comparisons changes trapping behavior

2017-11-16 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53805 --- Comment #11 from Marc Glisse --- (In reply to Richard Biener from comment #3) > > I am happy to relabel this bug (or file a new one if you prefer) as a missed > > optimization. > > I'd say open a new one. For reference, that's PR 53806.

[Bug tree-optimization/53805] combine_comparisons changes trapping behavior

2012-08-02 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53805 --- Comment #10 from Marc Glisse 2012-08-02 19:54:47 UTC --- Author: glisse Date: Thu Aug 2 19:54:43 2012 New Revision: 190100 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190100 Log: 2012-08-02 Marc Glisse PR tree-optimization

[Bug tree-optimization/53805] combine_comparisons changes trapping behavior

2012-07-06 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53805 --- Comment #9 from Marc Glisse 2012-07-06 21:53:32 UTC --- Suspicious code: combine_comparisons has special code that depends on which comparison comes first, but maybe_fold_and_comparisons calls and_comparisons_1 (and thus combine_comparisons)

[Bug tree-optimization/53805] combine_comparisons changes trapping behavior

2012-07-02 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53805 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #8 f

[Bug tree-optimization/53805] combine_comparisons changes trapping behavior

2012-06-29 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53805 --- Comment #7 from Richard Guenther 2012-06-29 14:54:21 UTC --- (In reply to comment #6) > On Fri, 29 Jun 2012, rguenth at gcc dot gnu.org wrote: > > > We happily remove dead trapping statements: > > > > void foo(double x, int y) > > { > > 1

[Bug tree-optimization/53805] combine_comparisons changes trapping behavior

2012-06-29 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53805 --- Comment #6 from joseph at codesourcery dot com 2012-06-29 14:43:30 UTC --- On Fri, 29 Jun 2012, rguenth at gcc dot gnu.org wrote: > We happily remove dead trapping statements: > > void foo(double x, int y) > { > 1 / x; Bug with -ftrapping

[Bug tree-optimization/53805] combine_comparisons changes trapping behavior

2012-06-29 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53805 --- Comment #5 from Richard Guenther 2012-06-29 14:34:08 UTC --- (In reply to comment #4) > On Fri, 29 Jun 2012, rguenth at gcc dot gnu.org wrote: > > > We do not try to preserve traps instead we only try to not produce new ones. > > That's a b

[Bug tree-optimization/53805] combine_comparisons changes trapping behavior

2012-06-29 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53805 --- Comment #4 from joseph at codesourcery dot com 2012-06-29 14:24:18 UTC --- On Fri, 29 Jun 2012, rguenth at gcc dot gnu.org wrote: > We do not try to preserve traps instead we only try to not produce new ones. That's a bug. -ftrapping-math s

[Bug tree-optimization/53805] combine_comparisons changes trapping behavior

2012-06-29 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53805 --- Comment #3 from Richard Guenther 2012-06-29 12:22:10 UTC --- (In reply to comment #2) > (In reply to comment #1) > > We do not try to preserve traps instead we only try to not produce new ones. > > That would make a lot of sense, and assumin

[Bug tree-optimization/53805] combine_comparisons changes trapping behavior

2012-06-29 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53805 --- Comment #2 from Marc Glisse 2012-06-29 12:19:07 UTC --- (In reply to comment #1) > We do not try to preserve traps instead we only try to not produce new ones. That would make a lot of sense, and assuming it is the official policy I am happy

[Bug tree-optimization/53805] combine_comparisons changes trapping behavior

2012-06-29 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53805 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|