Commit 6c137ca0 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-10-26  Tom de Vries  <tom@codesourcery.com>

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

From-SVN: r180519
parent 9e1d5f49
2011-10-26 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/50763
* gcc.dg/pr50763-2.c: New test.
2011-10-25 Joseph Myers <joseph@codesourcery.com> 2011-10-25 Joseph Myers <joseph@codesourcery.com>
* gcc.dg/format/ms_c90-printf-1.c, gcc.dg/format/ms_c90-scanf-1.c: * gcc.dg/format/ms_c90-printf-1.c, gcc.dg/format/ms_c90-scanf-1.c:
......
/* { dg-do compile } */
/* { dg-options "-O2" } */
typedef union tree_node *tree;
struct tree_base
{
int code;
};
struct tree_typed
{
struct tree_base base;
tree type;
};
struct tree_common
{
struct tree_typed typed;
};
struct tree_type_common
{
tree main_variant;
};
union tree_node
{
struct tree_base base;
struct tree_typed typed;
struct tree_type_common type_common;
};
int std_canonical_va_list_type (tree type)
{
if (type->base.code)
type = type->typed.type;
else
if (type->typed.type->base.code)
type = type->typed.type;
if (type->type_common.main_variant)
return 1;
return 0;
}
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