This is the mail archive of the gcc-patches@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]

Re: [PATCH] Fix PR c++/40557: ICE with template union


On 07/04/2009 09:19 AM, Simon Martin wrote:
This is due to the fix for 40007 checking / asserting
TREE_CODE (foo) == RECORD_TYPE
instead of
RECORD_OR_UNION_CODE_P (TREE_CODE (foo))

Pedantically, I think CLASS_TYPE_P is the right test.


Jason


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