aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2012-03-09[multiple changes]Arnaud Charlet7-312/+399
2012-03-09 Robert Dewar <dewar@adacore.com> * a-direct.adb, comperr.adb, freeze.adb: Minor reformatting. 2012-03-09 Arnaud Charlet <charlet@adacore.com> * s-taskin.adb (Initialize_ATCB): Set Task_Image_Len to 0 so that we never access this field uninitialized (e.g. in Task_Primitives.Operations.Enter_Task for the environment task). 2012-03-09 Vincent Pucci <pucci@adacore.com> * exp_ch5.adb (Expand_Iterator_Loop): Call to Expand_Iterator_Loop_Over_Array added. (Expand_Iterator_Loop_Over_Array): New routine. Expansion of "of" iterator loop over arrays. Multidimensional array case added. 2012-03-09 Eric Botcazou <ebotcazou@adacore.com> * uintp.ads: Fix minor pasto in comment. From-SVN: r185143
2012-03-09[multiple changes]Arnaud Charlet9-33/+140
2012-03-09 Vasiliy Fofanov <fofanov@adacore.com> * a-direct.adb: Do not strip the trailing directory separator from path, as this is already done inside Normalize_Pathname; doing it again produces the wrong result on Windows for the drive's root dir (i.e. "X:\" becomes "X:"). 2012-03-09 Thomas Quinot <quinot@adacore.com> * exp_attr.adb, freeze.adb, sem_attr.adb, aspects.adb, aspects.ads, sem_ch13.adb, snames.ads-tmpl (Exp_Attr.Expand_N_Attribute_Reference): Add Attribute_Scalar_Storage_Order. (Sem_Attr.Analyze_Attribute, Eval_Attribute): Ditto. (Aspects): Add Aspect_Scalar_Storage_Order (Snames): Add Name_Scalar_Storage_Order and Attribute_Scalar_Storage_Order. (Sem_Ch13.Analyze_Attribute_Definition_Clause): Add processing for Scalar_Storage_Order. (Freeze): If Scalar_Storage_Order is specified, check that it is compatible with Bit_Order. From-SVN: r185142
2012-03-09[multiple changes]Arnaud Charlet12-44/+73
2012-03-09 Robert Dewar <dewar@adacore.com> * s-osinte-linux.ads, sem_util.adb, s-taprop-linux.adb, exp_ch4.adb, a-strsup.ads, sem_ch6.adb, a-stwisu.ads, exp_ch3.adb, a-stzsup.ads: Minor reformatting. 2012-03-09 Thomas Quinot <quinot@adacore.com> * s-ransee-vms.adb: Minor reformatting. 2012-03-09 Arnaud Charlet <charlet@adacore.com> * comperr.adb (Delete_SCIL_Files): Fix handling of N_Package_Renaming_Declaration and N_Generic_Package_Declaration. From-SVN: r185141
2012-03-09sem_ch6.adb (Check_Body_To_Inline): In AAMP and VM targets use frontend ↵Javier Miranda4-8/+26
inlining at all optimization levels. 2012-03-09 Javier Miranda <miranda@adacore.com> * sem_ch6.adb (Check_Body_To_Inline): In AAMP and VM targets use frontend inlining at all optimization levels. * sem_util.adb (Must_Inline): In AAMP and VM targets, given that there is no inlining support in the backend, use also frontend inlining when compiling with optimizations enabled. * exp_ch6.adb (Expand_Call): Minor code reorganization. From-SVN: r185140
2012-03-09vms-crtlmap.map: Add comments.Tristan Gingold2-5/+82
2012-03-09 Tristan Gingold <gingold@adacore.com> * config/vms/vms-crtlmap.map: Add comments. Add entries needed to build Ada RTS. From-SVN: r185139
2012-03-09stddef.h: Do not define __size_t on VMS.Tristan Gingold2-0/+6
2012-03-09 Tristan Gingold <gingold@adacore.com> * ginclude/stddef.h: Do not define __size_t on VMS. From-SVN: r185137
2012-03-09c-tree.h (c_default_pointer_mode): New variable.Tristan Gingold4-3/+112
2012-03-09 Tristan Gingold <gingold@adacore.com> * c-tree.h (c_default_pointer_mode): New variable. * c-decl.c (c_default_pointer_mode): New variable. (c_build_pointer_type): New function. (grokdeclarator): Call c_build_pointer_type instead of build_pointer_type. * config/vms/vms-c.c: Include c-tree.h (saved_pointer_mode): New variable. (handle_pragma_pointer_size): New function. (vms_pragma_pointer_size, vms_pragma_required_pointer_size): Likewise. (vms_c_register_pragma): Register __pointer_size and __required_pointer_size pragmas. From-SVN: r185136
2012-03-09vms-c.c (vms_construct_include_filename): New function.Tristan Gingold2-3/+38
2012-03-09 Tristan Gingold <gingold@adacore.com> * config/vms/vms-c.c (vms_construct_include_filename): New function. (vms_c_register_includes): Reference it. From-SVN: r185133
2012-03-09ada-tree.h (TYPE_VAX_FLOATING_POINT_P): Move around.Eric Botcazou5-93/+78
* gcc-interface/ada-tree.h (TYPE_VAX_FLOATING_POINT_P): Move around. (TYPE_UNCONSTRAINED_ARRAY): Adjust comment. * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Pool_Address>: Tidy up. Add comment and use canonical predicate for thin pointers. (gnat_to_gnu) <N_Free_Statement>: Tidy up and reorder. Add comment and use canonical predicate for thin pointers. * gcc-interface/utils.c (convert_to_fat_pointer): Remove superfluous 'else' and use standard name. (convert_to_thin_pointer): Delete. (convert) <POINTER_TYPE>: Do the difference in sizetype directly and change obsolete idioms. Do not call above function. (unchecked_convert): Fix formatting. * gcc-interface/utils2.c (build_unary_op) <INDIRECT_REF>: In the thin pointer case, use byte_position to get the field position. From-SVN: r185132
2012-03-09re PR tree-optimization/51988 (value_replacement in PHIOPT should handle ↵Andrew Pinski6-35/+139
even the cases where there are other PHIs even with non equal value) 2012-03-09 Andrew Pinski <apinski@cavium.com> PR middle-end/51988 * tree-ssa-phiopt.c: Include tree-pretty-print.h for print_generic_expr. (tree_ssa_phiopt_worker): Go through all the PHIs for value_replacement instead of just the singleton one. (value_replacement): Change return type to int. Return 0 instead of false. Allow the middle basic block to contain more than just the definings tatement. Handle non empty middle basic blocks. * Makefile.in (tree-ssa-phiopt.o): Add tree-pretty-print.h. 2012-03-09 Andrew Pinski <apinski@cavium.com> PR middle-end/51988 * gcc.dg/tree-ssa/phi-opt-8.c: New testcase. * gcc.dg/tree-ssa/phi-opt-9.c: New testcase. From-SVN: r185131
2012-03-09tree-scalar-evolution (interpret_rhs_expr): generate chrec for array ↵Jiangning Liu5-9/+114
reference and component reference. 2012-03-09 Jiangning Liu <jiangning.liu@arm.com> * tree-scalar-evolution (interpret_rhs_expr): generate chrec for array reference and component reference. (analyze_scalar_evolution_for_address_of): New. 2012-03-09 Jiangning Liu <jiangning.liu@arm.com> * gcc.dg/tree-ssa/scev-3.c: New. * gcc.dg/tree-ssa/scev-4.c: New. From-SVN: r185129
2012-03-09compiler: Be more careful to follow GENERIC type rules.Ian Lance Taylor3-6/+38
* go-gcc.cc (Gcc_backend::assignment_statement): Convert the rhs to the lhs type if necessary. From-SVN: r185128
2012-03-09compiler: Correct handling of sink receiver.Ian Lance Taylor1-3/+2
From-SVN: r185127
2012-03-09re PR target/49862 (bfin.c warnings)Jie Zhang2-6/+12
PR target/49862 * config/bfin/bfin.c (hwloop_optimize): Fix unused variable warnings. (hwloop_pattern_reg): Fix set but not used warning. (bfin_reorg_loops): Remove unused parameter. (bfin_reorg): Update use of bfin_reorg_loops. From-SVN: r185125
2012-03-08Use word_mode to push/pop register for x86H.J. Lu3-71/+113
2012-03-08 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (setup_incoming_varargs_64): Use word_mode with integer parameters in registers. (gen_push): Push register in word_mode instead of Pmode. (ix86_emit_save_regs): Likewise. (ix86_emit_save_regs_using_mov): Save integer registers in word_mode. (gen_pop): Pop register in word_mode instead of Pmode. (ix86_emit_restore_regs_using_pop): Likewise. (ix86_expand_prologue): Replace Pmode with word_mode for push immediate. Use ix86_gen_pro_epilogue_adjust_stack. Save and restore RAX and R10 in word_mode. (ix86_emit_restore_regs_using_mov): Restore integer registers in word_mode. (ix86_expand_split_stack_prologue): Save R10_REG and restore in word_mode. (ix86_split_to_parts): Use word_mode with PUT_MODE for push. (ix86_split_long_move): Likewise. * config/i386/i386.md (W): New. (*push<mode>2_prologue): Replace :P with :W. (*pop<mode>1): Likewise. (*pop<mode>1_epilogue): Likewise. (push/pop peephole2): Use word_mode scratch registers. From-SVN: r185123
2012-03-09Daily bump.GCC Administrator1-1/+1
From-SVN: r185120
2012-03-08compiler: Don't initialize zero sized variables.Ian Lance Taylor5-5/+99
* go-gcc.cc (Gcc_backend::init_statement): Don't initialize a zero-sized variable. (go_non_zero_struct): New global variable. (Gcc_backend::non_zero_size_type): New function. (Gcc_backend::global_variable): Don't build an assignment for a zero-sized value. * go-c.h (go_non_zero_struct): Declare. * config-lang.in (gtfiles): Add go-c.h. From-SVN: r185115
2012-03-08predicates.md (indirect_branch_operand): Simplify.Uros Bizjak2-3/+7
* config/i386/predicates.md (indirect_branch_operand): Simplify. From-SVN: r185111
2012-03-08re PR fortran/52469 (-fwhole-file bug: Wrong backend_decl for result of PPC ↵Tobias Burnus4-1/+95
function) 2012-03-08 Tobias Burnus <burnus@net-b.de> PR fortran/52469 * trans-types.c (gfc_get_function_type): Handle backend_decl of a procedure pointer. 2012-03-08 Tobias Burnus <burnus@net-b.de> PR fortran/52469 * gfortran.dg/proc_ptr_34.f90 From-SVN: r185109
2012-03-08typeck.c (build_array_ref, [...]): Consistently forward the tsubst_flags_t ↵Paolo Carlini3-9/+16
parameter. 2012-03-08 Paolo Carlini <paolo.carlini@oracle.com> * typeck.c (build_array_ref, cp_build_addr_expr_1, convert_ptrmem, build_ptrmemfunc): Consistently forward the tsubst_flags_t parameter. * call.c (resolve_args): Likewise. From-SVN: r185106
2012-03-08avr.md (*addhi3, [...]): Add "w" alternative for constants in [-63,63].Georg-Johann Lay2-10/+16
* config/avr/avr.md (*addhi3, addhi3_clobber): Add "w" alternative for constants in [-63,63]. From-SVN: r185105
2012-03-08re PR target/52530 (Many 64-bit execution failures on Solaris 10/11 with Sun as)Uros Bizjak2-1/+10
PR target/52530 Revert: 2012-03-04 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (ix86_print_operand_address): Only handle zero-extended DImode addresses. From-SVN: r185103
2012-03-08Fix R_386_TLS_LDM_PLT detectionRainer Orth3-2/+9
* configure.ac (gcc_cv_as_ix86_tlsldmplt): Add label. * configure: Regenerate. From-SVN: r185101
2012-03-08re PR target/52496 (avr-specific built-ins missing memory barrier)Georg-Johann Lay3-41/+136
PR target/52496 * config/avr/avr.c (avr_mem_clobber): New static function. (avr_expand_delay_cycles): Add memory clobber operand to delay_cycles_1, delay_cycles_2, delay_cycles_3, delay_cycles_4. * config/avr/avr.md (unspec): Add UNSPEC_MEMORY_BARRIER. (enable_interrupt, disable_interrupt): New expander. (nopv, sleep, wdr): New expanders. (delay_cycles_1): Add memory clobber. (delay_cycles_2): Add memory clobber. (delay_cycles_3): Add memory clobber. (delay_cycles_4): Add memory clobber. (cli_sei): New insn from former "enable_interrupt", "disable_interrupt" with memory clobber. (*wdt): New insn from former "wdt" with memory clobber. (*nopv): Similar, but for "nopv". (*sleep): Similar, but for "sleep". From-SVN: r185100
2012-03-08compiler: Don't crash on array assignment.Ian Lance Taylor1-2/+4
From-SVN: r185092
2012-03-08Daily bump.GCC Administrator1-1/+1
From-SVN: r185088
2012-03-07re PR target/52503 (sh-wrs-vxworks: too many target masks)Oleg Endo3-3/+22
PR target/52503 * config/sh/sh.opt (msoft-atomic): Use Var instead of Mask. * config/sh/linux.h (TARGET_DEFAULT): Remove MASK_SOFT_ATOMIC. (SUBTARGET_OVERRIDE_OPTIONS): Define. Co-Authored-By: Kaz Kojima <kkojima@gcc.gnu.org> From-SVN: r185081
2012-03-07compiler: Don't crash if writing type functions too late due to error.Ian Lance Taylor2-0/+11
From-SVN: r185080
2012-03-07re PR c++/52521 ([C++11] user defined literals and order of declaration)Jason Merrill4-6/+23
PR c++/52521 * mangle.c (write_literal_operator_name): The length comes after the operator prefix. From-SVN: r185079
2012-03-07decl.c (gnat_to_gnu_entity): Do not set flags on the DECL node built for a ↵Eric Botcazou2-2/+9
type which has a non-trivial... * gcc-interface/decl.c (gnat_to_gnu_entity): Do not set flags on the DECL node built for a type which has a non-trivial equivalent type. From-SVN: r185076
2012-03-07gigi.h (rest_of_type_decl_compilation): Delete.Eric Botcazou4-102/+16
* gcc-interface/gigi.h (rest_of_type_decl_compilation): Delete. * gcc-interface/decl.c (defer_finalize_level): Likewise. (defer_finalize_list): Likewise. (gnat_to_gnu_entity): Delete references to above variables and do not call rest_of_type_decl_compilation. (rest_of_type_decl_compilation): Delete. (rest_of_type_decl_compilation_no_defer): Likewise. * gcc-interface/utils.c (rest_of_record_type_compilation): Do not call rest_of_type_decl_compilation. (create_type_decl): Likewise. (update_pointer_to): Likewise. From-SVN: r185075
2012-03-07predicates.md (x86_64_zext_general_operand): New.Uros Bizjak3-3/+17
* config/i386/predicates.md (x86_64_zext_general_operand): New. * config/i386/i386.md (*zero_extendsidi2_rex64): Change operand 1 predicate to x86_64_zext_general_operand. Accept "Z" constraint. From-SVN: r185073
2012-03-07trans.c (Identifier_to_gnu): Don't unshare initializer.Eric Botcazou3-8/+14
* gcc-interface/trans.c (Identifier_to_gnu): Don't unshare initializer. (add_decl_expr): Mark external DECLs as used. * gcc-interface/utils.c (convert) <CONSTRUCTOR>: Copy the vector. From-SVN: r185072
2012-03-07Fix an unwinding bug for functions with dynamic stack frames.Walter Lee3-30/+35
* config/tilegx/tilegx.c (tilegx_expand_prologue): Don't generate REG_CFA_* notes for the stack pointer. (tilegx_expand_epilogue): Restore stack pointer by adjusting it by EH_RETURN_STACKADJ_RTX. * config/tilepro/tilepro.c (tilepro_expand_prologue): Don't generate REG_CFA_* notes for the stack pointer. (tilepro_expand_epilogue): Restore stack pointer by adjusting it by EH_RETURN_STACKADJ_RTX. From-SVN: r185070
2012-03-07s-ransee-vms.adb: New file.Tristan Gingold4-34/+93
2012-03-07 Tristan Gingold <gingold@adacore.com> * s-ransee-vms.adb: New file. * gcc-interface/Makefile.in: Use s-ransee-vms.adb on VMS. * gcc-interface/Make-lang.in: Update dependencies. From-SVN: r185067
2012-03-07rtsfind.ads: Add support for finding Super_String types.Bob Duff9-16/+85
2012-03-07 Bob Duff <duff@adacore.com> * rtsfind.ads: Add support for finding Super_String types. * sem_util.ads, sem_util.adb (Is_Bounded_String): New function to determine whether a given type is a bounded string type. (Is_Fully_Initialized_Type): Return True for bounded string types, to suppress bogus warnings. * exp_ch4.adb (Expand_Composite_Equality): Special case for bounded strings: equality composes. This allows us to remove default values in super strings. * a-strsup.ads, a-stwisu.ads, a-stzsup.ads: Update comments. * exp_ch3.adb (Expand_Freeze_Record_Type): Comment. From-SVN: r185066
2012-03-07[multiple changes]Arnaud Charlet9-31/+71
2012-03-07 Robert Dewar <dewar@adacore.com> * sem_util.adb, exp_ch4.adb, exp_ch6.adb, sem_ch6.adb: Minor reformatting. 2012-03-07 Sergey Rybin <rybin@adacore.com frybin> * gnat_ugn.texi: gnatpp: fix paragraph about sources with preprocessor directives. 2012-03-07 Arnaud Charlet <charlet@adacore.com> * s-osinte-linux.ads, s-taprop-linux.adb (prctl): New function. (Enter_Task): Call prctl when relevant. 2012-03-07 Tristan Gingold <gingold@adacore.com> * s-osinte-vms.ads: pthread_mutex_setname_np: new function. From-SVN: r185065
2012-03-07compiler: Fix struct inheriting interface with varargs method.Ian Lance Taylor1-2/+6
From-SVN: r185060
2012-03-07invoke.texi (AVR Built-in Macros): Correct condition for when ↵Georg-Johann Lay2-1/+6
__AVR_3_BYTE_PC__ is defined. * doc/invoke.texi (AVR Built-in Macros): Correct condition for when __AVR_3_BYTE_PC__ is defined. From-SVN: r185059
2012-03-07i386.c (ix86_print_operand_punct_valid_p): Add '^'.Uros Bizjak3-55/+78
* config/i386/i386.c (ix86_print_operand_punct_valid_p): Add '^'. (ix86_print_operand): Handle '^'. * config/i386/i386.md (*strmovdi_rex_1): Macroize memory operands using P mode iterator. Add %^ to asm template to conditionally emit addr32 prefix. (*rep_movdi_rex64): Ditto. (*strsetdi_rex_1): Ditto. (*rep_stosdi_rex64): Ditto. (*strmov{si,hi,qi}_1): Add %^ to asm template to conditionally emit addr32 prefix. (*rep_mov{si,qi}): Ditto. (*strset{si,hi,qi}): Ditto. (*rep_stos{si,qi}): Ditto. (*cmpstrnqi_nz_1): Ditto. (*cmpstrnqi_1): Ditto. (*strlenqi_1): Ditto. From-SVN: r185058
2012-03-07Pass pointers in word_mode instead of PmodeH.J. Lu2-4/+11
2012-03-07 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (function_value_64): Return pointers in word_mode instead of Pmode. (ix86_promote_function_mode): Likewise. From-SVN: r185057
2012-03-07[multiple changes]Arnaud Charlet6-3/+59
2012-03-07 Ed Schonberg <schonberg@adacore.com> * sem_ch6.adb (Process_Formals): a generic subprogram with a formal incomplete type does not require a freeze node. 2012-03-07 Bob Duff <duff@adacore.com> * sem_util.ads: Minor reformatting. 2012-03-07 Geert Bosch <bosch@adacore.com> * targparm.ads: New target parameter Atomic_Sync_Default, defaulting to True. * targparm.adb (Get_Target_Parameters): Add processing for Atomic_Sync_Default. * gnat1drv.adb (Adjust_Global_Switches): Adjust Supress_Options based on ASD. From-SVN: r185056
2012-03-07sem_ch3.adb (Analyze_Object_Declaration): If the object declaration has an ↵Javier Miranda16-120/+2148
init expression then stop the analysis of the... 2012-03-07 Javier Miranda <miranda@adacore.com> * sem_ch3.adb (Analyze_Object_Declaration): If the object declaration has an init expression then stop the analysis of the object declaration if the expression which initializes the object is a call to an inlined function which returns an unconstrained and has been expanded into a procedure call. * sem_ch5.adb (Has_Call_Using_Secondary_Stack): Add missing support to handle selected components. * sem_ch6.ads (Cannot_Inline): Adding parameter Is_Serious plus documentation. * sem_ch6.adb (Check_And_Build_Body_To_Inline): New subprogram which implements the checks required by the new rules for frontend inlining and builds the body to inline. (Analyze_Subprogram_Body_Helper): Move code that checks inlining of subprogram that has nested subprogram to Check_And_Build_Body_To_Inline. Replace call to Build_Body_To_Inline by call to the new subprogram Check_And_Build_Body_To_Inline. (Cannot_Inline): New implementation. * sem_ch12.adb (Analyze_Package_Instantiation.Must_Inline_Subp): New subprogram. * sem_util.ad[sb] (Must_Inline): New subprogram. (Returns_Unconstrained_Type): New subprogram. * sem_res.adb (Resolve_Call): Do not create a transient scope for inlined calls. * inline.ads (Analyzing_Inlined_Bodies): Remove unreferenced variable. * inline.adb (Analyze_Inlined_Bodies, Initialize): Remove setting to false the variable Analyzing_Inlined_Bodies. Fix comments. * exp_ch4.adb (Expand_N_Allocator): Fix handling of finalization master. * exp_ch6.ads (List_Inlining_Info): New subprogram. * exp_ch6.adb (Expand_Call.Do_Inline): New subprogram. (Expand_Call.Do_Inline_Always): New subprogram. (In_Unfrozen_Instance): Move the declaration of this subprogram. (Expand_Inlined_Call.Reset_Dispatching_Calls): New subprogram. (Expand_Inlined_Call): Adding new support for inlining functions that return unconstrained types. (List_Inlining_Info): New subprogram. * debug.adb Document flags -gnatd.j and -gnatd.k * gnat1drv.adb Add call to generate the new listing of inlined calls and calls passed to the backend. From-SVN: r185055
2012-03-07[multiple changes]Arnaud Charlet9-34/+55
2012-03-07 Robert Dewar <dewar@adacore.com> * sem_ch5.adb, s-vaflop.adb, s-taprop-vms.adb, exp_ch6.adb, s-gearop.adb, sem_ch6.adb, s-bbthre.adb, g-trasym.adb: Minor reformatting. 2012-03-07 Javier Miranda <miranda@adacore.com> * a-ngrear.ads: Add documentation. From-SVN: r185053
2012-03-07[multiple changes]Arnaud Charlet5-6/+38
2012-03-07 Tristan Gingold <gingold@adacore.com> * s-taprop-vms.adb (Create_Task): set thread name. * s-osinte-vms.ads (pthread_attr_setname_np): Declare. 2012-03-07 Arnaud Charlet <charlet@adacore.com> * g-trasym.adb: Minor reformatting. 2012-03-07 Robert Dewar <dewar@adacore.com> * a-ngrear.ads: Minor addition of ??? comment. From-SVN: r185052
2012-03-07[multiple changes]Arnaud Charlet18-1256/+579
2012-03-07 Gary Dismukes <dismukes@adacore.com> * exp_ch4.adb (Apply_Accessibility_Check): Call Remove_Side_Effects in the build-in-place case, to ensure that we capture the call and don't end up with two calls. 2012-03-07 Javier Miranda <miranda@adacore.com> * exp_ch6.adb (Expand_Inlined_Call): Skip inlining of functions that return unconstrained types using an extended return statement since the support for inlining these functions has not been yet added to the frontend. * s-vaflop.adb, s-vaflop-vms-alpha.adb: Code reorganization. * a-ngrear.ads: Replace all the Inline_Always pragmas by pragma Inline. * a-ngrear.adb (Eigenvalues, Transpose): Restructured to use extended return statement. * a-strsup.adb, a-stzsup.adb, a-stwisu.adb (Concat, Super_Slice, Super_To_String): Restructured to use extended return statement. * a-chahan.adb (To_Basic, To_Lower, To_Upper): Restructured to use extended return statement. * s-gearop.adb (Diagonal, Matrix_Elementwise_Operation, Vector_Elementwise_Operation, Matrix_Elementwise_Operation, Matrix_Matrix_Scalar_Elementwise_Operation, Vector_Vector_Elementwise_Operation, Vector_Vector_Scalar_Elementwise_Operation, Matrix_Scalar_Elementwise_Operation, Vector_Scalar_Elementwise_Operation, Scalar_Matrix_Elementwise_Operation, Scalar_Vector_Elementwise_Operation, Matrix_Matrix_Product, Matrix_Vector_Product, Outer_Product, Unit_Matrix, Unit_Vector, Vector_Matrix_Product): Restructured to use extended return statement. 2012-03-07 Vincent Pucci <pucci@adacore.com> * sem_ch5.adb (One_Bound): Minor reformatting. 2012-03-07 Tristan Gingold <gingold@adacore.com> * s-osinte-vms-ia64.adb, s-osinte-vms-ia64.ads, s-osinte-vms.adb, s-osinte-vms.ads, gcc-interface/Makefile.in: Merge s-osinte-vms and s-osinte-vms-ia64. From-SVN: r185051
2012-03-07[multiple changes]Arnaud Charlet9-50/+86
2012-03-07 Ed Schonberg <schonberg@adacore.com> * checks.adb (Apply_Predicate_Check): Do not generate a predicate check is the context is an internally generated type-specific function. * sem_ch6.adb (Process_PPCs); the formals of internally generated type-specific functions do not get assertion checks. 2012-03-07 Yannick Moy <moy@adacore.com> * gnat_rm.texi: Minor renaming of title. * gnat_ugn.texi: Minor correction. 2012-03-07 Vincent Pucci <pucci@adacore.com> * exp_ch4.adb (Expand_N_Quantified_Expression): Minor reformating. * sem_ch4.adb (Analyze_Quantified_Expression): Creation and analysis of the iteration scheme added in all cases. * sem_ch5.adb (Analyze_Iteration_Scheme): Minor reformating. (Analyze_Iterator_Specification): Minor reformating. * sem_res.adb (Resolve_Quantified_Expression): Resolution of the condition added in all cases. From-SVN: r185050
2012-03-07[multiple changes]Arnaud Charlet13-34/+138
2012-03-07 Thomas Quinot <quinot@adacore.com> * einfo.adb, einfo.ads: Add flag Reverse_Storage_Order. 2012-03-07 Yannick Moy <moy@adacore.com> * gnat_rm.texi, gnat_ugn.texi: Rewording of GNAT UG and GNAT RM to account for Ada 2012 assertions, and their pragma counterparts in GNAT. 2012-03-07 Thomas Quinot <quinot@adacore.com> * exp_attr.adb, sem_attr.adb: Minor reformatting. 2012-03-07 Bob Duff <duff@adacore.com> * hostparm.ads (Max_Instantiations): Increase parameter. 2012-03-07 Bob Duff <duff@adacore.com> * par-prag.adb: Minor code rearrangement. 2012-03-07 Bob Duff <duff@adacore.com> * a-strsup.ads, a-stwisu.ads, a-stzsup.ads (Super_String): Remove default initial value for Data. It is no longer needed because "=" now composes properly for untagged records. This default has caused efficiency problems. 2012-03-07 Ed Schonberg <schonberg@adacore.com> * sem_res.adb (Resolve_Actuals): If the actual is a selected component of an anonymous access type, whose prefix is a variable, treat the variable as if it may be modified by the call, to suppress spurious warnings that a variable might be declared as a constant. From-SVN: r185049
2012-03-07coverage.c (get_gcov_type): Use type_for_mode.Richard Guenther5-51/+31
2012-03-07 Richard Guenther <rguenther@suse.de> * coverage.c (get_gcov_type): Use type_for_mode. (get_gcov_unsigned_t): Likewise. * expr.c (store_constructor): Use type_for_mode. (try_casesi): Likewise. * tree-ssa-loop-ivopts.c (add_standard_iv_candidates_for_size): Remove. (add_standard_iv_candidates): Use standard type trees. * dojump.c (do_jump): Remove dead code. From-SVN: r185048
2012-03-07c-typeck.c (pointer_diff): Use c_common_type_for_size.Richard Guenther2-2/+5
2012-03-07 Richard Guenther <rguenther@suse.de> * c-typeck.c (pointer_diff): Use c_common_type_for_size. From-SVN: r185047