This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/36998] [4.3/4.4 regression] Ada bootstrap broken on i586-*-*
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Aug 2008 09:36:07 -0000
- Subject: [Bug rtl-optimization/36998] [4.3/4.4 regression] Ada bootstrap broken on i586-*-*
- References: <bug-36998-226@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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