1. 08 Aug, 2011 12 commits
    • re PR target/49781 ([x32] Unnecessary lea in x32 mode) · 473b30ce
      	PR target/49781
      	* config/i386/i386.c (ix86_decompose_address): Allow zero-extended
      	SImode addresses.
      	(ix86_print_operand_address): Handle zero-extended addresses.
      	(memory_address_length): Add length of addr32 prefix for
      	zero-extended addresses.
      	(ix86_secondary_reload): Handle moves to/from double-word general
      	registers from/to zero-extended addresses.
      	* config/i386/predicates.md (lea_address_operand): Reject
      	zero-extended operands.
      
      From-SVN: r177566
      Uros Bizjak committed
    • re PR c++/50011 ([C++0x] warning: narrowing conversion of 'i' from 'short… · d7cfa314
      re PR c++/50011 ([C++0x] warning: narrowing conversion of 'i' from 'short unsigned int' to 'int' inside { } [-Wnarrowing])
      
      	PR c++/50011
      	* typeck2.c (check_narrowing): Fix integer logic.
      
      From-SVN: r177565
      Jason Merrill committed
    • Fix Dwarf unwind library for UNITS_PER_WORD > sizeof (void *) · cca2207a
      gcc/
      
      2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR other/48007
      	* config.gcc (libgcc_tm_file): Add i386/value-unwind.h for
      	Linux/x86.
      
      	* system.h (REG_VALUE_IN_UNWIND_CONTEXT): Poisoned.
      	(ASSUME_EXTENDED_UNWIND_CONTEXT): Likewise.
      
      	* unwind-dw2.c (ASSUME_EXTENDED_UNWIND_CONTEXT): New.
      	(_Unwind_Context_Reg_Val): Likewise.
      	(_Unwind_Get_Unwind_Word): Likewise.
      	(_Unwind_Get_Unwind_Context_Reg_Val): Likewise.
      	(_Unwind_Context): Use _Unwind_Context_Reg_Val on the reg field.
      	(_Unwind_IsExtendedContext): Check ASSUME_EXTENDED_UNWIND_CONTEXT
      	for EXTENDED_CONTEXT_BIT.
      	(__frame_state_for): Likewise.
      	(uw_init_context_1): Likewise.
      	(_Unwind_GetGR): Updated.
      	(_Unwind_SetGR): Likewise.
      	(_Unwind_GetGRPtr): Likewise.
      	(_Unwind_SetGRPtr): Likewise.
      	(_Unwind_SetGRValue): Likewise.
      	(_Unwind_GRByValue): Likewise.
      	(uw_install_context_1): Likewise.
      
      	* doc/tm.texi.in: Document REG_VALUE_IN_UNWIND_CONTEXT and
      	ASSUME_EXTENDED_UNWIND_CONTEXT.
      	* doc/tm.texi: Regenerated.
      
      libgcc/
      
      2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR other/48007
      	* config/i386/value-unwind.h: New.
      
      From-SVN: r177563
      H.J. Lu committed
    • * Makefile.in (gengtype$(exeext)): Add $(LDFLAGS). · b6ee5bef
      From-SVN: r177562
      Rainer Orth committed
    • New files from last commit. · 56e6b4a2
      From-SVN: r177561
      Rainer Orth committed
    • invoke.texi (DEC Alpha Options, -mcpu): native support isn't Linux/GNU-specific. · 46135ba7
      	* doc/invoke.texi (DEC Alpha Options, -mcpu): native support isn't
      	Linux/GNU-specific.
      	(DEC Alpha Options, -mtune): Likewise.
      	(MIPS Options, -march): native is supported on IRIX.
      
      From-SVN: r177560
      Rainer Orth committed
    • driver-sparc.c: New file. · e3b3fa45
      	gcc:
      	* config/sparc/driver-sparc.c: New file.
      	* config/sparc/x-sparc: New file.
      	* config.host: Use driver-sparc.o, sparc/x-sparc on
      	sparc*-*-solaris2*.
      	* config/sparc/sparc.opt (native): New value for enum
      	processor_type.
      	* config/sparc/sparc-opts.h (PROCESSOR_NATIVE): Declare.
      	* config/sparc/sparc.c (sparc_option_override): Abort if
      	PROCESSOR_NATIVE gets here.
      	* config/sparc/sol2.h [__sparc__] (host_detect_local_cpu): Declare.
      	(EXTRA_SPEC_FUNCTIONS, MCPU_MTUNE_NATIVE_SPECS,
      	DRIVER_SELF_SPECS): Define.
      	* doc/invoke.texi (SPARC Options, -mcpu): Document native.
      	(SPARC Options, -mtune): Likewise.
      	* configure.ac (EXTRA_GCC_LIBS): Check for libkstat.
      	Substitute result.
      	* configure: Regenerate.
      	* Makefile.in (EXTRA_GCC_LIBS): Set.
      	(xgcc$(exeext)): Add $(EXTRA_GCC_LIBS).
      	(cpp$(exeext)): Likewise.
      
      	gcc/cp:
      	* Make-lang.in (g++$(exeext)): Add $(EXTRA_GCC_LIBS).
      
      	gcc/fortran:
      	* Make-lang.in (gfortran$(exeext)): Add $(EXTRA_GCC_LIBS).
      
      	gcc/go:
      	* Make-lang.in (gccgo$(exeext)): Add $(EXTRA_GCC_LIBS).
      
      	gcc/java:
      	* Make-lang.in ($(XGCJ)$(exeext)): Add $(EXTRA_GCC_LIBS).
      
      From-SVN: r177559
      Rainer Orth committed
    • tree-vrp.c (extract_range_from_unary_expr_1): New function, split out from ... · ce6bfa50
      2011-08-08  Richard Guenther  <rguenther@suse.de>
      
      	* tree-vrp.c (extract_range_from_unary_expr_1): New function,
      	split out from ...
      	(extract_range_from_unary_expr): ... here.  Handle BIT_NOT_EXPR
      	by composition.
      
      From-SVN: r177558
      Richard Guenther committed
    • re PR tree-optimization/50005 (ipa-inline-analysis.c:1876:41: error: comparison… · daae4650
      re PR tree-optimization/50005 (ipa-inline-analysis.c:1876:41: error: comparison between signed an d unsigned integer expressions)
      
      2011-08-08  Mikael Pettersson  <mikpe@it.uu.se>
      
              PR tree-optimization/50005
              * ipa-inline-analysis (remap_predicate): Add cast to
              silence signed/unsigned comparison warning.
      
      From-SVN: r177557
      Mikael Pettersson committed
    • modulo-sched.c (get_sched_window): Use a table for the debug output. · 3e762578
      gcc/
      	* modulo-sched.c (get_sched_window): Use a table for the debug output.
      	Print the current ii.
      	(sms_schedule_by_order): Reduce whitespace in dump line.
      
      From-SVN: r177556
      Richard Sandiford committed
    • modulo-sched.c (get_sched_window): Use just one loop for predecessors and one loop for successors. · fe43febc
      gcc/
      	* modulo-sched.c (get_sched_window): Use just one loop for predecessors
      	and one loop for successors.  Fix upper bound of memory range.
      
      From-SVN: r177555
      Richard Sandiford committed
    • Daily bump. · d855a67e
      From-SVN: r177554
      GCC Administrator committed
  2. 07 Aug, 2011 8 commits
    • re PR fortran/49638 ([OOP] length parameter is ignored when overriding type… · 2240d1cf
      re PR fortran/49638 ([OOP] length parameter is ignored when overriding type bound character functions with constant length.)
      
      2011-08-07  Janus Weil  <janus@gcc.gnu.org>
      	    Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/49638
      	* dependency.c (are_identical_variables): For dummy arguments only
      	check for equal names, not equal symbols.
      	* interface.c (gfc_check_typebound_override): Add checking for rank
      	and character length.
      
      2011-08-07  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/49638
      	* gfortran.dg/typebound_override_1.f90: New.
      
      Co-Authored-By: Thomas Koenig <tkoenig@gcc.gnu.org>
      
      From-SVN: r177550
      Janus Weil committed
    • gigi.h (enumerate_modes): Fix formatting. · 588c8f48
      	* gcc-interface/gigi.h (enumerate_modes): Fix formatting.
      
      	* gcc-interface/trans.c (Subprogram_Body_to_gnu): Revert latest change.
      
      From-SVN: r177548
      Eric Botcazou committed
    • alloc_traits.h: Fix doxygen @headername. · a5db4ced
      2011-08-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
      
      	* include/bits/alloc_traits.h: Fix doxygen @headername.
      
      From-SVN: r177546
      Jonathan Wakely committed
    • re PR fortran/49638 ([OOP] length parameter is ignored when overriding type… · 99fc1b90
      re PR fortran/49638 ([OOP] length parameter is ignored when overriding type bound character functions with constant length.)
      
      2011-08-07  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/49638
      	* dependency.h (gfc_is_same_range,gfc_are_identical_variables): Remove
      	two prototypes.
      	* dependency.c (gfc_are_identical_variables,are_identical_variables):
      	Renamed the former to the latter and made static.
      	(gfc_dep_compare_expr): Renamed 'gfc_are_identical_variables', handle
      	commutativity of multiplication.
      	(gfc_is_same_range,is_same_range): Renamed the former to the latter,
      	made static and removed argument 'def'.
      	(check_section_vs_section): Renamed 'gfc_is_same_range'.
      	* gfortran.h (gfc_check_typebound_override): New prototype.
      	* interface.c (gfc_check_typebound_override): Moved here from ...
      	* resolve.c (check_typebound_override): ... here (and renamed).
      	(resolve_typebound_procedure): Renamed 'check_typebound_override'.
      
      From-SVN: r177545
      Janus Weil committed
    • pr23455.c: Adjust testcases for LLP64 for x86_64 mingw target. · cd6cf2c9
      	* gcc.dg/tree-ssa/pr23455.c: Adjust testcases for LLP64 for
      	x86_64 mingw target.
      	* gcc.dg/tree-ssa/loop-1.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-store-ccp-2.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-store-ccp-3.c: Likewise.
      	* gcc.dg/tree-ssa/loop-33.c: Likewise.
      	* gcc.dg/tree-ssa/ssa-store-ccp-4.c: Likewise.
      	* gcc.dg/tree-ssa/loop-35.c: Likewise.
      	* gcc.dg/tree-ssa/stdarg-2.c: Likewise.
      	* gcc.dg/tree-ssa/stdarg-4.c: Likewise.
      	* gcc.dg/tree-ssa/stdarg-5.c: Likewise.
      	* gcc.dg/tree-ssa/gen-vect-11c.c: Likewise.
      
      From-SVN: r177543
      Kai Tietz committed
    • user.cfg.in (PDF_HYPERLINKS): To NO. · 93c66bc6
      2011-08-06  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* doc/doxygen/user.cfg.in (PDF_HYPERLINKS): To NO.
      
      2011-08-06  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* doc/doxygen/user.cfg.in: Add scoped_allocator.
      
      	* include/debug/safe_sequence.h: Fix doxygen markup.
      	* include/debug/safe_unordered_base.h: Same.
      	* include/debug/safe_local_iterator.tcc: Same.
      	* include/debug/safe_unordered_container.h: Same.
      	* include/std/valarray: Same.
      	* include/std/iomanip: Same.
      	* include/std/streambuf: Same.
      	* include/std/bitset: Same.
      	* include/std/fstream: Same.
      	* include/std/functional: Same.
      	* include/std/istream: Same.
      	* include/std/ostream: Same.
      	* include/std/scoped_allocator: Same.
      	* include/std/sstream: Same.
      	* include/parallel/multiway_merge.h: Same.
      	* include/parallel/base.h: Same.
      	* include/parallel/for_each_selectors.h: Same.
      	* include/parallel/multiway_mergesort.h: Same.
      	* include/parallel/search.h: Same.
      	* include/parallel/partial_sum.h: Same.
      	* include/parallel/queue.h: Same.
      	* include/parallel/sort.h: Same.
      	* include/parallel/random_number.h: Same.
      	* include/ext/vstring.h: Same.
      	* include/ext/algorithm: Same.
      	* include/ext/pb_ds/assoc_container.h: Same.
      	* include/ext/bitmap_allocator.h: Same.
      	* include/ext/stdio_filebuf.h: Same.
      	* include/ext/memory: Same.
      	* include/ext/functional: Same.
      	* include/bits/basic_ios.h: Same.
      	* include/bits/stl_list.h: Same.
      	* include/bits/stl_map.h: Same.
      	* include/bits/stl_algobase.h: Same.
      	* include/bits/stl_queue.h: Same.
      	* include/bits/gslice.h: Same.
      	* include/bits/locale_classes.h: Same.
      	* include/bits/stl_set.h: Same.
      	* include/bits/locale_facets.h: Same.
      	* include/bits/stl_stack.h: Same.
      	* include/bits/stl_heap.h: Same.
      	* include/bits/forward_list.h: Same.
      	* include/bits/stream_iterator.h: Same.
      	* include/bits/basic_string.h: Same.
      	* include/bits/stl_multimap.h: Same.
      	* include/bits/stl_pair.h: Same.
      	* include/bits/ios_base.h: Same.
      	* include/bits/stl_numeric.h: Same.
      	* include/bits/stl_vector.h: Same.
      	* include/bits/stl_deque.h: Same.
      	* include/bits/codecvt.h: Same.
      	* include/bits/stl_multiset.h: Same.
      	* include/bits/stl_uninitialized.h: Same.
      	* include/bits/ptr_traits.h: Same.
      	* include/bits/slice_array.h: Same.
      	* include/bits/stl_iterator_base_funcs.h: Same.
      	* include/bits/stl_algo.h: Same.
      	* include/bits/stl_iterator.h: Same.
      	* include/bits/stl_tempbuf.h: Same.
      	* include/bits/regex.h: Same.
      	* include/bits/range_access.h: Same.
      	* include/bits/random.h: Same.
      	* include/bits/alloc_traits.h: Same.
      	* include/bits/regex_error.h: Same.
      	* include/bits/locale_facets_nonio.h: Same.
      	* include/bits/stl_relops.h: Same.
      	* include/backward/auto_ptr.h: Same.
      	* libsupc++/initializer_list: Same.
      
      	* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
      	Adjust line numbers.
      	* testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same.
      	* testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
      	Same.
      	* testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
      	Same.
      
      From-SVN: r177542
      Benjamin Kosnik committed
    • Daily bump. · 77d2c8b3
      From-SVN: r177541
      GCC Administrator committed
  3. 06 Aug, 2011 20 commits