Commit Graph

24531 Commits

Author SHA1 Message Date
Brendan Kehoe
9c07e4790f regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we climb up the chain of insns.
* regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
	climb up the chain of insns.

From-SVN: r29949
1999-10-13 13:28:29 -04:00
Richard Henderson
e8f9b13a30 genrecog.c (write_subroutine): Careful for null trees.
* genrecog.c (write_subroutine): Careful for null trees.
        (process_tree): Don't elide empty functions.

From-SVN: r29948
1999-10-13 10:22:40 -07:00
Richard Henderson
5c371bd09c Simplified GC interface and other goodies.
From-SVN: r29947
1999-10-13 10:20:53 -07:00
Richard Henderson
005537dfed Simplified GC interface and other goodies.
From-SVN: r29946
1999-10-13 10:09:18 -07:00
Mark Mitchell
1f1479dc91 decl.c (make_rtl_for_local_static): Don't create register RTL for addressable constants.
* decl.c (make_rtl_for_local_static): Don't create register RTL
	for addressable constants.

From-SVN: r29945
1999-10-13 16:13:25 +00:00
Alexandre Petit-Bianco
ce74b7d6e8 (Fixing malformed ChangeLog entries...)
From-SVN: r29944
1999-10-13 08:16:12 -07:00
Nathan Sidwell
7c4adc7fa8 vaarg2.C: New test.
* g++.old-deja/g++.other/vaarg2.C: New test.
	* g++.old-deja/g++.other/vaarg3.C: New test.

From-SVN: r29943
1999-10-13 08:57:25 +00:00
Nathan Sidwell
356955cfb5 cp-tree.h (build_x_va_arg): Prototype new function.
* cp-tree.h (build_x_va_arg): Prototype new function.
	* call.c (build_x_va_arg): Define it.
	* parse.y (unary_expr): Call build_x_va_arg.

	* cp-tree.h (convert_type_from_ellipsis): Prototype new function.
	* call.c (convert_type_from_ellipsis): Define it.
	* decl.c (init_decl_processing): Set lang_type_promotes_to.

	* tree.c (lvalue_p_1): Accept VA_ARG_EXPR with aggregates.

From-SVN: r29942
1999-10-13 08:49:54 +00:00
Carol LePage
a5037588b4 configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines, float_format and thread_file definitions.
* configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
        float_format and thread_file definitions.
        * configure: Rebuilt.

From-SVN: r29940
1999-10-13 01:52:43 -06:00
Jeff Law
da897f63ab Daily bump.
From-SVN: r29939
1999-10-13 01:45:10 -06:00
Niels Möller
22acfb79ae * extend.texi (Function Names): Document types of function names.
From-SVN: r29938
1999-10-13 07:27:10 +00:00
Mumit Khan
7f22ec2e64 basename.c (DIR_SEPARATOR): New macro.
* basename.c (DIR_SEPARATOR): New macro.
        (DIR_SEPARATOR_2): Likewise.
        (HAVE_DOS_BASED_FILESYSTEM): Likewise.
        (IS_DIR_SEPARATOR): Likewise.
        (main): Handle MSDOS style pathname.

From-SVN: r29937
1999-10-13 01:18:09 -06:00
Jeff Law
df1f639fb1 reload_out[i]->rld[i].out.
From-SVN: r29936
1999-10-13 00:48:26 -06:00
Bernd Schmidt
57850c857c reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with an earlyclobbered output conflict with RELOAD_INPUT...
* reload1.c (reload_reg_free_for_value_p):  RELOAD_OTHER reloads with
        an earlyclobbered output conflict with RELOAD_INPUT reloads.

From-SVN: r29935
1999-10-13 00:47:15 -06:00
Jason Merrill
c7847bc8f5 I get blanket write
From-SVN: r29934
1999-10-13 01:54:18 -04:00
Alexandre Petit-Bianco
b5edd13335 (RELOCATION_VALUE_1): Fixed integer value from 0 to 1.
Tue Oct 12 22:28:10 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * (RELOCATION_VALUE_1): Fixed integer value from 0 to 1.

From-SVN: r29933
1999-10-12 22:37:30 -07:00
Alexandre Petit-Bianco
cacc154ecc jcf-write.c: (RELOCATION_VALUE_0): New macro.
Tue Sep 14 16:24:19 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * jcf-write.c: (RELOCATION_VALUE_0): New macro.
        (RELOCATION_VALUE_1): Likewise.
        (emit_iinc, emit_reloc, push_constant1, push_constant2,
        push_in_const, push_long_const): Prototyped.
        (push_constant1): Argument `index' is of type HOST_WIDE_INT.
        (push_constant2): Likewise.
        (push_int_const): Cast find_constant1's integer arguments to `jword'.
        (find_constant_wide): Cast find_constant2's integer arguments to
        `jword'.
        (find_constant_index): Cast find_constant2's and find_constant2's
        integer arguments to `jword'.
        (emit_pop): Argument `value' is of type HOST_WIDE_INT.
        (emit_switch_reloc): Use RELOCATION_VALUE_0.
        (emit_if): Use RELOCATION_VALUE_1.
        (emit_goto): Likewise.
        (emit_jsr): Likewise.
        (generate_bytecode_insns): Use RELOCATION_VALUE_0. Cast second
        argument to push_long_const to HOST_WIDE_INT.

(This is a forgotten patch.)

From-SVN: r29932
1999-10-12 19:52:08 -07:00
Tom Tromey
006d4a9b37 configure: Rebuilt.
* configure: Rebuilt.
	* configure.in: Fixed test for --disable-java-net.

From-SVN: r29931
1999-10-13 00:00:35 +00:00
J"orn Rennecke
eafcc3d34a * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
From-SVN: r29930
1999-10-12 23:31:26 +01:00
J"orn Rennecke
4bdf538422 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
From-SVN: r29929
1999-10-12 23:23:37 +01:00
David Edelsohn
72c06938c8 * collect2.c (main): Do prelimnary link on AIX if rflag.
From-SVN: r29927
1999-10-12 17:13:13 -04:00
Greg McGary
e780ca1d84 Add myself
From-SVN: r29926
1999-10-12 19:20:45 +00:00
Jonathan Larmour
ac1389b705 eabi-ctors.c (__do_global_ctors): Run through __CTOR_LIST__ in opposite order...
* config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
        __CTOR_LIST__ in opposite order, which is the correct order for sorted
        constructors.
        (__do_global_dtors): similarly for __DTOR_LIST__.

From-SVN: r29925
1999-10-12 12:47:08 -04:00
Bruce Korb
9ffe22f9f2 merging from no_bogosity
From-SVN: r29924
1999-10-12 16:02:39 +00:00
Bruce Korb
bf66d77aa5 Protect the definitions of the t_bool enum
[[Split portion of a mixed commit.]]

From-SVN: r29923.2
1999-10-12 15:57:47 +00:00
J"orn Rennecke
8988641b74 sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to FPUL_REGS.
* config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
	FPUL_REGS.

Co-Authored-By: Diego Novillo <dnovillo@cygnus.com>

From-SVN: r29921
1999-10-12 11:28:17 -04:00
Craig Burley
8538ac5ea7 move 19990905-1.f into noncompile/ from compile/
From-SVN: r29920
1999-10-12 11:27:12 -04:00
Bruce Korb
f878ebdbe0 Merge from no_bogosity
From-SVN: r29919
1999-10-12 14:44:55 +00:00
Bruce Korb
5abc1f741e Merge from no_bogosity
From-SVN: r29918
1999-10-12 14:44:18 +00:00
Dave Love
9e15ef0520 aclocal.m4: Re-write, defining LIBU77_GETTIMEOFDAY, not LIBU77_HAVE_STRUCT_TIMEZONE.
* libU77/aclocal.m4: Re-write, defining LIBU77_GETTIMEOFDAY, not
        LIBU77_HAVE_STRUCT_TIMEZONE.

        * libU77/configure.in: Use LIBU77_GETTIMEOFDAY, not
        LIBU77_HAVE_STRUCT_TIMEZONE.  Don't check for gettimeofday
        separately.

        * libU77/datetime_.c (G77_date_and_time_0): Use
        GETTIMEOFDAY_ONE_ARGUMENT.

From-SVN: r29917
1999-10-12 02:39:35 -06:00
Jeff Law
6c7318be0f Daily bump.
From-SVN: r29916
1999-10-12 01:45:06 -06:00
Jim Wilson
c3fc86c9c1 Make fatal_insn calls in md file work.
* genoutput.c: Include toplev.h.

From-SVN: r29908
1999-10-11 20:28:42 -07:00
Jim Wilson
4239024fe3 ChangeLog entry for last sparc*-*-elf constructor change.
From-SVN: r29907
1999-10-11 19:04:13 -07:00
Jim Wilson
6eccdc8137 Fix sparc*-*-elf constructor problems; from Jason Merrill via Jonathan Larmour.
* config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
	Undef.
	* configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
	* configure: Regenerate.

From-SVN: r29906
1999-10-11 19:03:39 -07:00
Jason Merrill
8418192195 * class.c (fixed_type_or_null): Always set *nonnull.
From-SVN: r29905
1999-10-11 21:15:02 -04:00
Richard Henderson
5f537f6c86 * gcse.c (delete_null_pointer_checks): Returns void.
From-SVN: r29904
1999-10-11 16:22:41 -07:00
Jeff Law
cb469a0a12 Daily bump.
From-SVN: r29903
1999-10-11 13:35:32 -06:00
Bernd Schmidt
e63db8f67d Bring copy_insn_1 and copy_rtx in sync and simplify them
From-SVN: r29902
1999-10-11 18:42:36 +00:00
Mark Mitchell
7c56a6cef7 cplus-dem.c (do_type): Handle pointer to member types whose enclosing classes have namespace scope.
* cplus-dem.c (do_type): Handle pointer to member types whose
	enclosing classes have namespace scope.

From-SVN: r29901
1999-10-11 08:32:10 +00:00
Martin v. Löwis
ba33cb50d6 * newcvsroot: New file.
From-SVN: r29900
1999-10-11 07:07:39 +00:00
Martin v. Löwis
f4ae3f9bf1 New script to replace CVS/Root and CVS/Repository
From-SVN: r29899
1999-10-11 07:01:38 +00:00
Geoff Keating
b5d6a85051 mips.c (mips_build_va_list): Correct TREE_CHAIN setting when hard-float.
* config/mips/mips.c (mips_build_va_list): Correct
TREE_CHAIN setting when hard-float.
(mips_va_start): Use corrected setting.
(mips_va_arg): Likewise.  Also pass a tree to build of
POSTINCREMENT_EXPR rather than a naked 'int'.

From-SVN: r29898
1999-10-11 03:35:14 +00:00
Mark Mitchell
74c937ca61 ggc.h (ggc_push_context): Fix comment.
* ggc.h (ggc_push_context): Fix comment.
	(ggc_pop_context): Likewise.
	(mark_string_if_gcable): Likewise.
	* ggc-common.c (ggc_mark_rtx_children): Use
	ggc_mark_string_if_gcable.
	* ggc-page.c (ggc_lookup_page_table): New function.
	(ggc_allocated_p): Likewise.
	(mark_obj): Fix formatting.
	(ggc_mark_string_if_gcable): New function.
	* ggc-simple.c (ggc_allocated_strings): New variable.
	(ggc_strings_used): Likewise.
	(ggc_compare_addresses): New function.
	(ggc_pop_context): Pop the `any' memory too.
	(ggc_mark_string_if_gcable): New function.
	(ggc_collect): Initialize and tear down ggc_allocated_strings.

From-SVN: r29897
1999-10-11 02:11:21 +00:00
David Edelsohn
f9562f27ff rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
* rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
        (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
        * rs6000.c (expand_block_move): Match movstrsi_?reg register
        changes.

From-SVN: r29895
1999-10-10 20:39:30 -04:00
Richard Henderson
c46a37c417 haifa-sched.c (sched_reg_n_calls_crossed): Delete.
* haifa-sched.c (sched_reg_n_calls_crossed): Delete.
        (sched_reg_live_length, sched_reg_basic_block): Delete.
        (current_block_num, bb_live_regs, old_live_regs): Delete.
        (dead_notes, struct sometimes): Delete.
        (sched_note_set, birthing_insn_p): Delete.
        (adjust_priority): Gut useless reg lifetime code.
        (create_reg_dead_note, attach_deaths): Delete.
        (attach_deaths_insn, new_sometimes_live): Delete.
        (finish_sometimes_live): Delete.
        (find_pre_sched_live, find_post_sched_live): Delete.
        (update_reg_usage): Delete.
        (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
        (schedule_insns): Delete reg lifetime code.
        (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
        (unlink_other_notes): Adjust REG_NOTE commentary.
        (reemit_notes): Use REG_SAVE_NOTE.
        (schedule_block): Likewise.
        (schedule_region): Allocate bitmap of blocks in region.  Use
        count_or_remove_death_notes.  Use update_life_info.

        * rtl.h (REG_SAVE_NOTE): New.
        * rtl.c (reg_note_name): Update.

From-SVN: r29894
1999-10-10 16:45:27 -07:00
Richard Henderson
715e7fbc83 combine.c (refresh_blocks, [...]): New.
* combine.c (refresh_blocks, need_refresh): New.
        (combine_instructions): Allocate refresh_blocks.  Invoke
        update_life_info if needed.
        (distribute_notes): Mark refresh_blocks instead of installing
        USE insns.
        * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
        * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.

        * Makefile.in (recog.o): Depend on basic-block.h.

From-SVN: r29893
1999-10-10 16:34:17 -07:00
Jason Merrill
07b983cd71 checked in wrong version
From-SVN: r29892
1999-10-10 15:23:38 -04:00
Richard Henderson
c3693cb121 genrecog.c (add_to_sequence): Thinko last change: delete shadowing allow_const_int variable.
* genrecog.c (add_to_sequence): Thinko last change: delete
        shadowing allow_const_int variable.

From-SVN: r29891
1999-10-10 12:04:29 -07:00
Kaveh R. Ghazi
b30bce6b52 ansidecl.h (HAVE_GCC_VERSION): New macro.
include:
	* ansidecl.h (HAVE_GCC_VERSION): New macro.  Use instead of
	explicitly testing __GNUC__ and __GNUC_MINOR__.

	(ATTRIBUTE_PRINTF): Use `__format__', not `format'.

gcc:
	* cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
	__GNUC__ and __GNUC_MINOR__.

	* gansidecl.h: Likewise.

	* rtl.c: Likewise.

	* rtl.h: Likewise.

	* toplev.h: Likewise.

	* tree.c: Likewise.

	* tree.h: Likewise.

	* varray.c: Likewise.

	* varray.h: Likewise.

cp:
	* cp-tree.h: Use HAVE_GCC_VERSION instead of explicitly testing
	__GNUC__ and __GNUC_MINOR__.

f:
	* proj.h: Use HAVE_GCC_VERSION instead of explicitly testing
	__GNUC__ and __GNUC_MINOR__.  Don't define BUILT_WITH_270.
	Define macro UNUSED in terms of ATTRIBUTE_UNUSED.

From-SVN: r29890
1999-10-10 13:02:41 +00:00
Bernd Schmidt
4724334af7 Fix a warning in copy_insn_1
From-SVN: r29889
1999-10-10 12:06:33 +00:00