OSDN Git Service

2006-07-23 Steven Bosscher <steven@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 9e907dd..d52141a 100644 (file)
@@ -1,3 +1,267 @@
+2006-07-23  Steven Bosscher  <steven@gcc.gnu.org>
+
+       PR debug/25468
+       * config/elfos.h (ASM_OUTPUT_ASCII): Remove 'register' marks.
+       Cache the last found '\0' marker to avoid quadratic behavior.
+
+2006-07-23  Jan Hubicka  <jh@suse.cz>
+
+       * i386.md (subsi_3_zext): Fix output template.
+
+2006-07-21  Mike Stump  <mrs@apple.com>
+
+       * doc/invoke.texi (C++ Dialect Options): Note that
+       -fvisibility-inlines-hidden doesn't affect explicitly
+       instantiationed inline methods.
+
+2006-07-20  Roger Sayle  <roger@eyesopen.com>
+
+       * config.gcc (i[34567]86-*-solaris2*): Add usegas.h to $tm_file
+       if the target assembler is GNU binutils' gas.
+       * config/i386/sol2-10.h (ASM_SPEC): Check USE_GAS to determine
+       whether to pass GNU gas or native as command line options.
+
+2006-07-20  Jason Merrill  <jason@redhat.com>
+
+       * tree.c (remove_attribute): New fn.
+       * tree.h: Declare it.
+
+2006-07-20  Paul Brook  <paul@codesourcery.com>
+
+       PR 27363
+       * cse.c (cse_insn): Add destination addresses to hash table. Check if
+       they are invalidated by this instruction.
+
+2006-07-21  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       PR target/28427
+        * config/i386/cygming.h (MAX_OFILE_ALIGNMENT): Define.
+
+2006-07-20  Eric Christopher  <echristo@apple.com>
+
+       PR target/26877
+       * config/i386/i386.h (OPTION_DEFAULT_SPECS): Reorder.
+
+2006-07-19  Eric Christopher  <echristo@apple.com>
+
+       * config/t-slibgcc-darwin (stmp-lipo): Remove.
+       Rewrite dependencies for libgcc_s.1.dylib.
+
+2006-07-19  Jakub Jelinek  <jakub@redhat.com>
+
+       * except.c (duplicate_eh_regions_1): Clear next_peer.
+
+2006-07-17  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * doc/invoke.texi (RS/6000 and PowerPC Options): Document that
+       -mlongcall does not guarantee all calls will be long.
+       * doc/extend.texi (long_call/short_call): Document that longcall
+       does not guarantee a long call will be used.
+       (longcall/shortcall): Likewise.
+
+2006-07-18  Roger Sayle  <roger@eyesopen.com>
+
+       PR middle-end/28283
+       * expmed.c (expand_shift): Additionally check that the shift_cost
+       is not MAX_COST and that INTVAL(op1) is less than MAX_BITS_PER_WORD
+       before implementing a LSHIFT_EXPR as a sequence of additions.
+       * config/sh/sh.c (shift_costs): Return MAX_COST to inform the
+       middle-end that DImode shifts need to be synthesized by expand.
+
+2006-07-18  Diego Novillo  <dnovillo@redhat.com>
+
+       PR 28410
+       * tree-ssa-operands.c (access_can_touch_variable): Update
+       comment.
+       Return true if ALIAS is .GLOBAL_VAR.
+
+2006-07-18  David Daney  <ddaney@avtrex.com>
+
+       * gcc.c (display_help): Fix typo in help text.
+
+2006-07-18  Olivier Hainque  <hainque@adacore.com>
+
+       * tree.h (categorize_ctor_elements): Adjust prototype and add
+       descriptive comment, both in accordance with the interface change
+       described below.
+       * varasm.c (constructor_static_from_elts_p): New function.
+       Whether a constructor node is a valid static constant initializer
+       if all its elements are.
+       (initializer_constant_valid_p) <CONSTRUCTOR value>: Use it.
+       * output.h: Declare it.
+       * expr.c (categorize_ctor_elements_1): Return whether the constructor
+       is a valid constant initializer instead of computing the number of
+       non-constant elements.  Use constructor_static_from_elts_p for this
+       purpose.  Replace the head comment with an indication that this is a
+       helper for categorize_ctor_elements.
+       (categorize_ctor_elements): Same interface change as for the _1
+       helper.  Former head comment from this helper moved here, adjusted to
+       account for the interface changes.
+       (mostly_zeros_p): Adjust call to categorize_ctor_elements.
+       (all_zeros_p): Likewise.
+       * gimplify.c (gimplify_init_constructor): Decide whether we can make
+       static versions of the constructor from the categorize_ctor_elements
+       return value instead of the formerly computed number of non-constant
+       elements.
+
+2006-07-18  Paolo Bonzini  <bonzini@gnu.org>
+
+        * configure: Regenerate.
+        * Makefile.in (build_libsubdir): New configure substitution
+        (build_libobjdir): New variable.
+        (BUILD_LIBIBERTY): Use it.
+
+2006-07-18  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
+
+       PR c/28286
+       * c-pragma.c (handle_pragma_pack): Handle invalid constants.
+
+2006-07-18  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR c/26993
+       * c-common.c (handle_weakref_attribute): Ignore attribute in
+       the same conditions the alias attribute is ignored.
+
+2006-07-17  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * dbxout.c (dbxout_function_end): Do not increment scope_labelno.
+       (dbxout_begin_prologue): Increment scope_labelno.
+
+2006-07-17  Richard Henderson  <rth@redhat.com>
+
+       PR 27889
+       * tree-nested.c (create_tmp_var_for): Set DECL_COMPLEX_GIMPLE_REG_P
+       if needed.
+
+2006-07-17  Roger Sayle  <roger@eyesopen.com>
+           Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * config/i386/gmon-sol2.c: Silence compilation warnings by partially
+       synchronizing code with config/sparc/gmon-sol2.c.  Remove #if 0
+       blocks.  #include "tconfig.h" and "tsystem.h" to prototype system
+       functions such as sbrk, write, etc..  Add function prototypes.
+       Convert function declarations from K&R to ISO C.  Cast pointers
+       to "long" and "unsigned long" instead of "int" and "unsigned int".
+       Convert tokens following #endif into comments.
+
+2006-07-17  Toon Moene  <toon@moene.indiv.nluug.nl>
+
+       * invoke.texi: Remove mention of f77; Reformat table for
+       inline parameter options correctly; mention that -malign-double
+       is default on x86-64 targets.
+
+2006-07-17  Zdenek Dvorak <dvorakz@suse.cz>
+
+       * tree-chrec.c (avoid_arithmetics_in_type_p): New.
+       (convert_affine_scev, chrec_convert_aggressive): Use
+       avoid_arithmetics_in_type_p.  Do not check for the subtypes
+       separately.
+
+2006-07-17  Richard Sandiford  <richard@codesourcery.com>
+
+       PR middle-end/28403
+       * optabs.c (expand_doubleword_shift): Wrap the call to
+       do_compare_rtx_and_jump with NO_DEFER_POP and OK_DEFER_POP.
+
+2006-07-17  Richard Sandiford  <richard@codesourcery.com>
+
+       PR middle-end/28402
+       * optabs.c (expand_binop): Pass next_methods rather than methods
+       to expand_doubleword_shift.
+
+2006-07-17  J"orn Rennecke  <joern.rennecke@st.com>
+
+       PR other/28251
+       * tree.h (dump_addr): Declare.
+       * print-tree.c (dump_addr): New function.
+       (print_node_brief, print_node): Use it.
+       * print-rtl.c (print_rtx): Likewise.
+       * common.opt (-fdump-noaddr): New option.
+       * doc/invoke.texi (-fdump-noaddr): Document.
+       * loop-unroll.c (si_info_hash): Make hash independent of addresses.
+       (ve_info_hash): Likewise.
+
+2006-07-13  Andrew Haley  <aph@redhat.com>
+
+       PR tree-optimization/19505
+       * tree-cfgcleanup.c (tree_forwarder_block_p): If we have an EH
+       edge leaving this block, make sure that the destination of this
+       block has only one predecessor.
+
+2006-07-17  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/28238
+       * tree-inline.c (copy_bb): Check if we produced valid
+       gimple copying and substituting a stmt.  If not, gimplify
+       it.
+
+2006-07-16  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * optabs.c (maybe_encapsulate_block): New function extracted from...
+       (emit_libcall_block): ...here.  Invoke it on the block of insns to
+       maybe emit REG_LIBCALL/REG_RETVAL notes around the block.
+       (emit_no_conflict_block): Likewise.
+
+2006-07-16  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * doc/install.texi (sparc-sun-solaris2*): Add GMP version number.
+
+2006-07-15  Roger Sayle  <roger@eyesopen.com>
+
+       * tree-gimple.c (is_gimple_stmt): Sink test of IS_EMPTY_STMT into
+       a new NOP_EXPR case of the switch statement.
+
+2006-07-15  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       PR middle-end/28160
+       * stor-layout.c (place_field): Take the bit field with
+       an excessive size into account in the ms-bitfiled case.
+
+       PR middle-end/28161
+       * stor-layout.c (place_field): Use DECL_BIT_FIELD_TYPE of
+       the previous bit field.
+
+2006-07-14  Eliot Dresselhaus  <eliot@sonic.net>
+
+       PR target/27287
+       * config/rs6000/spe.md (frob_di_df_2): Add m->r alternative.
+
+2006-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/linux-unwind.h (s390_fallback_frame_state): Detect
+       signal frames correctly even when the signal was installed with
+       sa_restorer set.
+
+2006-07-14  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * dbxout.c (dbxout_begin_prologue): Emit LFBB label at function start.
+       (dbxout_function_end): Use local label LFBB. Remove hook
+       DBX_OUTPUT_NFUN.
+       (dbxout_source_line): Use local label LFBB.
+       (dbxout_block): Likewise.
+       (dbx_output_lbrac): Remove hook DBX_OUTPUT_LBRAC.
+       (dbx_output_rbrac): Remove hook DBX_OUTPUT_RBRAC.
+       * config/rs6000/linux64.h: Remove DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC,
+       and DBX_OUTPUT_NFUN.
+
+2006-07-13  Janis Johnson  <janis187@us.ibm.com>
+
+       * doc/sourcebuild.texi (Test Directives): Document dg-shouldfail.
+
+2006-07-13  Jan Hubicka  <jh@suse.cz>
+
+       * cgraphunit.c (cgraph_varpool_analyze_pending_decls): Call
+       align_variable.
+       * output.h (align_variable): Declare.
+       * varasm.c (align_variable): Export.
+       * value-prof.c (tree_value_profile_transformations): Recompute iterator
+       when basic block changed.
+
+2006-07-13  Nick Clifton  <nickc@redhat.com>
+
+       * config/sh/sh.c (sh_reorg): Ignore deleted insns whilst
+       walking the LOG_LINKS chain.
+
 2006-07-12  Geoffrey Keating  <geoffk@apple.com>
 
        * doc/invoke.texi (C++ Dialect Options): Explain difference
 
 2006-07-12  Mike Stump  <mrs@apple.com>
 
-       PR c/28280
-       * c-parser.c (c_parser_typeof_specifier): Don't use
-       c_finish_expr_stmt, open code desired semantics instead.
-
        * protoize.c (edit_fn_definition): Add volatile to clean_text_p.
 
 2006-07-10  Eric Christopher  <echristo@apple.com>