Commit Graph

24309 Commits

Author SHA1 Message Date
Steve Chamberlain
9a480d6923 The following patches include a couple of fixes for cross toolchains,
and endian bits for the picojava port.  I am committing this (and the
rebuilt Makefile.in/configure files).

From-SVN: r29765
1999-10-02 15:44:24 +00:00
Mark Mitchell
97ca93c3ae tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES for non-trees.
* tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
	for non-trees.
	(build1): Likewise.

From-SVN: r29764
1999-10-02 08:52:17 +00:00
Jeff Law
06900a3427 Daily bump.
From-SVN: r29763
1999-10-02 01:45:08 -06:00
Jason Merrill
ba9c33e8f7 * typeck.c (decay_conversion): Strip cv-quals from non-class rvalues.
From-SVN: r29762
1999-10-01 21:09:54 -04:00
Jason Merrill
1bd83869f2 new
From-SVN: r29761
1999-10-01 20:41:00 -04:00
Tom Tromey
edf4b387c0 re GNATS gcj/56 (gcj segfaults in jc1 on OK java file)
* libjava.lang/PR56.out: New file.
	* libjava.lang/PR56.java: New file.

From-SVN: r29760
1999-10-02 00:39:04 +00:00
Tom Tromey
4b68fe8a36 configure: Rebuilt.
* configure: Rebuilt.
	* configure.in: Set classpath when invoking gcj.  Use changequote
	around sed invocation.

	* java/net/natPlainSocketImpl.cc: Stub native functions if
	DISABLE_JAVA_NET is defined.
	* java/net/natPlainDatagramSocketImpl.cc (setTimeToLive): Fixed
	typo in exception string.
	(getTimeToLive): Likewise.
	Stub native functions if DISABLE_JAVA_NET is defined.
	* java/net/natInetAddress.cc: Stub native functions if
	DISABLE_JAVA_NET is defined.
	* configure.host: Disable java.net for mips-tx39.
	* configure, include/config.h.in: Rebuilt.
	* acconfig.h (DISABLE_JAVA_NET): Undefine.
	* configure.in: Added --disable-java-net and new define
	`DISABLE_JAVA_NET'.

From-SVN: r29759
1999-10-02 00:19:01 +00:00
Jason Merrill
95f1a0447f update
From-SVN: r29758
1999-10-01 18:44:51 -04:00
Mark Mitchell
b3da7bb1cf pt.c (tsubst_decl): If the type of a template instantiation is bogus, so is the whole instantiation.
* pt.c (tsubst_decl): If the type of a template instantiation is
	bogus, so is the whole instantiation.

From-SVN: r29757
1999-10-01 17:25:05 +00:00
Bernd Schmidt
2816d1644f Fix i386elf bug
From-SVN: r29756
1999-10-01 17:02:21 +00:00
Andreas Schwab
125ed86fee m68k.c (use_return_insn): Return false if the pic register is in use.
* config/m68k/m68k.c (use_return_insn): Return false if the pic
	register is in use.

From-SVN: r29755
1999-10-01 10:44:28 +00:00
Bernd Schmidt
3cf965b7f6 Delete !REGISTER_CONSTRAINTS code
From-SVN: r29754
1999-10-01 10:26:46 +00:00
Bernd Schmidt
19af645506 Delete !REGISTER_CONSTRAINTS code
From-SVN: r29753
1999-10-01 10:00:33 +00:00
Jeff Law
39d6e3d71b Daily bump.
From-SVN: r29752
1999-10-01 01:45:14 -06:00
Mark Mitchell
546be87e34 * iris6.h (BUILD_VA_LIST_TYPE): Define.
From-SVN: r29751
1999-10-01 07:03:06 +00:00
Mark Mitchell
c328b1d7d5 file-format.exp (gcc_target_object_format): Don't crash if objdump is unavailable.
* lib/file-format.exp (gcc_target_object_format): Don't
	crash if objdump is unavailable.

From-SVN: r29750
1999-10-01 06:55:49 +00:00
Mark Mitchell
9ed9e79a15 decl.c (initialize_local_var): Handle static variables here.
* decl.c (initialize_local_var): Handle static variables here.
	(cp_finish_decl): Tweak handling of function-scope static
	variables.
	* semantics.c (expand_stmt): Handle DECL_STMTs for static
	variables.

From-SVN: r29749
1999-10-01 04:45:10 +00:00
Mark Mitchell
3b62f22400 * method.c (emit_thunk): Don't crash when -fsyntax-only.
From-SVN: r29748
1999-10-01 04:34:24 +00:00
Mark Mitchell
e82d3ca3b9 Fix typo in comment
From-SVN: r29747
1999-10-01 04:31:00 +00:00
Franz Sirl
bab45a519b Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
        for the va_list record.

From-SVN: r29746
1999-09-30 18:46:41 -07:00
Jan Hubicka
9b00189f09 Jan Hubicka <hubicka@freesoft.cz>
* i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
        prologues.

From-SVN: r29745
1999-09-30 18:35:37 -07:00
Jan Hubicka
0d7148e3f2 Jan Hubicka <hubicka@freesoft.cz>
* alias.c: Include insn-flags.h.
        * Makefile.in (alias.o): Update.

From-SVN: r29744
1999-09-30 18:32:18 -07:00
Jan Hubicka
36583feac4 Jan Hubicka <hubicka@freesoft.cz>
* i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
        to LTU and GEU.  Handle more cases using sbb.

From-SVN: r29743
1999-09-30 18:22:24 -07:00
Jan Hubicka
ca285e0794 Jan Hubicka <hubicka@freesoft.cz>
* i386.md (truncatexfdf splitters): Do not use subreg.
        (fop XFmode patterns): Fix mode in operand testing.

From-SVN: r29742
1999-09-30 18:19:16 -07:00
Richard Henderson
39cc9917e2 jump.c (jump_optimize_1): Amend last change to test only the form of the operand, not the insn.
* jump.c (jump_optimize_1): Amend last change to test only the
        form of the operand, not the insn.

From-SVN: r29741
1999-09-30 18:13:51 -07:00
Richard Henderson
6d97e0b42e jump.c (jump_optimize_1): Use general_operand not register_operand to determine when B may need preloading.
* jump.c (jump_optimize_1) [conditional_move]: Use general_operand
        not register_operand to determine when B may need preloading.

From-SVN: r29740
1999-09-30 18:06:14 -07:00
Richard Henderson
6ce41093cc alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
* alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
        (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
        (call-value patterns): Move to end of file.
        (*): Remove mode from label_ref in (pc) context.
        (movstrqi): Use memory not general_operand for BLKmode operands.
        (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
        to register_operand operands.
        (peep2 patterns): Convert from commented-out peephole patterns.

From-SVN: r29739
1999-09-30 17:45:07 -07:00
Mark Mitchell
2b76013c9a cp-tree.h (lang_decl_flags): Add global_ctor_p and global_dtor_p.
* cp-tree.h (lang_decl_flags): Add global_ctor_p and
	global_dtor_p.  Add init_priority.
	(DECL_ACCESS): Adjust accordingly.
	(DECL_GLOBAL_CTOR_P, DECL_GLOBAL_DTOR_P): New macros.
	(GLOBAL_INIT_PRIORITY): Likewise.
	* decl.c (lang_mark_tree): Adjust accordingly.
	(start_objects): Set DECL_GLOBAL_CTOR_P, DECL_GLOBAL_DTOR_P,
	and GLOBAL_INIT_PRIORITY.
	* dump.c (dequeue_and_dump): Print them.
	* ir.texi: Document them.

From-SVN: r29738
1999-10-01 00:43:27 +00:00
Tom Tromey
b65fcf051f * java/net/natPlainDatagramSocketImpl.cc: Indentation fix.
From-SVN: r29737
1999-09-30 22:20:29 +00:00
Jeff Law
87ff35c2fe Update copyright dates.
From-SVN: r29736
1999-09-30 16:08:56 -06:00
Jeffrey A Law
e85cde9a93 h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of generating RTL directly.
* h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
        generating RTL directly.
        * mips.h (INIT_TARGET_OPTABS): Likewise.
        * mn10200.h (INIT_TARGET_OPTABS): Likewise.

From-SVN: r29734
1999-09-30 12:50:56 -06:00
Mark Mitchell
af3b4e599c cp-tree.h (lang_decl_flags): Add global_ctor_p and global_dtor_p.
* cp-tree.h (lang_decl_flags): Add global_ctor_p and
	global_dtor_p.  Add init_priority.
	(DECL_ACCESS): Adjust accordingly.
	(DECL_GLOBAL_CTOR_P, DECL_GLOBAL_DTOR_P): New macros.
	(GLOBAL_INIT_PRIORITY): Likewise.
	* decl.c (lang_mark_tree): Adjust accordingly.
	(start_objects): Set DECL_GLOBAL_CTOR_P, DECL_GLOBAL_DTOR_P,
	and GLOBAL_INIT_PRIORITY.
	* dump.c (dequeue_and_dump): Print them.
	* ir.texi: Document them.

From-SVN: r29733
1999-09-30 17:43:44 +00:00
Jeff Law
f793a95e2e Move -Wfloat-equal into the correct location.
From-SVN: r29732
1999-09-30 11:21:30 -06:00
Mark Mitchell
313bc2c262 decl2.c (struct priority_info_s): Remove initialization_sequence and destruction_sequence.
* decl2.c (struct priority_info_s): Remove initialization_sequence
	and destruction_sequence.
	(start_static_storage_duration_function): Return the body of the
	function.  Convert for function-at-a-time mode.
	(generate_inits_for_priority): Remove.
	(finish_static_storage_duration_function): Change prototype.
	Adjust for function-at-a-time mode.
	(do_static_initialization): Likewise.
	(do_static_destruction): Likewise.
	(do_static_initialization_and_destruction): Remove.
	(start_static_initialization_or_destruction): New function.
	(finish_static_initialization_or_destruction): Likewise.
	(get_priority_info): Don't manipulation initialization_sequence or
	destruction_sequence.
	(prune_vars_needing_no_initialization): New function.
	(write_out_vars): Likewise.
	(finish_file): Use the various new functions instead of the old.

From-SVN: r29731
1999-09-30 15:48:19 +00:00
Bernd Schmidt
d9d5c9de1c Use lookup table to get register sizes in dwarf2 eh
From-SVN: r29730
1999-09-30 13:40:41 +00:00
Richard Earnshaw
a89e95f9fb c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR): Correctly build argument list to constructor and destructor functions.
* c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
Correctly build argument list to constructor and destructor functions.

From-SVN: r29728
1999-09-30 09:46:08 +00:00
Jeff Law
c61d8a8f41 Daily bump.
From-SVN: r29727
1999-09-30 01:45:12 -06:00
Jeffrey A Law
fec512b07e * expr.h (init_mov_optab): Delete declaration
From-SVN: r29726
1999-09-30 01:14:18 -06:00
Jeffrey A Law
2fa18a53bb * editbuf.cc, parsestream.cc, pfstream.cc: Include string.h.
From-SVN: r29725
1999-09-30 01:10:07 -06:00
Jeffrey A Law
fc80ea735e h8300.c (WORD_REG_USED): Update to avoid useless register saves in interrupt functions and functions...
* h8300.c (WORD_REG_USED): Update to avoid useless register
        saves in interrupt functions and functions which never return.

From-SVN: r29724
1999-09-30 01:00:53 -06:00
Dirk Zoller
b8d2540a85 * invoke.texi: Add docs for -Wfloat-equal warning.
From-SVN: r29723
1999-09-30 00:22:45 -06:00
Dirk Zoller
b843d2101e c-tree.h (warn_float_equal): Declare.
* c-tree.h (warn_float_equal): Declare.
        * c-decl.c (warn_float_equal): Define.
        (c_decode_option): Recognize -W[no-]float-equal.
        * c-typeck.c (build_binary_op): Conditionally warn
        about equality tests of floating point types.
        * toplev.c (documented_lan_options): Add -W[no-]float-equal.

From-SVN: r29722
1999-09-30 00:19:54 -06:00
Dirk Zoller
1bdba2c09c cp-tree.h (warn_float_equal): Declare.
* cp-tree.h (warn_float_equal): Declare.
        * decl2.c (warn_float_equal): Define.
        (lang_decode_option): Recognize -W[no-]float-equal.
        * typeck.c (build_binary_op_nodefault): Conditionally warn
        about equality tests of floating point types.

From-SVN: r29721
1999-09-30 00:15:53 -06:00
Donn Terry
061f7e4721 * gcc.misc-tests/mg.exp: delete extraneous redirection.
From-SVN: r29720
1999-09-29 23:50:28 -06:00
Jeffrey A Law
0339ce7e77 cse.c (struct set): Delete inner_dest_loc field.
* cse.c (struct set): Delete inner_dest_loc field.
        (cse_insn): Remove assignments to inner_dest_loc field.

From-SVN: r29719
1999-09-29 23:43:58 -06:00
Bryce McKinlay
faf1fdf0b2 README: New file.
1999-09-29  Bryce McKinlay  <bryce@albatross.co.nz>

        * README: New file.

From-SVN: r29717
1999-09-30 03:17:36 +01:00
Jason Merrill
a7fbfcf92a update -fno-rtti
From-SVN: r29716
1999-09-29 20:50:37 -04:00
Jason Merrill
db48b8315f Support normal type_info-based EH mechanisms with -fno-rtti.
* except.c (build_eh_type_type): Remove special -fno-rtti handling.
	(build_eh_type_type_ref): Likewise.
	(build_eh_type): Remove.
	(expand_throw): Call build_eh_type_type, not build_eh_type.
	* decl2.c (import_export_decl): Don't associate the tinfo fn with
	the vtable if -fno-rtti.
	* decl.c (init_decl_processing): Always init_rtti_processing.

	* rtti.c (get_typeid): Don't complain about -fno-rtti.

From-SVN: r29715
1999-09-29 20:50:29 -04:00
Tom Tromey
2450ddbbda re GNATS gcj/55 (jc1 dies on implicit String conversion)
* libjava.lang/PR55.out: New file.
	* libjava.lang/PR55.java: New file.

From-SVN: r29714
1999-09-29 23:10:11 +00:00
Richard Henderson
e5ecd4eab3 ggc-page.c: Don't include <unistd.h> etc taken care of by "system.h".
* ggc-page.c: Don't include <unistd.h> etc taken care of
        by "system.h".  Include <sys/mman.h> afterward.

From-SVN: r29713
1999-09-29 16:08:11 -07:00