http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54988
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-05 15:07:22 UTC --- Author: jakub Date: Mon Nov 5 15:07:14 2012 New Revision: 193165 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193165 Log: Backported from mainline 2012-10-23 Jakub Jelinek <ja...@redhat.com> PR c++/54988 * decl2.c (cplus_decl_attributes): Don't return early if attributes is NULL. * c-c++-common/pr54988.c: New test. Added: branches/gcc-4_7-branch/gcc/testsuite/c-c++-common/pr54988.c Modified: branches/gcc-4_7-branch/gcc/cp/ChangeLog branches/gcc-4_7-branch/gcc/cp/decl2.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog