This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/27865] [4.2 Regression] tree check failure building FreePOOMA
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jun 2006 22:03:44 -0000
- Subject: [Bug tree-optimization/27865] [4.2 Regression] tree check failure building FreePOOMA
- References: <bug-27865-4503@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from reichelt at gcc dot gnu dot org 2006-06-02 22:03 -------
Confirmed.
Shorter testcase (fails with C or C++ frontend):
=============================================
static int* foo(int *q, int j) { return q + j; }
int* r;
void bar(int *p)
{
int i;
for (i=0; i<2; ++i)
r = i ? foo(p,i-1) : 0;
}
=============================================
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |monitored
Last reconfirmed|0000-00-00 00:00:00 |2006-06-02 22:03:44
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27865