[Bug tree-optimization/45397] [5/6/7 Regression] Issues with integer narrowing conversions

2017-02-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45397 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/45397] [5/6/7 Regression] Issues with integer narrowing conversions

2017-02-23 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45397 --- Comment #28 from Jeffrey A. Law --- WRT c#26. Yes, I would agree that finding CSE's that way is rather gross, but significantly less so than what will be required to address this problem in phi-opt. Pattern matching this is going to be si

[Bug tree-optimization/45397] [5/6/7 Regression] Issues with integer narrowing conversions

2017-02-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45397 --- Comment #27 from Richard Biener --- patch misses some ops = {} and ops[1] = NULL_TREE; to avoid ICEing.

[Bug tree-optimization/45397] [5/6/7 Regression] Issues with integer narrowing conversions

2017-02-20 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45397 --- Comment #26 from rguenther at suse dot de --- On Fri, 17 Feb 2017, law at redhat dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45397 > > --- Comment #25 from Jeffrey A. Law --- > "When doing so allows for simplification" is

[Bug tree-optimization/45397] [5/6/7 Regression] Issues with integer narrowing conversions

2017-02-17 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45397 --- Comment #25 from Jeffrey A. Law --- "When doing so allows for simplification" is actually a pretty low bar here. We just have to prove the widening cast is a common subexpression. Once we do that, we know widening is a win. And that's rela

[Bug tree-optimization/45397] [5/6/7 Regression] Issues with integer narrowing conversions

2017-02-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45397 --- Comment #24 from Richard Biener --- (In reply to Jeffrey A. Law from comment #23) > The model of shortening as much as possible for gimple, then widening to > word mode at the gimple/RTL boundary is probably too simplistic. We really > need

[Bug tree-optimization/45397] [5/6/7 Regression] Issues with integer narrowing conversions

2017-02-16 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45397 --- Comment #23 from Jeffrey A. Law --- The model of shortening as much as possible for gimple, then widening to word mode at the gimple/RTL boundary is probably too simplistic. We really need the ability to widen when doing so allows for simpli

[Bug tree-optimization/45397] [5/6/7 Regression] Issues with integer narrowing conversions

2017-02-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45397 Richard Biener changed: What|Removed |Added Target Milestone|5.5 |7.0 --- Comment #22 from Richard Biener

[Bug tree-optimization/45397] [5/6/7 Regression] Issues with integer narrowing conversions

2017-02-14 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45397 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #21 f

[Bug tree-optimization/45397] [5/6/7 Regression] Issues with integer narrowing conversions

2016-08-03 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45397 Richard Biener changed: What|Removed |Added Target Milestone|4.9.4 |5.5 --- Comment #20 from Richard Biener