public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/22348] [4.0 Regression] Execution continues past end of for loop end condition with optimisation enabled
       [not found] <bug-22348-4@http.gcc.gnu.org/bugzilla/>
@ 2024-04-17 17:25 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-04-17 17:25 UTC (permalink / raw)
  To: gcc-bugs

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug tree-optimization/22348] [4.0 Regression] Execution continues past end of for loop end condition with optimisation enabled
  2005-07-07 16:58 [Bug c/22348] New: " matt+gccbugs at ucc dot asn dot au
                   ` (6 preceding siblings ...)
  2005-09-08 10:09 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-08 12:38 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-08 12:38 UTC (permalink / raw)
  To: gcc-bugs


------- 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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug tree-optimization/22348] [4.0 Regression] Execution continues past end of for loop end condition with optimisation enabled
  2005-07-07 16:58 [Bug c/22348] New: " matt+gccbugs at ucc dot asn dot au
                   ` (5 preceding siblings ...)
  2005-09-01 16:09 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-08 10:09 ` cvs-commit at gcc dot gnu dot org
  2005-09-08 12:38 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-08 10:09 UTC (permalink / raw)
  To: gcc-bugs


------- 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:	rguenth@gcc.gnu.org	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  <rguenther@suse.de>
	Zdenek Dvorak  <rakdver@gcc.gnu.org>
	
	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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug tree-optimization/22348] [4.0 Regression] Execution continues past end of for loop end condition with optimisation enabled
  2005-07-07 16:58 [Bug c/22348] New: " matt+gccbugs at ucc dot asn dot au
                   ` (4 preceding siblings ...)
  2005-08-29 15:26 ` rakdver at gcc dot gnu dot org
@ 2005-09-01 16:09 ` cvs-commit at gcc dot gnu dot org
  2005-09-08 10:09 ` cvs-commit at gcc dot gnu dot org
  2005-09-08 12:38 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-01 16:09 UTC (permalink / raw)
  To: gcc-bugs


------- 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:	fjahanian@gcc.gnu.org	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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug tree-optimization/22348] [4.0 Regression] Execution continues past end of for loop end condition with optimisation enabled
  2005-07-07 16:58 [Bug c/22348] New: " matt+gccbugs at ucc dot asn dot au
                   ` (3 preceding siblings ...)
  2005-08-29 14:58 ` bonzini at gcc dot gnu dot org
@ 2005-08-29 15:26 ` rakdver at gcc dot gnu dot org
  2005-09-01 16:09 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2005-08-29 15:26 UTC (permalink / raw)
  To: gcc-bugs


------- 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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug tree-optimization/22348] [4.0 Regression] Execution continues past end of for loop end condition with optimisation enabled
  2005-07-07 16:58 [Bug c/22348] New: " matt+gccbugs at ucc dot asn dot au
                   ` (2 preceding siblings ...)
  2005-07-27 16:45 ` pinskia at gcc dot gnu dot org
@ 2005-08-29 14:58 ` bonzini at gcc dot gnu dot org
  2005-08-29 15:26 ` rakdver at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2005-08-29 14:58 UTC (permalink / raw)
  To: gcc-bugs


------- 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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug tree-optimization/22348] [4.0 Regression] Execution continues past end of for loop end condition with optimisation enabled
  2005-07-07 16:58 [Bug c/22348] New: " matt+gccbugs at ucc dot asn dot au
  2005-07-07 17:13 ` [Bug tree-optimization/22348] [4.0 Regression] " pinskia at gcc dot gnu dot org
  2005-07-27 16:40 ` pinskia at gcc dot gnu dot org
@ 2005-07-27 16:45 ` pinskia at gcc dot gnu dot org
  2005-08-29 14:58 ` bonzini at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-27 16:45 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22348


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug tree-optimization/22348] [4.0 Regression] Execution continues past end of for loop end condition with optimisation enabled
  2005-07-07 16:58 [Bug c/22348] New: " matt+gccbugs at ucc dot asn dot au
  2005-07-07 17:13 ` [Bug tree-optimization/22348] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2005-07-27 16:40 ` pinskia at gcc dot gnu dot org
  2005-07-27 16:45 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-27 16:40 UTC (permalink / raw)
  To: gcc-bugs


------- 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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug tree-optimization/22348] [4.0 Regression] Execution continues past end of for loop end condition with optimisation enabled
  2005-07-07 16:58 [Bug c/22348] New: " matt+gccbugs at ucc dot asn dot au
@ 2005-07-07 17:13 ` pinskia at gcc dot gnu dot org
  2005-07-27 16:40 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-07 17:13 UTC (permalink / raw)
  To: gcc-bugs



-- 
           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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-04-17 17:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-22348-4@http.gcc.gnu.org/bugzilla/>
2024-04-17 17:25 ` [Bug tree-optimization/22348] [4.0 Regression] Execution continues past end of for loop end condition with optimisation enabled pinskia at gcc dot gnu.org
2005-07-07 16:58 [Bug c/22348] New: " matt+gccbugs at ucc dot asn dot au
2005-07-07 17:13 ` [Bug tree-optimization/22348] [4.0 Regression] " pinskia at gcc dot gnu dot org
2005-07-27 16:40 ` pinskia at gcc dot gnu dot org
2005-07-27 16:45 ` pinskia at gcc dot gnu dot org
2005-08-29 14:58 ` bonzini at gcc dot gnu dot org
2005-08-29 15:26 ` rakdver at gcc dot gnu dot org
2005-09-01 16:09 ` cvs-commit at gcc dot gnu dot org
2005-09-08 10:09 ` cvs-commit at gcc dot gnu dot org
2005-09-08 12:38 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).