Commit Graph

34336 Commits

Author SHA1 Message Date
Richard Kenner bca05d20b8 cse.c (find_comparison_args): Remove previous change.
* cse.c (find_comparison_args): Remove previous change.
	* ifcvt.c (noce_process_if_block): When moving an insn, remove any
	REG_EQUAL notes.

From-SVN: r40715
2001-03-21 15:19:21 -05:00
Richard Kenner 37c7da7b70 * config/i386/i386.md (conditional_trap): Remove warning.
From-SVN: r40714
2001-03-21 15:14:41 -05:00
Jim Blandy 7dce2effb4 cp-demangle.c (struct demangling_def): New fields: is_constructor and is_destructor.
* cp-demangle.c (struct demangling_def): New fields:
is_constructor and is_destructor.
(demangling_new): Initialize them.
(demangle_ctor_dtor_name): Set them, if we detect a constructor
or destructor.
(demangle_v3_with_details, is_gnu_v3_mangled_ctor,
is_gnu_v3_mangled_dtor): New functions.

From-SVN: r40713
2001-03-21 15:01:40 -05:00
Richard Kenner a8d1960882 recog.c (push_operand): Fix error in last change that caused undefined symbol on many targets.
* recog.c (push_operand): Fix error in last change that caused
	undefined symbol on many targets.

From-SVN: r40712
2001-03-21 14:49:54 -05:00
Richard Kenner 4eadbbd5bf sdbout.c: #include ggc.h.
* sdbout.c: #include ggc.h.
 	(sdbout_init): Move to end of file.
	Call ggc_add_tree_root for anonymous_types.
	(sdbout_symbol): Use DECL_NAME for local, not DECL_ASSEMBLER_NAME.
	(sdbout_one_type): Use DECL_NAME for field name.
	* Makefile.in (sdbout.o): Show includes ggc.h.

From-SVN: r40710
2001-03-21 14:43:36 -05:00
Jim Blandy 2d32013ffe demangle.h (enum gnu_v3_constructor_kinds, [...]): New declarations.
* demangle.h (enum gnu_v3_constructor_kinds,
is_gnu_v3_mangled_ctor, enum gnu_v3_destructor_kinds,
is_gnu_v3_mangled_dtor): New declarations.

From-SVN: r40709
2001-03-21 14:37:53 -05:00
Jan Hubicka 0d7d98ee65 i386.c (override_options): Default ix86_regparm to REGPARM_MAX.
* i386.c (override_options): Default ix86_regparm to REGPARM_MAX.
	(override_options): Use properlimits for preferred_stack_boundary.
	(ix86_valid_type_attribute_p): Disable stdcall and cdecl attributes
	on x86_64.
	(ext_register_operand): Accept DImode.
	(load_pic_register): Abort on 64bit.
	(gen_push): Use Pmode instead of SImode.
	(ix86_save_reg): Pic reg is never used on 64bit.
	(ix86_expand_prologue): Likewise.
	(ix86_emit_save_regs): Use Pmode instead of SImode.
	(legitimate_address_p): Check displacement for 64bit.
	(print_operand): Avoid outputting of (%rip) on 64bit.
	(print_operand_address): Output (%rip) where possible.
	(split_di): Abort on 64bit registers.
	(ix86_expand_branch): DImode comparison is simple for x86_64.
	(memory_address_length): Recognize memory addresses formed using PRE/POST modify.
	(ix86_data_alignment, ix86_local_alignment): Align arrays to 16 bytes for x86_64.
	* i386.h (TARGET_USE_SAHF): Disable for 64bit.

From-SVN: r40708
2001-03-21 19:35:48 +00:00
Michael Chastain 191de40709 * Makefile.in: all-m4 depends on all-texinfo.
From-SVN: r40707
2001-03-21 14:34:08 -05:00
Zack Weinberg 49ee944b86 make-temp-file.c: Always default DIR_SEPARATOR to '/'.
* make-temp-file.c: Always default DIR_SEPARATOR to '/'.
	Don't default P_tmpdir to anything.  Try /var/tmp before
	/usr/tmp.

From-SVN: r40706
2001-03-21 19:29:33 +00:00
Theodore Papadopoulo edb7d731b6 basic_file.h: Fix typos in comments.
2001-03-21  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>

    	* intclude/bits/basic_file.h: Fix typos in comments.

From-SVN: r40705
2001-03-21 19:26:49 +00:00
Tom Tromey 57df195483 uesc.java: New file.
* libjava.compile/uesc.java: New file.
	* libjava.compile/uesc.xfail: New file.

From-SVN: r40704
2001-03-21 18:52:24 +00:00
Tom Tromey 4aed89380c * lex.c (java_read_unicode): Only accept leading `u's.
From-SVN: r40702
2001-03-21 18:50:02 +00:00
Tom Tromey 7e0c895f0e configure: Rebuilt.
* configure: Rebuilt.
	* configure.in (GCJFLAGS): Subst.
	* Makefile.in: Rebuilt.
	* Makefile.am (jv_convert_LDFLAGS): Added -shared-libgcc.
	(gij_LDFLAGS): Likewise.
	(JC1FLAGS): Added GCJFLAGS and removed -g.

From-SVN: r40700
2001-03-21 18:43:03 +00:00
Rod Stewart 9346c5a7d8 gcconfig.h: Check for `__arm__', not `arm'.
2001-01-23  Rod Stewart <stewart@lab43.org>

	* gcconfig.h: Check for `__arm__', not `arm'.

From-SVN: r40698
2001-03-21 18:38:16 +00:00
Tom Tromey 3632fe93f1 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (gctest_LDFLAGS): new macro.

From-SVN: r40697
2001-03-21 18:35:41 +00:00
Jan Hubicka 70a324958b * recog.c (push_operand): Recognize new format of push instructions.
From-SVN: r40694
2001-03-21 17:54:00 +00:00
Tom Tromey 5db60c46d0 re PR libgcj/2338 (RandomAccessFile does not create the file if not found)
* java/io/natFileDescriptorPosix.cc (open): Add O_CREAT in
	read/write case.  Fixes PR libgcj/2338.

From-SVN: r40692
2001-03-21 17:23:09 +00:00
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