Commit Graph

20177 Commits

Author SHA1 Message Date
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
Brendan Kehoe 884ba59aa2 fixincludes: For HP/UX 10.20, also look in curses_colr/curses.h for a typedef of bool.
* fixincludes: For HP/UX 10.20, also look in curses_colr/curses.h
        for a typedef of bool.  Make sure to have a copy of the file is
        in place before we look to fix it.  Fix typo in variable name to
        FILE.

From-SVN: r24542
1999-01-06 17:05:45 -05:00
Jeffrey A Law 4f72f5dad7 pa.h (DONT_RECORD_EQUIVALENCE): Kill.
* pa.h (DONT_RECORD_EQUIVALENCE): Kill.
        * local-alloc.c (update_equiv_regs): Corresponding changes.
        * tm.texi (DONT_RECORD_EQUIVALENCE): Kill.

From-SVN: r24541
1999-01-06 14:44:21 -07:00
Jeff Law fbd8fef444 Copyright typo
From-SVN: r24540
1999-01-06 14:31:04 -07:00
Jeff Law 414b46a91d Copyright fixes.
From-SVN: r24539
1999-01-06 14:10:34 -07:00
Jeff Law e511adc05d Fix copyrights.
From-SVN: r24538
1999-01-06 14:10:08 -07:00
Jeff Law c12f524223 Copyright fixes.
From-SVN: r24537
1999-01-06 13:57:36 -07:00
Jeff Law 1b0c6de626 More copyright fixes. Oh what fun.
From-SVN: r24536
1999-01-06 13:51:20 -07:00
Jeff Law 4283012f9f Copyright fixes.
From-SVN: r24535
1999-01-06 13:44:41 -07:00
Jeff Law 2650c4e3e3 Fix copyright dates.
From-SVN: r24534
1999-01-06 13:13:47 -07:00
Jeff Law 0e6f067070 Update copyrights.
From-SVN: r24533
1999-01-06 13:10:40 -07:00
Jeff Law 5dda2fe8c7 Fix copyright dates.
From-SVN: r24532
1999-01-06 13:07:50 -07:00
Jeff Law fdf004cfcb Fix copyrights.
From-SVN: r24531
1999-01-06 13:02:36 -07:00
Jeff Law 44ba0e9336 Fix copyright dates.
From-SVN: r24530
1999-01-06 12:54:35 -07:00
Jeff Law ad83f53748 Fix copyrights.
From-SVN: r24529
1999-01-06 12:48:38 -07:00
Jeff Law 34f94b1ff9 Fix copyright date.
From-SVN: r24528
1999-01-06 12:42:20 -07:00
Jeff Law a5acf2a1f5 Fix copyright dates.
From-SVN: r24527
1999-01-06 12:40:37 -07:00
Jeff Law 3b917a5593 Revert changes which crept in by accident.
From-SVN: r24526
1999-01-06 12:02:42 -07:00
Richard Henderson 44d22bef0a expr.c (expand_builtin): Use value_mode for the return mode.
* expr.c (expand_builtin) [case BUILT_IN_CONSTANT_P]: Use
        value_mode for the return mode.

From-SVN: r24525
1999-01-06 10:51:30 -08:00