platform/upstream/gcc.git
24 years agoFrom Bryce McKinlay:
Tom Tromey [Tue, 17 Aug 1999 22:05:56 +0000 (22:05 +0000)]
From Bryce McKinlay:

* libjava.lang/Array_2.java: New file.
* libjava.lang/Array_2.out: New file.

From-SVN: r28737

24 years agoflow.c (create_edge_list): Use xmalloc, not malloc.
Andrew MacLeod [Tue, 17 Aug 1999 21:44:26 +0000 (21:44 +0000)]
flow.c (create_edge_list): Use xmalloc, not malloc.

Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>

* flow.c (create_edge_list): Use xmalloc, not malloc.

From-SVN: r28736

24 years agoDo not trash single-line C-style comments
Loren J. Rittle [Tue, 17 Aug 1999 18:32:32 +0000 (18:32 +0000)]
Do not trash single-line C-style comments

From-SVN: r28735

24 years agoDaily bump.
Jeff Law [Tue, 17 Aug 1999 07:45:09 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r28734

24 years agocp-tree.h (CALL_DECLARATOR_PARMS): New macro.
Mark Mitchell [Tue, 17 Aug 1999 07:20:23 +0000 (07:20 +0000)]
cp-tree.h (CALL_DECLARATOR_PARMS): New macro.

* cp-tree.h (CALL_DECLARATOR_PARMS): New macro.
(CALL_DECLARATOR_QUALS): Likewise.
(CALL_DECARATOR_EXCEPTION_SPEC): Likewise.
* decl.c (grokdeclarator): Adjust to use them.
* decl2.c (grokfield): Likewise.
(reparse_absdcl_as_casts): Likewise.
* lex.c (make_call_declarator): Likewise.
(set_quals_and_spec): Likewise.
* pt.c (tsubst): Likewise.
* tree.c (mapcar): Remove special hack to handle third operand of
a CALL_EXPR.

From-SVN: r28733

24 years agobasic-block.h (struct edge_list): Stucture to maintain a vector of edges.
Andrew MacLeod [Mon, 16 Aug 1999 22:14:51 +0000 (22:14 +0000)]
basic-block.h (struct edge_list): Stucture to maintain a vector of edges.

* basic-block.h (struct edge_list): Stucture to maintain a vector
of edges.
(EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
(create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
New function prototypes.
* flow.c (create_edge_list): Function to create an edge list.
(free_edge_list): Discards memory used by an edge list.
(print_edge_list): Debug output showing an edge list.
(verify_edge_list): Internal consistency check for an edge list.

From-SVN: r28732

24 years agocp-tree.h (CAN_HAVE_FULL_LANG_DECL_P): New macro.
Mark Mitchell [Mon, 16 Aug 1999 22:08:42 +0000 (22:08 +0000)]
cp-tree.h (CAN_HAVE_FULL_LANG_DECL_P): New macro.

* cp-tree.h (CAN_HAVE_FULL_LANG_DECL_P): New macro.
* class.c (build_vtable): Use build_lang_field_decl to build the
VAR_DECLs for vtables.
(prepare_fresh_vtable): Likewise.
* decl.c (duplicate_decls): Only copy DECL_SAVED_TREE if
CAN_HAVE_FULL_LANG_DECL_P.
(push_using_decl): Use build_lang_decl to build USING_DECLs.
(grokdeclarator): Use build_lang_decl to build TYPE_DECLs.
* lex.c (retrofit_lang_decl): Check CAN_HAVE_FULL_LANG_DECL_P.
(build_lang_field_decl): Likewise.
(copy_lang_decl): Use CAN_HAVE_FULLLANG_DECL_P to decide how much
to copy.

From-SVN: r28731

24 years agomake me the mips maintainer, fix my name
Gavin Romig-Koch [Mon, 16 Aug 1999 21:43:19 +0000 (21:43 +0000)]
make me the mips maintainer, fix my name

From-SVN: r28730

24 years agocp-tree.def (STMT_EXPR): New tree node.
Mark Mitchell [Mon, 16 Aug 1999 19:01:36 +0000 (19:01 +0000)]
cp-tree.def (STMT_EXPR): New tree node.

* cp-tree.def (STMT_EXPR): New tree node.
* cp-tree.h (STMT_EXPR_STMT): New macro.
(store_return_init): Change prototype.
(finish_named_return_value): New function.
(expand_stmt): Likewise.
(expand_body): Likewise.
(begin_stmt_tree): Likewise.
(finish_stmt_tree): Likewise.
(expanding_p): New variable.
(last_expr_type): Likewise.
(building_stmt_tree): New macro.
* decl.c (start_function): Use building_stmt_tree, not
processing_template_decl, where appropriate.
(store_parm_decls): Likewise.
(store_return_init): Move most of the body to semantics.c.
(finish_function): Use building_stmt_tree.
(finish_stmt): Clear last_expr_type here.
(cp_function): Add expanding_p, last_tree, last_expr_type.
(push_cp_function_context): Save them.
(pop_cp_function_context): Restore them.
* decl2.c (setup_vtbl_ptr): Move to semantics.c.
* error.c (dump_expr): Handle STMT_EXPR.
* except.c (expand_start_catch_block): Use building_stmt_tree.
Use add_decl_stmt.
* expr.c (cplus_expand_expr): Handle STMT_EXPR.
(do_case): Move add_tree call to semantics.c.
* parse.y (return_init): Use finish_named_return_value.
(for.init.statement): Use finish_expr_stmt.
* parse.c: Regenerated.
* pt.c (do_pushlevel): Move to semantics.c.
(do_poplevel): Likewise.
(tsubst_copy): Handle STMT_EXPR instead of BIND_EXPR.
(tsubst_expr): Don't expand all the way to RTL here.  Handle
RETURN_INIT and CTOR_INITIALIZER.
(instantiate_decl): Call expand_body after tsubst'ing into
DECL_SAVED_TREE.
* semantics.c (expand_stmts): New function.
(expanding_p): New variable.
(last_expr_type): Likewise.
(finish_expr_stmt): Use building_stmt_tree.
(begin_if_stmt): Likewise.
(finish_if_stmt_cond): Likewise.
(finish_then_clause): Likewise.
(begin_else_clause): Likewise.
(finish_else_clause): Likewise.
(begin_while_stmt): Likewise.
(finish_while_stmt_cond): Likewise.
(finish_while_stmt): Likewise.
(finish_do_body): Likewise.
(finish_do_stmt): Likewise.
(finish_return_stmt): Likewise.
(begin_for_stmt): Likewise.
(fnish_for_init_stmt): Likewise.
(finish_for_cond): Likewise.
(finish_for_expr): Likewise.
(finish_for_stmt): Likewise.
(finish_break_stmt): Likewise.
(finish_continue_stmt): Likewise.
(finish_switch_cond): Likewise.
(finish_switch_stmt): Likewise.
(finish_case_label): Call add_tree here if necessary.
(finish_goto_statement): Use building_stmt_tree.
(begin_try_block): Likewise.
(begin_function_try_block): Likewise.
(finish_try_block): Likewise.
(finish_function_try_block): Likewise.
(finish_handler_sequence): Likewise.
(finish_function_handler_sequence): Likewise.
(begin_handler): Likewise.
(finish_handler_parms): Likewise.
(finish_handler): Likewise.
(begin_compound_stmt): Likewise.
(finish_compound_stmt): Likewise.
(finish_asm_stmt): Likewise.
(finish_label_stmt): Likewise.
(finish_named_return_value): New function.
(setup_vtbl_ptr): Moved here from decl2.c.
(do_pushlevel): Moved here from pt.c.
(do_poplevel): Likewise.
(begin_stmt_expr): Use building_stmt_tree.
(finish_stmt_expr): Likewise.  Build a STMT_EXPR, not a BIND_EXPR,
when building_stmt_tree.
(begin_stmt_tree): New function.
(finish_stmt_tree): Likewise.
(expand_stmt): Likewise.
(expand_body): Likewise.
* tree.c (build_cplus_method_type): Make sure the argument types
end up on the same obstack as the METHOD_TYPE.
(search_tree): Handle COMPOUND_EXPR, MODIFY_EXPR,
THROW_EXPR, STMT_EXPR.
(mapcar): Break out common cases.  Handle COMPOUND_EXPR,
MODIFY_EXPR, THROW_EXPR, STMT_EXPR, RTL_EXPR.  Abort, rather than
sorry, if an unsupported node is encountered.
* typeck.c (require_complete_type_in_void): Handle BIND_EXPR.
(c_expand_return): Don't call add_tree here.

From-SVN: r28729

24 years agotree.c (type_hash_add): Use permalloc to allocate nodes in the hashtable.
Mark Mitchell [Mon, 16 Aug 1999 18:53:23 +0000 (18:53 +0000)]
tree.c (type_hash_add): Use permalloc to allocate nodes in the hashtable.

* tree.c (type_hash_add): Use permalloc to allocate nodes in the
hashtable.

From-SVN: r28728

24 years agoconfigure: Rebuilt.
Tom Tromey [Mon, 16 Aug 1999 17:01:52 +0000 (17:01 +0000)]
configure: Rebuilt.

* configure: Rebuilt.
* configure.in: Set DIVIDESPEC to empty string if compiler does
not support -fuse-divide-subroutine.

From-SVN: r28727

24 years agogcc_update: New file.
Gerald Pfeifer [Mon, 16 Aug 1999 16:49:21 +0000 (18:49 +0200)]
gcc_update: New file.

* gcc_update: New file.
* egcs_update: Renamed to gcc_update.

From-SVN: r28726

24 years ago* mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
J"orn Rennecke [Mon, 16 Aug 1999 16:05:47 +0000 (17:05 +0100)]
* mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.

From-SVN: r28725

24 years ago* config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
Gerald Pfeifer [Mon, 16 Aug 1999 15:56:44 +0000 (17:56 +0200)]
* config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.

From-SVN: r28724

24 years agoAllow machine dependent reorganisation pass to place information into the RTL
Nick Clifton [Mon, 16 Aug 1999 10:06:19 +0000 (10:06 +0000)]
Allow machine dependent reorganisation pass to place information into the RTL
dump file if it so wishes.

From-SVN: r28723

24 years agoDaily bump.
Jeff Law [Mon, 16 Aug 1999 07:45:12 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r28719

24 years agoFix typo in last change
Mark Mitchell [Mon, 16 Aug 1999 00:59:19 +0000 (00:59 +0000)]
Fix typo in last change

From-SVN: r28718

24 years agoFix misuses of MAX_MACHINE_MODE that can result in an infinite loop.
Jim Wilson [Sun, 15 Aug 1999 20:08:12 +0000 (20:08 +0000)]
Fix misuses of MAX_MACHINE_MODE that can result in an infinite loop.

* explow.c (hard_function_value): Use VOIDmode instead of
MAX_MACHINE_MODE.
* stmt.c (expand_return): Likewise.
* stor-layout.c (get_best_mode): Likewise.

From-SVN: r28717

24 years agoFix bug preventing use of match_par_dup in a call insn pattern.
Jim Wilson [Sun, 15 Aug 1999 19:45:38 +0000 (19:45 +0000)]
Fix bug preventing use of match_par_dup in a call insn pattern.

* genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
emit call instead of emit_insn call.

From-SVN: r28716

24 years agopt.c (check_default_tmpl_args): Don't check in local scopes.
Mark Mitchell [Sun, 15 Aug 1999 16:59:17 +0000 (16:59 +0000)]
pt.c (check_default_tmpl_args): Don't check in local scopes.

* pt.c (check_default_tmpl_args): Don't check in local scopes.
(tsubst_decl): Make sure the declaration is on a saveable
obstack.  Clear DECL_DEAD_FOR_LOCAL when making a copy of a local
variable.
(tsubst_expr): Adjust now that DECL_STMTs really contain DECLs.

From-SVN: r28715

24 years agoexpr.c (java_lang_expand_expr): Mark static array data as referenced.
Anthony Green [Sun, 15 Aug 1999 08:31:56 +0000 (08:31 +0000)]
expr.c (java_lang_expand_expr): Mark static array data as referenced.

        * expr.c (java_lang_expand_expr): Mark static array data as
        referenced.

From-SVN: r28714

24 years agoDaily bump.
Jeff Law [Sun, 15 Aug 1999 07:45:09 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r28713

24 years agoMumit Khan <khan@xraylith.wisc.edu>
Mumit Khan [Sat, 14 Aug 1999 22:04:44 +0000 (22:04 +0000)]
Mumit Khan  <khan@xraylith.wisc.edu>

        * configure.in: Handle --disable/enable-win32-registry.
        * install.texi: Document --disable/enable-win32-registry.
        * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
        (WIN32_REGISTRY_KEY): New macro.
        * prefix.c: Use to enable/disable win32-specific code.
        (lookup_key): Use versioned key.
        * configure: Regenerate.
        * config.in: Likewise.

From-SVN: r28712

24 years agoresolve.cc (_Jv_PrepareClass): Use ClassLoader::resolveClass0.
Per Bothner [Sat, 14 Aug 1999 19:49:06 +0000 (12:49 -0700)]
resolve.cc (_Jv_PrepareClass): Use ClassLoader::resolveClass0.

1999-08-14  Per Bothner  <per@bothner.com>

* resolve.cc (_Jv_PrepareClass): Use ClassLoader::resolveClass0.
* java/lang/natClass.cc (initializeClass): Likewise.
* java/lang/ClassLoader.java (resolveClass0): New static method.
(resolveClass): Call resolveClass0.
(findSystemClass): No longer static.

From-SVN: r28711

24 years agoSpeed up Koenig lookup.
Jason Merrill [Sat, 14 Aug 1999 11:08:53 +0000 (11:08 +0000)]
Speed up Koenig lookup.

* decl.c (unqualified_namespace_lookup): Nonstatic.  Add spacep parm
to return namespaces we've looked at.
* decl2.c (lookup_using_namespace): Likewise.
(add_function): Don't call ovl_member.
(lookup_arg_dependent): Initialize k.namespaces to the list of
namespaces seen in unqualified lookup.
* call.c (equal_functions): Move here from tree.c.
(joust): Use it to handle duplicate candidates.
* tree.c (ovl_member): Use ==.

From-SVN: r28710

24 years agocp-tree.def (DECL_STMT): Make it smaller.
Mark Mitchell [Sat, 14 Aug 1999 09:23:49 +0000 (09:23 +0000)]
cp-tree.def (DECL_STMT): Make it smaller.

* cp-tree.def (DECL_STMT): Make it smaller.
* cp-tree.h (lang_decl_flags): Move saved_tree to ...
(lang_decl): ... here.  Add next.
(DECL_SAVED_TREE): Adjust accordingly.
(DECL_IMPLICIT_TYPEDEF_P): New macro.
(SET_DECL_IMPLICIT_TYPEDEF_P): Likewise.
(DECL_STMT_DECL): Likewise.
(create_implicit_typedef): New function.
(maybe_push_decl): Likewise.
(tsubst_default_argument): New function.
(at_function_scope_p): Likewise.
(add_decl_stmt): Likewise.
(push_permanent_obstack): Likewise.
* call.c (convert_default_arg): Use tsubst_default_argument.
* class.c (add_method): Use push_permanent_obstack.
(build_self_reference): Create a TEMPLATE_DECL for the
self-reference, if necessary.
* decl.c (pseudo_global_level_p): Only look at the current binding
level.
(push_binding): Use push_permanent_obstack.
(create_implicit_typedef): New function.
(pushtag): Use it.
(duplicate_decls): Use push_permanent_obstack.
(maybe_push_decl): New function.
(start_decl): Use it.  Remove dead code.  Use add_decl_stmt.
(start_decl_1): Remove dead code.
(cp_finish_decl): Remove DECL_STMT handling here.  Don't use
pseudo_global_level_p.
(grokvardecl): Create DECL_LANG_SPECIFIC for a VAR_DECL in a
template.
(grokdeclarator): Likewise, for TYPE_DECLs.  Don't use
pseudo_global_level_p.
* decl2.c (grokfield): Call push_template_decl for a TYPE_DECL in
a template.
(get_sentry): Use push_permanent_obstack.
* dump.c (dequeue_and_dump): Enable DECL_STMT.
* except.c (call_eh_info): Use push_permanent_obstack.
(build_eh_type_ref): Likewise.
(do_pop_exception): Likewise.
(expand_eh_spec): Likewise.
(alloc_eh_object): Likewise.
(expand_throw): Likewise.
* init.c (build_java_class_ref): Likewise.
* lex.c (get_time_identifier): Likewise.
(free_lang_decl_chain): Correct type.
(retrofit_lang_decl): Adjust accordingly.
(build_lang_field_decl): Likewise.
* lex.h (free_lang_decl_chain): Likewise.
* parse.y (lang_extdef): Don't use pseudo_global_level_p.
* parse.c: Regenerated.
* pt.c (tsubst_default_arguments): New function.
(retrieve_local_specialization): Likewise.
(register_local_specialization): Likewise.
(push_template_decl_real): Use DECL_IMPLICIT_TYPEDEF_P.  Just use
pseudo_global_level_p to determine whether or not a template is
primary.
(lookup_template_class): Likewise.  Use create_implicit_typedef.
(instantiate_class_template): Call tsubst_default_arguments for
member functions, if appropriate.
(tsubst_default_argument): New function.
(tsubst_decl): Use it.  Change TYPE_DECL handling to match VAR_DECLs.
* search.c (at_function_scope_p): New function.
* semantics.c (finish_asm_stmt): Use push_permanent_obstack.
(finish_label_stmt): Likewise.
(add_decl_stmt): New function.
(begin_class_definition): Likewise.
(finish_typeof): Likewise.
* tree.c (copy_template_template_parm): Likewise.
(copy_to_permanent): Likewise.
(push_permanent_obstack): Define.
(mark_addressable): Use it.
* typeck.c (mark_addressable): Likewise.

From-SVN: r28709

24 years agoDaily bump.
Jeff Law [Sat, 14 Aug 1999 07:45:10 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r28708

24 years agocpplib.c (read_line_number): New fn, split out of...
Jason Merrill [Sat, 14 Aug 1999 00:42:07 +0000 (00:42 +0000)]
cpplib.c (read_line_number): New fn, split out of...

* cpplib.c (read_line_number): New fn, split out of...
(do_line): Here.

From-SVN: r28707

24 years agoFix incorrect commit on previous change.
Mark Mitchell [Fri, 13 Aug 1999 20:49:57 +0000 (20:49 +0000)]
Fix incorrect commit on previous change.

From-SVN: r28706

24 years agoFor gcc:
Gavin Romig-Koch [Fri, 13 Aug 1999 18:22:59 +0000 (18:22 +0000)]
For gcc:

tree.c (lang_unsave_expr_now) : New.
(unsave_expr_now): Call lang_unsave_expr_now.
tree.h (lang_unsave_expr_now) : New.

For gcc/cp:
cp-tree.h (init_cplus_unsave): New.
(cplus_unsave_expr_now): New.
lex.c (init_parse): Call init_cplus_unsave.
tree.c (init_cplus_unsave): New.
(cplus_unsave_expr_now): New.

From-SVN: r28705

24 years agoBack out accidental change
Jeff Law [Fri, 13 Aug 1999 17:17:37 +0000 (11:17 -0600)]
Back out accidental change

From-SVN: r28704

24 years ago* toplev.c (flag_new_exceptions): On by default.
Jason Merrill [Fri, 13 Aug 1999 08:23:35 +0000 (08:23 +0000)]
* toplev.c (flag_new_exceptions): On by default.

From-SVN: r28703

24 years agopt.c (tsubst): Back out 1999-08-06 patch.
Mark Mitchell [Fri, 13 Aug 1999 08:17:14 +0000 (08:17 +0000)]
pt.c (tsubst): Back out 1999-08-06 patch.

* pt.c (tsubst): Back out 1999-08-06 patch.  Use fold and
decl_constant_value to simplify array bounds.

From-SVN: r28702

24 years agoremove obsolete destructors and goto node
Jason Merrill [Fri, 13 Aug 1999 07:48:44 +0000 (03:48 -0400)]
remove obsolete destructors and goto node

From-SVN: r28701

24 years ago* Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
Michael Meissner [Fri, 13 Aug 1999 07:47:18 +0000 (07:47 +0000)]
* Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.

From-SVN: r28700

24 years agoDaily bump.
Jeff Law [Fri, 13 Aug 1999 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r28698

24 years agodwarfout.c (fundamental_type_code): Return FT_boolean for INTEGER_TYPE with precision...
Alexandre Oliva [Fri, 13 Aug 1999 07:40:04 +0000 (07:40 +0000)]
dwarfout.c (fundamental_type_code): Return FT_boolean for INTEGER_TYPE with precision==1, it's __java_boolean.

        * dwarfout.c (fundamental_type_code): Return FT_boolean for
        INTEGER_TYPE with precision==1, it's __java_boolean.

From-SVN: r28696

24 years agoRenamed
Martin v. Löwis [Fri, 13 Aug 1999 07:36:36 +0000 (07:36 +0000)]
Renamed

From-SVN: r28695

24 years agoNew test case
Martin v. Löwis [Fri, 13 Aug 1999 07:25:31 +0000 (07:25 +0000)]
New test case

From-SVN: r28693

24 years agoglobal.c (prune_preferences): Move some invariants out of the inner loop.
J"orn Rennecke [Thu, 12 Aug 1999 22:53:28 +0000 (22:53 +0000)]
global.c (prune_preferences): Move some invariants out of the inner loop.

* global.c (prune_preferences): Move some invariants out of the
inner loop.

From-SVN: r28691

24 years ago* configure.in (alpha*-dec-osf*): Add osf5.
Jesse Perry [Thu, 12 Aug 1999 22:31:16 +0000 (22:31 +0000)]
* configure.in (alpha*-dec-osf*): Add osf5.

From-SVN: r28690

24 years agojavaprims.h (TRUE, FALSE): Redefine as themselves.
Alexandre Oliva [Thu, 12 Aug 1999 17:31:34 +0000 (17:31 +0000)]
javaprims.h (TRUE, FALSE): Redefine as themselves.

1999-08-12  Alexandre Oliva  <oliva@dcc.unicamp.br>

* include/javaprims.h (TRUE, FALSE): Redefine as themselves.

From-SVN: r28689

24 years agoOops - omitted from previouys delta
Philip Blundell [Thu, 12 Aug 1999 10:01:07 +0000 (10:01 +0000)]
Oops - omitted from previouys delta

From-SVN: r28688

24 years agoApply Phillip Blundell's patch to distinguish between new and old binutils.
Philip Blundell [Thu, 12 Aug 1999 09:41:02 +0000 (09:41 +0000)]
Apply Phillip Blundell's patch to distinguish between new and old binutils.

From-SVN: r28687

24 years agortl.texi: Fix typo.
Andreas Schwab [Thu, 12 Aug 1999 08:24:56 +0000 (08:24 +0000)]
rtl.texi: Fix typo.

Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>

* rtl.texi: Fix typo.

From-SVN: r28686

24 years agoDaily bump.
Jeff Law [Thu, 12 Aug 1999 07:45:09 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r28685

24 years agolang-options.h: Add -fms-extensions.
Jason Merrill [Thu, 12 Aug 1999 06:52:30 +0000 (06:52 +0000)]
lang-options.h: Add -fms-extensions.

* lang-options.h: Add -fms-extensions.
* cp-tree.h: Declare flag_ms_extensions.
* decl2.c: Define it.
* class.c (instantiate_type): Don't complain about taking the address
of a bound member function if -fms-extensions.
* typeck.c (build_unary_op): Likewise.
* decl.c (grokdeclarator): Or about implicit int.
* init.c (resolve_offset_ref): Or about implicit '&'.

From-SVN: r28684

24 years ago* invoke.texi (C++ Dialect Options): Add -fms-extensions.
Jason Merrill [Thu, 12 Aug 1999 06:51:22 +0000 (06:51 +0000)]
* invoke.texi (C++ Dialect Options): Add -fms-extensions.

From-SVN: r28683

24 years agocp-tree.h (minimal_parse_mode): Remove.
Mark Mitchell [Thu, 12 Aug 1999 01:45:44 +0000 (01:45 +0000)]
cp-tree.h (minimal_parse_mode): Remove.

* cp-tree.h (minimal_parse_mode): Remove.
(finish_label_stmt): New function.
* decl.c (saved_scope): Remove minimal parse mode.
(maybe_push_to_top_level): Don't save it.
(pop_from_top_level): Don't restore it.
(define_label): Split out template-handling code to semantics.c.
(start_decl): Don't use minimal_parse_mode.
(cp_finish_decl): Likewise.
(start_function): Don't increment it.
(store_return_init): Don't use it.
(finish_function): Don't decrement it.
* parse.y (label_colon): Use finish_label_stmt throughout.
* parse.c: Regenerated.
* pt.c (minimal_parse_mode): Don't define it.
(tsubst_expr): Use finish_label_stmt.
* semantics.c (finish_label_stmt): New function.

From-SVN: r28682

24 years agoMake-lang.in (CXX_SRCS): Remove sig.c.
Mark Mitchell [Thu, 12 Aug 1999 01:40:29 +0000 (01:40 +0000)]
Make-lang.in (CXX_SRCS): Remove sig.c.

* Make-lang.in (CXX_SRCS): Remove sig.c.
* Makefile.in (CXX_OBJS): Remove sig.o.
(sig.o): Remove.
* cp-tree.h (CPTI_OPAQUE_TYPE): Remove.
(CPTI_SIGNATURE_TYPE): Likewise.
(CPTI_SIGTABLE_ENTRY_TYPE): Likewise.
(opaque_type_node): Likewise.
(signature_type_node): Likewise.
(sigtable_entry_type): Likewise.
(flag_handle_signatures): Likewise.
(lang_type): Remove is_signature, is_signature_pointer,
is_signature_reference, has_opaque_typedecls,
sigtables_has_been_generated.  Adjust dummy.  Remove signature,
signature_pointer_to, signature_reference_to.
(IS_SIGNATURE): Remove.
(SET_SIGNATURE): Remove.
(CLEAR_SIGNATURE): Remove.
(IS_SIGNATURE_POINTER): Remove.
(IS_SIGNATURE_REFERENCE): Remove.
(SIGNATURE_HAS_OPAQUE_TYPEDECLS): Remove.
(SIGTABLE_HAS_BEEN_GENERATED): Remove.
(CLASSTYPE_SIGNATURE): Remove.
(SIGNATURE_TYPE): Remove.
(SIGNATURE_METHOD_VEC): Remove.
(SIGNATURE_POINTER_TO): Remove.
(SIGNATURE_REFERENCE_TO): Remove.
(lang_decl_flags): Remove is_default_implementation.  Rename
memfunc_pointer_to to saved_tree.
(IS_DEFAULT_IMPLEMENTATION): Remove.
(DECL_MEMFUNC_POINTER_TO): Remove.
(DECL_MEMFUNC_POINTING_TO): Remove.
(DECL_SAVED_TREE): Adjust definition.
(tag_types): Remove signature_type_node.
(SIGNATURE_FIELD_NAME): Remove.
(SIGNATURE_FIELD_NAME_FORMAT): Likewise.
(SIGNATURE_OPTR_NAME): Likewise.
(SIGNATURE_SPTR_NAME): Likewise.
(SIGNATURE_POINTER_NAME): Likewise.
(SIGNATURE_POINTER_NAME_FORMAT): Likewise.
(SIGNATURE_REFERENCE_NAME): Likewise.
(SIGNATURE_REFERNECE_NAME_FORMAT): Likewise.
(SIGTABLE_PTR_TYPE): Likewise.
(SIGTABLE_NAME_FORMAT): Likewise.
(SIGTABLE_NAME_FORMAT_LONG): Likewise.
(SIGTABLE_TAG_NAME): Likewise.
(SIGTABLE_VB_OFF_NAME): Likewise.
(SIGTABLE_VT_OFF_NAME): Likewise.
(finish_base_specifiers): Change prototype.
(build_signature_pointer_type): Remove.
(build_signature_reference_type): Remove.
(build_signature_pointer_constructor): Remove.
(build_signature_method_call): Remove.
(build_optr_ref): Likewise.
(append_signature_fields): Likewise.
(signature_error): Likewise.
* call.c (build_this): Remove signature support.
(build_over_call): Likewise.
(build_new_method_call): Likewise.
* class.c (add_implicitly_declared_members): Likewise.
(finish_struct_1): Likewise.
(finish_struct): Likewise.
* cvt.c (cp_convert_to_pointer): Likewise.
(convert_to_pointer_force): Likewise.
(ocp_convert): Likewise.
* decl.c (sigtable_decl_p): Remove.
(init_decl_processing): Remove support for signatures.
(cp_finish_decl): Likewise.
(grokdeclarator): Likewise.
(grokparms): Likewise.
(xref_tag): Likewise.
(start_function): Likewise.
(start_method): Likewise.
* decl2.c (finish_sigtable_vardecl): Remove.
(flag_handle_signatures): Remove.
(lang_f_options): Remove handle-signatures.
(grokfield): Remove support for signatures.
(grokbitfield): Likewise.
(finish_file): Likewise.
(reparse_absdcl_as_casts): Likewise.
* error.c (dump_type_real): Likewise.
(dump_function_decl): Likewise.
* friend.c (make_friend_class): Likewise.
* gxx.gperf: Remove __signature__, signature, __sigof__, sigof.
* hash.h: Regenerated.
* init.c (build_new_1): Remove support for signatures.
* lang-options.h: Remove -fhandle-signatures,
-fno-handle-signatures.
* lex.c (init_parse): Remove support for signatures.
(yyprint): Likewise.
* lex.h (rid): Remove RID_SIGNATURE.
* method.c (build_decl_overload_real): Remove support for
signatures.
(hack_identifier): Likewise.
* parse.y (base_class): Likewise.
(base_class.1): Likewise.
(access_specifier): Likewise.
* search.c (lookup_member): Likewise.
* semantics.c (finish_qualified_object_call_expr): Likewise.
(finish_template_type_parm): Likewise.
(begin_class_definition): Likewise.
(finish_base_specifier): Likewise.
* sig.c: Remove.
* tree.c (build_cplus_method_type): Remove support for signatures.
* typeck.c (require_complete_type): Likewise.
(c_sizeof): Likewise.
(c_alignof): Likewise.
(build_object_ref): Likewise.
(build_component_ref): Likewise.
(build_indirect_ref): Likewise.
(build_c_cast): Likewise.
(build_modify_expr): Likewise.
(convert_for_initialization): Likewise.
* typeck2.c (signature_error): Remove.
(store_init_value): Remove support for signatures.
(digest_init): Likewise.
(build_x_arrow): Likewise.
(build_functional_cast): Likewise.
* xref.c (GNU_xref_decl): Likewise.

From-SVN: r28681

24 years agoBitSet.java (set, [...]): specify "1" constant as long.
Bryce McKinlay [Wed, 11 Aug 1999 21:30:31 +0000 (21:30 +0000)]
BitSet.java (set, [...]): specify "1" constant as long.

        * java/util/BitSet.java (set, clear, hashCode): specify "1" constant
        as long.

From-SVN: r28680

24 years agodump.c (queue): Be careful when computing bitmasks.
Mark Mitchell [Wed, 11 Aug 1999 20:40:11 +0000 (20:40 +0000)]
dump.c (queue): Be careful when computing bitmasks.

* dump.c (queue): Be careful when computing bitmasks.
(dequeue_and_dump): Describe binfos as binfos, not as
vectors.

From-SVN: r28679

24 years agoparse.y (pedantic): Give it itype.
Mark Mitchell [Wed, 11 Aug 1999 20:31:35 +0000 (20:31 +0000)]
parse.y (pedantic): Give it itype.

* parse.y (pedantic): Give it itype.  Adjust usage accordingly
throughout.

From-SVN: r28678

24 years agoextend.texi (C++ Signatures): Remove node.
Mark Mitchell [Wed, 11 Aug 1999 20:22:41 +0000 (20:22 +0000)]
extend.texi (C++ Signatures): Remove node.

* extend.texi (C++ Signatures): Remove node.
* invoke.texi: Remove discussion of -fhandle-signatures,
signature, sigof, __signature__, and __sigof__.

* Make-lang.in (CXX_SRCS): Remove sig.c.
* Makefile.in (CXX_OBJS): Remove sig.o.
(sig.o): Remove.
* cp-tree.h (CPTI_OPAQUE_TYPE): Remove.
(CPTI_SIGNATURE_TYPE): Likewise.
(CPTI_SIGTABLE_ENTRY_TYPE): Likewise.
(opaque_type_node): Likewise.
(signature_type_node): Likewise.
(sigtable_entry_type): Likewise.
(flag_handle_signatures): Likewise.
(lang_type): Remove is_signature, is_signature_pointer,
is_signature_reference, has_opaque_typedecls,
sigtables_has_been_generated.  Adjust dummy.  Remove signature,
signature_pointer_to, signature_reference_to.
(IS_SIGNATURE): Remove.
(SET_SIGNATURE): Remove.
(CLEAR_SIGNATURE): Remove.
(IS_SIGNATURE_POINTER): Remove.
(IS_SIGNATURE_REFERENCE): Remove.
(SIGNATURE_HAS_OPAQUE_TYPEDECLS): Remove.
(SIGTABLE_HAS_BEEN_GENERATED): Remove.
(CLASSTYPE_SIGNATURE): Remove.
(SIGNATURE_TYPE): Remove.
(SIGNATURE_METHOD_VEC): Remove.
(SIGNATURE_POINTER_TO): Remove.
(SIGNATURE_REFERENCE_TO): Remove.
(lang_decl_flags): Remove is_default_implementation.  Rename
memfunc_pointer_to to saved_tree.
(IS_DEFAULT_IMPLEMENTATION): Remove.
(DECL_MEMFUNC_POINTER_TO): Remove.
(DECL_MEMFUNC_POINTING_TO): Remove.
(DECL_SAVED_TREE): Adjust definition.
(tag_types): Remove signature_type_node.
(SIGNATURE_FIELD_NAME): Remove.
(SIGNATURE_FIELD_NAME_FORMAT): Likewise.
(SIGNATURE_OPTR_NAME): Likewise.
(SIGNATURE_SPTR_NAME): Likewise.
(SIGNATURE_POINTER_NAME): Likewise.
(SIGNATURE_POINTER_NAME_FORMAT): Likewise.
(SIGNATURE_REFERENCE_NAME): Likewise.
(SIGNATURE_REFERNECE_NAME_FORMAT): Likewise.
(SIGTABLE_PTR_TYPE): Likewise.
(SIGTABLE_NAME_FORMAT): Likewise.
(SIGTABLE_NAME_FORMAT_LONG): Likewise.
(SIGTABLE_TAG_NAME): Likewise.
(SIGTABLE_VB_OFF_NAME): Likewise.
(SIGTABLE_VT_OFF_NAME): Likewise.
(finish_base_specifiers): Change prototype.
(build_signature_pointer_type): Remove.
(build_signature_reference_type): Remove.
(build_signature_pointer_constructor): Remove.
(build_signature_method_call): Remove.
(build_optr_ref): Likewise.
(append_signature_fields): Likewise.
(signature_error): Likewise.
* call.c (build_this): Remove signature support.
(build_over_call): Likewise.
(build_new_method_call): Likewise.
* class.c (add_implicitly_declared_members): Likewise.
(finish_struct_1): Likewise.
(finish_struct): Likewise.
* cvt.c (cp_convert_to_pointer): Likewise.
(convert_to_pointer_force): Likewise.
(ocp_convert): Likewise.
* decl.c (sigtable_decl_p): Remove.
(init_decl_processing): Remove support for signatures.
(cp_finish_decl): Likewise.
(grokdeclarator): Likewise.
(grokparms): Likewise.
(xref_tag): Likewise.
(start_function): Likewise.
(start_method): Likewise.
* decl2.c (finish_sigtable_vardecl): Remove.
(flag_handle_signatures): Remove.
(lang_f_options): Remove handle-signatures.
(grokfield): Remove support for signatures.
(grokbitfield): Likewise.
(finish_file): Likewise.
(reparse_absdcl_as_casts): Likewise.
* error.c (dump_type_real): Likewise.
(dump_function_decl): Likewise.
* friend.c (make_friend_class): Likewise.
* gxx.gperf: Remove __signature__, signature, __sigof__, sigof.
* hash.h: Regenerated.
* init.c (build_new_1): Remove support for signatures.
* lang-options.h: Remove -fhandle-signatures,
-fno-handle-signatures.
* lex.c (init_parse): Remove support for signatures.
(yyprint): Likewise.
* lex.h (rid): Remove RID_SIGNATURE.
* method.c (build_decl_overload_real): Remove support for
signatures.
(hack_identifier): Likewise.
* parse.y (base_class): Likewise.
(base_class.1): Likewise.
(access_specifier): Likewise.
* search.c (lookup_member): Likewise.
* semantics.c (finish_qualified_object_call_expr): Likewise.
(finish_template_type_parm): Likewise.
(begin_class_definition): Likewise.
(finish_base_specifier): Likewise.
* sig.c: Remove.
* tree.c (build_cplus_method_type): Remove support for signatures.
* typeck.c (require_complete_type): Likewise.
(c_sizeof): Likewise.
(c_alignof): Likewise.
(build_object_ref): Likewise.
(build_component_ref): Likewise.
(build_indirect_ref): Likewise.
(build_c_cast): Likewise.
(build_modify_expr): Likewise.
(convert_for_initialization): Likewise.
* typeck2.c (signature_error): Remove.
(store_init_value): Remove support for signatures.
(digest_init): Likewise.
(build_x_arrow): Likewise.
(build_functional_cast): Likewise.
* xref.c (GNU_xref_decl): Likewise.

From-SVN: r28677

24 years agoNeed to trick it more.
Martin v. Löwis [Wed, 11 Aug 1999 19:24:29 +0000 (19:24 +0000)]
Need to trick it more.

From-SVN: r28676

24 years agoMake it fail
Martin v. Löwis [Wed, 11 Aug 1999 19:12:30 +0000 (19:12 +0000)]
Make it fail

From-SVN: r28675

24 years agoNew test case.
Martin v. Löwis [Wed, 11 Aug 1999 18:47:46 +0000 (18:47 +0000)]
New test case.

From-SVN: r28674

24 years agoNew test case.
Martin v. Löwis [Wed, 11 Aug 1999 18:31:38 +0000 (18:31 +0000)]
New test case.

From-SVN: r28672

24 years ago* lex.c (do_identifier): Remove unnecessary lookup of class field.
Martin v. Loewis [Wed, 11 Aug 1999 18:28:36 +0000 (18:28 +0000)]
* lex.c (do_identifier): Remove unnecessary lookup of class field.

From-SVN: r28671

24 years agoMakefile.in (JAVAGC): Removed.
Jeffrey A Law [Wed, 11 Aug 1999 09:40:43 +0000 (09:40 +0000)]
Makefile.in (JAVAGC): Removed.

        * Makefile.in (JAVAGC): Removed.
Finish Tom's change from May 11.

From-SVN: r28669

24 years agoMark test as expected failure since neither cpp nor cpplib get it right,
Nick Clifton [Wed, 11 Aug 1999 09:29:13 +0000 (09:29 +0000)]
Mark test as expected failure since neither cpp nor cpplib get it right,

and it is not going to be fixed any time soon...

From-SVN: r28668

24 years ago* i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
Jeff Law [Wed, 11 Aug 1999 08:14:51 +0000 (02:14 -0600)]
* i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.

From-SVN: r28667

24 years ago* i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
Mark Elbrecht [Wed, 11 Aug 1999 08:03:44 +0000 (08:03 +0000)]
* i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.

From-SVN: r28666

24 years ago* gcc.c-torture/execute/990811-1.c: New test.
Richard Earnshaw [Wed, 11 Aug 1999 07:50:52 +0000 (07:50 +0000)]
* gcc.c-torture/execute/990811-1.c: New test.

From-SVN: r28665

24 years agoemit-rtl.c (mark_reg_pointer): Don't increase the alignment of a register that is...
Richard Earnshaw [Wed, 11 Aug 1999 07:47:51 +0000 (07:47 +0000)]
emit-rtl.c (mark_reg_pointer): Don't increase the alignment of a register that is already known to be a pointer.

        * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
        a register that is already known to be a pointer.

From-SVN: r28664

24 years agoDaily bump.
Jeff Law [Wed, 11 Aug 1999 07:45:14 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r28663

24 years agoRemove left-over CVS conflict marker
Jeff Law [Wed, 11 Aug 1999 07:25:49 +0000 (01:25 -0600)]
Remove left-over CVS conflict marker

From-SVN: r28661

24 years agoinclhack.tpl: Only install assert.h conditionally.
Bruce Korb [Wed, 11 Aug 1999 07:17:01 +0000 (07:17 +0000)]
inclhack.tpl: Only install assert.h conditionally.

        * fixinc/inclhack.tpl: Only install assert.h conditionally.
        * fixinc/inclhack.sh: Regenerated.
        * fixinc/fixincl.sh: Regenerated.

From-SVN: r28659

24 years agoinvoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
Joe Buck [Wed, 11 Aug 1999 06:37:09 +0000 (00:37 -0600)]
invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.

        * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
        Fix documentation of -ansi flag to describe its C++ behavior.
        Remove bogus reference to GCC 2.9.

From-SVN: r28657

24 years ago* jvgenmain.c (main): NUL-terminate name_obstack.
Rainer Orth [Wed, 11 Aug 1999 05:03:11 +0000 (05:03 +0000)]
* jvgenmain.c (main): NUL-terminate name_obstack.

From-SVN: r28655

24 years agoFix -O0 core dump reported by Fred Fish.
Jim Wilson [Wed, 11 Aug 1999 00:26:38 +0000 (00:26 +0000)]
Fix -O0 core dump reported by Fred Fish.

* config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
note if it is non-NULL.

From-SVN: r28653

24 years agoNew test case
Martin v. Löwis [Tue, 10 Aug 1999 16:59:59 +0000 (16:59 +0000)]
New test case

From-SVN: r28650

24 years agodecl2.c (set_decl_namespace): Do not complain about non-matching decls if processing...
Martin v. Loewis [Tue, 10 Aug 1999 16:58:24 +0000 (16:58 +0000)]
decl2.c (set_decl_namespace): Do not complain about non-matching decls if processing a template.

* decl2.c (set_decl_namespace): Do not complain about non-matching
decls if processing a template.

From-SVN: r28649

24 years agocheck-init.c (check_bool2_init, [...]): Add static prototypes.
Kaveh R. Ghazi [Tue, 10 Aug 1999 16:58:13 +0000 (16:58 +0000)]
check-init.c (check_bool2_init, [...]): Add static prototypes.

* check-init.c (check_bool2_init, done_alternative): Add static
prototypes.

* class.c (add_interface_do, maybe_layout_super_class): Likewise.
(add_method, build_utf8_ref, build_class_ref,
append_gpp_mangled_type, layout_class_method): Constify a char*.

* decl.c (push_promoted_type, make_binding_level): Add static
prototypes.
(push_promoted_type, pushdecl): Constify a char*.

* except.c (find_handler_in_range, link_handler,
check_start_handlers): Add static prototypes.

* expr.c (process_jvm_instruction): Constify a char*.

* gjavah.c (main): Constify a char*.

* java-tree.h (verify_jvm_instructions, process_jvm_instruction):
Constify a char*.

* jcf-depend.c (free_entry, add_entry, munge, print_ents): Add
static prototypes.
(add_entry, jcf_dependency_set_target, jcf_dependency_add_target,
munge, print_ents): Constify a char*.

* jcf-dump.c (disassemble_method): Constify a char*.
(print_constant_pool, print_exception_table): Add static prototypes.
(print_constant, print_exception_table, main, disassemble_method):
Constify a char*.

* jcf-io.c (find_classfile, find_class): Likewise.

* jcf-parse.c (JPOOL_UTF_DATA, find_in_current_zip): Likewise.
(set_source_filename, predefined_filename_p): Add static prototypes.
(set_source_filename, get_constant, get_class_constant,
find_in_current_zip): Constify a char*.

* jcf-path.c (free_entry, append_entry, add_entry, add_path): Add
static prototypes.
(add_entry, add_path, jcf_path_classpath_arg,
jcf_path_CLASSPATH_arg, jcf_path_include_arg): Constify a char*.

* jcf-reader.c (get_attribute, jcf_parse_preamble,
jcf_parse_constant_pool, jcf_parse_class, jcf_parse_fields,
jcf_parse_one_method, jcf_parse_methods,
jcf_parse_final_attributes): Add static prototypes.
(get_attribute): Constify a char*.

* jcf.h (find_class, find_classfile, jcf_dependency_set_target,
jcf_dependency_add_target, jcf_path_classpath_arg,
jcf_path_CLASSPATH_arg, jcf_path_include_arg): Constify a char*.

* jv-scan.c (main): Constify a char*.
(gcc_obstack_init): Add prototype arguments.

* jvgenmain.c (gcc_obstack_init): Likewise.
(main): Constify a char*.

* lang.c (put_decl_string, put_decl_node, java_dummy_print): Add
static prototypes.
(put_decl_string, lang_print_error): Constify a char*.
(lang_init): Remove redundant extern prototype.

* mangle.c (emit_unicode_mangled_name): Constify a char*.

* typeck.c (convert_ieee_real_to_integer, parse_signature_type):
Add static prototypes.
(get_type_from_signature): Constify a char*.

* verify.c (check_pending_block, type_stack_dup, start_pc_cmp ):
Add static prototypes.
(start_pc_cmp): Prefer PTR over GENERIC_PTR.
(verify_jvm_instructions): Constify a char*.

* xref.c (xref_flag_value): Likewise.

* xref.h (xref_flag_value): Likewise.

* zextract.c (makeword, makelong): Add static prototypes.
(makeword, makelong): Constify a uch*.

From-SVN: r28648

24 years agoexcept.h (eh_nesting_info): Add new structure defintion.
Andrew MacLeod [Tue, 10 Aug 1999 16:19:16 +0000 (16:19 +0000)]
except.h (eh_nesting_info): Add new structure defintion.

Tue Aug 10 10:47:42 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>

* except.h (eh_nesting_info): Add new structure defintion.
(init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
(reachable_handlers, update_rethrow_references): Add function
prototypes.
* rtl.h (struct rtvec_def): Update comments.  REG_EH_RETHROW takes
a rethrow symbol instead of an integer exception region number.
* flow.c (Make_edges): Use new exception nesting routines to determine
which handlers are reachable from a CALL or asynchronous insn.
Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
goto receivers.
(delete_eh_regions): Update rethrow labels, and don't delete
regions which are the target of a rethrow.
* except.c (struct func_eh_entry): Add rethrow_ref field, now we can
avoid overloading the SYMBOL_REF_USED flag.
(rethrow_symbol_map): Use new rethrow_ref field.
(rethrow_used): Use new rethrow_ref field.
(expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
of an integer.  Fix formatting.
(output_exception_table_entry): Use new rethrow_ref field.
(can_throw): Check for EH_REGION_NOTE before deciding
whether a CALL can throw or not.
(scan_region): Call rethrow_used() instead of accessing data structure.
(update_rethrow_references): New function to make sure only regions
which are still targets of a rethrow are flagged as such.
(process_nestinfo): New static function to initialize a handler
list for a specific region.
(init_eh_nesting_info): New function to allocate and initialize
the list of all EH handlers reachable from all regions.
(reachable_handlers): New function to retrieve the list of handlers
reachable from a specific region and insn.
(free_eh_nesting_info): New function to dispose of a list of
reachable handlers.

From-SVN: r28647

24 years agoflow.c (split_edge): Set JUMP_LABEL field.
Andrew MacLeod [Tue, 10 Aug 1999 14:46:16 +0000 (14:46 +0000)]
flow.c (split_edge): Set JUMP_LABEL field.

* flow.c (split_edge): Set JUMP_LABEL field.
(commit_one_edge_insertion): Set head correctly for insert_before.
When inserting insns, update insn block numbers if allocated.

From-SVN: r28646

24 years agodwarf2out.c (dwarf2out_frame_debug_expr, [...]): Add static prototype.
Kaveh R. Ghazi [Tue, 10 Aug 1999 13:28:24 +0000 (13:28 +0000)]
dwarf2out.c (dwarf2out_frame_debug_expr, [...]): Add static prototype.

        * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
        retry_incomplete_types): Add static prototype.
        (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
        dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
        dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
        dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
        dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
        Constify a char*.

        * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
        dwarf2out_start_source_file, dwarf2out_line): Likewise.

From-SVN: r28645

24 years agooutput.h (assemble_name): Constify a char*.
Kaveh R. Ghazi [Tue, 10 Aug 1999 13:25:24 +0000 (13:25 +0000)]
output.h (assemble_name): Constify a char*.

        * output.h (assemble_name): Constify a char*.

        * varasm.c (UNIQUE_SECTION, assemble_start_function,
        assemble_variable, assemble_name): Likewise.

        * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.

        * arm/pe.c (arm_pe_unique_section): Likewise.

        * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.

        * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.

        * i386/interix.c (i386_pe_unique_section): Likewise.

        * i386/win32.h (STRIP_NAME_ENCODING): Likewise.

        * i386/winnt.c (i386_pe_unique_section): Likewise.

        * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.

        * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.

        * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.

        * pa/pa.c (output_call): Likewise.

        * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.

        * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.

        * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
        Likewise.

        * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
        Likewise.

        * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.

        * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
        STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.

        * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.

From-SVN: r28644

24 years agoDaily bump.
Jeff Law [Tue, 10 Aug 1999 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r28643

24 years agodecl.c (build_ptrmemfunc_type): Handle qualified pointer-to-member types here.
Mark Mitchell [Tue, 10 Aug 1999 06:19:35 +0000 (06:19 +0000)]
decl.c (build_ptrmemfunc_type): Handle qualified pointer-to-member types here.

* decl.c (build_ptrmemfunc_type): Handle qualified
pointer-to-member types here.
* tree.c (cp_build_qualified_type_real): Simplify handling here.

From-SVN: r28642

24 years ago[multiple changes]
Anthony Green [Tue, 10 Aug 1999 05:32:23 +0000 (05:32 +0000)]
[multiple changes]

Mon Aug  9 18:33:38 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

        * Makefile: Rebuilt.
* Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
builds.

* java/net/natPlainSocketImpl.cc: Include <sys/select.h> only if
present.

* configure: Rebuilt.
* configure.in: Properly align --help output, fix capitalization
and punctuation.
* acinclude.m4: Likewise.

1999-08-09  Kresten Krab Thorup  <krab@gnu.org>

* include/javaprims.h (_Jv_word, _Jv_word2): New types.

* include/java-interp.h (_Jv_InterpMethodInvocation): Use _Jv_word.
(_Jv_callInterpretedMethod): Unused. Remove.
(_Jv_InterpMethod::run,run_normal,run_synch_object,run_synch_class):
Use ffi_raw.
* include/java-cpool.h (_Jv_get, _Jv_put): Remove.
(_Jv_{store,load}{Indexes,Int,Float,Long,Double}): Use _Jv_word.
* boehm.cc (_Jv_MarkObj): Use _Jv_word.
* interpret.cc: use _Jv_word.
* defineclass.cc: use_Jv_word.
* resolve.cc: Use _Jv_word.
(_Jv_ResolvePoolEntry): Return _Jv_word.
* java/lang/Class.h (_Jv_Constants): Use _Jv_word for cpool.
* java/lang/natClassLoader.cc (_Jv_InternClassStrings): Use _Jv_word.

* interpret.cc (gnu::gcj::runtime::MethodInvocation::continue1):
Change comment.

From-SVN: r28641

24 years agoMakefile.in: Rebuilt.
Rainer Orth [Tue, 10 Aug 1999 05:30:10 +0000 (05:30 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
builds.

* configure: Rebuilt.
* configure.in: Properly align --help output, fix capitalization.

From-SVN: r28640

24 years agoMakefile.in: Rebuilt.
Rainer Orth [Tue, 10 Aug 1999 05:29:27 +0000 (05:29 +0000)]
Makefile.in: Rebuilt.

* include/Makefile.in: Rebuilt.
* Makefile.in: Rebuilt
* Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
builds.
Use USE_LIBDIR.

* configure: Rebuilt.
* configure.in (USE_LIBDIR): Define for native builds.
Use lowercase in configure --help explanations.

From-SVN: r28639

24 years agoMakefile.in: Rebuilt.
Rainer Orth [Tue, 10 Aug 1999 05:28:31 +0000 (05:28 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
builds.

* configure: Rebuilt.
* configure.in: Properly align --help output, fix capitalization
and punctuation.
* acinclude.m4: Likewise.

From-SVN: r28638

24 years ago* test_summary: Quote curly braces in 1999-07-03 change.
Robert Lipe [Tue, 10 Aug 1999 03:22:39 +0000 (03:22 +0000)]
* test_summary: Quote curly braces in 1999-07-03 change.

From-SVN: r28637

24 years agoWarning fix:
Kaveh R. Ghazi [Mon, 9 Aug 1999 23:57:32 +0000 (23:57 +0000)]
Warning fix:

        * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.

From-SVN: r28636

24 years agolang.c (java_dummy_print): Constify a char*.
Kaveh R. Ghazi [Mon, 9 Aug 1999 23:52:36 +0000 (23:52 +0000)]
lang.c (java_dummy_print): Constify a char*.

        * lang.c (java_dummy_print): Constify a char*.
        (lang_print_error): Likewise.
        (lang_init): Remove redundant prototype for `print_error_function'.
        (lang_init_source): Likewise.
        (lang_identify): Constify a char*.

From-SVN: r28635

24 years agocom.c (lang_print_error_function): Constify a char*.
Kaveh R. Ghazi [Mon, 9 Aug 1999 23:45:52 +0000 (23:45 +0000)]
com.c (lang_print_error_function): Constify a char*.

        * com.c (lang_print_error_function): Constify a char*.
        (init_parse): Remove redundant prototype for `print_error_function'.
        (lang_identify): Constify a char*.

From-SVN: r28634

24 years agodecl.c: Remove redundant prototype for `print_error_function'.
Kaveh R. Ghazi [Mon, 9 Aug 1999 23:44:03 +0000 (23:44 +0000)]
decl.c: Remove redundant prototype for `print_error_function'.

        * decl.c: Remove redundant prototype for `print_error_function'.
        (lang_print_error_function): Constify a char*.

        * lex.c (lang_identify): Likewise.

From-SVN: r28633

24 years agoactions.c (lang_identify): Constify a char*.
Kaveh R. Ghazi [Mon, 9 Aug 1999 23:41:20 +0000 (23:41 +0000)]
actions.c (lang_identify): Constify a char*.

        * actions.c (lang_identify): Constify a char*.

        * lang.c (chill_print_error_function): Likewise.
        (lang_init): Remove redundant prototype for `print_error_function'.

From-SVN: r28632

24 years agotree.h (lang_identify): Constify a char*.
Kaveh R. Ghazi [Mon, 9 Aug 1999 23:38:41 +0000 (23:38 +0000)]
tree.h (lang_identify): Constify a char*.

        * tree.h (lang_identify): Constify a char*.
        (print_error_function): Add extern prototype.  Constify a char*.

        * c-lang.c (lang_identify): Constify a char*.

        * objc/objc-act.c (lang_identify): Constify a char*.

From-SVN: r28631

24 years agojavaop.h (WORD_TO_FLOAT): only inline if building with gcc.
Tom Tromey [Mon, 9 Aug 1999 21:14:12 +0000 (21:14 +0000)]
javaop.h (WORD_TO_FLOAT): only inline if building with gcc.

* javaop.h (WORD_TO_FLOAT): only inline if building with gcc.
(WORDS_TO_LONG): Likewise.
(WORDS_TO_DOUBLE): Likewise.

From-SVN: r28630

24 years agoconfigure.in (sched_yield): Try librt first, then libposix4.
Rainer Orth [Mon, 9 Aug 1999 19:17:20 +0000 (19:17 +0000)]
configure.in (sched_yield): Try librt first, then libposix4.

Mon Aug  9 18:33:38 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

* configure.in (sched_yield): Try librt first, then libposix4.
Add -lrt, -lposix4 to THREADSPEC.

From-SVN: r28629

24 years agoSmall incremental fixes for last checkin
Bernd Schmidt [Mon, 9 Aug 1999 15:23:25 +0000 (15:23 +0000)]
Small incremental fixes for last checkin

From-SVN: r28627

24 years agoInclude function.h in most files.
Bernd Schmidt [Mon, 9 Aug 1999 14:00:21 +0000 (14:00 +0000)]
Include function.h in most files.

Include function.h in most files.  Remove most of the global variables
duplicated in function.h.  Add accessor macros for them which access
current_function.  Delete INLINE_HEADER rtx and related code, replace
with code using struct function to store inlining related data.

From-SVN: r28626

24 years agosemantics.c (begin_function_try_block, [...]): New fns.
Jason Merrill [Mon, 9 Aug 1999 10:45:00 +0000 (10:45 +0000)]
semantics.c (begin_function_try_block, [...]): New fns.

* semantics.c (begin_function_try_block, finish_function_try_block,
finish_function_handler_sequence): New fns.
* parse.y (function_try_block): Use them.
* pt.c (instantiate_decl): Likewise.

* cp-tree.h: Declare in_function_try_handler.
* decl.c: Define it.
(start_function): Clear it.
(struct cp_function, push_cp_function_context): Save it.
(pop_cp_function_context): Restore it.
* parse.y (function_try_block): Set and clear it.
* except.c (expand_end_catch_block): Rethrow if we reach the end
of a function-try-block handler in a ctor or dtor.
* typeck.c (c_expand_return): Complain about returning from a
function-try-block handler of a ctor.

* parse.y (function_try_block): Call end_protect_partials
before expand_start_all_catch.

From-SVN: r28624

24 years agoTest all builds, not just native
Nick Clifton [Mon, 9 Aug 1999 09:55:37 +0000 (09:55 +0000)]
Test all builds, not just native

From-SVN: r28623

24 years agodecl.c (struct binding_level): Add eh_region field.
Jason Merrill [Mon, 9 Aug 1999 08:53:52 +0000 (08:53 +0000)]
decl.c (struct binding_level): Add eh_region field.

* decl.c (struct binding_level): Add eh_region field.
(push_binding_level): Set it.
(define_label): Complain about jumping into an EH block.

From-SVN: r28622

24 years agoprint-tree.c (print_node): Print base for OFFSET_TYPEs.
Jason Merrill [Mon, 9 Aug 1999 08:52:48 +0000 (08:52 +0000)]
print-tree.c (print_node): Print base for OFFSET_TYPEs.

* print-tree.c (print_node): Print base for OFFSET_TYPEs.

* except.c (expand_eh_region_start_for_decl): Always start a new block.
* stmt.c (is_eh_region): Make sure current_function is present, too.

From-SVN: r28621

24 years agoDaily bump.
Jeff Law [Mon, 9 Aug 1999 07:45:10 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r28619