1. 10 Aug, 2011 9 commits
    • tree.h (get_pointer_alignment): Remove max-align argument. · 0eb77834
      2011-08-10  Richard Guenther  <rguenther@suse.de>
      
      	* tree.h (get_pointer_alignment): Remove max-align argument.
      	(get_object_alignment): Likewise.
      	* builtins.c (get_object_alignment_1): Adjust.
      	(get_object_alignment): Remove max-align argument.
      	(get_pointer_alignment): Likewise.
      	(expand_builtin_strlen): Adjust.
      	(expand_builtin_memcpy): Likewise.
      	(expand_builtin_mempcpy_args): Likewise.
      	(expand_builtin_strncpy): Likewise.
      	(expand_builtin_memset_args): Likewise.
      	(expand_builtin_memcmp): Likewise.
      	(expand_builtin_strcmp): Likewise.
      	(expand_builtin_strncmp): Likewise.
      	(get_builtin_sync_mem): Likewise.
      	(fold_builtin_memset): Likewise.
      	(fold_builtin_memory_op): Likewise.
      	(expand_builtin_memory_chk): Likewise.
      	* emit-rtl.c (get_mem_align_offset): Likewise.
      	(set_mem_attributes_minus_bitpos): Likewise.
      	* expr.c (expand_assignment): Likewise.
      	(expand_expr_real_1): Likewise.
      	* tree-sra.c (tree_non_mode_aligned_mem_p): Likewise.
      	* tree-ssa-forwprop.c (simplify_builtin_call): Likewise.
      	* tree-ssa-loop-ivopts.c (may_be_unaligned_p): Likewise.
      	* tree-vect-data-refs.c (vect_compute_data_ref_alignment): Likewise.
      	* value-prof.c (gimple_stringops_transform): Likewise.
      
      From-SVN: r177620
      Richard Guenther committed
    • tm.texi.in (CLASS_MAX_NREGS): Fix typo. · 1c7836f0
      gcc/
      2011-08-10  Paulo J. Matos  <paulo.matos@csr.com>
      
      	* doc/tm.texi.in (CLASS_MAX_NREGS): Fix typo.
      	* doc/tm.texi: Regenerate.
      
      From-SVN: r177619
      Paulo J. Matos committed
    • re PR target/29560 ([avr] Poor optimization for byte shifts) · 4ada410b
      	
      	PR target/29560
      	* config/avr/avr.md (*ashlhiqi3): New insn-and-split.
      	(*ashl<extend_prefix>qihiqi3): New insn-and-splits.
      	(*ashl<extend_prefix>qihiqi3.mem): New insn-and-splits.
      	Add peephole2 to map ashlhi3 to ashlqi3 if high part of
      	shift target is unused.
      
      From-SVN: r177616
      Georg-Johann Lay committed
    • re PR tree-optimization/49937 (g++.dg/tree-ssa/fwprop-align.C) · d1f4e15f
      2011-08-10  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/49937
      	* tree-ssa-ccp.c (get_value_from_alignment): Re-implement
      	using get_object_alignment_1.
      
      From-SVN: r177615
      Richard Guenther committed
    • re PR bootstrap/49907 (lto-plugin -Wall in stage1) · f3016c47
      2011-08-10  Richard Guenther  <rguenther@suse.de>
      
      	PR bootstrap/49907
      	lto-plugin/
      	* configure.ac: Use ACX_PROG_CC_WARNING_OPTS to detect -Wall presence.
      	* Makefile.am (AM_CFLAGS): Adjust.  Do not build with -Werror.
      	* configure: Regenerate.
      	* Makefile.in: Likewise.
      	* aclocal.m4: Likewise.
      
      From-SVN: r177614
      Richard Guenther committed
    • re PR libstdc++/1773 (__cplusplus defined to 1, should be 199711L) · d62bab6a
      2011-08-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
      	    Marc Glisse  <marc.glisse@normalesup.org>
      
      	PR libstdc++-v3/1773
      	* inclhack.def (solaris_cxx_linkage, solaris_getc_strict_stdc)
      	(solaris_longjmp_noreturn, solaris_pow_int_overload)
      	(solaris_std___filbuf): New fixes.
      	* tests/base/iso/math_iso.h, tests/base/iso/setjmp_iso.h,
      	tests/base/iso/stdio_iso.h, tests/base/iso/stdlib_iso.h: New tests.
      	* tests/base/stdio.h [SOLARIS_STD___FILBUF_CHECK]: New test.
      
      Co-Authored-By: Marc Glisse <marc.glisse@normalesup.org>
      
      From-SVN: r177613
      Rainer Orth committed
    • jcf-dump.c (print_constant): Cast first frexp arg. · 693ed633
      	gcc/java:
      	* jcf-dump.c (print_constant): Cast first frexp arg.
      
      	libjava:
      	* exception.cc (std::abort): Remove static.
      
      From-SVN: r177612
      Rainer Orth committed
    • i386.md (lround<X87MODEF:mode><SWI248x:mode>2): Do not force operands[0] into a register. · dcfd8753
      	* config/i386/i386.md (lround<X87MODEF:mode><SWI248x:mode>2): Do not
      	force operands[0] into a register.
      
      From-SVN: r177611
      Uros Bizjak committed
    • Daily bump. · 57fcac16
      From-SVN: r177610
      GCC Administrator committed
  2. 09 Aug, 2011 17 commits
  3. 08 Aug, 2011 14 commits
    • re PR middle-end/49990 (Regression: Bootstrap failure for x86_64-*-mingw32 in libfortran) · 40118062
      2011-08-08  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR rtl-optimization/49990
      	* ira-costs.c (print_allocno_costs, print_pseudo_costs): Don't
      	ignore classes which can not change mode.
      	(find_costs_and_classes): Ditto.
      
      From-SVN: r177575
      Vladimir Makarov committed
    • re PR middle-end/49990 (Regression: Bootstrap failure for x86_64-*-mingw32 in libfortran) · 8714c21f
      2011-08-08  Richard Henderson  <rth@redhat.com>
      
              PR middle-end/49990
              * config/i386/i386.c (ix86_expand_prologue): Call
              for SEH target gen_prologue_use instead of gen_blockage
              at prologue's end.
      
      From-SVN: r177573
      Richard Henderson committed
    • re PR middle-end/49923 (__attribute__((packed)) on ARM is sometimes dropped) · 1ad663a8
      2011-08-08  Martin Jambor  <mjambor@suse.cz>
      
      	PR middle-end/49923
      	* tree-sra.c (access_precludes_ipa_sra_p): Also check access
      	memory alignment.
      
      	* testsuite/gcc.dg/tree-ssa/pr49923.c: New test.
      
      From-SVN: r177572
      Martin Jambor committed
    • rebase · f0efc7aa
      From-SVN: r177571
      Diego Novillo committed
    • Add a testcase for PR target/49781. · b7926cf9
      2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/49781
      	* gcc.target/i386/pr49781-1.c: New.
      
      From-SVN: r177569
      H.J. Lu committed
    • configure.ac (THREADS): Remove posix95. · ddaad3c8
      	boehm-gc:
      	* configure.ac (THREADS): Remove posix95.
      	* configure: Regenerate.
      
      	gcc:
      	* gthr-posix95.h: Remove.
      	* gthr.h [_PTHREADS95]: Remove.
      	* configure.ac (enable_threads): Remove posix95.
      	* configure: Regenerate.
      	* doc/install.texi (Configuration, --enable-threads): Remove
      	posix95.
      
      	libgomp:
      	* config/posix95/lock.c, posix95/omp-lock.h: Remove.
      
      	libjava:
      	* configure.ac (THREADS): Remove posix95.
      	* configure: Regenerate.
      
      From-SVN: r177568
      Rainer Orth committed
    • re PR c++/50020 ([C++0x] internal compiler error range for in templated class) · 712c948a
      	PR c++/50020
      	* semantics.c (finish_call_expr): Don't look at 'this' if we
      	had an explicit object argument.
      
      From-SVN: r177567
      Jason Merrill committed
    • 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