+2003-06-27 Zack Weinberg <zack@codesourcery.com>
+
+ * c-format.c (check_format_string, get_constant)
+ * cfgrtl.c (rtl_split_edge):
+ Mark the definition static, matching the forward declaration.
+
2003-06-27 Gunther Nikl <gni@gecko.de>
* unwind-c.c (PERSONALITY_FUNCTION): Delete duplicate define.
* config/s390/s390.h (SECONDARY_OUTPUT_RELOAD_CLASS): Define.
* config/s390/s390.c (s390_secondary_output_reload_class): New function.
- * config/s390/s390-protos.h (s390_secondary_output_reload_class):
+ * config/s390/s390-protos.h (s390_secondary_output_reload_class):
Declare it.
- * config/s390/s390.md ("reload_outti", "reload_outdi",
+ * config/s390/s390.md ("reload_outti", "reload_outdi",
"reload_outdf"): New expanders.
* config/s390/s390.md ("movti" + splitters): Handle non-offsettable
2003-06-27 Ulrich Weigand <uweigand@de.ibm.com>
- * ggc-page.c (inverse_table): Change type of mult to size_t.
- (compute_inverse): Compute inverse using size_t, not unsigned int.
- Compute inverse also for sizes larger than half a machine page.
+ * ggc-page.c (inverse_table): Change type of mult to size_t.
+ (compute_inverse): Compute inverse using size_t, not unsigned int.
+ Compute inverse also for sizes larger than half a machine page.
Fri Jun 27 18:36:12 CEST 2003 Jan Hubicka <jh@suse.cz>
/* Verify that the format_num argument is actually a string, in case
the format attribute is in error. */
-bool
+static bool
check_format_string (tree argument, unsigned HOST_WIDE_INT format_num,
int flags, bool *no_add_attrs)
{
/* Strip any conversions from the expression, verify it is a constant,
and store its value. If validated_p is true, abort on errors.
Returns true on success, false otherwise. */
-bool
+static bool
get_constant(tree expr, unsigned HOST_WIDE_INT *value, int validated_p)
{
while (TREE_CODE (expr) == NOP_EXPR
The case of a block ending in an unconditional jump to a
block with multiple predecessors is not handled optimally. */
-basic_block
+static basic_block
rtl_split_edge (edge edge_in)
{
basic_block bb;
+2003-06-27 Zack Weinberg <zack@codesourcery.com>
+
+ * decl.c (build_typename_type)
+ * mangle.c (write_template_template_arg)
+ * parser.c (cp_parser_scope_through_which_access_occurs)
+ * pt.c (push_access_scope_real, push_access_scope, pop_access_scope)
+ * repo.c (get_base_filename)
+ * semantics.c (maybe_convert_cond):
+ Mark the definition static, matching the forward declaration.
+
2003-06-27 Mark Mitchell <mark@codesourcery.com>
PR c++/10468
2003-06-26 Giovanni Bajo <giovannibajo@libero.it>
- PR c++/8266
- * pt.c (check_explicit_specialization): When looking up a
- template function from an identifier outside class-scope, bind
- it to CP_DECL_CONTEXT.
+ PR c++/8266
+ * pt.c (check_explicit_specialization): When looking up a
+ template function from an identifier outside class-scope, bind
+ it to CP_DECL_CONTEXT.
2003-06-25 Mark Mitchell <mark@codesourcery.com>
* cp-tree.h (perform_direct_initialization_if_possible): Declare it.
* typeck.c (check_for_casting_away_constness): New function.
(build_static_cast): Rewrite.
-
+
2003-06-24 Nathan Sidwell <nathan@codesourcery.com>
* call.c (enforce_access): Assert we get a binfo.
* decl2.c (get_guard): Use pushdecl_top_level_and_finish.
* rtti.c (get_tinfo_decl): Use pushdecl_top_level_and_finish.
(tinfo_base_init): Likewise.
-
+
2003-06-19 Matt Austern <austern@apple.com>
PR c++/11228
is an integer constant.
(build_default_init) Don't use build_zero_init for arrays with
variable number of elements.
-
+
2003-06-19 Andreas Jaeger <aj@suse.de>
* cp-tree.h: Remove duplicated declarations.
static GTY ((param_is (union tree_node))) htab_t typename_htab;
-tree
+static tree
build_typename_type (tree context, tree name, tree fullname)
{
tree t;
::= <name>
::= <substitution> */
-void
+static void
write_template_template_arg (const tree decl)
{
MANGLE_TRACE_TREE ("template-template-arg", decl);
or `x', respectively. If the DECL was named as `A::B' then
NESTED_NAME_SPECIFIER is `A'. */
-tree
+static tree
cp_parser_scope_through_which_access_occurs (tree decl,
tree object_type,
tree nested_name_specifier)
template argument for TEMPLATE_DECL. If CONTEXT is not NULL_TREE,
this is used instead of the context of T. */
-void
+static void
push_access_scope_real (tree t, tree args, tree context)
{
if (TREE_CODE (t) == FUNCTION_DECL || DECL_FUNCTION_TEMPLATE_P (t))
/* Like push_access_scope_real, but always uses DECL_CONTEXT. */
-void
+static void
push_access_scope (tree t)
{
push_access_scope_real (t, NULL_TREE, NULL_TREE);
/* Restore the scope set up by push_access_scope. T is the node we
are processing. */
-void
+static void
pop_access_scope (tree t)
{
if (TREE_CODE (t) == FUNCTION_DECL || DECL_FUNCTION_TEMPLATE_P (t))
return obstack_finish (&temporary_obstack);
}
-const char *
+static const char *
get_base_filename (const char *filename)
{
char *p = getenv ("COLLECT_GCC_OPTIONS");
/* COND is the condition-expression for an if, while, etc.,
statement. Convert it to a boolean value, if appropriate. */
-tree
+static tree
maybe_convert_cond (tree cond)
{
/* Empty conditions remain empty. */
+2003-06-27 Zack Weinberg <zack@codesourcery.com>
+
+ * class.c (build_method_symbols_entry)
+ * expr.c (get_offset_table_index)
+ * jcf-parse.c (jcf_parse):
+ Mark the definition static, matching the forward declaration.
+
2003-06-26 Neil Booth <neil@daikokuya.co.uk>
* lang.c (java_handle_option): Don't check for missing arguments.
/* Make a method_symbol_type (_Jv_MethodSymbol) node for METHOD. */
-tree
+static tree
build_method_symbols_entry (tree method)
{
tree clname, name, signature, method_symbol;
METHOD. If this method has not been seen before, it will be added to the
otable_methods. If it has, the existing otable slot will be reused. */
-int
+static int
get_offset_table_index (tree method)
{
int i = 1;
/* Parse the .class file JCF. */
-void
+static void
jcf_parse (JCF* jcf)
{
int i, code;