Commit 4b7bd260 by Eric Botcazou Committed by Eric Botcazou

* gcc-interface/utils.c (copy_type): Also set TYPE_CANONICAL.

From-SVN: r224068
parent d020df06
2015-06-03 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/utils.c (copy_type): Also set TYPE_CANONICAL.
2015-06-03 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/trans.c (gnat_to_gnu) <N_Simple_Return_Statement>: Fix
typo in latest change.
......
......@@ -2191,6 +2191,7 @@ copy_type (tree type)
TYPE_REFERENCE_TO (new_type) = 0;
TYPE_MAIN_VARIANT (new_type) = new_type;
TYPE_NEXT_VARIANT (new_type) = 0;
TYPE_CANONICAL (new_type) = new_type;
return new_type;
}
......
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