summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 2014-02-24 Olivier Ramonat <ramonat@adacore.com>charlet2014-02-244-15/+26
| | | | | | | | | | | | | | | | | | * gnat_rm.texi, gnat_ugn.texi: Replace Ada Compiler by Ada Development Environment. 2014-02-24 Hristian Kirtchev <kirtchev@adacore.com> * sem_prag.adb (Check_Constituent_Usage): Remove leading spaces in error messages. (Inconsistent_Mode_Error): Remove leading spaces in error messages. Merge the expected and available mode errors. (Report_Unused_Constituents): Remove leading spaces in error messages. (Report_Unused_States): Remove leading spaces in error messages. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208073 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-02-24 Thomas Quinot <quinot@adacore.com>charlet2014-02-246-47/+78
| | | | | | | | | | | | | | | | | | | * par_sco.adb (Traverse_One): Refine categorization of statement SCOs. 2014-02-24 Robert Dewar <dewar@adacore.com> * aspects.ads, aspects.adb: Remove aspects Ada_2005 and Ada_2012, Pure_05, Pure_12 and Preelaborate_05. * gnat_rm.texi: Update accordingly. * sem_prag.adb: Document one argument form of Ada_05/Ada_2005 pragmas Document one argument form of Ada_12/Ada_2012 pragmas Recognize one argument form of these pragmas only in GNAT mode (-gnatg). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208072 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-02-24 Ed Schonberg <schonberg@adacore.com>charlet2014-02-249-26/+164
| | | | | | | | | | | | | | | | | | | | | | * s-dimmks.ads: Replace symbol for temperature, previously the Greek letter Theta, by the ASCII @ sign. * s-diflio.ads: ditto. 2014-02-24 Robert Dewar <dewar@adacore.com> * exp_ch4.adb: Minor code reorganization (use OR for boolean variables). * sem_ch3.adb, sem_prag.adb, freeze.adb: Minor reformatting. 2014-02-24 Ben Brosgol <brosgol@adacore.com> * gnat_ugn.texi, projects.texi: Added the necessary conditionalization so that references to gnatmem and ASIS tools do not appear in the FSF edition of the GNAT User's Guide. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208071 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-02-24 Yannick Moy <moy@adacore.com>charlet2014-02-2415-86/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * freeze.adb (Freeze_Entity): Do not issue warning for pre/post being ignored on imported subprogram in GNATprove mode. 2014-02-24 Robert Dewar <dewar@adacore.com> * exp_ch5.adb, sem_ch5.adb, sem_type.adb, sem_res.adb, sem_attr.adb, stand.ads, sem_eval.adb: Minor reformatting. 2014-02-24 Yannick Moy <moy@adacore.com> * sem_prag.adb: Minor rewording in error message. 2014-02-24 Johannes Kanig <kanig@adacore.com> * exp_util.adb (Expand_Subtype_From_Expr): Do not expand subtypes in GNATprove_mode, gnat2why doesn't need nor use these types. 2014-02-24 Gary Dismukes <dismukes@adacore.com> * exp_ch4.adb (Expand_N_Op_Expon): On the AAMP target, in the case of signed integer exponentiation that uses a run-time routine, always select the Exp_* versions, since overflow checking is automatically done by AAMP arithmetic instructions. 2014-02-24 Hristian Kirtchev <kirtchev@adacore.com> * sem_ch13.adb (Analyze_Aspect_Specifications): When the related context is a package instace, insert pragma Abstract_State after all internally-generated renamings related to the instance "header". 2014-02-24 Ed Schonberg <schonberg@adacore.com> * sem_ch3.adb (Analyze_Declarations): Analyze Contract of abstract subprograms. * sem_disp.adb (Check_Dispatching_Context): A non-dispatching call to an abstract subprogram is legal if it appears in a pre/postcondition of another abstract operation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208070 138bc75d-0d04-0410-961f-82ee72b054a4
* TILE-Gx big endian support.walt2014-02-2423-81/+502
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /: * configure.ac (tilepro-*-*) Change to tilepro*-*-*. (tilegx-*-*): Change to tilegx*-*-*. * configure: Regenerate. contrib/: * config-list.mk (LIST): Add tilegxbe-linux-gnu. libcpp/: * configure.ac: Change "tilepro" triplet to "tilepro*". * configure: Regenerate. libgcc/: * config.host: Support "tilegx*" and "tilepro*" triplets. * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian. * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian. gcc/: * config.gcc (tilepro-*-*): Change to tilepro*-*-*. (tilegx-*-linux*): Change to tilegx*-*-linux*; Support tilegxbe triplet. * common/config/tilegx/tilegx-common.c (TARGET_DEFAULT_TARGET_FLAGS): Define. * config/tilegx/linux.h (ASM_SPEC): Add endian_spec. (LINK_SPEC): Ditto. * config/tilegx/sync.md (atomic_test_and_set): Handle big endian. * config/tilegx/tilegx.c (tilegx_return_in_msb): New. (tilegx_gimplify_va_arg_expr): Handle big endian. (tilegx_expand_unaligned_load): Ditto. (tilegx_expand_unaligned_store): Ditto. (TARGET_RETURN_IN_MSB): New. * config/tilegx/tilegx.h (TARGET_DEFAULT): New. (TARGET_ENDIAN_DEFAULT): New. (TARGET_BIG_ENDIAN): Handle big endian. (BYTES_BIG_ENDIAN): Ditto. (WORDS_BIG_ENDIAN): Ditto. (FLOAT_WORDS_BIG_ENDIAN): Ditto. (ENDIAN_SPEC): New. (EXTRA_SPECS): New. * config/tilegx/tilegx.md (extv): Handle big endian. (extzv): Ditto. (insn_st<n>): Ditto. (insn_st<n>_add<bitsuffix>): Ditto. (insn_stnt<n>): Ditto. (insn_stnt<n>_add<bitsuffix>):Ditto. (vec_interleave_highv8qi): Handle big endian. (vec_interleave_highv8qi_be): New. (vec_interleave_highv8qi_le): New. (insn_v1int_h): Handle big endian. (vec_interleave_lowv8qi): Handle big endian. (vec_interleave_lowv8qi_be): New. (vec_interleave_lowv8qi_le): New. (insn_v1int_l): Handle big endian. (vec_interleave_highv4hi): Handle big endian. (vec_interleave_highv4hi_be): New. (vec_interleave_highv4hi_le): New. (insn_v2int_h): Handle big endian. (vec_interleave_lowv4hi): Handle big endian. (vec_interleave_lowv4hi_be): New. (vec_interleave_lowv4hi_le): New. (insn_v2int_l): Handle big endian. (vec_interleave_highv2si): Handle big endian. (vec_interleave_highv2si_be): New. (vec_interleave_highv2si_le): New. (insn_v4int_h): Handle big endian. (vec_interleave_lowv2si): Handle big endian. (vec_interleave_lowv2si_be): New. (vec_interleave_lowv2si_le): New. (insn_v4int_l): Handle big endian. * config/tilegx/tilegx.opt (mbig-endian): New option. (mlittle-endian): New option. * doc/install.texi: Document tilegxbe-linux. * doc/invoke.texi: Document -mbig-endian and -mlittle-endian. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208069 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-02-24 Sergey Rybin <rybin@adacore.com frybin>charlet2014-02-247-19/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnat_ugn.texi: Misc updates. 2014-02-24 Hristian Kirtchev <kirtchev@adacore.com> * exp_prag.adb (Expand_Old): Set the type of the generated temporary. 2014-02-24 Gary Dismukes <dismukes@adacore.com> * layout.adb (Layout_Variant_Record): Instantiate Generic_Check_Choices and call Check_Choices before calling Build_Discr_Checking_Funcs, since we need Others_Discrete_Choices set to prevent generating incorrect discriminant-checking functions for 'others' variants (functions that unconditionally return True rather than accounting for the values covered by the 'others' choice). * sem_eval.ads (Subtypes_Statically_Compatible): Add formal Formal_Derived_Matching. (Subtypes_Statically_Match): Add formal Formal_Derived_Matching. * sem_eval.adb (Subtypes_Statically_Compatible): Pass new Formal_Derived_Matching formal to Subtypes_Statically_Match. (Subtypes_Statically_Match): Suppress the Object_Size matching test in the case where Formal_Derived_Matching is True. * sem_ch12.adb (Validate_Derived_Type_Instance): Pass True for Formal_Derived_Matching_Formal on the call to Subtypes_Statically_Compatible. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208068 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-02-24 Martin Jambor <mjambor@suse.cz>jamborm2014-02-242-0/+8
| | | | | | | | | | PR ipa/60266 * ipa-cp.c (propagate_constants_accross_call): Bail out early if there are no parameter descriptors. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208067 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/abel2014-02-244-6/+26
| | | | | | | | | | | | | | | | | | | | 2014-02-24 Andrey Belevantsev <abel@ispras.ru> PR rtl-optimization/60268 * sched-rgn.c (haifa_find_rgns): Move the nr_regions_initial variable initialization to ... (sched_rgn_init): ... here. (schedule_region): Check for SCHED_PRESSURE_NONE earlier. testsuite/ 2014-02-24 Andrey Belevantsev <abel@ispras.ru> PR rtl-optimization/60268 * gcc.c-torture/compile/pr60268.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208066 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-02-241-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208065 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-02-23 David Holsgrove <david.holsgrove@xilinx.com>eager2014-02-232-2/+6
| | | | | | | | * config/microblaze/microblaze.md: Correct ashrsi_reg / lshrsi_reg names git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208061 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-02-23 Edgar E. Iglesias <edgar.iglesias@xilinx.com>eager2014-02-234-7/+87
| | | | | | | | | | | | | * config/microblaze/microblaze.h: Remove SECONDARY_MEMORY_NEEDED definition. 2014-02-23 David Holsgrove <david.holsgrove@xilinx.com> * gcc/testsuite/gcc.target/microblaze/others/mem_reload.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208059 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-02-23 David Holsgrove <david.holsgrove@xilinx.com>eager2014-02-232-0/+79
| | | | | | | | | | * /config/microblaze/microblaze.c: Add microblaze_asm_output_mi_thunk and define TARGET_ASM_OUTPUT_MI_THUNK and TARGET_ASM_CAN_OUTPUT_MI_THUNK. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208057 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-02-23 David Holsgrove <david.holsgrove@xilinx.com>eager2014-02-234-76/+89
| | | | | | | | | | | | | | * config/microblaze/predicates.md: Add cmp_op predicate. * config/microblaze/microblaze.md: Add branch_compare instruction which uses cmp_op predicate and emits cmp insn before branch. * config/microblaze/microblaze.c (microblaze_emit_compare): Rename to microblaze_expand_conditional_branch and consolidate logic. (microblaze_expand_conditional_branch): emit branch_compare insn instead of handling cmp op separate from branch insn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208055 138bc75d-0d04-0410-961f-82ee72b054a4
* gnattools/ebotcazou2014-02-234-3/+11
| | | | | | | | | * Makefile.in (TOOLS_FLAGS_TO_PASS_CROSS): Robustify. gcc/ada/ * gcc-interface/Make-lang.in (ADA_TOOLS_FLAGS_TO_PASS): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208053 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-02-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com>wschmidt2014-02-232-1/+6
| | | | | | | | | | * config/rs6000/rs6000.c (rs6000_emit_le_vsx_move): Relax assert to permit subregs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208052 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc-interface/utils2.c (build_simple_component_ref): Fix formatting.ebotcazou2014-02-232-22/+51
| | | | | | | | | Look through a conversion between original and packable version to get the base object. (build_component_ref): Rework comment and fix formatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208051 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:wschmidt2014-02-239-3/+293
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2014-02-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/altivec.md (altivec_lve<VI_char>x): Replace define_insn with define_expand and new define_insn *altivec_lve<VI_char>x_internal. (altivec_stve<VI_char>x): Replace define_insn with define_expand and new define_insn *altivec_stve<VI_char>x_internal. * config/rs6000/rs6000-protos.h (altivec_expand_stvex_be): New prototype. * config/rs6000/rs6000.c (altivec_expand_lvx_be): Document use by lve*x built-ins. (altivec_expand_stvex_be): New function. gcc/testsuite: 2014-02-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gcc.dg/vmx/lde.c: New test. * gcc.dg/vmx/lde-be-order.c: New test. * gcc.dg/vmx/ste.c: New test. * gcc.dg/vmx/ste-be-order.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208049 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-02-231-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208048 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/avr/avr.c (avr_can_eliminate): Allow elimination fromamylaar2014-02-223-5/+11
| | | | | | | | | | ARG_POINTER_REGNUM to STACK_POINTER_REGNUM if !frame_pointer_needed. * config/avr/avr.c (ELIMINABLE_REGS): Add elimination from ARG_POINTER_REGNUM to STACK_POINTER_REGNUM. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208045 138bc75d-0d04-0410-961f-82ee72b054a4
* PR testsuite/60173hp2014-02-222-0/+8
| | | | | | | | | * lib/target-supports.exp (check_effective_target_logical_op_short_circuit): Add cris-*-* and crisv32-*-* to list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208044 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-02-22 Marc Glisse <marc.glisse@inria.fr>glisse2014-02-222-2/+17
| | | | | | | | | | | | | | | | | | PR libstdc++/60308 * include/bits/stl_deque.h (_Deque_base::_Deque_base(const allocator_type&)): Remove redundant call to _M_initialize_map. (deque::deque(const allocator_type&)): Initialize _Base with a constructor that calls _M_initialize_map. Partial revert: 2013-09-20 Marc Glisse <marc.glisse@inria.fr> PR libstdc++/58338 (_Deque_base) [_Deque_base(const allocator_type&)]: Add missing call to _M_initialize_map. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208041 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/58170jason2014-02-228-10/+57
| | | | | | | | * parser.c (cp_parser_type_name): Always check dependency. (cp_parser_type_specifier_seq): Call cp_parser_parse_and_diagnose_invalid_type_name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208040 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-02-221-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208037 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-02-21 Janus Weil <janus@gcc.gnu.org>janus2014-02-214-7/+33
| | | | | | | | | | | | | | | PR fortran/60302 * check.c (gfc_check_c_f_pointer): Only clear 'size' if 'gfc_array_size' is successful. 2014-02-21 Janus Weil <janus@gcc.gnu.org> PR fortran/60302 * gfortran.dg/c_f_pointer_shape_tests_6.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208033 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/60108jason2014-02-213-1/+21
| | | | | | * semantics.c (expand_or_defer_fn_1): Check DECL_DEFAULTED_FN. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208030 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/60185jason2014-02-214-2/+31
| | | | | | | * parser.c (cp_parser_default_argument): Clear current_class_ptr/current_class_ref like tsubst_default_argument. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208029 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/60252jason2014-02-212-4/+6
| | | | | | | * lambda.c (maybe_resolve_dummy): Check lambda_function rather than current_binding_level. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208028 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/60186jason2014-02-213-1/+14
| | | | | | * typeck2.c (massage_init_elt): Call fold_non_dependent_expr_sfinae. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208027 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/60187jason2014-02-213-1/+15
| | | | | | | * parser.c (cp_parser_enum_specifier): Call check_for_bare_parameter_packs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208026 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/59347jason2014-02-213-0/+15
| | | | | | | * pt.c (tsubst_decl) [TYPE_DECL]: Don't try to instantiate an erroneous typedef. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208025 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/60241jason2014-02-213-7/+41
| | | | | | | | | * pt.c (lookup_template_class_1): Update DECL_TEMPLATE_INSTANTIATIONS of the partial instantiation, not the most general template. (maybe_process_partial_specialization): Reassign everything on that list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208024 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-02-21 Vladimir Makarov <vmakarov@redhat.com>vmakarov2014-02-212-2/+8
| | | | | | | | | | PR target/60298 * lra-constraints.c (inherit_reload_reg): Use lra_emit_move instead of emit_move_insn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208023 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:wschmidt2014-02-215-6/+19
| | | | | | | | | | | | | | | | | | | | 2014-02-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/altivec.md (altivec_vsumsws): Replace second vspltw with vsldoi. (reduc_uplus_v16qi): Use gen_altivec_vsumsws_direct instead of gen_altivec_vsumsws. gcc/testsuite: 2014-02-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gcc.dg/vmx/vsums.c: Check entire result vector. * gcc.dg/vmx/vsums-be-order.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208021 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:wschmidt2014-02-2121-116/+1349
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2014-02-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/altivec.md (altivec_lvxl): Rename as *altivec_lvxl_<mode>_internal and use VM2 iterator instead of V4SI. (altivec_lvxl_<mode>): New define_expand incorporating -maltivec=be semantics where needed. (altivec_lvx): Rename as *altivec_lvx_<mode>_internal. (altivec_lvx_<mode>): New define_expand incorporating -maltivec=be semantics where needed. (altivec_stvx): Rename as *altivec_stvx_<mode>_internal. (altivec_stvx_<mode>): New define_expand incorporating -maltivec=be semantics where needed. (altivec_stvxl): Rename as *altivec_stvxl_<mode>_internal and use VM2 iterator instead of V4SI. (altivec_stvxl_<mode>): New define_expand incorporating -maltivec=be semantics where needed. * config/rs6000/rs6000-builtin.def: Add new built-in definitions LVXL_V2DF, LVXL_V2DI, LVXL_V4SF, LVXL_V4SI, LVXL_V8HI, LVXL_V16QI, LVX_V2DF, LVX_V2DI, LVX_V4SF, LVX_V4SI, LVX_V8HI, LVX_V16QI, STVX_V2DF, STVX_V2DI, STVX_V4SF, STVX_V4SI, STVX_V8HI, STVX_V16QI, STVXL_V2DF, STVXL_V2DI, STVXL_V4SF, STVXL_V4SI, STVXL_V8HI, STVXL_V16QI. * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Replace ALTIVEC_BUILTIN_LVX with ALTIVEC_BUILTIN_LVX_<MODE> throughout; similarly for ALTIVEC_BUILTIN_LVXL, ALTIVEC_BUILTIN_STVX, and ALTIVEC_BUILTIN_STVXL. * config/rs6000/rs6000-protos.h (altivec_expand_lvx_be): New prototype. (altivec_expand_stvx_be): Likewise. * config/rs6000/rs6000.c (swap_selector_for_mode): New function. (altivec_expand_lvx_be): Likewise. (altivec_expand_stvx_be): Likewise. (altivec_expand_builtin): Add cases for ALTIVEC_BUILTIN_STVX_<MODE>, ALTIVEC_BUILTIN_STVXL_<MODE>, ALTIVEC_BUILTIN_LVXL_<MODE>, and ALTIVEC_BUILTIN_LVX_<MODE>. (altivec_init_builtins): Add definitions for __builtin_altivec_lvxl_<mode>, __builtin_altivec_lvx_<mode>, __builtin_altivec_stvx_<mode>, and __builtin_altivec_stvxl_<mode>. gcc/testsuite: 2014-02-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gcc.dg/vmx/ld.c: New test. * gcc.dg/vmx/ld-be-order.c: New test. * gcc.dg/vmx/ld-vsx.c: New test. * gcc.dg/vmx/ld-vsx-be-order.c: New test. * gcc.dg/vmx/ldl.c: New test. * gcc.dg/vmx/ldl-be-order.c: New test. * gcc.dg/vmx/ldl-vsx.c: New test. * gcc.dg/vmx/ldl-vsx-be-order.c: New test. * gcc.dg/vmx/st.c: New test. * gcc.dg/vmx/st-be-order.c: New test. * gcc.dg/vmx/st-vsx.c: New test. * gcc.dg/vmx/st-vsx-be-order.c: New test. * gcc.dg/vmx/stl.c: New test. * gcc.dg/vmx/stl-be-order.c: New test. * gcc.dg/vmx/stl-vsx.c: New test. * gcc.dg/vmx/stl-vsx-be-order.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208019 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:wschmidt2014-02-212-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2014-02-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/altivec.md (altivec_lvxl): Rename as *altivec_lvxl_<mode>_internal and use VM2 iterator instead of V4SI. (altivec_lvxl_<mode>): New define_expand incorporating -maltivec=be semantics where needed. (altivec_lvx): Rename as *altivec_lvx_<mode>_internal. (altivec_lvx_<mode>): New define_expand incorporating -maltivec=be semantics where needed. (altivec_stvx): Rename as *altivec_stvx_<mode>_internal. (altivec_stvx_<mode>): New define_expand incorporating -maltivec=be semantics where needed. (altivec_stvxl): Rename as *altivec_stvxl_<mode>_internal and use VM2 iterator instead of V4SI. (altivec_stvxl_<mode>): New define_expand incorporating -maltivec=be semantics where needed. * config/rs6000/rs6000-builtin.def: Add new built-in definitions LVXL_V2DF, LVXL_V2DI, LVXL_V4SF, LVXL_V4SI, LVXL_V8HI, LVXL_V16QI, LVX_V2DF, LVX_V2DI, LVX_V4SF, LVX_V4SI, LVX_V8HI, LVX_V16QI, STVX_V2DF, STVX_V2DI, STVX_V4SF, STVX_V4SI, STVX_V8HI, STVX_V16QI, STVXL_V2DF, STVXL_V2DI, STVXL_V4SF, STVXL_V4SI, STVXL_V8HI, STVXL_V16QI. * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Replace ALTIVEC_BUILTIN_LVX with ALTIVEC_BUILTIN_LVX_<MODE> throughout; similarly for ALTIVEC_BUILTIN_LVXL, ALTIVEC_BUILTIN_STVX, and ALTIVEC_BUILTIN_STVXL. * config/rs6000/rs6000-protos.h (altivec_expand_lvx_be): New prototype. (altivec_expand_stvx_be): Likewise. * config/rs6000/rs6000.c (swap_selector_for_mode): New function. (altivec_expand_lvx_be): Likewise. (altivec_expand_stvx_be): Likewise. (altivec_expand_builtin): Add cases for ALTIVEC_BUILTIN_STVX_<MODE>, ALTIVEC_BUILTIN_STVXL_<MODE>, ALTIVEC_BUILTIN_LVXL_<MODE>, and ALTIVEC_BUILTIN_LVX_<MODE>. (altivec_init_builtins): Add definitions for __builtin_altivec_lvxl_<mode>, __builtin_altivec_lvx_<mode>, __builtin_altivec_stvx_<mode>, and __builtin_altivec_stvxl_<mode>. gcc/testsuite: 2014-02-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gcc.dg/vmx/ld.c: New test. * gcc.dg/vmx/ld-be-order.c: New test. * gcc.dg/vmx/ld-vsx.c: New test. * gcc.dg/vmx/ld-vsx-be-order.c: New test. * gcc.dg/vmx/ldl.c: New test. * gcc.dg/vmx/ldl-be-order.c: New test. * gcc.dg/vmx/ldl-vsx.c: New test. * gcc.dg/vmx/ldl-vsx-be-order.c: New test. * gcc.dg/vmx/st.c: New test. * gcc.dg/vmx/st-be-order.c: New test. * gcc.dg/vmx/st-vsx.c: New test. * gcc.dg/vmx/st-vsx-be-order.c: New test. * gcc.dg/vmx/stl.c: New test. * gcc.dg/vmx/stl-be-order.c: New test. * gcc.dg/vmx/stl-vsx.c: New test. * gcc.dg/vmx/stl-vsx-be-order.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208018 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.dg/other/i386-2.C (dg-options): Add -mavx512pf.uros2014-02-218-7/+15
| | | | | | | | | | | * g++.dg/other/i386-3.C (dg-options): Ditto. * gcc.target/i386/sse-12.c (dg-options): Add -msha. * gcc.target/i386/sse-13.c (dg-options): Add -mavx512er, -mavx512cd, -mavx512pf and -msha. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208012 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/60227jason2014-02-212-2/+2
| | | | | | Fix ChangeLog git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208009 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/60216jason2014-02-213-5/+23
| | | | | | | * pt.c (register_specialization): Copy DECL_DELETED_FN to clones. (check_explicit_specialization): Don't clone. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208004 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/60219jason2014-02-213-0/+14
| | | | | | * pt.c (coerce_template_parms): Bail if argument packing fails. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208003 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/60224jason2014-02-213-1/+18
| | | | | | | * decl.c (cp_complete_array_type, maybe_deduce_size_from_array_init): Don't get confused by a CONSTRUCTOR that already has a type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208002 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/60277jason2014-02-213-1/+13
| | | | | | * call.c (build_array_conv): Don't crash on VLA. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208001 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/60248jason2014-02-213-0/+15
| | | | | | * mangle.c (mangle_decl): Don't make an alias for a TYPE_DECL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208000 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/60252jason2014-02-213-1/+20
| | | | | | | * lambda.c (maybe_resolve_dummy): Don't try to capture this in declaration context. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207999 138bc75d-0d04-0410-961f-82ee72b054a4
* DR 1591jason2014-02-213-4/+16
| | | | | | | PR c++/60051 * pt.c (unify): Only unify if deducible. Handle 0-length list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207998 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-02-21 Ed Smith-Rowland <3dw4rd@verizon.net>emsr2014-02-217-0/+7
| | | | | | | | | | | Rename testsuite directory shared_mutex to shared_timed_mutex for consistency. * testsuite/30_threads/shared_mutex: Moved to... * testsuite/30_threads/shared_timed_mutex: ...here git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207997 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/60250jason2014-02-213-1/+13
| | | | | | | * parser.c (cp_parser_direct_declarator): Don't wrap a type-dependent expression in a NOP_EXPR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207996 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/60251jason2014-02-213-0/+15
| | | | | | * lambda.c (is_normal_capture_proxy): Handle VLA capture. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207995 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/60167jason2014-02-215-2/+43
| | | | | | | | | | | PR c++/60222 PR c++/58606 * parser.c (cp_parser_template_argument): Restore dereference. * pt.c (template_parm_to_arg): Dereference non-pack expansions too. (process_partial_specialization): Handle deref. (unify): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207994 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-02-21 Catherine Moore <clm@codesourcery.com>clm2014-02-214-0/+18
| | | | | | | | | | * doc/invoke.texi (mvirt, mno-virt): Document. * config/mips/mips.opt (mvirt): New option. * config/mips/mips.h (ASM_SPEC): Pass mvirt to the assembler. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207993 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-02-21 Richard Biener <rguenther@suse.de>rguenth2014-02-216-0/+107
| | | | | | | | | | | | | | | PR tree-optimization/60276 * tree-vectorizer.h (struct _stmt_vec_info): Add min_neg_dist field. (STMT_VINFO_MIN_NEG_DIST): New macro. * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Record STMT_VINFO_MIN_NEG_DIST. * tree-vect-stmts.c (vectorizable_load): Verify if assumptions made for negative dependence distances still hold. * gcc.dg/vect/pr60276.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207992 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud