c-common.c (c_build_type_variant): Moved here from c-decl.c.
authorNiklas Hallqvist <niklas@gnu.org>
Sat, 30 Jan 1993 06:06:09 +0000 (06:06 +0000)
committerNiklas Hallqvist <niklas@gnu.org>
Sat, 30 Jan 1993 06:06:09 +0000 (06:06 +0000)
commit0b73773ce6d43ab6557a9ae8b85913a78f98099b
tree633b7489f2b595bb8db561715f9ed783bcb63c14
parent42f769c15a1ffce2b7069bbaa8278f9227ac0cce
c-common.c (c_build_type_variant): Moved here from c-decl.c.

* c-common.c (c_build_type_variant): Moved here from c-decl.c.
Redirected the TYPE_MAIN_VARIANT to the "real" main variant.
Build the possibly new array type on the permanent obstack if it
        the original type was permanent.
(permanent_obstack): Added extern declaration.

From-SVN: r3388
gcc/c-common.c