OSDN Git Service

pf3gnuchains/gcc-fork.git
24 years ago2000-01-12 Robert Lipe <robertl@sco.com>
robertl [Wed, 12 Jan 2000 16:32:57 +0000 (16:32 +0000)]
2000-01-12  Robert Lipe  <robertl@sco.com>

* i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.

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

24 years ago * sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
robertl [Wed, 12 Jan 2000 16:31:32 +0000 (16:31 +0000)]
 * sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.

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

24 years agoFix suboptimal code generation bug in reload
crux [Wed, 12 Jan 2000 12:40:49 +0000 (12:40 +0000)]
Fix suboptimal code generation bug in reload

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

24 years ago * Makefile.in (CC_FOR_TARGET): Use newlib libraries as well
law [Wed, 12 Jan 2000 11:01:26 +0000 (11:01 +0000)]
    * Makefile.in (CC_FOR_TARGET): Use newlib libraries as well
        as include files.

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

24 years agoAdd file missed during recent rtems changes.
law [Wed, 12 Jan 2000 10:47:36 +0000 (10:47 +0000)]
Add file missed during recent rtems changes.

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

24 years ago * reorg.c (fill_slots_from_thread): Check modified_in_p
law [Wed, 12 Jan 2000 10:30:33 +0000 (10:30 +0000)]
    * reorg.c (fill_slots_from_thread): Check modified_in_p
        before replacing.

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

24 years ago * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
law [Wed, 12 Jan 2000 10:25:52 +0000 (10:25 +0000)]
    * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
        these nodes even if INTERNALS is not set.

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

24 years ago * gcse.c (delete_null_pointer_checks_1): Cope when
law [Wed, 12 Jan 2000 10:16:04 +0000 (10:16 +0000)]
* gcse.c (delete_null_pointer_checks_1): Cope when
get_condition cannot determine the condition.

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

24 years agoDaily bump.
law [Wed, 12 Jan 2000 08:45:06 +0000 (08:45 +0000)]
Daily bump.

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

24 years ago2000-01-11 Mumit Khan <khan@xraylith.wisc.edu>
khan [Wed, 12 Jan 2000 05:22:42 +0000 (05:22 +0000)]
2000-01-11  Mumit Khan  <khan@xraylith.wisc.edu>

* lex.c (DIR_SEPARATOR): Delete macro.

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

24 years ago2000-01-11 Mumit Khan <khan@xraylith.wisc.edu>
khan [Wed, 12 Jan 2000 05:21:12 +0000 (05:21 +0000)]
2000-01-11  Mumit Khan  <khan@xraylith.wisc.edu>

* jcf-path.c: Delete PATH_SEPARATOR and DIR_SEPARATOR macros.
* jcf-write.c: Likewise.
* parse.y: Likewise.
* parse.c: Regenerate.

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

24 years ago2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
gdr [Wed, 12 Jan 2000 01:54:31 +0000 (01:54 +0000)]
2000-01-12  Gabriel Dos Reis <gdr@codesourcery.com>

         Implement automatic line wrapping mode in the g++ front-end.

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

24 years ago2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
zack [Wed, 12 Jan 2000 00:35:36 +0000 (00:35 +0000)]
2000-01-11 16:24 -0800  Zack Weinberg  <zack@wolery.cumb.org>

* cpplib.h (struct cpp_options): Change lang_asm to char.
Add lang_fortran.
* cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
done in cpp_handle_option now.
(initialize_builtins): Take out special case code used only by
__STDC_VERSION__.
(cpp_handle_option): Turn off trigraphs and trigraph warnings
if -traditional.  Recognize -lang-fortran and set
lang_fortran, also turn off cplusplus_comments.
(print_help): Document -lang-fortran.
* cpplib.c (handle_directive): Ignore `# 123 "file"' if
lang_asm. Ignore all directives other than `# 123 "file"' if
CPP_PREPROCESSED.
(cpp_get_token): If -traditional, don't recognize directives
unless the # is in column 1.
(parse_string): If lang_fortran or lang_asm, silently
terminate strings ('' or "") at end of line.
Remove unnecessary braces.

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

24 years ago * Add self as cpplib maintainer, as requested by Jason
zack [Wed, 12 Jan 2000 00:14:46 +0000 (00:14 +0000)]
* Add self as cpplib maintainer, as requested by Jason
Merrill.  Correct my e-mail address.

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

24 years ago* resource.c (mark_referenced_resources): Mark a set strict_low_part
oliva [Tue, 11 Jan 2000 23:52:07 +0000 (23:52 +0000)]
* resource.c (mark_referenced_resources): Mark a set strict_low_part
as used.
* config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
strict_low_part when possible.

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

24 years ago* gcc.dg/20000111-1.c: New test.
oliva [Tue, 11 Jan 2000 23:28:38 +0000 (23:28 +0000)]
* gcc.dg/20000111-1.c: New test.

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

24 years ago * alias.c: PROTO -> PARAMS.
ghazi [Tue, 11 Jan 2000 23:27:40 +0000 (23:27 +0000)]
* alias.c: PROTO -> PARAMS.
* basic-block.h: Likewise.
* bitmap.c: Likewise.
* bitmap.h: Likewise.
* builtins.c: Likewise.
* c-aux-info.c: Likewise.
* caller-save.c: Likewise.
* calls.c: Likewise.

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

24 years ago * Makefile.in (toplev.o): Depend on regs.h.
ghazi [Tue, 11 Jan 2000 22:57:39 +0000 (22:57 +0000)]
    * Makefile.in (toplev.o): Depend on regs.h.

        * output.h (tdesc_section): Prototype.

        * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.

        * sdbout.c: Include "tm_p.h".

        * toplev.c: Include "regs.h".

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

24 years agofix typos
jason [Tue, 11 Jan 2000 21:23:49 +0000 (21:23 +0000)]
fix typos

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

24 years agotestcase for recent unroll.c fix
mrs [Tue, 11 Jan 2000 20:10:46 +0000 (20:10 +0000)]
testcase for recent unroll.c fix

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

24 years ago * unroll.c (unroll_loop): Add EH support.
mrs [Tue, 11 Jan 2000 19:51:20 +0000 (19:51 +0000)]
* unroll.c (unroll_loop): Add EH support.

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

24 years ago * libjava.lang/klass.out: New file.
tromey [Tue, 11 Jan 2000 18:58:49 +0000 (18:58 +0000)]
* libjava.lang/klass.out: New file.
* libjava.lang/klass.java: New file.

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

24 years ago * java/lang/natSystem.cc (getpwuid_adaptor): New adaptor for
tromey [Tue, 11 Jan 2000 18:58:13 +0000 (18:58 +0000)]
* java/lang/natSystem.cc (getpwuid_adaptor): New adaptor for
HP/UX.  From David Scott Urban.

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

24 years ago * pa-protos.h: New file.
ghazi [Tue, 11 Jan 2000 18:37:11 +0000 (18:37 +0000)]
    * pa-protos.h: New file.

        * pa.c: Include recog.h and tm_p.h.
        (compute_zdepwi_operands, compute_movstrsi_length,
        remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
        find_addr_reg, import_milli): Add static prototypes.
        (pa_cpu_string, pa_arch_string): Constify a char*.
        (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
        (read_only_operand): Add argument `mode'.
        (singlemove_string, output_move_double, output_fp_move_double,
        output_block_move, output_and, output_ior, output_ascii,
        remove_useless_addtr_insns, milli_names, output_mul_insn,
        output_div_insn, output_mod_insn, output_arg_descriptor,
        output_cbranch, output_bb, output_bvb, output_dbra, ,
        output_millicode_call, output_call, hppa_encode_label,
        output_parallel_movb, output_parallel_addb): Constify a char*.
        (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
        (output_parallel_addb): Remove extra arg to `constrain_operands'

        * pa.h:  Move all prototypes to pa-protos.h.
        (pa_cpu_string, pa_arch_string): Constify a char*.
        (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.

        * pa.md: Call `function_label_operand' with mode argument.
        Likewise for `read_only_operand'.
        Fix nesting of parens in call to `symbolic_operand'.

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

24 years ago * i860-protos.h: New file.
ghazi [Tue, 11 Jan 2000 18:19:22 +0000 (18:19 +0000)]
    * i860-protos.h: New file.

        * i860.c: Include tm_p.h.  Add static prototypes.  Fix compile
        time warnings.

        * i860.h: Move prototypes to i860-protos.h.  Fix compile time warnings.

        * i860.md: Likewise.

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

24 years ago * i386.md (movstrsi expander): Rewrite.
hubicka [Tue, 11 Jan 2000 18:01:35 +0000 (18:01 +0000)]
* i386.md (movstrsi expander): Rewrite.
(movstrsi_1 insn): Deleted.
(strmovhi, strmovqi expander): New expanders.
(movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
* i386.c (x86_single_stringop): New global variable.
* i386.h (x86_single_stringop): Declare.
(TARGET_SINGLE_STRINGOP): New macro.

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

24 years ago * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
cpopetz [Tue, 11 Jan 2000 17:42:30 +0000 (17:42 +0000)]
    * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
        integer vararg POSTINCREMENT before the destination of the jump
        for the hard fp case.
        (function_arg_pass_by_reference): Pass a copy of CUM to
FUNCTION_ARG.

        * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
        for CONSTANT_ADDRESS_P above while loop for subreg.

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

24 years ago * flow.c (propagate_block): When a prologue/epilogue insn
cpopetz [Tue, 11 Jan 2000 17:26:28 +0000 (17:26 +0000)]
    * flow.c (propagate_block): When a prologue/epilogue insn
        is marked dead, unconditionally clear libcall_is_dead and
        insn_is_dead, and only dump rtl if warnings aren't being
        suppressed.

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

24 years ago * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
hubicka [Tue, 11 Jan 2000 15:44:34 +0000 (15:44 +0000)]
* i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
* i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
(FIXED_REGISTERS): Set dirflag as fixed.
(CALL_USED_REGISTERS): Set dirflag as used.
(REG_ALLOC_ORDER): Set dirflag as last one.
(DIRFLAG_REG): New macro.
(MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
(HI_REGISTER_NAMES): Add dirflag.
(DEBUF_PRINT_REG): Handle dirflag.
* i386.md (type attribute): New cld and str types.
(length_opcode attribute): Set cld and str to 1.
(memory attribute): Set str to unknown - it is not clear from the
patterns.
(pent_np function unit): Prefixed string operations takes 12 cycles
minimally; cld takes 2 cycles.
(ppro_uops attribute): Str is "many" and cld is "few".
(ppro_p0 unit): Handle cld here.
(k6_alux unit): Handle cld and str types.
(k6_load unit): It is ocupied by str opcodes.
(k6_store unit): It is ocupied by str opcodes.
(athlon_decode): Str is vector decoded.
(athlon_ieu): Handle str and cld.
(cld pattern): New.
(movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
(movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
cmpstrsi_nz_1 insn): Do not output cld instruction

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

24 years ago * i386.c (ix86_expand_setcc): Fix typo.
law [Tue, 11 Jan 2000 13:37:37 +0000 (13:37 +0000)]
    * i386.c (ix86_expand_setcc): Fix typo.
        (ix86_expand_movcc): Similarly.

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

24 years agoCopyright date.
law [Tue, 11 Jan 2000 13:24:58 +0000 (13:24 +0000)]
Copyright date.

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

24 years ago * gcc.texi (G++ and GCC): Add Java and Chill.
law [Tue, 11 Jan 2000 13:23:59 +0000 (13:23 +0000)]
    * gcc.texi (G++ and GCC): Add Java and Chill.
        (Bug Critera): Don't list languages.

        * gcc.texi (Incompatibilities): No longer claim most C compilers
        are K&R.

        * gcc.texi (G++ and GCC): Update other front-ends list.

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

24 years ago * Band-aid until haifa's bitset implementation is nuked.
law [Tue, 11 Jan 2000 12:50:18 +0000 (12:50 +0000)]
    * Band-aid until haifa's bitset implementation is nuked.
        * haifa-sched.c (extract_bitlst): New parameter for size of the
        bitset in bits.  All callers changed.  Avoid looking at undefined
        bits in the bitset.
        (edgeset_bitsize): New variable.
        (schedule_region): Initialize edgeset_bitsize.

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

24 years ago * friend.c (do_friend): Don't resolve scopes when processing
mmitchel [Tue, 11 Jan 2000 08:54:28 +0000 (08:54 +0000)]
* friend.c (do_friend): Don't resolve scopes when processing
template declarations, even if the qualifying scope doesn't
involve template parameters.

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

24 years agoDaily bump.
law [Tue, 11 Jan 2000 08:45:06 +0000 (08:45 +0000)]
Daily bump.

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

24 years ago * class.c (dfs_modify_vtables_queue_p): Remove.
mmitchel [Tue, 11 Jan 2000 06:50:19 +0000 (06:50 +0000)]
* class.c (dfs_modify_vtables_queue_p): Remove.
(modify_all_vtables): Use dfs_unmarked_real_bases_queue_p
and dfs_marked_real_bases_queue_p instead of
dfs_modify_vtables_queue_p.

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

24 years agoNew test - apostrophes, Hollerith constants, and cpp
zack [Tue, 11 Jan 2000 06:06:11 +0000 (06:06 +0000)]
New test - apostrophes, Hollerith constants, and cpp

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

24 years agoFix typos in previous change
mmitchel [Tue, 11 Jan 2000 04:18:25 +0000 (04:18 +0000)]
Fix typos in previous change

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

24 years ago * class.c (build_vbase_path): Simplify.
mmitchel [Tue, 11 Jan 2000 04:13:27 +0000 (04:13 +0000)]
* class.c (build_vbase_path): Simplify.
(dfs_propagate_binfo_offsets): New function.
(propagate_binfo_offsets): Use it.
(remove_base_field): Simplify.
(dfs_set_offset_for_vbases): Remove.
(dfs_set_offset_for_shared_vbases): New function.
(dfs_set_offset_for_unshared_vbases): Likewise.
(layout_virtual_bases): Use them.
(layout_basetypes): Don't call propagate_binfo_offsets.
* search.c (dfs_get_vbase_types): Clone completely fresh binfos
for the vbases.

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

24 years ago * class.c (build_base_field): New function, split out from ...
mmitchel [Tue, 11 Jan 2000 03:15:32 +0000 (03:15 +0000)]
* class.c (build_base_field): New function, split out from ...
(build_base_fields): ... here.  Use it.  Allocate primary bases
first, under the new ABI.
(get_vtable_entry): Remove.
(remove_base_field): New function, split out from ...
(remove_base_fields): ... here.  Adjust since primary bases come
first under the new ABI.

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

24 years ago * cp-tree.h (expand_direct_vtbls_init): Remove declaration.
mmitchel [Tue, 11 Jan 2000 02:43:00 +0000 (02:43 +0000)]
* cp-tree.h (expand_direct_vtbls_init): Remove declaration.
(initialize_vtbl_ptrs): New function.
(expand_indirect_vtbls_init): Change prototype.
(convert_pointer_to_vbase): Declare.
* init.c (expand_direct_vtbls_init): Remove.
(dfs_initialize_vtbl_ptrs): New function.
(initialize_vtbl_ptrs): Likewise.
(emit_base_init): Use initialize_vtbl_ptrs.
* search.c (convert_pointer_to_vbase): Make it global.
(expand_indirect_vtbls_init): Remove vtable initialization code.
* semantics.c (setup_vtbl_ptr): Use initialize_vtbl_ptrs.

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

24 years ago * class.c (dfs_finish_vtbls): New function.
mmitchel [Tue, 11 Jan 2000 02:28:01 +0000 (02:28 +0000)]
* class.c (dfs_finish_vtbls): New function.
(finish_vtbls): Use it.
(dump_class_hierarchy): New function.

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

24 years ago * cp-tree.h (BINFO_PRIMARY_MARKED_P): Change definition.
mmitchel [Tue, 11 Jan 2000 01:55:37 +0000 (01:55 +0000)]
* cp-tree.h (BINFO_PRIMARY_MARKED_P): Change definition.
(BINFO_VBASE_PRIMARY_P): New macro.
(BINFO_VIRTUALS): Add to documentation.
(SET_BINFO_PRIMARY_MARKED_P): Remove.
(CLEAR_BINFO_PRIMARY_MARKED_P): Likewise.
(dfs_mark_primary_bases_queue_p): Likewise.
(dfs_unmarked_real_bases_queue_p): New function.
(dfs_marked_real_bases_queue_p): Likewise.
* search.c (dfs_mark_primary_bases): Adjust.
(mark_primary_bases): Likewise.
(get_shared_vbase_if_not_primary): New function.
(dfs_unmarked_real_bases_queue_p): Likewise.
(dfs_marked_real_bases_queue_p): Likewise.
(dfs_get_pure_virtuals): Simplify.
(get_pure_virtuals): Likewise.

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

24 years ago * gcc.c-torture/execute/990628-1.c: Tweak to work on targets
law [Tue, 11 Jan 2000 01:18:53 +0000 (01:18 +0000)]
* gcc.c-torture/execute/990628-1.c: Tweak to work on targets
with 16 bit integers.

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

24 years agoUpdate copyrights for last checkin.
ghazi [Tue, 11 Jan 2000 00:12:38 +0000 (00:12 +0000)]
Update copyrights for last checkin.

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

24 years ago * Makefile.in (optabs.o): Depend on real.h
ghazi [Mon, 10 Jan 2000 23:48:03 +0000 (23:48 +0000)]
* Makefile.in (optabs.o): Depend on real.h
(resource.o): Depend on insn-attr.h

* builtins.c (result_vector): Wrap prototype in macro conditions
governing definition and use.

* c-common.c: Include tm_p.h.

* c-lex.c: Likewise.

* elfos.h: Constify a char*.

* final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
(get_attr_length, shorten_branches, profile_after_prologue): Mark
parameter with ATTRIBUTE_UNUSED.

* fold-const.c (exact_real_inverse): Wrap variable `i' in
CHECK_FLOAT_VALUE.

* haifa-sched.c (schedule_insns): Mark parameter with
ATTRIBUTE_UNUSED.

* optabs.c: Include real.h.

* real.h (ereal_atof): Add prototype arguments.

* resource.c: Include insn-attr.h.

* sdbout.c (sdbout_queue_anonymous_type,
sdbout_dequeue_anonymous_types): Wrap in macro
SDB_ALLOW_FORWARD_REFERENCES.
(sdbout_init, sdbout_start_new_source_file): Mark parameter with
ATTRIBUTE_UNUSED.

* stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.

* stupid.c: Include tm_p.h.

* tree.c (real_value_from_int_cst): Mark parameter with
ATTRIBUTE_UNUSED.

cp:
* lex.c: Include tm_p.h.

ch:
* lex.c: Include tm_p.h.

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

24 years ago * i960-protos.h: New file.
ghazi [Mon, 10 Jan 2000 23:22:37 +0000 (23:22 +0000)]
* i960-protos.h: New file.

* i960.c: Include tm_p.h.  Add static prototypes.  Fix compile
time warnings.

* i960.h: Move prototypes to i960-protos.h.  Fix compile time warnings.

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

24 years agoMissed toplevel Changelog in my previous commit.
geoffk [Mon, 10 Jan 2000 20:54:02 +0000 (20:54 +0000)]
Missed toplevel Changelog in my previous commit.

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

24 years ago2000-01-10 Jeff Sturm <jsturm@sigma6.com>
tromey [Mon, 10 Jan 2000 20:02:47 +0000 (20:02 +0000)]
2000-01-10  Jeff Sturm  <jsturm@sigma6.com>

* java/lang/natMath.cc (pow): Cast args to `double', not
`jdouble'.
(atan2): Likewise.
(IEEEremainder): Likewise.
* java/lang/mprec.h: Don't wrap includes in `extern "C"'.
* java/lang/fdlibm.h: Don't wrap includes in `extern "C"'.

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

24 years ago* combine.c (expand_field_assignment): Do not discard SUBREGs
oliva [Mon, 10 Jan 2000 19:56:15 +0000 (19:56 +0000)]
* combine.c (expand_field_assignment): Do not discard SUBREGs
while computing nonzero_bits.

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

24 years ago * configure.in: Use mt-aix43 to handle *_TARGET defs,
geoffk [Mon, 10 Jan 2000 18:33:55 +0000 (18:33 +0000)]
* configure.in: Use mt-aix43 to handle *_TARGET defs,
not mh-aix43.
* config/mh-aix43: Delete, move to mt-aix43.
* config/mt-aix43: New file.

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

24 years agoDaily bump.
law [Mon, 10 Jan 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

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

24 years ago * jcf-write.c (generate_bytecode_insns): Emit invokeinterface
green [Mon, 10 Jan 2000 01:26:27 +0000 (01:26 +0000)]
* jcf-write.c (generate_bytecode_insns): Emit invokeinterface
bytecodes in the correct order.

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

24 years ago2000-01-09 Anthony Green <green@cygnus.com>
green [Sun, 9 Jan 2000 22:25:54 +0000 (22:25 +0000)]
2000-01-09  Anthony Green  <green@cygnus.com>

* java/lang/natString.cc (init): Test for overflow condition
during out of bounds check.
(getChars): Throw StringIndexOutOfBoundsException, not
ArrayIndexOutOfBoundsException.
(getBytes): Ditto.
(regionMatches): Obey case option during string comparison.

* configure.host (ligcj_interpreter): New variable.  Enable
interpreter by default on IA-32.
* configure.in:  Examine libgcj_interpreter.
* configure: Rebuilt.

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

24 years ago(CLEAR_INSN_CACHE): Say that R0 is clobbered.
nickc [Sun, 9 Jan 2000 20:28:55 +0000 (20:28 +0000)]
(CLEAR_INSN_CACHE): Say that R0 is clobbered.

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

24 years agoFix compile time warnings about signed vs unsigned constants
nickc [Sun, 9 Jan 2000 20:03:01 +0000 (20:03 +0000)]
Fix compile time warnings about signed vs unsigned constants

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

24 years agoApply patch from Phillip Blundel to use single STR/LDR when only loading
nickc [Sun, 9 Jan 2000 19:42:57 +0000 (19:42 +0000)]
Apply patch from Phillip Blundel to use single STR/LDR when only loading
storing a single register in a function prologue/epilogue.

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

24 years ago * config/ns32k/ns32k.md (load or push effective address): Operand 1
hp [Sun, 9 Jan 2000 16:18:57 +0000 (16:18 +0000)]
* config/ns32k/ns32k.md (load or push effective address): Operand 1
must have SImode.

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

24 years ago * Makefile.in (jcf-dump, gcjh): Move ../errors.o before $(LIBS).
ghazi [Sun, 9 Jan 2000 14:30:28 +0000 (14:30 +0000)]
* Makefile.in (jcf-dump, gcjh): Move ../errors.o before $(LIBS).

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

24 years ago * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
ghazi [Sun, 9 Jan 2000 14:23:35 +0000 (14:23 +0000)]
* elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
assignment used as truth value.

* function.c (assign_temp): Mark parameter `dont_promote' with
ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
PROMOTE_FOR_CALL_ONLY.

* genrecog.c (write_subroutine): Mark variable `operands' with
ATTRIBUTE_UNUSED.

* optabs.c (prepare_cmp_insn): Mark parameter `align' with
ATTRIBUTE_UNUSED.

* sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
(sdbout_begin_block, sdbout_end_block): Likewise for `file'.

* toplev.c (note_deferral_of_defined_inline_function): Likewise
for `decl'.

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

24 years ago * config/c4x.h: Tidy up comments.
m.hayes [Sun, 9 Jan 2000 09:09:51 +0000 (09:09 +0000)]
* config/c4x.h: Tidy up comments.
* config/c4x.c: Likewise.

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

24 years agoDaily bump.
law [Sun, 9 Jan 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

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

24 years agoDon't fall off the end of main
zack [Sun, 9 Jan 2000 07:14:03 +0000 (07:14 +0000)]
Don't fall off the end of main

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

24 years ago * fold-const.c (lshift_double, rshift_double): Handle
wehle [Sun, 9 Jan 2000 06:03:45 +0000 (06:03 +0000)]
* fold-const.c (lshift_double, rshift_double): Handle
shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.

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

24 years ago* toplev.c (rest_of_compilation): Initialize cse_not_expected as
oliva [Sat, 8 Jan 2000 20:30:18 +0000 (20:30 +0000)]
* toplev.c (rest_of_compilation): Initialize cse_not_expected as
in prepare_function_start().

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

24 years agoFix bug restoring stack from interrupt handler.
nickc [Sat, 8 Jan 2000 20:15:56 +0000 (20:15 +0000)]
Fix bug restoring stack from interrupt handler.

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

24 years ago* gcc.dg/20000108-1.c: New test.
oliva [Sat, 8 Jan 2000 19:53:48 +0000 (19:53 +0000)]
* gcc.dg/20000108-1.c: New test.

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

24 years agoDaily bump.
law [Sat, 8 Jan 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

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

24 years agoWed Dec 8 15:33:26 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Sat, 8 Jan 2000 01:59:33 +0000 (01:59 +0000)]
Wed Dec  8 15:33:26 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * expr.c (java_lang_expand_expr): Switch to permanent obstack
        before calling expand_eh_region_start and expand_start_all_catch.
        * except.c (expand_start_java_handler): Switch to permanent
        obstack before calling expand_eh_region_start.
        (expand_end_java_handler): Switch to permanent obstack before
        calling expand_start_all_catch.

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

24 years agoThu Jan 6 16:31:28 2000 Anthony Green <green@cygnus.com>
apbianco [Fri, 7 Jan 2000 23:07:52 +0000 (23:07 +0000)]
Thu Jan  6 16:31:28 2000  Anthony Green  <green@cygnus.com>

        * expr.c (java_lang_expand_expr): Switch to permanent obstack
        before building constant array decl.

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

24 years ago * config/c4x/c4x.md (*subqf3_set): Fix typo.
m.hayes [Fri, 7 Jan 2000 22:51:21 +0000 (22:51 +0000)]
* config/c4x/c4x.md (*subqf3_set): Fix typo.

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

24 years ago * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
m.hayes [Fri, 7 Jan 2000 22:48:54 +0000 (22:48 +0000)]
* config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.

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

24 years ago- Update copyright, oops.
dje [Fri, 7 Jan 2000 22:30:22 +0000 (22:30 +0000)]
- Update copyright, oops.

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

24 years ago * mauve-libgcj: Don't disable ClassTest.
tromey [Fri, 7 Jan 2000 20:42:26 +0000 (20:42 +0000)]
* mauve-libgcj: Don't disable ClassTest.

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

24 years agoThu Jan 6 00:54:10 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Fri, 7 Jan 2000 20:28:11 +0000 (20:28 +0000)]
Thu Jan  6 00:54:10 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * jcf-write.c (generate_byecode_conditional): Fixed indentation in
        method invocation and typo in conditional expression.
        (generate_bytecode_insns): COND_EXPR can be part of a binop. Issue
        the appropriate NOTE_POP.
        * parse.y (patch_binop): Shift value mask to feature the right
        type.

(This is a fix for the PR #122:
 http://sourceware.cygnus.com/ml/java-prs/2000-q1/msg00000.html)

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

24 years ago * java/lang/natClass.cc (getClasses): Wrote.
tromey [Fri, 7 Jan 2000 20:23:01 +0000 (20:23 +0000)]
* java/lang/natClass.cc (getClasses): Wrote.

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

24 years ago * rs6000.c (processor_target_table): Add power3 as alias for 630.
dje [Fri, 7 Jan 2000 18:33:12 +0000 (18:33 +0000)]
* rs6000.c (processor_target_table): Add power3 as alias for 630.
* aix43.h: Revert Aug 2 change.
(HAS_INIT_SECTION): Define, not visible yet.
(LD_INIT_SWITCH): Define, not visible yet.
* t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.

* glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.

* collect2.c (main): Expand ld2 size further.
(export_object_lst): Cast assignment to avoid warning.
(main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
(scan_prog_file, COFF): Do not collect initialization or
finalization functions generated for entire shared object if
init/fini support present.

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

24 years agoMerge duplicate definitions in svr4.h into elfos.h
nickc [Fri, 7 Jan 2000 18:30:43 +0000 (18:30 +0000)]
Merge duplicate definitions in svr4.h into elfos.h

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

24 years ago * fold-const.c (real_hex_to_f): Remove duplicate declaration of
mmitchel [Fri, 7 Jan 2000 16:37:04 +0000 (16:37 +0000)]
* fold-const.c (real_hex_to_f): Remove duplicate declaration of
expon.

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

24 years ago * lang-specs.h (__GXX_ABI_VERSION): New preprocessor macro.
nathan [Fri, 7 Jan 2000 12:01:53 +0000 (12:01 +0000)]
* lang-specs.h (__GXX_ABI_VERSION): New preprocessor macro.

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

24 years ago * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
law [Fri, 7 Jan 2000 08:56:40 +0000 (08:56 +0000)]
    * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
        crtstuff.c.
        (crtbegin.o, s-crtS): Likewise.

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

24 years agoDaily bump.
law [Fri, 7 Jan 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

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

24 years ago * decl2.c (comdat_linkage): Don't set DECL_DEFER_OUTPUT.
jason [Fri, 7 Jan 2000 07:06:59 +0000 (07:06 +0000)]
    * decl2.c (comdat_linkage): Don't set DECL_DEFER_OUTPUT.
        * pt.c (instantiate_decl): Defer comdat templates that might not be
        needed.

        * cp-tree.h (DECL_NEEDED_P): Also true if !DECL_COMDAT.
        * decl2.c (finish_vtable_vardecl): Don't check !DECL_COMDAT.
        (finish_file): Likewise.

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

24 years agofix
jason [Fri, 7 Jan 2000 05:57:58 +0000 (05:57 +0000)]
fix

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

24 years ago * alpha.md (adddi_2+1): Limit offset such that it will be
rth [Fri, 7 Jan 2000 01:46:25 +0000 (01:46 +0000)]
    * alpha.md (adddi_2+1): Limit offset such that it will be
        loadable with a single ldah+lda pair.
        (adddi_2+2): Explicitly fail split if we can't make it work.

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

24 years ago2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
khan [Fri, 7 Jan 2000 00:42:12 +0000 (00:42 +0000)]
2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>

* protoize.c: Conditionally include unistd.h.
(IS_SAME_PATH_CHAR): New macro.
(IS_SAME_PATH): New macro.
(CPLUS_FILE_SUFFIX): New macro.
(cplus_suffix): New static variable.
(is_abspath): New static function.
(in_system_include_dir): Handle DOS style pathnames.
(file_could_be_converted): Likewise.
(file_normally_convertible): Likewise.
(directory_specified_p): Likewise.
(file_excluded_p): Likewise.
(abspath): Likewise.
(shortpath): Likewise.
(referenced_file_is_newer): Likewise.
(save_def_or_dec): Likewise.
(do_processing): Likewise.
(main): Likewise.
(edit_file): Likewise. Use rename instead of link.
(rename_c_file): Likewise. Don't rename syscalls file.
(munge_compile_params): Define null device for DOS based systems.
(process_aux_info_file): Use binary mode if appliable.
(edit_file): Likewise.
* invoke.texi (Running Protoize): Document C++ suffixes used.

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

24 years ago2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
khan [Fri, 7 Jan 2000 00:16:51 +0000 (00:16 +0000)]
2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>

* cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
IS_DIR_SEPARATOR macros.
* collect2.c: Likewise.
* cppinit.c: Likewise.
* dwarf2out.c: Likewise.
* gcc.c: Likewise.
* gcov.c: Likewise.
* prefix.c: Likewise.
* rtl.c: Likewise.
* toplev.c: Likewise.
* system.h: And move to here.

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

24 years agonew
jason [Fri, 7 Jan 2000 00:06:44 +0000 (00:06 +0000)]
new

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

24 years ago * error.c (dump_decl): operator new, not operatornew.
jason [Thu, 6 Jan 2000 23:54:34 +0000 (23:54 +0000)]
    * error.c (dump_decl): operator new, not operatornew.

        * class.c (field_decl_cmp): A nontype is "greater" than a type.
        * search.c (lookup_field_1): Look for the last field with the
        desired name.

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

24 years agoFri Dec 24 00:25:29 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Thu, 6 Jan 2000 22:06:22 +0000 (22:06 +0000)]
Fri Dec 24 00:25:29 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* Makefile.in (LIBDEPS): Added gcc's errors.o
(../jcf-dump$(exeext):): Link with gcc's errors.o
(../gcjh$(exeext):): Likewise.
* expr.c (expand_java_NEW): Layout the entire target type instead of
  laying out its methods only.
(lookup_field): Layout the class after having loaded it.
* java-tree.h (java_debug_context): Declared.
* jcf-io.c (toplev.h): Included.
(find_class): Removed assignment to jcf's outofsynch
  field. Force source file to be read if newer than its matching
  class file. Tweaked debug messages.
* jcf-parse.c (jcf_out_of_synch): Deleted.
(read_class): Call to jcf_out_of_synch removed.
* jcf.h (typedef struct JCF): Field `outofsynch' deleted.
(jcf_out_of_synch): Prototype deleted.
* parse.h (struct parser_ctxt): `minus_seen', `java_error_flag',
  `deprecated' and `class_err': integer turned into bit fields.
New bit fields `saved_data_ctx' and `saved_data'. Fixed comments.
* parse.y (package_list): New global.
(package_declaration:): Record newly parsed package name.
(extra_ctxp_pushed_p): Static global deleted.
(java_parser_context_save_global): Create buffer context for the
  purpose of saving globals, if necessary.
(java_parser_context_restore_global): Pop context pushed for the
  purpose of saving globals, if necessary.
(java_debug_context_do): New prototype and function.
(java_debug_context): Likewise.
(do_resolve_class): Use already parsed package names to qualify
  and lookup class candidate.
(java_pre_expand_clinit): Removed unnecessary local variable.

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

24 years ago2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
khan [Thu, 6 Jan 2000 22:00:02 +0000 (22:00 +0000)]
2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>

* prefix.c (update_path): Fix typo in variable name.

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

24 years ago * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
rth [Thu, 6 Jan 2000 20:25:41 +0000 (20:25 +0000)]
    * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
        (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
        (count_reg_sets_1, count_reg_references): Likewise.
        (flow_loops_level_compute): Start counting actual loop depth at 1.
        (flow_loops_find): Likewise.
        * local-alloc.c (update_equiv_regs): Likewise.
        * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.

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

24 years ago * java/lang/natClass.cc (_getConstructors): Correctly check
tromey [Thu, 6 Jan 2000 18:18:15 +0000 (18:18 +0000)]
* java/lang/natClass.cc (_getConstructors): Correctly check
whether method name is the init name.
(getMethod): Look at accflags on method in `klass', not `this'.

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

24 years ago2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
gdr [Thu, 6 Jan 2000 14:29:08 +0000 (14:29 +0000)]
2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>

       * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
       FIRST_PSEUDO_REGISTER
       * dwarf2out.c: Don't include frame.h
       * dwarfout.c: Likewise
       * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
       frame.h

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

24 years ago * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
hubicka [Thu, 6 Jan 2000 13:03:58 +0000 (13:03 +0000)]
* reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
dead registers.

* i386.c (movsf splitter): Fix typo in my last checkin.

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

24 years agoDaily bump.
law [Thu, 6 Jan 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

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

24 years ago * java/lang/natClass.cc (getMethod): Compute offset relative to
tromey [Thu, 6 Jan 2000 00:56:21 +0000 (00:56 +0000)]
* java/lang/natClass.cc (getMethod): Compute offset relative to
`klass's methods table, not `this's table.

* java/lang/reflect/natMethod.cc (_Jv_CallNonvirtualMethodA):
In unwrapping/widening case, check whether `k' is null, not
whether it is primitive.  Initialize `num' from `argelts', not
`paramelts'.  Correct create and pass arguments to ffi_call.
Don't let presence of `this' argument affect index used to look in
argument arrays.
(COPY): Set appropriate element in `values' vector.

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

24 years agooops - typo in previous delta
nickc [Wed, 5 Jan 2000 23:31:29 +0000 (23:31 +0000)]
oops - typo in previous delta

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

24 years agoAdd support for generating unique sections for unitialised data.
nickc [Wed, 5 Jan 2000 23:26:06 +0000 (23:26 +0000)]
Add support for generating unique sections for unitialised data.

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

24 years ago * java/lang/natClass.cc: Include <gcj/method.h>.
tromey [Wed, 5 Jan 2000 22:52:54 +0000 (22:52 +0000)]
* java/lang/natClass.cc: Include <gcj/method.h>.

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