emit-rtl.c (set_mem_attributes_minus_bitpos): Treat complex types as aggregates not...
authorJoseph Myers <joseph@codesourcery.com>
Wed, 14 Feb 2007 23:38:01 +0000 (23:38 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Wed, 14 Feb 2007 23:38:01 +0000 (23:38 +0000)
commit07cb6e8c67e1a2d18e44a6efac90bfffd6f60181
tree0b1be463b155b65ac7791e3f21009cc72f326b92
parent702f9d782f241a8192e3cd2e10caa6ccb70bcbe6
emit-rtl.c (set_mem_attributes_minus_bitpos): Treat complex types as aggregates not scalars.

* emit-rtl.c (set_mem_attributes_minus_bitpos): Treat complex
types as aggregates not scalars.
* function.c (assign_stack_temp_for_type): Likewise.

testsuite:
* gcc.dg/torture/complex-alias-1.c: New test.

From-SVN: r121968
gcc/ChangeLog
gcc/emit-rtl.c
gcc/function.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/complex-alias-1.c [new file with mode: 0644]