OSDN Git Service

pf3gnuchains/gcc-fork.git
24 years ago * java/lang/natThread.cc (class locker): New class.
tromey [Thu, 19 Aug 1999 22:58:27 +0000 (22:58 +0000)]
* java/lang/natThread.cc (class locker): New class.
(join): Use a locker around _Jv_CondWait.
(sleep): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28770 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
zack [Thu, 19 Aug 1999 22:33:38 +0000 (22:33 +0000)]
1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>

* rtl.def (NOTE): Change format to "iuu0n".
(ADDR_DIFF_VEC): Change format to "eEee0".
(ADDRESSOF): Change format to "eit".

* rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
(RTVEC_ELT): Change to match.
(XVECEXP): Use XVEC and RTVEC_ELT.
(INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
(PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
TRAP_CONDITION, TRAP_CODE): Use XEXP.
(INTVAL): Use XWINT.
(ADDRESSOF_DECL): Use XTREE.
(SET_ADDRESSOF_DECL): Delete.
(NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
ifdefed out since 2.6 at least.
(gen_rtvec_vv): Delete prototype.

* rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
not rtunion.
(copy_most_rtx): Handle 't' format letter.
* emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
(gen_rtvec_vv): Delete function.  All callers changed to use
gen_rtvec_v instead.
* print-rtl.c (print_rtx): Move special casing of NOTEs to
the '0' format letter.

* function.c (gen_mem_addressof): Don't use
SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
instead.
* integrate.c (copy_rtx_and_substitute): Likewise.
Copy 't' slots with XTREE.
(subst_constants): Treat 't' slots like '[swi]' slots.
* cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
* jump.c (rtx_equal_for_thread_p): Likewise.
* rtlanal.c (rtx_equal_p): Likewise.
* stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
only four arguments.
* gengenrtl.c (type_from_format): Provide correct types for
'b' and 't' slots.

* tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
If a recent gcc is in use (always in stage2 and beyond), use
statement expressions, so we don't make a function call unless
the check fails.  Evaluate arguments exactly once.
(CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
Delete.
(CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
they evaluate their arguments exactly once, irrespective of
the compiler in use.

* tree.c [ENABLE_CHECKING]: Define whichever set of functions
is used by the currently-enabled check macros.  This is:
(tree_check_failed, tree_class_check_failed): For gcc.
(tree_check, tree_class_check, cst_or_constructor_check,
expr_check): For other compilers.

* gencheck.c: Do not define any *_CHECK1 macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28769 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * c-common.c (c_get_alias_set): Fix support for poitners and
mmitchel [Thu, 19 Aug 1999 21:39:04 +0000 (21:39 +0000)]
* c-common.c (c_get_alias_set): Fix support for poitners and
references.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28768 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.h: Declare flag_use_repository.
jason [Thu, 19 Aug 1999 21:19:37 +0000 (21:19 +0000)]
* cp-tree.h: Declare flag_use_repository.
* pt.c (do_decl_instantiation): Don't complain about duplicate
instantiation with -frepo.
(do_type_instantiation): Likewise.

* pt.c (push_template_decl_real): Complain about everything
that isn't a valid template.

* decl2.c (import_export_decl): If -fnew-abi, class linkage doesn't
affect inlines.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28767 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agonew
jason [Thu, 19 Aug 1999 21:18:22 +0000 (21:18 +0000)]
new

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28766 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoThu Aug 19 10:26:18 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Thu, 19 Aug 1999 20:37:04 +0000 (20:37 +0000)]
Thu Aug 19 10:26:18 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (method_header): Return a null pointer if the current
        class node is null.
        (finish_method_declaration): Return if the current function decl
        is null.
        (source_start_java_method): Likewise.
        (java_method_add_stmt): Likewise.

This fixes the net PR #17.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28765 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agonew
jason [Thu, 19 Aug 1999 18:45:07 +0000 (18:45 +0000)]
new

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28764 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agotweak
jason [Thu, 19 Aug 1999 18:44:59 +0000 (18:44 +0000)]
tweak

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28763 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * alias.c: Include tree.h.
wehle [Thu, 19 Aug 1999 15:53:10 +0000 (15:53 +0000)]
* alias.c: Include tree.h.
(nonlocal_reference_p, mark_constant_function): New functions.
* flow.c (life_analysis): Call mark_constant_function.
* rtl.h (mark_constant_function): Declare it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28762 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix test for unrecognisable switches.
nickc [Thu, 19 Aug 1999 14:03:05 +0000 (14:03 +0000)]
Fix test for unrecognisable switches.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28761 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.def (PSEUDO_DTOR_EXPR): New tree code.
mmitchel [Thu, 19 Aug 1999 08:06:17 +0000 (08:06 +0000)]
* cp-tree.def (PSEUDO_DTOR_EXPR): New tree code.
* decl2.c (build_expr_from_tree): Handle it.
* error.c (dump_expr): Likewise.
* pt.c (for_each_template_parm): Likewise.
(tsubst_copy): Likewise.
* tree.c (search_tree): Likewise.
* semantics.c (finish_pseudo_destructor_call): Create it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28760 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Thu, 19 Aug 1999 07:45:08 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28759 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoWed Aug 18 13:17:15 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Thu, 19 Aug 1999 00:53:20 +0000 (00:53 +0000)]
Wed Aug 18 13:17:15 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* class.c (emit_register_class): Removed unnecessary call to
  start_sequence.
* parse.y (labeled_block_contains_loop_p): Removed unused local
  variable.

Tue Aug 17 22:51:44 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (java_refold): Added prototype.

Tue Aug 17 21:48:41 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (BINOP_COMPOUND_CANDIDATES): New macro.
        (java_stabilize_reference): Removed unnecessary `else'.
        (java_complete_lhs): Set flag to remember boolean. Call
        java_refold. Added comments.
        (java_decl_equiv): New function.
        (binop_compound_p): Likewise.
        (java_refold): Likewise.
        (patch_unaryop): Striped static field access assigned to decl and
        op. Changed promotion scheme for ++/-- operators.
        (search_loop): New function.
        (labeled_block_contains_loop_p): Likewise.
        (patch_loop_statement): Call labeled_block_contains_loop_p. Added
        comment.
        (patch_bc_statement): Call search_loop. Fixed comment.

Mostly bug fixes in some forms of compound expressions and
break/continue target lookup.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28758 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * loop.c (recombine_givs): Set ix field after sorting.
amylaar [Wed, 18 Aug 1999 22:35:14 +0000 (22:35 +0000)]
* loop.c (recombine_givs): Set ix field after sorting.
(recombine_givs): Remove bogus index / giv lockstep looping.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28757 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * search.c (setup_class_bindings): Robustify.
mmitchel [Wed, 18 Aug 1999 22:11:10 +0000 (22:11 +0000)]
* search.c (setup_class_bindings): Robustify.
* typeck.c (common_type): Use same_type_p, not pointer equality,
to compare types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28756 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.h (build_lang_field_decl): Remove.
mmitchel [Wed, 18 Aug 1999 20:44:14 +0000 (20:44 +0000)]
    * cp-tree.h (build_lang_field_decl): Remove.
* class.c (build_vtable): Replace calls to build_lang_field_decl
with build_lang_decl.
(prepare_fresh_vtable): Likewise.
(finish_struct_1): Likewise.
(init_class_processing): Likewise.
* decl.c (push_using_decl): Likewise.
(init_decl_processsing): Likewise.
(grokvardecl): Likewise.
(build_ptrmemfunc_type): Likewise.
(grokdeclarator): Likewise.
(build_enumerator): Likewise.
* decl2.c (grok_x_components): Likewise.
(do_class_using_decl): Likewise.
* except.c (call_eh_info): Likewise.
* init.c (init_init_processing): Likewise.
* rtti.c (expand_class_decl): Likewise.
* tree.c (build_base_fields): Likewise.
(build_vbase_pointer_fields): Likewise.
* lex.c (build_lang_decl): Build declarations on the permanent
obstack if we're building statmeent trees.
(retrofit_lang_decl): Handle both the full lang_decl and also the
smaller lang_decl_flags here.
(build_lang_field_decl): Remove.
* pt.c (push_template_decl_real): Issue errors for variable
declarations that are not static members.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28755 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * tree.c (search_tree): Handle TRUTH_{AND,OR,XOR}_EXPR too.
rth [Wed, 18 Aug 1999 20:05:08 +0000 (20:05 +0000)]
    * tree.c (search_tree): Handle TRUTH_{AND,OR,XOR}_EXPR too.
        (mapcar): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28754 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * java/lang/ThreadGroup.java: Fixed now-erroneous comment.
tromey [Wed, 18 Aug 1999 19:51:23 +0000 (19:51 +0000)]
* java/lang/ThreadGroup.java: Fixed now-erroneous comment.
* java/lang/natThread.cc (finish_): Call ThreadGroup.remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28753 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoCombined compare & jump infrastructure
crux [Wed, 18 Aug 1999 17:51:27 +0000 (17:51 +0000)]
Combined compare & jump infrastructure

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28752 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoIndentation fixes
crux [Wed, 18 Aug 1999 17:16:40 +0000 (17:16 +0000)]
Indentation fixes

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28751 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoMake insn-recog.c include function.h
crux [Wed, 18 Aug 1999 16:46:53 +0000 (16:46 +0000)]
Make insn-recog.c include function.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28750 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * include/javaprims.h ("Java"): Regenerated namespace decls.
tromey [Wed, 18 Aug 1999 16:34:28 +0000 (16:34 +0000)]
* include/javaprims.h ("Java"): Regenerated namespace decls.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28749 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed
krab [Wed, 18 Aug 1999 14:16:42 +0000 (14:16 +0000)]
* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed
from _Jv_InternClassStrings.

* prims.cc (_Jv_RunMain): New function.
(JvRunMain): Remove gij-support.

* gij.cc (main): Use _Jv_RunMain.

* java/util/zip/ZipFile.java: Call readDirectory in constructor.

* interpret.cc (PUSHA, PUSHI, PUSHF, PUSHL, PUSHD): Don't store
argument in temp variable.
(continue1): For all op_x2y insns, use temp variable for
intermediate value.  Also remove some comments.

* java/lang/natClass.cc (newInstance): Call _Jv_InitClass.
(forName): Don't call _Jv_InitClass.

* java/lang/Class.java (getResource,getResourceAsStream): Implement.

* java/util/zip/ZipEntry.java (ZipEntry(ZipEntry)): New construcor.

* java/util/jar/JarInputStream.java: New file.

* java/util/jar/JarEntry.java: New file.

* java/util/jar/JarFile.java: New file.

* java/net/URLClassLoader.java: New file.

* java/net/JarURLConnection.java: New file.

* gnu/gcj/protocol/jar/Handler.java: New file.

* gnu/gcj/protocol/jar/Connection.java: New file.

* java/security/SecureClassLoader.java: New file.

* java/lang/ClassLoader.java (parent): New variable.
(ClassLoader (ClassLoader)): new constructor.
(findClass): New method.
(loadClass): Add default 1.2 implementation.
(getSystemResourceAsBytes, getResourceAsBytes): Removed.
(readfully): Removed.

* gnu/gcj/runtime/VMClassLoader.java: Moved from java/lang.
(findSystemClass): New method.
(VMClassLoader): Constructor rewritten.
(init): New method.
All other methods removed.

* java/lang/natClassLoader.cc: Change use of java::lang::VMClassLoader
to gnu::gcj::runtime::VMClassLoader.
(_Jv_InternClassStrings): Use _Jv_ResolvePoolEntry.  Also handle
class entries.
(VMClassLoader::findSystemClass): renamed from findBootClass.

* Makefile.am: Add new files.
(FirstThread.h, ThreadGroup.h): Add _Jv_Main friend.

* Makefile.in: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28748 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago* cse.c (cse_insn): Call never_reached_warning when a jump is
geoffk [Wed, 18 Aug 1999 10:43:26 +0000 (10:43 +0000)]
* cse.c (cse_insn): Call never_reached_warning when a jump is
changed to be unconditional.
* flags.h: Declare warn_notreached.
* flow.c (delete_block): Call never_reached_warning when
a block is deleted.
* jump.c (delete_barrier_successors): Call never_reached_warning
when we delete everything after a BARRIER.
(never_reached_warning): New function.
* rtl.h: Declare never_reached_warning.
* toplev.c (warn_notreached): New variable.
(lang_independent_options): Set warn_notreached
when -Wunreachable-code.
(compile_file): We need line numbers for -Wunreachable-code.

Also modify documentation to suit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28747 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Wed, 18 Aug 1999 07:45:10 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28745 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoJan Hubicka <hubicka@freesoft.cz>
rth [Wed, 18 Aug 1999 05:06:43 +0000 (05:06 +0000)]
Jan Hubicka  <hubicka@freesoft.cz>

        * haifa-sched.c (insn_unit): Fix typo on out of range test.
        * sched.c (insn_unit): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28744 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * combine.c (distribute_notes): Handle REG_EH_RETHROW.
rth [Wed, 18 Aug 1999 04:57:50 +0000 (04:57 +0000)]
    * combine.c (distribute_notes): Handle REG_EH_RETHROW.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28743 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * java/lang/natThread.cc (sleep): Turn 0 millis and 0 nanos into 1
tromey [Wed, 18 Aug 1999 03:48:37 +0000 (03:48 +0000)]
* java/lang/natThread.cc (sleep): Turn 0 millis and 0 nanos into 1
nano.
* include/quick-threads.h (_Jv_CondWait): Don't round to 0
inappropriately.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28742 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.h (back_end_hook): New variable.
mmitchel [Tue, 17 Aug 1999 23:07:54 +0000 (23:07 +0000)]
* cp-tree.h (back_end_hook): New variable.
* decl2.c (back_end_hook): Define it.
(finish_file): If it's non-NULL, call it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28741 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoTue Aug 10 00:08:29 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
tromey [Tue, 17 Aug 1999 22:46:02 +0000 (22:46 +0000)]
Tue Aug 10 00:08:29 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

* gc_priv.h: Merged IRIX thread changes from
include/private/gc_priv.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28740 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * decl.c (add_decl_to_level): New function.
mmitchel [Tue, 17 Aug 1999 22:35:19 +0000 (22:35 +0000)]
* decl.c (add_decl_to_level): New function.
(push_local_binding): Use it.
(find_binding): Fix typo in comment.
(pushdecl): Use add_decl_to_level.  Put templates on the
corresponding namespace-scope binding levels.
* dump.c (dequeue_and_dump): Print the specializations of a
template.
* pt.c (push_template_decl_real): Don't push a template multiple
times.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28738 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago From Bryce McKinlay:
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28737 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoTue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
amacleod [Tue, 17 Aug 1999 21:44:26 +0000 (21:44 +0000)]
Tue Aug 17 17:39:43 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28736 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28735 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Tue, 17 Aug 1999 07:45:09 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28734 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.h (CALL_DECLARATOR_PARMS): New macro.
mmitchel [Tue, 17 Aug 1999 07:20:23 +0000 (07:20 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28733 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * basic-block.h (struct edge_list): Stucture to maintain a vector
amacleod [Mon, 16 Aug 1999 22:14:51 +0000 (22:14 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28732 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.h (CAN_HAVE_FULL_LANG_DECL_P): New macro.
mmitchel [Mon, 16 Aug 1999 22:08:42 +0000 (22:08 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28731 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28730 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.def (STMT_EXPR): New tree node.
mmitchel [Mon, 16 Aug 1999 19:01:36 +0000 (19:01 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28729 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28728 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * configure: Rebuilt.
tromey [Mon, 16 Aug 1999 17:01:52 +0000 (17:01 +0000)]
* configure: Rebuilt.
* configure.in: Set DIVIDESPEC to empty string if compiler does
not support -fuse-divide-subroutine.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28727 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * gcc_update: New file.
gerald [Mon, 16 Aug 1999 16:49:21 +0000 (16:49 +0000)]
* gcc_update: New file.
* egcs_update: Renamed to gcc_update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28726 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
amylaar [Mon, 16 Aug 1999 16:05:47 +0000 (16:05 +0000)]
* mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28725 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28724 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoAllow machine dependent reorganisation pass to place information into the RTL
nickc [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28723 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Mon, 16 Aug 1999 07:45:12 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28719 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28718 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix misuses of MAX_MACHINE_MODE that can result in an infinite loop.
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28717 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix bug preventing use of match_par_dup in a call insn pattern.
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28716 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * pt.c (check_default_tmpl_args): Don't check in local scopes.
mmitchel [Sun, 15 Aug 1999 16:59:17 +0000 (16:59 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28715 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28714 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Sun, 15 Aug 1999 07:45:09 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28713 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoMumit Khan <khan@xraylith.wisc.edu>
rth [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28712 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago1999-08-14 Per Bothner <per@bothner.com>
tromey [Sat, 14 Aug 1999 19:49:06 +0000 (19:49 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28711 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago Speed up Koenig lookup.
jason [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 ==.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28710 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.def (DECL_STMT): Make it smaller.
mmitchel [Sat, 14 Aug 1999 09:23:49 +0000 (09:23 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28709 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Sat, 14 Aug 1999 07:45:10 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28708 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cpplib.c (read_line_number): New fn, split out of...
jason [Sat, 14 Aug 1999 00:42:07 +0000 (00:42 +0000)]
* cpplib.c (read_line_number): New fn, split out of...
(do_line): Here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28707 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28706 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFor gcc:
gavin [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28705 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoBack out accidental change
law [Fri, 13 Aug 1999 17:17:37 +0000 (17:17 +0000)]
Back out accidental change

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28704 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28703 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * pt.c (tsubst): Back out 1999-08-06 patch. Use fold and
mmitchel [Fri, 13 Aug 1999 08:17:14 +0000 (08:17 +0000)]
* pt.c (tsubst): Back out 1999-08-06 patch.  Use fold and
decl_constant_value to simplify array bounds.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28702 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28701 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28700 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Fri, 13 Aug 1999 07:45:07 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28698 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * dwarfout.c (fundamental_type_code): Return FT_boolean for
law [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28696 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoRenamed
loewis [Fri, 13 Aug 1999 07:36:36 +0000 (07:36 +0000)]
Renamed

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28695 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoNew test case
loewis [Fri, 13 Aug 1999 07:25:31 +0000 (07:25 +0000)]
New test case

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28693 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * global.c (prune_preferences): Move some invariants out of the
amylaar [Thu, 12 Aug 1999 22:53:28 +0000 (22:53 +0000)]
* global.c (prune_preferences): Move some invariants out of the
inner loop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28691 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28690 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago1999-08-12 Alexandre Oliva <oliva@dcc.unicamp.br>
tromey [Thu, 12 Aug 1999 17:31:34 +0000 (17:31 +0000)]
1999-08-12  Alexandre Oliva  <oliva@dcc.unicamp.br>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28689 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28688 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28687 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoThu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
schwab [Thu, 12 Aug 1999 08:24:56 +0000 (08:24 +0000)]
Thu Aug 12 10:14:47 1999  Andreas Schwab  <schwab@suse.de>

* rtl.texi: Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28686 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Thu, 12 Aug 1999 07:45:09 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28685 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * lang-options.h: Add -fms-extensions.
jason [Thu, 12 Aug 1999 06:52:30 +0000 (06:52 +0000)]
* 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 '&'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28684 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28683 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.h (minimal_parse_mode): Remove.
mmitchel [Thu, 12 Aug 1999 01:45:44 +0000 (01:45 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28682 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * Make-lang.in (CXX_SRCS): Remove sig.c.
mmitchel [Thu, 12 Aug 1999 01:40:29 +0000 (01:40 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28681 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * java/util/BitSet.java (set, clear, hashCode): specify "1" constant
bryce [Wed, 11 Aug 1999 21:30:31 +0000 (21:30 +0000)]
    * java/util/BitSet.java (set, clear, hashCode): specify "1" constant
        as long.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28680 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * dump.c (queue): Be careful when computing bitmasks.
mmitchel [Wed, 11 Aug 1999 20:40:11 +0000 (20:40 +0000)]
* dump.c (queue): Be careful when computing bitmasks.
(dequeue_and_dump): Describe binfos as binfos, not as
vectors.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28679 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * parse.y (pedantic): Give it itype. Adjust usage accordingly
mmitchel [Wed, 11 Aug 1999 20:31:35 +0000 (20:31 +0000)]
* parse.y (pedantic): Give it itype.  Adjust usage accordingly
throughout.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28678 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * extend.texi (C++ Signatures): Remove node.
mmitchel [Wed, 11 Aug 1999 20:22:41 +0000 (20:22 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28677 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoNeed to trick it more.
loewis [Wed, 11 Aug 1999 19:24:29 +0000 (19:24 +0000)]
Need to trick it more.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28676 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoMake it fail
loewis [Wed, 11 Aug 1999 19:12:30 +0000 (19:12 +0000)]
Make it fail

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28675 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoNew test case.
loewis [Wed, 11 Aug 1999 18:47:46 +0000 (18:47 +0000)]
New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28674 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoNew test case.
loewis [Wed, 11 Aug 1999 18:31:38 +0000 (18:31 +0000)]
New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28672 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28671 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * Makefile.in (JAVAGC): Removed.
law [Wed, 11 Aug 1999 09:40:43 +0000 (09:40 +0000)]
    * Makefile.in (JAVAGC): Removed.
Finish Tom's change from May 11.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28669 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoMark test as expected failure since neither cpp nor cpplib get it right,
nickc [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...

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28668 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28667 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28666 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28665 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
law [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28664 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Wed, 11 Aug 1999 07:45:14 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28663 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28661 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * fixinc/inclhack.tpl: Only install assert.h conditionally.
law [Wed, 11 Aug 1999 07:17:01 +0000 (07:17 +0000)]
    * fixinc/inclhack.tpl: Only install assert.h conditionally.
        * fixinc/inclhack.sh: Regenerated.
        * fixinc/fixincl.sh: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28659 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
law [Wed, 11 Aug 1999 06:37:09 +0000 (06:37 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28657 138bc75d-0d04-0410-961f-82ee72b054a4