1. 02 Nov, 2009 9 commits
    • * c-c++-common/dfp/pr35620.c: Give the union a name. · e150c414
      From-SVN: r153818
      Jason Merrill committed
    • Restrict DR 757 change to C++0x mode. · 1eee69dd
      	* decl2.c (mark_used): Check cxx_dialect.
      	* decl.c (grokfndecl): Do check type linkage in C++98 mode.
      	(grokvardecl): Likewise.
      	* pt.c (check_instantiated_arg): Likewise.
      
      From-SVN: r153816
      Jason Merrill committed
    • re PR tree-optimization/41857 (Loop optimizer breaks __ea pointers with -mea64) · d7c0c068
      gcc/
      	PR tree-optimization/41857
      	* tree-flow.h (rewrite_use_address): Add BASE_HINT argument.
      	* tree-ssa-loop-ivopts.c (rewrite_use_address): Pass base hint
      	to create_mem_ref.
      	* tree-ssa-address.c (move_hint_to_base): New function.
      	(most_expensive_mult_to_index): Add TYPE argument.  Use mode and
      	address space associated with TYPE.
      	(addr_to_parts): Add TYPE and BASE_HINT arguments.  Pass TYPE to
      	most_expensive_mult_to_index.  Call move_hint_to_base.
      	(create_mem_ref): Add BASE_HINT argument.  Pass BASE_HINT and
      	TYPE to addr_to_parts.
      
      gcc/testsuite/
      	PR tree-optimization/41857
      	* gcc.target/spu/ea/pr41857.c: New file.
      
      From-SVN: r153810
      Ulrich Weigand committed
    • re PR tree-optimization/41750 (IPA-SRA is broken) · 2b93f88d
      2009-11-02  Martin Jambor  <mjambor@suse.cz>
      
      	PR tree-optimization/41750
      	* tree-sra.c (analyze_modified_params): Loop over all
      	representatives of components of a parameter.
      
      	* testsuite/gcc.c-torture/execute/pr41750.c: New test.
      
      From-SVN: r153809
      Martin Jambor committed
    • re PR tree-optimization/41841 (segfault using '-O -fipa-cp -fipa-struct-reorg… · 68052d59
      re PR tree-optimization/41841 (segfault using '-O -fipa-cp -fipa-struct-reorg -fwhole-program -fprofile-generate')
      
      	PR tree-optimization/41841
      	* ipa-struct-reorg.c (build_data_structure): Don't attempt to look at
      	local variables of not yet materialized clones.
      
      	* gcc.dg/pr41841.c: New test.
      
      From-SVN: r153807
      Jakub Jelinek committed
    • re PR debug/41893 (ICE with -combine and debug) · 0fba566c
      	PR debug/41893
      	* cfgexpand.c (expand_debug_expr): Don't attempt to create DECL_RTL
      	for a VOIDmode variable.
      
      	* gcc.dg/debug/pr41893-1.c: New test.
      	* gcc.dg/debug/pr41893-2.c: New file.
      
      From-SVN: r153806
      Jakub Jelinek committed
    • re PR c++/41774 (ice: vector VEC(visibility,base) pop domain error, in… · 9789ba46
      re PR c++/41774 (ice: vector VEC(visibility,base) pop domain error, in pop_visibility at c-pragma.c:757)
      
      	PR c++/41774
      	* c-pragma.c (visstack): Change into vector of ints rather than
      	enum symbol_visibility.
      	(push_visibility): Add kind argument, push default_visibility together
      	with kind.
      	(pop_visibility): Add kind argument, return true if successful, fail
      	if visibility stack is empty or if stack top is of different kind.
      	(handle_pragma_visibility): Don't check length of visstack, instead
      	call pop_visibility and issue diagnostics if it failed.  Pass 0
      	as last argument to push_visibility and pop_visibility.
      	* c-pragma.h (push_visibility): Add kind argument.
      	(pop_visibility): Likewise.  Return bool instead of void.
      
      	* name-lookup.c (handle_namespace_attrs): Pass 1 as last argument to
      	push_visibility.
      	* parser.c (cp_parser_namespace_definition): Pass 1 as argument to
      	pop_visibility.
      	* rtti.c (push_abi_namespace): Pass 2 as last argument to
      	push_visibility.
      	(pop_abi_namespace): Pass 2 as argument to pop_visibility.
      
      	* g++.dg/ext/visibility/namespace3.C: New test.
      
      From-SVN: r153805
      Jakub Jelinek committed
    • restrict-1.c: Move to c-c++-common. · 3f252b91
      	* gcc.dg/tree-ssa/restrict-1.c: Move to c-c++-common.
      	* gcc.dg/tree-ssa/restrict-2.c: Move to c-c++-common.
      	* gcc.dg/tree-ssa/restrict-4.c: Move to c-c++-common.
      
      From-SVN: r153800
      Jason Merrill committed
    • Daily bump. · d11e83e1
      From-SVN: r153799
      GCC Administrator committed
  2. 01 Nov, 2009 8 commits
    • tree.def (TARGET_MEM_REF): Update comment. · ebcc3d93
      	* tree.def (TARGET_MEM_REF): Update comment.
      	* alias.c (get_alias_set): Retrieve the original memory reference for
      	a TARGET_MEM_REF before proceeding.
      
      From-SVN: r153796
      Eric Botcazou committed
    • [multiple changes] · 958dd42b
      2009-11-01  Tobias Burnus  <burnus@net-b.de>                                            
      
              PR fortran/41872
              * trans-decl.c (gfc_trans_deferred_vars): Do not nullify
              autodeallocated allocatable scalars at the end of scope.
              (gfc_generate_function_code): Fix indention.
              * trans-expr.c (gfc_conv_procedure_call): For allocatable
              scalars, fix calling by reference and autodeallocating
              of intent out variables.
      
      2009-11-01  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/41872
              * gfortran.dg/allocatable_scalar_4.f90: New test.
      
      From-SVN: r153795
      Tobias Burnus committed
    • re PR fortran/41850 (Wrong-code with optional allocatable arrays) · 745ff31f
      2009-11-01  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/41850
              * trans-expr.c (gfc_conv_procedure_call): Deallocate intent-out
              variables only when present. Remove unneccessary present check.
      
      2009-11-01  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/41850
              * gfortran.dg/intent_out_6.f90: New testcase.
      
      From-SVN: r153793
      Tobias Burnus committed
    • tree.c (cv_unqualified): New fn. · 164247b0
      	* tree.c (cv_unqualified): New fn.
      	* cp-tree.h: Declare it.
      	* typeck.c (decay_conversion): Use it instead of TYPE_MAIN_VARIANT.
      
      From-SVN: r153790
      Jason Merrill committed
    • * rtti.c (tinfo_name): Fix lengths for private case. · c86f25e8
      From-SVN: r153789
      Jason Merrill committed
    • re PR c++/41754 (initializer list internal compiler segfault) · 691a1b27
      	PR c++/41754
      	* call.c (compare_ics): Avoid bad union use when
      	comparing two ck_lists.
      
      From-SVN: r153788
      Jason Merrill committed
    • chrono (struct __common_rep_type): New. · cc1e2504
      2009-10-31  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/std/chrono (struct __common_rep_type): New.
      	(duration_cast(const duration<>&),
      	duration<>::duration(const _Rep2&),
      	duration<>::duration(const duration<>&),
      	operator*(const duration<>&, const _Rep2&),
      	operator*(const _Rep1&, const duration<>&),
      	operator/(const duration<>&, const _Rep2&),
      	time_point_cast(const time_point<>&)): Implement resolution of
      	DR 1177 ([Ready] in Santa Cruz), change to not participate to
      	overload resolution if the constraints are not met. 
      	* testsuite/20_util/duration/cons/1_neg.cc: Adjust dg-errors.
      	* testsuite/20_util/duration/cons/dr974.cc: Likewise.
      	* testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust
      	dg-error line numbers.
      	* testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
      	* testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
      
      From-SVN: r153787
      Paolo Carlini committed
    • Daily bump. · 5645baec
      From-SVN: r153786
      GCC Administrator committed
  3. 31 Oct, 2009 8 commits
  4. 30 Oct, 2009 15 commits