[Bug tree-optimization/41497] [4.5 Regression] apparent integer wrong code bug

2009-10-30 Thread hjl at gcc dot gnu dot org
--- Comment #14 from hjl at gcc dot gnu dot org 2009-10-30 16:05 --- Subject: Bug 41497 Author: hjl Date: Fri Oct 30 16:04:41 2009 New Revision: 153759 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153759 Log: 2009-10-30 H.J. Lu Backport from mainline: 2009-

[Bug tree-optimization/41497] [4.5 Regression] apparent integer wrong code bug

2009-10-21 Thread spop at gcc dot gnu dot org
--- Comment #13 from spop at gcc dot gnu dot org 2009-10-21 23:10 --- Fixed. This bug is potentially latent in older branches. Should I test it in the 4.4 branch as well? -- spop at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/41497] [4.5 Regression] apparent integer wrong code bug

2009-10-21 Thread spop at gcc dot gnu dot org
--- Comment #12 from spop at gcc dot gnu dot org 2009-10-21 23:05 --- Subject: Bug 41497 Author: spop Date: Wed Oct 21 23:05:39 2009 New Revision: 153441 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153441 Log: PR tree-optimization/41497 * tree-scalar-evolution

[Bug tree-optimization/41497] [4.5 Regression] apparent integer wrong code bug

2009-10-20 Thread spop at gcc dot gnu dot org
--- Comment #10 from spop at gcc dot gnu dot org 2009-10-20 21:53 --- Subject: Re: [4.5 Regression] apparent integer wrong code bug > The problem is that we follow SSA edges into loops that may not be executed. It is correct to follow SSA edges in loops that may not execute,

[Bug tree-optimization/41497] [4.5 Regression] apparent integer wrong code bug

2009-10-12 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2009-10-12 20:24 --- The problem is that we follow SSA edges into loops that may not be executed. Sebastian - how are we supposed to deal with this case? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41497

[Bug tree-optimization/41497] [4.5 Regression] apparent integer wrong code bug

2009-10-12 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2009-10-12 20:23 --- Eh, indeed if that fixes it the bug is elsewhere. I suggest to not apply this partial reversion until we know better. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41497

[Bug tree-optimization/41497] [4.5 Regression] apparent integer wrong code bug

2009-10-12 Thread ebotcazou at gcc dot gnu dot org
--- Comment #7 from ebotcazou at gcc dot gnu dot org 2009-10-12 17:59 --- > It is caused by revision 147716: > > http://gcc.gnu.org/ml/gcc-cvs/2009-05/msg00693.html Yep, but it's Richard's fault. ;-) The bug is exposed by the change requested in http://gcc.gnu.org/ml/gcc-patches/2009

[Bug tree-optimization/41497] [4.5 Regression] apparent integer wrong code bug

2009-10-11 Thread hjl dot tools at gmail dot com
--- Comment #6 from hjl dot tools at gmail dot com 2009-10-11 19:34 --- It is caused by revision 147716: http://gcc.gnu.org/ml/gcc-cvs/2009-05/msg00693.html -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug tree-optimization/41497] [4.5 Regression] apparent integer wrong code bug

2009-10-11 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2009-10-11 16:59 --- Revision 147714 is OK and revision 147717 is bad. -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug tree-optimization/41497] [4.5 Regression] apparent integer wrong code bug

2009-10-11 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-10-11 11:56 --- Sebastian, can you have a look? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41497

[Bug tree-optimization/41497] [4.5 Regression] apparent integer wrong code bug

2009-10-11 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-10-11 11:56 --- The key is IMHO that the inner loop does not have its loop header copied. This confuses SCEV enough to think that a = (unsigned short)a is always executed. LIM is necessary to promote all the memory to SSA names, th

[Bug tree-optimization/41497] [4.5 Regression] apparent integer wrong code bug

2009-09-30 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41497

[Bug tree-optimization/41497] [4.5 Regression] apparent integer wrong code bug

2009-09-29 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-09-29 09:51 --- Thus, confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status