summaryrefslogtreecommitdiff
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/master' into hjl/x32/addr32hjl/x32/addr32H.J. Lu2012-04-03221-5488/+9421
|\
| * * expr.c (get_bit_range): Add OFFSET parameter and adjust BITPOS.ebotcazou2012-04-035-7/+73
| | | | | | | | | | | | | | | | | | Change type of BITOFFSET to signed. Make sure the lower bound of the computed range is non-negative by adjusting OFFSET and BITPOS. (expand_assignment): Adjust call to get_bit_range. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186110 138bc75d-0d04-0410-961f-82ee72b054a4
| * * h8300/h8300.c (h8300_current_function_monitor_function_p):law2012-04-036-9/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New function. Added to check monitor functions. (h8300_option_override): Modified to generate error/warning messages for invalid combinations of different command line options. * h8300/h8300.md: Generate 'rte' for monitor functions. Do not save EXR on stack for monitor function in case of H8S target when "-mno-exr" is passed. * h8300/h8300-protos.h (h8300_current_function_monitor_function_p): Add prototype. * doc/invoke.texi: Document H8S options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186109 138bc75d-0d04-0410-961f-82ee72b054a4
| * config/gingold2012-04-036-97/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2012-04-03 Tristan Gingold <gingold@adacore.com> * mmap.m4: Use *vms* instead of vms*. gcc/ 2012-04-03 Tristan Gingold <gingold@adacore.com> * configure.ac: Use GCC_AC_FUNC_MMAP_BLACKLIST instead of gcc_AC_FUNC_MMAP_BLACKLIST. * acinclude.m4 (gcc_AC_FUNC_MMAP_BLACKLIST): Remove. * Makefile.in (aclocal_deps): Add mmap.m4. * configure: Regenerate. * aclocal.m4: Regenerate. libitm/ 2012-04-03 Tristan Gingold <gingold@adacore.com> * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186106 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2012-04-03 Richard Guenther <rguenther@suse.de>rguenth2012-04-036-17/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR tree-optimization/52808 * tracer.c (tail_duplicate): Return whether we have duplicated any block. (tracer): If we have duplicated any block, cleanup the CFG. * cfghooks.c (duplicate_block): If we duplicated a loop header but not its loop, destroy the loop because it now has multiple entries. * tree-ssa-threadupdate.c (thread_through_loop_header): Tell the cfg manipulation routines we are not creating a multiple entry loop. * gcc.dg/pr52808.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186104 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2012-04-03 Tristan Gingold <gingold@adacore.com>gingold2012-04-032-1/+13
| | | | | | | | | | | | | | | | | | | | | | * config/vms/vms-c.c (vms_pragma_nomember_alignment): Handle 'byte' alignment. (vms_c_common_override_options): Allow parameterless variadic functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186102 138bc75d-0d04-0410-961f-82ee72b054a4
| * PR tree-optimization/52835jakub2012-04-034-6/+32
| | | | | | | | | | | | | | | | | | | | * tree-data-ref.c (build_rdg): Return NULL if compute_data_dependences_for_loop failed. * gfortran.dg/pr52835.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186101 138bc75d-0d04-0410-961f-82ee72b054a4
| * * varasm.c (initializer_constant_valid_for_bitfield_p): Return trueebotcazou2012-04-034-6/+44
| | | | | | | | | | | | | | | | | | | | for REAL_CST as well. (output_constructor): Use RECORD_OR_UNION_TYPE_P predicate. In the bitfield case, if the value is a REAL_CST, convert it first to an INTEGER_CST. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186100 138bc75d-0d04-0410-961f-82ee72b054a4
| * Add --with-abi= support to x86_64-*-*hjl2012-04-033-2/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | 2012-04-02 H.J. Lu <hongjiu.lu@intel.com> * config.gcc: Use i386/biarchx32.h instead of i386/biarch64.h for --with-abi={x32|mx32} or --with-multilib-list=mx32. (supported_defaults): Add abi for i[34567]86-*-* and x86_64-*-*. * config/i386/biarchx32.h: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186099 138bc75d-0d04-0410-961f-82ee72b054a4
| * Daily bump.gccadmin2012-04-031-1/+1
| | | | | | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186097 138bc75d-0d04-0410-961f-82ee72b054a4
| * * config/arm/arm.h (PREFERRED_RELOAD_CLASS): Remove.aesok2012-04-023-10/+34
| | | | | | | | | | | | | | | | | | * config/arm/arm.c (TARGET_PREFERRED_RELOAD_CLASS): Define. (arm_preferred_reload_class): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186092 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2012-04-02 Richard Guenther <rguenther@suse.de>rguenth2012-04-024-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | PR tree-optimization/52756 * tree-ssa-threadupdate.c (def_split_header_continue_p): New function. (thread_through_loop_header): After threading through the loop latch remove the split part from the loop and clear further threading opportunities that would create a multiple entry loop. * gcc.dg/torture/pr52756.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186085 138bc75d-0d04-0410-961f-82ee72b054a4
| * Fix .jcr alignmentro2012-04-022-1/+7
| | | | | | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186082 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2012-04-02 Richard Guenther <rguenther@suse.de>rguenth2012-04-022-1/+7
| | | | | | | | | | | | | | | | | | PR rtl-optimization/52800 * cprop.c (execute_rtl_cprop): Call cleanup_cfg with CLEANUP_CFG_CHANGED. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186081 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2012-04-02 Richard Guenther <rguenther@suse.de>rguenth2012-04-024-7/+31
| | | | | | | | | | | | | | | | | | | | | | PR middle-end/52803 * loop-init.c (gate_handle_loop2): Destroy loops here if we don't enter RTL loop optimizers. * gcc.dg/pr52803.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186080 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2012-04-02 Robert Dewar <dewar@adacore.com>charlet2012-04-0211-43/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * s-atopri.ads: Minor reformatting. 2012-04-02 Thomas Quinot <quinot@adacore.com> * sem_util.adb: Minor reformatting, minor code cleanup. 2012-04-02 Ed Schonberg <schonberg@adacore.com> * lib-xref.adb (Generate_Reference): For a reference to an operator symbol, set the sloc to point to the first character of the operator name, and not to the initial quaote. (Output_References): Ditto for the definition of an operator symbol. 2012-04-02 Vincent Celier <celier@adacore.com> * ali.adb (Scan_Ali): Recognize Z lines. Set Implicit_With_From_Instantiation to True in the With_Record for Z lines. * ali.ads (With_Record): New Boolean component Implicit_With_From_Instantiation, defaulted to False. * csinfo.adb: Indicate that Implicit_With_From_Instantiation is special * lib-writ.adb (Write_ALI): New array Implicit_With. (Collect_Withs): Set Implicit_With for the unit is it is not Yes. (Write_With_Lines): Write a Z line instead of a W line if Implicit_With is Yes for the unit. * sem_ch12.adb (Inherit_Context): Only add a unit in the context if it is not there yet. * sinfo.ads: New flag Implicit_With_From_Instantiation (Flag12) added. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186079 138bc75d-0d04-0410-961f-82ee72b054a4
| * Partially revert:uros2012-04-023-0/+34
| | | | | | | | | | | | | | | | | | | | | | 2012-03-29 Richard Guenther <rguenther@suse.de> * rtl.h (extended_count): Remove. * combine.c (extended_count): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186077 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2012-04-02 Yannick Moy <moy@adacore.com>charlet2012-04-0217-205/+1327
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186076 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2012-04-02 Emmanuel Briot <briot@adacore.com>charlet2012-04-0210-791/+790
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186074 138bc75d-0d04-0410-961f-82ee72b054a4
| * Complete previous change.charlet2012-04-021-1/+1
| | | | | | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186073 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2012-04-02 Jose Ruiz <ruiz@adacore.com>charlet2012-04-027-3/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186072 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2012-04-02 Hristian Kirtchev <kirtchev@adacore.com>charlet2012-04-025-44/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186071 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2012-04-02 Yannick Moy <moy@adacore.com>charlet2012-04-025-60/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186070 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2012-04-02 Robert Dewar <dewar@adacore.com>charlet2012-04-027-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186069 138bc75d-0d04-0410-961f-82ee72b054a4
| * PR c++/40942 - Failure of template specialization partial orderingdodji2012-04-024-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186067 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2012-04-02 Tristan Gingold <gingold@adacore.com>gingold2012-04-022-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186065 138bc75d-0d04-0410-961f-82ee72b054a4
| * Daily bump.gccadmin2012-04-021-1/+1
| | | | | | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186062 138bc75d-0d04-0410-961f-82ee72b054a4
| * /cppaolo2012-04-0212-7/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186058 138bc75d-0d04-0410-961f-82ee72b054a4
| * Daily bump.gccadmin2012-04-011-1/+1
| | | | | | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186054 138bc75d-0d04-0410-961f-82ee72b054a4
| * Don't check TARGET_64BIT if TARGET_64BIT_DEFAULT is falsehjl2012-03-312-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186049 138bc75d-0d04-0410-961f-82ee72b054a4
| * * tree-cfg.c (call_can_make_abnormal_goto): New predicate.ebotcazou2012-03-317-19/+133
| | | | | | | | | | | | | | | | (stmt_can_make_abnormal_goto): Use it. (is_ctrl_altering_stmt): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186047 138bc75d-0d04-0410-961f-82ee72b054a4
| * Revertebotcazou2012-03-312-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186038 138bc75d-0d04-0410-961f-82ee72b054a4
| * Daily bump.gccadmin2012-03-311-1/+1
| | | | | | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186034 138bc75d-0d04-0410-961f-82ee72b054a4
| * * config/sh/sh.c (push_regs): Skip banked registers whenkkojima2012-03-302-2/+13
| | | | | | | | | | | | | | | | | | resbank attribute is specified. (sh_expand_epilogue): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186024 138bc75d-0d04-0410-961f-82ee72b054a4
| * PR debug/52727rth2012-03-302-0/+50
| | | | | | | | | | | | * g++.dg/opt/pr52727.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186019 138bc75d-0d04-0410-961f-82ee72b054a4
| * PR debug/52727rth2012-03-302-8/+135
| | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186018 138bc75d-0d04-0410-961f-82ee72b054a4
| * i386: Add and use one_operand_p to vec_perm control struct.rth2012-03-302-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186017 138bc75d-0d04-0410-961f-82ee72b054a4
| * * dwarf2out.c (gen_variable_die): Initialize off.rth2012-03-302-1/+5
| | | | | | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186016 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2012-03-30 Tristan Gingold <gingold@adacore.com>gingold2012-03-304-0/+43
| | | | | | | | | | | | | | | | | | | | * config/vms/vms-f.c: New file. * config/vms/t-vms (vms-f.o): New rule. * config.gcc (*-*-*vms*): Define fortran_target_objs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186013 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2012-03-30 Richard Guenther <rguenther@suse.de>rguenth2012-03-304-6/+50
| | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186012 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2012-03-30 Richard Guenther <rguenther@suse.de>rguenth2012-03-304-6/+107
| | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186011 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2012-03-30 Tristan Gingold <gingold@adacore.com>gingold2012-03-303-60/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186010 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2012-03-30 Robert Dewar <dewar@adacore.com>charlet2012-03-305-22/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186006 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2012-03-30 Hristian Kirtchev <kirtchev@adacore.com>charlet2012-03-305-58/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186005 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2012-03-30 Yannick Moy <moy@adacore.com>charlet2012-03-304-34/+27
| | | | | | | | | | | | | | | | | | * lib-xref-alfa.adb, alloc.ads, lib-xref.ads: Minor addition of comments and refactoring. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186004 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2012-03-30 Robert Dewar <dewar@adacore.com>charlet2012-03-303-50/+42
| | | | | | | | | | | | | | | | | | * lib-xref.adb, lib-xref-alfa.adb: Minor reformatting & code reorganization. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186003 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2012-03-30 Yannick Moy <moy@adacore.com>charlet2012-03-304-28/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186002 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2012-03-30 Hristian Kirtchev <kirtchev@adacore.com>charlet2012-03-306-567/+537
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186001 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2012-03-30 Richard Guenther <rguenther@suse.de>rguenth2012-03-302-1/+6
| | | | | | | | | | | | | | | | PR middle-end/52786 * double-int.c (rshift_double): Remove not needed cast. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186000 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2012-03-30 Gary Dismukes <dismukes@adacore.com>charlet2012-03-303-6/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185999 138bc75d-0d04-0410-961f-82ee72b054a4