]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR c++/51344 (cc1plus hangs when compiling)
authorKai Tietz <ktietz@redhat.com>
Thu, 19 Jan 2012 22:34:29 +0000 (23:34 +0100)
committerKai Tietz <ktietz@gcc.gnu.org>
Thu, 19 Jan 2012 22:34:29 +0000 (23:34 +0100)
commit0e980a4a58af873ed0ad482fc8b1ef1778c92ca5
tree015a2a03ac936107ad2e8068d66bea240f75ec7d
parent0f2421b1b743fd05c4fe76724975202b20820bc7
backport: re PR c++/51344 (cc1plus hangs when compiling)

        Backport from trunk
        PR c++/51344
        * decl2.c (save_template_attributes): Use merge_attributes
        instead of chaining up via TREE_CHAIN.

        * g++.dg/torture/pr51344.C: New test.

From-SVN: r183315
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr51344.C [new file with mode: 0644]