This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/17111] [3.5 Regression] tree check ICE in value_insert_into_set_bitmap on inlining a memcmp-like function


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]