OSDN Git Service

* c-decl.c (get_parm_info): Use the correct tag keywords when
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 8c70524..9630090 100644 (file)
@@ -1,3 +1,250 @@
+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.
+
+2004-04-28  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gcse.c (find_moveable_store): Do not accept store insns with 
+       REG_EH_REGION note.
+
+2004-04-28  Paul Brook  <paul@codesourcery.com>
+
+       * calls.c (precompute_arguments): Remove PROMOTE_FOR_CALL_ONLY.
+       * function.c (assign_temp): Ditto.
+       * system.h (PROMOTE_FOR_CALL_ONLY): Poison.
+
+2004-04-28  Paul Brook  <paul@codesourcery.com>
+
+       * config/arm/lib1funcs.asm: Recognize armv5tej and armv6.
+
+2004-04-28  Josef Zlomek  <zlomekj@suse.cz>
+
+       * var-tracking.c (variable_different_p): Add a parameter
+       compare_current_location, compare current location of variable parts
+       if it is true.
+       (dataflow_set_different_1): Pass compare_current_location == false.
+       (dataflow_set_different_2): Pass compare_current_location == false.
+       (emit_notes_for_differences_1): Pass compare_current_location == true.
+
+2004-04-28  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390.md ("casesi"): Mark jump table access as
+       non-trapping and unchanging.
+
+2004-04-27  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR debug/14829
+       * dwarf2out.c (reg_number): Rename to dbx_reg_number.  Adjust all
+       callers.
+       (multiple_reg_loc_descriptor, reg_loc_descriptor): Use gcc register
+       number for indexing hard_regno_nregs array.
+       
+2004-04-27  Geoffrey Keating  <geoffk@apple.com>
+
+       * config/darwin.h (STARTFILE_SPEC): Use %s to find crt2.o.
+       * config/darwin-crt2.c: Only have contents on __ppc__.
+
+2004-04-27  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/xtensa/xtensa.c (call_insn_operand): Check
+       SYMBOL_REF_EXTERNAL_P in addition to SYMBOL_REF_LOCAL_P.
+       * config/xtensa/xtensa.h (LEGITIMATE_PIC_OPERAND): Likewise.
+       * config/xtensa/xtensa.md (call, call_value): Likewise.
+
+2004-04-27  Wu Yongwei  <adah@sh163.net>
+
+       * gthr-win32.h (__gthread_mutex_t): Change typedef to new structure.
+       (__GTHREAD_MUTEX_INIT_DEFAULT): Adjust.
+       (__gthread_mutex_init_function): Replace CreateMutex with
+       initialization of custom mutex using CreateSemaphore.
+       (__gthread_mutex_lock): Use InterlockedIncrement.
+       (__gthread_mutex_trylock): Use InterlockedCompareExchange.
+       (__gthread_mutex_unlock): Use InterlockedDecrement and
+       ReleaseSemaphore to unlock
+       * config/i386/gthr-win32.c (__gthread_mutex_init_function,
+       __gthread_mutex_lock, __gthread_mutex_trylock,
+       __gthread_mutex_unlock): Adjust to match inline versions in
+       gthr-win32.h.
+
+2004-04-27  Paul Brook  <paul@codesourcery.com>
+
+       * config/arm/arm.c (arm_promote_prototypes): New function.
+       (TARGET_PROMOTE_PROTOTYPES): Use it.
+
+2004-04-27  Paul Brook  <paul@codesourcery.com>
+
+       * config/arm/arm.c (arm_expand_epilogue): Count blocks of 4 regs.
+
+2004-04-26  Bernard Giroud  <bgiroud@free.fr>
+
+       * config/alpha.c (alpha_end_function): For OpenVMS gas,
+       correctly output .pdesc directive before .end.
+
+2004-04-26  James E Wilson  <wilson@specifixinc.com>
+
+       Bug 14927
+       * config/ia64/ia64.md (movxf): New local op0.  Handle case where
+       operands[0] is a SUBREG.  Handle case where operands[1] is a GR reg.
+
+2004-04-26  Zack Weinberg  <zack@codesourcery.com>
+
+       * config/ia64/hpux.h: Predefine __STDCPP__ when compiling C++.
+       * config/pa/pa-hpux10.h: Likewise.
+       * config/pa/pa-hpux11.h: Likewise.
+
+2004-04-26  Geoffrey Keating  <geoffk@apple.com>
+
+       * doc/invoke.texi (Overall Options): Document default for -o
+       for PCH files.
+
+2004-04-26  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * builtins.c (expand_builtin_update_setjmp_buf): New function.
+       (expand_builtin, case BUILT_IN_UPDATE_SETJMP_BUF): New case.
+       * builtins.def (BUILT_IN_UPDATE_SETJMP_BUF): New code.
+
+2004-04-26  Paul Brook  <paul@codesourcery.com>
+
+       * config/arm/arm.c (arm_legitimate_index_p): Correct iwmmxt offsets.
+
+2004-04-26  Paul Brook  <paul@codesourcery.com>
+
+       * config/arm/arm.c (arm_legitimate_index_p): Correct maverick offsets.
+
+2004-04-25  Roger Sayle  <roger@eyesopen.com>
+
+       * fold-const.c (fold): Prefer fold_convert (negate_expr (...)) to
+       fold (build1 (NEGATE_EXPR, ...)).  Optimize X / -1 as -X and
+       X % -1 as 0.
+
+2004-04-26  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       PR bootstrap/15141
+       * except.c (connect_post_landing_pads): Delete insns after the
+       barrier when generating a unwind_resume_libfunc call.
+
+2004-04-25  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       PR/c++ 15119
+       * tree.c (substitute_placeholder_in_expr, case 4): New case,
+       for TARGET_EXPR.
+
+2004-04-25  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
+
+       * gcov-io.h (__gcov_fork, __gcov_execl, __gcov_execlp, __gcov_execle,
+       __gcov_execv, __gcov_execvp, __gcov_execve): Do not declare when
+       inhibit_libc is defined.
+
+2004-04-25  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips-protos.h (mips_linked_macc_p): Declare.
+       * config/mips/mips.h (TUNE_MACC_CHAINS): New macro.
+       * config/mips/mips.c (TARGET_SCHED_REORDER): Define.
+       (TARGET_SCHED_VARIABLE_ISSUE): Define.
+       (mips_adjust_cost): Move later in file, next to other sched hooks.
+       (mips_macc_chains_last_hilo): New variable.
+       (mips_linked_madd_p, mips_macc_chains_record, mips_macc_chains_reorder)
+       (mips_promote_ready, mips_sched_reorder, mips_variable_issue): New.
+       * config/mips/mips.md (may_clobber_hilo): New attribute.
+
 2004-04-24  Roger Sayle  <roger@eyesopen.com>
            Bruce Korb  <bkorb@gnu.org>
 
        (vall_value_gp): Likewise.
 
 2004-04-20  DJ Delorie  <dj@redhat.com>
-       
+
        * dwarf2out.c (rtl_for_decl_location): Adjust rtl for byte
        variables stored in word registers, then in memory.
 
 
 2004-04-19  Aldy Hernandez  <aldyh@redhat.com>
 
-        * config/rs6000/rs6000.md (UNSPEC_MV_CR_GT): New constant.
-        (move_from_CR_gt_bit): New.
-        (cceq_ior_compare): Name previously unnamed pattern.  Disable for
-        E500.
-        (cceq_rev_compare): Name previously unnamed pattern.  Allow for
-        E500.
-
-        * config/rs6000/spe.md (cmpsfeq_gpr): Rewrite as unspec.
-        (tstsfeq_gpr): Same.
-        (cmpsfgt_gpr): Same.
-        (tstsfgt_gpr): Same.
-        (cmpsflt_gpr): Same.
-        (tstsflt_gpr): Same.
-        (e500_cceq_ior_compare): New.
-        (e500_flip_gt_bit): New.
-
-        * config/rs6000/rs6000.c (ccr_bit): Remove E500 specific code.
-        (print_operand): Add 'c' and 'D'.
-        (rs6000_generate_compare): Rewrite to generate correct rtl.
-        (rs6000_emit_sCOND): Handle E500.
-        (output_cbranch): Adjust for changes in rs6000_generate_compare.
-        (output_e500_flip_gt_bit): New.
-
-        * config/rs6000/rs6000-protos.h (output_e500_flip_gt_bit):
-        Protoize.
+       * config/rs6000/rs6000.md (UNSPEC_MV_CR_GT): New constant.
+       (move_from_CR_gt_bit): New.
+       (cceq_ior_compare): Name previously unnamed pattern.  Disable for
+       E500.
+       (cceq_rev_compare): Name previously unnamed pattern.  Allow for
+       E500.
+
+       * config/rs6000/spe.md (cmpsfeq_gpr): Rewrite as unspec.
+       (tstsfeq_gpr): Same.
+       (cmpsfgt_gpr): Same.
+       (tstsfgt_gpr): Same.
+       (cmpsflt_gpr): Same.
+       (tstsflt_gpr): Same.
+       (e500_cceq_ior_compare): New.
+       (e500_flip_gt_bit): New.
+
+       * config/rs6000/rs6000.c (ccr_bit): Remove E500 specific code.
+       (print_operand): Add 'c' and 'D'.
+       (rs6000_generate_compare): Rewrite to generate correct rtl.
+       (rs6000_emit_sCOND): Handle E500.
+       (output_cbranch): Adjust for changes in rs6000_generate_compare.
+       (output_e500_flip_gt_bit): New.
+
+       * config/rs6000/rs6000-protos.h (output_e500_flip_gt_bit):
+       Protoize.
 
 2004-04-19  Eric Christopher  <echristo@redhat.com>