aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2012-04-02[multiple changes]Arnaud Charlet17-205/+1327
2012-04-02 Yannick Moy <moy@adacore.com> * osint.adb, osint.ads (Add_Default_Search_Dirs): Add library search dirs in file specified with option -gnateO. 2012-04-02 Robert Dewar <dewar@adacore.com> * sem_ch5.adb, exp_util.adb, sem_util.adb, exp_ch4.adb: Minor reformatting. 2012-04-02 Olivier Hainque <hainque@adacore.com> * g-sse.ads: Add x86-solaris and x86_64-darwin to the set of platforms where the use of this spec is supported. Add current year to the copyright notice. * gcc-interfaces/Makefile.in: Add g-sse.o and g-ssvety.o to EXTRA_GNATRTL_NONTASKING_OBJS on x86 32/64 targets that support it and where they were missing (x86-solaris, x86-freebsd, x86_64-freebsd, and x86-darwin). 2012-04-02 Gary Dismukes <dismukes@adacore.com> * bindgen.adb (Gen_Ada_Init): When compiling for the AAMP small library, where we no longer suppress the Standard_Library, generate an empty body rather than the usual generation of assignments to imported globals, since those aren't present in the small library. 2012-04-02 Ed Schonberg <schonberg@adacore.com> * sinfo.ads: Minor documentation fix. 2012-04-02 Hristian Kirtchev <kirtchev@adacore.com> * sem_res.adb (Resolve_Conditional_Expression): Add local variables Else_Typ and Then_Typ. Add missing type conversions to the "then" and "else" expressions when their respective types are scalar. 2012-04-02 Vincent Pucci <pucci@adacore.com> * exp_ch9.adb: Reordering of the local subprograms. New Table for the lock free implementation that maps each protected subprograms with the protected component it references. (Allow_Lock_Free_Implementation): New routine. Check if the protected body enables the lock free implementation. (Build_Lock_Free_Protected_Subprogram_Body): New routine. (Build_Lock_Free_Unprotected_Subprogram_Body): New routine. (Comp_Of): New routine. * Makefile.rtl: Add s-atopri.o * debug.adb: New compiler debug flag -gnatd9 for lock free implementation. * rtsfind.ads: RE_Atomic_Compare_Exchange_8, RE_Atomic_Compare_Exchange_16, RE_Atomic_Compare_Exchange_32, RE_Atomic_Compare_Exchange_64, RE_Atomic_Load_8, RE_Atomic_Load_16, RE_Atomic_Load_32, RE_Atomic_Load_64, RE_Uint8, RE_Uint16, RE_Uint32, RE_Uint64 added. * s-atropi.ads: New file. Defines atomic primitives used by the lock free implementation. From-SVN: r186076
2012-04-02[multiple changes]Arnaud Charlet10-791/+790
2012-04-02 Emmanuel Briot <briot@adacore.com> * g-expect.adb (Expect_Internal): Fix leak of the input file descriptor. 2012-04-02 Hristian Kirtchev <kirtchev@adacore.com> * exp_ch4.adb (Expand_N_Quantified_Expression): Reimplemented. The expansion no longer uses the copy of the original QE created during analysis. * sem.adb (Analyze): Add processing for loop parameter specifications. * sem_ch4.adb (Analyze_Quantified_Expression): Reimplemented. The routine no longer creates a copy of the original QE. All constituents of a QE are now preanalyzed and resolved. * sem_ch5.adb (Analyze_Iteration_Scheme): Remove the guard which bypasses all processing when the iteration scheme is related to a QE. Relovate the code which analyzes loop parameter specifications to a separate routine. (Analyze_Iterator_Specification): Preanalyze the iterator name. This action was originally done in Analyze_Iteration_Scheme. Update the check which detects an iterator specification in the context of a QE. (Analyze_Loop_Parameter_Specification): New routine. This procedure allows for a stand-alone analysis of a loop parameter specification without the need of a parent iteration scheme. Add code to update the type of the loop variable when the range generates an itype and the context is a QE. (Pre_Analyze_Range): Renamed to Preanalyze_Range. Update all references to the routine. * sem_ch5.ads: Code reformatting. (Analyze_Loop_Parameter_Specification): New routine. * sem_ch6.adb (Fully_Conformant_Expressions): Detect a case when establishing conformance between two QEs utilizing different specifications. * sem_res.adb (Proper_Current_Scope): New routine. (Resolve): Do not resolve a QE as there is nothing to be done now. Ignore any loop scopes generated for QEs when detecting an expression function as the scopes are cosmetic and do not appear in the tree. (Resolve_Quantified_Expression): Removed. All resolution of QE constituents is now performed during analysis. This ensures that loop variables appearing in array aggregates are properly resolved. 2012-04-02 Ed Schonberg <schonberg@adacore.com> * sem_util.adb (Build_Default_Subtype): If the base type is private and its full view is available, use the full view in the subtype declaration. From-SVN: r186074
2012-04-02Complete previous change.Arnaud Charlet1-1/+1
From-SVN: r186073
2012-04-02[multiple changes]Arnaud Charlet7-3/+72
2012-04-02 Jose Ruiz <ruiz@adacore.com> * gnat_ugn.texi: Add some minimal documentation about how to use GNATtest for cross platforms. 2012-04-02 Vincent Celier <celier@adacore.com> * opt.ads (Object_Path_File_Name): New variable. * prj-attr.adb: New Compiler attribute Object_Path_Switches. * prj-nmsc.adb (Process_Compiler): Recognize new attribute Object_Path_Switches. * snames.ads-tmpl: New standard name Object_Path_Switches. * switch-c.adb (Scan_Front_End_Switches): Recognize new switch -gnateO= and put its value in Opt.Object_Path_File_Name. From-SVN: r186072
2012-04-02[multiple changes]Arnaud Charlet5-44/+113
2012-04-02 Hristian Kirtchev <kirtchev@adacore.com> * exp_ch7.adb (Process_Declarations): Detect a case where a source object was initialized by another source object, but the expression was rewritten as a class-wide conversion of Ada.Tags.Displace. * exp_util.adb (Initialized_By_Ctrl_Function): Removed. (Is_Controlled_Function_Call): New routine. (Is_Displacement_Of_Ctrl_Function_Result): Removed. (Is_Displacement_Of_Object_Or_Function_Result): New routine. (Is_Source_Object): New routine. (Requires_Cleanup_Actions): Detect a case where a source object was initialized by another source object, but the expression was rewritten as a class-wide conversion of Ada.Tags.Displace. * exp_util.ads (Is_Displacement_Of_Ctrl_Function_Result): Removed. (Is_Displacement_Of_Object_Or_Function_Result): New routine. 2012-04-02 Ed Schonberg <schonberg@adacore.com> * sem_res.adb (Resolve_Call): A call to an expression function does not freeze if it appears in a different scope from the expression function itself. Such calls appear in the generated bodies of other expression functions, or in pre/postconditions of subsequent subprograms. From-SVN: r186071
2012-04-02[multiple changes]Arnaud Charlet5-60/+129
2012-04-02 Yannick Moy <moy@adacore.com> * lib-xref-alfa.adb: Code clean up. 2012-04-02 Ed Schonberg <schonberg@adacore.com> * sem_ch12.adb (Analyze_Subprogram_Instantiation): Do not suppress style checks, because the subprogram instance itself may contain violations of syle rules. * style.adb (Missing_Overriding): Check for missing overriding indicator on a subprogram instance. 2012-04-02 Hristian Kirtchev <kirtchev@adacore.com> * sem_ch6.adb (Last_Implicit_Declaration): New routine. (Process_PPCs): Insert the body of _postconditions after the last internally generated declaration. This ensures that actual subtypes created for formal parameters are visible and properly frozen as _postconditions may reference them. From-SVN: r186070
2012-04-022012-04-02 Robert Dewar <dewar@adacore.com>Robert Dewar7-8/+296
* einfo.adb (First_Component_Or_Discriminant) Now applies to all types with discriminants, not just records. * exp_attr.adb (Expand_N_Attribute): Add Scalar_Values handling for arrays, scalars and non-variant records. * sem_attr.adb (Analyze_Attribute): Handle Valid_Scalars * sem_attr.ads (Valid_Scalars): Update description * sem_util.ads, sem_util.adb (No_Scalar_Parts): New function. From-SVN: r186069
2012-04-02PR c++/40942 - Failure of template specialization partial orderingDodji Seketeli4-44/+35
gcc/cp/ * pt.c (more_specialized_fn): Don't apply decay conversion to types of function parameters. gcc/testsuite/ * g++.old-deja/g++.pt/spec40.C: Adjust to take the resolution of DR 214 in account. From-SVN: r186067
2012-04-022012-04-02 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-13/+20
* ggc-page.c (PAGE_L1_SIZE, PAGE_L2_SIZE, LOOKUP_L1, LOOKUP_L2) (ggc_allocated_p, lookup_page_table_entry, set_page_table_entry) (alloc_page, init_ggc, clear_marks, struct ggc_pch_data) (ggc_pch_this_base): Use uintptr_t instead of size_t. From-SVN: r186065
2012-04-02Daily bump.GCC Administrator1-1/+1
From-SVN: r186062
2012-04-02re PR c++/50043 ([C++0x] Implement core/1123)Paolo Carlini12-7/+156
/cp 2012-04-01 Paolo Carlini <paolo.carlini@oracle.com> PR c++/50043 * class.c (deduce_noexcept_on_destructor, deduce_noexcept_on_destructors): New. (check_bases_and_members): Call the latter. * decl.c (grokfndecl): Call the former. * method.c (implicitly_declare_fn): Not static. * cp-tree.h (deduce_noexcept_on_destructor, implicitly_declare_fn): Declare /testsuite 2012-04-01 Paolo Carlini <paolo.carlini@oracle.com> PR c++/50043 * g++.dg/cpp0x/noexcept17.C: New. * g++.old-deja/g++.eh/cleanup1.C: Adjust. * g++.dg/tree-ssa/ehcleanup-1.C: Likewise. * g++.dg/cpp0x/noexcept01.C: Likewise. * g++.dg/eh/init-temp1.C: Likewise. * g++.dg/eh/ctor1.C: Likwise. From-SVN: r186058
2012-04-01Daily bump.GCC Administrator1-1/+1
From-SVN: r186054
2012-03-31Don't check TARGET_64BIT if TARGET_64BIT_DEFAULT is falseH.J. Lu2-2/+8
2012-03-31 H.J. Lu <hongjiu.lu@intel.com> PR bootstrap/52784 * config/i386/i386.c (ix86_option_override_internal): Don't check TARGET_64BIT if TARGET_64BIT_DEFAULT is false. From-SVN: r186049
2012-03-31tree-cfg.c (call_can_make_abnormal_goto): New predicate.Eric Botcazou7-19/+133
* tree-cfg.c (call_can_make_abnormal_goto): New predicate. (stmt_can_make_abnormal_goto): Use it. (is_ctrl_altering_stmt): Likewise. From-SVN: r186047
2012-03-31RevertEric Botcazou2-18/+9
2012-03-25 Eric Botcazou <ebotcazou@adacore.com> * gcc-interface/decl.c (SS_MARK_NAME): New define. (gnat_to_gnu_entity) <E_Function>: Prepend leaf attribute on entities whose name is SS_MARK_NAME. From-SVN: r186038
2012-03-31Daily bump.GCC Administrator1-1/+1
From-SVN: r186034
2012-03-30sh.c (push_regs): Skip banked registers when resbank attribute is specified.Naveen H.S2-2/+13
* config/sh/sh.c (push_regs): Skip banked registers when resbank attribute is specified. (sh_expand_epilogue): Likewise. Co-Authored-By: Kaz Kojima <kkojima@gcc.gnu.org> From-SVN: r186024
2012-03-30re PR debug/52727 (internal compiler error at dwarf2cfi.c2:685)Richard Henderson2-0/+50
PR debug/52727 * g++.dg/opt/pr52727.C: New testcase. From-SVN: r186019
2012-03-30re PR debug/52727 (internal compiler error at dwarf2cfi.c2:685)Richard Henderson2-8/+135
PR debug/52727 * combine-stack-adj.c (prev_active_insn_bb): New. (next_active_insn_bb): New. (force_move_args_size_note): New. (combine_stack_adjustments_for_block): Use it. From-SVN: r186018
2012-03-30i386: Add and use one_operand_p to vec_perm control struct.Richard Henderson2-62/+76
* config/i386/i386.c (struct expand_vec_perm_d): Add one_operand_p. (ix86_expand_vector_init_duplicate): Initialize it. (expand_vec_perm_palignr): Likewise. (ix86_expand_vec_perm_const): Likewise. (ix86_vectorize_vec_perm_const_ok): Likewise. (expand_vec_perm_blend): Use it. (expand_vec_perm_vpermil): Likewise. (expand_vec_perm_pshufb): Likewise. (expand_vec_perm_1): Likewise. (expand_vec_perm_pshuflw_pshufhw): Likewise. (expand_vec_perm_interleave2): Likewise. (expand_vec_perm_vpermq_perm_1): Likewise. (expand_vec_perm_vperm2f128): Likewise. (expand_vec_perm_interleave3): Likewise. (expand_vec_perm_vperm2f128_vblend): Likewise. (expand_vec_perm_vpshufb2_vpermq): Likewise. (expand_vec_perm_vpshufb2_vpermq_even_odd): Likewise,. (expand_vec_perm_broadcast): Likewise. (expand_vec_perm_vpshufb4_vpermq2): Likewise. From-SVN: r186017
2012-03-30* dwarf2out.c (gen_variable_die): Initialize off.Richard Henderson2-1/+5
From-SVN: r186016
2012-03-30vms-f.c: New file.Tristan Gingold4-0/+43
2012-03-30 Tristan Gingold <gingold@adacore.com> * config/vms/vms-f.c: New file. * config/vms/t-vms (vms-f.o): New rule. * config.gcc (*-*-*vms*): Define fortran_target_objs. From-SVN: r186013
2012-03-30re PR other/52754 (indirect indexing broken with -fpredictive-commoning)Richard Guenther4-6/+50
2012-03-30 Richard Guenther <rguenther@suse.de> PR tree-optimization/52754 * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Only propagate arbitrary addresses into really plain dereferences. * gcc.target/i386/pr52754.c: New testcase. From-SVN: r186012
2012-03-30re PR c++/52772 (internal compiler error: Segmentation fault)Richard Guenther4-6/+107
2012-03-30 Richard Guenther <rguenther@suse.de> PR middle-end/52772 * except.c (emit_to_new_bb_before): Move loop updating ... (dw2_build_landing_pads): ... here. Use a proper block for querying the loop father. * g++.dg/torture/pr52772.C: New testcase. From-SVN: r186011
2012-03-30ia64.c (ia64_section_type_flags): Remove common_object attribute handling.Tristan Gingold3-60/+35
2012-03-30 Tristan Gingold <gingold@adacore.com> * config/ia64/ia64.c (ia64_section_type_flags): Remove common_object attribute handling. (SECTION_VMS_OVERLAY): Remove (ia64_vms_common_object_attribute): Replace abort with an assert. Do not set DECL_SECTION_NAME. (ia64_vms_output_aligned_decl_common): Handle common_object attribute. (ia64_vms_elf_asm_named_section): Remove. * config/ia64/vms.h (TARGET_ASM_NAMED_SECTION): Remove. From-SVN: r186010
2012-03-30[multiple changes]Arnaud Charlet5-22/+86
2012-03-30 Robert Dewar <dewar@adacore.com> * exp_ch5.adb, sem_util.adb, exp_ch4.adb: Minor comment updates. 2012-03-30 Yannick Moy <moy@adacore.com> * lib-xref-alfa.adb (Add_Alfa_File): Treat possibly 2 units at the same time, putting all scopes in the same Alfa file. (Add_Alfa_Xrefs): Correct errors in comparison function. Correct value of Def component. (Collect_Alfa): Possibly pass 2 units to Add_Alfa_File. From-SVN: r186006
2012-03-30[multiple changes]Arnaud Charlet5-58/+99
2012-03-30 Hristian Kirtchev <kirtchev@adacore.com> * exp_util.adb (Is_Secondary_Stack_BIP_Func_Call): Handle a case where a build-in-place call appears as Prefix'Reference'Reference. 2012-03-30 Yannick Moy <moy@adacore.com> * lib-xref-alfa.adb: Minor refactoring to remove internal package. 2012-03-30 Hristian Kirtchev <kirtchev@adacore.com> * sem_ch5.adb (Analyze_Iteration_Scheme): Preanalyze the subtype definition of a loop when the context is a quantified expression. 2012-03-30 Vincent Celier <celier@adacore.com> * prj.ads: Minor comment update. From-SVN: r186005
2012-03-30lib-xref-alfa.adb, [...]: Minor addition of comments and refactoring.Yannick Moy4-34/+27
2012-03-30 Yannick Moy <moy@adacore.com> * lib-xref-alfa.adb, alloc.ads, lib-xref.ads: Minor addition of comments and refactoring. From-SVN: r186004
2012-03-30lib-xref.adb, [...]: Minor reformatting & code reorganization.Robert Dewar3-50/+42
2012-03-30 Robert Dewar <dewar@adacore.com> * lib-xref.adb, lib-xref-alfa.adb: Minor reformatting & code reorganization. From-SVN: r186003
2012-03-30lib-xref-alfa.adb (Generate_Dereference): Use Get_Code_Unit instead of ↵Yannick Moy4-28/+61
Get_Source_Unit to get file for reference. 2012-03-30 Yannick Moy <moy@adacore.com> * lib-xref-alfa.adb (Generate_Dereference): Use Get_Code_Unit instead of Get_Source_Unit to get file for reference. (Traverse_Compilation_Unit): Do not add scopes for generic units. * lib-xref.adb (Generate_Reference): Use Get_Code_Unit instead of Get_Source_Unit to get file for reference. * sem_ch12.adb (Analyze_Package_Instantiation): Enable instantiation in Alfa mode. From-SVN: r186002
2012-03-30[multiple changes]Arnaud Charlet6-567/+537
2012-03-30 Hristian Kirtchev <kirtchev@adacore.com> * exp_ch7.adb (Process_Declarations): Replace the call to Is_Null_Access_BIP_Func_Call with Is_Secondary_Stack_BIP_Func_Call. Update the related comment. * exp_util.adb (Is_Null_Access_BIP_Func_Call): Removed. (Is_Secondary_Stack_BIP_Func_Call): New routine. (Requires_Cleanup_Actions): Replace the call to Is_Null_Access_BIP_Func_Call with Is_Secondary_Stack_BIP_Func_Call. Update the related comment. * exp_util.ads (Is_Null_Access_BIP_Func_Call): Removed. (Is_Secondary_Stack_BIP_Func_Call): New routine. 2012-03-30 Yannick Moy <moy@adacore.com> * lib-xref-alfa.adb, lib-xref.adb: Code clean ups. From-SVN: r186001
2012-03-30re PR other/52786 (double-int.c:231:31: error: comparison between signed and ↵Richard Guenther2-1/+6
unsigned) 2012-03-30 Richard Guenther <rguenther@suse.de> PR middle-end/52786 * double-int.c (rshift_double): Remove not needed cast. From-SVN: r186000
2012-03-30[multiple changes]Arnaud Charlet3-6/+41
2012-03-30 Gary Dismukes <dismukes@adacore.com> * exp_ch5.adb (Expand_Iterator_Loop_Over_Array): For the case of a loop entity which is rewritten as a renaming of the indexed array, explicitly mark the entity as needing debug info so that Materialize entity will be set later by Debug_Renaming_Declaration when the renaming is expanded. 2012-03-30 Robert Dewar <dewar@adacore.com> * sem_attr.ads: Update comment. From-SVN: r185999
2012-03-30[multiple changes]Arnaud Charlet4-9/+17
2012-03-30 Vincent Celier <celier@adacore.com> * prj.ads: New Dependency_Kind: ALI_Closure. 2012-03-30 Thomas Quinot <quinot@adacore.com> * exp_pakd.adb: Minor reformatting. From-SVN: r185998
2012-03-30lib-xref-alfa.adb (Add_Alfa_File): Take into account possible absence of ↵Yannick Moy2-4/+17
compilation unit for unit in Sdep_Table. 2012-03-30 Yannick Moy <moy@adacore.com> * lib-xref-alfa.adb (Add_Alfa_File): Take into account possible absence of compilation unit for unit in Sdep_Table. From-SVN: r185997
2012-03-30freeze.adb (Freeze_Record_Type): For a type with reversed bit order and ↵Thomas Quinot2-1/+14
reversed storage order... 2012-03-30 Thomas Quinot <quinot@adacore.com> * freeze.adb (Freeze_Record_Type): For a type with reversed bit order and reversed storage order, disable front-end relayout. From-SVN: r185996
2012-03-30tree-affine.h (print_aff): Remove.Richard Guenther5-124/+90
2012-03-30 Richard Guenther <rguenther@suse.de> * tree-affine.h (print_aff): Remove. * tree-affine.c (print_aff): Make static. * tree-data-ref.h (access_matrix_get_index_for_parameter): Remove. (get_references_in_stmt): Likewise. (print_direction_vector): Likewise. (print_dir_vectors): Likewise. (print_dist_vectors): Likewise. (dump_subscript): Likewise. (dump_ddrs): Likewise. (dump_dist_dir_vectors): Likewise. (dump_data_references): Likewise. (dump_data_dependence_relation): Likewise. (dump_data_dependence_direction): Likewise. (dump_rdg_vertex): Likewise. (dump_rdg_component): Likewise. (debug_ddrs): Declare. (struct data_ref_loc_d): Move ... * tree-data-ref.c (struct data_ref_loc_d): ... here. (get_references_in_stmt): Make static. (dump_data_references): Likewise. (dump_subscript): Likewise. (print_direction_vector): Likewise. (print_dir_vectors): Likewise. (print_dist_vectors): Likewise. (dump_data_dependence_relation): Likewise. (dump_dist_dir_vectors): Likewise. (dump_ddrs): Likewise. (dump_rdg_vertex): Likewise. (dump_rdg_component): Likewise. (debug_ddrs): New function. (access_matrix_get_index_for_parameter): Remove. From-SVN: r185994
2012-03-30vms.c (VMS_CRTL_FLOAT32): Rename.Tristan Gingold4-105/+866
2012-03-30 Tristan Gingold <gingold@adacore.com> * config/vms/vms.c (VMS_CRTL_FLOAT32): Rename. (VMS_CRTL_FLOAT64, VMS_CRTL_FLOAT64_VAXD): New. (VMS_CRTL_FLOAT128, VMS_CRTL_DPML, VMS_CRTL_NODMPL) (VMS_CRTL_32ONLY, VMS_CRTL_G_MASK, VMS_CRTL_G_NONE) (VMS_CRTL_GA, VMS_CRTL_GL, VMS_CRTL_FLOATV2): New. (vms_patch_builtins): Handle new flags * config/vms/vms-crtlmap.map: Completed using nm on c and math system libraries. * config/vms/make-crtlmap.awk: Handle any number of flags. From-SVN: r185993
2012-03-30compiler: Fix order of evaluation of struct composite literals.Ian Lance Taylor2-7/+47
From-SVN: r185990
2012-03-30Daily bump.GCC Administrator1-1/+1
From-SVN: r185988
2012-03-29re PR c++/52718 (-Wzero-as-null-pointer-constant: misleading location for 0 ↵Paolo Carlini4-0/+42
as default argument) /cp 2012-03-29 Paolo Carlini <paolo.carlini@oracle.com> PR c++/52718 * decl.c (check_default_argument): With -Wzero-as-null-pointer-constant warn for a zero as null pointer constant default argument. /testsuite 2012-03-29 Paolo Carlini <paolo.carlini@oracle.com> PR c++/52718 * g++.dg/warn/Wzero-as-null-pointer-constant-5.C: New. From-SVN: r185983
2012-03-30tree-ssa-ccp.c (insert_clobbers_for_var): Do not assert that there is a ↵Martin Jambor2-5/+11
builtin_stack_save in a dominating BB. 2012-03-30 Martin Jambor <mjambor@suse.cz> * tree-ssa-ccp.c (insert_clobbers_for_var): Do not assert that there is a builtin_stack_save in a dominating BB. From-SVN: r185982
2012-03-29sse.md (avx_h<plusminus_insn>v4df3): Fix results crossing 128bit lane boundary.Uros Bizjak2-5/+10
* config/i386/sse.md (avx_h<plusminus_insn>v4df3): Fix results crossing 128bit lane boundary. From-SVN: r185978
2012-03-29re PR java/52730 (Java front end emits assembly)Steven Bosscher2-44/+83
PR java/52730 * class.c (emit_register_classes_in_jcr_section): New function. (emit_Jv_RegisterClass_calls): New function, split out from ... (emit_register_classes): ... here. Reorganize. Do not call output_constant. From-SVN: r185977
2012-03-29ira-color.c (setup_left_conflict_sizes_p): Process all conflicting objects.Vladimir Makarov2-3/+5
2012-03-29 Vladimir Makarov <vmakarov@redhat.com> * ira-color.c (setup_left_conflict_sizes_p): Process all conflicting objects. From-SVN: r185971
2012-03-29re PR c++/52685 (ICE in copy_binfo)Jason Merrill4-4/+24
PR c++/52685 * tree.c (copy_binfo): Handle BINFO_DEPENDENT_BASE_P. From-SVN: r185968
2012-03-29re PR c++/52759 (ICE in cp/mangle.c)Jakub Jelinek4-1/+20
PR c++/52759 * decl.c (start_decl): Don't call maybe_apply_pragma_weak if processing_template_decl. * g++.dg/ext/weak4.C: New test. From-SVN: r185966
2012-03-29re PR tree-optimization/52760 (Revision 185599 causes miscompare on sphinx3)Jakub Jelinek4-0/+53
PR tree-optimization/52760 * tree-vect-slp.c (vect_get_constant_vectors): Convert constant_p shift count for {L,R}{SHIFT,ROTATE}_EXPR to TREE_TYPE (vector_type). * gcc.c-torture/execute/pr52760.c: New test. From-SVN: r185965
2012-03-29re PR c++/52743 (g++-4.7.0 seg faults on overload functions.)Jason Merrill4-1/+21
PR c++/52743 * call.c (compare_ics): Handle ck_aggr like ck_list. From-SVN: r185963
2012-03-29cgraph.h (cgraph_materialize_all_clones): Remove.Richard Guenther12-362/+202
2012-03-29 Richard Guenther <rguenther@suse.de> * cgraph.h (cgraph_materialize_all_clones): Remove. (reset_inline_failed): Likewise. * cgraphunit.c (cgraph_materialize_all_clones): Make static. * cgraphbuild.c (reset_inline_failed): Remove. * rtl.h (cse_main): Remove. (extended_count): Likewise. * cse.c (dump_class): Mark as DEBUG_FUNCTION. (cse_main): Make static. * combine.c (extended_count): Remove. (dump_combine_stats): Mark as DEBUG_FUNCTION. * basic-block.h (reorder_basic_blocks): Remove. * bb-reorder.c (reorder_basic_blocks): Make static. * Makefile.in (dse.o): Remove dse.h dependency. * dse.h: Remove. * dse.c (gate_dse): Remove. (clear_alias_mode_eq): Likewise. (clear_alias_mode_hash): Likewise. (dse_record_singleton_alias_set): Likewise. (dse_invalidate_singleton_alias_set): Likewise. From-SVN: r185962