gcc.git
25 years agoMore address fixes.
Jeff Law [Mon, 11 Jan 1999 14:06:22 +0000 (07:06 -0700)]
More address fixes.

From-SVN: r24618

25 years agoUpdate FSF address in copyright header.
Jeff Law [Mon, 11 Jan 1999 13:53:51 +0000 (06:53 -0700)]
Update FSF address in copyright header.

From-SVN: r24617

25 years agoFix FSF address in copyright header.
Jeff Law [Mon, 11 Jan 1999 13:47:11 +0000 (06:47 -0700)]
Fix FSF address in copyright header.

From-SVN: r24616

25 years agoMore FSF address updates.
Jeff Law [Mon, 11 Jan 1999 13:43:27 +0000 (06:43 -0700)]
More FSF address updates.

From-SVN: r24615

25 years agoUpdate FSF address in copyright header.
Jeff Law [Mon, 11 Jan 1999 13:34:38 +0000 (06:34 -0700)]
Update FSF address in copyright header.

From-SVN: r24614

25 years agoUpdate FSF address in copyright notice.
Jeff Law [Mon, 11 Jan 1999 13:25:48 +0000 (06:25 -0700)]
Update FSF address in copyright notice.

From-SVN: r24613

25 years agoUpdate FSF address in copyright header.
Jeff Law [Mon, 11 Jan 1999 13:17:38 +0000 (06:17 -0700)]
Update FSF address in copyright header.

From-SVN: r24612

25 years agoFix FSF address in copyright header.
Jeff Law [Mon, 11 Jan 1999 13:10:27 +0000 (06:10 -0700)]
Fix FSF address in copyright header.

From-SVN: r24611

25 years agoUpdate copyright.
Andreas Schwab [Mon, 11 Jan 1999 02:00:26 +0000 (02:00 +0000)]
Update copyright.

From-SVN: r24610

25 years agoDaily bump.
Jeff Law [Mon, 11 Jan 1999 00:45:33 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24609

25 years agogjavah.c (java_float_finite): Use a union to do type punning.
Richard Henderson [Sun, 10 Jan 1999 13:36:44 +0000 (05:36 -0800)]
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

25 years agoDaily bump.
Jeff Law [Sun, 10 Jan 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24607

25 years agogcc.c (xstrerror): Renamed from my_strerror.
Kaveh R. Ghazi [Sat, 9 Jan 1999 20:59:12 +0000 (20:59 +0000)]
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

25 years agoWarning fixes:
Kaveh R. Ghazi [Sat, 9 Jan 1999 20:28:30 +0000 (20:28 +0000)]
Warning fixes:

        * gcc.c (read_specs): Ensure format specifiers match their arguments.

From-SVN: r24604

25 years agotree.c (copy_node): Oops.
Richard Henderson [Sat, 9 Jan 1999 20:05:18 +0000 (12:05 -0800)]
tree.c (copy_node): Oops.

        * tree.c (copy_node): Oops.  That would be copy not zero
        in that last change.

From-SVN: r24603

25 years agoUpdate copyright.
Richard Henderson [Sat, 9 Jan 1999 19:56:28 +0000 (11:56 -0800)]
Update copyright.

From-SVN: r24602

25 years agoRemove now-unused variables.
Richard Henderson [Sat, 9 Jan 1999 19:45:34 +0000 (11:45 -0800)]
Remove now-unused variables.

From-SVN: r24601

25 years agoc4x.c: Include system.h.
Michael Hayes [Sat, 9 Jan 1999 18:46:10 +0000 (18:46 +0000)]
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

25 years agotree.c (make_node): Call bzero instead of inline clear.
Richard Henderson [Sat, 9 Jan 1999 18:37:42 +0000 (10:37 -0800)]
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

25 years agoc4x.md: (in_annul_slot_3): Allow unarycc and binarycc operations in 3rd annulled...
Michael Hayes [Sat, 9 Jan 1999 17:10:22 +0000 (17:10 +0000)]
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

25 years agoAnother attempt to get tm-dwarf2.h onto the TRUNK instead of the fixinc-branch.
Robert Lipe [Sat, 9 Jan 1999 13:07:52 +0000 (13:07 +0000)]
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

25 years agoparse.y (build_new_array_init): Don't set EXPR_WFL_LINECOL on CONSTRUCTOR (since...
Per Bothner [Sat, 9 Jan 1999 12:49:07 +0000 (04:49 -0800)]
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

25 years agoparse.y (build_new_array_init): Don't set EXPR_WFL_LINECOL on CONSTRUCTOR (since...
Per Bothner [Sat, 9 Jan 1999 12:49:05 +0000 (04:49 -0800)]
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

25 years agoparse.y (build_new_array_init): Don't set EXPR_WFL_LINECOL on CONSTRUCTOR (since...
Per Bothner [Sat, 9 Jan 1999 12:49:03 +0000 (04:49 -0800)]
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

25 years agogansidecl.h: Allow attribute unused on labels only when we are version 2.93 or higher.
Kaveh R. Ghazi [Sat, 9 Jan 1999 08:48:06 +0000 (08:48 +0000)]
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

25 years agoDaily bump.
Jeff Law [Sat, 9 Jan 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24576

25 years agocheck-init.c (check_init): If compiling to native, we don't see THROW_EXPR.
Per Bothner [Fri, 8 Jan 1999 15:50:10 +0000 (15:50 +0000)]
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

25 years agostmt.c (optimize_tail_recursion): New function, extracted from ...
Jeffrey A Law [Fri, 8 Jan 1999 12:05:20 +0000 (05:05 -0700)]
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

25 years agoparse-scan.y (variable_declarator_id): Set or increment bracket_count.
Tom Tromey [Fri, 8 Jan 1999 11:54:27 +0000 (11:54 +0000)]
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

25 years agosystem.h (abort): Supply more detailed information on how to report an Internal Compi...
Gerald Pfeifer [Fri, 8 Jan 1999 04:51:16 +0000 (05:51 +0100)]
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

25 years agom68k.h: Declare output_function_epilogue.
Andreas Schwab [Fri, 8 Jan 1999 02:01:01 +0000 (02:01 +0000)]
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

25 years agoUpdate copyrights.
Richard Henderson [Fri, 8 Jan 1999 01:02:43 +0000 (17:02 -0800)]
Update copyrights.

From-SVN: r24569

25 years agoCopyright update
Jeff Law [Fri, 8 Jan 1999 00:54:46 +0000 (17:54 -0700)]
Copyright update

From-SVN: r24568

25 years agotoplev.c (compile_file): Move call to output_func_start_profiler to after the loop...
Jeffrey A Law [Fri, 8 Jan 1999 00:46:25 +0000 (00:46 +0000)]
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

25 years agoDaily bump.
Jeff Law [Fri, 8 Jan 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24566

25 years ago* gcc.c-torture/compile/990107-1.c: New test
Jeffrey A Law [Thu, 7 Jan 1999 22:42:52 +0000 (22:42 +0000)]
* gcc.c-torture/compile/990107-1.c: New test

From-SVN: r24565

25 years agoClose comment in copyright
Jeff Law [Thu, 7 Jan 1999 22:02:07 +0000 (15:02 -0700)]
Close comment in copyright

From-SVN: r24564

25 years agocalls.c (store_unaligned_arguments_into_pseudos): Use xmalloc to allocate memory...
Mark Mitchell [Thu, 7 Jan 1999 11:29:38 +0000 (11:29 +0000)]
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

25 years agojcf-parse.c (yyparse): variable len changed from a char to an int to prevent overflow.
Andrew Haley [Thu, 7 Jan 1999 10:15:33 +0000 (10:15 +0000)]
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

25 years agosparc.h (PREFERRED_RELOAD_CLASS): Select GENERAL_REGS for integer data not destined...
Richard Henderson [Thu, 7 Jan 1999 03:18:28 +0000 (19:18 -0800)]
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

25 years agoc4x.c: Added space after negation operator.
Michael Hayes [Thu, 7 Jan 1999 02:53:44 +0000 (02:53 +0000)]
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

25 years ago* config/c4x/c4x.c (c4x_preferred_reload_class): Always return class.
Michael Hayes [Thu, 7 Jan 1999 02:38:35 +0000 (02:38 +0000)]
* config/c4x/c4x.c (c4x_preferred_reload_class): Always return class.

From-SVN: r24554

25 years agoDaily bump.
Jeff Law [Thu, 7 Jan 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24553

25 years agotest_summary (version): remove carriage return that gawk inserts in the version strin...
Alexandre Oliva [Thu, 7 Jan 1999 00:17:40 +0000 (00:17 +0000)]
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

25 years agoFix copyright.
Jeff Law [Wed, 6 Jan 1999 23:44:26 +0000 (16:44 -0700)]
Fix copyright.

From-SVN: r24551

25 years ago* gcc.c-torture/execute/990106-2.c: New test.
Jeffrey A Law [Wed, 6 Jan 1999 23:43:19 +0000 (23:43 +0000)]
* gcc.c-torture/execute/990106-2.c: New test.

From-SVN: r24550

25 years agocp-tree.h (IDENTIFIER_TYPENAME_P): Use OPERATOR_TYPENAME_FORMAT here.
Mark Mitchell [Wed, 6 Jan 1999 23:38:05 +0000 (23:38 +0000)]
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

25 years agocombine.c (num_sign_bit_copies): In NEG...
Bernd Schmidt [Wed, 6 Jan 1999 23:33:29 +0000 (16:33 -0700)]
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

25 years agopa.h (reg_class): Add FPUPPER_REGS.
Lutz Vieweg [Wed, 6 Jan 1999 23:06:29 +0000 (23:06 +0000)]
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

25 years ago* h8300.h (ASM_OUTPUT_LABELREF): Define.
Jeffrey A Law [Wed, 6 Jan 1999 22:40:19 +0000 (22:40 +0000)]
* h8300.h (ASM_OUTPUT_LABELREF): Define.

From-SVN: r24544

25 years agoi
Per Bothner [Wed, 6 Jan 1999 22:15:40 +0000 (14:15 -0800)]
i
Fixed some stupid typos that managed to get checked in.

From-SVN: r24543

25 years agofixincludes: For HP/UX 10.20, also look in curses_colr/curses.h for a typedef of...
Brendan Kehoe [Wed, 6 Jan 1999 22:05:45 +0000 (22:05 +0000)]
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

25 years agopa.h (DONT_RECORD_EQUIVALENCE): Kill.
Jeffrey A Law [Wed, 6 Jan 1999 21:44:21 +0000 (21:44 +0000)]
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

25 years agoCopyright typo
Jeff Law [Wed, 6 Jan 1999 21:31:04 +0000 (14:31 -0700)]
Copyright typo

From-SVN: r24540

25 years agoCopyright fixes.
Jeff Law [Wed, 6 Jan 1999 21:10:34 +0000 (14:10 -0700)]
Copyright fixes.

From-SVN: r24539

25 years agoFix copyrights.
Jeff Law [Wed, 6 Jan 1999 21:10:08 +0000 (14:10 -0700)]
Fix copyrights.

From-SVN: r24538

25 years agoCopyright fixes.
Jeff Law [Wed, 6 Jan 1999 20:57:36 +0000 (13:57 -0700)]
Copyright fixes.

From-SVN: r24537

25 years agoMore copyright fixes. Oh what fun.
Jeff Law [Wed, 6 Jan 1999 20:51:20 +0000 (13:51 -0700)]
More copyright fixes.  Oh what fun.

From-SVN: r24536

25 years agoCopyright fixes.
Jeff Law [Wed, 6 Jan 1999 20:44:41 +0000 (13:44 -0700)]
Copyright fixes.

From-SVN: r24535

25 years agoFix copyright dates.
Jeff Law [Wed, 6 Jan 1999 20:13:47 +0000 (13:13 -0700)]
Fix copyright dates.

From-SVN: r24534

25 years agoUpdate copyrights.
Jeff Law [Wed, 6 Jan 1999 20:10:40 +0000 (13:10 -0700)]
Update copyrights.

From-SVN: r24533

25 years agoFix copyright dates.
Jeff Law [Wed, 6 Jan 1999 20:07:50 +0000 (13:07 -0700)]
Fix copyright dates.

From-SVN: r24532

25 years agoFix copyrights.
Jeff Law [Wed, 6 Jan 1999 20:02:36 +0000 (13:02 -0700)]
Fix copyrights.

From-SVN: r24531

25 years agoFix copyright dates.
Jeff Law [Wed, 6 Jan 1999 19:54:35 +0000 (12:54 -0700)]
Fix copyright dates.

From-SVN: r24530

25 years agoFix copyrights.
Jeff Law [Wed, 6 Jan 1999 19:48:38 +0000 (12:48 -0700)]
Fix copyrights.

From-SVN: r24529

25 years agoFix copyright date.
Jeff Law [Wed, 6 Jan 1999 19:42:20 +0000 (12:42 -0700)]
Fix copyright date.

From-SVN: r24528

25 years agoFix copyright dates.
Jeff Law [Wed, 6 Jan 1999 19:40:37 +0000 (12:40 -0700)]
Fix copyright dates.

From-SVN: r24527

25 years agoRevert changes which crept in by accident.
Jeff Law [Wed, 6 Jan 1999 19:02:42 +0000 (12:02 -0700)]
Revert changes which crept in by accident.

From-SVN: r24526

25 years agoexpr.c (expand_builtin): Use value_mode for the return mode.
Richard Henderson [Wed, 6 Jan 1999 18:51:30 +0000 (10:51 -0800)]
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

25 years agocalls.c (special_function_p): Push alloca test inside the large conditional which...
Jeffrey A Law [Wed, 6 Jan 1999 17:57:29 +0000 (17:57 +0000)]
calls.c (special_function_p): Push alloca test inside the large conditional which excludes functions not at...

        * calls.c (special_function_p): Push alloca test inside the large
        conditional which excludes functions not at file scope or not
        extern.

From-SVN: r24524

25 years agocheck-init.c: New file.
Per Bothner [Wed, 6 Jan 1999 17:49:38 +0000 (09:49 -0800)]
check-init.c: New file.

8
* check-init.c:  New file.  Checks for definite assignment.
Various minor other changes;  see ChangeLog.

From-SVN: r24523

25 years agocheck-init.c: New file.
Per Bothner [Wed, 6 Jan 1999 17:49:36 +0000 (09:49 -0800)]
check-init.c: New file.

* check-init.c:  New file.  Checks for definite assignment.
Various minor other changes;  see ChangeLog.

From-SVN: r24522

25 years agocheck-init.c: New file.
Per Bothner [Wed, 6 Jan 1999 17:49:29 +0000 (09:49 -0800)]
check-init.c: New file.


* check-init.c:  New file.  Checks for definite assignment.
Various minor other changes;  see ChangeLog.

From-SVN: r24521

25 years agoparse.y: include system.h instead of including standard headers directly with the...
Graham Stott [Wed, 6 Jan 1999 17:36:52 +0000 (09:36 -0800)]
parse.y: include system.h instead of including standard headers directly with the...


* parse.y : include system.h instead of including
standard headers directly with the exception of <dirent.h>.

From-SVN: r24520

25 years agoparse.y: include system.h instead of including standard headers directly with the...
Graham Stott [Wed, 6 Jan 1999 17:36:50 +0000 (09:36 -0800)]
parse.y: include system.h instead of including standard headers directly with the...

8
* parse.y : include system.h instead of including
standard headers directly with the exception of <dirent.h>.

From-SVN: r24519

25 years agolex.h: Moved static function declarations to lex.c, to shut up some -Wall warnings.
Per Bothner [Wed, 6 Jan 1999 16:50:39 +0000 (16:50 +0000)]
lex.h: Moved static function declarations to lex.c, to shut up some -Wall warnings.


* lex.h:  Moved static function declarations to lex.c,
to shut up some -Wall warnings.
* lex.c:  Static function declarations moved here.
* jcf-dump.c:  Small fixes to shut up -Wall warnings.

From-SVN: r24518

25 years agoconfigure.in: New flag --with-dwarf2.
Robert Lipe [Wed, 6 Jan 1999 16:05:47 +0000 (16:05 +0000)]
configure.in: New flag --with-dwarf2.

* configure.in: New flag --with-dwarf2.   If set, enables DWARF-2
debugging as default.
* config/tm-dwarf2.h: New file.

[[Split portion of a mixed commit.]]

From-SVN: r24517.2

25 years agocalls.c (special_function_p): New function broken out of expand_call.
Jeffrey A Law [Wed, 6 Jan 1999 15:15:11 +0000 (15:15 +0000)]
calls.c (special_function_p): New function broken out of expand_call.

        * calls.c (special_function_p): New function broken out of
        expand_call.
        (precompute_register_parameters): Likewise.
        (store_one_arg): Likewise.
        (store_unaligned_argumetns_into_pseudos): Likewise.
        (save_fixed_argument_area): Likewise.
        (restore_fixed_argument_area): Likewise.
        (expand_call): Corresponding changes.

From-SVN: r24516

25 years agoAndreas Schwab <schwab@issan.cs.uni-dortmund.de>
Andreas Schwab [Wed, 6 Jan 1999 10:44:27 +0000 (10:44 +0000)]
Andreas Schwab <schwab@issan.cs.uni-dortmund.de>

Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
        * config/m68k/m68k.c (const_uint32_operand): Remove CONSTANT_P_RTX
        handling.
        (const_sint32_operand): Likewise.

From-SVN: r24515

25 years agotoplev.h: In addition to checking _JBLEN...
Kaveh R. Ghazi [Wed, 6 Jan 1999 06:56:11 +0000 (06:56 +0000)]
toplev.h: In addition to checking _JBLEN...

        * toplev.h: In addition to checking _JBLEN, also check if `setjmp'
        is a macro when deciding if we can use `jmp_buf' in prototypes.

From-SVN: r24514

25 years agoc4x.md (addqi3): If the destination operand is a hard register other than an extended...
Michael Hayes [Wed, 6 Jan 1999 03:20:44 +0000 (03:20 +0000)]
c4x.md (addqi3): If the destination operand is a hard register other than an extended precision...

* config/c4x/c4x.md (addqi3): If the destination operand is
a hard register other than an extended precision register,
emit addqi3_noclobber.
(*addqi3_noclobber_reload): New pattern added so that reload
will recognise a store of a pseudo, equivalent to the sum
of the frame pointer and a constant, as an add insn.

From-SVN: r24511

25 years agoconfigure.in (pc-msdosdjgpp): Set x_make to x-go32.
Mark Elbrecht [Wed, 6 Jan 1999 02:25:57 +0000 (19:25 -0700)]
configure.in (pc-msdosdjgpp): Set x_make to x-go32.

        * configure.in (pc-msdosdjgpp): Set x_make to x-go32.
        * configure: Rebuilt.
        * i386/xm-go32.h: Define LIBSTDCXX.
        * i386/x-go32: New.
        * i386/go32.h (MD_EXEC_PREFIX): Define.
        (FILE_NAME_ABSOLUTE_P): Define.
        (LINK_COMMAND_SPEC): Define.

From-SVN: r24510

25 years agog++spec.c (LIBSTDCXX): Provide default definition.
Mark Elbrecht [Wed, 6 Jan 1999 02:23:10 +0000 (19:23 -0700)]
g++spec.c (LIBSTDCXX): Provide default definition.

        * g++spec.c (LIBSTDCXX): Provide default definition.
        (lang_specific_driver): Use LIBSTDCXX instead of "-lstdc++".

From-SVN: r24509

25 years agoMakefile.in: Add some missing $(exeext).
Jeffrey A Law [Wed, 6 Jan 1999 01:57:27 +0000 (01:57 +0000)]
Makefile.in: Add some missing $(exeext).

        * Makefile.in: Add some missing $(exeext).  Remove some obsolete
        runtime stuff.
        * Make-lang.in: Similarly.

From-SVN: r24508

25 years agoexpr.c (store_expr): If the lhs is a memory location pointed to be a postincremented...
Charles M. Hannum [Wed, 6 Jan 1999 01:28:56 +0000 (18:28 -0700)]
expr.c (store_expr): If the lhs is a memory location pointed to be a postincremented (or...


        * expr.c (store_expr): If the lhs is a memory location pointed
        to be a postincremented (or postdecremented) pointer, always
        force the rhs to be evaluated into a pseudo.

From-SVN: r24507

25 years agoexpr.c (store_expr): If the lhs is a memory location pointed to be a postincremented...
Charles M. Hannum [Wed, 6 Jan 1999 01:28:53 +0000 (18:28 -0700)]
expr.c (store_expr): If the lhs is a memory location pointed to be a postincremented (or...


        * expr.c (store_expr): If the lhs is a memory location pointed
        to be a postincremented (or postdecremented) pointer, always
        force the rhs to be evaluated into a pseudo.

From-SVN: r24506

25 years ago* gcc.c-torture/execute/990106-1.c: New test.
Jeffrey A Law [Wed, 6 Jan 1999 01:25:09 +0000 (01:25 +0000)]
* gcc.c-torture/execute/990106-1.c: New test.

From-SVN: r24504

25 years agoDaily bump.
Jeff Law [Wed, 6 Jan 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24503

25 years ago* real.c (mtherr): Print more reasonable warning messages.
Geoff Keating [Tue, 5 Jan 1999 23:56:04 +0000 (23:56 +0000)]
* real.c (mtherr): Print more reasonable warning messages.

From-SVN: r24502

25 years ago* Make-lang.in ($(GCJ).o): Depend on prefix.h.
Kaveh R. Ghazi [Tue, 5 Jan 1999 19:17:20 +0000 (19:17 +0000)]
* Make-lang.in ($(GCJ).o): Depend on prefix.h.

From-SVN: r24501

25 years ago* Make-lang.in (g77.o): Depend on prefix.h.
Kaveh R. Ghazi [Tue, 5 Jan 1999 19:15:33 +0000 (19:15 +0000)]
* Make-lang.in (g77.o): Depend on prefix.h.

From-SVN: r24500

25 years ago* Make-lang.in (g++.o): Depend on prefix.h.
Kaveh R. Ghazi [Tue, 5 Jan 1999 19:13:50 +0000 (19:13 +0000)]
* Make-lang.in (g++.o): Depend on prefix.h.

From-SVN: r24499

25 years agoMakefile.in (gcc.o, [...]): Depend on prefix.h.
Kaveh R. Ghazi [Tue, 5 Jan 1999 19:11:22 +0000 (19:11 +0000)]
Makefile.in (gcc.o, [...]): Depend on prefix.h.

        * Makefile.in (gcc.o, prefix.o, cccp.o, cpplib.o): Depend on prefix.h.
        * cccp.c: Include prefix.h, don't prototype prefix.c functions.
        (new_include_prefix): Constify char* parameters.
        * cppfiles.c (read_name_map): Likewise.
        (append_include_chain): Likewise.  Also, use a writable char* copy
        of parameter `dir' which we then modify, rather than using the
        parameter itself to store the new writable string.
        (remap_filename): Constify some variables.  Also, use a writable
        char* to store an allocated string which we will be modifying.
        * cpplib.c: Include prefix.h, don't prototype prefix.c functions.
        (cpp_start_read): Constify variable `str'.
        * cpplib.h (append_include_chain): Constify a char* parameter.
        * gcc.c Include prefix.h, don't prototype prefix.c functions.
        (add_prefix, save_string): Constify char* parameters.
        (fatal, error): Add ATTRIBUTE_PRINTF_1 to prototypes.
        * prefix.c: Include prefix.h.
        (get_key_value, translate_name, save_string, update_path,
        set_std_prefix): Constify various char* parameters and variables.
        (save_string): Use xmalloc, not malloc.
        (translate_name): Use a writable temporary variable to create and
        modify a string before setting it to a const char*.
        * prefix.h: New file to prototype functions exported from prefix.c.

From-SVN: r24498

25 years agoDaily bump.
Jeff Law [Tue, 5 Jan 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.

From-SVN: r24495

25 years agoconfigure.in (thread_file): Correct and simplify code to find the thread file.
Jeffrey A Law [Tue, 5 Jan 1999 00:40:22 +0000 (00:40 +0000)]
configure.in (thread_file): Correct and simplify code to find the thread file.

        * configure.in (thread_file): Correct and simplify code to find
        the thread file.
        * configure: Rebuilt.

From-SVN: r24494

25 years agoA newer branch for fixinclude work.
Robert Lipe [Mon, 4 Jan 1999 14:11:02 +0000 (14:11 +0000)]
A newer branch for fixinclude work.

: Modified Files:
:  Tag: fixincl-branch
:  Makefile.in fixinc.dgux fixinc.irix fixinc.ptx fixinc.sco
:  fixinc.svr4 fixinc.winnt fixinc.wrap fixincl.c fixincl.sh
:  fixincl.x hackshell.tpl inclhack.def inclhack.sh inclhack.tpl
:  mkfixinc.sh regex.c regex.h server.c server.h
: Added Files:
:  README

[[Split portion of a mixed commit.]]

From-SVN: r24488.2

25 years agoMove entries to proper place.
Dave Brolley [Mon, 4 Jan 1999 12:45:36 +0000 (07:45 -0500)]
Move entries to proper place.

From-SVN: r24486

25 years agocpplib.c (skip_if_group): Split out the logic that handles directive recognition...
Zack Weinberg [Mon, 4 Jan 1999 12:38:22 +0000 (12:38 +0000)]
cpplib.c (skip_if_group): Split out the logic that handles directive recognition to its own function.

1998-12-21 18:03 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
* cpplib.c (skip_if_group): Split out the logic that handles
directive recognition to its own function.  Don't use
parse markers; use a bare pointer into the buffer.  Use
copy/skip_rest_of_line instead of doing it by hand.  Remove
`return on any directive' mode which was never used, and take
only one argument.
(consider_directive_while_skipping): New function, subroutine
of skip_if_group.  Logic streamlined a bit.
(conditional_skip, do_elif, do_else): Call skip_if_group with
only one argument.

From-SVN: r24485

25 years agocpplib.c (do_undef): EOF immediately after '#undef FOO' is not an error.
Zack Weinberg [Mon, 4 Jan 1999 12:15:43 +0000 (12:15 +0000)]
cpplib.c (do_undef): EOF immediately after '#undef FOO' is not an error.

Wed Dec 23 17:30:18 1998  Zack Weinberg  <zack@rabi.phys.columbia.edu>
* cpplib.c (do_undef): EOF immediately after '#undef FOO' is not an
error.

From-SVN: r24484

25 years ago* extend.texi (Bound member functions): Document.
Jason Merrill [Mon, 4 Jan 1999 11:56:18 +0000 (11:56 +0000)]
* extend.texi (Bound member functions): Document.

From-SVN: r24483