This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51344] [4.4/4.5/4.6/4.7 regression] cc1plus hangs when compiling
- From: "ktietz at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 19 Jan 2012 22:34:35 +0000
- Subject: [Bug c++/51344] [4.4/4.5/4.6/4.7 regression] cc1plus hangs when compiling
- Auto-submitted: auto-generated
- References: <bug-51344-4@http.gcc.gnu.org/bugzilla/>
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)