OSDN Git Service

pf3gnuchains/gcc-fork.git
25 years ago * calls.c (store_unaligned_arguments_into_pseudos): Use xmalloc to
law [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.
        (expand_call): Free it here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24561 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago1999-01-07 Andrew Haley <aph@viagra.cygnus.co.uk>
aph [Thu, 7 Jan 1999 10:15:33 +0000 (10:15 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24560 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * sparc.h (PREFERRED_RELOAD_CLASS): Select GENERAL_REGS for
rth [Thu, 7 Jan 1999 03:18:28 +0000 (03:18 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24556 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * config/c4x/c4x.c: Added space after negation operator.
m.hayes [Thu, 7 Jan 1999 02:53:44 +0000 (02:53 +0000)]
* config/c4x/c4x.c: Added space after negation operator.
* config/c4x/c4x.h: Likewise.
* config/c4x/c4x.md: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24555 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24554 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Thu, 7 Jan 1999 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24553 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * test_summary (version): remove carriage return that gawk inserts
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24552 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix copyright.
law [Wed, 6 Jan 1999 23:44:26 +0000 (23:44 +0000)]
Fix copyright.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24551 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24550 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * cp-tree.h (IDENTIFIER_TYPENAME_P): Use OPERATOR_TYPENAME_FORMAT
mmitchel [Wed, 6 Jan 1999 23:38:05 +0000 (23:38 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24548 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * combine.c (num_sign_bit_copies): In NEG, MULT, DIV and MOD cases,
law [Wed, 6 Jan 1999 23:33:29 +0000 (23:33 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24547 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24546 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24544 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24543 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * fixincludes: For HP/UX 10.20, also look in curses_colr/curses.h
brendan [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.  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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24542 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * pa.h (DONT_RECORD_EQUIVALENCE): Kill.
law [Wed, 6 Jan 1999 21:44:21 +0000 (21:44 +0000)]
    * pa.h (DONT_RECORD_EQUIVALENCE): Kill.
        * local-alloc.c (update_equiv_regs): Corresponding changes.
        * tm.texi (DONT_RECORD_EQUIVALENCE): Kill.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24541 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoCopyright typo
law [Wed, 6 Jan 1999 21:31:04 +0000 (21:31 +0000)]
Copyright typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24540 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoCopyright fixes.
law [Wed, 6 Jan 1999 21:10:34 +0000 (21:10 +0000)]
Copyright fixes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24539 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix copyrights.
law [Wed, 6 Jan 1999 21:10:08 +0000 (21:10 +0000)]
Fix copyrights.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24538 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoCopyright fixes.
law [Wed, 6 Jan 1999 20:57:36 +0000 (20:57 +0000)]
Copyright fixes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24537 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24536 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoCopyright fixes.
law [Wed, 6 Jan 1999 20:44:41 +0000 (20:44 +0000)]
Copyright fixes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24535 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24534 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoUpdate copyrights.
law [Wed, 6 Jan 1999 20:10:40 +0000 (20:10 +0000)]
Update copyrights.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24533 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix copyright dates.
law [Wed, 6 Jan 1999 20:07:50 +0000 (20:07 +0000)]
Fix copyright dates.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24532 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix copyrights.
law [Wed, 6 Jan 1999 20:02:36 +0000 (20:02 +0000)]
Fix copyrights.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24531 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix copyright dates.
law [Wed, 6 Jan 1999 19:54:35 +0000 (19:54 +0000)]
Fix copyright dates.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24530 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix copyrights.
law [Wed, 6 Jan 1999 19:48:38 +0000 (19:48 +0000)]
Fix copyrights.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24529 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix copyright date.
law [Wed, 6 Jan 1999 19:42:20 +0000 (19:42 +0000)]
Fix copyright date.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24528 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix copyright dates.
law [Wed, 6 Jan 1999 19:40:37 +0000 (19:40 +0000)]
Fix copyright dates.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24527 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24526 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * expr.c (expand_builtin) [case BUILT_IN_CONSTANT_P]: Use
rth [Wed, 6 Jan 1999 18:51:30 +0000 (18:51 +0000)]
    * expr.c (expand_builtin) [case BUILT_IN_CONSTANT_P]: Use
        value_mode for the return mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24525 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * calls.c (special_function_p): Push alloca test inside the large
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 file scope or not
        extern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24524 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago8
bothner [Wed, 6 Jan 1999 17:49:38 +0000 (17:49 +0000)]
8
* check-init.c:  New file.  Checks for definite assignment.
Various minor other changes;  see ChangeLog.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24523 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * check-init.c: New file. Checks for definite assignment.
bothner [Wed, 6 Jan 1999 17:49:36 +0000 (17:49 +0000)]
* check-init.c:  New file.  Checks for definite assignment.
Various minor other changes;  see ChangeLog.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24522 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
bothner [Wed, 6 Jan 1999 17:49:29 +0000 (17:49 +0000)]

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24521 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
bothner [Wed, 6 Jan 1999 17:36:52 +0000 (17:36 +0000)]

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24520 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago8
bothner [Wed, 6 Jan 1999 17:36:50 +0000 (17:36 +0000)]
8
* parse.y : include system.h instead of including
standard headers directly with the exception of <dirent.h>.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24519 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
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.c:  Static function declarations moved here.
* jcf-dump.c:  Small fixes to shut up -Wall warnings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24518 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago* configure.in: New flag --with-dwarf2. If set, enables DWARF-2
robertl [Wed, 6 Jan 1999 16:05:47 +0000 (16:05 +0000)]
* configure.in: New flag --with-dwarf2.   If set, enables DWARF-2
debugging as default.
* config/tm-dwarf2.h: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24517 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * calls.c (special_function_p): New function broken out of
law [Wed, 6 Jan 1999 15:15:11 +0000 (15:15 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24516 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoAndreas Schwab <schwab@issan.cs.uni-dortmund.de>
rth [Wed, 6 Jan 1999 10:44:27 +0000 (10:44 +0000)]
Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
        * config/m68k/m68k.c (const_uint32_operand): Remove CONSTANT_P_RTX
        handling.
        (const_sint32_operand): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24515 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * toplev.h: In addition to checking _JBLEN, also check if `setjmp'
ghazi [Wed, 6 Jan 1999 06:56:11 +0000 (06:56 +0000)]
    * toplev.h: In addition to checking _JBLEN, also check if `setjmp'
        is a macro when deciding if we can use `jmp_buf' in prototypes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24514 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * config/c4x/c4x.md (addqi3): If the destination operand is
m.hayes [Wed, 6 Jan 1999 03:20:44 +0000 (03:20 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24511 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * configure.in (pc-msdosdjgpp): Set x_make to x-go32.
law [Wed, 6 Jan 1999 02:25:57 +0000 (02:25 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24510 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * g++spec.c (LIBSTDCXX): Provide default definition.
law [Wed, 6 Jan 1999 02:23:10 +0000 (02:23 +0000)]
    * g++spec.c (LIBSTDCXX): Provide default definition.
        (lang_specific_driver): Use LIBSTDCXX instead of "-lstdc++".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24509 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * Makefile.in: Add some missing $(exeext). Remove some obsolete
law [Wed, 6 Jan 1999 01:57:27 +0000 (01:57 +0000)]
    * Makefile.in: Add some missing $(exeext).  Remove some obsolete
        runtime stuff.
        * Make-lang.in: Similarly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24508 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
law [Wed, 6 Jan 1999 01:28:56 +0000 (01:28 +0000)]

        * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24507 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
law [Wed, 6 Jan 1999 01:28:53 +0000 (01:28 +0000)]

        * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24506 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24504 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Wed, 6 Jan 1999 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24503 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24502 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24501 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24500 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24499 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * Makefile.in (gcc.o, prefix.o, cccp.o, cpplib.o): Depend on prefix.h.
ghazi [Tue, 5 Jan 1999 19:11:22 +0000 (19:11 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24498 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Tue, 5 Jan 1999 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24495 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * configure.in (thread_file): Correct and simplify code to find
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: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24494 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoA newer branch for fixinclude work.
robertl [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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24488 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24486 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago1998-12-21 18:03 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
brolley [Mon, 4 Jan 1999 12:38:22 +0000 (12:38 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24485 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoWed Dec 23 17:30:18 1998 Zack Weinberg <zack@rabi.phys.columbia.edu>
brolley [Mon, 4 Jan 1999 12:15:43 +0000 (12:15 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24484 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24483 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agonew
jason [Mon, 4 Jan 1999 11:55:40 +0000 (11:55 +0000)]
new

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24482 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * tree.c (bound_pmf_p): New fn.
jason [Mon, 4 Jan 1999 11:55:37 +0000 (11:55 +0000)]
* tree.c (bound_pmf_p): New fn.
* typeck.c (build_c_cast): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24481 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * decl.c (grok_op_properties): Use same_type_p.
jason [Mon, 4 Jan 1999 10:54:26 +0000 (10:54 +0000)]
* decl.c (grok_op_properties): Use same_type_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24480 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoWarning fixes:
ghazi [Mon, 4 Jan 1999 08:11:13 +0000 (08:11 +0000)]
Warning fixes:
        * mips-tdump.c (st_to_string, sc_to_string, glevel_to_string,
        lang_to_string, type_to_string): Make return type const char*.
        (print_symbol): Apply `const' keyword to a char*.
        (print_file_desc): Cast structure member `crfd' to ulong when
        comparing against one.
        * mips-tfile.c (pfatal_with_name): Apply `const' keyword to char*.
        (fatal, error): Add ATTRIBUTE_PRINTF_1 to prototypes.
        (progname, input_name): Apply `const' keyword to a char*.
        Don't redundantly include sys/stat.h.
        (alloc_info): Apply `const' keyword to a char*.
        (st_to_string, sc_to_string): Likewise.
        (hash_string): Cast variable `hash_string' to a symint_t when
        comparing against one.
        (add_string): Cast PAGE_USIZE to Ptrdiff_t when comparing against one.
        Likewise cast it to long when comparing against one.
        (add_local_symbol): Apply `const' keyword to a char*.
        (add_ext_symbol): Likewise.
        (add_unknown_tag): Likewise.
        (add_procedure): Cast a printf-style field width to an int.
        (add_file): Cast PAGE_USIZE to long when comparing against one
        (parse_begin): Cast a printf-style field width to an int.
        (parse_bend): Likewise.
        (parse_def): Likewise.
        (parse_end): Likewise.
        (mark_stabs): Mark parameter `start' with ATTRIBUTE_UNUSED.
        (parse_stabs_common): Fix format specifier.
        (parse_input): Change type of variable `i' to Size_t.
        (write_object): Fix arguments to match format specifiers.
        Cast variable `num_write' to long when comparing against one.
        (read_seek): Cast variable `sys_read' to symint_t when comparing
        against one.  Fix arguments to match format specifiers.  Cast
        variable `size' to long when comparing against one.
        (copy_object): Cast result of `sizeof' to int when comparing
        against one.  Fix arguments to match format specifiers.  Cast
        variable `ifd' to long when comparing against a signed value.
        Likewise, likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24479 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * c-common.c (decl_attributes): Allow applying attribute `unused'
ghazi [Mon, 4 Jan 1999 07:48:37 +0000 (07:48 +0000)]
    * c-common.c (decl_attributes): Allow applying attribute `unused'
        on a LABEL_DECL.
        * c-parse.in (label): Parse attributes after a label, and call
        `decl_attributes' to handle them.
        * gansidecl.h (ATTRIBUTE_UNUSED_LABEL): Define.
        * genrecog.c (OUTPUT_LABEL, write_tree_1, write_tree): When
        generating labels, mark them with ATTRIBUTE_UNUSED_LABEL.
        * invoke.texi: Note that labels can be marked `unused'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24478 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Mon, 4 Jan 1999 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24477 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoBump for snapshot
law [Sun, 3 Jan 1999 23:32:23 +0000 (23:32 +0000)]
Bump for snapshot

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24473 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * optabs.c (emit_cmp_and_jump_insns): Use CONSTANT_P canonicalizing
law [Sun, 3 Jan 1999 22:03:47 +0000 (22:03 +0000)]
    * optabs.c (emit_cmp_and_jump_insns): Use CONSTANT_P canonicalizing
        RTL for a compare/jump sequence.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24472 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * optabs.c (emit_cmp_insn): Abort if asked to emit non-canonical RTL
law [Sun, 3 Jan 1999 20:43:14 +0000 (20:43 +0000)]
    * optabs.c (emit_cmp_insn): Abort if asked to emit non-canonical RTL
        for a target with HAVE_cc0 defined.
        (emit_cmp_and_jump_insns): New function.
        * expr.h (emit_cmp_and_jump_insns): Prototype it.
        * loop.c (check_dbra_loop): Use it to replace calls
        to emit_cmp_insn and emit_jump_insn and to canonicalise
        the comparison if necessary.
        * unroll.c (unroll_loop): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24471 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * fixincludes (sys/utsname.h): Provide forward declaration of
law [Sun, 3 Jan 1999 20:16:10 +0000 (20:16 +0000)]
    * fixincludes (sys/utsname.h): Provide forward declaration of
        struct utsname on Ultrix V4.[35].

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24470 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoUpdate copyrights.
law [Sun, 3 Jan 1999 20:09:31 +0000 (20:09 +0000)]
Update copyrights.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24469 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoCopyright update.
law [Sun, 3 Jan 1999 20:08:21 +0000 (20:08 +0000)]
Copyright update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24468 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * readrecord.c: Include <sys/types.h> for off_t.
law [Sun, 3 Jan 1999 20:07:56 +0000 (20:07 +0000)]
    * readrecord.c: Include <sys/types.h> for off_t.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24467 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * mips.md (div_trap): Use local labels instead of dot-relative
law [Sun, 3 Jan 1999 20:04:50 +0000 (20:04 +0000)]
    * mips.md (div_trap): Use local labels instead of dot-relative
        branches.
Works around bug in ultrix assemblers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24466 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * pa.md (branch, negated branch): Handle (const_int 0) as first
law [Sun, 3 Jan 1999 19:45:34 +0000 (19:45 +0000)]
    * pa.md (branch, negated branch): Handle (const_int 0) as first
        source operand.
        * pa.c (output_cbranch): Likewise.
Should fix unrolling aborts on the PA.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24465 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Sun, 3 Jan 1999 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24464 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * rs6000.c (rs6000_stack_info): Undo spurious part of last
dje [Sun, 3 Jan 1999 00:24:05 +0000 (00:24 +0000)]
    * rs6000.c (rs6000_stack_info): Undo spurious part of last
        change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24463 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago* configure.in: (*-*-sysv5, *-*-*udk*): Treat like sysv4.
robertl [Sat, 2 Jan 1999 19:16:17 +0000 (19:16 +0000)]
* configure.in:  (*-*-sysv5, *-*-*udk*):  Treat like sysv4.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24462 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Sat, 2 Jan 1999 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24461 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * extend.texi (__builtin_constant_p): Add missing @smallexample.
manfred [Fri, 1 Jan 1999 12:34:39 +0000 (12:34 +0000)]
* extend.texi (__builtin_constant_p): Add missing @smallexample.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24460 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
manfred [Fri, 1 Jan 1999 12:34:37 +0000 (12:34 +0000)]

* extend.texi (__builtin_constant_p): Add missing @smallexample.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24459 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * i386.md (doubleword shifts): Fix dumb mistakes in previous change.
law [Fri, 1 Jan 1999 10:53:08 +0000 (10:53 +0000)]
    * i386.md (doubleword shifts): Fix dumb mistakes in previous change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24457 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago
law [Fri, 1 Jan 1999 10:53:05 +0000 (10:53 +0000)]

        * i386.md (doubleword shifts): Fix dumb mistakes in previous change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24456 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Fri, 1 Jan 1999 00:45:02 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24455 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoDaily bump.
law [Thu, 31 Dec 1998 00:45:03 +0000 (00:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24454 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * m68k.md (adddi_dilshr32): Allow all operands to be registers too.
law [Thu, 31 Dec 1998 00:13:53 +0000 (00:13 +0000)]
    * m68k.md (adddi_dilshr32): Allow all operands to be registers too.
        (adddi_dishl32): Similarly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24452 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * cse.c (invalidate_skipped_block): Call invalidate_from_clobbers
law [Wed, 30 Dec 1998 23:35:49 +0000 (23:35 +0000)]
    * cse.c (invalidate_skipped_block): Call invalidate_from_clobbers
        for each insn in the skipped block.
Fixes m68k codegen bug.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24450 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * reload1.c (reload_as_needed): Verify that the insn satisfies its
law [Wed, 30 Dec 1998 23:14:25 +0000 (23:14 +0000)]
    * reload1.c (reload_as_needed): Verify that the insn satisfies its
        constraints after replacing a register address with an autoincrement
        address for reload inheritance purposes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24449 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * i386.md (doubleword shifts): Avoid namespace pollution.
law [Wed, 30 Dec 1998 22:45:16 +0000 (22:45 +0000)]
    * i386.md (doubleword shifts): Avoid namespace pollution.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24448 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * gcc.c-torture/compile/981223-1.c: New test.
law [Wed, 30 Dec 1998 22:08:25 +0000 (22:08 +0000)]
    * gcc.c-torture/compile/981223-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24447 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * configure.in (FreeBSD ELF): Needs special crt files.
law [Wed, 30 Dec 1998 22:05:08 +0000 (22:05 +0000)]
    * configure.in (FreeBSD ELF): Needs special crt files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24446 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * i386/xm-cygwin.h: change DIR_SEPARATOR to forward slash.
law [Wed, 30 Dec 1998 21:53:20 +0000 (21:53 +0000)]
    * i386/xm-cygwin.h: change DIR_SEPARATOR to forward slash.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24445 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * loop.c (check_dbra_loop): While reversing the loop, if the
law [Wed, 30 Dec 1998 21:51:53 +0000 (21:51 +0000)]
    * loop.c (check_dbra_loop): While reversing the loop, if the
        comparison value has a VOID mode use the mode of the other operand
        to compute the mask.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24444 138bc75d-0d04-0410-961f-82ee72b054a4

25 years agoFix calculation of fpmem_offset on little endian systems; Silence warnings when build...
meissner [Wed, 30 Dec 1998 19:37:53 +0000 (19:37 +0000)]
Fix calculation of fpmem_offset on little endian systems; Silence warnings when building explow

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24443 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * gcc.texi (Non-bugs): ``Empty'' loops will be optimized away in
gerald [Wed, 30 Dec 1998 05:28:05 +0000 (05:28 +0000)]
* gcc.texi (Non-bugs): ``Empty'' loops will be optimized away in
the future; indeed that already happens in some cases.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24442 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * rtl.h (CONSTANT_P): Remove CONSTANT_P_RTX.
rth [Tue, 29 Dec 1998 12:03:36 +0000 (12:03 +0000)]
    * rtl.h (CONSTANT_P): Remove CONSTANT_P_RTX.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24441 138bc75d-0d04-0410-961f-82ee72b054a4

25 years ago * sparc.c (input_operand): Recognize (const (constant_p_rtx)).
rth [Tue, 29 Dec 1998 12:02:15 +0000 (12:02 +0000)]
    * sparc.c (input_operand): Recognize (const (constant_p_rtx)).
        (arith_operand): Remove constant_p_rtx handling.
        (const64_operand, const64_high_operand): Likewise.
        (arith11_operand, arith10_operand, arith_double_operand): Likewise.
        (arith11_double_operand, arith10_double_operand, small_int): Likewise.
        (small_int_or_double, uns_small_int, zero_operand): Likewise.
        * sparc.h (PREDICATE_CODES): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24440 138bc75d-0d04-0410-961f-82ee72b054a4