1. 09 Aug, 2000 2 commits
  2. 08 Aug, 2000 18 commits
    • c-common.c (combine_strings, [...]): Refer to ISO C or ISO C89 instead of ANSI C. · 89abf8d1
      	* c-common.c (combine_strings, check_format_info): Refer to ISO C
      	or ISO C89 instead of ANSI C.
      	* c-decl.c (grokdeclarator, xref_tag, finish_struct,
      	build_enumerator, do_case): Likewise.
      	* c-lex.c (parse_float, yylex): Likewise.
      	* c-parse.in: Likewise.
      	* c-typeck.c (common_type, build_array_ref, build_binary_op,
      	build_unary_op, pedantic_lvalue_warning, build_conditional_expr,
      	build_c_cast, convert_for_assignment, set_init_index,
      	set_init_label, c_expand_start_case): Likewise.
      	* toplev.c (documented_lang_options, display_help): Likewise.
      
      From-SVN: r35576
      Joseph Myers committed
    • h8300.c: Fix formatting. · 1a63219b
              * h8300.c: Fix formatting.
              * h8300.h: Likewise.
              * h8300.md: Likewise.
              (movsi_h8300hs): Fix formatting of the resulting assembly code.
      
      From-SVN: r35575
      Kazu Hirata committed
    • * reload1.c: Fix formatting. · 1d7254c5
      From-SVN: r35574
      Kazu Hirata committed
    • alpha.c (alpha_emit_xfloating_libcall): Use GEN_CALL_VALUE define. · 0499c2e4
             * alpha/alpha.c (alpha_emit_xfloating_libcall):
              Use GEN_CALL_VALUE define.
              * alpha/alpha.md (untyped_call): Use GEN_CALL define.
              * clipper/clipper.md (untyped_call): Likewise.
              * dsp16xx/dsp16xx.md (untyped_call): Likewise.
              * fx80/fx80.md (untyped_call): Likewise.
              * mips/mips.md (untyped_call): Likewise.
              * ns32k/ns32k.md (untyped_call): Likewise.
              * pa/pa.md (untyped_call): Likewise.
              * romp/romp.md (untyped_call): Likewise.
              * sparc/sparc.md (untyped_call): Likewise.
      
      From-SVN: r35573
      Rodney Brown committed
    • i860.c (singlemove_string): Do not generate assembler pseudo instructions that… · ebec3cf9
      i860.c (singlemove_string): Do not generate assembler pseudo instructions that must be expanded (that is...
      
      2000-08-08  Jason Eckhardt  <jle@cygnus.com>
      
              * config/i860/i860.c (singlemove_string): Do not generate assembler
              pseudo instructions that must be expanded (that is, with signed
              constants larger than 16 bits).
      
      From-SVN: r35572
      Jason Eckhardt committed
    • flow.c (life_analysis): Only turn off PROP_LOG_LINKS and PROP_AUTOINC at -O0. · b2262f4a
              * flow.c (life_analysis): Only turn off PROP_LOG_LINKS and
              PROP_AUTOINC at -O0.  Don't collect alias info at -O0.
              (init_propagate_block_info): Don't kill memory stores at -O0.
              (mark_set_1, mark_used_regs): Likewise.
      
      From-SVN: r35571
      Richard Henderson committed
    • rs6000.c (optimization_options): Decorate 'level' as ATTRIBUTE_UNUSED. · e2c953b6
      	* rs6000.c (optimization_options): Decorate 'level' as
      	ATTRIBUTE_UNUSED.
      	(mask64_operand): Remove sign-extend thinko.
      	(rldic_operand): New function.
      	(load_multiple_operation): regno's are unsigned ints.
      	(store_multiple_operation): Likewise.
      	(lmw_operation): Likewise.
      	(stmw_operation): Likewise.
      	(includes_lshift_p): shift_mask is unsigned int.
      	(includes_lshift64_p): New function.
      	(addrs_ok_for_quad_peep): unsigned int reg1.
      	(print_operand): Consistently add "else" after
      	output_operand_lossage().
      	(print_operand, case 'b'): Fold in case 'W'.
      	(print_operand, case 'W'): Print rldic MB value.
      	(output_epilogue): Update Objective-C language string.
      	(output_toc): unsigned HOST_WIDE_INT low, compare unsigned.
      	* rs6000.h (PREDICATE_CODES): Add rldic_operand.
      	* rs6000.md (ashldi3): Add rldic instruction.
      	(iordi3, xordi3): Remove redundant "else if CONST_DOUBLE".
      	(cmpsi_internal2, cmpdi_interal2): Use 'b' output template
      	modifier.
      
      From-SVN: r35570
      David Edelsohn committed
    • Input_UTF8.java (read): Fixed handling of surrogate characters. · 6dd1b068
      	* gnu/gcj/convert/Input_UTF8.java (read): Fixed handling of
      	surrogate characters.
      	* gnu/gcj/convert/Output_UTF8.java (standardUTF8): Default to
      	true.
      	(write): Correct handling of surrogate characters.
      
      From-SVN: r35569
      Tom Tromey committed
    • ia64-protos.h: Remove duplicates. · 97e242b0
      	* config/ia64/ia64-protos.h: Remove duplicates.  Update
      	for massive code rearrangements.
      	* config/ia64/ia64.c (ia64_arpfs_regno): Remove.
      	(ia64_rp_regno, ia64_fp_regno, ia64_input_regs): Remove.
      	(ia64_local_regs, ia64_need_regstk): Remove.
      	(ar_ccv_reg_operand): New.
      	(ia64_gp_save_reg): New.
      	(struct ia64_frame_info): Combine most of the size elements;
      	add new gr save elements.
      	(find_gr_spill): New.
      	(next_scratch_gr_reg): New.
      	(mark_reg_gr_used_mask): New.
      	(ia64_compute_frame_size): Rewrite.  Allocate special AR regs
      	to GR backing store regs when possible.
      	(ia64_initial_elimination_offset): New.
      	(ia64_rap_fp_offset): Remove.
      	(save_restore_insns): Remove.
      	(setup_spill_pointers): New.
      	(finish_spill_pointers): New.
      	(spill_restore_mem): New.
      	(do_spill, do_restore): New.
      	(ia64_expand_prologue): Rewrite to use them.
      	(ia64_expand_epilogue): Likewise.
      	(ia64_direct_return): Update for current_frame_info changes.
      	(ia64_function_prologue): Simplify .prologue emission.  Emit
      	.spill when needed.
      	(ia64_setup_incoming_varargs): Don't ever emit rtl.
      	(ia64_dbx_register_number): New.
      	(ia64_initialize_trampoline): New.
      	(ia64_secondary_reload_class): Request GR_REGS for integer
      	arithmetic destined for FR_REGS.
      	(ia64_init_machine_status): Don't reset return_address_pointer_rtx.
      	(ia64_mark_machine_status): Mark ia64_gp_save.
      	(rws_access_regno): Rename from rws_access_reg; don't treat
      	predicates specially.
      	(rws_access_reg): New.  Update all callers.
      	(rtx_needs_barrier): Remove dead unspecs.
      	(ia64_epilogue_uses): Mark ar.pfs and ar.unat live on exit.
      	(ia64_encode_section_info): Silence signed/unsigned warnings.
      	(spill_offset, sp_offset, spill_offset_emitted): Remove.
      	(tmp_reg, tmp_saved): Remove.
      	(process_set): Rewrite to expect complicated bits via
      	REG_FRAME_RELATED_EXPR.
      	(ia64_expand_fetch_and_op): Use emit_move_insn; be explicit
      	in the use of ar.ccv; never set RTX_UNCHANGING_P.
      	(ia64_expand_op_and_fetch): Likewise.
      	(ia64_expand_compare_and_swap): Likewise.
      	(ia64_expand_builtin): Likewise.
      	* config/ia64/ia64.h (AR_UNAT_REGNUM): New.
      	(FIRST_PSEUDO_REGISTER): Update.
      	(AR_M_REGNO_P): Update.
      	(FIXED_REGS): Don't mark three local registers as used.
      	(EXTRA_CC_MODES): New.
      	(SELECT_CC_MODE): New.
      	(HARD_REGNO_NREGS): Allow DImode in p0; handle CCImode.
      	(HARD_REGNO_MODE_OK): Disallow CCImode from non-predicates.
      	(FRAME_GROWS_DOWNWARD): Unset.
      	(STARTING_FRAME_OFFSET): Zero.
      	(ELIMINABLE_REGS): Eliminate from the soft to hard frame pointer.
      	(INITIAL_ELIMINATION_OFFSET): Defer to out of line function.
      	(HARD_FRAME_POINTER_REGNUM): New.
      	(CAN_DEBUG_WITHOUT_FP): Define.
      	(TRAMPOLINE_TEMPLATE): Remove.
      	(TRAMPOLINE_SIZE): Lower to 32.
      	(TRAMPOLINE_ALIGNMENT): Lower to 64.
      	(INITIALIZE_TRAMPOLINE): Defer to out of line function.
      	(PREDICATE_CODES): Update.
      	(struct machine_function): Add ia64_gp_save.
      	* config/ia64/ia64.md: Purge unused unspecs.
      	(movsi patterns): Allow moves to/from AR_M_REGS.
      	(movdi patterns): Allow moves to/from p0.
      	(call patterns): Move most setjmp hackery to ia64_gp_save_reg.
      	(gr_spill, gr_restore): Indicate ar.unat read/written.
      	(nonlocal_goto): Don't pass old frame_pointer.
      	(nonlocal_goto_receiver): Remove.
      	(exception_receiver): New.
      	(builtin_setjmp_setup): New.
      	(builtin_setjmp_receiver): New.
      	* config/ia64/lib1funcs.asm (__ia64_save_stack_nonlocal): Bundle.
      	(__ia64_nonlocal_goto): Bundle.  Don't kill r7.
      	(__ia64_restore_stack_nonlocal): Likewise.
      	(__ia64_trampoline): New.
      	* config/ia64/sysv4.h (DBX_REGISTER_NUMBER): Defer to out of line
      	function.
      	* config/ia64/t-ia64 (LIB1ASMFUNCS): Add __trampoline.
      
      From-SVN: r35568
      Richard Henderson committed
    • * gcc.dg/noncompile/920923-1.c: Declare calloc. · ee715245
      From-SVN: r35567
      Richard Henderson committed
    • frame.h (ia64_frame_state): Add my_psp. · db2e2f48
              * frame.h (ia64_frame_state): Add my_psp.
              * libgcc2.c (ia64_throw_helper): Add throw_sp argument.
              (__throw): Pass it in.  Don't clobber r7.
              * config/ia64/frame-ia64.c (init_ia64_reg_loc): Mark inline.
              (execute_one_ia64_descriptor) [mem_stack_v]: Sets psp.when
              and nothing to do with sp.
              (normalize_reg_loc): Use frame->my_psp.
              (frame_translate): Handle frame-pointer-less functions.  Set
              spill_base correctly, in absence of being told.
              (__build_ia64_frame_state): New sp argument.  Fill in frame->my_sp.
              (__ia64_backtrace_helper): New sp argument.  Use
              builtin_return_address instead of label addresses.
              (print_record) [mem_stack_v]: No size member.
      
      From-SVN: r35565
      Richard Henderson committed
    • tm.texi (LOCAL_REGNO): Document. · 2a3e384f
              * tm.texi (LOCAL_REGNO): Document.
              * flow.c (LOCAL_REGNO, EPILOGUE_USES): Provide default.
              (mark_regs_live_at_end): Don't mark LOCAL_REGNO registers.
              * reload1.c (reload): Likewise when considering nonlocal labels.
      
              * config/ia64/ia64.h (LOCAL_REGNO): New.
              * config/sparc/sparc.h (LOCAL_REGNO): New.
      
      From-SVN: r35564
      Richard Henderson committed
    • c-lex.c (yylex): Don't allow integer suffixes 'LUL', 'Ll', 'lL'. · 43d1e059
      	* c-lex.c (yylex): Don't allow integer suffixes 'LUL', 'Ll', 'lL'.
      
      testsuite:
      	* gcc.dg/noncompile/const-ll-1.c: New test.
      
      From-SVN: r35563
      Joseph Myers committed
    • Daily bump. · 2c58a147
      From-SVN: r35562
      Jeff Law committed
    • Method.java (hashCode): Use getName(). · d7ec12ae
      	* java/lang/reflect/Method.java (hashCode): Use getName().
      	(toString): Likewise.
      	* java/lang/reflect/natMethod.cc (getType): Initialize
      	exception_types.
      
      From-SVN: r35561
      Tom Tromey committed
    • 2000-08-07 Alexandre Petit-Bianco <apbianco@cygnus.com · f0f3a777
      	* parse.y (build_dot_class_method_invocation): Changed parameter
      	name to `type.' Build signature from `type' and convert it to a
      	STRING_CST if it's an array.
      	(patch_incomplete_class_ref): `build_dot_class_method_invocation'
      	to use `ref_type' directly.
      
      2000-08-01  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
      	* parse.y (maybe_yank_clinit): When generating bytecode: non empty
      	method bodies not to rule out discarding `<clinit>'; don't use
      	<clinit> to initialize static fields with constant initializers.
      
      2000-08-01  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
      	* gjavah.c (print_method_info): Added `synth' parameter. Skip
      	synthetic methods.
      	(method_synthetic): New global.
      	(HANDLE_METHOD): Recognize synthetic method and tell
      	`print_method_info' about it.
      	(HANDLE_END_METHOD): Do not issue an additional `;\n' if we're
      	processing a synthetic method.
      	* jcf-reader.c (skip_attribute): New function.
      	( skip_attribute): Likewise.
      
      2000-08-01  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
      	* parse.y (build_outer_field_access): Fixed comments.
      	(fix_constructors): Emit the initialization of this$<n> before
      	calling $finit$.
      	(resolve_qualified_expression_name): Build an access to `decl' if
      	necessary.
      
      2000-07-31  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
      	* parse-scan.y (curent_class): Non longer const.
      	(inner_qualifier, inner_qualifier_length): Deleted.
      	(current_class_length): New global.
      	(bracket_count): Fixed typo in leading comment.
      	(anonymous_count): New global.
      	(class_instance_creation_expression:): Handle anonymous classes.
      	(anonymous_class_creation:): New rule.
      	(push_class_context): Rewritten.
      	(pop_class_context): Likewise.
      	(INNER_QUALIFIER): Macro deleted.
      	(report_class_declaration): call `push_class_context' when
      	entering the function. `fprintf' format modified not to use
      	INNER_QUALIFIER.
      	(report_class_declaration): Assign `package_name' and
      	`current_class' to NULL separatly.
      
      2000-07-31  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
      	* expr.c (build_invokeinterface): Call layout_class_methods on
      	target interface.
      
      (http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00339.html)
      
      From-SVN: r35560
      Alexandre Petit-Bianco committed
    • Fix most compile time warning messages · 0da9afa6
      From-SVN: r35559
      Nick Clifton committed
  3. 07 Aug, 2000 20 commits