This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/24028] CCP is broken
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Sep 2005 05:25:30 -0000
- Subject: [Bug tree-optimization/24028] CCP is broken
- References: <20050923050227.24028.kazu@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-23 05:25 -------
Confirmed, here is a better testcase which shows the issue:
int
foo (int a)
{
int b;
int c;
b = 0;
if (b)
c = a;
else
c = 9;
c++;
if (c != 10)
__builtin_abort();
return c;
}
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |dberlin at gcc dot gnu dot
| |org, dnovillo at gcc dot gnu
| |dot org
Severity|normal |enhancement
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-09-23 05:25:25
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24028