just tried to compile a recent Linux kernel [ 2.6.15] with a recent
GNU C compiler version 4.2 snapshot 20060107. It said

fs/sysfs/inode.c:227: error: missing definition
for SSA_NAME: entry_36 in statement:
#   sysfs_dir_cachep_65 = V_MAY_DEF <sysfs_dir_cachep_64>;
sd_31->s_sibling.next = entry_36;
fs/sysfs/inode.c:227: internal compiler error: verify_ssa failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [fs/sysfs/inode.o] Error 1

It seems the crash only appears when -Os flag is used. 

Preprocessed source code available on request.


-- 
           Summary: ice for legal kernel code with -Os
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: x86_x64-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25734


Reply via email to