------- Comment #3 from pinskia at gcc dot gnu dot org 2006-01-11 13:07 ------- Reduced testcase: struct list_head { struct list_head *next; }; static inline __attribute__((always_inline)) void list_del_init(struct list_head *entry) { __list_del(entry->next); (entry)->next = (entry); }; struct dentry { void *d_fsdata; }; struct sysfs_dirent { struct list_head s_sibling; struct list_head s_children; }; void sysfs_hash_and_remove(struct dentry * dir, const char * name) { struct sysfs_dirent * sd; struct sysfs_dirent * parent_sd = dir->d_fsdata; for (sd = ((&parent_sd->s_children)->next); &sd->s_sibling != (&parent_sd->s_children); sd = sd->s_sibling.next) { if (!__builtin_strcmp(sysfs_get_name(sd), name)) { list_del_init(&sd->s_sibling); break; } } }
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu dot | |org Status|WAITING |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-01-11 13:07:38 date| | Summary|ice for legal kernel code |[4.2 Regression] ice for |with -Os |legal kernel code with -Os Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25734