OSDN Git Service

2004-02-05 Kelley Cook <kcook@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index fedcaad..5377d7c 100644 (file)
@@ -1,3 +1,390 @@
+2004-02-05  Kelley Cook  <kcook@gcc.gnu.org>
+
+       PR/13485
+       Makefile.in (srcextra):  Add a level of indirection to ...
+       (gcc.srcextra): ... here.
+       (po-generated): Delete.
+       (po/$(PACKAGE).pot: Use srcextra instead of po-generated.  Depend on
+       options.c.
+       (start.encap): Remove superfluous lang.srcextra dependency.
+       objc/Make-lang.in (po-generated):  Delete.
+
+2004-02-05  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/ia64/ia64.c (REG_GP): Remove.
+
+2004-02-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * config/mips/iris5gas.h (PREFERRED_DEBUGGING_TYPE): Define.
+
+2004-02-05  Devang Patel  <dpatel@apple.com>
+
+       * dwarf2out.c (force_type_die): Look up input type itself
+       instead of root_type() of type.
+       
+2004-02-05  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * config/s390/s390.md ("*tmqidi_ext"): New insn.
+       ("*extendqidi2_short_displ", "*extendsiqi2_short_displ"): Old
+       pre-reload splitters are transformed to post-reload
+       define_insn_and_split patterns.
+       ("*tmqisi_ext"): Renamed old "*tmqi_ext".
+
+2004-02-05  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/cris/cris.h: Replace PROMOTE_PROTOTYPES with
+       TARGET_PROMOTE_PROTOTYPES.
+
+2004-02-05  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       PR middle-end/13750
+       Revert:
+       2004-01-15  Geoffrey Keating  <geoffk@apple.com>
+       PR pch/13361
+       * c-typeck.c (constructor_asmspec): Delete.
+       (struct initializer_stack): Delete field 'asmspec'.
+       (start_init): Delete saving of asmspec.
+       (finish_init): Don't update constructor_asmspec.
+       * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree.
+       * stmt.c (expand_asm): Duplicate strings from tree.
+       (expand_asm_operands): Likewise.
+       * tree.c (tree_size): Update computation of size of STRING_CST.
+       (make_node): Don't make STRING_CST nodes.
+       (build_string): Allocate string with tree node.
+       * tree.def (STRING_CST): Update comment.
+       * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST.
+       (tree_string): Place contents of string in tree node.
+       * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string
+       from tree.
+
+2004-02-05  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * diagnostic.h (DEFINE_DIAGNOSTIC_KIND): Change parameter M to
+       msgid.
+
+2004-02-05  Dorit Naishlos  <dorit@il.ibm.com>
+
+       * config/rs6000/altivec.md (*movv4si_internal): At least one
+       operand must be altivec_register_operand.
+       (*movv8hi_internal1): Likewise.
+       (*movv16qi_internal1): Likewise.
+       (*movv4sf_internal1): Likewise.
+
+2004-02-05  David Edelsohn  <edelsohn@gnu.org>
+
+       * configure.ac (gcc_cv_as_powerpc_mfcrf): Correct test for mfcr.
+       * configure: Regenerate.
+
+2004-02-05  Jonathan Wakely  <redi@gcc.gnu.org>
+
+       * doc/install.texi: Update description of --gxx-include-dir to
+       give correct default value.
+
+2004-02-05  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.h (REG_OK_FOR_BASE_NONSTRICT_P): Replace
+       8 with MAC_REG.
+
+2004-02-05  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/pa/pa.c (emit_hpdiv_const): Replace gen_rtx with
+       gen_rtx_PARALLEL.
+
+2004-02-05  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * emit-rtl.c: Update the comment about the file.
+
+2004-02-05  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * sourcebuild.texi (Test Idioms): Update testcase naming
+       conventions.
+
+2004-02-04  Per Bothner  <per@bothner.com>
+
+       Partially revert/redo 2003-10-01 change; fix -fworking-directory.
+       * c-ppoutput.c (pp_dir_change):  New function.
+       * c-common.h (pp_dir_change):  New declaration.
+       * cpplib.h (struct cpp_options):  Remove working_directory field.
+       * cppinit.c (cpp_find_main_file, cpp_push_main_file):  Merge back to
+       (cpp_read_main_file):  as before 10-01.  Call _cpp_stack_file.
+       Don't handle -fworking_directory here, but in c_common_post_options.
+       (read_original_directory): Don't back up when done.
+       Don't clear no-longer used working_directory flag.
+       * cpplib.h:  Update declarations to match.
+       * c-lex.c (cb_dir_change):  Move to c-opts.c.
+       (init_c_lex):  Don't set dir_change callback here, since we want
+       to set it even if flag_preprocess_only.
+       * c-opts.c (cb_dir_change):  Function moved from c-lex.c.
+       (c_common_post_options):  Set dir_change callback.
+       Call pp_dir_change if approporiate.
+       (finish_options):  Don't call cpp_find_main_file here.  Hence remove
+       unneeded parameter and result. Do LC_RENAME for <built-in>.
+       (c_common_post_options):  Call cpp_read_main_file here instead.
+       (c_common_init):  Update accordingly.
+       (push_command_line_include):  Don't cpp_push_main_file.
+       Do LC_RENAME rather than LC_LEASE to get back to main file.
+       Compared to pre-10-01 version, inline cpp_rename_to_main_file.
+       (c_common_parse_file):  Call cpp_read_main_file for subsequent main
+       files, but call finish_options for all files.
+       * c-opts.c (sanitize_cpp_opts):  Don't set cpp_opts->working_directory.
+       * fix-header.c (read_scan_file):  Call cpp_read_main_file instead of
+       cpp_find_main_file + cpp_push_main_file.
+       * c-lex.c (fe_file_change):  Don't set main_input_filename here.
+       * opts.c (handle_options):  Only set main_input_filename first time.
+
+2004-02-05  Ian Lance Taylor  <ian@wasabisystems.com>
+
+       * config/arm/arm.h (REG_CLASS_NAMES): Add missing comma.
+
+2004-02-04  Geoffrey Keating  <geoffk@apple.com>
+
+       * reload.c (find_equiv_reg): When checking for register overlap,
+       don't index hard_regno_nregs with a pseudo-reg.
+
+2004-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390.c (s390_trampoline_template): Remove gen_rtx().
+
+2004-02-04  David Edelsohn  <edelsohn@gnu.org>
+
+       * reload.c (refers_to_regno_for_reload_p): Test regno, not inner_regno,
+       against FIRST_PSEUDO_REGISTER.
+
+2004-02-04  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * Makefile.in: Move target, host overrides after per-language
+       fragments.
+
+       * config/mips/t-iris5-as (FORCE_DEBUG_ADAFLAGS): Clear.
+       (GNATLIBCFLAGS): Remove -g.
+
+2004-02-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/alpha/alpha.c, config/arc/arc.c, config/avr/avr.c,
+       config/i386/i386.c, config/i386/i386.h, config/i386/i386.md,
+       config/ia64/ia64.c, config/ia64/unwind-ia64.c,
+       config/m32r/m32r.c, config/ns32k/ns32k.c, config/pa/pa.c,
+       config/pdp11/pdp11.c, config/rs6000/rs6000.c,
+       config/sparc/sparc.c, config/vax/vax.c: Revert the
+       replacements of "FALLTHRU" with "Fall through" done in the
+       previous patch.
+
+2004-02-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/darwin.c, config/darwin.h, config/freebsd-spec.h,
+       config/arm/arm.c, config/arm/arm.md,
+       config/cris/cris-protos.h, config/fr30/fr30.c,
+       config/fr30/fr30.h, config/h8300/h8300.c, config/i386/i386.h,
+       config/i860/i860.c, config/i860/i860.h, config/ia64/ia64-c.c,
+       config/ia64/ia64.c, config/ia64/ia64.h, config/ip2k/ip2k.h,
+       config/ip2k/ip2k.md, config/ip2k/libgcc.S,
+       config/m32r/linux.h, config/m32r/m32r.c, config/m32r/m32r.h,
+       config/m68k/m68k.c, config/m68k/netbsd-elf.h,
+       config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.md,
+       config/ns32k/netbsd.h, config/ns32k/ns32k.c,
+       config/ns32k/ns32k.h, config/pdp11/pdp11.h,
+       config/rs6000/darwin-ldouble.c, config/s390/s390.h,
+       config/s390/s390.md, config/sparc/netbsd-elf.h,
+       config/sparc/openbsd.h, config/sparc/sparc.c,
+       config/xtensa/lib2funcs.S: Fix comment formatting.
+
+2004-02-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/alpha/alpha.c, config/arc/arc.c,
+       config/arm/arm-cores.def, config/arm/arm.c, config/arm/arm.h,
+       config/arm/arm1026ejs.md, config/arm/arm1136jfs.md,
+       config/arm/arm926ejs.md, config/arm/vfp.md, config/avr/avr.c,
+       config/c4x/c4x.c, config/cris/cris.c, config/frv/frv.md,
+       config/i386/i386.c, config/i386/i386.h, config/i386/i386.md,
+       config/ia64/ia64.c, config/ia64/unwind-ia64.c,
+       config/iq2000/iq2000.c, config/m32r/m32r.c,
+       config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h,
+       config/ns32k/ns32k.c, config/pa/pa.c, config/pdp11/pdp11.c,
+       config/rs6000/darwin-ldouble.c, config/rs6000/rs6000.c,
+       config/rs6000/rs6000.h, config/sparc/sparc.c,
+       config/vax/vax.c: Fix comment typos.  Follow spelling
+       conventions.
+
+2004-02-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * alloc-pool.h, c-convert.c, c-lang.c, c-tree.h,
+       caller-save.c, df.h, genconfig.c, global.c, lcm.c,
+       ra-rewrite.c, ra.c, regclass.c, regs.h, resource.c,
+       sched-rgn.c, config/arm/aof.h, config/arm/cirrus.md,
+       config/arm/fpa.md, config/arm/iwmmxt.md,
+       config/arm/netbsd-elf.h, config/arm/netbsd.h,
+       config/m68hc11/m68hc11.md, config/mips/iris5.h,
+       config/mn10300/mn10300.md, config/rs6000/altivec.md,
+       config/sparc/netbsd-elf.h: Update copyright.
+
+2004-02-04  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * config/sparc/sparc.c (function_arg_pass_by_reference): Return 1
+       for all modes whose size is greater than 8 bytes if ARCH32.
+       (sparc_va_arg): Handle all modes whose size is greater than 8 bytes
+       by reference if ARCH32.
+
+2004-02-04  Aldy Hernandez  <aldyh@redhat.com>
+        * cgraphunit.c (cgraph_postorder): Fix typo in comment.
+
+2004-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390.md ("*la_64" + peepholes, "reload_indi"): Move
+       to before adddi3 insn patterns.
+       ("*la_31" + peepholes, "*la_31_and", "*la_31_and_cc", "force_la_31",
+       "reload_insi"): Move to before addsi3 insn patterns.
+
+2004-02-04  Mark Mitchell  <mark@codesourcery.com>
+
+       * calls.c (initialize_argument_information): Add CALL_FROM_THUNK_P
+       parameter.  Use it instead of current_function_is_thunk.
+       * function.h (struct function): Update documentation for is_thunk.
+       * tree.h (CALL_FROM_THUNK_P): New macro.
+       * config/alpha/alpha.c (alpha_sa_mask): Do not check
+       no_new_pseudos when testing current_function_is_thunk.
+       * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Likeiwse.
+
+2004-02-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * doc/tm.texi: Replace SETUP_INCOMING_VARARGS with
+       TARGET_SETUP_INCOMING_VARARGS.
+
+2004-02-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * emit-rtl.c (gen_rtx): Remove.
+       * genattrtab.c: Don't mention gen_rtx in a comment.
+       * rtl.h: Remove the prototype for gen_rtx.
+       * doc/md.texi: Replace gen_rtx with gen_rtx_REG.
+
+2004-02-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/arc/arc.h, config/fr30/fr30.h
+       (SETUP_INCOMING_VARARGS): Remove the target-independent
+       comments.
+       * doc/tm.texi: Don't mention deprecated target macros.
+
+2004-02-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/fr30/fr30.h (FUNCTION_VALUE): Remove the
+       target-independent comment.
+
+2004-02-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * doc/interface.texi, doc/tm.texi, doc/trouble.texi: Don't
+       mention deprecated target macros.
+
+2004-02-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config.gcc: Remove obsolete ports and configurations.
+       * config/linux-aout.h, config/netware.h,
+       config/t-linux-gnulibc1, config/d30v/abi,
+       config/d30v/d30v-protos.h, config/d30v/d30v.c,
+       config/d30v/d30v.h, config/d30v/d30v.md,
+       config/d30v/libgcc1.asm, config/d30v/t-d30v,
+       config/dsp16xx/dsp16xx-modes.def,
+       config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
+       config/dsp16xx/dsp16xx.h, config/dsp16xx/dsp16xx.md,
+       config/i370/README, config/i370/i370-c.c,
+       config/i370/i370-protos.h, config/i370/i370.c,
+       config/i370/i370.h, config/i370/i370.md, config/i370/linux.h,
+       config/i370/mvs.h, config/i370/oe.h, config/i370/t-i370,
+       config/i386/freebsd-aout.h, config/i386/linux-aout.h,
+       config/i386/moss.h, config/i386/netware.h,
+       config/i386/svr3.ifile, config/i386/svr3dbx.h,
+       config/i386/svr3gas.h, config/i386/svr3z.ifile,
+       config/i386/t-udk, config/i386/udk.h, config/i386/vsta.h,
+       config/i960/i960-c.c, config/i960/i960-coff.h,
+       config/i960/i960-modes.def, config/i960/i960-protos.h,
+       config/i960/i960.c, config/i960/i960.h, config/i960/i960.md,
+       config/i960/rtems.h, config/i960/t-960bare,
+       config/m68k/hp310.h, config/m68k/hp320.h,
+       config/m68k/hp320base.h, config/m68k/m68kv4.h,
+       config/m68k/netbsd.h, config/m68k/sgs.h, config/m68k/t-hp320:
+       Remove.
+       * doc/extend.texi, doc/install.texi, doc/invoke.texi,
+       doc/md.texi: Remove mentions of obsolete ports.
+
+2004-02-04  Jan Hubicka  <jh@suse.cz>
+
+       * alias.c (find_base_term, get_addr):  Do not dereference NULL
+       pointer when all VALUE's locations has been invalidated.
+       (rtx_equal_for_memref_p): Simplify checking of VALUEs.
+
+2004-02-03  Wolfgang Bangerth  <bangerth@dealii.org> 
+
+       * doc/invoke.texi (x86 options): Fix spelling/wording.
+
+2004-02-03  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/iris5.h (ASM_OUTPUT_ASCII): Use mips_output_ascii to
+       put the original string in a comment.
+       * config/mips/mips-protos.h (mips_output_ascii): Add prefix argument.
+       * config/mips/mips.c (mips_output_ascii): Likewise.
+       * config/mips/mips.h (ASM_OUTPUT_ASCII): Adjust accordingly.
+
+2004-02-03  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * system.h (GIV_SORT_CRITERION): Poison.
+       * config/avr/avr.h (GIV_SORT_CRITERION): Remove.
+       * config/ip2k/ip2k.h (GIV_SORT_CRITERION): Likewise.
+
+2004-02-03  Roger Sayle  <roger@eyesopen.com>
+
+       PR target/9348
+       * expr.c (expand_expr_real) <MULT_EXPR>:  When performing widening
+       multiplies with a multiplication of the wrong signedness, its the
+       signedness of the multiplication that we've performed that needs to
+       be passed to expand_mult_highpart_adjust.  Avoid emitting a nop-move
+       if expand_mult_highpart_adjust places the result in target.
+
+2004-02-03  Richard Henderson  <rth@redhat.com>
+
+       * varasm.c (const_desc_rtx_sym_eq): Compare symbol strings.
+
+2004-02-03  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * config.gcc (sh[234]l): Use little endian fragments.
+
+2004-02-03  Paul Koning  <pkoning@equallogic.com>
+
+       * config/pdp11/pdp11-modes.def: Add RESET_FLOAT_FORMAT calls.
+       * config/pdp11/pdp11-protos.h (legitimate_const_double_p): Add.
+       * config/pdp11/pdp11.c (encode_pdp11_f, decode_pdp11_f,
+       encode_pdp11_d, decode_pdp11_d): New functions to handle PDP11
+       floating point format.
+       (pdp11_f_format, pdp11_d_format): New real_format descriptors for
+       the above functions.
+       (output_move_quad): Output float values in correct target format.
+       (legitimate_const_double_p): New function.
+       * config/pdp11/pdp11.h: Fix typos.
+       (FLOAT_WORDS_BIG_ENDIAN): Add definition.
+       (TARGET_FLOAT_FORMAT): Ditto.
+       (pdp11_f_format, pdp11_d_format): Add external declarations.
+       (MAX_REGS_PER_ADDRESS): Corrected.
+       (LEGITIMATE_CONSTANT_P): Use legitimate_const_double_p().
+       (PRINT_OPERAND): Output float literals in target format.
+
+2004-02-03  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/13975
+       * tree.h (enum tree_index): Add TI_PUBLIC, TI_PROTECTED, and
+       TI_PRIVATE.
+       (access_public_node): Redefine.
+       (access_protected_node): Likewise.
+       (access_private_node): Likewise.
+       * tree.c (build_common_tree_nodes): Create access_public_node,
+       access_protected_node, and access_private_node.
+
+2004-02-03  Steve Ellcey  <sje@cup.hp.com>
+
+       * config/ia64/ia64.h (MASK_INLINE_INT_DIV_LAT): Change value.
+       (MASK_INLINE_INT_DIV_THR): Ditto.
+       (MASK_INLINE_SQRT_LAT): Ditto.
+       (MASK_INLINE_SQRT_THR): Ditto.
+       (MASK_DWARF2_ASM): Ditto.
+       (MASK_EARLY_STOP_BITS): Ditto.
+
 2004-02-02  Paul Brook  <paul@codesourcery.com>
 
        Merge from csl-arm-branch.