Skip to content

Commit

Permalink
gccxml 2009-03-02 (696e2922)
Browse files Browse the repository at this point in the history
  • Loading branch information
GCC-XML committed Mar 2, 2009
1 parent 92f9bed commit def5346
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
18 changes: 16 additions & 2 deletions GCC/gcc/cp/decl2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ("%<operator new%> takes type %<size_t%> (%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)
{
Expand Down Expand Up @@ -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. */
Expand All @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions GCC_XML/KWSys/kwsysDateStamp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit def5346

Please sign in to comment.