Commit Graph

21417 Commits

Author SHA1 Message Date
Martin v. Löwis ca704688be Adopt to standard requirements.
From-SVN: r26112
1999-04-02 04:40:06 +00:00
Jeff Law 302a3fa615 Daily bump.
From-SVN: r26111
1999-04-01 17:45:04 -07:00
Richard Henderson 0133b7d92c Move over patch from Bernd Schmidt from GC branch:
* emit-rtl.c (gen_rtx_CONST_DOUBLE): New function.
        (gen_rtx): Call it.  Tidy cases.
        * rtl.h (gen_rtx_CONST_DOUBLE): Prototype it.
        * gengenrtl.c: Add commentary.
        (special_rtx): Also match CONST_DOUBLE.
        (gencode): Emit call to memset instead of bzero.

From-SVN: r26110
1999-04-01 09:06:09 -08:00
Michael Hayes 4b97aaeb34 c4x.md (ashlhi3, [...]): Force operand 1 into a register if shift count not constant.
* config/c4x/c4x.md (ashlhi3, lshrhi3, ashrhi3): Force operand 1
	into a register if shift count not constant.
	(ashlhi3_reg, lshrhi3_reg, ashrhi3_reg): Ensure that operand 1
	is a register.

From-SVN: r26109
1999-04-01 17:02:51 +00:00
Michael Hayes 8de858c039 c4x.md (*db): Enable pattern if TARGET_LOOP_UNSIGNED is non-zero.
* config/c4x/c4x.md (*db): Enable pattern if TARGET_LOOP_UNSIGNED
	is non-zero.
	(movstrqi_small, movstrqi_large, *cmpstrqi): Add + modifier to address
 	register constraints.
	(*movhi_clobber+1): Modify splitter pattern to handle destination
	register that is used in the source address.
	(*xorhi3_clobber): Replace AND with XOR in call to legitimize_operands.

From-SVN: r26108
1999-04-01 16:40:38 +00:00
Michael Hayes 4adf744bb4 * config/c4x/c4x.h: Added more comments.
From-SVN: r26107
1999-04-01 16:16:53 +00:00
Michael Hayes 305902b006 c4x.c (c4x_emit_move_sequence): Force invalid QImode constants into memory if...
* config/c4x/c4x.c (c4x_emit_move_sequence): Force invalid QImode
	constants into memory if we get called directly from gen_move_insn
	rather than emit_move_insn.
	(c4x_legitimize_address): Fix up LABEL_REF addresses.

From-SVN: r26106
1999-04-01 16:02:07 +00:00
Nathan Sidwell ae9e7e16cd cvt.c (convert_pointer_to_real): Use same_type_p.
* cvt.c (convert_pointer_to_real): Use same_type_p.
	* typeck.c (comp_target_types): Use same_type_p.

From-SVN: r26105
1999-04-01 12:23:07 +00:00
Jim Wilson 6ab06cbb5b Fix irix6 libstdc++ v3 build failure with complex types.
* expr.c (store_field): When check direct_store, assume all complex
	modes can be directly stored.

From-SVN: r26104
1999-04-01 04:05:24 -08:00
Bruce Korb b7c8ae04e1 missing comment from yesterday + new shell script
From-SVN: r26103
1999-04-01 08:22:39 +00:00
Bruce Korb 4924608282 Shell script to create the generated files
from the templates and definitions.

From-SVN: r26102
1999-04-01 08:18:52 +00:00
Manfred Hollstein 69b2ac84b8 Makefile.in (cppmain$(exeext)): Depend on intl.o.
h
	* Makefile.in (cppmain$(exeext)): Depend on intl.o.  Link in intl.o.

From-SVN: r26101
1999-04-01 08:05:46 +00:00
Manfred Hollstein 454e562f6e Makefile.in (cppmain$(exeext)): Depend on intl.o.
�
	* Makefile.in (cppmain$(exeext)): Depend on intl.o.  Link in intl.o.

From-SVN: r26100
1999-04-01 08:05:43 +00:00
H.J. Lu 80309a9c53 i386.c (output_fp_conditional_move): Abort for LT, LE, GE, and GT signed integer comparisons.
* i386.c (output_fp_conditional_move): Abort for LT, LE, GE, and GT
        signed integer comparisons.

From-SVN: r26099
1999-03-31 20:01:19 -07:00
H.J. Lu 9a6ac4b0c2 i386.c (output_int_conditional_move): Use "enum rtx_code" for code type.
* i386.c (output_int_conditional_move): Use "enum rtx_code" for code
        type.

From-SVN: r26098
1999-03-31 19:56:31 -07:00
H.J. Lu a32126ad04 i386.c (notice_update_cc): No need to check the INT mode for conditional moves since FLOAT conditional...
* i386.c (notice_update_cc): No need to check the INT mode for
        conditional moves since FLOAT conditional moves don't affect cc0.

From-SVN: r26097
1999-03-31 19:53:54 -07:00
Jeffrey A Law ccce12f3f3 inclhack.def (zzz_ki_syscalls, zzz_time): Fix trigger string to only match on hpux11.
* fixinc/inclhack.def (zzz_ki_syscalls, zzz_time): Fix trigger
        string to only match on hpux11.
        * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixinc.sh: Rebuilt.

From-SVN: r26096
1999-03-31 18:19:07 -07:00
Jeff Law 64f05e9094 Daily bump.
From-SVN: r26095
1999-03-31 17:45:04 -07:00
Alexandre Oliva 0cb97c8d0c hackshell.tpl: Complete transition to fixinc.tmp.
* fixinc/hackshell.tpl: Complete transition to fixinc.tmp.
        * fixinc/inclhack.sh: Rebuilt.

From-SVN: r26094
1999-03-31 17:25:26 -07:00
Alexandre Oliva adc8046e1d inclhack.def: Fix typos in c_asm.h fix.
* fixinc/inclhack.def: Fix typos in c_asm.h fix.
        * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixinc.sh: Rebuilt.

From-SVN: r26093
1999-03-31 17:15:14 -07:00
Jason Merrill 51632249ef semantics.c (begin_inline_definitions, [...]): Rename from finish_default_args and begin_inline_definitions...
* semantics.c (begin_inline_definitions,
	finish_inline_definitions): Rename from finish_default_args and
	begin_inline_definitions, respectively, to something that isn't a
	total lie.  :)
	* parse.y (structsp): Adjust.
	* tree.c (hash_tree_cons): Remove obsolete via_* parms.
	(list_hash_lookup): Likewise.
	(hash_tree_chain): Adjust.
	* pt.c (tsubst): Adjust.
	(tsubst_arg_types): Use plain hash_tree_cons.
	* cp-tree.h (hash_tree_cons_simple): Lose.
	* parse.y (declmods, nonempty_cv_qualifiers): Use hash_tree_cons.

From-SVN: r26092
1999-03-31 13:59:19 -05:00
Jeffrey A Law bbd2180d18 toplev.c (rest_of_compilation): Allow dbr_schedule to write to the dump file too.
* toplev.c (rest_of_compilation): Allow dbr_schedule to write to
        the dump file too.

From-SVN: r26091
1999-03-31 09:26:36 -07:00
Richard Henderson 359da67d8a flow.c (find_basic_blocks): New argument `do_cleanup'.
* flow.c (find_basic_blocks): New argument `do_cleanup'.
        Conditionally call delete_unreachable_blocks.
        (free_basic_block_vars): Zero ENTRY/EXIT data.
        (allocate_for_life_analysis): Kill.  Split into...
        (allocate_bb_life_data, allocate_reg_life_data): ... new functions.
        (life_analysis_1): Update.
        * gcse.c (gcse_main): Update find_basic_blocks call.
        * toplev.c (rest_of_compilation): Likewise.
        * stupid.c (stupid_life_analysis): Update life data calls.
        * rtl.h, output.h: Update prototypes.

From-SVN: r26090
1999-03-31 04:41:03 -08:00
Bruce Korb 42493273de updates, cleanups and reworking of fixinc
From-SVN: r26089
1999-03-31 12:13:32 +00:00
Bruce Korb 48bd952911 regenerated
From-SVN: r26088
1999-03-31 12:05:26 +00:00
Bruce Korb 8f34d1e946 added spaces to ensure correct shell syntax.
Added test to ensure '//' comments were not deleted inside strings
Added the missing c_asm.h fix

From-SVN: r26087
1999-03-31 12:02:19 +00:00
Bruce Korb 7d9ccd90ff Reworked method for traversing sym-linked directory hierarchies
From-SVN: r26086
1999-03-31 11:51:29 +00:00
Tom Tromey 5877286edf gjavah.c (print_field_info): Allow constants of other types.
* gjavah.c (print_field_info): Allow constants of other types.
	(print_include): Generate include when new name is proper prefix
	of already printed name.
	(add_namelet): Likewise.
	(cxx_keyword_subst): New function.
	(print_method_info): Use it.
	(print_field_name): New function.
	(get_field_name): New function.
	(print_field_info): Use get_field_name and print_field_name.

From-SVN: r26085
1999-03-31 11:46:42 +00:00
Kaveh R. Ghazi 8d0823e282 configure.in (extra_includes): Don't attempt to calculate the location of the gcc src or obj directories.
* configure.in (extra_includes): Don't attempt to calculate the
        location of the gcc src or obj directories.  Instead rely on
        precomputed variables, $topsrcdir and $r, to obtain these values.
        Set -I flags appropriately.

From-SVN: r26084
1999-03-31 10:56:35 +00:00
Philip Blundell 863ebdad19 Apply patch from Philip Blundel to fix a few ARM/Linux nits.
From-SVN: r26083
1999-03-31 10:25:40 +00:00
Kaveh R. Ghazi 6a28cabc20 Makefile.in (keyword.h): Generate using gperf language 'C'...
* Makefile.in (keyword.h): Generate using gperf language 'C', not
        'KR-C', so gperf uses the `const' keyword on strings.
        * keyword.gperf (java_keyword): Const-ify a char*.

From-SVN: r26082
1999-03-31 08:05:08 +00:00
Kaveh R. Ghazi 8e6befc1df Makefile.in (hash.h): Generate using gperf language 'C'...
* Makefile.in (hash.h): Generate using gperf language 'C', not
        'KR-C', so gperf uses the `const' keyword on strings.
        * gxx.gperf (resword): Const-ify a char*.

From-SVN: r26081
1999-03-31 07:51:10 +00:00
Kaveh R. Ghazi 63e5baa6c9 Makefile.in (hash.h): Generate using gperf language 'C'...
* Makefile.in (hash.h): Generate using gperf language 'C', not
        'KR-C', so gperf uses the `const' keyword on strings.
        * gperf (resword): Const-ify a char*.

From-SVN: r26080
1999-03-31 07:48:00 +00:00
Kaveh R. Ghazi 0728688f0e Makefile.in (c-gperf.h): Generate using gperf language 'C'...
* Makefile.in (c-gperf.h): Generate using gperf language 'C', not
        'KR-C', so gperf uses the `const' keyword on strings.
        * c-parse.gperf (resword): Const-ify a char*.

From-SVN: r26079
1999-03-31 07:43:52 +00:00
Martin v. Löwis baa5df30bb New test case suggested by Nathan Sidwell <nathan@acm.org>
From-SVN: r26078
1999-03-31 06:08:41 +00:00
Ian Lance Taylor d1c7c49566 * t-rtems (LIMITS_H_TEST, LIBGCC2_INCLUDES): Define.
From-SVN: r26077
1999-03-30 17:50:40 -07:00
Jeff Law 6d5a85d31c Daily bump.
From-SVN: r26076
1999-03-30 17:45:04 -07:00
Jeff Law 2b478d6169 Update tege's address.
From-SVN: r26075
1999-03-30 17:40:30 -07:00
Jeffrey A Law 924d8a7cbd * system.h (STDERR_FILENO): Fix typo.
From-SVN: r26074
1999-03-30 17:40:29 -07:00
Jeffrey A Law b080ce780a inclhack.def (bool): Also fix bogus bool in curses_colr/curses.h
* inclhack.def (bool): Also fix bogus bool in curses_colr/curses.h
        * fixincl.x, inclhack.sh, fixincl.sh: Rebuilt.

From-SVN: r26073
1999-03-30 17:20:47 -07:00
Jeff Law 79b96d9b8c Fix bad ChangeLog entry.
From-SVN: r26072
1999-03-30 16:41:26 -07:00
Jason Merrill 9e0781b581 cp-tree.h (IDENTIFIER_AS_DESC, [...]): Remove cruft.
* cp-tree.h (IDENTIFIER_AS_DESC, IDENTIFIER_AS_LIST,
	CLASSTYPE_BASELINK_VEC, CLASSTYPE_N_SUPERCLASSES,
	CLASSTYPE_N_BASECLASSES, CLASSTYPE_MAX_DEPTH,
	CLASSTYPE_BASE_INIT_LIST, CLASSTYPE_AS_LIST, CLASSTYPE_ID_AS_LIST,
	CLASSTYPE_BINFO_AS_LIST): Remove cruft.
	* class.c, lex.c, parse.y, ptree.c, search.c, semantics.c,
	tree.c: Adjust.

From-SVN: r26071
1999-03-30 18:30:32 -05:00
Jason Merrill fa848ee014 update
From-SVN: r26070
1999-03-30 18:22:28 -05:00
Mark Mitchell 30f7237966 alias.c (alias_set_compare): Remove.
* alias.c (alias_set_compare): Remove.
	(record_alias_subset): Use splay_tree_compare_ints instaed of
	alias_set_compare.
	(init_alias_once): Likewise.
	* cse.c: Include splay-tree.h.
	(reg_qty): Remove.
	(reg_tick): Likewise.
	(reg_table): Likewise.
	(cse_reg_info): New structure.
	(cse_reg_info_free_list): New variable.
	(cse_reg_info_tree): Likewise.
	(cached_regno): Likewise.
	(cached_cse_reg_info): Likewise.
	(all_minus_one): Remove.
	(consec_ints): Likewise.
	(GET_CSE_REG_INFO): New macro.
	(REG_TICK): Likewise.  Use throughout instead of reg_tick.
	(REG_IN_TABLE): Likewise.  Use throughout instead of reg_in_table.
	(REG_QTY): Likewise.  Use throughout instead of reg_qty.
	(get_cse_reg_info): New function.
	(free_cse_reg_info): Likewise.
	(new_basic_block): Reinitialize cse_reg_info_tree instead of
	reg_tick, all_minus_one, and consec_ints.
	* Makefile.in (cse.o): Depend on splay-tree.h
	* splay-tree.h (splay_tree_compare_ints): Declare.
	* splay-tree.c (splay_tree_compare_ints): Define.

From-SVN: r26069
1999-03-30 20:52:33 +00:00
Tom Tromey 4cc48683f6 cplus-dem.c (consume_count): If `count' wraps, return 0 and don't advance input pointer.
* cplus-dem.c (consume_count): If `count' wraps, return 0 and
	don't advance input pointer.
	(demangle_class_name): If consume_count didn't find a count, do
	nothing.  Don't bother with `strlen' sanity check; consume_count
	does it for us.

From-SVN: r26068
1999-03-30 16:12:25 +00:00
Jason Merrill 85a0b07565 new
From-SVN: r26067
1999-03-30 10:04:45 -05:00
Jason Merrill 51980de69e libgcc2.c (throw_helper): Just return the SP offset, rather than a whole udata.
* libgcc2.c (throw_helper): Just return the SP offset, rather than
	a whole udata.  Include args_size in the offset.
	(__throw, __rethrow): Adjust.

From-SVN: r26066
1999-03-30 09:12:49 -05:00
Alexandre Petit-Bianco 1504b2b439 [multiple changes]
Tue Mar 30 11:31:53 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* parse.y (patch_bc_statement): Fixed identation and a bogus
 	`printf' format.
Tue Mar 30 11:29:29 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* parse.y (patch_assignment): Allow static variables in other
 	classes to be assigned.

From-SVN: r26065
1999-03-30 03:35:27 -08:00
Kaveh R. Ghazi 04d87103d4 Warning fixes:
* sta.c (ffesta_ffebad_1sp, ffesta_ffebad_1st, ffesta_ffebad_2st):
        Const-ify a char*.
        * sta.h (ffesta_ffebad_1sp, ffesta_ffebad_1st, ffesta_ffebad_2st):
        Likewise.
        * stb.c (ffestb_local_u_): Likewise.
        (ffestb_do, ffestb_dowhile, ffestb_else, ffestb_elsexyz,
        ffestb_else3_, ffestb_endxyz, ffestb_goto, ffestb_let,
        ffestb_type, ffestb_type1_, ffestb_varlist, ffestb_R423B,
        ffestb_R522, ffestb_R528, ffestb_R542, ffestb_R834, ffestb_R835,
        ffestb_R838, ffestb_R841, ffestb_R1102, ffestb_blockdata,
        ffestb_R1212, ffestb_R1228, ffestb_V009, ffestb_module,
        ffestb_R809, ffestb_R810, ffestb_R10014_, ffestb_R10015_,
        ffestb_R10018_, ffestb_R1107, ffestb_R1202, ffestb_R12026_,
        ffestb_S3P4, ffestb_V012, ffestb_V014, ffestb_V025, ffestb_V0255_,
        ffestb_V020, ffestb_dimlist, ffestb_dummy, ffestb_R524,
        ffestb_R547, ffestb_decl_chartype, ffestb_decl_dbltype,
        ffestb_decl_gentype, ffestb_decl_recursive, ffestb_decl_entsp_2_,
        ffestb_decl_func_, ffestb_V003, ffestb_V016, ffestb_V027,
        ffestb_decl_R539): Likewise.
        * stb.h (_ffestb_args_): Likewise.
        * stc.c (ffestc_subr_binsrch_, ffestc_subr_is_present_,
        ffestc_subr_speccmp_, ffestc_R904, ffestc_R907): Likewise.
        * std.c (ffestd_R1001dump_1005_1_, ffestd_R1001dump_1005_2_,
        ffestd_R1001dump_1005_3_, ffestd_R1001dump_1005_4_,
        ffestd_R1001dump_1005_5_, ffestd_R1001dump_1010_1_,
        ffestd_R1001dump_1010_2_, ffestd_R1001dump_1010_3_,
        ffestd_R1001dump_1010_4_, ffestd_R1001dump_1010_5_): Likewise.
        * ste.c (ffeste_begin_iterdo_, ffeste_subr_file_): Likewise.
        * sts.c (ffests_printf_1D, ffests_printf_1U, ffests_printf_1s,
        ffests_printf_2Us, ffests_puts, ffests_puttext): Likewise.
        * sts.h (ffests_printf_1D, ffests_printf_1U, ffests_printf_1s,
        ffests_printf_2Us, ffests_puts, ffests_puttext): Likewise.
        * stt.c (ffestt_exprlist_drive, ffestt_implist_drive,
        ffestt_tokenlist_drive): Add prototype arguments.
        * stt.h (ffestt_exprlist_drive, ffestt_implist_drive,
        ffestt_tokenlist_drive): Likewise.
        * stu.c (ffestu_dummies_transition_): Likewise.
        (ffestu_sym_end_transition): Const-ify a char*.
        * stw.c (ffestw_display_state, ffestw_new, ffestw_pop): Add
        prototype arguments.
        * stw.h (ffestw_display_state, ffestw_new, ffestw_pop): Likewise.
        * version.c (ffe_version_string): Const-ify a char*.
        * version.h (ffe_version_string): Likewise.

From-SVN: r26064
1999-03-30 09:23:52 +00:00
Craig Burley 24f98470c2 fix typo in extend.texi
From-SVN: r26063
1999-03-30 03:47:17 -05:00