1. 21 Oct, 2010 10 commits
    • paolo's avatar
      /cp · 0ff6c167
      paolo authored
      2010-10-21  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/46117
      	* call.c (add_function_candidate): Don't use TREE_VALUE on null
      	parmnode.
      
      /testsuite
      2010-10-21  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/46117
      	* g++.dg/parse/crash57.C: New.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165794 138bc75d-0d04-0410-961f-82ee72b054a4
      0ff6c167
    • uros's avatar
      * Add ChangeLog changes. · 2f3e708a
      uros authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165793 138bc75d-0d04-0410-961f-82ee72b054a4
      2f3e708a
    • jamborm's avatar
      2010-10-21 Martin Jambor <mjambor@suse.cz> · 11476343
      jamborm authored
      	PR tree-optimization/45875
      	* tree.c (get_binfo_at_offset): Remove initial zero offset test.
      
      	* testsuite/g++.dg/ipa/pr45875.C: New test.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165780 138bc75d-0d04-0410-961f-82ee72b054a4
      11476343
    • irar's avatar
      · 09e31a48
      irar authored
      	PR tree-optimization/46049
      	PR tree-optimization/46052
      	* tree-vectorizer.h (enum stmt_vec_info_type): Add new value for
      	shift.
      	(vect_get_slp_defs): Add arguments.
      	* tree-vect-loop.c (vect_create_epilog_for_reduction): Pass scalar
      	operands to vect_get_slp_defs.
      	(vectorizable_reduction): Fix comment, pass scalar operands to
      	vect_get_slp_defs.
      	* tree-vect-stmts.c (vect_get_vec_def_for_operand): Use operand's
      	type to determine number of units in the created vector.
      	(vect_get_vec_defs): Pass scalar operands to vect_get_slp_defs.
      	(vectorizable_conversion): Fix comment.
      	(vectorizable_shift): New function.
      	(vectorizable_operation): Move code that handles shifts to
      	vectorizable_shift.
      	(vectorizable_type_demotion): Fix comment, pass scalar operands to
      	vect_get_slp_defs.
      	(vectorizable_type_promotion, vectorizable_store): Likewise.
      	(vectorizable_condition): Fix comment.
      	(vect_analyze_stmt): Call vectorizable_shift.
      	(vect_transform_stmt): Likewise.
      	* tree-vect-slp.c (vect_get_constant_vectors): Add new argument.
      	Use it as the operand to create vectors for, except reduction
      	initial definition and store.  Use operands type.
      	(vect_get_slp_defs): Add new arguments.  Pass them to
      	vect_get_constant_vectors.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165777 138bc75d-0d04-0410-961f-82ee72b054a4
      09e31a48
    • tkoenig's avatar
      2010-10-21 Thomas Koenig <tkoenig@gcc.gnu.org> · a15e7290
      tkoenig authored
      	PR fortran/46007
      	* m4/shape.m4 (shape_'rtype_kind`):  Use variable for rank.
      	Allocate return array if unallocated.
      	* generated/shape_i4.c:  Regenerated.
      	* generated/shape_i8.c:  Regenerated.
      	* generated/shape_i16.c:  Regenerated.
      
      2010-10-21  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/46007
      	* gfortran.dg/shape_5.f90:  New test case.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165770 138bc75d-0d04-0410-961f-82ee72b054a4
      a15e7290
    • janus's avatar
      2010-10-21 Janus Weil <janus@gcc.gnu.org> · f3efaada
      janus authored
      	PR fortran/46060
      	* match.h (gfc_matching_ptr_assignment): New global variable to indicate
      	we're currently matching a (non-proc-)pointer assignment.
      	* decl.c (match_pointer_init): Set it.
      	* match.c (gfc_match_pointer_assignment): Ditto.
      	* primary.c (matching_actual_arglist): New global variable to indicate
      	we're currently matching an actual argument list.
      	(gfc_match_actual_arglist): Set it.
      	(gfc_match_varspec): Reject procedure pointer component calls with
      	missing argument list.
      
      
      2010-10-21  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/46060
      	* gfortran.dg/proc_ptr_comp_25.f90: New.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165769 138bc75d-0d04-0410-961f-82ee72b054a4
      f3efaada
    • rguenth's avatar
      2010-10-21 Richard Guenther <rguenther@suse.de> · 85a846a2
      rguenth authored
      	Michael Matz  <matz@suse.de>
      
      	PR tree-optimization/45764
      	* tree-vect-data-refs.c (vect_compute_data_ref_alignment):
      	Adjust initial misalignment for negative DR_STEP.
      	(vect_find_same_alignment_drs): Two DRs with different DR_STEP
      	do not have the same alignment over the whole iteration domain.
      
              * gcc.dg/torture/pr45764.c: New testcase.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165768 138bc75d-0d04-0410-961f-82ee72b054a4
      85a846a2
    • rguenth's avatar
      2010-10-21 Richard Guenther <rguenther@suse.de> · 64ade643
      rguenth authored
      	PR tree-optimization/46111
      	* tree-parloops.c (take_address_of): Re-organize for MEM_REF.
      
      	* g++.dg/torture/pr46111.C: New testcase.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165765 138bc75d-0d04-0410-961f-82ee72b054a4
      64ade643
    • janus's avatar
      2010-10-21 Janus Weil <janus@gcc.gnu.org> · de6b1ec9
      janus authored
      	PR fortran/46067
      	* interface.c (gfc_compare_interfaces): Switch arguments of type
      	comparison (important for polymorphic variables).
      
      
      2010-10-21  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/46067
      	* gfortran.dg/dummy_procedure_4.f90: New.
      	* gfortran.dg/proc_ptr_30.f90: New.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165755 138bc75d-0d04-0410-961f-82ee72b054a4
      de6b1ec9
    • burnus's avatar
      2010-10-21 Tobias Burnus <burnus@net-b.de> · 62d8c84c
      burnus authored
              PR fortran/46100
              * expr.c (gfc_check_vardef_context): Treat pointer functions
              as variables.
      
      2010-10-21  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/46100
              * gfortran.dg/ptr-func-1.f90: New.
              * gfortran.dg/ptr-func-2.f90: New.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165749 138bc75d-0d04-0410-961f-82ee72b054a4
      62d8c84c
  2. 20 Oct, 2010 12 commits
    • jakub's avatar
      PR tree-optimization/45919 · 4938e520
      jakub authored
      	* tree-ssa-ccp.c (fold_nonarray_ctor_reference): Handle flexible
      	array members.
      
      	* gcc.c-torture/compile/pr45919.c: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165740 138bc75d-0d04-0410-961f-82ee72b054a4
      4938e520
    • jakub's avatar
      PR tree-optimization/46066 · 4bcf12c5
      jakub authored
      	* tree-parloops.c (create_parallel_loop): Use gsi_last_nondebug_bb
      	instead of gsi_last_bb.
      
      	* gcc.dg/autopar/pr46066.c: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165739 138bc75d-0d04-0410-961f-82ee72b054a4
      4bcf12c5
    • ro's avatar
      fixincludes: · 166b4e81
      ro authored
      	PR c++/46024
      	* inclhack.def (solaris_sys_va_list): New fix.
      	* fixincl.x: Regenerate.
      	* tests/base/sys/va_list.h: New test.
      
      	gcc/testsuite:
      	PR c++/46024
      	* g++.dg/warn/miss-format-1.C: Enclose dg-error target list in braces.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165731 138bc75d-0d04-0410-961f-82ee72b054a4
      166b4e81
    • jason's avatar
      PR c++/46056 · 936983bf
      jason authored
      	* parser.c (cp_convert_range_for): Call cp_finish_decl
      	instead of finish_expr_stmt.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165726 138bc75d-0d04-0410-961f-82ee72b054a4
      936983bf
    • rguenth's avatar
      2010-10-20 Richard Guenther <rguenther@suse.de> · 491dbbe1
      rguenth authored
      	PR lto/45667
      	* lto-streamer-out.c (output_gimple_stmt): Fix typo.
      	* tree-cfg.c (verify_gimple_call): Properly get the call fndecl.
      	(verify_gimple_assign_single): Disable ADDR_EXPR type check
      	when in LTO.
      
      	* g++.dg/lto/20101020-1_0.h: New testcase.
      	* g++.dg/lto/20101020-1_0.C: Likewise.
      	* g++.dg/lto/20101020-1_1.C: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165725 138bc75d-0d04-0410-961f-82ee72b054a4
      491dbbe1
    • amonakov's avatar
      2010-10-20 Dmitry Melnik <dm@ispras.ru> · cfddd623
      amonakov authored
      gcc/
      	* fold-const.c (fold_binary_loc): New transformation.
      
      gcc/testsuite/
      	* gcc.dg/20101013-1.c: New test.
      
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165720 138bc75d-0d04-0410-961f-82ee72b054a4
      cfddd623
    • hjl's avatar
      Correct reduc_splus_v8sf and reduc_splus_v4df. · 19fbdfaf
      hjl authored
      gcc/
      
      2010-10-20  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/46085
      	* config/i386/sse.md (reduc_splus_v8sf): Updated.
      	(reduc_splus_v4df): Likewise.
      
      gcc/testsuite/
      
      2010-10-20  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/46085
      	* gcc.target/i386/pr46085-1.c: New.
      	* gcc.target/i386/pr46085-2.c: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165719 138bc75d-0d04-0410-961f-82ee72b054a4
      19fbdfaf
    • rguenth's avatar
      2010-10-20 Richard Guenther <rguenther@suse.de> · 3211fa0a
      rguenth authored
      	PR tree-optimization/45860
      	* tree-ssa-phiopt.c (cond_store_replacement): Do not do
      	conditional store replacement for non-register type stores.
      
      	* gcc.dg/torture/pr45860.c: New testcase.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165718 138bc75d-0d04-0410-961f-82ee72b054a4
      3211fa0a
    • ebotcazou's avatar
      * stor-layout.c (skip_simple_constant_arithmetic): New function. · 85cea2e3
      ebotcazou authored
      	(self_referential_size): Use it instead of skip_simple_arithmetic.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165716 138bc75d-0d04-0410-961f-82ee72b054a4
      85cea2e3
    • hainque's avatar
      * config/rs6000/rs6000.c (rs6000_reg_live_or_pic_offset_p): · 36db6e56
      hainque authored
              If the current function calls eh_return, claim live all registers
              that we need to check for liveness otherwise.
      
              testsuite/
              * gcc.target/powerpc (ehreturn.c): New test.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165715 138bc75d-0d04-0410-961f-82ee72b054a4
      36db6e56
    • nicola's avatar
      In gcc/: · 64cd9619
      nicola authored
      2010-10-20  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * c-decl.c (c_write_global_declarations): Call
              objc_write_global_declarations when compiling Objective-C.
              * c-lang.c (finish_file): Removed.
      
      In gcc/c-family/:
      2010-10-20  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * c-common.h (finish_file): Removed.
              (objc_write_global_declarations): New.
              * c-opts.c (c_common_parse_file): Do not call finish_file.
              * stub-objc.c (objc_write_global_declarations): New.
      
      In gcc/cp/:
      2010-10-20  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * cp-lang.c (finish_file): Removed.
              * decl2.c (cp_write_global_declarations): Call
              objc_write_global_declarations when compiling Objective-C++.
      
      In gcc/objc/:
      2010-10-20  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * objc-lang.c (finish_file): Removed.
              * objc-act.c (objc_finish_file): Renamed to
              objc_write_global_declarations.  Do not try to instantiate C++
              templates when compiling Objective-C++ as this is now
              automatically done before this function is called.  Do not check
              for syntax-only run or PCH generation as this is done by the
              callers.
              * objc-act.h (objc_finish_file): Removed.
      
      In gcc/objcp/:
      2010-10-20  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * objcp-lang.c (finish_file): Removed.
      
      In gcc/testsuite/:
      2010-10-20  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              Merge from 'apple/trunk' branch on FSF servers.  Test adapted to
              not require Foundation and run with the GNU runtime as well.
      
              2006-03-13  Fariborz Jahanian <fjahanian@apple.com>
      
              Radar 4439126
              * obj-c++.dg/template-8.mm: New.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165714 138bc75d-0d04-0410-961f-82ee72b054a4
      64cd9619
    • nicola's avatar
      In gcc/testsuite/: · 3d351323
      nicola authored
      2010-10-20  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              PR objc/23709
              * objc.dg/pr23709.m: New.
              * obj-c++.dg/pr23709.m: New.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165713 138bc75d-0d04-0410-961f-82ee72b054a4
      3d351323
  3. 19 Oct, 2010 3 commits
  4. 18 Oct, 2010 12 commits
    • nicola's avatar
      In gcc/testsuite/: · 2ea784be
      nicola authored
      2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              Merge from 'apple/trunk' branch on FSF servers.
      
              2006-03-16 Fariborz Jahanian <fjahanian@apple.com>
      
              Radar 4293709
              * objc.dg/proto-init-mimatch-1.m: New.
              * obj-c++.dg/proto-init-mimatch-1.mm: New.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165668 138bc75d-0d04-0410-961f-82ee72b054a4
      2ea784be
    • nicola's avatar
      In gcc/: · e1f293c0
      nicola authored
      2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              Implemented parsing @synthesize and @dynamic for Objective-C.
              * c-parser.c (c_parser_external_declaration): Recognize
              RID_AT_SYNTHESIZE and RID_AT_DYNAMIC.
              (c_parser_objc_at_synthesize_declaration): New.
              (c_parser_objc_at_dynamic_declaration): New.
      
      2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * c-parser.c (c_parser_objc_class_declaration): After finding an
              error, parse the whole declaration then reset parser->error.
      
      In gcc/cp/:
      2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              Implemented parsing @synthesize and @dynamic for Objective-C++.
              * parser.c (cp_parser_objc_method_definition_list): Recognize
              RID_AT_SYNTHESIZE and RID_AT_DYNAMIC.
              (cp_parser_objc_at_dynamic_declaration): New.
              (cp_parser_objc_at_synthesize_declaration): New.
      
      2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * parser.c (cp_parser_objc_identifier_list): Check the return
              value of cp_parser_identifier and react if it is error_mark_node.
      
      In gcc/objc/:
      2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              Implemented parsing @synthesize and @dynamic for
              Objective-C/Objective-C++.
              * objc-act.c (objc_add_synthesize_declaration): New.
              (objc_add_dynamic_declaration): New.
      
      2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * objc-act.c (lookup_and_install_protocols): Return NULL if passed
              error_mark_node.
      
      In gcc/testsuite/:
      2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              Implemented parsing @synthesize and @dynamic for
              Objective-C/Objective-C++.
              * objc.dg/property/dynamic-1.m: New.
              * objc.dg/property/synthesize-1.m: New.
              * obj-c++.dg/property/dynamic-1.mm: New.
              * obj-c++.dg/property/synthesize-1.mm: New.
      
      2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * objc.dg/at-class-1.m: New.
              * objc.dg/at-class-1.mm: New.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165667 138bc75d-0d04-0410-961f-82ee72b054a4
      e1f293c0
    • sje's avatar
      2010-10-18 Steve Ellcey <sje@cup.hp.com> · 6e3c87d0
      sje authored
      	* gcc.c-torture/compile/920625-1.c: Remove dg-prune-output lines.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165665 138bc75d-0d04-0410-961f-82ee72b054a4
      6e3c87d0
    • nicola's avatar
      In gcc/objc/: · a1176db9
      nicola authored
      2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              Merge from 'apple/trunk' branch on FSF servers.
      
              2006-03-10  Fariborz Jahanian <fjahanian@apple.com>
      
              Radar 4407151
              * objc/objc-act.c (objc_is_class_name): template parameter is not
              an objective class name.
              (objc_generate_cxx_cdtors): Check for the null
              objc_implementation_context.
      
      In gcc/testsuite/:
      2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              Merge from 'apple/trunk' branch on FSF servers.
      
              2006-01-17  Fariborz Jahanian <fjahanian@apple.com>
      
              Radar 4407151
              * obj-c++.dg/template-7.mm: New.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165657 138bc75d-0d04-0410-961f-82ee72b054a4
      a1176db9
    • nicola's avatar
      In gcc/: · dd26ec9b
      nicola authored
      2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              Merge from 'apple/trunk' branch on FSF servers. 
              * c-parser.c (c_parser_objc_type_name): Adapted to new parser the
              following Objective-C change:
      
              2005-10-10  Fariborz Jahanian <fjahanian@apple.com>
      
              Radar 4301047
              * c-parse.in (objc_quals): Build objc qualifier list same way
              as gcc-3.3
              
      In gcc/testsuite/:
      2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              * objc.dg/proto-qual-1.m: Adjust test for GNU runtime to match
              bugfix.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165656 138bc75d-0d04-0410-961f-82ee72b054a4
      dd26ec9b
    • nicola's avatar
      In gcc/: · 69b07042
      nicola authored
      2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              Merge from 'apple/trunk' branch on FSF servers.
              * c-parser.c (c_parser_typeof_specifier): Adapted to new parser
              the following Objective-C change:
      
              2005-10-07  Fariborz Jahanian <fjahanian@apple.com>
      
              Radar 4204796
              * c-parse.in (typespec_nonreserved_nonattr): Remove volatile from
              'volatilized' type used in a typeof operator.
      
      In gcc/c-family/:
      2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              Merge from 'apple/trunk' branch on FSF servers.
              
              2005-11-08  Fariborz Jahanian <fjahanian@apple.com>
      
              Radar 4330422
              * c-common.h (objc_non_volatilized_type): New declaration
              * stub-objc.c (objc_non_volatilized_type): New stub.
      
      In gcc/cp/:
      2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
              
              Merge from apple/trunk branch on FSF servers.
              
              2005-03-01 Fariborz Jahanian <fjahanian@apple.com>
      
              Radar 4451818
              * call.c (standard_conversion, implicit_conversion): Ignore
              'volatile' attribute of artificially volatized type in objc when
              evaluating various conversion weights.
      
              2005-11-08  Fariborz Jahanian <fjahanian@apple.com>
      
              Radar 4330422
              * typeck.c (comp_ptr_ttypes_real): Remove the hack. un-volatize the
              artiificially 'volatized' type before doing pointer comparison.
              
      In gcc/objc/:
      2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              Merge from 'apple/trunk' branch on FSF servers.
              
              2005-11-08  Fariborz Jahanian <fjahanian@apple.com>
      
              Radar 4330422
              * objc/objc-act.c (objc_non_volatilized_type): New
      
              2005-10-07  Fariborz Jahanian <fjahanian@apple.com>
              
              Radar 4204796
              * objc-act.c (objc_build_volatilized_type): Build 'volatilzed'
              types with proper attribute set and correctly.
              (objc_volatilize_decl): Remove unneeded code.
              (objc_type_quals_match): Use the new attribute to check on
              'volatilzed' type.
              (hash_init): removed unneeded code.
              
      In gcc/testsuite/:
      2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
              
              Merge from 'apple/trunk' branch on FSF servers.
      
              2005-03-01 Fariborz Jahanian <fjahanian@apple.com>
      
              Radar 4451818
              * obj-c++.dg/try-catch-16.mm: New.
              * obj-c++.dg/try-catch-17.mm: New.
      
              2005-11-08  Fariborz Jahanian <fjahanian@apple.com>
      
              Radar 4330422
              * obj-c++.dg/try-catch-15.mm: New
      
              2005-10-07  Fariborz Jahanian <fjahanian@apple.com>
      
              Radar 4204796
              * obj-c++.dg/try-catch-12.mm: New
              * obj-c++.dg/try-catch-13.mm: New
              * obj-c++.dg/try-catch-14.mm: New
              * objc.dg/try-catch-11.m: New
              * objc.dg/try-catch-12.m: New
              * objc.dg/try-catch-13.m: New
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165654 138bc75d-0d04-0410-961f-82ee72b054a4
      69b07042
    • rth's avatar
      * gcc.target/ia64/20101014.c: Fix double-paste of test case. · 00324701
      rth authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165653 138bc75d-0d04-0410-961f-82ee72b054a4
      00324701
    • jakub's avatar
      PR c/46015 · 95f11b21
      jakub authored
      	* c-parser.c (c_parser_statement_after_labels): Call mark_exp_read
      	on computed goto argument.
      
      	* semantics.c (finish_goto_stmt): Call mark_rvalue_use on computed
      	goto destination.
      
      	* c-c++-common/Wunused-var-13.c: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165643 138bc75d-0d04-0410-961f-82ee72b054a4
      95f11b21
    • rguenth's avatar
      2010-10-18 Richard Guenther <rguenther@suse.de> · e856db01
      rguenth authored
      	PR tree-optimization/45967
      	* tree-ssa-structalias.c (type_could_have_pointers): Remove.
      	(could_have_pointers): Likewise.
      	(handle_rhs_call, handle_const_call, handle_pure_call,
      	find_func_aliases, intra_create_variable_infos): Remove calls to them.
      	(struct fieldoff): Add must_have_pointers field.
      	(type_must_have_pointers): New function.
      	(field_must_have_pointers): Likewise.
      	(push_fields_onto_fieldstack): Remove must_have_pointers_p argument.
      	Adjust field merging.
      	(create_function_info_for): May-have-pointers of varinfo is
      	almost always true.
      	(create_variable_info_for_1): Likewise.
      
      	* gcc.dg/torture/pr45967.c: New testcase.
      	* gcc.dg/ipa/ipa-pta-10.c: Adjust.
      	* gcc.dg/ipa/ipa-pta-13.c: Likewise
      	* gcc.dg/torture/pr39074-2.c: Likewise
      	* gcc.dg/torture/pta-escape-1.c: Likewise
      	* gcc.dg/torture/pta-ptrarith-1.c: Likewise
      	* gcc.dg/tree-ssa/pta-callused.c: Likewise
      	* gcc.dg/tree-ssa/pta-escape-1.c: Likewise
      	* gcc.dg/tree-ssa/pta-escape-2.c: Likewise
      	* gcc.dg/tree-ssa/pta-escape-3.c: Likewise
      	* gcc.dg/tree-ssa/ssa-pre-21.c: Likewise
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165641 138bc75d-0d04-0410-961f-82ee72b054a4
      e856db01
    • ktietz's avatar
      2010-10-18 Kai Tietz <kai.tietz@onevision.com> · f8ea0622
      ktietz authored
              * gfortran.dg/bessel_7.f90: Set xfail for mingw targets.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165633 138bc75d-0d04-0410-961f-82ee72b054a4
      f8ea0622
    • rguenth's avatar
      2010-10-18 Richard Guenther <rguenther@suse.de> · 1f31c3fc
      rguenth authored
      	PR lto/44950
      	* tree.c (free_lang_data_in_decl): As we clear TYPE_METHODS
      	also clear references to entries of it.
      
      	* g++.dg/lto/20101015-2_0.C: New testcase.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165629 138bc75d-0d04-0410-961f-82ee72b054a4
      1f31c3fc
    • jakub's avatar
      PR middle-end/46019 · de78584e
      jakub authored
      	* fold-const.c (fold_binary_loc): If integer_pow2p has
      	TREE_INT_CST_LOW zero, look at TREE_INT_CST_HIGH.
      
      	* gcc.c-torture/execute/pr46019.c: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165610 138bc75d-0d04-0410-961f-82ee72b054a4
      de78584e
  5. 17 Oct, 2010 3 commits
    • nicola's avatar
      In gcc/cp/: · 260681ca
      nicola authored
      2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              Merge from apple/trunk branch on FSF servers.
      
              2006-04-19 Fariborz Jahanian <fjahanian@apple.com>
      
              Radar 4516785
              * parser.c (cp_parser_simple_type_specifier): Don't lookup for
              objc object types if type is scope qualified.
      
      In gcc/testsuite/:
      2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              Merge from 'apple/trunk' branch on FSF servers.
      
              2006-04-19 Fariborz Jahanian <fjahanian@apple.com>
      
              Radar 4516785
              * obj-c++.dg/method-namespace-2.mm: New.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165602 138bc75d-0d04-0410-961f-82ee72b054a4
      260681ca
    • nicola's avatar
      In gcc/: · f15f2e56
      nicola authored
      2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              Merge from 'apple/trunk' branch on FSF servers.
      
              2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
      
              Radar 4133425
              * c-decl.c (undeclared_variable): Issue diagnostic on
              private 'ivar' access.
      
      In gcc/c-family/:
      2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              Merge from 'apple/trunk' branch on FSF servers.
      
              2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
      
              Radar 4133425
              * c-common.h (objc_diagnose_private_ivar): New decl.
              * stub-objc.c (objc_diagnose_private_ivar): New stub.
      
      In gcc/cp/:
      2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              Merge from apple/trunk branch on FSF servers.
      
              2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
      
              Radar 4133425
              * lex.c (unqualified_name_lookup_error): Issue diagnostic
              for private 'ivar' access.
      
      In gcc/objc/:
      2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              Merge from 'apple/trunk' branch on FSF servers.
      
              2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
      
              Radar 4133425
              * objc-act.c (objc_diagnose_private_ivar): New.
      
      In gcc/testsuite/:
      2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
      
              Merge from 'apple/trunk' branch on FSF servers.
      
              2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
      
              Radar 4133425
              * objc.dg/private-1.m: Test modified.
              * obj-c++.dg/private-1.mm: Test modified.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165601 138bc75d-0d04-0410-961f-82ee72b054a4
      f15f2e56
    • uros's avatar
      PR testsuite/45987 · b1572e09
      uros authored
      	* gcc.target/i386/push-1.c: Remove.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165600 138bc75d-0d04-0410-961f-82ee72b054a4
      b1572e09