1. 11 Aug, 2011 13 commits
  2. 10 Aug, 2011 12 commits
    • Initialize src3 with random value. · 25610619
      2011-08-10  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* gcc.target/i386/sse4_1-blendps-2.c: Include <stdlib.h>.
      	(sse4_1_test): Initialize src3 with random value.
      
      From-SVN: r177628
      H.J. Lu committed
    • tree.h (can_trust_pointer_alignment): Remove. · b126811e
      2011-08-10  Richard Guenther  <rguenther@suse.de>
      
      	* tree.h (can_trust_pointer_alignment): Remove.
      	* builtins.c (can_trust_pointer_alignment): Remove.
      
      	cp/
      	* call.c (build_over_call): Call memcpy unconditionally.
      
      From-SVN: r177625
      Richard Guenther committed
    • c-typeck.c (scalar_to_vector): New function. · 0e3a99ae
      2011-08-10  Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
      
      	* c-typeck.c (scalar_to_vector): New function. Try scalar to
      	vector conversion.
      	(stv_conv): New enum for scalar_to_vector return type.
      	(build_binary_op): Adjust.
      	* doc/extend.texi: Description of scalar to vector expansion.
      
      	c-family/
      	* c-common.c (unsafe_conversion_p): New function. Check if it is
      	unsafe to convert an expression to the type.
      	(conversion_warning): Adjust, use unsafe_conversion_p.
      	* c-common.h (unsafe_conversion_p): New function declaration.
      
      	testsuite/
      	* gcc.c-torture/execute/scal-to-vec1.c: New test.
      	* gcc.c-torture/execute/scal-to-vec2.c: New test.
      	* gcc.c-torture/execute/scal-to-vec3.c: New test.
      	* gcc.dg/scal-to-vec1.c: New test.
      	* gcc.dg/scal-to-vec2.c: New test.
      
      From-SVN: r177622
      Artjoms Sinkarovs committed
    • 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
  3. 09 Aug, 2011 15 commits