[Bug c/58256] gcc for h8300 internal compiler error: in maybe_record_trace_start
law at redhat dot com
gcc-bugzilla@gcc.gnu.org
Fri Sep 13 21:20:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58256
Jeffrey A. Law <law at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-09-13
CC| |ccoutant at google dot com,
| |jason at redhat dot com,
| |law at redhat dot com
Ever confirmed|0 |1
--- Comment #6 from Jeffrey A. Law <law at redhat dot com> ---
Reduced testcase. Appears to be blowing up in the dwarf2 bits.
Compile with -Os -mint32 -mh -fomit-frame-pointer -g
typedef _Bool bool;
typedef unsigned short umode_t;
enum {
false = 0,
true = 1
};
struct dentry {
struct inode *d_inode;
};
struct path {
struct dentry *dentry;
};
extern int vfs_create(struct inode *, struct dentry *, umode_t, bool);
long SYSC_mknodat(int dfd, const char * filename, umode_t mode, unsigned dev)
{
struct dentry *dentry;
struct path path;
int error;
unsigned int lookup_flags = 0;
switch (mode & 00170000) {
case 0: case 0100000:
error = vfs_create(path.dentry->d_inode,dentry,mode,true);
break;
case 0020000: case 0060000:
error = vfs_mknod(path.dentry->d_inode,dentry,mode, new_decode_dev(dev));
break;
}
}
More information about the Gcc-bugs
mailing list