OSDN Git Service

* real.h (ieee_extended_intel_96_round_53_format): New.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index ad409c7..cd02e3f 100644 (file)
@@ -1,5 +1,431 @@
+2003-06-24  Richard Henderson  <rth@redhat.com>
+           (blame to: Loren James Rittle  <ljrittle@acm.org>)
+
+       * real.h (ieee_extended_intel_96_round_53_format): New.
+       * real.c (ieee_extended_intel_96_round_53_format): New.
+       * config/i386/freebsd.h (SUBTARGET_OVERRIDE_OPTIONS): Use it
+       for XFmode and TFmode.
+
+2003-06-24  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.md (4 anonymous patterns): Give internal
+       names.
+       (movsi_h8300): Change the name to *movsi_h8300.
+       (movsi_h8300hs): Change the name to *movsi_h8300hs.
+       (movsf_h8300): Change the name to *movsf_h8300.
+       (movsf_h8300hs): Change the name to *movsf_h8300hs.
+
+2003-06-24  Jakub Jelinek  <jakub@redhat.com>
+
+       * builtins.c (expand_builtin_strcpy): Don't evaluate side-effects in
+       src twice.
+
+2003-06-24  J"orn Rennecke <joern.rennecke@superh.com>
+
+       Back out these patches:
+        2003-06-02  J"orn Rennecke <joern.rennecke@superh.com>
+          * sh.h (OLD_ARG_MODE): New macro.
+          (FUNCTION_ARG_ADVANCE, FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
+          (FUNCTION_ARG_1): Break out of:
+          (FUNCTION_ARG).  Use OLD_ARG_MODE.
+        2003-06-06  J"orn Rennecke <joern.rennecke@superh.com>
+          * sh.h (FUNCTION_ARG_1): Consistently use NEW_MODE for the mode
+          of the generated register.
+
+       * sh.h (FUNCTION_ARG_SCmode_WART): Define.
+       (FUNCTION_ARG): Unless FUNCTION_ARG_SCmode_WART is defined and
+       an even number of floating point regs are in use, use the same
+       sequence of argument passing registers for SCmode as would be 
+       used for two SFmode values.
+       * sh.c (sh_va_arg): If FUNCTION_ARG_SCmode_WART is defined,
+       swap real / imaginary parts in incoming SCmode values passed
+       in registers.
+
+2003-06-24  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
+
+        PR target/11260
+        * config/alpha/alpha.md (sqrtdf2): Fix operand substitution.
+
+Tue Jun 24 18:49:33 CEST 2003  Jan Hubicka  <jh@suse.cz>
+
+       * Makefile.in (cgraph.o): Depend on output.h, not depend on
+       tree-inline.h
+       * cgraph.c: Do not include tree-inline.h; include output.h
+       (known_fns): Rename to ...
+       (known_decls): ... this one; update all uses.
+       (cgraph_varpool_hash): New static variable.
+       (cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): New global
+       variables.
+       (cgraph_varpool_hash_node, eq_cgraph_varpool_node, cgraph_varpool_node,
+       cgraph_varpool_node_for_identifier, cgraph_varpool_mark_needed_node,
+       cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls):
+       New functions.
+       * cgraph.h (cgraph_varpool_node): New structure.
+       (cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): Declare.
+       (cgraph_varpool_node, cgraph_varpool_node_for_identifier,
+       cgraph_varpool_finalize_decl, cgraph_varpool_mark_needed_node,
+       cgraph_varpool_asemble_pending_decls): Declare.
+       * cgraphunit.c (record_call_1): Notice variable references.
+       (cgraph_finalize_compilation_unit): Assemble pending variables.
+       * toplev.c (wrapup_global_declarations): Use varpool.
+       (compile_file): Assemble pending declarations.
+       (rest_of_decl_compilation): Use varpool in unit-at-a-time mode.
+       * varasm.c (assemble_name): Notice varpool references.
+
+Tue Jun 24 13:52:11 CEST 2003  Jan Hubicka  <jh@suse.cz>
+
+       * langhooks-def.h (LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE): New macro.
+       * langhooks.h (lang_hooks_for_decls): Add prepare_assemble_variable.
+       * varasm.c (assemble_variable): Call prepare_assemble_variable.
+
+2003-06-23  Roger Sayle  <roger@eyesopen.com>
+
+       * builtins.c (expand_builtin): Use expand_builtin_pow to expand
+       calls for pow, powf, powl and their __builtin_ variants.
+       (expand_builtin_pow): If the second argument is a constant
+       integer and compiling with -ffast-math, use expand_powi to
+       generate RTL if powi_cost is less than POWI_MAX_MULTS.
+       (powi_cost): New function to return the number of multiplications
+       necessary to evaluate an Nth power, for integer constant N.
+       (expand_powi): New function to expand the RTL for evaluating
+       the Nth power of a floating point value, for integer constant N.
+
+       * doc/tm.texi (POWI_MAX_MULTS): Document new target macro.
+
+Mon Jun 23 23:07:35 CEST 2003  Jan Hubicka  <jh@suse.cz>
+
+       * cgraph.c (cgraph_nodes_queue): Declare.
+       (eq_node): Take identifier as p2.
+       (cgraph_node): Update htab_find_slot_with_hash call.
+       (cgraph_node_for_identifier): New.
+       (cgraph_mark_needed_node): Move here from cgraphunit.c.
+       * cgraph.h (cgraph_nodes_queue): Declare.
+       (cgraph_node_for_identifier): Declare.
+       * cgraphunit.c (cgraph_finalize_function): Collect entry points here
+       instead of in cgraph_finalize_compilation_unit; constructors and
+       destructors are entry points.
+       (cgraph_finalize_compilation_unit): Reorganize debug outout; 
+       examine nested functions after lowerng; call collect_functions hook.
+       (cgraph_mark_local_functions): DECL_COMDAT functions are not local.
+       (cgraph_finalize_compilation_unit): Do not collect entry points.
+       * varasm.c: Include cgraph.h
+       (assemble_name): Mark referenced identifier as needed.
+
+       * cgraphunit.c (record_call_1): Use get_callee_fndecl.
+
+2003-06-23  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/i386/i386.c (x86_output_mi_thunk): Don't pass MEM to %P0,
+       just SYMBOL_REF.
+       * config/s390/s390.c (s390_output_mi_thunk): Avoid .plt in -m31
+       mode, as it requires pic register loaded.
+
+       * varasm.c (resolve_unique_section): Remove prototype.  No longer
+       static.
+       * tree.h (resolve_unique_section): New prototype.
+
+2003-06-23  Andreas Schwab  <schwab@suse.de>
+
+       PR debug/9905
+       * dwarf2out.c (loc_descriptor_from_tree): Handle MODIFY_EXPR by
+       recursing through first argument.
+
+2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * ChangeLog.1: Fix a typo.
+       * cfgrtl.c: Fix comment typos.
+       * dwarf2out.c: Likewise.
+       * expmed.c: Likewise.
+       * genrecog.c: Likewise.
+       * jump.c: Likewise.
+       * rtlanal.c: Likewise.
+       * ssa-dce.c: Likewise.
+       * toplev.c: Likewise.
+
+2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * doc/extend.texi: Fix typos.
+       * doc/md.texi: Likewise.
+       * doc/tm.texi: Likewise.
+
+2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * basic-block.h: Fix comment formatting.
+       * bt-load.c: Likewise.
+       * builtins.c: Likewise.
+       * c-common.c: Likewise.
+       * c-common.h: Likewise.
+       * c-format.c: Likewise.
+       * coverage.c: Likewise.
+       * cpplib.h: Likewise.
+       * cpppch.c: Likewise.
+       * dbxout.c: Likewise.
+       * diagnostic.c: Likewise.
+       * dwarf2out.c: Likewise.
+       * expr.c: Likewise.
+       * fold-const.c: Likewise.
+       * function.c: Likewise.
+       * gcc.c: Likewise.
+       * gcov-io.c: Likewise.
+       * gcov-io.h: Likewise.
+       * gcov.c: Likewise.
+       * profile.c: Likewise.
+       * real.h: Likewise.
+       * sched-deps.c: Likewise.
+
+2003-06-23  Roger Sayle  <roger@eyesopen.com>
+            Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
+
+       * doc/contrib.texi (Contributors): Add a note on testing and
+       remove duplicates from testers list.
+
+2003-06-23  Nick Clifton  <nickc@redhat.com>
+
+       * read-rtl.c (read_braced_string): Check for EOF.  If
+       encountered issue an error message.
+
+2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * doc/invoke.texi: Document dump options, dT and dW.
+
+2003-06-23  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * genrecog.c (pred_table): Remove the entry for
+       mode_independent_operand.
+       * recog.c (next_insns_test_no_inequality): Remove.
+       (mode_independent_operand): Likewise.
+       * recog.h: Remove the prototype for mode_independent_operand.
+
+2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.c (output_simode_bld): Use rotxl.l to
+       store into bit 0.
+       * config/h8300/h8300.md (*extzv_1_r_h8300hs): Change cc of the
+       second alternative to set_znv.
+       (*extzv_1_r_inv_h8300hs): Likewise.
+
+2003-06-23  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * configure.in (in_tree_gas): Find out here whether GAS is ELF,
+       set in_tree_gas_is_elf accordingly.
+       (in_tree_ld): Find out whether LD emulation is ELF, set
+       in_tree_ld_is_elf accordingly.
+       (gcc_cv_as_subsections, gcc_cv_as_hidden, gcc_cv_as_leb128)
+       (gcc_cv_as_eh_frame, gcc_cv_as_shf_merge)
+       (gcc_cv_as_dwarf2_debug_line, gcc_cv_as_gdwarf2_flag)
+       (gcc_cv_as_gstabs_flag): Use $in_tree_gas_is_elf instead of
+       grepping gas/Makefile.
+       (gcc_cv_ld_ro_rw_mix, gcc_cv_ld_eh_frame_hdr, gcc_cv_ld_pie): Use
+       $in_tree_ld_is_elf instead of grepping ld/Makefile.
+       * configure: Regenerate.
+
+2003-06-22  Roger Sayle  <roger@eyesopen.com>
+
+       * builtins.c (expand_builtin_mathfn_2): Use tree_cons to build
+       up the stabilized argument list, not build_tree_list.
+       (expand_builtin_strcpy): Construct new argument list manually
+       instead of using chainon to modify the original argument list.
+       (expand_builtin_stpcpy): Construct new argument list manually
+       instead of using copy_list and chainon.
+       (expand_builtin_sprintf): New function.  Optimize calls to
+       sprintf when the format is "%s" or doesn't contain a '%'.
+       (expand_builtin): Expand BUILT_IN_SPRINTF using the new function
+       expand_builtin_sprintf.
+
+2003-06-22  Andreas Schwab  <schwab@suse.de>
+
+       * function.c (set_insn_locators): Mark as unused.
+
+2003-06-22  Neil Booth  <neil@daikokuya.co.uk>
+
+       * common.opt: Add -finline-limit.
+       * opts.c (common_handle_options): Handle it.
+       * opts.sh: Temporary kludge for -finline-limit.
+       * toplev.c (decode_f_option, independent_decode_option): Die.
+       (parse_options_and_default_flags): No independent_decode_option.
+
+2003-06-22  Andreas Jaeger  <aj@suse.de>
+
+       * calls.c (emit_call_1): Readd lost ATTRIBUTE_UNUSED.
+
+2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * doc/invoke.texi: Document dumps, .btl, .cfg, and .bypass.
+
+2003-06-22  Andreas Schwab  <schwab@suse.de>
+
+       * doc/invoke.texi: Remove leading `-' from options in index.
+
+2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * bt-load.c: Follow spelling conventions.
+
+2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * expr.c (emit_move_insn_1): Fix a comment typo.
+
+2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * doc/invoke.texi: Alphabetize dump options.
+
+2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * doc/invoke.texi: Remove a duplicate -dk.
+
+2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * doc/invoke.texi: Update dump file names.
+
+2003-06-22  Zack Weinberg  <zack@codesourcery.com>
+
+       * config/i370/i370.c, config/i370/i370.h: Use HOST_CHARSET_ASCII
+       and HOST_CHARSET_EBCDIC, not HC_ASCII and HC_EBCDIC.
+
+2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * doc/rtl.texi: Fix the @findex for pre_modify.
+
+2003-06-22  Andreas Jaeger  <aj@suse.de>
+
+       * caller-save.c: Convert to ISO C90.
+       * calls.c: Likewise.
+       * cfg.c: Likewise.
+       * cfganal.c: Likewise.
+       * cfgbuild.c: Likewise.
+       * cfgcleanup.c: Likewise.
+       * cfghooks.c: Likewise.
+       * cfglayout.c: Likewise.
+       * cfglayout.h: Likewise.
+       * cfgloop.c: Likewise.
+       * cfgloop.h: Likewise.
+       * cfgloopanal.c: Likewise.
+       * cfgloopmainip.c: Likewise.
+       * cfgrtl.c: Likewise.
+
+2003-06-22  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm.h (BIGGEST_ALIGNMENT): Use TARGET_REALLY_IWMMXT for selecting
+       64-bit alignment.
+
+2003-06-22  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm.md (all call_value patterns): Remove register constraints on
+       value operand.
+
+2003-06-22  Neil Booth  <neil@daikokuya.co.uk>
+
+       * common.opt: More -f switches.
+       * opts.c (common_handle_options): Handle them.
+       * toplev.c (time_report): Make extern.
+       (f_options): USe flag_dummy.
+       (decode_f_option): No need to use f_options now.
+       * toplev.h (flag_cprop_registers, flag_ssa, flag_ssa_ccp,
+       flag_ssa_dce, time_report, flag_new_regalloc): Make extern.
+
+2003-06-22  Andreas Jaeger  <aj@suse.de>
+
+       * c-lex.c: Convert to ISO C90.
+       * c-objc-common.c: Likewise.
+       * c-opts.c: Likewise.
+       * c-pch.c: Likewise.
+       * c-ppoutput.c: Likewise.
+       * c-pragma.h: Likewise.
+       * c-pretty-print.c: Likewise.
+       * c-pretty-print.h: Likewise.
+       * c-semantics.c: Likewise.
+       * c-tree.h: Likewise.
+       * c-typeck.c: Likewise.
+
+       * c-lang.c: Convert to ISO C90.
+
+2003-06-22  Neil Booth  <neil@daikokuya.co.uk>
+
+       * opts.c (find_opt): Fix to always guarantee a find of a
+       switch with joined parameter.
+       * opts.h (struct cl_option): New member back_chain.
+       * opts.sh: Update to calculate and add back_chain member.
+
+2003-06-22  Gabriel Dos Reis <gdr@integrable-solutions.net>
+
+       * diagnostic.h (output_host_wide_integer): Declare.
+       * diagnostic.c (output_long_long_decicaml): New function.
+       (output_host_wide_integer): Likewise.
+       (output_format): Use them.  Handle "%ll" and "%w".
+
+2003-06-21  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * config.gcc (*-*-netbsd*): Add t-libgcc-pic to tmake_file.
+
+2003-06-21  Zack Weinberg  <zack@codesourcery.com>
+
+       * aclocal.m4 (gcc_AC_C_CHARSET): Delete.
+       * configure.in: Don't use gcc_AC_C_CHARSET.
+       * configure, config.in: Regenerate.
+       * config/i370/i370.c, config/i370/i370.h: Use
+       (HOST_CHARSET == HC_EBCDIC) or (HOST_CHARSET == HC_ASCII)
+       instead of HOST_EBCDIC or !HOST_EBCDIC.  Clarify comments a tad.
+
+2003-06-21  Neil Booth  <neil@daikokuya.co.uk>
+
+       * Makefile.in: Update.
+       * common.opt: New switches.
+       * opts.c: Include diagnostic.h.
+       (common_handle_option): Handle new switches.
+       * toplev.c (flag_loop_optimize, flag_crossjumping, flag_if_conversion,
+       flag_if_conversion2, flag_delete_null_pointer_checks,
+       flag_rerun_cse_after_loop): Make extern.
+       (flag_dummy): New.
+       (f_options): Update to use flag_dummy for moved options.
+       (decode_f_option): Some switches moved to opts.c.
+       * toplev.h (flag_loop_optimize, flag_crossjumping, flag_if_conversion,
+       flag_if_conversion2, flag_delete_null_pointer_checks,
+       flag_rerun_cse_after_loop, flag_keep_static_consts, flag_peel_loops,
+       flag_tracer, flag_thread_jumps, flag_unroll_loops,
+       flag_unroll_all_loops, flag_unswitch_loops): New.
+
+Sat Jun 21 13:41:00 CEST 2003  Jan Hubicka  <jh@suse.cz>
+
+       * i386.c (ix86_va_arg): Fix allocation of temporary slot.
+
+2003-06-20  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300-protos.h: Add a prototype for
+       same_cmp_preceding_p.
+       * config/h8300/h8300.c (same_cmp_preceding): New.
+       * config/h8300/h8300.md: Extend peephole2's that transform
+       compare:SI into shorter sequences so that they can deal with
+       signed comparisons.
+
+2003-06-21  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
+
+       * doc/contrib.texi (Contributors): Use Windows instead of Win32.
+
+       Update Andreas Jaeger's entry.
+
+       Merge the two entries of Kaveh Ghazi, David Edelsohn, and
+       Loren J. Rittle.
+
+2003-06-21  Nathanael Nerode  <neroden@gcc.gnu.org>
+
+       * mkconfig.sh: Add multiple inclusion guards to generated headers.
+
+2003-06-20  Neil Booth  <neil@daikokuya.co.uk>
+
+       * c-decl.c (store_parm_decls): Make saved_warn_shadow boolean.
+       * common.opt: Add remaining -W options and -g.
+       * diagnostic.c (warnings_are_errors): Remove.
+       * flags.h: Make most warning flags boolean.
+       * opts.c (common_handle_option): Handle remaining -W options, and -g.
+       Move many warning flags from toplev.c, making them boolean.
+       * toplev.c: Remove many warning flags.
+       (decode_W_option): Remove.
+       (decode_g_option): Make extern.  Error on unknown switch.
+       (lang_independent_W_options): Use warn_dummy.
+       (independent_decode_option): Just handle -f switches now.
+       * toplev.h (decode_g_option): New.
+
 2003-06-20  Aldy Hernandez  <aldyh@redhat.com>
-       
+
        PR/11092
        * config/rs6000/rs6000.h (LEGITIMATE_CONSTANT_P): Adjust for
        vectors.
        to ASM_OUTPUT_SOURCE_LINE.
 
 2003-06-20  Daniel Egger  <degger@fhm.edu>
-            Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
+           Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
 
        * doc/install.texi (Building): Correct and improve statement
        about parallel builds.