r235150 - in /branches/gcc-5-branch/gcc: c/Chan...
mpolacek@gcc.gnu.org
mpolacek@gcc.gnu.org
Mon Apr 18 15:21:00 GMT 2016
Author: mpolacek
Date: Mon Apr 18 15:21:52 2016
New Revision: 235150
URL: https://gcc.gnu.org/viewcvs?rev=235150&root=gcc&view=rev
Log:
PR c/70297
* c-decl.c (merge_decls): Also set TYPE_ALIGN and TYPE_USER_ALIGN.
* decl.c (duplicate_decls): Also set TYPE_ALIGN and TYPE_USER_ALIGN.
* c-c++-common/pr70297.c: New test.
* g++.dg/cpp0x/typedef-redecl.C: New test.
* gcc.dg/typedef-redecl2.c: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/c-c++-common/pr70297.c
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/typedef-redecl.C
branches/gcc-5-branch/gcc/testsuite/gcc.dg/typedef-redecl2.c
Modified:
branches/gcc-5-branch/gcc/c/ChangeLog
branches/gcc-5-branch/gcc/c/c-decl.c
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/decl.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list