[Bug tree-optimization/25985] [4.2 Regression] with optimization integer math fails

2006-05-03 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2006-05-04 06:40 --- Subject: Bug 25985 Author: jakub Date: Thu May 4 06:40:15 2006 New Revision: 113515 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113515 Log: PR tree-optimization/27285 Backport from mainli

[Bug tree-optimization/25985] [4.2 Regression] with optimization integer math fails

2006-04-11 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-04-11 23:13 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/25985] [4.2 Regression] with optimization integer math fails

2006-03-28 Thread rakdver at gcc dot gnu dot org
--- Comment #8 from rakdver at gcc dot gnu dot org 2006-03-29 01:41 --- Subject: Bug 25985 Author: rakdver Date: Wed Mar 29 01:41:27 2006 New Revision: 112484 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112484 Log: PR tree-optimization/25985 * tree-ssa-loop-ni

[Bug tree-optimization/25985] [4.2 Regression] with optimization integer math fails

2006-03-16 Thread rakdver at gcc dot gnu dot org
--- Comment #7 from rakdver at gcc dot gnu dot org 2006-03-16 14:29 --- Patch: http://gcc.gnu.org/ml/gcc-patches/2006-03/msg01019.html -- rakdver at gcc dot gnu dot org changed: What|Removed |Added -

[Bug tree-optimization/25985] [4.2 Regression] with optimization integer math fails

2006-03-15 Thread rakdver at gcc dot gnu dot org
--- Comment #6 from rakdver at gcc dot gnu dot org 2006-03-16 03:15 --- Actually, my previous comment is wrong, it is ivcanon (more precisely, # of iterations analysis). Consider this testcase: #include void bla(int x) { if (x < -100) exit (0); } int main(void) { int bits = 2

[Bug tree-optimization/25985] [4.2 Regression] with optimization integer math fails

2006-03-15 Thread rakdver at gcc dot gnu dot org
--- Comment #5 from rakdver at gcc dot gnu dot org 2006-03-16 02:49 --- "Added canonical iv..." seems correct to me (at least, -fno-tree-loop-ivcanon does not fix the problem). However, -fno-tree-loop-ivcanon -fno-ivopts fixes it, so it is mine anyway. -- http://gcc.gnu.org/bugzil

[Bug tree-optimization/25985] [4.2 Regression] with optimization integer math fails

2006-03-15 Thread rakdver at gcc dot gnu dot org
-- rakdver at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rakdver at gcc dot gnu dot |dot org

[Bug tree-optimization/25985] [4.2 Regression] with optimization integer math fails

2006-03-15 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2006-03-15 20:15 --- I'm sure Zdenek has an idea... -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/25985] [4.2 Regression] with optimization integer math fails

2006-03-15 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-03-15 18:40 --- Hmm, if I change the function to be: #include int main(void) { int bits = 25; while (bits) { printf("bits=%d\n",bits); if (bits >= 8) { bits -

[Bug tree-optimization/25985] [4.2 Regression] with optimization integer math fails

2006-03-15 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-15 18:27 --- Loop 1 iterates 2 times. Added canonical iv to loop 1, 2 iterations. That is wrong, it iterates 3 times at this point (an interation has already been peeled before the loop). This is from .ivcanon. -- http://g

[Bug tree-optimization/25985] [4.2 Regression] with optimization integer math fails

2006-02-20 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|critical|blocker http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25985