OSDN Git Service

* collect2.c (main): Handle --no-demangle and --demangle flags.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index b7c5f69..67fcce1 100644 (file)
@@ -1,3 +1,179 @@
+2004-07-13  Per Bothner  <per@bothner.com>
+
+       * collect2.c (main):  Handle --no-demangle and --demangle flags.
+
+2004-07-13  Sebastian Pop  <pop@cri.ensmp.fr>
+
+       * Makefile.in (OBJS-common): Add tree-data-ref.o.
+       (tree-scalar-evolution.o): Add missing dependences on tree-pass.h flags.h.
+       (tree-data-ref.o): New rule.
+       * lambda.h: New file.
+       * tree-data-ref.c: New file.
+       * tree-data-ref.h: New file.
+       * tree.c (int_cst_value, tree_fold_gcd): New functions.
+       * tree.h (int_cst_value, tree_fold_gcd): Declared here.
+       
+2004-07-13  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR target/13926
+       * config/sparc/sparc-protos.h (output_ubranch): New prototype.
+       * config/sparc/sparc.c (output_ubranch): New function.
+       * config/sparc/sparc.md (jump pattern): Use it.
+
+2004-07-13  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR target/16494
+       * config/sparc/sparc.c (output_cbranch): Properly guard
+       the code handling far branches with TARGET_V9.
+       * config/sparc/sparc.md (length attribute): Document the
+       side-effect of having a length greater or equal to 3.
+
+2004-07-13  Eric Botcazou  <ebotcazou@libertysurf.fr>
+            Lloyd Parkes  <lloyd@must-have-coffee.gen.nz>
+
+       PR target/15186
+       * config/sparc/sol2-bi.h (LINK_ARCH64_SPEC_BASE): Pass
+       /usr/ucblib/sparcv9 as -R path when -compat-bsd is specified.
+
+2004-07-13  Eric Botcazou  <ebotcazou@libertysurf.fr>
+            Martin Sebor  <sebor@roguewave.com>
+
+       PR target/12602
+       * doc/invoke.texi (SPARC options): Document -threads
+       and -pthreads on Solaris.
+
+2004-07-13  Richard Henderson  <rth@redhat.com>
+
+       * builtins.c (std_gimplify_va_arg_expr): Handle types passed
+       by reference.
+       (ind_gimplify_va_arg_expr): Remove.
+       * tree.h (ind_gimplify_va_arg_expr): Remove.
+       * config/pa/pa.c (hppa_gimplify_va_arg_expr): Don't use it.
+       * config/mmix/mmix.c (mmix_function_arg_pass_by_reference): Allow
+       argsp to be null.
+
+       * config/arc/arc.c (arc_gimplify_va_arg_expr): Remove.
+       (TARGET_GIMPLIFY_VA_ARG_EXPR): Remove.
+       * config/cris/cris.c, config/fr30/fr30.c, config/frv/frv.c,
+       config/iq2000/iq2000.c, config/m32r/m32r.c, config/mmix/mmix.c,
+       config/mn10300/mn10300.c, config/v850/v850.c: Similarly.
+
+2004-07-13  Richard Henderson  <rth@redhat.com>
+
+       * function.c (pass_by_reference): New.
+       (assign_parm_find_data_types): Use it.
+       * calls.c (initialize_argument_information): Likewise.
+       (emit_library_call_value_1): Likewise.
+       * expr.h (FUNCTION_ARG_PASS_BY_REFERENCE): Remove.
+       * function.h (pass_by_reference): Declare.
+
+2004-07-13  Richard Henderson  <rth@redhat.com>
+
+       * target-def.h (TARGET_MUST_PASS_IN_STACK): New.
+       * target.h (struct gcc_target): Add calls.must_pass_in_stack.
+       * expr.h (MUST_PASS_IN_STACK): Remove.
+       * system.h (MUST_PASS_IN_STACK): Poison.
+       * tree.h (must_pass_in_stack_var_size): Declare.
+       (must_pass_in_stack_var_size_or_pad): Declare.
+       * calls.c (must_pass_in_stack_var_size): New.
+       (must_pass_in_stack_var_size_or_pad): Rename from 
+       default_must_pass_in_stack.
+       * config/alpha/alpha.c (unicosmk_must_pass_in_stack): New.
+       (TARGET_MUST_PASS_IN_STACK): New.
+       * config/alpha/unicosmk.h (MUST_PASS_IN_STACK): Remove.
+       * config/fr30/fr30.c (fr30_must_pass_in_stack): New.
+       (TARGET_MUST_PASS_IN_STACK): New.
+       * config/fr30/fr30.h (MUST_PASS_IN_STACK): Remove.
+       * config/frv/frv.c (frv_must_pass_in_stack): New.
+       (TARGET_MUST_PASS_IN_STACK): New.
+       * config/frv/frv.h (MUST_PASS_IN_STACK): Remove.
+       * config/i386/i386-protos.h (ix86_must_pass_in_stack): Remove.
+       * config/i386/i386.c (TARGET_MUST_PASS_IN_STACK): New.
+       (ix86_must_pass_in_stack): Make static.
+       * config/i386/i386.h (MUST_PASS_IN_STACK): Remove.
+       * config/ia64/ia64.c (TARGET_MUST_PASS_IN_STACK): New.
+       * config/ia64/ia64.h (MUST_PASS_IN_STACK): Remove.
+       * config/m32r/m32r.c (TARGET_MUST_PASS_IN_STACK): New.
+       * config/m32r/m32r.h (MUST_PASS_IN_STACK): Remove.
+       * config/mcore/mcore-protos.h (mcore_must_pass_on_stack): Remove.
+       * config/mcore/mcore.c (TARGET_MUST_PASS_IN_STACK): New.
+       (mcore_must_pass_on_stack): Remove.
+       * config/mcore/mcore.h (MUST_PASS_IN_STACK): Remove.
+       * config/mips/mips.c (TARGET_MUST_PASS_IN_STACK): New.
+       * config/mips/mips.h (MUST_PASS_IN_STACK): Remove.
+       * config/pa/pa.c (TARGET_MUST_PASS_IN_STACK): New.
+       * config/pa/pa.h (MUST_PASS_IN_STACK): Remove.
+       * config/rs6000/aix.h (MUST_PASS_IN_STACK): Remove.
+       * config/rs6000/linux64.h (MUST_PASS_IN_STACK): Remove.
+       * config/rs6000/rs6000.c (rs6000_must_pass_in_stack): New.
+       (TARGET_MUST_PASS_IN_STACK): New.
+       * config/sh/sh.c (TARGET_MUST_PASS_IN_STACK): New.
+       * config/sh/sh.h (MUST_PASS_IN_STACK): Remove.
+       * config/sparc/sparc.c (TARGET_MUST_PASS_IN_STACK): New.
+       * config/sparc/sparc.h (MUST_PASS_IN_STACK): Remove.
+       * config/xtensa/xtensa.c (TARGET_MUST_PASS_IN_STACK): New.
+       * config/xtensa/xtensa.h (MUST_PASS_IN_STACK): Remove.
+       * doc/tm.texi (TARGET_MUST_PASS_IN_STACK): Update from
+       MUST_PASS_IN_STACK.
+
+       * calls.c, function.c, config/alpha/alpha.c, config/alpha/alpha.h,
+       config/alpha/unicosmk.h, config/alpha/vms.h, config/c4x/c4x.c,
+       config/cris/cris.h, config/fr30/fr30.c, config/fr30/fr30.h,
+       config/frv/frv.c, config/i386/i386.c, config/iq2000/iq2000.c,
+       config/mcore/mcore.c, config/mcore/mcore.h, config/mips/mips.c,
+       config/mmix/mmix.c, config/mmix/mmix.h, config/rs6000/rs6000.c,
+       config/sh/sh.c, config/sh/sh.h, config/stormy16/stormy16.c,
+       config/xtensa/xtensa.c: Use target hook.
+
+2004-07-13  Anthony Heading  <aheading@jpmorgan.com>
+
+       * configure.ac (gcc_cv_as_offsetable_lo10: Fix a typo.
+       * configure: Rebuilt.
+
+2004-07-13  Richard Sandiford  <rsandifo@redhat.com>
+
+       * doc/invoke.texi: Remove documentation for MIPS -mrnames option.
+       * config/mips/mips.h (mips_reg_names): Don't declare.
+       (MASK_NAME_REGS): Delete.  Shuffle other MASK_* values down.
+       (TARGET_NAME_REGS): Delete.
+       (TARGET_SWITCHES): Remove -mrnames.
+       (REGISTER_NAMES): Initialise with the old contents of mips_reg_names[].
+       (ADDITIONAL_REGISTER_NAMES): Remove entries for names mentioned
+       in REGISTER_NAMES.
+       * config/mips/mips.c (mips_reg_names, mips_sw_reg_names): Delete.
+       (override_options): Remove handling of TARGET_NAME_REGS.
+
+2004-07-13  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips.h (TARGET_*): Boolify.
+
+2004-07-12  Nick Clifton  <nickc@redhat.com>
+
+       * config.gcc: Add sh-*-symbianelf target.
+       * config/sh/sh.c: Add new target macros:
+       TARGET_ENCODE_SECTION_INFO, TARGET_STRIP_NAME_ENCODING,
+       TARGET_CXX_IMPORT_EXPORT_CLASS.
+       (sh_file_start): Create a definition of the .directive section.
+       (sh_attribute): Add dllimport and dllexport attributes.
+       * config/sh/symbian-pre.h: New file.
+       * config/sh/symbian-post.h: New file.
+       * config/sh/symbian.c: New file. Contains Symbian specific
+       functions.
+       * config/sh/sh-protos.h: Add prototypes for new functions
+       provided by symbian.c.
+       * config/sh/t-symbian: New file.
+       * doc/extend.texi: Document support for dllimport and dllexport
+       attributes by the sh-symbianelf target.
+
+2004-07-12  James E Wilson  <wilson@specifixinc.com>
+
+       * Makefile.in (AR): Use @AR@ not ar.
+       (NM): New.
+       (AR_FOR_TARGET): Use $(AR) not ar for native.
+       (NM_FOR_TARGET): Use $(NM) not nm for native.
+       * configure.ac: Add AC_CHECK_PROG calls for NM and AR.
+       * configure: Regenerate.
+       
 2004-07-12  David S. Miller  <davem@nuts.davemloft.net>
 
        * config/sparc/sparc.md (ashlsi3): Eliminate const 1