1. 29 Nov, 2011 22 commits
  2. 28 Nov, 2011 14 commits
    • cdce3.C: Use dg-additional-options. · 338a1a22
      	* g++.dg/cdce3.C: Use dg-additional-options.
      
      From-SVN: r181789
      Uros Bizjak committed
    • re PR debug/50317 (missing DW_OP_GNU_implicit_pointer) · c32f25b8
      	PR debug/50317
      	* tree-ssa.c (execute_update_addresses_taken): Remove
      	var ={v} {CLOBBER} stmts instead of rewriting them into
      	var_N ={v} {CLOBBER}.
      
      From-SVN: r181788
      Jakub Jelinek committed
    • re PR middle-end/50907 (EDGE_CROSSING incorrectly set across same section with… · d3b623c7
      re PR middle-end/50907 (EDGE_CROSSING incorrectly set across same section with -freorder-blocks-and-partition -fPIC -fprofile-use)
      
      	PR middle-end/50907
      	* function.c (convert_jumps_to_returns): When redirecting an edge
      	succ to EXIT_BLOCK_PTR, clear EDGE_CROSSING flag.
      
      	* gcc.dg/tree-prof/pr50907.c: New test.
      
      From-SVN: r181787
      Jakub Jelinek committed
    • re PR tree-optimization/50078 (combine wrong code: volatile accesses optimized out) · 8c29866f
      	PR tree-optimization/50078
      	* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Copy over
      	TREE_THIS_VOLATILE also from the old to new lhs resp. rhs.
      
      	* gcc.dg/pr50078.c: New test.
      
      From-SVN: r181786
      Jakub Jelinek committed
    • re PR tree-optimization/50682 (ICE: SIGSEGV in main_block_label with -O2… · 99d8763e
      re PR tree-optimization/50682 (ICE: SIGSEGV in main_block_label with -O2 -fnon-call-exceptions -ftracer)
      
      	PR tree-optimization/50682
      	* tree-eh.c (maybe_remove_unreachable_handlers): New function.
      	* tree-flow.h (maybe_remove_unreachable_handlers): New prototype.
      	* tree-optimize.c (execute_cleanup_cfg_post_optimizing): Call it.
      
      	* g++.dg/opt/pr50682.C: New test.
      
      From-SVN: r181785
      Jakub Jelinek committed
    • c-family · 62bad7cd
      	* c-cpp-builtin.c (cpp_atomic_builtins):New.  Emit all atomic
      	predefines in one place.  Add LOCK_FREE predefines.
      	(c_cpp_builtins): Move Legacy HAVE_SYNC predefines to
      	new func.
      
      	libstdc++-v3
      	* include/bits/atomic_base.h (ATOMIC_*_LOCK_FREE): Use new cpp
      	predefined macros.
      	* testsuite/29_atomics/headers/atomic/macros.cc: Add BOOL and POINTER
      	macro checks.  Check for expected compile time values.
      
      From-SVN: r181784
      Andrew MacLeod committed
    • Cleanup rs6000/t-ppccomm configurations (PR other/51022) · f9c55897
      	PR other/51022
      	* config/rs6000/t-savresfgpr: New file.
      	* config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
      	$(srcdir)/config/rs6000/eabi.S.
      	* config/rs6000/t-ppccomm-ldbl: Remove.
      	* config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
      	tmake_file.
      	(powerpc-*-eabispe*): Likewise.
      	(powerpc-*-eabi*): Likewise.
      	(powerpc-*-linux*, powerpc64-*-linux*): Likewise.
      	(powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
      	to tmake_file, remove rs6000/t-ppccomm-ldbl.
      	(powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
      	tmake_file.
      	(powerpc-*-eabisim*): Likewise.
      	(powerpc-*-elf*): Likewise.
      	(powerpc-*-eabialtivec*): Likewise.
      	(powerpc-xilinx-eabi*): Likewise.
      	(powerpc-*-rtems*): Likewise.
      	(powerpcle-*-elf*): Likewise.
      	(powerpcle-*-eabisim*): Likewise.
      	(powerpcle-*-eabi*): Likewise.
      
      From-SVN: r181782
      Rainer Orth committed
    • Really commit the test case: · 56828a29
      2011-11-28  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/51308
              * gfortran.dg/iso_c_binding_compiler_4.f90: New.
      
      From-SVN: r181779
      Tobias Burnus committed
    • re PR fortran/51308 (PARAMETER attribute conflicts with SAVE attribute) · fc2a6c89
      2011-11-28  Tobias Burnus  <burnus@net-b.de>
                  Steven G. Kargl  <kargl@gcc.gnu.org>
      
              PR fortran/51308
              * symbol.c (check_conflict): Ignore BIND(C) + PARAMETER
              conflicts for ISO_C_BINDING variables.
              (gen_special_c_interop_ptr): Don't mark c_ptr_null/c_funptr_null
              as SAVE.
      
      2011-11-28  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/51308
              * gfortran.dg/iso_c_binding_compiler_4.f90: New.
      
      
      Co-Authored-By: Steven G. Kargl <kargl@gcc.gnu.org>
      
      From-SVN: r181778
      Tobias Burnus committed
    • re PR libstdc++/51288 ([C++0x] get_money implementation is missing the sentry… · 1a30353a
      re PR libstdc++/51288 ([C++0x] get_money implementation is missing the sentry object (does not skip leading whitespace))
      
      2011-11-28  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/51288
      	* include/std/iomanip (get_money, put_money): Use sentry.
      	* testsuite/27_io/manipulators/extended/get_money/char/51288.cc: New.
      	* testsuite/27_io/manipulators/extended/get_money/wchar_t/51288.cc:
      	Likewise.
      	* testsuite/27_io/manipulators/extended/put_money/char/51288.cc:
      	Likewise.
      	* testsuite/27_io/manipulators/extended/put_money/wchar_t/51288.cc:
      	Likewise.
      
      From-SVN: r181775
      Paolo Carlini committed
    • extend.texi (AVR Built-in Functions): Add documentation for __builtin_avr_map8… · 49b2772e
      extend.texi (AVR Built-in Functions): Add documentation for __builtin_avr_map8 and __builtin_avr_map16.
      
      	* doc/extend.texi (AVR Built-in Functions): Add documentation for
      	__builtin_avr_map8 and __builtin_avr_map16.
      	* config/avr/avr.md: Document new %t and %T asm output codes.
      	(define_c_enum "unspec"): Add UNSPEC_MAP_BITS.
      	(adjust_len): Add map_bits.
      	(map_bitsqi, map_bitshi): New insns.
      	* config/avr/avr-protos.h (avr_out_map_bits): New.
      	* config/avr/avr-protos.c (print_operand): Implement %t and %T.
      	(adjust_insn_length): Handle ADJUST_LEN_MAP_BITS.
      	(avr_double_int_push_digit): New function.
      	(avr_map, avr_revert_map, avr_swap_map, avr_id_map): New functions.
      	(avr_sig_map, avr_map_hamming_byte): New functions.
      	(avr_out_swap_bits, avr_out_revert_bits, avr_move_bits,
      	avr_out_map_bits): New functions.
      	(enum avr_builtin_id): Add AVR_BUILTIN_MAP8, AVR_BUILTIN_MAP16.
      	(avr_init_builtins): Populate __builtin_avr_map8, __builtin_avr_map16.
      	(bdesc_2arg): Add __builtin_avr_map8, __builtin_avr_map16 ...
      	(avr_expand_builtin): ...and expand them.
      	* config/avr/avr-c.c (avr_cpu_cpp_builtins): New built-in defines:
      	__BUILTIN_AVR_MAP8, __BUILTIN_AVR_MAP16.
      
      From-SVN: r181773
      Georg-Johann Lay committed
    • runtime: Multiplex goroutines onto OS threads. · 737087cb
      From-SVN: r181772
      Ian Lance Taylor committed
    • generic-morestack.c (__splitstack_find): Check for NULL old stack value. · a01207c4
      	* generic-morestack.c (__splitstack_find): Check for NULL old
      	stack value.
      	(__splitstack_resetcontext): New function.
      	(__splitstack_releasecontext): New function.
      	* libgcc-std.ver.in: Add new functions to GCC_4.7.0.
      
      From-SVN: r181771
      Ian Lance Taylor committed
    • Daily bump. · 8ce3007a
      From-SVN: r181770
      GCC Administrator committed
  3. 27 Nov, 2011 4 commits