This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #7 from Kai Tietz <ktietz at gcc dot gnu.org> 2012-01-19 22:34:35 UTC ---
Author: ktietz
Date: Thu Jan 19 22:34:29 2012
New Revision: 183315

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

Added:
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/torture/pr51344.C   (with
props)
Modified:
    branches/gcc-4_6-branch/gcc/cp/ChangeLog
    branches/gcc-4_6-branch/gcc/cp/decl2.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog

Propchange: branches/gcc-4_6-branch/gcc/testsuite/g++.dg/torture/pr51344.C
            ('svn:eol-style' added)

Propchange: branches/gcc-4_6-branch/gcc/testsuite/g++.dg/torture/pr51344.C
            ('svn:mime-type' added)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]