OSDN Git Service

Patch from Nick Clifton.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 69cafbb..080affc 100644 (file)
@@ -1,3 +1,166 @@
+2004-04-29  Nick Clifton  <nickc@redhat.com>
+
+       Bug 14093
+       * config/sh/sh-protos.h (sh_promote_prototypes): Declare.
+       * config/sh/sh.c (sh_promote_prototypes): Remove declaration.
+       Delete static from definition.
+       * config/sh/sh.h (FUNCTION_VALUE): Add sh_promote_prototypes call.
+
+2004-04-30  Uros Bizjak  <uros@kss-loka.si>
+
+        * reg-stack.c (subst_stack_regs_pat): <UNSPEC_SIN, UNSPEC_COS,
+        UNSPEC_FRNDINT, UNSPEC_F2XM1>: abort() if src1 dies.
+        <UNSPEC_SINCOS_COS, UNSPEC_TAN_ONE, UNSPEC_XTRACT_FRACT>: Same.
+        <UNSPEC_SINCOS_SIN, UNSPEC_TAN_TAN, UNSPEC_XTRACT_EXP>: Same.
+
+2004-04-29  Richard Guenther  <richard.guenther@uni-tuebingen.de>
+
+       * commom.opt (Wfatal-errors): Add it.
+       * diagnostic.c (flag_fatal_errors): Define it.
+       (diagnostic_action_after_output): Check for flag_fatal_errors.
+       * flags.h (flag_fatal_errors): Declare it.
+       * opts.c (common_handle_option): Add OPT_Wfatal_errors.
+       * doc/invoke.texi (Warning Options): Document -Wfatal-errors.
+
+2004-04-30  Josef Zlomek  <zlomekj@suse.cz>
+
+       * gcse.c (remove_reachable_equiv_notes): Delete notes also in
+       blocks which have kill flag set.
+
+2004-04-29  Ben Elliston  <bje@au.ibm.com>
+
+       * configure.ac (--with-as): Abort if user-supplied assembler
+       cannot be executed.
+       (--with-ld): Likewise for the linker.
+       * configure: Regenerate.
+
+2004-04-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * convert.c (convert_to_integer): Ensure `long_integer_type_node'
+       isn't NULL before using it.
+
+2004-04-29  Richard Sandiford  <rsandifo@redhat.com>
+
+       PR target/15189
+       * config/mips/mips.md (load_df_low): Use default length.
+       (load_df_high, store_df_high): Likewise.
+
+2004-04-29  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/mips/mips.md, config/mips/sb1.md,
+       config/rs6000/rs6000.c: Fix comment typos.
+
+2004-04-29  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * builtins.c, cgraph.c, cgraphunit.c, final.c, fold-const.c:
+       Fix comment typos.
+
+2004-04-29  Douglas B Rupp  <rupp@gnat.com>
+
+       * gcc.c (DELETE_IF_ORDINARY): New macro default definition.
+       (delete_if_ordinary): Use above macro.
+       * config/alpha/xm-vms.h (DELETE_IF_ORDINARY): New macro VMS definition.
+       Update copyright.
+       * doc/hostconfig.texi (DELETE_IF_ORDINARY): Document new macro.
+
+2004-04-29  Richard Earnshaw  <rearnsha@arm.com>
+
+       * c-decl.c (get_parm_info): Use the correct tag keywords when
+       warning about type declarations in prototypes.
+
+2004-04-29  Paul Brook  <paul@codesourcery.com>
+
+       * config.gcc: Pull list of cores from arm-cores.def.
+
+2004-04-29  Paolo Bonzini  <bonzini@gnu.org>
+
+       * combine.c (combine_simplify_rtx): Adjust call to use
+       simplify_relational_operation.  Do not use SELECT_CC_MODE
+       when a comparison already has a MODE_CC mode.
+       (simplify_set): simplify_relational_operation may now
+       return another relational expression.
+       * cse.c (fold_rtx): simplify_relational_operation now
+       takes of computing the comparison mode.
+       * dojump.c (compare_from_rtx): Use simplify_relational_operation,
+       remove dead code.
+       (do_compare_rtx_and_jump): Likewise.
+       * integrate.c (subst_constants): simplify_relational_operation
+       may now return another relational expression.
+       * simplify-rtx.c (simplify_gen_relational): Move most code to
+       the new simplify_relational_operation and
+       simplify_relational_operation_1 functions.
+       (simplify_relational_operation): Rewritten.
+       (simplify_relational_operation_1): New function.
+       (simplify_ternary_operation): simplify_relational_operation
+       may now return another relational expression.
+       (simplify_rtx): Remove unnecessary temp variable. 
+
+2004-04-29  Uros Bizjak  <uros@kss-loka.si>
+
+       * reg-stack.c (swap_to_top): New function.
+       (subst_stack_regs_pat): UNSPEC_FPATAN, UNSPEC_FYL2X: Use
+       swap_to_top().
+       (subst_stack_regs_pat): UNSPEC_FSCALE: Remove.
+       (subst_stack_regs_pat): Handle UNSPEC_FSCALE_FRACT and 
+       UNSPEC_FSCALE_EXP.
+
+       * config/i386/i386.md (UNSPEC_FSCALE): Remove.
+       (*fscale_sfxf3, *fscale_dfxf3, *fscale_xf3): Remove insn pattern.
+       (UNSPEC_FSCALE_FRACT, UNSPEC_FSCALE_EXP): New unspecs to represent
+       x87's fscale insn.
+       (*fscalexf4: Define new insn pattern to implement x87 fscale insn.
+       (exp?f2, exp10?f2, exp2?f2): Use *fscalexf4 and float_truncate
+       patterns.
+
+2004-04-28  Serge Belyshev  <1319@bot.ru>
+
+       PR 14944
+       * coverage.c (read_counts_file): Fix usage of warning () call.
+       * pretty-print.c (pp_base_format_text): Fix typo in the comment.
+
+2004-04-28  Ben Elliston  <bje@au.ibm.com>
+
+       * doc/invoke.texi (Objective-C Dialect Options): Don't prefix
+       options with "-" in the option index.
+       (SPARC Options): Likewise.
+       (M32R/D Options): Likewise.
+
+2004-04-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * convert.c (convert_to_integer): Convert (long)round -> lround,
+       etc.
+
+2004-04-28  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * config/rs6000/rs6000.c (registers_ok_for_quad_peep):
+       Return false if we do not have fp register.
+       (addrs_ok_for_quad_peep): Rename to ...
+       (mems_ok_for_quad_peep): this.
+       Add check for volatile memory.
+       * config/rs6000/rs6000-protos.h (addrs_ok_for_quad_peep):
+       Rename to ...
+       (mems_ok_for_quad_peep): this.
+       * config/rs6000/rs6000.md: Change peephole's for lfq/stq
+       to peephole2's.
+       (lfq_power2): New instruction.
+       (stfq_power2): Likewise.
+
+2004-04-28  Jan Hubicka  <jh@suse.cz>
+
+       PR c/15004
+       * function.c (do_warn_unused_parameter): Break out form ...
+       (expand_function_end): ... here; warn only when not using cgraphunit.
+       * function.h (do_warn_unused_parameter): Declare.
+       * cgraphunit.c: Include function.h.
+       (cgraph_finalize_function): Do unused parameter warning.
+       * Makefile.in (cgraphunit.o): Depend on function.h
+
+2004-04-28  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * Makefile.in ($(DESTDIR)$(infodir)/%.info): Don't condition
+       calling install-info on $(DESTDIR)$(infodir)/dir already being
+       present.
+
 2004-04-28  Paul Brook  <paul@codesourcery.com>
 
        * dwarf2out.c (mem_loc_descriptor): Handle shifts.