[Bug tree-optimization/31254] ice for legal code with -O2
tbm at cyrius dot com
gcc-bugzilla@gcc.gnu.org
Sun Mar 18 12:46:00 GMT 2007
------- Comment #2 from tbm at cyrius dot com 2007-03-18 12:46 -------
Reduced testcase (fails at -O):
struct timespec
{
long tv_sec;
long tv_nsec;
};
struct inode
{
struct timespec i_atime;
struct timespec i_mtime;
};
struct afs_vnode
{
struct inode vfs_inode;
};
static inline
struct inode *AFS_VNODE_TO_I (struct afs_vnode *vnode)
{
return &vnode->vfs_inode;
};
afs_inode_map_status (struct afs_vnode *vnode)
{
struct inode *inode = AFS_VNODE_TO_I (vnode);
inode->i_atime = inode->i_mtime;
}
--
tbm at cyrius dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tbm at cyrius dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31254
More information about the Gcc-bugs
mailing list