From def53467f46f3ef5269ab90ffa2b5ef7f9a2108b Mon Sep 17 00:00:00 2001 From: GCC-XML Date: Mon, 2 Mar 2009 09:29:19 -0500 Subject: [PATCH] gccxml 2009-03-02 (696e2922) --- GCC/gcc/cp/decl2.c | 18 ++++++++++++++++-- GCC_XML/KWSys/kwsysDateStamp.cmake | 4 ++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/GCC/gcc/cp/decl2.c b/GCC/gcc/cp/decl2.c index 42c5891..e7d5ea4 100644 --- a/GCC/gcc/cp/decl2.c +++ b/GCC/gcc/cp/decl2.c @@ -1159,13 +1159,13 @@ coerce_new_type (tree type) e = 2; if (args && args != void_list_node) args = TREE_CHAIN (args); -/* BEGIN GCC-XML MODIFICATIONS (2007/11/05 20:04:58) */ +/* BEGIN GCC-XML MODIFICATIONS (2009/03/02 14:29:19) */ /* Ignore whether the native compiler breaks the operator new signature. */ #if 0 pedwarn ("% takes type % (%qT) " "as first parameter", size_type_node); #endif -/* END GCC-XML MODIFICATIONS (2007/11/05 20:04:58) */ +/* END GCC-XML MODIFICATIONS (2009/03/02 14:29:19) */ } switch (e) { @@ -3471,6 +3471,10 @@ check_default_args (tree x) } } +/* BEGIN GCC-XML MODIFICATIONS 2008-03-02 */ +extern int diagnostic_xml_synthesize_test; +/* END GCC-XML MODIFICATIONS 2008-03-02 */ + /* Mark DECL (either a _DECL or a BASELINK) as "used" in the program. If DECL is a specialization or implicitly declared class member, generate the actual definition. */ @@ -3492,6 +3496,16 @@ mark_used (tree decl) decl = OVL_CURRENT (decl); } +/* BEGIN GCC-XML MODIFICATIONS 2008-03-02 */ + if(diagnostic_xml_synthesize_test && + TREE_CODE (decl) == FUNCTION_DECL && GCCXML_DECL_ERROR (decl)) + { + /* This is a method synth test and we recursively encountered a + previously synthesized invalid method. */ + ++diagnostic_xml_synthesize_test; + } +/* END GCC-XML MODIFICATIONS 2008-03-02 */ + TREE_USED (decl) = 1; if (DECL_CLONED_FUNCTION_P (decl)) TREE_USED (DECL_CLONED_FUNCTION (decl)) = 1; diff --git a/GCC_XML/KWSys/kwsysDateStamp.cmake b/GCC_XML/KWSys/kwsysDateStamp.cmake index 6feb9f8..55e683c 100644 --- a/GCC_XML/KWSys/kwsysDateStamp.cmake +++ b/GCC_XML/KWSys/kwsysDateStamp.cmake @@ -4,7 +4,7 @@ SET(KWSYS_DATE_STAMP_YEAR 2009) # KWSys version date month component. Format is MM. -SET(KWSYS_DATE_STAMP_MONTH 02) +SET(KWSYS_DATE_STAMP_MONTH 03) # KWSys version date day component. Format is DD. -SET(KWSYS_DATE_STAMP_DAY 27) +SET(KWSYS_DATE_STAMP_DAY 02)