re PR c/52181 (merge_decls doesn't handle DECL_USER_ALIGN properly)
PR c/52181 * c-decl.c (merge_decls): Copy DECL_USER_ALIGN bit from olddecl to newdecl. * decl.c (duplicate_decls): If olddecl has bigger DECL_ALIGN than newdecl, copy DECL_ALIGN to newdecl and or DECL_USER_ALIGN bits. * c-c++-common/pr52181.c: New test. From-SVN: r184193
Showing
gcc/testsuite/c-c++-common/pr52181.c
0 → 100644
Please
register
or
sign in
to comment