2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2024-12-29 09:04:43 +08:00
Commit Graph

20174 Commits

Author SHA1 Message Date
Kaveh R. Ghazi
7e4311a31b * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
From-SVN: r24651
1999-01-13 11:30:56 +00:00
Kaveh R. Ghazi
efd59a3308 cccp.c (xstrdup): Renamed from `savestring'.
* cccp.c (xstrdup): Renamed from `savestring'.  All callers changed.
        Remove prototype which we get from libiberty.h.
        * collect2.c (xstrdup): Likewise.
        * genextract.c (xstrdup): Likewise for `copystr'.
        (mybzero): Remove it and use `memset' instead.
        * genoutput.c (mybcopy, mybzero): Remove these.  All callers changed
        to use `memcpy' and `memset' instead.
        * genrecog.c (xstrdup): Renamed from `copystr'.  All callers
        changed.  Remove prototype.
        (mybcopy, mybzero): Remove these and use memcpy/memset.

From-SVN: r24650
1999-01-13 10:46:45 +00:00
Andrew Haley
9684789222 expr.c (generate_name): Name prefix changed to avoid clashes with assembler temp labels.
1999-01-13  Andrew Haley  <aph@cygnus.com>
	* expr.c (generate_name): Name prefix changed to avoid clashes
	with assembler temp labels.
	* parse.y (patch_synchronized_statement): Set TREE_SIDE_EFFECTS on
	MODIFY_EXPR.  Without this, code for the assignement may not be
	generated at all and the synchronized statement will read an
	uninitialized variable.

From-SVN: r24649
1999-01-13 06:13:37 +00:00
Alexandre Petit-Bianco
ba179f9f6f class.c (maybe_layout_super_class): Fixed returned value.
Wed Jan 13 01:24:54 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* class.c (maybe_layout_super_class): Fixed returned value.
	* lex.c: Added 1999 to the copyright.
	(java_init_lex): Initialize java_lang_imported.
	* lex.h: Added 1999 to the copyright.
	* parse.h: Added 1999 to the copyright.
	(REGISTER_IMPORT): Fixed typo in trailing macro.
	(CURRENT_OSB): New macro.
	(struct parser_ctxt): New fields osb_depth, osb_limit.
	* parse.y (java_lang_id): New global variable.
	(type_import_on_demand_declaration): Don't import java.lang.* twice.
	(array_creation_expression:): Use CURRENT_OSB.
	(dims:): Uses a stack to keep track of array dimensions.
	(cast_expression:): Use CURRENT_OSB.
	(find_expr_with_wfl): Return NULL if node found doesn't meet the
 	conditions.
	(register_fields): Fixed typos in comment.
	(check_method_redefinition): Fixed comment indentation.
	(java_check_regular_methods): Set saved found wfl to NULL after
 	having reinstalled it in the previously found DECL_NAME.
Fix an array dimension counting bug and some random other ones.

From-SVN: r24648
1999-01-12 20:01:43 -08:00
Jeff Law
3c9a0f78d6 Daily bump.
From-SVN: r24647
1999-01-12 17:45:04 -07:00
Jeff Law
a872728cc9 mips.h (LOAD_EXTEND_OP): Correct for SImode and CCmode moves when generating code for TARGET_64BIT.
0
        * mips.h (LOAD_EXTEND_OP): Correct for SImode and CCmode moves when
        generating code for TARGET_64BIT.

From-SVN: r24646
1999-01-12 17:02:31 -07:00
Jeff Law
58f93603b6 mips.h (LOAD_EXTEND_OP): Correct for SImode and CCmode moves when generating code for TARGET_64BIT.
�
        * mips.h (LOAD_EXTEND_OP): Correct for SImode and CCmode moves when
        generating code for TARGET_64BIT.

From-SVN: r24645
1999-01-12 17:02:28 -07:00
Jeff Law
0cd4357773 More address fixes
From-SVN: r24644
1999-01-12 12:09:02 -07:00
Jeff Law
93bd6e278c How did these squeak through the address fixes?
From-SVN: r24643
1999-01-12 12:08:15 -07:00
David Edelsohn
8633fa24ba [multiple changes]
Tue Jan 12 14:05:37 1999   David Edelsohn  <edelsohn@mhpcc.edu>
        * rs6000.c (print_operand, cases 'm' and 'M'): Do not depend on
        HOST_WIDE_INT word-size.
        (rs6000_stack_info): Remove redundant alignment of fpmem.
Tue Jan 12 14:05:37 1999   Richard Henderson  <rth@cygnus.com>
        * rs6000.c (short_cint_operand): Remove CONSTANT_P_RTX handling.
        (u_short_cint_operand, reg_or_cint_operand, logical_operand): Likewise.
        (input_operand): Adjust CONSTANT_P_RTX handling.
        * rs6000.h (PREDICATE_CODES): Remove CONSTANT_P_RTX references.
        * rs6000.md (movsi): Adjust CONSTANT_P_RTX handling.
        (movhi, movqi): Remove CONSANT_P_RTX handling.
        (movdi): Adjust CONSTANT_P_RTX handling.

From-SVN: r24640
1999-01-12 06:26:45 -05:00
Stan Cox
6d4503c310 * mips.md (call_value_internal3c): New pattern for -mips16 -mlong-calls.
From-SVN: r24639
1999-01-12 10:46:58 +00:00
Manfred Hollstein
eb69139212 mot3300.h (ADD_MISSING_POSIX, [...]): Define to ensure all prototypes necessary for building libio will be available.
�
	* m68k/mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to
	ensure all prototypes necessary for building libio will be available.
	* m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Remove
	definitions here as they are not host specific.
	* m88k/sysv3.h, m88k/xm-sysv3.h: Likewise.

From-SVN: r24638
1999-01-12 04:16:49 +00:00
Richard Henderson
1ff136fd07 * cse.c (cse_insn): Never prefer (const (constant_p_rtx)).
From-SVN: r24637
1999-01-11 18:54:32 -08:00
Jeffrey A Law
fb857ec164 Bump for snapshot
From-SVN: r24635
1999-01-11 19:36:16 -07:00
Richard Henderson
dfcafcb608 * cp-tree.h (flag_permissive): Declare extern.
From-SVN: r24634
1999-01-11 18:06:57 -08:00
Richard Henderson
b0983bb9d5 * recog.h (recog_op_alt): Declare extern.
From-SVN: r24633
1999-01-11 18:02:37 -08:00
Richard Henderson
d6c0e1c8d0 * rtl.c (rtx_alloc): Use memset instead of inline loop.
From-SVN: r24632
1999-01-11 17:31:09 -08:00
Jeff Law
08b8d8e518 Daily bump.
From-SVN: r24631
1999-01-11 17:45:03 -07:00
Richard Henderson
fbdfe39cf2 function.c (purge_addressof_1): If the note accesses a mem+addressof in a wider mode than any replacement...
* function.c (purge_addressof_1): If the note accesses a mem+addressof
        in a wider mode than any replacement, adjust the cached replacement.
        Cache trivial substitutions as well.

From-SVN: r24629
1999-01-11 16:24:25 -08:00
Richard Henderson
5f6c11d6e5 Makefile.in (OBJECTS): Add sbitmap.o.
* Makefile.in (OBJECTS): Add sbitmap.o.
        (BASIC_BLOCK_H): Add sbitmap.h.
        * basic-block.h: Move simple bitmap code to sbitmap.h.
        * flow.c: Move simple bitmap code to sbitmap.c
        * sbitmap.h, sbitmap.c: New files.

From-SVN: r24628
1999-01-11 16:07:36 -08:00
Richard Henderson
ca7cdae3ed elf.h (ASM_FINISH_DECLARE_OBJECT): Use HOST_WIDE_INT_PRINT_DEC.
* alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Use HOST_WIDE_INT_PRINT_DEC.
Update copyrights.

From-SVN: r24627
1999-01-11 15:56:01 -08:00
Richard Henderson
f8e52397f0 alpha.h (TARGET_SWITCHES): Document switches.
* alpha.h (TARGET_SWITCHES): Document switches.
        (TARGET_OPTIONS): Likewise.

From-SVN: r24626
1999-01-11 15:54:53 -08:00
Jeff Law
5ad9818511 Opps. Copied in the wrong file for initial commit.
From-SVN: r24625
1999-01-11 16:40:03 -07:00
Richard Henderson
a5cad80034 Update copyrights.
From-SVN: r24624
1999-01-11 15:15:28 -08:00
Richard Henderson
a17fcad761 * tree.c (new_alias_set): Return zero if !flag_strict_aliasing.
From-SVN: r24623
1999-01-11 14:55:09 -08:00
Richard Henderson
3b413743e0 basic-block.h (basic_block_head): Rename to x_basic_block_head.
* basic-block.h (basic_block_head): Rename to x_basic_block_head.
        (basic_block_end): Rename to x_basic_block_end.
        (BLOCK_HEAD, BLOCK_END): Update.
        * caller-save.c: Change basic_block_head/end references to
        BLOCK_HEAD/END.
        * combine.c, flow.c, function.c, gcse.c, global.c: Likewise.
        * graph.c, haifa-sched.c, local-alloc.c, regclass.c: Likewise.
        * regmove.c, reload1.c, reorg.c, sched.c: Likewise.

From-SVN: r24622
1999-01-11 14:37:20 -08:00
Jeff Law
f0974237d4 FSF address fix in copyright header.
From-SVN: r24620
1999-01-11 07:12:18 -07:00
Jeff Law
ab97ebb9f8 Update FSF address in copyright header.
From-SVN: r24619
1999-01-11 07:09:10 -07:00
Jeff Law
2892309926 More address fixes.
From-SVN: r24618
1999-01-11 07:06:22 -07:00
Jeff Law
916a8c46b9 Update FSF address in copyright header.
From-SVN: r24617
1999-01-11 06:53:51 -07:00
Jeff Law
5987b12cae Fix FSF address in copyright header.
From-SVN: r24616
1999-01-11 06:47:11 -07:00
Jeff Law
63fdf24a7a More FSF address updates.
From-SVN: r24615
1999-01-11 06:43:27 -07:00
Jeff Law
5f38fdda61 Update FSF address in copyright header.
From-SVN: r24614
1999-01-11 06:34:38 -07:00
Jeff Law
aa5a7ea392 Update FSF address in copyright notice.
From-SVN: r24613
1999-01-11 06:25:48 -07:00
Jeff Law
6f48294de2 Update FSF address in copyright header.
From-SVN: r24612
1999-01-11 06:17:38 -07:00
Jeff Law
201853b4a8 Fix FSF address in copyright header.
From-SVN: r24611
1999-01-11 06:10:27 -07:00
Andreas Schwab
27d0138b8c Update copyright.
From-SVN: r24610
1999-01-11 02:00:26 +00:00
Jeff Law
b024997a17 Daily bump.
From-SVN: r24609
1999-01-10 17:45:33 -07:00
Richard Henderson
b6186fe678 gjavah.c (java_float_finite): Use a union to do type punning.
* gjavah.c (java_float_finite): Use a union to do type punning.
        (java_double_finite): Likewise.

From-SVN: r24608
1999-01-10 05:36:44 -08:00
Jeff Law
7c4710c720 Daily bump.
From-SVN: r24607
1999-01-09 17:45:02 -07:00
Kaveh R. Ghazi
ed35cf6e8b gcc.c (xstrerror): Renamed from my_strerror.
* gcc.c (xstrerror): Renamed from my_strerror.  All callers
        changed.  Remove prototype since we get that from libiberty.h.
        * protoize.c (xstrerror): Likewise.

From-SVN: r24605
1999-01-09 20:59:12 +00:00
Kaveh R. Ghazi
22d9f2cfb4 Warning fixes:
* gcc.c (read_specs): Ensure format specifiers match their arguments.

From-SVN: r24604
1999-01-09 20:28:30 +00:00
Richard Henderson
c2c41b7eac tree.c (copy_node): Oops.
* tree.c (copy_node): Oops.  That would be copy not zero
        in that last change.

From-SVN: r24603
1999-01-09 12:05:18 -08:00
Richard Henderson
1f5080161b Update copyright.
From-SVN: r24602
1999-01-09 11:56:28 -08:00
Richard Henderson
42cb11fcc9 Remove now-unused variables.
From-SVN: r24601
1999-01-09 11:45:34 -08:00
Michael Hayes
5e6a42d9e4 c4x.c: Include system.h.
* config/c4x/c4x.c: Include system.h.
 	(c4x_caller_save_map): Disable caller save for RC.
	(c4x_optimization_options): Disable scheduling before reload.
	(valid_parallel_load_store) : Define return type as int.
	Remove unused variable regs.
	* config/c4x/c4x.h (REGISTER_MOVE_COST): Make independent of register
	class.
	* config/c4x/c4x.md (rotlqi3, rotrqi3): Fix up emitted RTL to
	handle rotations.
	(*db, decrement_and_branch_until_zero): Fix up constraints
	to keep reload happy.

From-SVN: r24600
1999-01-09 18:46:10 +00:00
Richard Henderson
dfa27ef1db tree.c (make_node): Call bzero instead of inline clear.
* tree.c (make_node): Call bzero instead of inline clear.
        (copy_node, make_tree_vec, build1): Likewise.
        (get_identifier): Call strlen instead of inline count.
        (maybe_get_identifier): Likewise.

From-SVN: r24599
1999-01-09 10:37:42 -08:00
Michael Hayes
dfb31eec9d c4x.md: (in_annul_slot_3): Allow unarycc and binarycc operations in 3rd annulled delay slot.
* config/c4x/c4x.md: (in_annul_slot_3): Allow unarycc and binarycc
	operations in 3rd annulled delay slot.
	(*lshrqi3_const_set): Disallow c constraint for operand0.
	(modhi3+1, modhi3+2): Set attribute type to multi.
	* config/c4x/c4x.c (c4x_S_constraint): Removed space in middle of
	!= operator.

From-SVN: r24592
1999-01-09 17:10:22 +00:00
Robert Lipe
377d43163e Another attempt to get tm-dwarf2.h onto the TRUNK instead of the fixinc-branch.
Another attempt to get tm-dwarf2.h onto the TRUNK instead of the
fixinc-branch.
* configure.in: New flag --with-dwarf2.   If set, enables DWARF-2
debugging as default.
* config/tm-dwarf2.h: New file.

From-SVN: r24581
1999-01-09 13:07:52 +00:00
Per Bothner
fe053cfc67 parse.y (build_new_array_init): Don't set EXPR_WFL_LINECOL on CONSTRUCTOR (since that trashes TREE_CST_RTL).
* parse.y (build_new_array_init):  Don't set EXPR_WFL_LINECOL
	on CONSTRUCTOR (since that trashes TREE_CST_RTL).
	(patch_new_array_init):  Clear TREE_CONSTANT also if INDIRECT_REF.
	(register_fields):  Set TREE_STATIC on NEW_ARRAY_INIT, not on
	CONSTRUCTOR (which causes expand_expr to call output_constant_def).
	* expr.c (java_lang_expand_expr):  Check TREE_STATIC of NEW_ARRAY_INIT.

From-SVN: r24580
1999-01-09 04:49:07 -08:00