Commit Graph

20295 Commits

Author SHA1 Message Date
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
Per Bothner
ef0fec0643 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: r24579
1999-01-09 04:49:05 -08:00
Per Bothner
5bba48071e parse.y (build_new_array_init): Don't set EXPR_WFL_LINECOL on CONSTRUCTOR (since that trashes TREE_CST_RTL).
d
	* 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: r24578
1999-01-09 04:49:03 -08:00
Kaveh R. Ghazi
a6b1d0a743 gansidecl.h: Allow attribute unused on labels only when we are version 2.93 or higher.
* gansidecl.h: Allow attribute unused on labels only when we are
        version 2.93 or higher.  Not all versions of 2.92 have this feature.
        * version.c: Bump minor number to 93.

From-SVN: r24577
1999-01-09 08:48:06 +00:00
Jeff Law
2259ab56cc Daily bump.
From-SVN: r24576
1999-01-08 17:45:02 -07:00
Per Bothner
b82daa8701 check-init.c (check_init): If compiling to native, we don't see THROW_EXPR.
@
	* check-init.c (check_init):  If compiling to native, we don't
	see THROW_EXPR.  Instead, look for a call to throw_node (_Jv_Throw).

From-SVN: r24575
1999-01-08 07:50:10 -08:00
Jeffrey A Law
642cac7ba0 stmt.c (optimize_tail_recursion): New function, extracted from ...
* stmt.c (optimize_tail_recursion): New function, extracted from ...
        (expand_return): Use optimize_tail_recursion.
        * tree.h (optimize_tail_recursion): Declare.

From-SVN: r24574
1999-01-08 05:05:20 -07:00
Tom Tromey
5c280133c9 parse-scan.y (variable_declarator_id): Set or increment bracket_count.
* parse-scan.y (variable_declarator_id): Set or increment
	bracket_count.
	(bracket_count): New global.
	(formal_parameter): Handle case where bracket pairs trail variable
	declarator id.

From-SVN: r24573
1999-01-08 11:54:27 +00:00
Gerald Pfeifer
9de843ca79 system.h (abort): Supply more detailed information on how to report an Internal Compiler Error.
* system.h (abort): Supply more detailed information on how to
	report an Internal Compiler Error.

From-SVN: r24571
1999-01-08 04:51:16 +00:00
Andreas Schwab
523bb0bad1 m68k.h: Declare output_function_epilogue.
* config/m68k/m68k.h: Declare output_function_epilogue.
	* recog.h: Declare next_insn_tests_no_inequality.

From-SVN: r24570
1999-01-08 02:01:01 +00:00
Richard Henderson
b73bf65ffd Update copyrights.
From-SVN: r24569
1999-01-07 17:02:43 -08:00
Jeff Law
800d15c6c7 Copyright update
From-SVN: r24568
1999-01-07 17:54:46 -07:00
Jeffrey A Law
2668793e69 toplev.c (compile_file): Move call to output_func_start_profiler to after the loop to emit deferred...
* toplev.c (compile_file): Move call to output_func_start_profiler
        to after the loop to emit deferred functions.

From-SVN: r24567
1999-01-07 17:46:25 -07:00
Jeff Law
621f5a0fd8 Daily bump.
From-SVN: r24566
1999-01-07 17:45:02 -07:00
Jeffrey A Law
2c615241f3 * gcc.c-torture/compile/990107-1.c: New test
From-SVN: r24565
1999-01-07 15:42:52 -07:00
Jeff Law
42b17236df Close comment in copyright
From-SVN: r24564
1999-01-07 15:02:07 -07:00
Mark Mitchell
8e6a59feeb calls.c (store_unaligned_arguments_into_pseudos): Use xmalloc to allocate memory that will live beyond this function.
* calls.c (store_unaligned_arguments_into_pseudos): Use xmalloc to
        allocate memory that will live beyond this function.
        (expand_call): Free it here.

From-SVN: r24561
1999-01-07 04:29:38 -07:00
Andrew Haley
5e1db167b7 jcf-parse.c (yyparse): variable len changed from a char to an int to prevent overflow.
1999-01-07  Andrew Haley  <aph@viagra.cygnus.co.uk>
	* jcf-parse.c (yyparse): variable len changed from a char to an
	int to prevent overflow.

From-SVN: r24560
1999-01-07 10:15:33 +00:00
Richard Henderson
8947065c44 sparc.h (PREFERRED_RELOAD_CLASS): Select GENERAL_REGS for integer data not destined for fp regs.
* sparc.h (PREFERRED_RELOAD_CLASS): Select GENERAL_REGS for
        integer data not destined for fp regs.
        (LEGITIMIZE_RELOAD_ADDRESS): New.
Thu Jan  7 03:03:42 1999  Stan Cox  <scox@cygnus.com>
                          Richard Henderson  <rth@cygnus.com>
        Support for Hypersparc and Sparclite86x:
        * sparc.h (TARGET_CPU_hypersparc, TARGET_CPU_sparclite86x): New.
        (CPP_CPU32_DEFAULT_SPEC): Fix up for the new targets.
        (ASM_CPU32_DEFAULT_SPEC): Likewise.
        (TARGET_CPU_DEFAULT): Likewise.
        (enum processor_type): Likewise.
        (CPP_ENDIAN_SPEC): Handle little endian data.
        (LIBGCC2_WORDS_BIG_ENDIAN): Likewise.
        (ADJUST_COST): Call sparc_adjust_cost.
        * sparc.c (sparc_override_options): Fix up for the new targets.
        (supersparc_adjust_cost): Make static.
        (hypersparc_adjust_cost): New.
        (ultrasparc_adjust_cost): Make static.
        (sparc_adjust_cost): New.
        * sparc.md (attr cpu): Add hypersparc and sparclite86x.
        (function_unit): Add hypersparc scheduling rules.
        * configure.in (with_cpu handler): Recognize hypersparc.

From-SVN: r24556
1999-01-06 19:18:28 -08:00
Michael Hayes
4ddb3ea6f7 c4x.c: Added space after negation operator.
* config/c4x/c4x.c: Added space after negation operator.
	* config/c4x/c4x.h: Likewise.
	* config/c4x/c4x.md: Likewise.

From-SVN: r24555
1999-01-07 02:53:44 +00:00
Michael Hayes
f2b15118d6 * config/c4x/c4x.c (c4x_preferred_reload_class): Always return class.
From-SVN: r24554
1999-01-07 02:38:35 +00:00
Jeff Law
08254bbd87 Daily bump.
From-SVN: r24553
1999-01-06 17:45:02 -07:00
Alexandre Oliva
692c4bf5c6 test_summary (version): remove carriage return that gawk inserts in the version string for some reason
* test_summary (version): remove carriage return that gawk inserts
	in the version string for some reason

From-SVN: r24552
1999-01-07 00:17:40 +00:00
Jeff Law
1bf27b5bf3 Fix copyright.
From-SVN: r24551
1999-01-06 16:44:26 -07:00
Jeffrey A Law
1d1c12f423 * gcc.c-torture/execute/990106-2.c: New test.
From-SVN: r24550
1999-01-06 16:43:19 -07:00
Mark Mitchell
4c57111494 cp-tree.h (IDENTIFIER_TYPENAME_P): Use OPERATOR_TYPENAME_FORMAT here.
* cp-tree.h (IDENTIFIER_TYPENAME_P): Use OPERATOR_TYPENAME_FORMAT
	here.
	(lang_type): Add is_partial_instantiation.  Decrease width of
	dummy.
	(PARTIAL_INSTANTIATION_P): New macro.
	(OPERATOR_TYPENAME_P): Remove.
	* decl.c (unary_op_p): Use IDENTIFIER_TYPENAME_P, not
	OPERATOR_TYPENAME_P.
	(grok_op_properties): Likewise.
	* friend.c (do_friend): Handle friends that are member functions
	correctly.
	* lex.c (init_parse): Use OPERATOR_TYPENAME_FORMAT.
	* pt.c (instantiate_class_template): Rework for clarity.  Avoid
	leaving TYPE_BEING_DEFINED set in obscure cases.  Don't do
	any more partial instantiation than is absolutely necessary for
	implicit typename.  Set PARTIAL_INSTANTIATION_P.
	(tsubst_decl): Use IDENTIFIER_TYPENAME_P.
	* semantics.c (begin_class_definition): Handle partial
	specializations of a type that was previously partially
	instantiated.

From-SVN: r24548
1999-01-06 23:38:05 +00:00
Bernd Schmidt
70186b342c combine.c (num_sign_bit_copies): In NEG...
* combine.c (num_sign_bit_copies): In NEG, MULT, DIV and MOD cases,
        when a test can't be performed due to limited width of
        HOST_BITS_PER_WIDE_INT, use the more conservative approximation.
        Fix UDIV case for cases where the first operand has the highest bit
        set.

From-SVN: r24547
1999-01-06 16:33:29 -07:00
Lutz Vieweg
548e44b336 pa.h (reg_class): Add FPUPPER_REGS.
* pa.h (reg_class): Add FPUPPER_REGS.
        (REG_CLASS_NAMES): Similarly.
        (REG_CLASS_CONTENTS): Similarly
        (REGNO_REG_CLASS): Handle FPUPPER_REGS.
        (FP_REG_CLASS_P): Likewise.
        (REG_CLASS_FROM_LETTER): Similarly.
        (CLASS_MAX_NREGS): Similarly.

From-SVN: r24546
1999-01-06 16:06:29 -07:00
Jeffrey A Law
ee65dab841 * h8300.h (ASM_OUTPUT_LABELREF): Define.
From-SVN: r24544
1999-01-06 15:40:19 -07:00
Per Bothner
01f7628374 i
Fixed some stupid typos that managed to get checked in.

From-SVN: r24543
1999-01-06 14:15:40 -08:00