Commit 5a042b47 by Tom de Vries Committed by Tom de Vries

re PR tree-optimization/50763 (ICE: verify_gimple failed: missing PHI def with -ftree-tail-merge)

2011-11-04  Tom de Vries  <tom@codesourcery.com>

	PR tree-optimization/50763
	* gcc.dg/pr50763-5.c: New test.

From-SVN: r180940
parent 8751a35c
2011-11-04 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/50763
* gcc.dg/pr50763-5.c: New test.
2011-11-04 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/50763
* g++.dg/pr50763-4.C: New test.
2011-11-04 Jakub Jelinek <jakub@redhat.com>
......
/* { dg-do compile } */
/* { dg-options "-O2 -ftree-tail-merge" } */
struct inode
{
unsigned short i_mode;
unsigned int i_flags;
};
static inline int
is_sxid (unsigned int mode)
{
return (mode & 0004000) || ((mode & 0002000) && (mode & 00010));
};
void
gfs2_set_inode_flags (int ip, struct inode *inode)
{
unsigned int flags = inode->i_flags;
if ((ip == 0) && !is_sxid (inode->i_mode))
inode->i_flags |= 4096;
inode->i_flags = flags;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment