OSDN Git Service

2006-07-18 Paolo Bonzini <bonzini@gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 93de949..5cc02be 100644 (file)
@@ -1,3 +1,346 @@
+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
+       between -fvisibility-inlines-hidden and setting hidden
+       visibility explicitly.
+
+2006-07-12  Eric Christopher  <echristo@apple.com>
+
+       * config/t-slibgcc-darwin (SHLIB_LINK): Don't munge stmp-lipo.
+       (stmp-lipo): Depend on libgcc.a.
+
+2006-07-12  Kazu Hirata  <kazu@codesourcery.com>
+
+       * tree.c: Fix a comment typo.
+
+2006-07-12  Naveen.H.S  <naveenh@kpitcummins.com>
+
+       * config/m32c/muldiv.md (umulhisi3_c): Use only registers for
+       dest.
+       (umulhisi3_r): Likewise.
+
+2006-07-12  Paolo Carlini  <pcarlini@suse.de>
+
+       PR libstdc++/27878
+       * doc/install.texi (mips-sgi-irix6): Add note about IRIX 6.5.x,
+       x < 19, vs wchar_t support.
+
+2006-07-12  Nick Clifton  <nickc@redhat.com>
+
+       * config/sh/sh.h (SUBTARGET_ASM_RELAX_SPEC): Use -isa=sh4-up
+       instead of -isa=sh4.
+
+2006-07-12  Mike Stump  <mrs@apple.com>
+
+       * protoize.c (edit_fn_definition): Add volatile to clean_text_p.
+
+2006-07-10  Eric Christopher  <echristo@apple.com>
+
+       * config/t-slibgcc-darwin: Rewrite.
+
+2006-07-10  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
+
+       PR bootstrap/20437
+       * Makefile.in (configure): add missing aclocal.m4 and acinclude.m4
+       dependencies.
+
+2006-07-08  Matthias Klose  <doko@debian.org>
+
+       * doc/sourcebuild.texi: Fix typo.
+
+2006-07-07  Mike Stump  <mrs@apple.com>
+
+       * toplev.c (process_options): Don't give -ffunction-sections may
+       affect debugging warning for Mach-O.
+
+2006-07-07  James E Wilson  <wilson@specifix.com>
+
+       * config/mips/mips.md (cpu): Add sb1a.
+       * config/mips/sb1.md: Modify almost all patterns to accept sb1a in
+       addition to sb1.  Adjust comments to clarify SB-1A differences from
+       SB-1.
+       (ir_sb1a_load): New.  Modify bypasses to use it.
+       (ir_sb1a_simple_alu): Likewise.
+       * config/mips/mips.c (mips_cpu_info_table): Add sb1a.
+       (mips_rtx_cost_data): Add PROCESSOR_SB1A support.
+       (mips_issue_rate): Add PROCESSOR_SB1A.
+       (mips_multipass_dfa_lookahead): Use TUNE_SB1 instead of PROCESSOR_SB1.
+       * config/mips/mips.h (processor_type): Add PROCESSOR_SB1A.
+       (TARGET_SB1): Add PROCESSOR_SB1A check.
+       (TUNE_SB1): Likewise.
+
+       * config/mips/mips-protos.h (mips_store_data_bypass_p): New.
+       * config/mips/mips.c (mips_store_data_bypass_p): New.
+       * config/mips/sb1.md: Use mips_store_data_bypass_p instead of
+       store_data_bypass_p.
+
+2006-07-08  Paul Brook  <paul@codesourcery.com>
+
+       PR target/27991
+       * config/m68k/m68k.md: Add r-m patterns for 68881 movxf.
+
+2006-07-07   Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/28268
+       * tree.h (build_one_cst): Declare.
+       * tree.c (build_one_cst): New function.
+       * tree-ssa-math-opts.c (get_constant_one): Remove.
+       (insert_reciprocals): Use build_one_cst.
+       * fold-const.c (fold_plusminus_mult): Likewise.
+
+2006-07-07  Roger Sayle  <roger@eyesopen.com>
+
+       * pointer-set.c (pointer_set_destroy): Correct whitespace.
+       * cfgloopanal.c (dump_graph): Likewise.
+       * dojump.c (discard_pending_stack_adjust): Likewise.
+       * fix-header.c (TARGET_EXTRA_INCLUDE, TARGET_EXTRA_PRE_INCLUDES):
+       Likewise.
+       * alloc-pool.c (dump_alloc_pool_statistics): Likewise.
+       * function.c (finalize_block_changes): Likewise.
+       * gcc-common.c (ggc_free_overhead, dump_gcc_loc_statistics): Likewise.
+       * tree-ssa-dce.c (clear_control_dependence_bitmap): Likewise.
+       * rtl.c (dump_rtx_statistics): Likewise.
+       * tree-ssa-structalias.c (sort_fieldstack, init_alias_heapvars):
+       Likewise.
+       * varray.c (dump_varray_statistics): Likewise.
+       * dfp.c (encode_decimal32, decode_decimal32, encode_decimal64,
+       decode_decimal64, encode_decimal128, decode_decimal128,
+       decimal_real_to_decimal): Likewise.
+
+2006-07-07  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/28187
+       * tree-vrp.c (vrp_operand_equal_p): New function.
+       (vrp_bitmap_equal_p): Likewise.
+       (update_value_range): Use them to compare old and new
+       max and min values.
+
+2006-07-06  Roger Sayle  <roger@eyesopen.com>
+
+       * c-parser.c (c_parser_skip_to_end_of_block_or_statement): Add
+       a default case to switch statement to silence compiler warnings.
+
+2006-07-06  Roger Sayle  <roger@eyesopen.com>
+
+       PR target/27968
+       * configure.ac (HAVE_AS_IX86_FFREEP): On x86 targets check whether
+       the configured assembler supports the x87's ffreep mnemonic.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+       * config/i386/i386.c (output_387_ffreep): New function.
+       (output_fp_compare): Use output_387_ffreep to emit ffreep insns.
+       (output_387_reg_move): Likewise.
+
+2006-07-06  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Port to hosts whose 'sort' and 'tail' implementations
+       treat operands with leading '+' as file names, as POSIX
+       has required since 2001.  However, make sure the code still
+       works on pre-POSIX hosts.
+       * Makefile.in (slowcompare): Port to POSIX 1003.1-2001,
+       which says you should use "tail -c +N" rather than "tail +Nc".
+       Fix a bug: the old code incorrectly skipped 15 bytes, not 16.
+
+2006-07-06  Zdenek Dvorak <dvorakz@suse.cz>
+
+       * tree-ssa-loop-niter.c (scev_probably_wraps_p): Fix typo in
+       argument name.
+
+2006-07-06  David Edelsohn  <edelsohn@gnu.org>
+
+       PR target/28150
+       * config/rs6000/rs6000.c (rs6000_legitimate_address): Do not allow
+       PRE_{INC,DEC} of TFmode.
+
+2006-07-06  David Edelsohn  <edelsohn@gnu.org>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       PR target/28170
+       * config/rs6000/rs6000.c (insvdi_rshift_rlwimi_p): Correct shiftop
+       bounds. Simplify.
+
+2006-07-06  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       PR target/28285
+       * config/alpha/predicates.md (alpha_swapped_comparison_operator):
+       Remove duplicate gtu.
+
+2006-07-05  Jason Merrill  <jason@redhat.com>
+
+       PR c++/13983
+       PR c++/17519
+       * stor-layout.c (finish_record_layout): Copy TYPE_PACKED to variants.
+       * c-common.c (handle_packed_attribute): So don't copy it here.
+       * c-decl.c (finish_struct): Don't copy TYPE_ALIGN.
+
+2006-07-05  Mike Stump  <mrs@apple.com>
+
+       * doc/invoke.texi (Invoking G++): Clarify prose for g++.
+
+2006-07-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR target/26146
+       * config.gcc: Check with_cpu for i[34567]86--*-solaris2.1[0-9]*.
+
 2006-07-05  Richard Guenther  <rguenther@suse.de>
 
        PR target/28158
 
        * tree-ssa-math-opts.c (execute_cse_reciprocals): Fix calls
        to calculate and free the dominator information.
-           
+
 2006-07-04  Peter O'Gorman  <peter@pogma.com>
 
        * mklibgcc.in: chmod 644 before ranlib during install.
        PR c++/19134
        * tree.c (build_decl_stat): Don't hande #pragma visibility here.
        * c-common.c (c_determine_visibility): Handle it here.
-       * c-decl.c (finish_decl): Call c_determine_visibility for 
+       * c-decl.c (finish_decl): Call c_determine_visibility for
        functions, too.
        * flags.h (enum symbol_visibility): Sort from most to least visibility.
        * tree.h: Likewise.
        PR target/25765
        * config/i386/i386.c (ix86_output_function_epilogue): Don't
        insert a label at the end of an function under Mach-O.
-       
+
 2006-06-29  Eric Christopher  <echristo@apple.com>
            Evan Cheng  <evan.cheng@apple.com>