This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/35004] Adding 4 more tree codes causes a crash in building libstdc++ pre-compiled headers
- From: "michael dot meissner at amd dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jan 2008 00:39:08 -0000
- Subject: [Bug c++/35004] Adding 4 more tree codes causes a crash in building libstdc++ pre-compiled headers
- References: <bug-35004-11456@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from michael dot meissner at amd dot com 2008-01-29 00:39 -------
Created an attachment (id=15043)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15043&action=view)
Proposed patch to fix the problem
The problem is cp/cp-tree.h stores the tree_code in 8 bits, but the tree code
now overflows. The patch expands the tree code to 16 bits, and removes 8
unused bits to keep the padding the same.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35004