Deleted Added
full compact
decl.c (260918) decl.c (260932)
1/* Process declarations and variables for C++ compiler.
2 Copyright (C) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
3 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 Contributed by Michael Tiemann (tiemann@cygnus.com)
5
6This file is part of GCC.
7
8GCC is free software; you can redistribute it and/or modify

--- 9770 unchanged lines hidden (view full) ---

9779 }; */
9780
9781 t = check_elaborated_type_specifier (tag_code,
9782 decl,
9783 template_header_p
9784 | DECL_SELF_REFERENCE_P (decl));
9785 return t;
9786 }
1/* Process declarations and variables for C++ compiler.
2 Copyright (C) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
3 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 Contributed by Michael Tiemann (tiemann@cygnus.com)
5
6This file is part of GCC.
7
8GCC is free software; you can redistribute it and/or modify

--- 9770 unchanged lines hidden (view full) ---

9779 }; */
9780
9781 t = check_elaborated_type_specifier (tag_code,
9782 decl,
9783 template_header_p
9784 | DECL_SELF_REFERENCE_P (decl));
9785 return t;
9786 }
9787 else if (decl && TREE_CODE (decl) == TREE_LIST)
9788 {
9789 error ("reference to %qD is ambiguous", name);
9790 print_candidates (decl);
9791 return error_mark_node;
9792 }
9787 else
9788 return NULL_TREE;
9789}
9790
9791/* Get the struct, enum or union (TAG_CODE says which) with tag NAME.
9792 Define the tag as a forward-reference if it is not defined.
9793
9794 If a declaration is given, process it here, and report an error if

--- 2050 unchanged lines hidden ---
9793 else
9794 return NULL_TREE;
9795}
9796
9797/* Get the struct, enum or union (TAG_CODE says which) with tag NAME.
9798 Define the tag as a forward-reference if it is not defined.
9799
9800 If a declaration is given, process it here, and report an error if

--- 2050 unchanged lines hidden ---