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++/35004] Adding 4 more tree codes causes a crash in building libstdc++ pre-compiled headers



------- 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


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