Commit Graph

34398 Commits

Author SHA1 Message Date
Phil Blundell
a44a935fe4 20010320-1.c: New test.
2001-03-20  Philip Blundell  <philb@gnu.org>

	* gcc.c-torture/compile/20010320-1.c: New test.

From-SVN: r40651
2001-03-20 10:49:38 +00:00
Warren Levy
bd2950d208 TimeZone.java: Sync up with Classpath.
* java/util/TimeZone.java: Sync up with Classpath.  Includes new
	and corrected SimpleTimeZone's for the timezones hash table.

From-SVN: r40650
2001-03-20 10:05:45 +00:00
Alan Modra
78f8fa8610 Makefile.in (OBJS): Remove hashtab.o (canadian cross fix)...
* Makefile.in (OBJS): Remove hashtab.o (canadian cross fix)
http://gcc.gnu.org/ml/gcc-patches/2001-02/msg01672.html

From-SVN: r40649
2001-03-20 19:24:56 +10:30
GCC Administrator
fa93906ef5 Daily bump.
From-SVN: r40647
2001-03-20 08:16:08 +00:00
Stan Shebs
ced5bce715 objc-act.c (maybe_objc_method_name): Remove, never called.
2001-03-19  Stan Shebs  <shebs@apple.com>

        * objc/objc-act.c (maybe_objc_method_name): Remove, never called.
        * c-lang.c (maybe_objc_method_name): Ditto.
        * c-tree.h (maybe_objc_method_name): Remove decl.

From-SVN: r40646
2001-03-20 02:57:28 +00:00
Tom Tromey
d60726dac1 * gcc.c (init_gcc_specs): Fix comment.
From-SVN: r40645
2001-03-20 00:12:07 +00:00
Mark Mitchell
92643fea93 Compute DECL_ASSEMBLER_NAME lazily.
* tree.h (DECL_ASSEMBLER_NAME): Compute it lazily.
	(DECL_ASSEMBLER_NAME_SET_P): New macro.
	(SET_DECL_ASSEMBLER_NAME): Likewise.
	(COPY_DECL_ASSEMBLER_NAME): Likewise.
	(set_decl_assembler_name): Declare.
	(lang_set_decl_assembler_name): Likewise.
	* tree.c (lang_set_decl_assembler_name): New variab.e
	(set_decl_assembler_name): New function.
	(init_obstacks): Set lang_set_decl_assembler_name.
	(build_decl): Don't set DECL_ASSEMBLER_NAME.
	* c-decl.c (duplicate_decls): Use SET_DECL_ASSEMBLER_NAME,
	COPY_DECL_ASSEMBLER_NAME, etc.  Don't set DECL_ASSEMBLER_NAME
	where it's not necessary.
	(builtin_function): Likewise.
	(finish_decl): Likewise.
	* dbxout.c (dbxout_type_methods): Likewise.
	* ggc-common.c (ggc_mark_trees): Likewise.
	* profile.c (output_func_start_profiler): Likewise.
	* varasm.c (make_decl_rtl): Likewise.

	* class.c (get_vtable_decl): Use SET_DECL_ASSEMBLER_NAME,
	COPY_DECL_ASSEMBLER_NAME, etc.  Don't set DECL_ASSEMBLER_NAME
	where it's not necessary.
	(add_method): Remove optimization involving comparison of
	DECL_ASSEMBLER_NAME.
	(build_vtbl_or_vbase_field): Use SET_DECL_ASSEMBLER_NAME,
	COPY_DECL_ASSEMBLER_NAME, etc.  Don't set DECL_ASSEMBLER_NAME
	where it's not necessary.
	(check_methods): Likewise.
	(build_clone): Likewise.
	(built_vtt): Likewise.
	* cp-tree.h (DECL_NEEDED_P): Likewise.
	* decl.c (pushtag): Likewise.
	(duplicate_decls): Likewise.
	(pushdecl): Likewise.
	(builtin_function): Likewise.
	(build_library_fn_1): Set DECL_LANGUAGE for library functions.
	(build_cp_library_fn): Likewise.
	(maybe_commonize_var): Use SET_DECL_ASSEMBLER_NAME,
	COPY_DECL_ASSEMBLER_NAME, etc.  Don't set DECL_ASSEMBLER_NAME
	where it's not necessary.
	(make_rtl_for_nonlocal_decl): Likewise.
	(cp_finish_decl): Likewise.
	(grokfndecl): Likewise.
	(grokvardecl): Likewise.
	(grokdeclarator): Likewise.
	(start_function): Likewise.
	(cp_missing_return_ok_p): Likewise.
	* decl2.c (grokclassfn): Likewise.
	(check_classfn): Likewise.
	(finish_static_data_member_decl): Likewise.
	(grokfield): Likewise.
	* error.c (GLOBAL_IORD_P): Remove.
	(dump_global_iord): Improve output.
	(dump_decl): Avoid using DECL_ASSEMBLER_NAME.
	* except.c (nothrow_libfn_p): Summarily reject any function not in
	namespace-scope.
	* init.c (build_java_class_ref): Don't explicitly set
	DECL_ASSEMBLER_NAME after calling mangle_decl.
	* mangle.c (mangle_decl_string): Handle extern "C" functions.
	(mangle_decl): Set the DECL_ASSEMBLER_NAME for the decl.
	* method.c (set_mangled_name_for_decl): Don't explicitly set
	DECL_ASSEMBLER_NAME after calling mangle_decl.
	(make_thunk): Explicitly set the DECL_ASSEMBLER_NAME and
	IDENTIFIER_GLOBAL_VALUE for the thunk.
	* pt.c (set_mangled_name_for_template_decl): Remove.
	(check_explicit_specialization): Don't use it.
	(looup_template_class): Don't set DECL_ASSEMBLER_NAME.
	(tsubst_friend_function): Likewise.
	(tsubst_decl): Likewise.
	(regenerate_decl_from_template): Use COPY_DECL_ASSEMBLER_NAME.
	* rtti.c (get_tinfo_decl): Use SET_DECL_ASSEMBLER_NAME,
	COPY_DECL_ASSEMBLER_NAME, etc.  Don't set DECL_ASSEMBLER_NAME
	where it's not necessary.
	(tinfo_base_init): Likewise.
	(create_real_tinfo_var): Likewise.
	* search.c (looup_field_1): Likewise.
	* semantics.c (finish_named_return_value): Likewise.
	* tree.c (init_tree): Set lang_set_decl_assembler_name.

	* com.c (builtin_function): Use SET_DECL_ASSEMBLER_NAME.

	* class.c (build_class_ref): Use SET_DECL_ASSEMBLER_NAME.
	(layout_class): Likewise.
	(layout_class_method): Likewise.
	(emit_register_classes): Likewise.
	* decl.c (builtin_function): Likewise.
	(give_name_to_locals): Likewise.

From-SVN: r40642
2001-03-19 23:50:04 +00:00
Per Bothner
b90f4049d3 URLStreamHandler.java (parseURL): Fix bug which would "canonicalize" "../../xxx" to "/xxx".
* java/net/URLStreamHandler.java (parseURL):  Fix bug which would
	"canonicalize" "../../xxx" to "/xxx".

From-SVN: r40641
2001-03-19 15:31:14 -08:00
Mark Wielaard
86c9776ba2 ArrayList.java: Remove RCS keywords from comments
* java/util/ArrayList.java: Remove RCS keywords from comments
    * java/util/BasicMapEntry.java: idem
    * java/util/Dictionary.java: idem
    * java/util/HashSet.java: idem

    * java/util/EventObject.java: reindent
    * java/util/Properties.java: idem
    * java/util/SortedMap.java: idem

    * java/util/Enumeration.java: Merge with Classpath
    * java/util/EventListener.java: idem
    * java/util/Observable.java: idem
    * java/util/Observer.java: idem
    * java/util/Stack.java: idem

From-SVN: r40639
2001-03-19 23:00:18 +00:00
Per Bothner
80fc2e84d9 jcf-parse.c (load_inner_classes): Check CLASS_LOADED_P before trying to load an inner class.
* jcf-parse.c (load_inner_classes):  Check CLASS_LOADED_P
	before trying to load an inner class.

From-SVN: r40638
2001-03-19 14:00:29 -08:00
Per Bothner
546468116e Fixes to process to command-line .class files in two passes. See ChangeLog.
From-SVN: r40637
2001-03-19 13:57:37 -08:00
Nick Clifton
e7ce60a860 Undo previous delta
From-SVN: r40635
2001-03-19 21:46:27 +00:00
David Edelsohn
120d59bfb9 * encoding.c (TYPE_MODE): Define.
From-SVN: r40633
2001-03-19 16:05:03 -05:00
Philip Blundell
77af5c469c Add support for unique sections in arm-linux target.
From-SVN: r40632
2001-03-19 19:56:37 +00:00
Laurynas Biveinis
085072bbd3 * Makefile.in (DO_X): Quote nested quotes.
From-SVN: r40631
2001-03-19 19:12:04 +00:00
Mark Mitchell
68e568c28e cse.c (find_comparison_args): Update documentation.
* cse.c (find_comparison_args): Update documentation.  Fix
	mishandling of COMPARE operations.

	* tree.def (ABS_EXPR): Add documentation.
	* fold-const.c (fold): Improve folding of ABS_EXPRs.

From-SVN: r40630
2001-03-19 18:53:04 +00:00
Zack Weinberg
d4b6faf649 * Makefile.in (hash.o): Depend on $(GCONFIG_H), not $(CONFIG_H).
From-SVN: r40628
2001-03-19 18:40:26 +00:00
Jakub Jelinek
373368fd87 crtstuff.c (init_dummy): Use CRT_END_INIT_DUMMY if defined.
* crtstuff.c (init_dummy): Use CRT_END_INIT_DUMMY if defined.
	Remove ia32 linux PIC kludge and move it...
	* config/i386/linux.h (CRT_END_INIT_DUMMY): ...here.

From-SVN: r40627
2001-03-19 19:07:32 +01:00
Jan Hubicka
7343a5a99b * i386.md (absdf2 expander): Fix 64bit case.
From-SVN: r40626
2001-03-19 17:56:32 +00:00
Brad Lucier
a8e5b5d971 Makefile.in: Have splay-tree.o depend on $(GCONFIG_H).
2001-03-19  Brad Lucier  <lucier@math.purdue.edu>

* Makefile.in: Have splay-tree.o depend on $(GCONFIG_H).

From-SVN: r40625
2001-03-19 17:37:34 +00:00
Brad Lucier
83b266a000 Makefile.in: Have splay-tree.o depend on $(GCONFIG_H).
2001-03-19  Brad Lucier  <lucier@math.purdue.edu>

	* Makefile.in: Have splay-tree.o depend on $(GCONFIG_H).

From-SVN: r40624
2001-03-19 17:36:46 +00:00
Per Bothner
8b1edcee4a jvspec.c (lang_specific_driver): Check for .zip and .jar files.
* jvspec.c (lang_specific_driver):  Check for .zip and .jar files.
	Add constructed filelist-file at end, following -xjava.  Thus any .o
	and library files are not affected by the -xjava.  Also wrap
	explicut @FILE with -xjava and -xnone.

From-SVN: r40621
2001-03-19 08:41:59 -08:00
Andrew Haley
6bc5f6cb54 class.c (build_static_field_ref): Call make_decl_rtl() after setting the DECL_EXTERNAL flag.
2001-03-19  Andrew Haley  <aph@cambridge.redhat.com>

        * class.c (build_static_field_ref): Call make_decl_rtl() after
        setting the DECL_EXTERNAL flag.

From-SVN: r40620
2001-03-19 16:14:14 +00:00
Andrew Haley
e7aadbbb7b libgcc-ia64.ver: Add __ia64_backtrace.
2001-03-16  Andrew Haley  <aph@cambridge.redhat.com>

        * config/ia64/libgcc-ia64.ver: Add __ia64_backtrace.

From-SVN: r40618
2001-03-19 16:02:02 +00:00
GCC Administrator
bec90ecd25 Daily bump.
From-SVN: r40612
2001-03-19 08:16:39 +00:00
Gerald Pfeifer
5df3dc236b * README.X11: Remove obsolete file.
From-SVN: r40609
2001-03-19 07:53:03 +00:00
Anthony Green
ff9b0a4945 pj.h: Remove some trailing commas.
2001-03-18  Anthony Green  <green@redhat.com>

	* config/pj/pj.h: Remove some trailing commas.
	(ASM_SPEC): Use -EB and -EL, not -mb and -ml.

From-SVN: r40607
2001-03-19 02:19:10 +00:00
Phil Edwards
1e38ba0acc update_web_docs_libstdcxx: New script.
2001-03-18  Phil Edwards  <pme@sources.redhat.com>

	* update_web_docs_libstdcxx:  New script.
	* crontab:  Call said script.

From-SVN: r40606
2001-03-19 01:40:04 +00:00
Mark Wielaard
71f299694e Remove conflict markers that I commited by mistake
From-SVN: r40605
2001-03-18 23:17:24 +00:00
Mark Wielaard
082a12bce7 natClass.cc (_Jv_CheckCast): add class names to exception
* java/lang/natClass.cc (_Jv_CheckCast): add class names to exception
* gnu/gcj/runtime/FirstThread.java (main): replace / with . in jarMainClassName

From-SVN: r40604
2001-03-18 23:07:57 +00:00
Richard Henderson
bf501a6512 defaults.h (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Move from ...
* defaults.h (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Move from ...
        * calls.c: ... here.
        * combine.c, expr.c, final.c, function.c toplev.c: Don't provide
        defaults for them here.

From-SVN: r40603
2001-03-18 13:38:33 -08:00
Anthony Green
488744fa77 > * config/pj/lib1funcs.S: Fix broken comment.
> 	* config/pj/lib1funcs.S: Fix broken comment.
> 	* config/pj/pj.h (LOCAL_LABEL_PREFIX): Prefix internal
> 	labels with '.'.

From-SVN: r40602
2001-03-18 20:52:02 +00:00
Joseph Myers
1f618c5855 gcc.texi: Remove obsolete information relating to build and installation problems with...
* gcc.texi: Remove obsolete information relating to build and
	installation problems with enquire or the Pyramid C compiler.

From-SVN: r40599
2001-03-18 18:53:54 +00:00
Alan Modra
5af8ea3f17 Add alan@linuxcare.com.au
From-SVN: r40597
2001-03-18 22:13:37 +10:30
GCC Administrator
f69ebc9088 Daily bump.
From-SVN: r40596
2001-03-18 08:16:38 +00:00
Richard Henderson
fbfa55b0f6 dwarf2out.c (queue_reg_save): New.
* dwarf2out.c (queue_reg_save): New.
        (flush_queued_reg_saves, clobbers_queued_reg_save): New.
        (dwarf2out_frame_debug_expr): Call queue_reg_save instead of
        dwarf2out_reg_save.
        (dwarf2out_frame_debug): Call flush_queued_reg_saves when needed.
        (cfa, cfa_store, cfa_temp): Make static.
        * final.c (final_scan_insn): Always call dwarf2out_frame_debug.

From-SVN: r40594
2001-03-17 21:09:55 -08:00
Tom Tromey
9de8be0b19 natString.cc (rehash): Don't bother with memset; _Jv_AllocBytes returns zero'd memory.
* java/lang/natString.cc (rehash): Don't bother with memset;
	_Jv_AllocBytes returns zero'd memory.  Use _Jv_AllocBytesChecked.
	Use UNMASK_PTR.
	(UNMASK_PTR): New macro.
	(intern): Unmask pointer before returning it.  Register finalizer
	for the string.
	(unintern): Handle case where
	(MASK_PTR): New macro.
	(PTR_MAKSED): Likewise.
	(_Jv_NewStringUtf8Const): Use UNMASK_PTR.

From-SVN: r40593
2001-03-18 00:57:13 +00:00
Joseph Myers
2eb6fbf861 update_version, [...]: Check out with gcc directory instead of using egcs link.
* update_version, update_branch_version: Check out with gcc
	directory instead of using egcs link.

From-SVN: r40591
2001-03-18 00:08:56 +00:00
Joseph Myers
655e4aeecd update_web_docs: Don't strip leading -r from argument following -r...
* update_web_docs: Don't strip leading -r from argument following
	-r, or leading -d from argument following -d.  Bug pointed out by
	Matt Kraai.

From-SVN: r40590
2001-03-17 23:59:21 +00:00
Joseph Myers
832013cdfa update_web_docs: Handle -r and -d options to generate docs for a release or branch in a subdirectory.
* update_web_docs: Handle -r and -d options to generate docs for a
	release or branch in a subdirectory.  Determine names of G77 news
	and bugs files and contributors file after updated docs have been
	installed, not before.  Don't remove files from a subdirectory.
	Don't generate manuals for gcov (included in the GCC manual) or
	iostream (obsolete).  Do generate manuals for cppinternals, gcj
	and porting.  Update regular expressions for detecting whether
	files have really changed when regenerated.

From-SVN: r40589
2001-03-17 23:05:06 +00:00
Per Bothner
d148b6aa87 Change descriptions were jumbled.
From-SVN: r40587
2001-03-17 13:35:17 -08:00
Per Bothner
90f59043bf * decl.c (clear_binding_level): Fix initializer (broke 03-15).
From-SVN: r40586
2001-03-17 12:48:35 -08:00
Per Bothner
478e7ed675 jcf-write.c (generate_bytecode_insns): Handle emitting iinc when result is is needed (target is STACK_TARGET).
* jcf-write.c (generate_bytecode_insns):  Handle emitting iinc
	when result is is needed (target is STACK_TARGET).

From-SVN: r40585
2001-03-17 12:44:24 -08:00
Per Bothner
daaaf29f2a parse.h (JDEP_SOLV): Removed.
* parse.h (JDEP_SOLV):  Removed.
	* parse.y (incomplete_class_list):  Removed.
	(register_incomplete_type):  Use JDEP_TO_RESOLVE instead of JDEP_SOLV.

	* parse.y (obtain_incomplete_type): Removed.  It doesn't work if
	resolve_class changes the name of an array type that is on the list
	and then someone else looks for the modified name.  Also, seems liable
	to break when compiling multiple source files at once.  So the simplest
	is to just remove incomplete_class_list - it is only a minor
	space win and it is not even clear it saves time.

	* parse.y (resolve_class):  Remove unneeded promote_type.

From-SVN: r40584
2001-03-17 12:25:10 -08:00
Richard Henderson
464186fb60 integrate.h (struct inline_remap): Add local_return_label.
* integrate.h (struct inline_remap): Add local_return_label.
        * integrate.c (expand_inline_function): Initialize it and emit
        it after copy_insn_notes.
        (copy_insn_list): Don't store local_return_label here.
        (copy_insn_notes): New function split out from copy_insn_list.

From-SVN: r40581
2001-03-17 10:37:25 -08:00
Richard Henderson
e72dd89c98 * g++.old-deja/g++.other/eh4.C: Add expected error text.
From-SVN: r40579
2001-03-17 10:29:55 -08:00
Richard Henderson
acc187f507 dwarf2out.c (lookup_filename): Emit .file if the assembler is generating .debug_line.
* dwarf2out.c (lookup_filename): Emit .file if the assembler
        is generating .debug_line.
        (dwarf2out_init): Add main_input_filename to the file table first.
        * configure.in (as_dwarf2_debug_line): Test with file number 1
        instead of file number 0.

From-SVN: r40578
2001-03-17 10:18:12 -08:00
Richard Kenner
f1c6ba8bd1 combine.c (undobuf): Remove field previous_undos; all refs deleted.
* combine.c (undobuf): Remove field previous_undos; all refs deleted.
	(gen_rtx_combine): Deleted; all references changed as appropriate.
	(gen_unary): Deleted; all refs changed to call simplify_gen_unary.

From-SVN: r40577
2001-03-17 12:00:23 -05:00
Richard Kenner
6732576cfa * print-tree.c (print_node): Print DECL_NONADDRESSABLE_P.
From-SVN: r40576
2001-03-17 11:52:05 -05:00
GCC Administrator
c6997b28dc Daily bump.
From-SVN: r40575
2001-03-17 08:16:40 +00:00