Commit Graph

34548 Commits

Author SHA1 Message Date
Joseph Myers
52a11d15fc gcc.texi: Remove more obsolete documentation of bugs and installation problems.
* gcc.texi: Remove more obsolete documentation of bugs and
	installation problems.

From-SVN: r40735
2001-03-22 11:54:08 +00:00
Jason Merrill
a96237da38 new
From-SVN: r40734
2001-03-22 04:30:16 -05:00
GCC Administrator
3ae885c0ba Daily bump.
From-SVN: r40732
2001-03-22 08:16:08 +00:00
Alexandre Oliva
82e232360d ltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.198.
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.198.

From-SVN: r40731
2001-03-22 06:48:32 +00:00
Bryce McKinlay
595420bfea Method.java (getExceptionTypes): Call getType() to initialize if exception_types is null.
* java/lang/reflect/Method.java (getExceptionTypes): Call getType() to
	initialize if exception_types is null.
	* java/lang/reflect/Constructor.java: Likewise.
	* java/lang/reflect/natConstructor.cc (getType): Initialize
	exception_types to an empty Object array.

From-SVN: r40730
2001-03-22 06:37:16 +00:00
Kazu Hirata
b5f1747c30 h8300.md (movsi_h8300hs): Split the 2nd alternative into two parts.
2001-03-21  Kazu Hirata  <kazu@hxi.com>

	* config/h8300/h8300.md (movsi_h8300hs): Split the 2nd alternative
	into two parts.

From-SVN: r40725
2001-03-22 03:03:26 +00:00
Jason Merrill
46ccf50a6f pt.c (instantiate_decl): Abort if we see a member constant instantiation that doesn't already have its...
* pt.c (instantiate_decl): Abort if we see a member constant
        instantiation that doesn't already have its initializer.
        Downgrade explicit instantiation without definition to pedwarn.

        * cp-tree.h (DECL_TINFO_FN_P, SET_DECL_TINFO_FN_P): Remove.
        * class.c (build_vtable_entry): Don't check DECL_TINFO_FN_P.
        (import_export_decl): Check tinfo_decl_p, not DECL_TINFO_FN_P.

        * cp-tree.h (CLASSTYPE_VTABLE_NEEDS_WRITING): Remove.
        (pending_vtables): Remove.
        * decl2.c (pending_vtables): Remove.
        (import_export_vtable): Use CLASSTYPE_INTERFACE_ONLY, not
        CLASSTYPE_VTABLE_NEEDS_WRITING.
        (import_export_class): Likewise.
        (init_decl2): Don't mark pending_vtables.
        * lex.c (handle_pragma_vtable): Just sorry.
        * pt.c (instantiate_class_template): Don't mess with
        CLASSTYPE_VTABLE_NEEDS_WRITING.
        (mark_class_instantiated): Likewise.
        * ptree.c (print_lang_type): Don't print it.
        * semantics.c (begin_class_definition): Don't set it.

        * pt.c (template_tail): Replace with last_pending_template.
        (maybe_templates, maybe_template_tail): Remove.
        (add_pending_template): Adjust.
        (instantiate_pending_templates): Adjust.

        * cp-tree.h (struct saved_scope): Remove lang_stack field.
        (current_lang_stack): Remove.
        * decl.c (maybe_push_to_top_level): Don't initialize it.
        (duplicate_decls): Use current_lang_depth.
        (xref_basetypes): Likewise.
        * class.c (current_lang_depth): New fn.
        (push_lang_context): Use more varray functionality.
        (pop_lang_context): Likewise.

From-SVN: r40724
2001-03-21 19:55:13 -05:00
Jason Merrill
64d9c3fede collect2.c (is_ctor_dtor): Always use '_' in the file fn names, not '.' or '$'.
* collect2.c (is_ctor_dtor): Always use '_' in the file fn names,
        not '.' or '$'.
        * tree.c (FILE_FUNCTION_FORMAT): Likewise.
        * varasm.c (CHKR_PREFIX): Likewise.

        * error.c (GLOBAL_THING): Always use '__'.

From-SVN: r40723
2001-03-21 19:53:50 -05:00
Richard Kenner
52d76e1128 gcse.c (hash_scan_set): An expression is not anticipatible if it is part of a multi-SET insn.
* gcse.c (hash_scan_set): An expression is not anticipatible if it
	is part of a multi-SET insn.

From-SVN: r40722
2001-03-21 19:21:16 -05:00
Tom Tromey
64ec27c320 * config-ml.in: Handle GCJ and GCJFLAGS.
From-SVN: r40721
2001-03-21 23:55:58 +00:00
Alexandre Petit-Bianco
96c6f62867 re PR java/2333 (ICE in mark_reference_fields)
2001-03-21  Alexandre Petit-Bianco  <apbianco@redhat.com>

	* class.c (layout_class): Fixed push_super_field's second
	argument. Fixes PR java/2333.
	(jdep_resolve_class): Reset TYPE_SIZE if `error_mark_node', it's
	too early to lay innerclasses out.

(http://gcc.gnu.org/ml/gcc-patches/2001-03/msg01582.html)

From-SVN: r40719
2001-03-21 15:50:29 -08:00
Mark Mitchell
71cb928615 * class.c (build_clone): Clear DECL_ASSEMBLER_NAME.
From-SVN: r40717
2001-03-21 21:12:40 +00:00
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