Commit d0566a63 by Eric Botcazou Committed by Eric Botcazou

* stor-layout.c (set_sizetype): Avoid useless type copy.

From-SVN: r151898
parent f8e25a2a
2009-09-20 Eric Botcazou <ebotcazou@adacore.com>
* stor-layout.c (set_sizetype): Avoid useless type copy.
2009-09-20 Richard Sandiford <rdsandiford@googlemail.com> 2009-09-20 Richard Sandiford <rdsandiford@googlemail.com>
* configure.ac (gcc_cv_ld_mips_personality_relaxation): New * configure.ac (gcc_cv_ld_mips_personality_relaxation): New
......
...@@ -2310,9 +2310,9 @@ set_sizetype (tree type) ...@@ -2310,9 +2310,9 @@ set_sizetype (tree type)
if (TYPE_UNSIGNED (type)) if (TYPE_UNSIGNED (type))
{ {
fixup_unsigned_type (bitsizetype); fixup_unsigned_type (bitsizetype);
ssizetype = build_distinct_type_copy (make_signed_type (oprecision)); ssizetype = make_signed_type (oprecision);
TYPE_IS_SIZETYPE (ssizetype) = 1; TYPE_IS_SIZETYPE (ssizetype) = 1;
sbitsizetype = build_distinct_type_copy (make_signed_type (precision)); sbitsizetype = make_signed_type (precision);
TYPE_IS_SIZETYPE (sbitsizetype) = 1; TYPE_IS_SIZETYPE (sbitsizetype) = 1;
} }
else 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