1. 03 Dec, 2013 5 commits
    • re PR target/58864 (ICE in connect_traces, at dwarf2cfi.c:NNNN) · 7f2f0a01
      	PR target/58864
      	* dojump.c (save_pending_stack_adjust, restore_pending_stack_adjust):
      	New functions.
      	* expr.h (struct saved_pending_stack_adjust): New type.
      	(save_pending_stack_adjust, restore_pending_stack_adjust): New
      	prototypes.
      	* optabs.c (emit_conditional_move): Call save_pending_stack_adjust
      	and get_last_insn before do_pending_stack_adjust, call
      	restore_pending_stack_adjust after delete_insns_since.
      	* expr.c (expand_expr_real_2): Don't call do_pending_stack_adjust
      	before calling emit_conditional_move.
      	* expmed.c (expand_sdiv_pow2): Likewise.
      	* calls.c (expand_call): Use {save,restore}_pending_stack_adjust.
      
      	* g++.dg/opt/pr58864.C: New test.
      
      From-SVN: r205618
      Jakub Jelinek committed
    • re PR tree-optimization/59322 (ICE with segfault on valid code at -O1, -O2, and… · 4dd0ef27
      re PR tree-optimization/59322 (ICE with segfault on valid code at -O1, -O2, and -O3 on x86_64-linux-gnu)
      
      	PR tree-optimization/59322
      	* tree-ssa-threadedge.c (create_edge_and_update_destination_phis):
      	Remove code which copied jump threading paths.
      
      	PR tree-optimization/59322
      	* gcc.c-torture/compile/pr59322.c: New test
      
      From-SVN: r205617
      Jeff Law committed
    • This patch fixes PR 58944 · 80f1fd0d
      http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58944
      
      ix86_valid_target_attribute_tree in config/i386/i386.c was
      refactored to not depend on global_options structure and to be able to
      use any gcc_options structure.  One clean way to fix this is by having
      target_option_default_node save all the default target options which
      can be restored to any gcc_options structure. The root cause of the
      above bugs was that ix86_arch_string and ix86_tune_string was not
      saved in target_option_deault_node.
      
      This patch saves all the  target options used in i386.opt which are
      either obtained from the command-line or set to some default.
      
      Testing:
      Patch tested for bootstrap on all default languages(also obj-c++ and ada)
      on x86_64 and regression testsuite checked for parity with RUNTESTFLAGS -m32
      and m64.
      
      From-SVN: r205616
      Sriraman Tallam committed
    • re PR c/58235 (Missing diagnostic on assignment to array in c89) · 4c2ecab0
      	PR c/58235
      c:
      	* c-typeck.c (build_modify_expr): Diagnose assignment to
      	expression with array type.
      
      testsuite:
      	* gcc.dg/c90-array-lval-8.c: New test.
      
      From-SVN: r205615
      Joseph Myers committed
    • Daily bump. · f9153cba
      From-SVN: r205612
      GCC Administrator committed
  2. 02 Dec, 2013 18 commits
  3. 01 Dec, 2013 8 commits
    • re PR libfortran/59313 (gfortran.dg/erf_3.F90 FAILs on Solaris/SPARC) · 3d41d9d9
      	PR libfortran/59313
      	* intrinsics/erfc_scaled.c (erfc_scaled_r16): Also provide for
      	quadruple precision long double variant.
      
      From-SVN: r205574
      Uros Bizjak committed
    • winnt.c (i386_pe_asm_named_section): Be prepared for an identifier node. · 06623961
      	* config/i386/winnt.c (i386_pe_asm_named_section): Be prepared for an
      	identifier node.
      
      From-SVN: r205568
      Eric Botcazou committed
    • re PR fortran/57354 (Wrong run-time assignment of allocatable array of derived… · 343ab492
      re PR fortran/57354 (Wrong run-time assignment of allocatable array of derived type with allocatable component)
      
      2013-12-01  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/57354
      	* trans-array.c (gfc_conv_resolve_dependencies): For other than
      	SS_SECTION, do a dependency check if the lhs is liable to be
      	reallocated.
      
      2013-12-01  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/57354
      	* gfortran.dg/realloc_on_assign_23.f90 : New test
      
      From-SVN: r205567
      Paul Thomas committed
    • re PR fortran/58410 (Bogus uninitialized variable warning for allocatable… · d700518b
      re PR fortran/58410 (Bogus uninitialized variable warning for allocatable derived type array function result)
      
      2013-12-01  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/58410
      	* trans-array.c (gfc_alloc_allocatable_for_assignment): Do not
      	use the array bounds of an unallocated array but set its size
      	to zero instead.
      
      From-SVN: r205566
      Paul Thomas committed
    • Index... · 49560f0c
      Index: gcc/fortran/resolve.c
      ===================================================================
      *** gcc/fortran/resolve.c	(revision 205031)
      --- gcc/fortran/resolve.c	(working copy)
      *************** resolve_transfer (gfc_code *code)
      *** 8247,8256 ****
        	 && exp->value.op.op == INTRINSIC_PARENTHESES)
            exp = exp->value.op.op1;
        
      !   if (exp && exp->expr_type == EXPR_NULL && exp->ts.type == BT_UNKNOWN)
            {
      !       gfc_error ("NULL intrinsic at %L in data transfer statement requires "
      ! 		 "MOLD=", &exp->where);
              return;
            }
        
      --- 8247,8257 ----
        	 && exp->value.op.op == INTRINSIC_PARENTHESES)
            exp = exp->value.op.op1;
        
      !   if (exp && exp->expr_type == EXPR_NULL
      !       && code->ext.dt)
            {
      !       gfc_error ("Invalid context for NULL () intrinsic at %L",
      ! 		 &exp->where);
              return;
            }
        
      Index: gcc/testsuite/gfortran.dg/null_5.f90
      ===================================================================
      *** gcc/testsuite/gfortran.dg/null_5.f90	(revision 205031)
      --- gcc/testsuite/gfortran.dg/null_5.f90	(working copy)
      *************** subroutine test_PR34547_1 ()
      *** 34,40 ****
        end subroutine test_PR34547_1
        
        subroutine test_PR34547_2 ()
      !   print *, null () ! { dg-error "in data transfer statement requires MOLD" }
        end subroutine test_PR34547_2
        
        subroutine test_PR34547_3 ()
      --- 34,40 ----
        end subroutine test_PR34547_1
        
        subroutine test_PR34547_2 ()
      !   print *, null () ! { dg-error "Invalid context" }
        end subroutine test_PR34547_2
        
        subroutine test_PR34547_3 ()
      Index: gcc/testsuite/gfortran.dg/null_6.f90
      ===================================================================
      *** gcc/testsuite/gfortran.dg/null_6.f90	(revision 205031)
      --- gcc/testsuite/gfortran.dg/null_6.f90	(working copy)
      *************** end subroutine test_PR50375_2
      *** 30,34 ****
        
        subroutine test_PR34547_3 ()
          integer, allocatable :: i(:)
      !   print *, NULL(i)
        end subroutine test_PR34547_3
      --- 30,34 ----
        
        subroutine test_PR34547_3 ()
          integer, allocatable :: i(:)
      !   print *, NULL(i)    ! { dg-error "Invalid context for NULL" }
        end subroutine test_PR34547_3
      
      From-SVN: r205565
      Paul Thomas committed
    • expr.c (emit_group_store): Corrected BITFIELD_END parameter. · c931d01d
      2013-12-01  Bernd Edlinger <bernd.edlinger@hotmail.de>
      
              * expr.c (emit_group_store): Corrected BITFIELD_END parameter.
      
      From-SVN: r205563
      Bernd Edlinger committed
    • libgo: Avoid some cases of getting callers recursively. · 2583109c
      Avoids hanging inside older versions of glibc that do not
      support recurive calls to dl_iterate_phdr.
      
      From-SVN: r205561
      Ian Lance Taylor committed
    • Daily bump. · 2d7930e5
      From-SVN: r205560
      GCC Administrator committed
  4. 30 Nov, 2013 5 commits
  5. 29 Nov, 2013 4 commits