X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2FChangeLog;h=fcac3da9a70e0e0ddf257e4ca2cc228746a732db;hb=71ee24e88f65cdff5af2e114c03ee999e59196e9;hp=c2c619f3d3c9a9003113da94569868e15209b7fc;hpb=88f55321c655c64c54402318675b2d138a5718e4;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c2c619f3d3c..fcac3da9a70 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,472 @@ +Wed Nov 7 13:33:34 CET 2001 Jan Hubicka + + * expmed.c (expand_mult): Force operand to register before computing + cost. + * i386.c (x86_decompose_lea): New global vairable. + * i386.h (x86_decompose_lea): Declare. + (TARGET_DECOMPOSE_LEA): New macro. + (RTX_COST): Handle leas properly. + +2001-11-06 Richard Henderson + + * config/alpha/elf.h (DO_SELECT_SECTION): TREE_READONLY is not + defined for a CONSTRUCTOR; don't check it. + +2001-11-06 Danny Smith + + * gcov.c (output_data): Use IS_ABSOLUTE_PATHNAME to + test for absolute pathnames. + +2001-11-06 Olivier Hainque + + * unwind-dw2.c (execute_cfa_program): Evaluate call frame + instructions up to the target pc inclusive. + +2001-11-06 Steve Christiansen + + * loop.c (loop_regs_scan): Don't invalidate PIC register. + +2001-11-06 Eric Christopher + + * config/mips/mips.md(movdf_internal2): Add constraints for float + to general register move. + * config/mips/elf64.h: Add default ABI. + +2001-11-06 Neil Booth + + * alias.c:: Include langhooks.h. + * emit-rtl.c: Similarly. + * toplev.c: Similarly. + * tree-inline.c: Similarly. + * langhooks-def.h: New, the old langhooks.h. Give the default + hooks a common prefix. + * langhooks.h: Contents extracted from toplev.h. + * toplev.h: Move langhook stuff to langhooks.h. + * langhooks.c: Give default hooks a common prefix. + + * c-lang.c: Include langhooks-def.h. + * objc/objc-act.c: Similarly. + * Makefile.in: Update. + * objc/Make-lang.in: Update. + +2001-11-06 Joseph S. Myers + + * doc/install.texi: Document that configure options not listed in + this file are unsupported. Document --with-system-zlib. + +Tue Nov 6 09:21:34 2001 Richard Kenner + + * rtl.h (mem_for_const_double): New declaration. + * varasm.c (mem_for_const_double): New function. + * config/convex/convex.md (movdf): Use it. + * config/m68k/hp320.h (LEGITIMATE_PIC_OPERAND_P): Likewise. + * config/m68k/linux.h, config/m68k/m68k.h: Likewise. + * config/m68k/m68kv4.h: Likewise. + + * config/alpha/alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition + of new GP reg classes. + + * expr.c (store_field): When making temp object for unaligned + component, set it to alias set 0. + +2001-11-06 Joseph S. Myers + + * c-common.c (c_expand_expr_stmt): Apply default conversions to + non-lvalue arrays if C99. + * c-typeck.c (default_conversion): Split out code handling + array-to-pointer and function-to-pointer conversions into a + separate default_function_array_conversion function. + (default_function_array_conversion): New function. Keep track of + whether any NON_LVALUE_EXPRs were stripped. Return non-lvalue + arrays unchanged outside C99 mode instead of giving an error for + them. + (build_component_ref): Use pedantic_non_lvalue when handling + COMPOUND_EXPR. Don't handle COND_EXPR specially. + (convert_arguments): Use default_function_array_conversion. + (build_unary_op): For ADDR_EXPR, take a flag indicating whether + non-lvalues are OK. + (unary_complex_lvalue): Likewise. + (internal_build_compound_expr): Use + default_function_array_conversion. Apply default conversions to + function in compound expression. + (build_c_cast, build_modify_expr, digest_init, build_asm_stmt): + Use default_function_array_conversion. + * doc/extend.texi: Update documentation of subscripting non-lvalue + arrays. + Fixes PR c/461. + +>>>>>>> 1.11778 +2001-11-05 Zack Weinberg + + * aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS. + (AM_GNU_GETTEXT): Set CATALOGS to a list of .gmo files + corresponding to the complete set of .po and .gmo files in + the source directory's po subdir, modified by LINGUAS. Don't + look at ALL_LINGUAS. + * configure.in: Don't set ALL_LINGUAS. + * configure: Regenerate. + + * Makefile.in (.po.gmo): Don't move into source directory. + (.po.pox): Clarify comments. + (install-po): Look for .gmo files in both srcdir and objdir; + don't fail if a file is totally missing. + (distclean): rmdir ada subdirectory too. + +2001-11-05 Geoffrey Keating + + * config/rs6000/rs6000.c (rs6000_select_section): Handle + CONSTRUCTORs _correctly_. + +2001-11-05 Neil Booth + + * c-decl.c (delete_block): Remove. + * c-tree.h (delete_block): Remove. + +2001-11-05 Neil Booth + + * cppexp.c (lex, parse_defined): Update warning about defined. + +2001-11-05 Geoffrey Keating + + * config/rs6000/rs6000.c (rs6000_select_section): Handle + CONSTRUCTORs too. + +2001-11-05 Nick Clifton + + * config/arm/arm.c (arm_return_in_memory): Cope with + int_size_in_bytes returning -1. + + * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Handle + DECL being NULL. + +Mon Nov 5 16:15:25 CET 2001 Jan Hubicka + + * Makefile.in (bb-reoder.o): Add depdendency on cfglayout.h; + remove unneded depdendencies; + (cfglayout.o): New. + * cfglayout.c, cfglayout.h: New files; break out from ... + * bb-reorder.c: ... here; Remove unneeded includes; + +2001-11-04 Alan Modra + + * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Mark r2 as used. + +2001-11-04 David Edelsohn + + * config/rs6000/rs6000.c (rs6000_emit_move): Handle 64-bit + mode as well. Do not explicitly create intermediate regs. + +2001-11-04 Kaveh R. Ghazi + + * arm/aof.h (aof_text_section, aof_data_section): Don't declare. + (common_section): Delete unused variable. + (ASM_OUTPUT_ASCII): Fix signed/unsigned warnings. + (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning. + * arm-protos.h (arm_poke_function_name, aof_add_import, + aof_delete_import): Const-ify. + * arm.c (legitimize_pic_address): Wrap variables in the macro + controlling their usage. + (arm_finalize_pic): Mark variable with ATTRIBUTE_UNUSED. + (arm_poke_function_name, pic_chain, import, aof_add_import, + aof_delete_import): Const-ify. + * i386.c (ix86_osf_output_function_prologue): Const-ify. + * i386/sysv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE, + ASM_OUTPUT_LONG_DOUBLE): Fix format specifier warnings. + * i860/fx2800.h (DBX_OUTPUT_STANDARD_TYPES): Const-ify. + * i860/sysv3.h: Add missing comment closure. + * m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Add missing semi-colon. + * m88k/dgux.h (SELECT_RTX_SECTION): Add missing argument in call + to symbolic_operand. + + * config.gcc (m680[02]0-*-*): Rename case from m68000-*-*. + (i960-*-*): Set tmake_file. + (sparc86x-*-elf*): Fix typo in header name. + + * sched-rgn.c (schedule_insns): Delete unused variable. + +2001-11-04 Neil Booth + + PR c/2820 + * c-typeck.c (lookup_field): Rework to return a chain down to + the looked-up field. + (build_component_ref): Use the new lookup_field to handle + nested anonymous entities correctly. + +Sun Nov 4 11:53:31 2001 Richard Kenner + + * config/sparc/sparc.c (sparc_emit_set_const32, GEN_HIGHINT64): + Change parameters to gen_rtx_CONST_DOUBLE. + (GEN_INT64, sparc_emit_set_const64): Likewise. + * config/sparc/sparc.md (movdf split): Likewise. + +2001-11-03 Geoffrey Keating + + * unroll.c (calculate_giv_inc): Use find_last_value rather + than just hoping the last instruction is the right SET. + [Fixes 990604-1.c on stormy16.] + + * config/stormy16/stormy16.h (LIB_SPEC): Don't supply any libgloss + library at all if -T is used. + + * config/stormy16/stormy16.c (stormy16_print_operand): Avoid + some uses of uninitialized variables in error cases. + + * config/stormy16/stormy16.c (stormy16_output_shift): Don't + look at 'temp' if we won't be using it. + + * config/stormy16/stormy16.h (CONST_COSTS): Define. + (RTX_COSTS): Define. + (ADDRESS_COST): Define. + (MEMORY_MOVE_COST): Allow for memory_move_secondary_cost. + + * config/stormy16/stormy16.h (ASM_SPEC): Pass -g to the assembler. + + * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Call + stormy16_asm_output_mi_thunk. + * config/stormy16/stormy16.c (stormy16_asm_output_mi_thunk): New + function. + * config/stormy16/stormy16-protos.h + (stormy16_asm_output_mi_thunk): New prototype. + +2001-11-04 Joseph S. Myers + + * ChangeLog.2, ChangeLog.4, ChangeLog.5, ChangeLog, + FSFChangeLog.10, FSFChangeLog.11, alias.c, attribs.c, + caller-save.c, calls.c, cfg.c, cfganal.c, cfgcleanup.c, cfgrtl.c, + cppmacro.c, fold-const.c, ifcvt.c, local-alloc.c, profile.c, + sched-int.h, toplev.c, config/alpha/alpha.c, + config/alpha/alpha.md, config/c4x/c4x.h, config/cris/cris.h, + config/cris/cris.md, config/i370/i370.md, config/i386/i386.c, + config/i386/i386.h, config/i386/i386.md, config/i386/xm-djgpp.h, + config/ia64/ia64.c, config/m68hc11/m68hc11.c, config/m68k/m68k.md, + config/mcore/mcore.h, config/mmix/mmix.c, config/ns32k/ns32k.h, + config/ns32k/ns32k.md, config/rs6000/rs6000.c, + config/rs6000/sysv4.h, config/sh/sh.md: Fix spelling errors. + +2001-11-03 Kaveh R. Ghazi + + * Makefile.in (dbxout.o): Depend on function.h. + * collect2.c (is_in_list): Hide unused function. + * dbxout.c: Include function.h. + (source_label_number, dbxout_source_line, dbxout_source_file, + dbxout_function_end, dbxout_begin_function): Wrap/move inside + macros controlling usage. + * gcc.c (TARGET_EXECUTABLE_SUFFIX): Undef before defining. + * output.h (exports_section): Prototype. + + * convex.c (convex_output_function_prologue): Fix format specifier + warning. + (asm_declare_function_name): Fix signed/unsigned warning. + (print_operand): Fix format specifier warning. + * convex.h (S_REGNO_P, A_REGNO_P): Fix signed/unsigned warning. + * dsp16xx-protos.h (uns_comparison_operator, + num_1600_core_shifts): Prototype. + * dsp16xx.c: Include tm_p.h, not dsp16xx-protos.h. + (frame_size, frame_pointer_offset): Delete. + (dsp16xx_output_function_prologue, dsp16xx_output_function_epilogue): + Make static. Fix format specifier warnings. + * dsp16xx.h (IS_ACCUM_REG): Fix unsigned>=0 warning. + (EXTRA_SECTION_FUNCTIONS): Prototype const_section. + * dsp16xx.md: Add default case in switches. + * fr30.h (IN_RANGE): Delete. + * ia64.h (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings. + * mcore-protos.h (mcore_output_cmov): Const-ify. + * mcore.c (mcore_output_cmov): Likewise. + * mcore.h (switch_to_section): Make static and prototype. + * mn10200.h (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Fix + unsigned>=0 warnings. + * mn10300.h (REGNO_IN_RANGE_P): Likewise. + * rs6000-protos.h (read_only_data_section, + read_only_private_data_section): Prototype. + * rs6000.h (ASM_OUTPUT_BYTE): Fix format specifier warning. + * sh.c (sh_adjust_cost): Mark parameter with ATTRIBUTE_UNUSED. + * sh.h (GENERAL_REGISTER_P): Fix unsigned>=0 warning. + +2001-11-03 Kaveh R. Ghazi + + * dwarf2asm.c (dw2_asm_output_pcrel): Mark parameters with + ATTRIBUTE_UNUSED. + * final.c (final_scan_insn): Add brackets around body of if-stmt. + * gcc.c (convert_filename): Add static prototype. Const-ify. + Wrap variable in macros controlling its use. + * output.h (sdata_section): Add prototype. + + * 1750a.h (EXTRA_SECTION_FUNCTIONS): Add prototype. + (ASM_OUTPUT_ASCII): Avoid signed/unsigned warning. + * c4x.h (INIT_SECTION_FUNCTION): Add prototype. + (ASM_FILE_START): Const-ify. + (ASM_OUTPUT_BYTE_FLOAT, ASM_OUTPUT_SHORT_FLOAT): Fix format + specifier warning. + * c4x.md: Don't use the 'U' integer suffix. + * clipper.md (clipper_movstr): Delete declaration. + * d30v-protos.h (d30v_move_2words): Const-ify. + (debug_stack_info): Add prototype. + * d30v.c: Include "integrate.h". + (d30v_function_arg_boundary, d30v_function_arg, + d30v_function_arg_partial_nregs, d30v_function_arg_advance): Avoid + signed/unsigned warnings. + (d30v_print_operand_memory_reference, d30v_move_2words): + Const-ify. + * d30v.h (REG_CLASS_FROM_LETTER): Use unsigned array subscript. + * fr30.c (fr30_pass_by_reference, fr30_pass_by_value): Prototype. + * fr30.md: Const-ify. + * h8300.h (EXTRA_SECTION_FUNCTIONS): Add prototype. + * i370.c (i370_label_scan, mvs_get_label): Make definition static. + (mvs_get_label_page): Hide unused static function. + * i860.c (current_function_original_name): Const-ify. + * i860/sysv3.h (current_function_original_name): Likewise. + * i860/sysv4.h (current_function_original_name): Likewise. + * i960.md: Add default case in switches. Remove unused variable. + * i960/vx960-coff.h (MULTILIB_DEFAULTS): Undef before defining. + * m32r.md: Const-ify. + * m68hc11-protos.h (m68hc11_asm_file_start): Const-ify. + * m68hc11.c: Include "reload.h". + (static_chain_reg, print_options, m68hc11_asm_file_start): + Const-ify. + * m68hc11.md: Delete unused variable. Const-ify. Add parens + around & in comparison. + * mcore.h (TARGET_ASM_NAMED_SECTION): Undef before defining. + * mn10200.c (shift_mode): Remove trailing comma. + * mn10300-protos.h (output_tst): Const-ify. + * mn10300.c (output_tst): Likewise. + * pa/long_double.h (ASM_OUTPUT_LONG_DOUBLE): Fix format specifier + warnings. + * pa-protos.h (output_ascii): Use regular char *, not unsigned. + * pa.c (output_ascii): Likewise. + * pa/som.h (EXTRA_SECTION_FUNCTIONS): Add prototype. + * pdp11.md (expand_unop): Delete declarations. + * pj-protos.h (pj_output_addsi3): Const-ify. + * pj.c (pj_output_push_int, pj_output_load, pj_output_inc, + pj_output_cnv_op, mode_to_char, pj_output_varidx, pj_print_cond, + unique_src_operand): Add prototypes. + (pj_output_store_into_lval): Make definition static. + (pj_function_incoming_arg): Don't use unary plus. + (pj_output_addsi3): Const-ify. + * romp.md (get_symref): Delete declarations. + * v850-c.c (mark_current_function_as_interrupt): Don't return + value from void function. + * v850.c: Include "integrate.h". + * v850.h (ASM_OUTPUT_LABELREF): Const-ify. + * vax-protos.h (const_section): Add prototype. + +2001-11-03 Aldy Hernandez + + * machmode.def: Add documentation for the seventh argument in + vector modes. + +2001-11-04 Hans-Peter Nilsson + + * doc/invoke.texi (MMIX Options) <-mno-knuthdiv>: Say remainder + consistently. + <-mno-toplevel-symbols>: Change @code{:} to @samp{:}. + <-melf>: Don't have markup for ELF acronym. + +2001-11-03 Hans-Peter Nilsson + + * config.gcc (mmix-*-*): New target. + * doc/invoke.texi: Document MMIX options. + * doc/contrib.texi: Add note about MMIX port to my entry. + * config/mmix/t-mmix: New file. + * config/mmix/mmix.h: New file. + * config/mmix/mmix-protos.h: New file. + * config/mmix/mmix.c: New file. + * config/mmix/mmix.md: New file. + * config/mmix/crti.asm: New file. + * config/mmix/crtn.asm: New file. + +2001-11-03 Kazu Hirata + + * config/sparc/linux-aout.h: Fix comment formatting. + * config/sparc/linux.h: Likewise. + * config/sparc/linux64.h: Likewise. + * config/sparc/lynx.h: Likewise. + * config/sparc/pbd.h: Likewise. + * config/sparc/sol2-sld-64.h: Likewise. + * config/sparc/sol2.h: Likewise. + * config/sparc/sparc.c: Likewise. + * config/sparc/sparc.h: Likewise. + * config/sparc/sparc.md: Likewise. + * config/sparc/sunos4.h: Likewise. + * config/sparc/vxsim.h: Likewise. + * config/sparc/vxsparc.h: Likewise. + * config/sparc/vxsparc64.h: Likewise. + +Sat Nov 3 10:37:56 2001 Richard Kenner + + * cselib.c (cselib_subst_to_values, case CONST_DOUBLE): Remove + reference to CONST_DOUBLE_MEM in comment. + * emit-rtl.c (gen_rtx_CONST_DOUBLE): Remove one operand. + (gen_rtx, case CONST_DOUBLE): Call it with one less operand. + (init_emit_once): Don't clear CONST_DOUBLE_MEM. + * function.c (pop_function_context_from): Don't call + restore_varasm_status. + * function.h (restore_varasm_status): Delete declaration. + * gengenrtl.c (CONST_DOUBLE_FORMAT): Delete CONST_DOUBLE_MEM slot. + * rtl.c: Likewise. + * rtl.def (CONST_DOUBLE): Update comment. + * rtl.h (CONST_DOUBLE_HIGH, CONST_DOUBLE_LOW): Update operand number. + (CONST_DOUBLE_CHAIN): Likewise. + (CONST_DOUBLE_MEM): Delete. + (gen_rtx_CONST_DOUBLE): Update parameters. + * varasm.c (struct varasm_status): x_pool_offset now HOST_WIDE_INT. + Remove reference to CONST_DOUBLE_MEM. + (const_alias_set): New variable. + (immed_double_const): Change call to gen_rtx_CONST_DOUBLE. + (immed_real_const_1): Adjust tests for 0, 1, and 2. + Don't set CONST_DOUBLE_MEM. + (clear_const_double_mem): Don't do anything with const_tiny_rtx. + (output_constant_def): Don't look at TREE_CST_RTL if INTEGER_CST. + Put constant in const_alias_set. + (struct pool_constant): ALIGN now unsigned. + OFFSET now HOST_WIDE_INT. + Delete LABEL. + (restore_varasm_status): Deleted. + (mark_pool_constant): Mark desc->rtl. + (force_const_mem): Rework to store rtl in hash table, + not CONST_DOUBLE_MEM. + Put constant in const_alias_set. + (find_pool_constant): Check desc->rtl. + (mark_constants, mark_constant): Don't special-case CONST_DOUBLE. + (init_varasm_once): Initialize const_alias_set. + + * expr.c (expand_expr, case ADDDR_EXPR): If at top level, don't call + force_const_mem. + + * reload.c (combine_reloads): Don't combine an output reload if there + are other reloads around for part of the output. + + * emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGINGP_P if T is a + constant expression. + (set_mem_decl): New function. + * expr.h (set_mem_decl): New declaration. + * final.c (get_decl_from_op): Don't use ORIGINAL_REGNO if not pseudo. + (output_asm_operand_names): Add tab. + * reload1.c (alter_reg): Set decl of MEM from REG_DECL. + + * builtins.c (get_memory_rtx): Properly set MEM alias set and + attributes. + +2001-11-03 Joseph S. Myers + + * doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/tm.texi: + Use "invalid" instead of "illegal". Use @r in comments in + examples. + +2001-11-02 Neil Booth + + * c-decl.c (pushdecl): Move block inside if conditional to remove + possibility of a segfault. Lookup block-level extern + variables in enclosing scopes correctly. + + * testsuite/gcc.c-torture/compile/20001018-1.x: Remove XFAIL. + +2001-11-02 Aldy Hernandez + + * expmed.c (store_bit_field): Use simplify_gen_subreg to make + SUBREG so we avoid SUBREGing memory. + + * expmed.c (store_bit_field): Same. + 2001-11-02 DJ Delorie * config/rs6000/rs6000.c (rs6000_emit_move): Make sure that @@ -8,7 +477,7 @@ * builtins.c (apply_args_size): Handle vector arguments. (apply_result_size): Same. - * machmode.def: Set WIDER mode field for all vector entries. + * machmode.def: Set WIDER mode field for all vector entries. 2001-11-02 Graham Stott @@ -16,10 +485,10 @@ 2001-11-01 Eric Christopher - * config.gcc: Revert part of earlier patch. - * config/mips/linux.h: Ditto. + * config.gcc: Revert part of earlier patch. + * config/mips/linux.h: Ditto. * df.c: Include tm_p.h to avoid warnings. - * config/mips/mips.h (ABI_GAS_ASM_SPEC): Add defaults. Adjust + * config/mips/mips.h (ABI_GAS_ASM_SPEC): Add defaults. Adjust #if/#endif. * config/mips/mips.c: Define mips_abi regardless. (mips_output_function_prologues): Add long casts for .frame @@ -5127,7 +5596,7 @@ Wed Sep 5 17:28:49 CEST 2001 Jan Hubicka * i386.c (ix86_expand_prologue): Set use_fast_prologue_epilogue properly; Use current_function_calls_eh_return. (ix86_expand_epilogue): Avoid dummy optimize_size tests; - use leave to avoid depdendancy chain. + use leave to avoid dependency chain. * local-alloc.c (update_equiv_regs): Use CFG to iterate over INSN stream; get BB loop_depth instead of computing it from LOOP notes. @@ -8320,7 +8789,7 @@ Sat Aug 4 13:51:36 CEST 2001 Jan Hubicka (reload): Use it. * flow.c (need_fake_edge_p): New function. - (flow_call_edges_add): Fix handling of noreturn and sibbling calls; + (flow_call_edges_add): Fix handling of noreturn and sibling calls; avoid call insn to be very last insn in the insn stream. * profile.c (branch_prob): Call flow_call_edges_add instead of @@ -11357,7 +11826,7 @@ Mon Jul 9 17:23:10 CEST 2001 Jan Hubicka over by line number note. * flow.c (try_simplify_condjump): Verify that the condjump - is not always falling trought. + is not always falling through. Re-install patch: * flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.