OSDN Git Service

* real.c (encode_ieee_single): Ensure proper promotion.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 663f879..9aa90f6 100644 (file)
@@ -1,3 +1,268 @@
+2003-11-03  Alexander Kabaev  <ak03@gte.com>
+
+       * real.c (encode_ieee_single): Ensure proper promotion.
+
+2003-11-03  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
+
+       * doc/contrib.texi: Add Giovanni Bajo, Dara Hazeghi, Falk Hueffner,
+       and Andrew Pinski.
+
+2003-11-03  Syd Polk  <spolk@apple.com>
+
+       * config/rs6000/rs6000.c (rs6000_override_options): Add G3, G4, and G5
+       marketing names to the list of supported processors.
+       * config/rs6000/rs6000.h: Ditto.
+       * doc/invoke.texi: Ditto.
+       * config.gcc: Ditto.
+
+2003-11-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * fixinc/inclhack.def (stdio_va_list): Allow tab before va_list.
+       Merge two substitutions.
+       * fixinc/fixincl.x: Regenerate.
+       Fixes PR bootstrap/12666.
+
+2003-11-03  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * doc/install-old.texi: Remove VMS documentation.
+
+2003-11-03  Jan Hubicka  <jh@suse.cz>
+
+       * i386.c (override_options):  Remove hack enabling 128bit long double
+       commited by accident.
+
+2003-11-02  Per Bothner  <per@bothner.com>
+
+       * c-opts.c (needValue):  Do cpp_find_main_file before processing
+       any imacros flags, so pfile->main_file is set for the latter.
+
+2003-11-03  Andreas Jaeger  <aj@suse.de>
+           Zack Weinberg  <zack@codesourcery.com>
+
+       * Makefile.in (GCC_CFLAGS): Allow blacklisting of warnings.
+       (SYSCALLS.c.X-warn): Suppress warnings.
+
+2003-11-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR optimization/12845
+       * pa.c (output_cbranch): Use cmpb for DImode comparisons with 0.
+
+2003-11-02  Zack Weinberg  <zack@codesourcery.com>
+
+       * print-rtl.c (print_rtx): Call PRINT_REG with second argument -1.
+       * config/i386/i386.c (print_reg): Abort on a virtual register
+       if code != -1; not if file == asm_out_file.
+       * config/i386/i386.h (PRINT_REG): Document meaning of CODE == -1.
+       (DEBUG_PRINT_REG): Delete, unused.
+
+2003-11-02  Andreas Schwab  <schwab@suse.de>
+
+       * config/ia64/fde-glibc.c (_GNU_SOURCE): Define to 1 instead of
+       empty to avoid conflict with the definition from configure.
+
+2003-11-02  Roger Sayle  <roger@eyesopen.com>
+
+       PR optimization/10817
+       * ifcvt.c (noce_emit_move_insn): Improve documentation comment.
+       (noce_try_move): New function to optimize an if-the-else into an
+       unconditional move, i.e. "if (a!=b) x=a; else x=b" into "x=a".
+       (noce_process_if_block): Attempt simplification with noce_try_move.
+
+       * simplify-rtx.c (simplify_ternary_operation): Some minor fixes
+       and improvements to the optimizations of IF_THEN_ELSE expressions.
+       (simplify_subreg): Silence signed/unsigned comparison warning.
+
+2003-11-02  Richard Sandiford  <rsandifo@redhat.com>
+
+       * Makefile.in (targhooks.o, reload.o): Update dependencies.
+       (GTFILES): Add targhooks.c.
+       (gt-targhooks.h): New rule; depend on s-gtype.
+       * target.h (direct_pool_load_p): New hook.
+       * target-def.h (TARGET_DIRECT_POOL_LOAD_P): New macro.
+       (TARGET_INITIALIZER): Include it.
+       * targhooks.h (default_direct_pool_load_p): Declare.
+       (hook_bool_machine_mode_true): Declare.
+       * targhooks.c: Include insn-config.h, recog.h, ggc.h and
+       gt-targhooks.h.
+       (pool_symbol): New variable.
+       (default_direct_pool_load_p): New function.
+       (hook_bool_machine_mode_true): New function.
+       * reload.c: Include target.h.
+       (find_reloads): If an alternative will force a constant into memory,
+       count an extra reload if constant pool symbols are not valid
+       addresses.  If an alternative uses memory to move values between
+       registers, count the move as two reloads rather than one.
+       * config/s390/s390.c (TARGET_DIRECT_POOL_LOAD_P): Define.
+       * doc/tm.texi (TARGET_DIRECT_POOL_LOAD_P): Document.
+
+2003-11-02  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR optimization/12799
+       * postreload.c (reload_cse_move2add): Generate the add2
+       patterns manually.
+
+2003-11-02  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * config/sparc/sparc.c (function_arg_partial_nregs) [TARGET_ARCH64]:
+       Return 0 for all complex modes whose size is lesser or equal to
+       a word.  Add a ??? comment for the condition used with 16-byte
+       aligned modes.
+
+2003-11-01  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * .cvsignore: Remove c-parse* and tradcif.c.
+       * objc/.cvsignore: Delete.
+
+2003-11-01  Roger Sayle  <roger@eyesopen.com>
+
+       * unwind-sjlj.c (_Unwind_GetCFA): Return (_Unwind_Word)0 instead
+       of NULL.
+
+2003-11-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * som.h (DO_GLOBAL_DTORS_BODY): Change to C90 declaration.
+
+       * libgcc2.c (SYMBOL__MAIN): Provide C90 declaration.
+
+       * collect2.c (scan_libraries): Fix typos.
+
+       PR preprocessor/12847
+       * cppfiles.c, cppexp.c, cpperror.c, cpplib.h, cpplib.c, cpplex.c,
+       cppinit.c, cpptrad.c, cppmacro.c, fix-header.c, cpppch.c, c-pch.c,
+       c-incpath.c, cppcharset.c (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN,
+       DL_ERROR, DL_ICE, DL_EXTRACT, DL_WARNING_P): Prefix macro names with
+       "CPP_".
+
+2003-11-01  Fariborz Jahanian  <fjahanian@apple.com>
+
+       * config/rs6000/rs6000.c (rs6000_mixed_function_arg): Correct
+       no_units calculation.
+
+2003-11-01  Andreas Jaeger  <aj@suse.de>
+
+       * unwind-dw2.c (_Unwind_FrameState): Remove commas at end of
+       enumeration list.
+
+2003-11-01  Andreas Schwab  <schwab@suse.de>
+
+       * config/ia64/sysv4.h (SDATA_SECTION_FUNCTION): Update to C90
+       prototypes.
+       (SBSS_SECTION_FUNCTION): Likewise.
+
+2003-11-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * Makefile.in (GCC_CFLAGS): Add @WERROR@ for target files.
+
+2003-11-01  Andreas Tobler  <a.tobler@schweiz.ch>
+
+       * config/rs6000/sysv4.h (EXTRA_SECTION_FUNCTIONS): Update to C90
+       prototypes.
+
+2003-11-01  Andreas Jaeger  <aj@suse.de>
+
+       * unwind-dw2.c (_Unwind_FindEnclosingFunction): Constify variable.
+       (uw_frame_state_for): Constify variables.
+       (extract_cie_info): Constify first argument.
+
+       * unwind-dw2-fde-darwin.c: Adjust prototype of
+       _Unwind_Find_registered_FDE for recent changes.
+       (examine_objects): Constify return value and local variable result.
+       (_Unwind_Find_FDE): Constify return value and local variable ret.
+
+2003-10-31  Per Bothner  <pbothner@apple.com>
+
+       * c-opts.c (finish_options):  Change to returns boolean - false iff
+       the call to cpp_find_main_file fails.
+       (c_common_init):  Skip preprocess_file if finish_options failed.
+       (c_common_parse_file):  Break if finish_options failed.
+       Fixes PR preprocessor/12545.
+
+2003-10-31  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * aclocal.m4: Blacklist ultrix* for mmap file.
+       * configure: Rebuilt.
+
+       * function.c (assign_parms): Add ATTRIBUTE_UNUSED to variable
+       reg_parm_stack_space.
+       * toplev.c (default_get_pch_validity): Fix warning.
+
+       * vax.c: Include toplev.h.
+       (vax_init_libfuncs): Fix typo (umod).
+       * vax.h (ASM_COMMENT_START): Define.
+       (PRINT_OPERAND): Fix warning when HOST_WIDE_INT is a long long.
+
+2003-10-31  Roger Sayle  <roger@eyesopen.com>
+
+       PR middle-end/11968
+       * expr.c (expand_expr <MULT_EXPR>): Remove inappropriate and
+       confusing comment; distributivity isn't handled in expand_expr.
+       * fold-const.c (extract_muldiv_1 <PLUS_EXPR>):  Allow overflow
+       in distributivity, if wrap-around semantics are specified with
+       -fwrapv.
+
+2003-11-01  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 12315
+       * final.c (profile_function): Allow for NULL svrtx.
+
+2003-10-31  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * pa.c (pa_select_section): Use new style declaration.
+       * som.h (readonly_data): Likewise.
+
+2003-10-31  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * config/rs6000/rs6000.c: Update to C90 prototypes.
+
+2003-10-31  Richard Earnshaw  <rearnsha@arm.com>
+
+       PR target/7513
+       * arm.h (CONDITIONAL_REGISTER_USAGE): Disable use of LR in Thumb
+       code.
+
+2003-10-31  Andreas Jaeger  <aj@suse.de>,
+           Zack Weinberg  <zack@codesourcery.com>
+
+
+       * crtstuff.c (__register_frame_info, __register_frame_info_bases)
+       (__deregister_frame_info, __deregister_frame_info_bases):
+       Constify void * argument.
+       * unwind-dw2-fde.h (struct fde_vector):
+       Constify 'orig_data' and 'array' fields.
+       (__register_frame_info, __register_frame_info_bases)
+       (__deregister_frame_info, __deregister_frame_info_bases):
+       Constify void * argument.
+       (get_cie, next_fde, _Unwind_Find_FDE): Constify arguments,
+       return values, and casts of type fde *, struct dwarf_fde *,
+       and struct dwarf_cie *.
+       * unwind-dw2-fde.c (__register_frame_info, __register_frame_info_bases)
+       (__deregister_frame_info, __deregister_frame_info_bases):
+       Constify void * argument.
+       (get_cie_encoding, ): Constify struct dwarf_cie * argument.
+       (get_fde_encoding, fde_unencoded_compare, fde_single_encoding_compare)
+       (fde_mixed_encoding_compare, fde_compare_t, start_fde_sort, fde_insert)
+       fde_split, SWAP, frame_downheap, frame_heapsort)
+       (classify_object_over_fdes, add_fdes, linear_search_fdes,
+       binary_search_unencoded_fdes, binary_search_single_encoding_fdes,
+       binary_search_mixed_encoding_fdes, search_object, _Unwind_Find_FDE):
+       Constify arguments, local variables, return values, and casts
+       of type fde *, fde **, struct dwarf_fde *, and struct dwarf_cie *.
+       Use const pointer types in sizeof expressions, for clarity.
+       * unwind-dw2-fde-glibc.c
+       (_Unwind_find_registered_FDE, _Unwind_find_FDE): Constify return value.
+       (struct unw_eh_callback_data): Constify 'ret' field.
+
+2003-10-31  Fariborz Jahanian  <fjahanian@apple.com>
+           David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.c (rs6000_mixed_function_arg): New.
+       (function_arg): Call it.
+       (rs6000_function_value): Widen integral return value to mode based
+       on TARGET_32BIT, not word_mode.
+       * config/rs6000/rs6000.h (PROMOTE_MODE): Likewise.
+       (UNITS_PER_ARG): New.
+       (RS6000_ARG_SIZE): Use it.
+
 2003-10-31  Gerald Pfeifer  <gerald@pfeifer.com>
 
        * .cvsignore: No longer ignore gengtype-lex.c, gengtype-yacc.c,
 
 2003-10-31  Richard Earnshaw  <rearnsha@arm.com>
 
-       * ggc-page.c (ggc_pch_read): Wrap call to poison_pages in 
+       * ggc-page.c (ggc_pch_read): Wrap call to poison_pages in
        ENABLE_GC_CHECKING not in GGC_POISON.
 
 2003-10-31  Nathanael Nerode  <neroden@gcc.gnu.org>
 2003-10-30  Eric Christopher  <echristo@redhat.com>
 
        * function.c (purge_addressof_1): Add case for REG_RETVAL
-        notes when modes are unequal.
+       notes when modes are unequal.
 
 2003-10-31  Jan Hubicka  <jh@suse.cz>