OSDN Git Service

pf3gnuchains/gcc-fork.git
25 years ago* genextract.c (main): Clear recog_operands before extracting.
rth [Fri, 26 Feb 1999 16:00:08 +0000 (16:00 +0000)]
* genextract.c (main): Clear recog_operands before extracting.

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

25 years ago * genattrtab.c (simplify_knowing): Fix uninitialized read
rth [Fri, 26 Feb 1999 15:35:21 +0000 (15:35 +0000)]
    * genattrtab.c (simplify_knowing): Fix uninitialized read
        in Feb 21 change.

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

25 years ago0
bothner [Fri, 26 Feb 1999 14:50:21 +0000 (14:50 +0000)]
0
*  check-init.c (check_init):  COPYN takes word count, not bit count.

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

25 years ago
bothner [Fri, 26 Feb 1999 14:50:20 +0000 (14:50 +0000)]

*  check-init.c (check_init):  COPYN takes word count, not bit count.

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

25 years ago
bothner [Fri, 26 Feb 1999 14:43:30 +0000 (14:43 +0000)]

* typeck.c (convert_ieee_real_to_integer):  Use save_expr instead of
explicit build_decl.  (Avoids crash in reload when optimizing.)
* decl.c (complete_start_java_method):  Handle synchronized method
even when compiling from bytecode.

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

25 years ago
bothner [Fri, 26 Feb 1999 14:43:29 +0000 (14:43 +0000)]

* typeck.c (convert_ieee_real_to_integer):  Use save_expr instead of
explicit build_decl.  (Avoids crash in reload when optimizing.)
* decl.c (complete_start_java_method):  Handle synchronized method
even when compiling from bytecode.

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

25 years ago * gjavah.c (add_class_decl): Only generate `#include' if outer
tromey [Fri, 26 Feb 1999 12:49:52 +0000 (12:49 +0000)]
* gjavah.c (add_class_decl): Only generate `#include' if outer
class is not the name of the class we are processing.  Correctly
append `.h' in #include.
(process_file): Clean up newlines around generated `#include's.
(decode_signature_piece): Correctly handle inner classes.
(struct include): New structure.
(all_includes): New global.
(print_include): New function.
(add_class_decl): Use it.
(process_file): Likewise.
(add_class_decl): Generate include for java-array.h if array
seen.
(process_file): Don't generate java-array.h include.

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

25 years ago * typeck.c (decay_conversion): Don't confuse constant array
mmitchel [Fri, 26 Feb 1999 12:15:37 +0000 (12:15 +0000)]
* typeck.c (decay_conversion): Don't confuse constant array
variables with their intiailizers.

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

25 years ago * decl.c (duplicate_decls): Copy DECL_TEMPLATE_INSTANTIATED when
mmitchel [Fri, 26 Feb 1999 12:11:43 +0000 (12:11 +0000)]
* decl.c (duplicate_decls): Copy DECL_TEMPLATE_INSTANTIATED when
merging decls.
* pt.c (regenerate_decl_from_template): Tweak for clarity.
(instantiate_decl): Mark a decl instantiated before regenerating
it to avoid recursion.
* tree.c (mapcar): Don't call decl_constant_value unless we know
something is TREE_READONLY_DECL_P.

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

25 years ago * class.c (check_for_override): Don't stop checking when we find
mmitchel [Fri, 26 Feb 1999 12:00:10 +0000 (12:00 +0000)]
* class.c (check_for_override): Don't stop checking when we find
the first overridden function.  Delete #if 0'd code.
* search.c (get_matching_virtual): Likewise.

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

25 years ago * gjavah.c (add_namelet): Check for standard package names here.
tromey [Fri, 26 Feb 1999 11:33:53 +0000 (11:33 +0000)]
* gjavah.c (add_namelet): Check for standard package names here.
(add_class_decl): Don't check for standard package names here.

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

25 years agoDon't shift signed positive integers into the sign bit
zack [Fri, 26 Feb 1999 06:00:48 +0000 (06:00 +0000)]
Don't shift signed positive integers into the sign bit

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

25 years ago * c-pragma.c (add_weak); Delete. Moved into...
law [Fri, 26 Feb 1999 01:29:21 +0000 (01:29 +0000)]
    * c-pragma.c (add_weak); Delete.  Moved into...
        * varasm.c (add_weak): New external function.
        (declare_weak): If HANDLE_PRAGMA_WEAK, then add the function to
        the list of weak functions.
        * c-pragma (add_weak): Declare.

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

25 years agoDaily bump.
law [Fri, 26 Feb 1999 00:45:04 +0000 (00:45 +0000)]
Daily bump.

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

25 years agoFlow rewrite to use basic block structures and edge lists.
rth [Thu, 25 Feb 1999 23:45:42 +0000 (23:45 +0000)]
Flow rewrite to use basic block structures and edge lists.

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

25 years ago * fixinc.wrap: Also handle struct queue in sys/stream.h.
jason [Thu, 25 Feb 1999 21:35:57 +0000 (21:35 +0000)]
* fixinc.wrap: Also handle struct queue in sys/stream.h.
* fixinc.svr4: Likewise.

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

25 years ago * dwarf2out.c (scope_die_for): Set scope_die to comp_unit_die
jason [Thu, 25 Feb 1999 21:26:06 +0000 (21:26 +0000)]
* dwarf2out.c (scope_die_for): Set scope_die to comp_unit_die
rather than asserting it.

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

25 years ago * cppexp.c (left_shift, right_shift, parse_charconst, COMPARE,
ghazi [Thu, 25 Feb 1999 20:48:42 +0000 (20:48 +0000)]
    * cppexp.c (left_shift, right_shift, parse_charconst, COMPARE,
        cpp_parse_expr): Replace uses of long/HOST_BITS_PER_LONG with
        HOST_WIDEST_INT/HOST_BITS_PER_WIDEST_INT.

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

25 years ago * Makefile.in (cppmain.o, cpplib.o, cpphash.o, cppalloc.o,
ghazi [Thu, 25 Feb 1999 20:40:21 +0000 (20:40 +0000)]
    * Makefile.in (cppmain.o, cpplib.o, cpphash.o, cppalloc.o,
        cpperror.o, cppexp.o, cppfiles.o, cppinit.o, fix-header.o,
        scan-decls.o): Don't depend on machmode.h.
        * cppexp.c: Don't define CHAR_BIT or HOST_BITS_PER_WIDE_INT anymore.
        Replace all instances of HOST_WIDE_INT with HOST_WIDEST_INT.
        * cppfiles.c: Likewise.
        * cpplib.c: Likewise.
        * cpplib.h: Likewise.  Also don't include machmode.h anymore.

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

25 years ago * gcc.c (default_compilers): Define __FAST_MATH__ when appropriate.
rth [Thu, 25 Feb 1999 18:50:07 +0000 (18:50 +0000)]
    * gcc.c (default_compilers): Define __FAST_MATH__ when appropriate.
        * cp/lang-specs.h: Likewise.
        * f/lang-specs.h: Likewise.
        * objc/lang-specs.h: Likewise.

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

25 years agoFix two typos
zack [Thu, 25 Feb 1999 18:06:54 +0000 (18:06 +0000)]
Fix two typos

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

25 years ago * pa.md (call patterns): Lose unused argument to output_call.
law [Thu, 25 Feb 1999 16:33:18 +0000 (16:33 +0000)]
    * pa.md (call patterns): Lose unused argument to output_call.

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

25 years ago * print-rtl.c (print_rtl): Print /j and /c for the jump/call flags.
law [Thu, 25 Feb 1999 15:25:06 +0000 (15:25 +0000)]
    * print-rtl.c (print_rtl): Print /j and /c for the jump/call flags.

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

25 years ago1999-02-25 17:14 -0500 Zack Weinberg <zack@rabi.columbia.edu>
zack [Thu, 25 Feb 1999 14:24:40 +0000 (14:24 +0000)]
1999-02-25 17:14 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
* cpphash.c (install): Rename to cpp_install, add cpp_reader*
first argument.  All callers changed.
(hashtab): Removed.
(cpp_lookup, cpp_install): Change all refs to hashtab to
pfile->hashtab.
(cpp_hash_cleanup): Removed.
* cpphash.h: Adjust prototypes.
* cpplib.h (struct cpp_reader): Add hashtab pointer.
* cppinit.c (cpp_reader_init): Also allocate space for the
hashtab.
(cpp_cleanup): Delete all macros and free the hashtab.

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

25 years ago * sh.h (PASS_IN_REG_P): For TARGET_HITACHI, don't pass structures
amylaar [Thu, 25 Feb 1999 14:02:32 +0000 (14:02 +0000)]
* sh.h (PASS_IN_REG_P):  For TARGET_HITACHI, don't pass structures
in registers.
* expr.h (PRETEND_OUTGOING_VARARGS_NAMED): Provide default definition.
* function.c (assign_parms): Honour PRETEND_OUTGOING_VARARGS_NAMED.
* calls.c (expand_call): Likewise.
* sh.c (sh_expand_prologue): For TARGET_HITACHI, don't push varargs /
stdarg arguments.
* sh.h (CPP_SPEC): Add -D__HITACHI__ for -mhitachi.
(FUNCTION_ARG):  For TARGET_HITACHI, don't pass unnamed
arguments in registers.
(PRETEND_OUTGOING_VARARGS_NAMED): Define.
* va-sh.h (entire file): If __HITACHI__ is defined, use sh[123]
flavour varargs.

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

25 years ago * parse.y (read_import_dir): Use `|=', not `+=', to set `found'.
tromey [Thu, 25 Feb 1999 12:36:03 +0000 (12:36 +0000)]
* parse.y (read_import_dir): Use `|=', not `+=', to set `found'.
When reading a zip file, only use strncmp if both strings are
bigger than the buffer length.  Initialize `k' when looping
through zip file.

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

25 years ago * cse.c (dump_class): Revert last change and make the prototype
ghazi [Thu, 25 Feb 1999 11:43:00 +0000 (11:43 +0000)]
   * cse.c (dump_class): Revert last change and make the prototype
       extern.

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

25 years agoClarify/index lack of run-time allocation for concatenation
burley [Thu, 25 Feb 1999 11:32:08 +0000 (11:32 +0000)]
Clarify/index lack of run-time allocation for concatenation

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

25 years ago * rtl.h (insn_first_p): Don't declare.
amylaar [Thu, 25 Feb 1999 11:16:17 +0000 (11:16 +0000)]
* rtl.h (insn_first_p): Don't declare.
* rtlanal.c (insn_first_p): Delete.
* loop.c (loop_insn_first_p): Faster implementation.

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

25 years agoDelete target options -m2 -m3 & -m6.
rearnsha [Thu, 25 Feb 1999 10:57:17 +0000 (10:57 +0000)]
Delete target options -m2 -m3 & -m6.
Fix pic register initialization.
Update zero-extraction patterns.

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

25 years agonew
jason [Thu, 25 Feb 1999 10:49:39 +0000 (10:49 +0000)]
new

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

25 years ago * stmt.c (expand_end_loop): Grok code emitted by
amylaar [Thu, 25 Feb 1999 10:46:06 +0000 (10:46 +0000)]
* stmt.c (expand_end_loop): Grok code emitted by
expand_exit_loop_if_false.

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

25 years agoFix minor typo.
nickc [Thu, 25 Feb 1999 10:36:37 +0000 (10:36 +0000)]
Fix minor typo.

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

25 years agoTidy up previous delta
nickc [Thu, 25 Feb 1999 10:20:21 +0000 (10:20 +0000)]
Tidy up previous delta

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

25 years ago * cse.c (dump_class): Make the function definition static to match
ghazi [Thu, 25 Feb 1999 09:29:10 +0000 (09:29 +0000)]
   * cse.c (dump_class): Make the function definition static to match
       the prototype.

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

25 years agofix @xref's to have trailing commas [from Andreas Jaeger <aj@arthur.rhein-neckar...
burley [Thu, 25 Feb 1999 09:04:35 +0000 (09:04 +0000)]
fix @xref's to have trailing commas [from Andreas Jaeger <aj@arthur.rhein-neckar.de>]

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

25 years agofix up ChangeLog entry confusion
burley [Thu, 25 Feb 1999 04:33:38 +0000 (04:33 +0000)]
fix up ChangeLog entry confusion

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

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

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

25 years agoNew test case.
loewis [Thu, 25 Feb 1999 00:40:27 +0000 (00:40 +0000)]
New test case.

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

25 years agoNew test cases.
loewis [Thu, 25 Feb 1999 00:33:51 +0000 (00:33 +0000)]
New test cases.

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

25 years ago * typeck.c (convert_for_assignment): Allow boolean integral constant
jason [Thu, 25 Feb 1999 00:11:35 +0000 (00:11 +0000)]
* typeck.c (convert_for_assignment): Allow boolean integral constant
expressions to convert to null pointer.
* decl.c (lookup_namespace_name): Resolve namespace aliases.
* class.c (push_nested_class): Allow namespaces.
* decl2.c (set_decl_namespace): Add friendp parameter.
* decl.c (grokfndecl): Pass it.
(grokvardecl): Likewise.
* cp-tree.h: Change declaration.

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

25 years ago * configure.in: Fix INSTALLDIR sed pattern for Solaris sed.
jason [Wed, 24 Feb 1999 23:50:35 +0000 (23:50 +0000)]
* configure.in: Fix INSTALLDIR sed pattern for Solaris sed.

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

25 years agoFix cross compiler build failure in dbxout.c.
wilson [Wed, 24 Feb 1999 21:00:04 +0000 (21:00 +0000)]
Fix cross compiler build failure in dbxout.c.
* dbxout.c (gstab.h): Use if CROSS_COMPILE.

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

25 years ago * calls.c (initialize_argument_information): New function extracted
law [Wed, 24 Feb 1999 19:06:17 +0000 (19:06 +0000)]
    * calls.c (initialize_argument_information): New function extracted
        from expand_call.
        (expand_call): Use initialize_argument_information.  Remove variables
        which are no longer used due to cleanups.

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

25 years agofinish applying earlier patch from Dave Love
burley [Wed, 24 Feb 1999 19:03:02 +0000 (19:03 +0000)]
finish applying earlier patch from Dave Love

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

25 years agochangelog entries keep people happy
burley [Wed, 24 Feb 1999 18:54:55 +0000 (18:54 +0000)]
changelog entries keep people happy

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

25 years agomove test to its proper home, given current g77
burley [Wed, 24 Feb 1999 18:48:17 +0000 (18:48 +0000)]
move test to its proper home, given current g77

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

25 years agoFix dwarf2 debug error found by gdb testsuite: add big-endian correction.
wilson [Wed, 24 Feb 1999 17:48:42 +0000 (17:48 +0000)]
Fix dwarf2 debug error found by gdb testsuite: add big-endian correction.
* dwarf2out.c (add_location_or_const_value_attribute):  Add big
endian correction for parms passed in regs but living on the stack.

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

25 years ago * calls.c (compute_argument_block_size): New function, extracted from
law [Wed, 24 Feb 1999 17:42:40 +0000 (17:42 +0000)]
    * calls.c (compute_argument_block_size): New function, extracted from
        expand_calls.
        (expand_calls): Use compute_argument_block_size.  Delete
        original_args_size, use unadjusted_args_size instead.

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

25 years agoTypo fix in comment.
amylaar [Wed, 24 Feb 1999 16:54:38 +0000 (16:54 +0000)]
Typo fix in comment.

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

25 years ago * calls.c (precompute_arguments): New function, extracted from
law [Wed, 24 Feb 1999 16:29:36 +0000 (16:29 +0000)]
    * calls.c (precompute_arguments): New function, extracted from
        expand_call.
        (expand_call): Use precompute_arguments.

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

25 years agoFix typo in arm recognition string
nickc [Wed, 24 Feb 1999 16:23:58 +0000 (16:23 +0000)]
Fix typo in arm recognition string

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

25 years ago * calls.c (finalize_must_preallocate): New function, extracted from
law [Wed, 24 Feb 1999 15:07:38 +0000 (15:07 +0000)]
    * calls.c (finalize_must_preallocate): New function, extracted from
        expand_call.
        (expand_call): Use finalize_must_preallocate.
        * calls.c (store_one_arg): Mark "variable_size" as possibly unused.

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

25 years agoAdd -O3 to TORTURE_OPTIONS list.
nickc [Wed, 24 Feb 1999 14:12:44 +0000 (14:12 +0000)]
Add -O3 to TORTURE_OPTIONS list.

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

25 years ago * gjavah.c (struct namelet): New structure.
tromey [Wed, 24 Feb 1999 13:47:39 +0000 (13:47 +0000)]
* gjavah.c (struct namelet): New structure.
(add_namelet): New function.
(print_namelet): New function.
(print_class_decls): Use add_namelet and print_namelet to generate
namespaces and not classes.
(method_printed): New global.
(HANDLE_END_METHOD): Examine method_printed.
(print_method_info): Set method_printed when required.  Print
error if function to be ignored is marked virtual.  Handle $finit$
method.
(METHOD_IS_FINAL): New macro.
(print_field_info): Use it.
(HANDLE_METHOD): Clear method_printed.
(method_pass): New global.
(HANDLE_END_FIELD): Call add_class_decl on the first pass.
(process_file): Do two passes over both fields and methods.
(HANDLE_METHOD): Examine method_pass.
(root): New global.
(add_class_decl): New function.
(print_class_decls): Don't scan over entire constant pool.

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

25 years ago * regclass.c (record_reg_classes, case 'p'): Set classes appropriately.
law [Wed, 24 Feb 1999 13:17:04 +0000 (13:17 +0000)]
    * regclass.c (record_reg_classes, case 'p'): Set classes appropriately.
        An alternative always fails if it needs a pseudo and no suitable
        register class can be found.
Bootstrapped on solaris.

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

25 years ago * loop.h (loop_insn_first_p): Declare.
amylaar [Wed, 24 Feb 1999 11:50:54 +0000 (11:50 +0000)]
* loop.h (loop_insn_first_p): Declare.
* loop.c (loop_insn_first_p): No longer static.
* unroll.c (iteration_info) Fix comparison to
reg_iv_type->num_elements.
Before accessing reg_biv_class, check index against
max_reg_before_loop.
Fix and enable code for giv iterators.
(loop_iterations): Compare with reg_iv_type->num_elements instead
of with max_reg_before_loop.

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

25 years ago * pt.c (tsubst): Allow an array of explicit size zero.
jason [Wed, 24 Feb 1999 11:46:56 +0000 (11:46 +0000)]
* pt.c (tsubst): Allow an array of explicit size zero.

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

25 years ago * unroll.c (unroll_loop): Avoid out-of-bounds index for local_regno.
amylaar [Wed, 24 Feb 1999 11:18:59 +0000 (11:18 +0000)]
* unroll.c (unroll_loop): Avoid out-of-bounds index for local_regno.

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

25 years agoNew testcase for cpp, written by Kaveh Ghazi <ghazi@caip.rutgers.edu>
zack [Wed, 24 Feb 1999 11:09:08 +0000 (11:09 +0000)]
New testcase for cpp, written by Kaveh Ghazi <ghazi@caip.rutgers.edu>

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

25 years agoWed Feb 24 11:26:41 1999 Vladimir N. Makarov <vmakarov@cygnus.com>
vmakarov [Wed, 24 Feb 1999 08:33:57 +0000 (08:33 +0000)]
Wed Feb 24 11:26:41 1999  Vladimir N. Makarov  <vmakarov@cygnus.com>
* config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Don't use
  PIC_OFFSET_TABLE_REGNUM for register allocation when -fPIC.

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

25 years agoupdate lib[FIU]77/configure from autoconf 2.13
burley [Wed, 24 Feb 1999 08:15:19 +0000 (08:15 +0000)]
update lib[FIU]77/configure from autoconf 2.13

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

25 years agofix up entries
burley [Wed, 24 Feb 1999 08:13:43 +0000 (08:13 +0000)]
fix up entries

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

25 years ago* lib/Makefile.in: Regen dependencies.
oliva [Wed, 24 Feb 1999 01:03:01 +0000 (01:03 +0000)]
* lib/Makefile.in: Regen dependencies.
* makeinfo/Makefile.in, util/Makefile.in: Likewise.

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

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

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

25 years ago * jvspec.c (lang_specific_driver): Recognize -fsyntax-only and
tromey [Tue, 23 Feb 1999 17:42:38 +0000 (17:42 +0000)]
* jvspec.c (lang_specific_driver): Recognize -fsyntax-only and
disable linking in that case.

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

25 years ago
pcg [Tue, 23 Feb 1999 10:23:02 +0000 (10:23 +0000)]

corrected a minor typoe

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

25 years agoMark failing code as XFAIL
loewis [Tue, 23 Feb 1999 09:11:19 +0000 (09:11 +0000)]
Mark failing code as XFAIL

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

25 years ago * errfn.c: Change varargs code to look like toplev.c.
jason [Tue, 23 Feb 1999 01:44:23 +0000 (01:44 +0000)]
* errfn.c: Change varargs code to look like toplev.c.
* method.c (process_modifiers): Don't prepend 'U' for char or
wchar_t.

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

25 years agoDaily bump.
law [Tue, 23 Feb 1999 00:45:04 +0000 (00:45 +0000)]
Daily bump.

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

25 years agoFix mips16 debug info problems with frame address.
wilson [Mon, 22 Feb 1999 19:38:39 +0000 (19:38 +0000)]
Fix mips16 debug info problems with frame address.
* config/mips/mips.c (mips_debugger_offset): When TARGET_MIPS16 &&
  frame_pointer_needed adjust frame size.
(function_prologue): Don't MIPS16 .mask GPOFFSET. Already adjusted
  in .frame pseudo-op.
Frm Jim Wilson  <wilson@cygnus.com>:
* mips.c (function_prologue): Adjust frame size in .frame pseudo-op
when TARGET_MIPS16 && frame_pointer_needed.

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

25 years agoSupport ARM/Linux's armv syntax
nickc [Mon, 22 Feb 1999 17:24:21 +0000 (17:24 +0000)]
Support ARM/Linux's armv syntax

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

25 years agoApply ARM/Linux patches.
nickc [Mon, 22 Feb 1999 16:47:59 +0000 (16:47 +0000)]
Apply ARM/Linux patches.
Rework cpu/architecture command line parsing.

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

25 years agoNew test case from Nathan Sidwell.
loewis [Mon, 22 Feb 1999 16:15:42 +0000 (16:15 +0000)]
New test case from Nathan Sidwell.

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

25 years ago * loop.c (libcall_other_regs): Make extern.
amacleod [Mon, 22 Feb 1999 14:11:58 +0000 (14:11 +0000)]
* loop.c (libcall_other_regs): Make extern.
* rtl.h (find_last_value): Add parameter to prototype.
(libcall_other_reg): Add extern declaration.
* rtlanal.c (find_last_value): Add another parameter to allow
a definition using a hardware register to be found as well.

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

25 years ago * cse.c (dump_class): New function.
mmitchel [Mon, 22 Feb 1999 13:34:33 +0000 (13:34 +0000)]
* cse.c (dump_class): New function.
(invalidate_memory): Fix typo in comment.
* function.c (temp_slot): Add an alias set field.
(assign_stack_temp): Only reuse slots if they will have the
same alias set as before.
(combine_temp_slots): Don't combine if -fstrict-aliasing;
that's unsafe.
* rtl.c (copy_rtx): Copy all the flags (in particular,
MEM_SCALAR_P).

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

25 years agoSome insignificant corrections of the previous patch.
vmakarov [Mon, 22 Feb 1999 11:43:58 +0000 (11:43 +0000)]
Some insignificant corrections of the previous patch.

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

25 years agoMon Feb 22 14:13:23 1999 Vladimir N. Makarov <vmakarov@cygnus.com>
vmakarov [Mon, 22 Feb 1999 11:32:00 +0000 (11:32 +0000)]
Mon Feb 22 14:13:23 1999  Vladimir N. Makarov  <vmakarov@cygnus.com>
* configure.in (i[34567]86-*-linux-gnu*,
i[34567]86-*-linux-gnulibc1, i[34567]86-*-linux-gnuaout*,
i[34567]86-*-linux-gnuoldld*): Use fixinc.x86-linux-gnu as
fixincludes.
* configure: Rebuilt.
* fixinc.x86-linux-gnu: New script for fixing asm-statements bug
on x86 linux.
* fixinc/fixinc.x86-linux-gnu: Copy of the previous one.
* fixinc/mkfixinc.sh (i[34567]86-*-linux-gnu*,
i[34567]86-*-linux-gnulibc1, i[34567]86-*-linux-gnuaout*,
i[34567]86-*-linux-gnuoldld*): Use fixinc.x86-linux-gnu as
fixincludes.

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

25 years ago * jcf.h (UTF8_GET): Mask first byte of 3-byte encoding with 0x0f,
tromey [Mon, 22 Feb 1999 09:15:30 +0000 (09:15 +0000)]
* jcf.h (UTF8_GET): Mask first byte of 3-byte encoding with 0x0f,
not 0x1f.

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

25 years agoReverted to the old behavior of encoding the types.
ovidiu [Mon, 22 Feb 1999 09:02:25 +0000 (09:02 +0000)]
Reverted to the old behavior of encoding the types.

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

25 years agoimprove wall of separation between build and install
burley [Mon, 22 Feb 1999 08:49:36 +0000 (08:49 +0000)]
improve wall of separation between build and install

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

25 years agoreduce spurious warnings using -fsyntax-only
burley [Mon, 22 Feb 1999 08:41:42 +0000 (08:41 +0000)]
reduce spurious warnings using -fsyntax-only

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

25 years agofix -fsyntax-only ICEs
burley [Mon, 22 Feb 1999 08:35:11 +0000 (08:35 +0000)]
fix -fsyntax-only ICEs

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

25 years ago * c-lex.c (yylex): Replace warning about integer constants being
gavin [Mon, 22 Feb 1999 08:18:56 +0000 (08:18 +0000)]
* c-lex.c (yylex): Replace warning about integer constants being
larger than long-longs, with a warning about integer constants
        being larger than the largest target integer.

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

25 years ago * configure.in (mips*-*-vxworks*): Enable gthreads vxworks support.
law [Mon, 22 Feb 1999 01:32:00 +0000 (01:32 +0000)]
    * configure.in (mips*-*-vxworks*): Enable gthreads vxworks support.
        * configure: Rebuilt.

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

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

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

25 years ago * gcc.c-torture/execute/990222-1.c: New test.
law [Mon, 22 Feb 1999 00:17:46 +0000 (00:17 +0000)]
    * gcc.c-torture/execute/990222-1.c: New test.
New test from Herman ten Brugge

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

25 years agoBump for snapshot
law [Sun, 21 Feb 1999 20:34:48 +0000 (20:34 +0000)]
Bump for snapshot

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

25 years ago * tm.texi: Update docs for constructors and destructors.
law [Sun, 21 Feb 1999 19:58:22 +0000 (19:58 +0000)]
    * tm.texi: Update docs for constructors and destructors.
And update comment in cp/decl2.c

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

25 years ago * decl2.c (start_objects): Make file scope constructors and
law [Sun, 21 Feb 1999 19:42:18 +0000 (19:42 +0000)]
    * decl2.c (start_objects): Make file scope constructors and
        destructors local to the file if ASM_OUTPUT_CONSTRUCTOR and
        ASM_OUTPUT_DESTRUCTOR are defined.

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

25 years agoh
law [Sun, 21 Feb 1999 19:39:50 +0000 (19:39 +0000)]
h
        * config/aoutos.h (ASM_OUTPUT_CONSTRUCTOR): Delete.
        (ASM_OUTPUT_DESTRUCTOR, ASM_OUTPUT_GC_ENTRY): Likewise.

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

25 years ago
law [Sun, 21 Feb 1999 19:39:44 +0000 (19:39 +0000)]

        * config/aoutos.h (ASM_OUTPUT_CONSTRUCTOR): Delete.
        (ASM_OUTPUT_DESTRUCTOR, ASM_OUTPUT_GC_ENTRY): Likewise.

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

25 years agoUpdate attribute value documentation.
rth [Sun, 21 Feb 1999 18:39:33 +0000 (18:39 +0000)]
Update attribute value documentation.

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

25 years ago * genattrtab.c (check_attr_value): Allow negative const_int if
rth [Sun, 21 Feb 1999 18:30:37 +0000 (18:30 +0000)]
    * genattrtab.c (check_attr_value): Allow negative const_int if
        negative_ok.  Accept integral arithmetic operators.  Accept
        direct references to other attributes.  Accept symbol_ref in
        non-constant attributes.
        (max_attr_value): Add new argument `unknownp'.  Update all callers.
        (or_attr_value): Likewise.
        (simplify_knowing): Don't optimize if max_attr_value unknown.
        (write_length_unit_log): Likewise with or_attr_value.
        (find_and_mark_used_attributes): Don't fallthru case.
        (write_attr_set): Pass thru all non-cond expressions.
        (write_attr_value): Handle symbol_ref, attr, and arithmetic.

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

25 years ago1999-02-19 Mark Mitchell <mark@markmitchell.com>
mmitchel [Sun, 21 Feb 1999 16:38:23 +0000 (16:38 +0000)]
1999-02-19  Mark Mitchell  <mark@markmitchell.com>
* cp-tree.h (CLASSTYPE_METHOD_VEC): Adjust comment.
(fn_type_unification): Adjust prototype.
(lookup_fnfields_1): Declare.
* call.c (add_template_candidate_real): Adjust call to
fn_type_unification.
* class.c (add_method): Don't allow duplicate declarations of
constructors or destructors.
(resolve_address_of_overloaded_function): Remove unused variable.
Adjust call to fn_type_unification.
* decl.c (grokfndecl): Be more robust in the face of illegal
specializations.
* decl2.c (check_classfn): Remove hokey handling of member
templates.
* pt.c (determine_specialization): Improve comments.  Adjust to
handle template argument deduction as per the standard.
(check_explicit_specialization): Fix comment spacing.  Handle
type-conversion operators correctly.  Improve error-recovery.
(fn_type_unification): Remove EXTRA_FN_ARG parameter.
(get_bindings_real): Simplify handling of static members.
* search.c (lookup_fnfields_1): Make it have external linkage.
* typeck.c (compparms): Fix comment.
(build_unary_op): Don't try to figure out which template
specialization is being referred to when when the address-of
operator is used with a template function.

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

25 years agod
bothner [Sun, 21 Feb 1999 15:42:27 +0000 (15:42 +0000)]
d
* decl.c (build_result_decl), java-tree.h:  New method.
(complete_start_java_method):  Handle synchronized methods.
Don't build DECL_RESULT here.  (Ordering dependency problem.)
(start_java_method):  Call build_result_decl here instead  ...
* parse.y (java_complete_expand_method):  ... and here.
(expand_start_java_method): Don't call complete_start_java_method here.
(java_complete_expand_method):  Call it here instead.
* parse.h (BUILD_MONITOR_ENTER, BUILD_MONITOR_EXIT):  Moved to ..
* java-tree.h:  ... here.
* expr.c (force_evaluation_order):  Fix typo, don't handle ARRAY_REF.
* parse.y (java_complete_lhs):  Don't call force_evaluation_order
for ARRAY_REF - it doesn't work when array bounds are checked.
(patch_array_ref):  Handle it here instead.

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

25 years ago * decl.c (build_result_decl), java-tree.h: New method.
bothner [Sun, 21 Feb 1999 15:42:22 +0000 (15:42 +0000)]
* decl.c (build_result_decl), java-tree.h:  New method.
(complete_start_java_method):  Handle synchronized methods.
Don't build DECL_RESULT here.  (Ordering dependency problem.)
(start_java_method):  Call build_result_decl here instead  ...
* parse.y (java_complete_expand_method):  ... and here.
(expand_start_java_method): Don't call complete_start_java_method here.
(java_complete_expand_method):  Call it here instead.
* parse.h (BUILD_MONITOR_ENTER, BUILD_MONITOR_EXIT):  Moved to ..
* java-tree.h:  ... here.
* expr.c (force_evaluation_order):  Fix typo, don't handle ARRAY_REF.
* parse.y (java_complete_lhs):  Don't call force_evaluation_order
for ARRAY_REF - it doesn't work when array bounds are checked.
(patch_array_ref):  Handle it here instead.

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

25 years ago
bothner [Sun, 21 Feb 1999 15:42:17 +0000 (15:42 +0000)]

* decl.c (build_result_decl), java-tree.h:  New method.
(complete_start_java_method):  Handle synchronized methods.
Don't build DECL_RESULT here.  (Ordering dependency problem.)
(start_java_method):  Call build_result_decl here instead  ...
* parse.y (java_complete_expand_method):  ... and here.
(expand_start_java_method): Don't call complete_start_java_method here.
(java_complete_expand_method):  Call it here instead.
* parse.h (BUILD_MONITOR_ENTER, BUILD_MONITOR_EXIT):  Moved to ..
* java-tree.h:  ... here.
* expr.c (force_evaluation_order):  Fix typo, don't handle ARRAY_REF.
* parse.y (java_complete_lhs):  Don't call force_evaluation_order
for ARRAY_REF - it doesn't work when array bounds are checked.
(patch_array_ref):  Handle it here instead.

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

25 years ago * jcf-write.c (generate_classfile): Emit "Exceptions" attribute.
bothner [Sun, 21 Feb 1999 15:41:32 +0000 (15:41 +0000)]
* jcf-write.c (generate_classfile):  Emit "Exceptions" attribute.

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

25 years agoMichael Hayes <m.hayes@elec.canterbury.ac.nz>
rth [Sun, 21 Feb 1999 13:17:17 +0000 (13:17 +0000)]
Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
        * regmove.c (discover_flags_reg): Use word_mode instead of SImode.

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