1. 20 Oct, 2010 12 commits
    • 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
    • vmakarov's avatar
      2010-10-20 Vladimir Makarov <vmakarov@redhat.com> · 588c6733
      vmakarov authored
      	PR fortran/42169
      	* ira-emit.c (store_can_be_removed_p): Return false instead of
      	gcc_unreachable.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165722 138bc75d-0d04-0410-961f-82ee72b054a4
      588c6733
    • hjl's avatar
      Add LTO to boot language if it is enabled. · 55e9d7d7
      hjl authored
      2010-10-20  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR bootstrap/45954
      	* config-lang.in (boot_language): Set to $enable_lto.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165721 138bc75d-0d04-0410-961f-82ee72b054a4
      55e9d7d7
    • 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
    • gccadmin's avatar
      Daily bump. · 10b25397
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165712 138bc75d-0d04-0410-961f-82ee72b054a4
      10b25397
  2. 19 Oct, 2010 25 commits
    • paolo's avatar
      /cp · 7a38812e
      paolo authored
      2010-10-19  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/46046
      	* pt.c (add_to_template_args): Check extra_args for error_mark_node.
      	(coerce_template_parms): Likewise for args.
      
      /testsuite
      2010-10-19  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/46046
      	* g++.dg/template/crash104.C: New.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165708 138bc75d-0d04-0410-961f-82ee72b054a4
      7a38812e
    • dj's avatar
      * doc/tm.texi.in (TARGET_ASM_JUMP_ALIGN_MAX_SKIP): New. · ae2b9f1f
      dj authored
      (TARGET_ASM_LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Change to hook.
      (TARGET_ASM_LOOP_ALIGN_MAX_SKIP): Likewise.
      (TARGET_ASM_LABEL_ALIGN_MAX_SKIP): Likewise.
      * doc/tm.texi: Regenerate.
      * targhooks.h (default_label_align_after_barrier_max_skip,
      default_loop_align_max_skip, default_label_align_max_skip,
      default_jump_align_max_skip): Declare.
      * target.def (label_align_after_barrier_max_skip): New.
      (loop_align_max_skip): New.
      (label_align_max_skip): New.
      (jump_align_max_skip): New.
      * system.h (poison): Add those macros to the list.
      * final.c (LABEL_ALIGN_MAX_SKIP): Remove.
      (LOOP_ALIGN_MAX_SKIP): Remove.
      (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Remove.
      (JUMP_ALIGN_MAX_SKIP): Remove.
      (default_label_align_after_barrier_max_skip): New.
      (default_loop_align_max_skip): New.
      (default_label_align_max_skip): New.
      (default_jump_align_max_skip): New.
      (compute_alignments): Use the new hooks.
      (shorten_branches): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165707 138bc75d-0d04-0410-961f-82ee72b054a4
      ae2b9f1f
    • rth's avatar
      Add patterns for FMA3. · 5e2b6fd0
      rth authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165705 138bc75d-0d04-0410-961f-82ee72b054a4
      5e2b6fd0
    • pkoning's avatar
      * lower-subreg.c (resolve_shift_zext): Delete conditional code for · 33596f47
      pkoning authored
      WORDS_BIG_ENDIAN != BYTES_BIG_ENDIAN.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165703 138bc75d-0d04-0410-961f-82ee72b054a4
      33596f47
    • rth's avatar
      Add FMA patterns for ia64. · 2fd6708c
      rth authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165702 138bc75d-0d04-0410-961f-82ee72b054a4
      2fd6708c
    • eager's avatar
      Use sjlj unwind. · d6eb1ad0
      eager authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165701 138bc75d-0d04-0410-961f-82ee72b054a4
      d6eb1ad0
    • fxcoudert's avatar
      PR fortran/43414 · 2b4cd2dd
      fxcoudert authored
      	* dwarf2out.c (add_calling_convention_attribute): Flag main
      	Fortran subroutine with DW_AT_main_subprogram.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165699 138bc75d-0d04-0410-961f-82ee72b054a4
      2b4cd2dd
    • charlet's avatar
      2010-10-19 Ed Schonberg <schonberg@adacore.com> · 39d4bf68
      charlet authored
      	* exp_ch4.adb, exp_ch4.ads (Expand_Quantified_Expression): New procedure
      	* exp_util.adb (Insert_Actions): Include Quantified_Expression.
      	* expander.adb: Call Expand_Qualified_Expression.
      	* par.adb: New procedure P_Quantified_Expression. Make
      	P_Loop_Parameter_Specification global for use in quantified expressions.
      	* par-ch3.adb (P_Subtype_Mark_Resync): Allow "some" as an identifier if
      	version < Ada2012.
      	* par-ch4.adb: New procedure P_Quantified_Expression.
      	* par-ch5.adb: P_Loop_Parameter_Specification is now global.
      	* scans.adb, scans.ads: Introduce token Some. For now leave as
      	unreserved.
      	* scn.adb (Scan_Reserved_Identifier): For earlier versions of Ada,
      	treat Some as a regular identifier.
      	* sem.adb: Call Analyze_Quantified_Expression.
      	* sem_ch4.adb, sem_ch4.ads: New procedure Analyze_Quantified_Expression.
      	* sem_ch5.adb, sem_ch5.ads: Analyze_Iteration_Scheme is public, for use
      	in quantified expressions.
      	* sem_res.adb: New procedure Resol...
      39d4bf68
    • rguenth's avatar
      2010-10-19 Richard Guenther <rguenther@suse.de> · 1a20da3b
      rguenth authored
      	PR testsuite/46081
      	* gcc.dg/ipa/ipa-pta-10.c: Adjust.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165697 138bc75d-0d04-0410-961f-82ee72b054a4
      1a20da3b
    • charlet's avatar
      2010-10-19 Robert Dewar <dewar@adacore.com> · 9f294c82
      charlet authored
      	* sem_eval.adb: Minor reformatting.
      
      2010-10-19  Tristan Gingold  <gingold@adacore.com>
      
      	* exp_ch4.adb (Expand_N_And_Op, Expand_N_Or_Op, Expand_N_Xor_Op): Call
      	Expand_Intrinsic_Call if the function is intrinsic.
      	* exp_intr_adb (Expand_Binary_Operator): Handle VMS case for logical
      	binary operator on the unsigned_quadword record.
      	* exp_intr.ads (Expand_Intrinsic_Call): Update comments.
      
      2010-10-19  Geert Bosch  <bosch@adacore.com>
      
      	* gnat_rm.texi (pragma Float_Representation): Fix typo.
      
      2010-10-19  Arnaud Charlet  <charlet@adacore.com>
      
      	* switch-c.adb (Scan_Front_End_Switches): Add handling of -gnateE.
      	* fe.h (Exception_Extra_Info): Declare.
      	* usage.adb (usage): Add -gnateE doc.
      	* checks.adb (Install_Null_Excluding_Check): Use better sloc.
      	* sem_util.adb (Insert_Explicit_Dereference): Ditto.
      	* gnat_ugn.texi: Document -gnateE switch.
      	* a-except.adb (Set_Exception_C_Msg): New parameter Column.
      	* a-except-2005.adb (Set_Exception_C_Msg): New parameter Column.
      	(Raise_Constraint_Error_Msg): Ditto.
      	(Image): New helper function.
      	(Rcheck_00_Ext, Rcheck_05_Ext, Rcheck_12_Ext): New procedure with more
      	detailed exception information.
      	Adjust calls to Set_Exception_C_Msg and Raise_Constraint_Error_Msg.
      	* a-exexda.adb (Set_Exception_C_Msg): New parameter Column.
      	* opt.ads (Exception_Extra_Info): New flag.
      	* gcc-interface/utils.c (gnat_raise_decls_ext): New.
      	* gcc-interface/utils2.c (build_call_raise_range,
      	build_call_raise_column): New functions.
      	* gcc-interface/gigi.h (exception_info_kind, gnat_raise_decls_ext,
      	build_call_raise_range, build_call_raise_column): Declare.
      	gcc-interface/trans.c (build_raise_check): New function.
      	(gigi): Initialize gnat_raise_decls_ext.
      	(gnat_to_gnu): Add initial support for -gnateE switch.
      	* gcc-interface/Make-lang.in: Update dependencies.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165696 138bc75d-0d04-0410-961f-82ee72b054a4
      9f294c82
    • charlet's avatar
      2010-10-19 Geert Bosch <bosch@adacore.com> · 5b5df4a9
      charlet authored
      	* ttypef.ads: Change VAXDF_Last to be -VAXDF_First, as type is
      	symmetric.
      
      2010-10-19  Robert Dewar  <dewar@adacore.com>
      
      	* atree.h (Field29): Fix incorrect definition.
      	* einfo.adb (Invariant_Procedure): New attribute
      	(Has_Invariants): New flag
      	(Has_Inheritable_Invariants): New flag
      	(OK_To_Reference): New flag
      	Minor code reorganization (use Next_Rep_Item function)
      	* einfo.ads (Invariant_Procedure): New attribute
      	(Has_Invariants): New flag
      	(Has_Inheritable_Invariants): New flag
      	(OK_To_Reference): New flag
      	* exp_ch3.adb (Expand_N_Object_Declaration): Add check for invariant
      	* exp_ch4.adb (Expand_N_Type_Conversion): Check invariant on type
      	conversion.  Minor reformatting.
      	* exp_util.ads, exp_util.adb (Make_Invariant_Call): New procedure.
      	* opt.ads (List_Inherited_Aspects): New name for List_Inherited_Pre_Post
      	* par-prag.adb: Add dummy entry for pragma Invariant.
      	* sem_ch13.adb (Build_Invariant_Procedure): New procedure
      	(Analyze_Aspect_Specification): Add support for Invariant aspect
      	* sem_ch13.ads (Build_Invariant_Procedure): New procedure
      	* sem_ch3.adb (Build_Derived_Type): Propagate invariant information
      	(Process_Full_View): Deal with invariants, building invariant procedure
      	Minor reformatting
      	* sem_ch6.adb (Process_PPCs): Add processing of invariants
      	* sem_ch7.adb (Analyze_Package_Specification): Build invariant
      	procedures.
      	* sem_prag.adb: Implement pragma Invariant.
      	* sem_res.adb (Resolve_Entity_Name): Allow type reference if
      	OK_To_Reference set.
      	* sem_warn.adb (List_Inherited_Aspects): New name for
      	List_Inherited_Pre_Post.
      	* snames.ads-tmpl: Add entries for pragma Invariant.
      	* treepr.adb (Print_Entity_Information): Add handling of Field29.
      	* usage.adb: Warning .l/.L applies to invariant as well as pre/post.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165694 138bc75d-0d04-0410-961f-82ee72b054a4
      5b5df4a9
    • charlet's avatar
      Minor reformatting. · d03ada96
      charlet authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165693 138bc75d-0d04-0410-961f-82ee72b054a4
      d03ada96
    • charlet's avatar
      2010-10-19 Javier Miranda <miranda@adacore.com> · aee37720
      charlet authored
      	* par-ch4.adb: Update documentation of Ada 2012 syntax rules for
      	membership test.
      
      2010-10-19  Bob Duff  <duff@adacore.com>
      
      	* sem_attr.adb (Eval_Attribute): Implement Max_Alignment_For_Allocation
      	attribute.
      	* exp_attr.adb (Expand_N_Attribute_Reference): Add
      	Attribute_Max_Alignment_For_Allocation to the case statement.
      	* snames.ads-tmpl (Name_Max_Alignment_For_Allocation,
      	Attribute_Max_Alignment_For_Allocation): New attribute name.
      
      2010-10-19  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch3.adb (OK_For_Limited_Init_In_05): a call to an access to
      	parameterless function appears syntactically as an explicit dereference.
      
      2010-10-19  Thomas Quinot  <quinot@adacore.com>
      
      	* sem_ch8.adb, sem_ch12.adb, opt.ads, sem_ch6.adb, sem_res.adb,
      	i-cexten.ads, exp_disp.adb, exp_ch4.adb, exp_ch9.adb: Minor reformatting
      
      2010-10-19  Thomas Quinot  <quinot@adacore.com>
      
      	* sem_util.adb (Collect_Primitive_Operations): A function with an
      	anonymous access result designating T is a primitive operation of T.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165692 138bc75d-0d04-0410-961f-82ee72b054a4
      aee37720
    • nickc's avatar
      * config/rx/rx.c (rx_function_value): Small integer types are · bd7d2835
      nickc authored
              promotes to SImode.
              (rx_promote_function_mode): New function.
              (TARGET_PROMOTE_FUNCTION_MODE): Define.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165690 138bc75d-0d04-0410-961f-82ee72b054a4
      bd7d2835
    • charlet's avatar
      2010-10-19 Tristan Gingold <gingold@adacore.com> · 9ee7df75
      charlet authored
      	* init.c: On Alpha/VMS, only adjust PC for HPARITH.
      
      2010-10-19  Tristan Gingold  <gingold@adacore.com>
      
      	* sem_attr.adb (Eval_Attribute): Handle Attribute_Ref, which can be
      	evaluated on VMS.
      
      2010-10-19  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch12.adb (Check_Generic_Child_Unit): Handle properly the case of
      	an instantiation of a renaming of the implicit generic child that
      	appears within an instance of its parent.
      
      2010-10-19  Thomas Quinot  <quinot@adacore.com>
      
      	* exp_ch9.adb: Minor reformatting.
      	* einfo.adb, einfo.ads, atree.adb, atree.ads, exp_dist.adb, atree.h:
      	(Referenced_Object): Remove unused entity attribute.
      	(Direct_Primitive_Operations): Move to Elist10, this is set for all
      	tagged types, including synchronous ones, so can't use field15 which is
      	used as Storage_Size_Variable for task types and Entry_Bodies_Array for
      	protected types.
      	(Add_RACW_Primitive_Declarations_And_Bodies): Remove bogus guard
      	against Concurrent_Types (we must handle the case of a RACW designating
      	a class-wide private synchronous type).
      	Use Direct_Primitive_Operations, not Primitive_Operations, since we
      	really want the former.
      
      2010-10-19  Bob Duff  <duff@adacore.com>
      
      	* sem_ch8.adb (Pop_Scope): Change "return;" to "raise Program_Error;".
      
      2010-10-19  Javier Miranda  <miranda@adacore.com>
      
      	* exp_ch4.adb (Expand_Set_Membership.Make_Cond): Add missing support
      	for N_Range nodes.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165689 138bc75d-0d04-0410-961f-82ee72b054a4
      9ee7df75
    • charlet's avatar
      2010-10-19 Thomas Quinot <quinot@adacore.com> · 07173d14
      charlet authored
      	* einfo.ads, atree.ads: Minor comment fixes.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165688 138bc75d-0d04-0410-961f-82ee72b054a4
      07173d14
    • nickc's avatar
      * config/mep/mep.c (mep_print_operand): Use · 44ddcf5e
      nickc authored
              targetm.strip_name_encoding.
              (mep_output_aligned_common): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165682 138bc75d-0d04-0410-961f-82ee72b054a4
      44ddcf5e
    • bstarynk's avatar
      2010-10-19 Basile Starynkevitch <basile@starynkevitch.net> · bc3d3e89
      bstarynk authored
      	* line-map.h (source_location): Remove obsolete comment
      	mentioning location_s.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165680 138bc75d-0d04-0410-961f-82ee72b054a4
      bc3d3e89
    • bstarynk's avatar
      2010-10-19 Basile Starynkevitch <basile@starynkevitch.net> · 165f6d0d
      bstarynk authored
      	* gengtype.c (new_structure): Remove ad-hoc "location_s"
      	processing.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165679 138bc75d-0d04-0410-961f-82ee72b054a4
      165f6d0d
    • rth's avatar
      * simplify-rtx.c (simplify_ternary_operation) [FMA]: Simplify · 5d4d1c96
      rth authored
      	(fma (neg a) (neg b) c) and (fma a (neg b) c).
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165677 138bc75d-0d04-0410-961f-82ee72b054a4
      5d4d1c96
    • rth's avatar
      Simplify FMA4 patterns with FMA rtx code. · a2f9d5b3
      rth authored
      Also fix incorrect rtl generation for scalar instructions.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165676 138bc75d-0d04-0410-961f-82ee72b054a4
      a2f9d5b3
    • jvdelisle's avatar
      2010-10-18 Jerry DeLisle <jvdelisle@gcc.gnu.org> · 79dda023
      jvdelisle authored
      	* io/io.h: Remove definition of the BT enumerator.
      	* libgfortran.h: Replace GFC_DTYPE enumerator with BT.
      	* intrinsics/iso_c_generated_procs.c: Likewise
      	* intrinsics/date_and_time.c: Likewise.
      	* intrinsics/iso_c_binding.c: Likewise.
      	* io/list_read.c: Likewise.
      	* io/transfer.c: Likewise.
      	* io/write.c: Likewise.
      
      2010-10-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	* gfortran.h: Remove definition of bt enumerator.
      	* libgfortran.h: Add bt enumerator type alighned with defintion.
      	Remove the dtype enumerator, no longer used.
      	previously given in libgfortran/io.h
      	* trans-types.c: Use new bt enumerator.
      	* trans-io.c: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165675 138bc75d-0d04-0410-961f-82ee72b054a4
      79dda023
    • bernds's avatar
      PR rtl-optimization/45966 · 590de186
      bernds authored
      	* combine.c (try_combine): If added_sets_2, deal with the case
      	where i0 feeds i1 and i1 feeds i2.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165674 138bc75d-0d04-0410-961f-82ee72b054a4
      590de186
    • gccadmin's avatar
      Daily bump. · 687f2470
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165673 138bc75d-0d04-0410-961f-82ee72b054a4
      687f2470
    • hubicka's avatar
      * ipa.c (cgraph_externally_visible_p): Handle externally visible and · d66ff47e
      hubicka authored
      	preserve flags before trying to guess on visibility.
      	(varpool_externally_visible_p): New function.
      	(function_and_variable_visibility): Use it.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165669 138bc75d-0d04-0410-961f-82ee72b054a4
      d66ff47e
  3. 18 Oct, 2010 3 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
    • meissner's avatar
      Fix PR 46041 · ef97a312
      meissner authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165666 138bc75d-0d04-0410-961f-82ee72b054a4
      ef97a312