OSDN Git Service

* config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Add
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index df66b3e..5c00702 100644 (file)
@@ -1,3 +1,236 @@
+2003-09-15  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Add
+       ATTRIBUTE_UNUSED.
+       (call_insn_operand): For PIC, don't allow a direct call to a
+       function in a different section than the current one.
+
+2003-09-16  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
+        
+        * doc/invoke.texi (Warning Options): Add missing hyphen before
+        "Wimport".  Change "-Wno-endif-labels" to "-Wendif-labels".
+        Move "-Wold-style-definition" to the C-only section.
+        Fix the ordering of the warning options.
+
+2003-09-15  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
+           Jeff Law  <law@redhat.com>
+
+       * gcse.c (remove_reachable_equiv_notes): New.
+       replace_store_insn): Call it.  Update antic list.
+       (store_killed_in_insn): Take REG_EQUAL notes into account.
+       (build_store_vectors, delete_store): Add parameter to
+       replace_store_insn call.
+
+2003-09-15  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/xtensa/xtensa.h (LEGITIMATE_PIC_OPERAND_P): Use
+       SYMBOL_REF_LOCAL_P.
+
+2003-09-15  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * expr.h (DEFAULT_FUNCTION_ARG_PADDING): New.
+       (FUNCTION_ARG_PADDING): Use DEFAULT_FUNCTION_ARG_PADDING.
+       * config/ia64/ia64.c (ia64_hpux_function_arg_padding):
+       Likewise.
+       * config/m68hc11/m68hc11.c (m68hc11_function_arg_padding):
+       Likewise.
+       * config/rs6000/rs6000.c (function_arg_padding): Likewise.
+       * config/sparc/sparc.c (function_arg_padding): Likewise.
+
+2003-09-15  Vladimir Makarov  <vmakarov@redhat.com>
+
+       * haifa-sched.c (schedule_block): Use ready_remove_first instead
+       of choose_ready for non-dfa insn scheduling.
+
+2003-09-15  Andreas Jaeger  <aj@suse.de>
+            Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+       * doc/invoke.texi (Warning Options): Describe -Wold-style-definition.
+       * c-opts.c (c_common_handle_option): Handle OPT_Wold_style_definition.
+       * c-parse.in: Warn about old-style parameter definition.
+       * c-common.c: Define warn_old_style_defintion.
+       * c-common.h: Declare it.
+       * c.opt: Add Wold-style-defintion.
+
+2003-09-15  Andreas Jaeger  <aj@suse.de>
+
+       * config/rs6000/altivec.h: Convert () prototypes to ISO C90.
+       * config/rs6000/rs6000.c: Likewise.
+
+2003-09-12  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
+
+       PR optimization/10914
+       * expr.h (get_condition, canonicalize_condition): Declaration changed.
+       * cfgloopanal.c (simple_loop_exit_p): Add parameter to a get_condition
+       and canonicalize_condition calls.
+       * gcse.c (fis_get_condition, delete_null_pointer_checks_1,
+       delete_null_pointer_checks): Ditto.
+       * ifcvt.c (noce_get_alt_condition, noce_get_condition): Ditto.
+       * predict.c (estimate_probability, expected_value_to_br_prob): Ditto.
+       * loop.c (check_dbra_loop, get_condition_for_loop): Ditto.
+       (canonicalize_condition, get_condition): Allow to return comparisons
+       of cc mode registers.
+       * loop-unswitch.c (may_unswitch_on_p, unswitch_single_loop): Allow
+       cc mode registers comparison in condition.
+
+2003-09-12  Mark Mitchell  <mark@codesourcery.com>
+
+       * coverage.c (create_coverage): Do not call pushlevel/poplevel.
+       * langhooks-def.h (lhd_do_nothing_iii_return_null_tree): New
+       function.
+       * langhooks.c (lhd_do_nothing_iii_return_null_tree): Define it.
+       
+2003-09-14  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * combine.c (simplify_comparison): Convert
+       (ne (and (lshiftrt (xor X CST) Y) 1) 0) into
+       (eq (and (lshiftrt X Y) 1) 0).
+
+2003-09-14  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * alias.c: Follow spelling conventions.
+       * cpphash.h: Likewise.
+       * fold-const.c: Likewise.
+
+2003-09-14  Alexandre Oliva  <aoliva@redhat.com>
+
+       * c-ppoutput.c (cb_line_change): Revert 2003-08-04's change.
+       * c-lex.c (cb_line_change): Skip line changing whenever
+       c-ppoutput.c would.
+
+2003-09-14  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * ra.c: Convert to ISO C90 prototypes.
+       * ra-build.c: Likewise.
+       * ra-colorize.c: Likewise.
+       * ra-debug.c: Likewise.
+       * ra-rewrite.c: Likewise.
+
+2003-09-14  Richard Sandiford  <rsandifo@redhat.com>
+
+       * Makefile.in (%.dvi): Remove excess $(docdir).
+
+2003-09-14  Richard Sandiford  <rsandifo@redhat.com>
+
+       * function.c (STACK_BYTES): Move definition to head of file.
+       (assign_parms): Don't pass current_function_pretend_args_size
+       directly to SETUP_INCOMING_VARARGS.  For partial register arguments,
+       round current_function_pretend_args_size up to STACK_BYTES.  Skip any
+       excess before laying out the argument.
+
+2003-09-14  Andreas Jaeger  <aj@suse.de>
+
+       * objc/objc-act.c: Convert to ISO C90 prototypes.
+       * objc/objc-act.h: Likewise.
+
+2003-09-14  Olaf Hering  <olh@suse.de>
+
+       * config/rs6000/rs6000.c: Fix typo: Remove extra ')'.
+
+2003-09-13  Andrew Pinski <pinskia@physics.uc.edu>
+
+       PR target/12021
+       * config/m68k/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Remove the asserts
+       as they already are done in config/m68k/m68k.h.
+       * config/m68k/netbsd.h (TARGET_OS_CPP_BUILTINS): Likewise
+
+       * config/rs6000/rs6000.c (GEN_LOCAL_LABEL_FOR_SYMBOL): Remove.
+       (machopic_output_stub): Only generate pic base symbols when using pic
+       and generate them in the form L00000000$spb.
+
+2003-09-13  Richard Henderson  <rth@redhat.com>
+
+       * cgraphunit.c (cgraph_assemble_pending_functions): Export.
+       (cgraph_finalize_function): Revert TREE_ASM_WRITTEN check.
+       * cgraph.h: Update.
+
+2003-09-12  Dale Johannesen  <dalej@apple.com>
+
+       * config/rs6000/rs6000.c: Fix typos in previous.
+
+2003-09-12  Ziemowit Laski  <zlaski@apple.com>
+
+       * pretty-print.c (pp_construct): Use xcalloc instead of xmalloc
+       when allocating pp->buffer.
+
+2003-09-12  Geoffrey Keating  <geoffk@apple.com>
+
+       * config/darwin.c (machopic_select_rtx_section): Use
+       const_data_section for things that might require relocation.
+
+2003-09-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR bootstrap/12264
+       * tree-inline.c (inline_forbidden_p_1): Cast the 3rd arg to tree.
+
+2003-09-12  Bob Wilson  <bob.wilson@acm.org>
+       
+       * config/xtensa/elf.h (ASM_SPEC): Remove no-density option.  Reformat.
+       * config/xtensa/linux.h (ASM_SPEC): Likewise.
+       * config/xtensa/xtensa.h (TARGET_SWITCHES): Remove -mbig-endian,
+       -mlittle-endian, -m[no-]density, -m[no-]abs, -m[no-]addx, -m[no-]mac16,
+       -m[no-]mul16, -m[no-]mul32, -m[no-]nsa, -m[no-]minmax, -m[no-]sext,
+       -m[no-]booleans, -mhard-float, -msoft-float, -m[no-]hard-float-div,
+       -m[no-]hard-float-recip, -m[no-]hard-float-sqrt, and
+       -m[no-]hard-float-rsqrt options.  Delete corresponding MASK_* macros
+       and redefine corresponding TARGET_* macros with constants from the
+       xtensa-config.h header.
+       * doc/invoke.texi (Option Summary, Xtensa Options): Remove documention
+       for the options listed above.
+       
+2003-09-12  Dale Johannesen  <dalej@apple.com>
+
+       * config/rs6000/rs6000-protos.h:  Use C90 prototypes.
+       * config/rs6000/rs6000-c.c:  Ditto. 
+       * config/rs6000/rs6000.c:  Ditto.
+       * config/rs6000/ sysv4.h:  Ditto.
+
+2003-09-12  Chris Lattner <sabre@nondot.org>
+
+       * loop.c: Move comments describing BIV's and GIV's to top of file
+
+2003-09-12  Roger Sayle  <roger@eyesopen.com>
+
+       PR optimization/8967
+       * alias.c (write_dependence_p): Modify to take an additional constp
+       argument that controls whether the UNCHANGING_RTX_P flags are used.
+       (anti_dependence, output_dependence): Adjust write_dependence_p
+       callers to pass this additional argument, to return the same result.
+       (unchanging_anti_dependence): New variant of anti_dependence that
+       ignores the UNCHANGING_RTX_P property on memory references.
+       * rtl.h (unchaning_anti_dependence): Prototype here.
+       * flow.c (init_propagate_block): Place fake constant mem writes on
+       the mem_set_list so that dead writes to const variables are deleted.
+       (insn_dead_p): Change anti_dependence to unchanging_anti_dependence.
+       (mark_used_regs): Likewise.
+
+2003-09-12  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mcore/mcore-protos.h (mcore_r15_operand_p): Declare.
+       (mcore_secondary_reload_class): Declare.
+       (mcore_output_inline_const_forced): Remove.
+       * config/mcore/mcore.md (movsi): Remove the code that forced
+       non-inlineable constants into a register if the target was r15
+       or the stack pointer.  Remove constant restrictions from the main
+       define_insn.  Remove r <- I, r <- M and r <- N alternatives in favor
+       of an r <- P alternative.  Remove fallback define_insn for reload.
+       (movhi, movqi): Use gen_lowpart rather than gen_SUBREG.  Remove reload
+       define_insn.  Use mcore_output_move in the remaining define_insn.
+       Adjust condition and constraints in the way as for movsi.
+       (movdi): Always split unacceptable constants into two.  Use
+       simplify_gen_subreg instead of operand_subword{,_force}.
+       * config/mcore/mcore.c (mcore_output_inline_const_forced): Remove.
+       (mcore_output_move): Support HImode and QImode moves as well.
+       (mcore_m15_operand_p): New function.
+       (mcore_reload_class): Use it to detect cases where LRW_REGS are better.
+       (mcore_secondary_reload_class): New function.
+       * config/mcore/mcore.h (SECONDARY_RELOAD_CLASS): Redefine in
+       terms of mcore_secondary_reload_class.
+
+2003-09-11  Mike Stump  <mrs@apple.com>
+
+       * c-lex.c (fe_file_change): Don't transform to_line with SOURCE_LINE.
+
 2003-09-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * builtins.c (fold_builtin_logarithm): if N can't be truncated to