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 rtl-optimization/36998] [4.3/4.4 regression] Ada bootstrap broken on i586-*-*



------- Comment #13 from rguenth at gcc dot gnu dot org  2008-08-11 09:36 -------
Testcase for the kernel compile ICE:

./cc1 -quiet -Os -m32 -mpreferred-stack-boundary=2 -fasynchronous-unwind-tables
do_mounts.3.i

void panic(const char * fmt, ...) __attribute__ ((noreturn));
int printk(const char * fmt, ...);
extern int strlen(const char *s);
int do_mount_root(char *name, char *fs, int flags, void *data);
void 
mount_block_root(char *name, int flags, char *fs_names, char *root_mount_data)
{
  char *p;
  char b[32];
  for (p = fs_names; *p; p += strlen(p)+1)
    {
      do_mount_root(name, p, flags, root_mount_data);
      panic("VFS: Unable to mount root fs on %s", b);
    }
  for (p = fs_names; *p; p += strlen(p)+1)
    printk(" %s", p);
  panic("VFS: Unable to mount root fs on %s", b);
}


-- 


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


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