platform/upstream/gcc.git
26 years agoexpr.c (clear_pending_stack_adjust): Handle case where a function calls alloca...
Jeffrey A Law [Sat, 7 Feb 1998 23:26:08 +0000 (23:26 +0000)]
expr.c (clear_pending_stack_adjust): Handle case where a function calls alloca...

        * expr.c (clear_pending_stack_adjust): Handle case where a function
        calls alloca, but the user has specified -fomit-fframe-pointer.

From-SVN: r17770

26 years ago* function.c (assign_parms): Fix typo in last change.
Jeffrey A Law [Sat, 7 Feb 1998 23:08:24 +0000 (23:08 +0000)]
* function.c (assign_parms): Fix typo in last change.

From-SVN: r17769

26 years agogcc.c: Include <strings.h>/<string.h>, <stdlib.h>, <unistd.h>, <fcntl.h>.
Robert Lipe [Sat, 7 Feb 1998 23:00:07 +0000 (23:00 +0000)]
gcc.c: Include <strings.h>/<string.h>, <stdlib.h>, <unistd.h>, <fcntl.h>.

        * gcc.c: Include <strings.h>/<string.h>, <stdlib.h>, <unistd.h>,
        <fcntl.h>.
        (free_path_suffix): Remove unreferenced static function.
        (process_command): Remove unused variable temp.
        (default_arg): Remove unused variable i.
        (do_spec_1):  Add parens for assignment used as truth value.
        (main): Likewise.
        (validate_all_switches): Likewise.
        (main): Remove unused variables i, first_time>

From-SVN: r17768

26 years agoWhitespace change for better readability.
Jeff Law [Sat, 7 Feb 1998 22:58:32 +0000 (15:58 -0700)]
Whitespace change for better readability.

From-SVN: r17767

26 years agoc-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
Robert Lipe [Sat, 7 Feb 1998 22:55:54 +0000 (22:55 +0000)]
c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.

        * c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
        * calls.c (expand_call): Remove unused variables funtree,
        n_regs, and tmpmode.
        * dbxout.c, except.c: Include <string.h>/<strings.h>.
        * explow.c: (plus_constant_for_output_wide) Removed unused
        variable all_constant.
        * c-decl.c, genattr.c, genattrtab.c, getconfig.c, genemit.c
        genextract.c, genflags.c, genopinit.c genoutput.c, genpeep.c,
        genrecog.c, global.c, integrate.c , stupid.c : Include
        <stdlib.h>.
        * genextract.c: (walk_rtx) Remove unused variable link.
        * genrecog.c: (concat) Remove unreferenced static function.
        * prefix.c: Include <string.h>/<strings.h>, <stdlib.h>
        * stmt.c: Include <stdlib.h>.
        (expand_asm_operands): Remove unused variable val1.
        (expand_return): Remove unused variable block.
        (pushcase): Remove unused variables l and n.
        (pushcaserange): Likewise.
        * unroll.c (unroll_loop): Remove unused variable temp.

From-SVN: r17766

26 years ago* c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE once only.
Greg McGary [Sat, 7 Feb 1998 22:44:35 +0000 (22:44 +0000)]
* c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE once only.

From-SVN: r17765

26 years agonew
Jason Merrill [Sat, 7 Feb 1998 17:18:39 +0000 (12:18 -0500)]
new

From-SVN: r17764

26 years agopt.c (instantiate_decl): Call cp_finish_decl for vars even if we don't define them...
Jason Merrill [Sat, 7 Feb 1998 17:14:22 +0000 (17:14 +0000)]
pt.c (instantiate_decl): Call cp_finish_decl for vars even if we don't define them yet.

* pt.c (instantiate_decl): Call cp_finish_decl for vars even if we
don't define them yet.

From-SVN: r17763

26 years ago* parse.y (nomods_initdcl0): Add constructor_declarator case.
Jason Merrill [Sat, 7 Feb 1998 15:18:24 +0000 (15:18 +0000)]
* parse.y (nomods_initdcl0): Add constructor_declarator case.

From-SVN: r17762

26 years agoHow I missed committing this I don't know.
Kaveh R. Ghazi [Sat, 7 Feb 1998 13:36:28 +0000 (05:36 -0800)]
How I missed committing this I don't know.

From-SVN: r17761

26 years agoaclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf functions for whether...
Kaveh R. Ghazi [Sat, 7 Feb 1998 13:21:36 +0000 (05:21 -0800)]
aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf functions for whether they support the %p format...

* aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf
functions for whether they support the %p format specifier.
* acconfig.h (HOST_PTR_PRINTF): Insert stub for autoconf.
* configure.in (GCC_FUNC_PRINTF_PTR): Use it.
* configure, config.in: Rebuild.

From-SVN: r17760

26 years agonew
Jason Merrill [Sat, 7 Feb 1998 02:04:30 +0000 (21:04 -0500)]
new

From-SVN: r17753

26 years agoFix irix6 stdarg failure when last named arg has FP type.
Jim Wilson [Fri, 6 Feb 1998 14:31:56 +0000 (14:31 +0000)]
Fix irix6 stdarg failure when last named arg has FP type.

* function.c (assign_parms): New variable named_arg, with value
depending on STRICT_ARGUMENT_NAMING.  Use instead of ! last_named.

From-SVN: r17695

26 years agoCorrect tx39 multilibs.
Gavin Koch [Fri, 6 Feb 1998 14:12:52 +0000 (14:12 +0000)]
Correct tx39 multilibs.

* mips/t-r3900: New - same as t-ecoff but eliminate
multilibs: mips1 and mips3.
* configure.in (tx39*): Use new mips/t-r3900.
  * configure: Rebuild.
* mips/r3900.h (MULTILIB_DEFAULTS): Eliminate mips1.

From-SVN: r17693

26 years ago* tinfo2.cc: Add tinfo for signed char.
Jason Merrill [Fri, 6 Feb 1998 09:55:20 +0000 (09:55 +0000)]
* tinfo2.cc: Add tinfo for signed char.

From-SVN: r17687

26 years agodwarf2out.c: Add old_args_size.
Jason Merrill [Fri, 6 Feb 1998 01:18:06 +0000 (20:18 -0500)]
dwarf2out.c: Add old_args_size.

* dwarf2out.c: Add old_args_size.
(dwarf2out_args_size): Use it.
(dwarf2out_begin_prologue): Initialize it.
(dwarf2out_stack_adjust): If !asynchronous_exceptions, save up
pushed args until we see a call.
* final.c (final_scan_insn): Hand CALL_INSNs off to the dwarf2 code
before outputting them.
* cplus-dem.c (demangle_template_template_parm): New function.
(demangle_template): Handle template template parameters.

From-SVN: r17685

26 years agocalls.c (expand_call): Don't confuse member functions named realloc...
Mark Mitchell [Fri, 6 Feb 1998 00:39:51 +0000 (00:39 +0000)]
calls.c (expand_call): Don't confuse member functions named realloc...

        * calls.c (expand_call): Don't confuse member functions named
        realloc, setjmp, and so forth with the standard library
        functions of the same names.

From-SVN: r17684

26 years agoMakefile.in (piclist): Check value of enable_shared, not PICFLAG.
Manfred Hollstein [Fri, 6 Feb 1998 00:34:54 +0000 (00:34 +0000)]
Makefile.in (piclist): Check value of enable_shared, not PICFLAG.

        * Makefile.in (piclist): Check value of enable_shared, not PICFLAG.
        (stmp-string, ...): Dito.
        (bigstmp-string, ...): Dito.

From-SVN: r17683

26 years agoconfig.shared (FLAGS_TO_PASS): Don't emit PICFLAG.
Manfred Hollstein [Fri, 6 Feb 1998 00:34:27 +0000 (00:34 +0000)]
config.shared (FLAGS_TO_PASS): Don't emit PICFLAG.

        * config.shared (FLAGS_TO_PASS): Don't emit PICFLAG.
        (.c.o): Check value of enable_shared, not PICFLAG.
        (.C.o): Dito.
        (.cc.o): Dito.
        (stamp-picdir): Dito.

From-SVN: r17682

26 years agoMakefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
Manfred Hollstein [Fri, 6 Feb 1998 00:33:49 +0000 (00:33 +0000)]
Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.

        * Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
        (.c.o): Check value of enable_shared, not PICFLAG.
        (stamp-picdir): Dito.

From-SVN: r17681

26 years agoMakefile.in (BASE_FLAGS_TO_PASS): Don't pass PICFLAG and PICFLAG_FOR_TARGET.
Manfred Hollstein [Fri, 6 Feb 1998 00:33:04 +0000 (00:33 +0000)]
Makefile.in (BASE_FLAGS_TO_PASS): Don't pass PICFLAG and PICFLAG_FOR_TARGET.

        * Makefile.in (BASE_FLAGS_TO_PASS): Don't pass PICFLAG and
        PICFLAG_FOR_TARGET.
        (EXTRA_TARGET_FLAGS): Don't pass PICFLAG_FOR_TARGET.
        * configure: Emit a definition for the new macro enable_shared
        into each Makefile.
        * config/mh-sparcpic (PICFLAG): Define to properly according
        to current multilib configuration.
        * config/mt-sparcpic (PICFLAG_FOR_TARGET): Define to properly
        according to current multilib configuration.

From-SVN: r17680

26 years agoTweak last entry "no output operands" instead of "no operands".
Jeff Law [Thu, 5 Feb 1998 23:14:58 +0000 (16:14 -0700)]
Tweak last entry "no output operands" instead of "no operands".

From-SVN: r17678

26 years agostmt.c (expand_asm_operands): Correctly identify asm statements no operands.
Jeffrey A Law [Thu, 5 Feb 1998 20:59:44 +0000 (20:59 +0000)]
stmt.c (expand_asm_operands): Correctly identify asm statements no operands.

        * stmt.c (expand_asm_operands): Correctly identify asm statements
        no operands.

From-SVN: r17673

26 years agoc-common.c (decl_attributes): Flag unrecognized attribute functions as warnings inste...
Mumit Khan [Thu, 5 Feb 1998 20:54:49 +0000 (20:54 +0000)]
c-common.c (decl_attributes): Flag unrecognized attribute functions as warnings instead of as errors.

        * c-common.c (decl_attributes): Flag unrecognized attribute
        functions as warnings instead of as errors.

From-SVN: r17672

26 years agointegrate.c (INTEGRATE_THRESHOLD): Inline only small functions when -Os is specified.
Marc Lehmann [Thu, 5 Feb 1998 20:49:54 +0000 (20:49 +0000)]
integrate.c (INTEGRATE_THRESHOLD): Inline only small functions when -Os is specified.

        * integrate.c (INTEGRATE_THRESHOLD): Inline only small functions
        when -Os is specified.
        * toplev.c (main): Don't disable flag_inline_functions anymore when
        -Os is in effect.

From-SVN: r17671

26 years agosearch.c (compute_access): Handle protected constructors in derived classes as access...
Mike Stump [Thu, 5 Feb 1998 18:48:20 +0000 (18:48 +0000)]
search.c (compute_access): Handle protected constructors in derived classes as accessible.

* search.c (compute_access): Handle protected constructors in derived
classes as accessible.

From-SVN: r17670

26 years agoregmove.c: Update.
J"orn Rennecke [Thu, 5 Feb 1998 16:34:02 +0000 (16:34 +0000)]
regmove.c: Update.

* regmove.c: Update.
* flags.h (flag_regmove): Declare.
* rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Don't declare.
* local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2):
Moved into regmove; changed caller.
* toplev.c (rest_of_compilation): Call regmove_optimize also for
expensive_optimizations.

From-SVN: r17669

26 years agoUpdate David Love's entry.
Jeff Law [Thu, 5 Feb 1998 14:09:45 +0000 (07:09 -0700)]
Update David Love's entry.

From-SVN: r17668

26 years agoDocument change in 3rd argument to DEFTREECODE.
Jeff Law [Thu, 5 Feb 1998 13:55:13 +0000 (06:55 -0700)]
Document change in 3rd argument to DEFTREECODE.

From-SVN: r17667

26 years agoFix lossage after snapshot sed tweak.
Jeff Law [Thu, 5 Feb 1998 13:45:46 +0000 (06:45 -0700)]
Fix lossage after snapshot sed tweak.

From-SVN: r17665

26 years agoBump for snapshot
Jeffrey A Law [Thu, 5 Feb 1998 13:38:44 +0000 (06:38 -0700)]
Bump for snapshot

From-SVN: r17664

26 years agoUndo this change (the problem was actually in reload):
J"orn Rennecke [Wed, 4 Feb 1998 17:48:38 +0000 (17:48 +0000)]
Undo this change (the problem was actually in reload):

Fri Jan 23 23:28:59 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
  * sh.md (movqi_i+1): New peephole.

From-SVN: r17663

26 years agoexpr.c (cplus_expand_expr, [...]): Call convert_from_reference sooner.
Jason Merrill [Wed, 4 Feb 1998 01:29:33 +0000 (01:29 +0000)]
expr.c (cplus_expand_expr, [...]): Call convert_from_reference sooner.

* expr.c (cplus_expand_expr, PCC_STATIC_STRUCT_RETURN code):
Call convert_from_reference sooner.

From-SVN: r17659

26 years agonew
Jason Merrill [Tue, 3 Feb 1998 23:57:24 +0000 (18:57 -0500)]
new

From-SVN: r17654

26 years agocvt.c (ocp_convert): Obtain the constant values from constant decls even if...
Mark Mitchell [Tue, 3 Feb 1998 23:55:27 +0000 (23:55 +0000)]
cvt.c (ocp_convert): Obtain the constant values from constant decls even if...

* cvt.c (ocp_convert): Obtain the constant values from constant
decls even if the destination type is the same as the type of the
decl.
* decl2.c (finish_file): Make sure that static inlines with
definitions are not marked DECL_EXTERNAL before returning.

From-SVN: r17653

26 years agodecl.c: Lose arg_looking_for_template.
Jason Merrill [Tue, 3 Feb 1998 22:52:45 +0000 (22:52 +0000)]
decl.c: Lose arg_looking_for_template.

* decl.c: Lose arg_looking_for_template.
(lookup_name_real): Likewise.
* parse.y: Lose processing_template_arg, template_arg1
(primary): Likewise.
* spew.c (yylex): Set lastiddecl for PTYPENAMEs, too.

From-SVN: r17651

26 years agoerror.c (dump_decl): Fix type of default arguments for template template parameters...
Kriang Lerdsuwanakij [Tue, 3 Feb 1998 22:30:26 +0000 (22:30 +0000)]
error.c (dump_decl): Fix type of default arguments for template template parameters and nontype...

* error.c (dump_decl): Fix type of default arguments for template
template parameters and nontype template parameters.
* parse.y (template_parm): Handle invalid default template
template arguments here.
* parse.y (template_parm): Use template_arg instead of PTYPENAME
for default template template argument.
* pt.c (coerce_template_parms): Merge default template argument
codes.  Can treat RECORD_TYPE as template name if it is implicitly
created.  Fix argument index in error message.
* typeck.c (comptypes): Merge template argument comparison codes in
TEMPLATE_TEMPLATE_PARM and RECORD_TYPE.

From-SVN: r17650

26 years agoFlip expectedness for some linux systems.
Jeff Law [Tue, 3 Feb 1998 21:35:30 +0000 (14:35 -0700)]
Flip expectedness for some linux systems.

From-SVN: r17645

26 years agojump.c (jump_optimize): Lose calls to modified_in_p they are not needed anymore due...
Jeffrey A Law [Tue, 3 Feb 1998 21:19:59 +0000 (21:19 +0000)]
jump.c (jump_optimize): Lose calls to modified_in_p they are not needed anymore due to changes...

        * jump.c (jump_optimize): Lose calls to modified_in_p they are
        not needed anymore due to changes elsewhere in jump.c.

From-SVN: r17644

26 years agoTweak some more.
Jeff Law [Tue, 3 Feb 1998 21:14:51 +0000 (14:14 -0700)]
Tweak some more.

From-SVN: r17643

26 years ago* config-lang.in: Remove references to runtime/.
Richard Henderson [Tue, 3 Feb 1998 20:13:42 +0000 (12:13 -0800)]
* config-lang.in: Remove references to runtime/.

From-SVN: r17635

26 years ago* lex.c (file_name_nondirectory): Also check for '/'.
Mumit Khan [Tue, 3 Feb 1998 19:57:57 +0000 (19:57 +0000)]
* lex.c (file_name_nondirectory): Also check for '/'.

From-SVN: r17634

26 years agoTest commit.
David S. Miller [Tue, 3 Feb 1998 15:06:43 +0000 (07:06 -0800)]
Test commit.

From-SVN: r17624

26 years agoMore tweaks.
Jeff Law [Tue, 3 Feb 1998 14:49:59 +0000 (07:49 -0700)]
More tweaks.

From-SVN: r17623

26 years agoChange lawcs.utah.edu references to law@cygnus.com
Jeff Law [Tue, 3 Feb 1998 09:46:44 +0000 (02:46 -0700)]
Change lawcs.utah.edu references to law@cygnus.com

From-SVN: r17615

26 years agoput me down for caller-save.c which I largely rewrote a few years ago...
Jeff Law [Tue, 3 Feb 1998 09:44:23 +0000 (02:44 -0700)]
put me down for caller-save.c which I largely rewrote a few years ago...

From-SVN: r17614

26 years agonew
Jason Merrill [Tue, 3 Feb 1998 01:33:18 +0000 (20:33 -0500)]
new

From-SVN: r17612

26 years agoparse.y (primary): Deal with statement-expressions in templates.
Mark Mitchell [Tue, 3 Feb 1998 01:33:09 +0000 (01:33 +0000)]
parse.y (primary): Deal with statement-expressions in templates.

* parse.y (primary): Deal with statement-expressions in
templates.
* pt.c (tsubst_copy): Handle BIND_EXPR.
* tree.c (mapcar): Likewise.

From-SVN: r17611

26 years agojump.c (jump_optimize): Fix first arg to modified_in_p in previous change.
Jeffrey A Law [Tue, 3 Feb 1998 00:09:57 +0000 (00:09 +0000)]
jump.c (jump_optimize): Fix first arg to modified_in_p in previous change.

        * jump.c (jump_optimize): Fix first arg to modified_in_p in
        previous change.

From-SVN: r17610

26 years agocall.c (add_template_candidate_real): Pass extra parameter to fn_type_unification.
Mark Mitchell [Mon, 2 Feb 1998 23:44:19 +0000 (23:44 +0000)]
call.c (add_template_candidate_real): Pass extra parameter to fn_type_unification.

* call.c (add_template_candidate_real): Pass extra parameter to
fn_type_unification.
* cp-tree.h (fn_type_unification): Add parameter.
* pt.c (fn_type_unification): Add additional parameter to deal with
static member functions.
(get_bindings): Deal with static member functions.

From-SVN: r17609

26 years agoNote location of comp.std.c++ FAQ
Jeff Law [Mon, 2 Feb 1998 23:03:30 +0000 (16:03 -0700)]
Note location of comp.std.c++ FAQ

From-SVN: r17608

26 years agoAdd Andrew.
Jeff Law [Mon, 2 Feb 1998 21:07:43 +0000 (14:07 -0700)]
Add Andrew.

From-SVN: r17604

26 years agoexpr.c (expand_builtin_setjmp): Accept two new arguments for the labels to branch...
Richard Henderson [Mon, 2 Feb 1998 19:28:57 +0000 (11:28 -0800)]
expr.c (expand_builtin_setjmp): Accept two new arguments for the labels to branch to on first and subsequent...

 * expr.c (expand_builtin_setjmp): Accept two new arguments for
 the labels to branch to on first and subsequent executions.  Don't
 play with __dummy.  Rename `setjmp' insn to `builtin_setjmp_setup',
 and provide it with the jmp_buf.  Use only one of
 `builtin_setjmp_receiver' or `nonlocal_goto_receiver',
 and provide the former with the target label.
 (expand_builtin) [BUILTIN_SETJMP]: Generate a label for use by setjmp.
 (expand_builtin) [BUILTIN_LONGJMP]: Split out to ...
 (expand_builtin_longjmp): ... here.  Recognize a `builtin_longjmp'
 insn to replace all of the normal nonlocal_goto code.  Don't play
 with __dummy.  Correct arguments to nonlocal_goto.
 * expr.h (expand_builtin_setjmp): Update prototype.
 * except.c (start_dynamic_handler): When using builtin_setjmp,
 generate more accurate flow information.
 * alpha.md (nonlocal_goto_receiver_osf): Delete.
 (nonlocal_goto_receiver_vms): Rename to nonlocal_goto_receiver.
 (builtin_longjmp, builtin_setjmp_receiver): New.
 * sparc.md (update_return): Disambiguate unspec number.
 (nonlocal_goto): Rearrange arguments to match caller in except.c.
 (builtin_setjmp_setup): Rename from setjmp.  Match and ignore the
 jmp_buf operand.
 * mips.md (nonlocal_goto_receiver, builtin_setjmp_receiver): Remove.
 (builtin_setjmp_setup*, builtin_longjmp): New.

From-SVN: r17602

26 years agoPatch from John Carr to fix some 32/64 bit cross compiler bugs.
John Carr [Mon, 2 Feb 1998 16:44:24 +0000 (16:44 +0000)]
Patch from John Carr to fix some 32/64 bit cross compiler bugs.

* mips.md: Change gen_rtx (CONST_INT) to GEN_INT.

From-SVN: r17601

26 years agoVarious updates.
Jeff Law [Mon, 2 Feb 1998 15:53:17 +0000 (08:53 -0700)]
Various updates.

From-SVN: r17600

26 years agoRemove last of bytecode support.
Jim Wilson [Mon, 2 Feb 1998 13:09:22 +0000 (13:09 +0000)]
Remove last of bytecode support.

* vmsconfig.com: Remove bytecode references.

From-SVN: r17599

26 years agocp-tree.h (DECL_NONSTATIC_MEMBER_FUNCTION_P): New macro.
Mark Mitchell [Mon, 2 Feb 1998 11:41:39 +0000 (11:41 +0000)]
cp-tree.h (DECL_NONSTATIC_MEMBER_FUNCTION_P): New macro.

* cp-tree.h (DECL_NONSTATIC_MEMBER_FUNCTION_P): New macro.
(revert_static_member_fn): Declare.
* decl.c (revert_static_member_fn): Remove declaration.  Change
linkage from internal to external.
(cp_finish_decl): Deal with virtual functions in classes local to
template functions.
* decl2.c (finish_file): Don't forget to emit increment/decrement
expressions in initializers for file-scope variables.
* parse.y (typename_sub2): If the typename doesn't names a
template, rather than a type, issue an error message.
* pt.c (check_explicit_specialization): Handle specializations of
static member functions.
(coerce_template_parms): Handle offset references to lists of
member functions.
* search.c (note_debug_info_needed): Don't crash when handed a
type which is being defined.
* typeck.c (complete_type): Don't crash when handed NULL_TREE;
that can happen with some illegal code.

From-SVN: r17598

26 years agoconfigure.in: Update F2C_INTEGER and F2C_LONGINT tests for the new placement in the...
Richard Henderson [Mon, 2 Feb 1998 11:09:23 +0000 (03:09 -0800)]
configure.in: Update F2C_INTEGER and F2C_LONGINT tests for the new placement in the hierarchy.

* configure.in: Update F2C_INTEGER and F2C_LONGINT tests
for the new placement in the hierarchy.

From-SVN: r17597

26 years agodwarf2out.c (dwarf2out_frame_init): Undo last change...
Andreas Schwab [Mon, 2 Feb 1998 10:26:33 +0000 (10:26 +0000)]
dwarf2out.c (dwarf2out_frame_init): Undo last change...

* dwarf2out.c (dwarf2out_frame_init): Undo last change, so that
-fno-sjlj-exceptions works for a target that defines
DWARF2_UNWIND_INFO as zero.

From-SVN: r17596

26 years agoregmove.c (fixup_match_1): Undo last change which removed some "useless" code...
Andreas Schwab [Mon, 2 Feb 1998 10:23:22 +0000 (10:23 +0000)]
regmove.c (fixup_match_1): Undo last change which removed some "useless" code...

        * regmove.c (fixup_match_1): Undo last change which removed some
        "useless" code, and add a comment explaining this.

From-SVN: r17595

26 years agomips.c (mips_expand_prologue): Change uses of TARGET_64BIT to TARGET_LONG64.
Gavin Koch [Mon, 2 Feb 1998 09:46:21 +0000 (09:46 +0000)]
mips.c (mips_expand_prologue): Change uses of TARGET_64BIT to TARGET_LONG64.

        * mips.c (mips_expand_prologue): Change uses of TARGET_64BIT
        to TARGET_LONG64.

From-SVN: r17594

26 years agomakefile.vms: Remove bytecode references.
Klaus Kaempf [Mon, 2 Feb 1998 09:37:18 +0000 (09:37 +0000)]
makefile.vms: Remove bytecode references.

        * makefile.vms: Remove bytecode references.
        Create genrtl files.

From-SVN: r17593

26 years agoTweak again.
Jeff Law [Mon, 2 Feb 1998 09:33:14 +0000 (02:33 -0700)]
Tweak again.

From-SVN: r17592

26 years agojump.c (jump_optimize): Allow conditional loading of floating point constants and...
Michael P. Hayes [Mon, 2 Feb 1998 01:09:04 +0000 (01:09 +0000)]
jump.c (jump_optimize): Allow conditional loading of floating point constants and constants from memory.

        * jump.c (jump_optimize): Allow conditional loading of floating point
        constants and constants from memory.  Reinstalled modified_in_p tests.

From-SVN: r17591

26 years ago* loop.c (get_condition): Handle sign-extended constants.
J"orn Rennecke [Mon, 2 Feb 1998 00:37:25 +0000 (00:37 +0000)]
* loop.c (get_condition): Handle sign-extended constants.

From-SVN: r17590

26 years ago* expr.c (emit_push_insn): Add code to use movstrti if present.
Hans-Peter Nilsson [Mon, 2 Feb 1998 00:23:13 +0000 (01:23 +0100)]
* expr.c (emit_push_insn): Add code to use movstrti if present.

From-SVN: r17589

26 years agoexpr.c (emit_push_insn): Use same max-move-amount for movstrhi and movstrqi as in...
Hans-Peter Nilsson [Mon, 2 Feb 1998 00:21:46 +0000 (01:21 +0100)]
expr.c (emit_push_insn): Use same max-move-amount for movstrhi and movstrqi as in emit_block_move ().

* expr.c (emit_push_insn): Use same max-move-amount for movstrhi
and movstrqi as in emit_block_move ().

From-SVN: r17588

26 years agoImprove movstrXX documentation.
Jeff Law [Mon, 2 Feb 1998 00:17:02 +0000 (17:17 -0700)]
Improve movstrXX documentation.

From-SVN: r17587

26 years agoVarious fixes for -Wall problems from Kaveh. See ChangeLog for details.
Kaveh R. Ghazi [Mon, 2 Feb 1998 00:04:13 +0000 (00:04 +0000)]
Various fixes for -Wall problems from Kaveh.  See ChangeLog for details.

From-SVN: r17586

26 years agox-next: Remove /NextDeveloper/Headers from the directories to fixinclude - /usr/inclu...
Toon Moene [Sun, 1 Feb 1998 23:08:28 +0000 (00:08 +0100)]
x-next: Remove /NextDeveloper/Headers from the directories to fixinclude - /usr/include...

        * config/m68k/x-next: Remove /NextDeveloper/Headers from
        the directories to fixinclude - /usr/include is a link
        to it and hence its contents are fixed by default.

From-SVN: r17585

26 years agoFix typo in hj's ChangeLog entry.
Jeff Law [Sun, 1 Feb 1998 23:06:22 +0000 (16:06 -0700)]
Fix typo in hj's ChangeLog entry.

From-SVN: r17584

26 years ago* rs6000/linux.h: define JUMP_TABLES_IN_TEXT_SECTION
Franz Sirl [Sun, 1 Feb 1998 13:14:01 +0000 (06:14 -0700)]
* rs6000/linux.h: define JUMP_TABLES_IN_TEXT_SECTION

From-SVN: r17583

26 years agoiostream.cc (istream::operator>>(long double&)): Scan value into separate variable...
Andreas Schwab [Sun, 1 Feb 1998 12:44:52 +0000 (12:44 +0000)]
iostream.cc (istream::operator>>(long double&)): Scan value into separate variable, in case long double is bigger than double.

        * iostream.cc (istream::operator>>(long double&))
        [!_G_HAVE_LONG_DOUBLE_IO]: Scan value into separate variable, in
        case long double is bigger than double.
        (ostream::operator<<(double)) [_G_HAVE_PRINTF_FP]: Fix order of
        initializers of struct printf_info to match declaration order,
        to work around g++ bug.
        (ostream::operator<<(long double)) [_G_HAVE_PRINTF_FP]: Likewise.
        * gen-params: Add missing quotes.  Avoid useless use of command
        substitution.

From-SVN: r17582

26 years agolinux.mt: Don't define _PTHREADS, but define _IO_MTSAFE_IO.
H.J. Lu [Sun, 1 Feb 1998 12:38:27 +0000 (12:38 +0000)]
linux.mt: Don't define _PTHREADS, but define _IO_MTSAFE_IO.

        * config/linux.mt: Don't define _PTHREADS, but define
        _IO_MTSAFE_IO.

From-SVN: r17581

26 years agofilebuf.cc (filebuf::open): Call _IO_file_open if _G_HAVE_IO_FILE_OPEN is 1.
H.J. Lu [Sun, 1 Feb 1998 12:29:15 +0000 (12:29 +0000)]
filebuf.cc (filebuf::open): Call _IO_file_open if _G_HAVE_IO_FILE_OPEN is 1.

        * filebuf.cc (filebuf::open): Call _IO_file_open if
        _G_HAVE_IO_FILE_OPEN is 1.
        * libio.h (_IO_fpos64_t, _IO_off64_t): Defined if
        _G_IO_IO_FILE_VERSION == 0x20001.
        * libioP.h (_IO_file_open): New declaration.
        * libio.h (_IO_FILE, _IO_stdin_, _IO_stdout_, _IO_stderr_,
        _IO_seekoff, _IO_seekpos): Add support for libio in egcs 2.1.
        * libioP.h (_IO_seekoff_t, _IO_seekpos_t, _IO_seek_t,
        _IO_seekoff, _IO_seekpos, _IO_default_seekoff,
        _IO_default_seekpos, _IO_default_seek, _IO_file_seekoff,
        _IO_file_seek, _IO_str_seekoff, _IO_pos_BAD, _IO_pos_as_off,
        _IO_pos_0): Ditto.
        * streambuf.h (streamoff, streampos): Ditto.
        * gen-params (__extension__): Use only if gcc version >= 2.8.

From-SVN: r17580

26 years agodbz.c (putconf): Handle systems which use "long long" as type for "off_t".
Krister Walfridsson [Sun, 1 Feb 1998 12:20:13 +0000 (13:20 +0100)]
dbz.c (putconf): Handle systems which use "long long" as type for "off_t".

        * dbz/dbz.c (putconf): Handle systems which use "long long" as type
        for "off_t".
        * dbz/dbzmain.c (mkfiles): Likewise.

From-SVN: r17579

26 years ago* cccp.c (main): Predefine __VMS_VER on VMS.
Klaus Kaempf [Sun, 1 Feb 1998 12:01:18 +0000 (12:01 +0000)]
* cccp.c (main): Predefine __VMS_VER on VMS.

From-SVN: r17578

26 years agoexpr.c (get_inner_reference): Use sbitsizetype for type sizes.
J"orn Rennecke [Sun, 1 Feb 1998 11:47:59 +0000 (11:47 +0000)]
expr.c (get_inner_reference): Use sbitsizetype for type sizes.

        * expr.c (get_inner_reference): Use sbitsizetype for type sizes.
        * fold-const.c (size_int): Replace with
        (size_int_wide).
        (make_bit_field_ref): Use bitsize_int for bit position.
        * stor-layout.c (sizetype): Delete.
        (sizetype_tab, sbitsizetype, ubitsizetype): Declare.
        (layout_record, layout_union, layout_type):
        Use bitsize_int for bit size.
        (set_sizetype): New function.
        (make_signed_type, make_unsigned_type): Use it.
        * c-decl.c (init_decl_processing): Likewise.
        * tree.h (size_int): Don't delcare, #define.
        (size_int_wide, sizetype_tab, sbitsize, ubitsize): Declare.
        (set_sizetype): Declare.
        (bitsize_int, size_int_2, BITS_PER_UNIT_LOG, sizetype, bitsizetype):
        Define.
        * c-typeck.c (c_sizeof, c_sizeof_nowarn, c_size_in_bytes):
        Convert result to sizetype.
        (really_start_incremental_init, push_init_level):
        Set type of constructor_bit_index to sbitsizetype.
        (push_init_level): Use unsigned arithmetic to determine padding.
        (output_init_element): Likewise.

From-SVN: r17577

26 years agodecl.c (init_decl_processing): Use set_sizetype.
J"orn Rennecke [Sun, 1 Feb 1998 11:45:10 +0000 (11:45 +0000)]
decl.c (init_decl_processing): Use set_sizetype.

        * decl.c (init_decl_processing): Use set_sizetype.
        * decl2.c (sizetype): Don't declare.
        * typeck.c (c_sizeof): Convert result of *_DIV_EXPR to sizetype.
        (c_sizeof_nowarn, build_binary_op_nodefault): Likewise.
        (build_component_addr, unary_complex_lvalue): Likewise.
        * rtti.c (expand_class_desc): Likewise.
        * class.c (get_vfield_offset): Likewise.

From-SVN: r17576

26 years agocom.c (ffecom_tree_canonize_ptr_): Place bitsizetype typed expr as first agument...
J"orn Rennecke [Sun, 1 Feb 1998 11:43:05 +0000 (11:43 +0000)]
com.c (ffecom_tree_canonize_ptr_): Place bitsizetype typed expr as first agument in MULT_EXPR.

        * com.c (ffecom_tree_canonize_ptr_): Place bitsizetype typed expr
        as first agument in MULT_EXPR.
        Use bitsize_int (0L, 0L) as zero for bitsizes.
        (ffecom_tree_canonize_ref_):
        Use bitsize_int (0L, 0L) as zero for bitsizes.
        (ffecom_init_0): Use set_sizetype.

From-SVN: r17575

26 years agoRemove unnecessary file.
Jeff Law [Sun, 1 Feb 1998 11:36:50 +0000 (04:36 -0700)]
Remove unnecessary file.

From-SVN: r17574

26 years ago* combine.c (simplify_shift_const): Fix typo in last change.
Jeffrey A Law [Sun, 1 Feb 1998 02:31:03 +0000 (02:31 +0000)]
* combine.c (simplify_shift_const): Fix typo in last change.

From-SVN: r17573

26 years agoconfig.table (vxworks configs): Default to VxWorks 5.x, as that is the currently...
Mike Stump [Sun, 1 Feb 1998 01:51:20 +0000 (18:51 -0700)]
config.table (vxworks configs): Default to VxWorks 5.x, as that is the currently shipping OS.

(
        * config.table (vxworks configs): Default to VxWorks 5.x, as that is
        the currently shipping OS.

From-SVN: r17572

26 years agoconfig.table (vxworks configs): Default to VxWorks 5.x, as that is the currently...
Mike Stump [Sun, 1 Feb 1998 01:51:19 +0000 (18:51 -0700)]
config.table (vxworks configs): Default to VxWorks 5.x, as that is the currently shipping OS.


        * config.table (vxworks configs): Default to VxWorks 5.x, as that is
        the currently shipping OS.

From-SVN: r17571

26 years agocombine.c (simplify_shift_const): (lshiftrt (truncate (lshiftrt))) is (truncate ...
John Carr [Sun, 1 Feb 1998 01:49:32 +0000 (01:49 +0000)]
combine.c (simplify_shift_const): (lshiftrt (truncate (lshiftrt))) is (truncate (lshiftrt)).

        * combine.c (simplify_shift_const):  (lshiftrt (truncate (lshiftrt)))
        is (truncate (lshiftrt)).

From-SVN: r17570

26 years agoMakefile.in (TARGET_CONFIGDIRS): Add libf2c.
Richard Henderson [Sun, 1 Feb 1998 01:41:24 +0000 (17:41 -0800)]
Makefile.in (TARGET_CONFIGDIRS): Add libf2c.

        * Makefile.in (TARGET_CONFIGDIRS): Add libf2c.
        (ALL_TARGET_MODULES, CONFIGURE_TARGET_MODULES): Similarly
        (CHECK_TARGET_MODULES, INSTALL_TARGET_MODULES): Similarly
        (CLEAN_TARGET_MODULES): Similarly
        (all-target-libf2c): Add dependences.
        * configure.in (target_libs): Add libf2c.

From-SVN: r17569

26 years ago* Previous contents of gcc/f/runtime moved into toplevel
Jeff Law [Sun, 1 Feb 1998 01:37:08 +0000 (18:37 -0700)]
* Previous contents of gcc/f/runtime moved into toplevel
        "libf2c" directory.

From-SVN: r17568

26 years ago* runtime directory -- moved into "libfc2" in the toplevel
Richard Henderson [Sun, 1 Feb 1998 01:30:56 +0000 (17:30 -0800)]
* runtime directory -- moved into "libfc2" in the toplevel
        directory.
        * Make-lang.in: Remove all runtime related stuff.
Starting libfc2 rearrangement.

From-SVN: r17567

26 years agoNo longer relavent.
Jeff Law [Sun, 1 Feb 1998 01:22:52 +0000 (18:22 -0700)]
No longer relavent.

From-SVN: r17566

26 years agoalpha.c (alpha_expand_unaligned_load): Use expand_binop properly.
Richard Henderson [Sun, 1 Feb 1998 01:14:40 +0000 (17:14 -0800)]
alpha.c (alpha_expand_unaligned_load): Use expand_binop properly.

        * alpha.c (alpha_expand_unaligned_load): Use expand_binop properly.
        Make sure result winds up in TGT.
        (alpha_expand_unaligned_store): Use expand_binop properly.  Allow
        src to be other than DImode.
        (alpha_expand_unaligned_load_words): Tidy.  Take an offset argument.
        (alpha_expand_unaligned_store_words): Likewise.
        (alpha_expand_block_move): Use REGNO_POINTER_ALIGN.  Restructure so
        that source and destination are separately optimized for alignment.
        (alpha_expand_block_clear): Use REGNO_POINTER_ALIGN.

From-SVN: r17565

26 years agomips.md (adddi3_internal_2): Be consistent with adddi3 expander with handling of...
Jeffrey A Law [Sun, 1 Feb 1998 00:54:27 +0000 (00:54 +0000)]
mips.md (adddi3_internal_2): Be consistent with adddi3 expander with handling of -32768.

        * mips.md (adddi3_internal_2): Be consistent with adddi3 expander
        with handling of -32768.

From-SVN: r17564

26 years agoaclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a shell variable argument...
Kaveh R. Ghazi [Sun, 1 Feb 1998 00:48:06 +0000 (00:48 +0000)]
aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a shell variable argument instead of only hard coded...

        * aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a
        shell variable argument instead of only hard coded functions.
        (GCC_NEED_DECLARATIONS): New macro to accept multiple functions.
        * configure.in: Collapse multiple calls to AC_CHECK_FUNCS into one
        call.  Collapse multiple calls to GCC_NEED_DECLARATION into one
        call to GCC_NEED_DECLARATIONS (new macro.)  Check if we need
        declarations for bcopy, bcmp and bzero.
        * acconfig.h: Add stubs for bcopy, bcmp and bzero declarations.
        * gansidecl.h: If we have bcopy but don't declare it, then do so.
        Likewise for bcmp and bzero.  Only define macros for bcopy, bcmp,
        bzero, index and rindex if they aren't already present.

From-SVN: r17563

26 years agoconfigure.in (getlogin,getgid,getuid, [...]): Check.
Jeff Law [Sun, 1 Feb 1998 00:41:14 +0000 (17:41 -0700)]
configure.in (getlogin,getgid,getuid, [...]): Check.

* libU77/configure.in (getlogin,getgid,getuid, kill,link,ttyname):
Check.
* libU77/config.h.in (HAVE_GETLOGIN, HAVE_GETGID, HAVE_GETUID,
HAVE_KILL, HAVE_LINK, HAVE_TTYNAME): New defs.
* libU77/getlog_.c: Conditionalize for target platform. Set errno
to ENOSYS if target libc doesn't have the function.
* libU77/getgid_.c: Likewise.
* libU77/getuid_.c: Likewise.
* libU77/kill_.c: Likewise.
* libU77/link_.c: Likewise.
* libU77/ttynam_.c: Likewise.

From-SVN: r17562

26 years agotoplev.c (close_dump_file): Wrap function prototype for argument "func" in PROTO.
Jeffrey A Law [Sat, 31 Jan 1998 10:26:48 +0000 (10:26 +0000)]
toplev.c (close_dump_file): Wrap function prototype for argument "func" in PROTO.

        * toplev.c (close_dump_file): Wrap function prototype for
        argument "func" in PROTO.
        (dump_rtl): Likewise.

From-SVN: r17561

26 years agosparc.c (sparc_override_options): Make v8plus and ultrasparc set MASK_V8PLUS.
John Carr [Fri, 30 Jan 1998 23:34:15 +0000 (23:34 +0000)]
sparc.c (sparc_override_options): Make v8plus and ultrasparc set MASK_V8PLUS.

Fri Jan 30 22:30:39 1998  John Carr  <jfc@mit.edu>
        * sparc.c (sparc_override_options): Make v8plus and ultrasparc set
        MASK_V8PLUS.
        (output_function_epilogue): Omit epilogue if nothing drops through.
        (output_move_double): Supress int ldd usage on ultrasparc and v9.
        (registers_ok_for_ldd_peep): Likewise.
        (print_operand): Supress b,a on ultrasparc.  Let Y accept a constant.
        (ultrasparc_adjust_cost): New function.
        (sparc_issue_rate): New function.
        * sparc.h (MASK_VIS, TARGET_VIS): New
        (MASK_V8PLUS, TARGET_V8PLUS): New.
        (TARGET_HARD_MUL32, TARGET_HARD_MUL): New.
        (TARGET_SWITCHES): Add vis and v8plus.
        (REG_CLASS_FROM_LETTER): Accept d and b for VIS.
        (REGISTER_MOVE_COST): FP<->INT move cost 12 for ultrasparc.
        (RTX_COSTS): Use TARGET_HARD_MUL
        (ADJUST_COST): Call ultrasparc_adjust_cost.
        (ISSUE_RATE): New.
        * sparc.md (attr type): Add sload, fpmove, fpcmove.  Adjust users
        of load & fp appropritely.
        (supersparc function units): Adjust for Haifa.
        (ultrasparc function units): Likewise.
        (get_pc_via_rdpc): All v9, not just arch64.
        (movdi_v8plus, movdi_v8plus+1): New.
        (adddi3_sp32+1): New.
        (subdi3_sp32+1): New.
        (movsi_insn, movsf_const_insn, movdf_const_insn): Know VIS.
        (addsi3, subsi3, anddi3_sp32, andsi3, and_not_di_sp32): Likewise.
        (and_not_si, iordi3_sp32, iorsi3, or_not_di_sp32, or_not_si): Likewise.
        (xorsi3_sp32, xorsi3, xor_not_di_sp32, xor_not_si): Likewise.
        (one_cmpldi2_sp32, one_cmplsi2): Likewise.
        (ldd peepholes): Suppress for v9.
        (return_adddi): Kill redundant test.  Arg1 may be arith_operand.
        (return_subsi): Revmove.

From-SVN: r17560

26 years agopatch from jfc to improve aliasing/scheduling
John F. Carr [Fri, 30 Jan 1998 18:31:34 +0000 (10:31 -0800)]
patch from jfc to improve aliasing/scheduling
* mips.c (save_restore_insns): Set RTX_UNCHANGING_P in register
save/restore MEM rtl.

From-SVN: r17559

26 years agonew
Jason Merrill [Fri, 30 Jan 1998 12:04:34 +0000 (07:04 -0500)]
new

From-SVN: r17558

26 years agoTweak last entry.
Jeff Law [Fri, 30 Jan 1998 08:09:16 +0000 (01:09 -0700)]
Tweak last entry.

From-SVN: r17557

26 years agoconfigure.in: Check for declaration of abort.
Jeffrey A Law [Fri, 30 Jan 1998 08:08:31 +0000 (08:08 +0000)]
configure.in: Check for declaration of abort.

        * configure.in: Check for declaration of abort.
* acconfig.h: Corresponding changes.
        * toplev.c: Use NEED_DECLARATION_ABORT to determine if abort should
        be declared.

From-SVN: r17556

26 years agoForgot to commit these...
Jeff Law [Fri, 30 Jan 1998 08:04:59 +0000 (01:04 -0700)]
Forgot to commit these...

From-SVN: r17555