* [Bug tree-optimization/23604] [4.1 Regression] wrong code due to VRP
2005-08-28 19:59 [Bug tree-optimization/23604] New: [4.1 Regression] wrong code due to VRP pinskia at gcc dot gnu dot org
@ 2005-08-28 19:43 ` pinskia at gcc dot gnu dot org
2005-08-28 20:16 ` phython at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-28 19:43 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |phython at gcc dot gnu dot
| |org, dnovillo at gcc dot gnu
| |dot org
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23604
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/23604] [4.1 Regression] wrong code due to VRP
2005-08-28 19:59 [Bug tree-optimization/23604] New: [4.1 Regression] wrong code due to VRP pinskia at gcc dot gnu dot org
2005-08-28 19:43 ` [Bug tree-optimization/23604] " pinskia at gcc dot gnu dot org
@ 2005-08-28 20:16 ` phython at gcc dot gnu dot org
2005-08-28 20:19 ` phython at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: phython at gcc dot gnu dot org @ 2005-08-28 20:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From phython at gcc dot gnu dot org 2005-08-28 20:16 -------
Created an attachment (id=9603)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9603&action=view)
initial patch (untested)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23604
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/23604] [4.1 Regression] wrong code due to VRP
2005-08-28 19:59 [Bug tree-optimization/23604] New: [4.1 Regression] wrong code due to VRP pinskia at gcc dot gnu dot org
2005-08-28 19:43 ` [Bug tree-optimization/23604] " pinskia at gcc dot gnu dot org
2005-08-28 20:16 ` phython at gcc dot gnu dot org
@ 2005-08-28 20:19 ` phython at gcc dot gnu dot org
2005-09-20 16:30 ` jakub at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: phython at gcc dot gnu dot org @ 2005-08-28 20:19 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-08-28 20:16:25
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23604
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/23604] [4.1 Regression] wrong code due to VRP
2005-08-28 19:59 [Bug tree-optimization/23604] New: [4.1 Regression] wrong code due to VRP pinskia at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-08-28 20:19 ` phython at gcc dot gnu dot org
@ 2005-09-20 16:30 ` jakub at gcc dot gnu dot org
2005-09-30 13:10 ` dnovillo at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-09-20 16:30 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2005-08-28 20:16:25 |2005-09-20 16:30:43
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23604
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/23604] [4.1 Regression] wrong code due to VRP
2005-08-28 19:59 [Bug tree-optimization/23604] New: [4.1 Regression] wrong code due to VRP pinskia at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-09-20 16:30 ` jakub at gcc dot gnu dot org
@ 2005-09-30 13:10 ` dnovillo at gcc dot gnu dot org
2005-09-30 13:24 ` jakub at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2005-09-30 13:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dnovillo at gcc dot gnu dot org 2005-09-30 13:10 -------
Testing fix.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23604
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/23604] [4.1 Regression] wrong code due to VRP
2005-08-28 19:59 [Bug tree-optimization/23604] New: [4.1 Regression] wrong code due to VRP pinskia at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-09-30 13:10 ` dnovillo at gcc dot gnu dot org
@ 2005-09-30 13:24 ` jakub at gcc dot gnu dot org
2005-09-30 13:27 ` dnovillo at redhat dot com
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-09-30 13:24 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jakub at gcc dot gnu dot org 2005-09-30 13:24 -------
Jim's patch certainly worked for me. But the question is if we can do more.
If not anti-range and limit_vr->min == limit_vr->max, then we at least can
create anti-range from TYPE_MIN_VALUE to TYPE_MAX_VALUE.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23604
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/23604] [4.1 Regression] wrong code due to VRP
2005-08-28 19:59 [Bug tree-optimization/23604] New: [4.1 Regression] wrong code due to VRP pinskia at gcc dot gnu dot org
` (5 preceding siblings ...)
2005-09-30 13:24 ` jakub at gcc dot gnu dot org
@ 2005-09-30 13:27 ` dnovillo at redhat dot com
2005-10-01 13:57 ` cvs-commit at gcc dot gnu dot org
2005-10-01 14:19 ` dnovillo at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: dnovillo at redhat dot com @ 2005-09-30 13:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dnovillo at redhat dot com 2005-09-30 13:27 -------
Subject: Re: [4.1 Regression] wrong code due to VRP
On September 30, 2005 09:24, jakub at gcc dot gnu dot org wrote:
> 2005-09-30 13:24 ------- Jim's patch certainly worked for me. But
> the question is if we can do more. If not anti-range and
> limit_vr->min == limit_vr->max, then we at least can create
> anti-range from TYPE_MIN_VALUE to TYPE_MAX_VALUE.
Right. That's what I'm trying to determine ATM.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23604
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/23604] [4.1 Regression] wrong code due to VRP
2005-08-28 19:59 [Bug tree-optimization/23604] New: [4.1 Regression] wrong code due to VRP pinskia at gcc dot gnu dot org
` (6 preceding siblings ...)
2005-09-30 13:27 ` dnovillo at redhat dot com
@ 2005-10-01 13:57 ` cvs-commit at gcc dot gnu dot org
2005-10-01 14:19 ` dnovillo at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-01 13:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-10-01 13:57 -------
Subject: Bug 23604
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: dnovillo@gcc.gnu.org 2005-10-01 13:57:30
Modified files:
gcc/testsuite : ChangeLog
gcc : ChangeLog tree-vrp.c
Added files:
gcc/testsuite/gcc.c-torture/execute: pr23604.c
Log message:
PR 23604
* tree-vrp.c (extract_range_from_assert): For !=
assertions, only build an anti-range if LIMIT is a
single-valued range.
testsuite/
PR 23604
* gcc.c-torture/execute/pr23604.c: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6120&r2=1.6121
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/pr23604.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.10060&r2=2.10061
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-vrp.c.diff?cvsroot=gcc&r1=2.57&r2=2.58
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23604
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/23604] [4.1 Regression] wrong code due to VRP
2005-08-28 19:59 [Bug tree-optimization/23604] New: [4.1 Regression] wrong code due to VRP pinskia at gcc dot gnu dot org
` (7 preceding siblings ...)
2005-10-01 13:57 ` cvs-commit at gcc dot gnu dot org
@ 2005-10-01 14:19 ` dnovillo at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: dnovillo at gcc dot gnu dot org @ 2005-10-01 14:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dnovillo at gcc dot gnu dot org 2005-10-01 14:19 -------
Fixed. http://gcc.gnu.org/ml/gcc-patches/2005-10/msg00020.html
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23604
^ permalink raw reply [flat|nested] 10+ messages in thread