[Bug c++/51344] [4.4/4.5/4.6/4.7 regression] cc1plus hangs when compiling

ktietz at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 19 23:09:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51344

--- Comment #8 from Kai Tietz <ktietz at gcc dot gnu.org> 2012-01-19 22:57:39 UTC ---
Author: ktietz
Date: Thu Jan 19 22:57:31 2012
New Revision: 183318

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183318
Log:
        Backmerged 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.


Added:
    branches/gcc-4_5-branch/gcc/testsuite/g++.dg/torture/pr51344.C
Modified:
    branches/gcc-4_5-branch/gcc/cp/ChangeLog
    branches/gcc-4_5-branch/gcc/cp/decl2.c
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list