Commit e1210bd0 by Eric Botcazou Committed by Eric Botcazou

tree-inline.c (remap_type_1): Correctly chain variants.

	* tree-inline.c (remap_type_1): Correctly chain variants.

From-SVN: r128668
parent 57d471cf
2007-09-22 Eric Botcazou <ebotcazou@adacore.com>
* tree-inline.c (remap_type_1): Correctly chain variants.
2007-09-22 Richard Guenther <rguenther@suse.de>
PR tree-optimization/33146
......@@ -322,7 +322,7 @@ remap_type_1 (tree type, copy_body_data *id)
{
t = remap_type (t, id);
TYPE_MAIN_VARIANT (new) = t;
TYPE_NEXT_VARIANT (new) = TYPE_MAIN_VARIANT (t);
TYPE_NEXT_VARIANT (new) = TYPE_NEXT_VARIANT (t);
TYPE_NEXT_VARIANT (t) = new;
}
else
......
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