Commit Graph

34219 Commits

Author SHA1 Message Date
Mark Mitchell
1c06710a55 mangle.c (mangle_decl_string): Mangle the names of overloaded operators, even when they have `extern "C"' linkage.
* mangle.c (mangle_decl_string): Mangle the names of overloaded
	operators, even when they have `extern "C"' linkage.

From-SVN: r40690
2001-03-21 17:19:54 +00:00
Jan Hubicka
7dd4b4a326 i386.md (pushqi1): New.
* i386.md (pushqi1): New.
	* i386-protos.h (x86_64_general_operand, x86_64_szext_general_operand,
	x86_64_nonmemory_operand, x86_64_szext_nonmemory_operand,
	x86_64_immediate_operand, x86_64_immediate_operand,
	x86_64_zext_immediate_operand): Declare.
	* i386.c (x86_64_general_operand, x86_64_szext_general_operand,
	x86_64_nonmemory_operand, x86_64_szext_nonmemory_operand,
	x86_64_immediate_operand, x86_64_immediate_operand,
	x86_64_zext_immediate_operand): define.
	* i386.h (PREDICATE_CODES): Add new predicates.

From-SVN: r40689
2001-03-21 10:12:20 +00:00
John Wehle
49073def1b * encoding.c (REAL_TYPE): Define.
From-SVN: r40687
2001-03-21 09:46:20 +00:00
Jan Hubicka
566aa17469 i386.md (pophi1, [...]): Remove.
* i386.md (pophi1, popqi1, pushqi1): Remove.

	* expr.c (emit_single_push_insn): New function.
	(move_by_pieces): Accept NULL as destination for push instructions.
	(gen_push_operand): Kill.
	(emit_push_insn): Pass NULL when pushing; avoid updating of
	stack_pointer_delta.
	* expr.h (gen_push_operand): Kill.

From-SVN: r40686
2001-03-21 09:41:11 +00:00
GCC Administrator
d5c960a0e8 Daily bump.
From-SVN: r40685
2001-03-21 08:16:38 +00:00
Zack Weinberg
33437dc76d choose-temp.c: Split off make_temp_file...
* choose-temp.c: Split off make_temp_file, and the code
        duplicated between it and choose_temp_base, into...
        * make-temp-file.c: ... here; new file.

        * Makefile.in (CFILES): Add make-temp-file.c.
        (REQUIRED_OFILES): Add make-temp-file.o.

From-SVN: r40683
2001-03-21 07:29:37 +00:00
Loren J. Rittle
fed4dede7e * MAINTAINERS: Add myself to write after approval list.
From-SVN: r40682
2001-03-21 03:37:36 +00:00
Richard Kenner
e26b89960c rtl.texi (COMPARE): Clarify documentation and reference section on comparisons.
* rtl.texi (COMPARE): Clarify documentation and reference section
	on comparisons.

From-SVN: r40681
2001-03-20 20:14:20 -05:00
Tom Tromey
ddd705d182 * jcf-parse.c (read_class): Initialize `class'.
From-SVN: r40678
2001-03-20 22:57:20 +00:00
Matt Kraai
de83bf663e jcf_parse.c (jcf_parse): Eliminate unused variable.
2001-03-20  Matt Kraai  <kraai@alumni.carnegiemellon.edu>

	* jcf_parse.c (jcf_parse): Eliminate unused variable.

From-SVN: r40676
2001-03-20 22:53:52 +00:00
Stan Shebs
e44949e91c objc-act.c (get_static_reference): Use NULL_TREE.
* objc/objc-act.c (get_static_reference): Use NULL_TREE.
        (get_object_reference): Ditto.
        (error_with_ivar): Use error_with_file_and_line.
        (warn_with_method): Use warning_with_file_and_line.

From-SVN: r40672
2001-03-20 22:01:49 +00:00
Tom Tromey
2ba5f9b134 * libgcc-std.ver: Added __fixunssfsi and __fixunsdfsi.
From-SVN: r40671
2001-03-20 20:16:15 +00:00
Richard Henderson
1fd9ea5d58 Fix merge error.
From-SVN: r40668
2001-03-20 11:48:43 -08:00
Mark Mitchell
116b39e02f tree.c (set_decl_assembler_name): Set DECL_ASSEMBLER_NAME for variables that are TREE_PUBLIC, even if not TREE_STATIC.
* tree.c (set_decl_assembler_name): Set DECL_ASSEMBLER_NAME for
	variables that are TREE_PUBLIC, even if not TREE_STATIC.

From-SVN: r40667
2001-03-20 19:43:41 +00:00
Richard Henderson
f64805b6e9 gen-num-limits.cc: Instantiate for wchar_t.
* src/gen-num-limits.cc: Instantiate for wchar_t.
        * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.

From-SVN: r40666
2001-03-20 11:39:45 -08:00
DJ Delorie
17da603cf2 fix date
From-SVN: r40665
2001-03-20 13:39:17 -05:00
DJ Delorie
6768015471 Makefile.in (install-libgcc): Pass complete list of variables.
* Makefile.in (install-libgcc): Pass complete list of variables.
(install-multilib): Ditto.

From-SVN: r40664
2001-03-20 13:22:38 -05:00
David Billinghurst
79f963744b cygwin.h: Declare ctor_section, dtor_section drectve_section, switch_to_section.
* config/i386/cygwin.h: Declare ctor_section, dtor_section drectve_section,
switch_to_section.
* winnt.c: Declare functions associated_type, gen_stdcall_suffix,
i386_pe_dllexport_p, i386_pe_dllimport_p, i386_pe_mark_dllexport,
i386_pe_mark_dllimport.
* config/i386/cygwin.h: Include <stdio.h> Declare and constify functions
i386_pe_*.
* config/i386/winnt.c: Include "tm_p.h" and "toplev.h" Constify i386_pe_*
functions with char * arguments.

From-SVN: r40661
2001-03-20 17:42:56 +00:00
Jason Merrill
f8c02bc55a vec.cc (__cxa_vec_cleanup): New fn.
* libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
        (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
        * libsupc++/cxxabi.h: Declare it.

From-SVN: r40657
2001-03-20 11:59:44 -05:00
Jason Merrill
e03a61f143 * cplus-dem.c (main): Skip initial $.
From-SVN: r40655
2001-03-20 11:54:17 -05:00
Alexandre Oliva
a92facbb7b sh.md (movsf_ie): Fix output patterns for fpul load and store.
* config/sh/sh.md (movsf_ie): Fix output patterns for fpul load
and store.
(movsi_ie): Introduce fpul store.

From-SVN: r40653
2001-03-20 11:00:01 +00:00
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