This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/17111] [3.5 Regression] tree check ICE in value_insert_into_set_bitmap on inlining a memcmp-like function
- 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: 19 Aug 2004 22:20:16 -0000
- Subject: [Bug tree-optimization/17111] [3.5 Regression] tree check ICE in value_insert_into_set_bitmap on inlining a memcmp-like function
- References: <20040819210259.17111.smcc@MIT.EDU>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-19 22:20 -------
Confirmed at -O1 with which is just the inlined version:
int f(void) {
int t;
const void *v1 = "hello";const void *v2="bye";int count=g();
int i;
const char *s1 = (const char *)v1, *s2 = (const char *)v2;
for (i = 0; i < count; i++) {
if (s1[i] != s2[i])
{
t = 1;
goto end;
}
}
t= 0;
end:
return t+5;
}
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |dberlin at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2004-08-19 22:20:14
date| |
Summary|tree check ICE in |[3.5 Regression] tree check
|value_insert_into_set_bitmap|ICE in
|on inlining a memcmp-like |value_insert_into_set_bitmap
|function |on inlining a memcmp-like
| |function
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17111