Commit 4cabf776 by Josef Zlomek Committed by Josef Zlomek

20031031-2.c: New test.

	PR/10239
	* gcc.c-torture/compile/20031031-2.c: New test.

From-SVN: r73146
parent 9295a326
2003-10-31 Josef Zlomek <zlomekj@suse.cz>
PR/10239
* gcc.c-torture/compile/20031031-2.c: New test.
2003-10-31 Josef Zlomek <zlomekj@suse.cz>
PR/11640
* gcc.c-torture/compile/20031031-1.c: New test.
......
/* PR/10239 */
enum node_type
{
INITIAL = 0, FREE,
PRECOLORED,
SIMPLIFY, SIMPLIFY_SPILL, SIMPLIFY_FAT, FREEZE, SPILL,
SELECT,
SPILLED, COALESCED, COLORED,
LAST_NODE_TYPE
};
inline void
put_web (enum node_type type)
{
switch (type)
{
case INITIAL:
case FREE:
case FREEZE:
case SPILL:
foo ();
break;
case PRECOLORED:
bar ();
break;
default:
baz ();
}
}
void
reset_lists ()
{
put_web (INITIAL);
}
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