[Bug tree-optimization/22348] [4.0 Regression] Execution continues past end of for loop end condition with optimisation enabled
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22348 Bug 22348 depends on bug 23096, which changed state. Bug 23096 Summary: Wrong folding for FLOOR_MOD_EXPR https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23096 What|Removed |Added Status|WAITING |RESOLVED Resolution|--- |WORKSFORME
[Bug tree-optimization/22348] [4.0 Regression] Execution continues past end of for loop end condition with optimisation enabled
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-08 12:38 --- Fixed. -- What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22348
[Bug tree-optimization/22348] [4.0 Regression] Execution continues past end of for loop end condition with optimisation enabled
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-08 10:09 --- Subject: Bug 22348 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-09-08 10:09:04 Modified files: gcc: ChangeLog tree-ssa-loop-niter.c gcc/testsuite : ChangeLog Added files: gcc/testsuite/gcc.c-torture/execute: pr22348.c Log message: 2005-09-08 Richard Guenther <[EMAIL PROTECTED]> Zdenek Dvorak <[EMAIL PROTECTED]> PR tree-optimization/22348 * tree-ssa-loop-niter.c (number_of_iterations_cond): Fold MINUS_EXPR. * gcc.c-torture/execute/pr22348.c: New testcase. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.418&r2=2.7592.2.419 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-loop-niter.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.20&r2=2.20.8.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.389&r2=1.5084.2.390 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/pr22348.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.14.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22348
[Bug tree-optimization/22348] [4.0 Regression] Execution continues past end of for loop end condition with optimisation enabled
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-01 16:09 --- Subject: Bug 22348 CVSROOT:/cvs/gcc Module name:gcc Branch: apple-local-200502-branch Changes by: [EMAIL PROTECTED] 2005-09-01 16:09:12 Modified files: gcc: ChangeLog.apple-ppc tree-ssa-loop-niter.c Added files: gcc/testsuite/gcc.c-torture/execute: pr22348.c Log message: Radar 4233894 (pr 22348) Oked by Stuart. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.apple-ppc.diff?cvsroot=gcc&only_with_tag=apple-local-200502-branch&r1=1.1.4.145&r2=1.1.4.146 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-loop-niter.c.diff?cvsroot=gcc&only_with_tag=apple-local-200502-branch&r1=2.20.4.1&r2=2.20.4.2 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/pr22348.c.diff?cvsroot=gcc&only_with_tag=apple-local-200502-branch&r1=NONE&r2=1.1.10.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22348
[Bug tree-optimization/22348] [4.0 Regression] Execution continues past end of for loop end condition with optimisation enabled
--- Additional Comments From rakdver at gcc dot gnu dot org 2005-08-29 15:25 --- The same workaround should work. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22348
[Bug tree-optimization/22348] [4.0 Regression] Execution continues past end of for loop end condition with optimisation enabled
--- Additional Comments From bonzini at gcc dot gnu dot org 2005-08-29 14:37 --- Could this apply to 4.0 as well? -- What|Removed |Added CC||bonzini at gcc dot gnu dot ||org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22348
[Bug tree-optimization/22348] [4.0 Regression] Execution continues past end of for loop end condition with optimisation enabled
-- What|Removed |Added Status|REOPENED|NEW http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22348
[Bug tree-optimization/22348] [4.0 Regression] Execution continues past end of for loop end condition with optimisation enabled
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-27 16:40 --- Actually this was only fixed on the mainline, it also fails in 4.0.0 branch too. -- What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED | Summary|[4.0/4.1 Regression]|[4.0 Regression] Execution |Execution continues past end|continues past end of for |of for loop end condition |loop end condition with |with optimisation enabled |optimisation enabled http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22348
[Bug tree-optimization/22348] [4.0 Regression] Execution continues past end of for loop end condition with optimisation enabled
-- What|Removed |Added Component|c |tree-optimization GCC build triplet|i686-pc-linux-gnu | GCC host triplet|i686-pc-linux-gnu | GCC target triplet|i686-pc-linux-gnu | Keywords||wrong-code Summary|Execution continues past end|[4.0 Regression] Execution |of for loop end condition |continues past end of for |with optimisation enabled |loop end condition with ||optimisation enabled Target Milestone|--- |4.0.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22348