- 14 Oct, 2011 25 commits
-
-
jakub authored
iterator. (ashl<mode>3): Use VI248_AVX2 iterator instead of VI248_128. Use <sseinsnmode> instead of TI in mode attr. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179987 138bc75d-0d04-0410-961f-82ee72b054a4
-
charlet authored
* sem_res.adb: Minor reformatting. 2011-10-14 Hristian Kirtchev <kirtchev@adacore.com> * exp_ch6.adb (Add_Task_Actuals_To_Build_In_Place_Call): Code and comment reformatting. Use BIP_Task_Master when creating a _master. (BIP_Formal_Suffix): Code reformatting. Correct the case for BIP_Task_Master. (Make_Build_In_Place_Call_In_Object_Declaration): Use BIP_Task_Master when creating a reference to the enclosing function's _master formal. (Move_Activation_Chain): Use BIP_Task_Master when creating a reference to the _master. * exp_ch6.ads: Change BIP_Master to BIP_Task_Master. (Needs_BIP_Finalization_Master): Alphabetized. * sem_ch6.adb (Create_Extra_Formals): Update the usage of BIP_Task_Master. 2011-10-14 Ed Schonberg <schonberg@adacore.com> * par-ch6.adb (P_Return_Object_Declaration): In Ada 2012 mode, reject an aliased keyword on the object declaration of an extended return statement. In older versions of the language indicate that this is illegal in the standard. 2011-10-14 Pascal Obry <obry@adacore.com> * sem_util.adb, sem_ch4.adb: Minor reformatting. 2011-10-14 Ed Schonberg <schonberg@adacore.com> * sem_ch13.adb: Recognize properly procedure calls that are transformed into code statements. 2011-10-14 Vincent Celier <celier@adacore.com> * projects.texi: Minor fix in project example. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179986 138bc75d-0d04-0410-961f-82ee72b054a4
-
charlet authored
* sem_util.adb: Return objects are aliased if their type is immutably limited as per AI05-0053. 2011-10-14 Gary Dismukes <dismukes@adacore.com> * exp_ch4.adb (Expand_N_Op_And): Remove Short_Circuit_And_Or expansion code (moved to sem_res) (Expand_N_Op_Or): Remove Short_Circuit_And_Or expansion code (moved to sem_res). * sem_res.adb (Resolve_Logical_Op): Add code to rewrite Boolean "and" and "or" operators as short-circuit "and then" and "or else", when pragma Short_Circuit_And_Or is active. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179985 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
2011-10-14 Paolo Carlini <paolo.carlini@oracle.com> PR c++/38174 * call.c (add_builtin_candidate): If two pointers have a composite pointer type, generate a single candidate with that type. /testsuite 2011-10-14 Paolo Carlini <paolo.carlini@oracle.com> PR c++/38174 * g++.dg/overload/operator4.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179984 138bc75d-0d04-0410-961f-82ee72b054a4
-
rsandifo authored
2011-10-14 David Alan Gilbert <david.gilbert@linaro.org> * gcc.dg/di-longlong64-sync-1.c: New test. * gcc.dg/di-sync-multithread.c: New test. * gcc.target/arm/di-longlong64-sync-withhelpers.c: New test. * gcc.target/arm/di-longlong64-sync-withldrexd.c: New test. * lib/target-supports.exp: (arm_arch_*_ok): Series of effective-target tests for v5, v6, v6k, and v7-a, and add-options helpers. (check_effective_target_arm_arm_ok): New helper. (check_effective_target_sync_longlong): New helper. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179983 138bc75d-0d04-0410-961f-82ee72b054a4
-
rsandifo authored
2011-10-14 David Alan Gilbert <david.gilbert@linaro.org> * config/arm/linux-atomic-64bit.c: New (based on linux-atomic.c). * config/arm/linux-atomic.c: Change comment to point to 64bit version. (SYNC_LOCK_RELEASE): Instantiate 64bit version. * config/arm/t-linux-eabi: Pull in linux-atomic-64bit.c. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179982 138bc75d-0d04-0410-961f-82ee72b054a4
-
rsandifo authored
2011-10-14 David Alan Gilbert <david.gilbert@linaro.org> * config/arm/arm.c (arm_output_ldrex): Support ldrexd. (arm_output_strex): Support strexd. (arm_output_it): New helper to output it in Thumb2 mode only. (arm_output_sync_loop): Support DI mode. Change comment to not support const_int. (arm_expand_sync): Support DI mode. * config/arm/arm.h (TARGET_HAVE_LDREXBHD): Split into LDREXBH and LDREXD. * config/arm/iterators.md (NARROW): move from sync.md. (QHSD): New iterator for all current ARM integer modes. (SIDI): New iterator for SI and DI modes only. * config/arm/sync.md (sync_predtab): New mode_attr. (sync_compare_and_swapsi): Fold into sync_compare_and_swap<mode>. (sync_lock_test_and_setsi): Fold into sync_lock_test_and_setsi<mode>. (sync_<sync_optab>si): Fold into sync_<sync_optab><mode>. (sync_nandsi): Fold into sync_nand<mode>. (sync_new_<sync_optab>si): Fold into sync_new_<sync_optab><mode>. (sync_new_nandsi): Fold into sync_new_nand<mode>. (sync_old_<sync_optab>si): Fold into sync_old_<sync_optab><mode>. (sync_old_nandsi): Fold into sync_old_nand<mode>. (sync_compare_and_swap<mode>): Support SI & DI. (sync_lock_test_and_set<mode>): Likewise. (sync_<sync_optab><mode>): Likewise. (sync_nand<mode>): Likewise. (sync_new_<sync_optab><mode>): Likewise. (sync_new_nand<mode>): Likewise. (sync_old_<sync_optab><mode>): Likewise. (sync_old_nand<mode>): Likewise. (arm_sync_compare_and_swapsi): Turn into iterator on SI & DI. (arm_sync_lock_test_and_setsi): Likewise. (arm_sync_new_<sync_optab>si): Likewise. (arm_sync_new_nandsi): Likewise. (arm_sync_old_<sync_optab>si): Likewise. (arm_sync_old_nandsi): Likewise. (arm_sync_compare_and_swap<mode> NARROW): use sync_predtab, fix indent. (arm_sync_lock_test_and_setsi<mode> NARROW): Likewise. (arm_sync_new_<sync_optab><mode> NARROW): Likewise. (arm_sync_new_nand<mode> NARROW): Likewise. (arm_sync_old_<sync_optab><mode> NARROW): Likewise. (arm_sync_old_nand<mode> NARROW): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179981 138bc75d-0d04-0410-961f-82ee72b054a4
-
rsandifo authored
2011-10-14 David Alan Gilbert <david.gilbert@linaro.org> PR target/48126 * config/arm/arm.c (arm_output_sync_loop): Move label before barrier. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179980 138bc75d-0d04-0410-961f-82ee72b054a4
-
rsandifo authored
2011-10-14 David Alan Gilbert <david.gilbert@linaro.org> * config/arm/arm.h (TARGET_HAVE_DMB_MCR): MCR Not available in Thumb1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179979 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
* doc/invoke.texi ([Wformat-zero-length]): Tidy. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179978 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
also on COND_EXPR/VEC_COND_EXPR comparison operands if they are ADDR_EXPRs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179969 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
PR tree-optimization/50723 * ipa-split.c (split_function): Use GSI_CONTINUE_LINKING. * gcc.dg/torture/pr50723.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179967 138bc75d-0d04-0410-961f-82ee72b054a4
-
nicola authored
2011-10-14 Nicola Pero <nicola.pero@meta-innovation.com> * gengtype.c (files_rules): Added rules for objc/objc-map.h and objc/objc-map.c. In gcc/objc/: 2011-10-14 Nicola Pero <nicola.pero@meta-innovation.com> * objc-map.h: New file. * objc-map.c: New file. * config-lang.in (gtfiles): Added objc-map.h. * Make-lang.in (OBJC_OBJS): Added objc-map.o. (objc/objc-map.o): New rule. (objc/objc-act.o): Depend on objc/objc-map.h. * objc-next-runtime-abi-02.c: Added a TODO comment. * objc-act.c: Include objc-map.h. (nst_method_hash_list, cls_method_hash_list): Removed. (instance_method_map, class_method_map): New. (cls_name_hash_list, als_name_hash_list): Removed. (class_name_map, alias_name_map): Removed. (ivar_offset_hash_list): Removed. (hash_class_name_enter, hash_class_name_lookup, hash_enter, hash_lookup, hash_add_attr, add_method_to_hash_list): Removed. (interface_hash_init): New. (objc_init): Call interface_hash_init. (objc_write_global_declarations): Iterate over class_me...
-
paolo authored
2011-10-14 Paolo Carlini <paolo.carlini@oracle.com> PR c++/17212 * c-family/c.opt ([Wformat-zero-length]): Add C++ and Objective-C++. * doc/invoke.texi: Update. /testsuite 2011-10-14 Paolo Carlini <paolo.carlini@oracle.com> PR c++/17212 * g++.dg/warn/format6.C: New. * obj-c++.dg/warn6.mm: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179964 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
2011-10-14 Paolo Carlini <paolo.carlini@oracle.com> PR c++/17212 * c-family/c.opt ([Wformat-zero-length]): Add C++ and Objective-C++. * doc/invoke.texi: Update. /testsuite 2011-10-14 Paolo Carlini <paolo.carlini@oracle.com> PR c++/17212 * g++.dg/warn/format6.C: New. * obj-c++.dg/warn6.mm: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179963 138bc75d-0d04-0410-961f-82ee72b054a4
-
iains authored
gcc: PR bootstrap/50699 * config/darwin.c (darwin_patch_builtin): Adjust argument type. Only build for powerpc targets. (darwin_patch_builtins): Only build for powerpc targets. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179962 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
(avx_cvtdq2pd256_2): ... this. (sseunpackfltmode): New mode attr. (vec_unpacks_float_hi_v8hi, vec_unpacks_float_lo_v8hi, vec_unpacku_float_hi_v8hi, vec_unpacku_float_lo_v8hi): Macroize using VI2_AVX2 iterator. (vec_unpacku_float_hi_v8si, vec_unpacku_float_lo_v8si): New expanders. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179960 138bc75d-0d04-0410-961f-82ee72b054a4
-
davem authored
* config/sparc/sparc.md (plusminus): New code iterator. (plusminus_insn): New code attr. (addv2si3, subv2si3, addv4hi3, subv4hi3, addv2hi3, subv2hi3): Merge using plusminus and plusminus_insn. (fpadd64_vis, fpsub64_vis): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179959 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179958 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
Of course we don't support vectors of size <= 4. We're supposed to be checking the vector element size. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179957 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
This allows other rtl expanders to rely on shifts of vector by scalar. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179956 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179955 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179954 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179953 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179952 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 13 Oct, 2011 15 commits
-
-
jason authored
* cp-tree.h (VAR_TEMPL_TYPE_FIELD_OR_FUNCTION_DECL_CHECK): New. (DECL_TEMPLATE_INFO): Use it. * pt.c (tsubst_decl) [FIELD_DECL]: Set DECL_TEMPLATE_INFO if the decl has an NSDMI. * init.c (perform_member_init): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179945 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
* cp-tree.h (struct tree_lambda_expr): Add closure field. (LAMBDA_EXPR_CLOSURE): New. * pt.c (tsubst_copy_and_build) [LAMBDA_EXPR]: Likewise. * semantics.c (build_lambda_object): Use it instead of TREE_TYPE. (begin_lambda_type, lambda_function, add_capture): Likewise. (add_default_capture, lambda_expr_this_capture): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179944 138bc75d-0d04-0410-961f-82ee72b054a4
-
davem authored
* config/sparc/sparc.md (UNSPEC_FPMERGE): Delete. (UNSPEC_MUL16AU, UNSPEC_MUL8, UNSPEC_MUL8SU, UNSPEC_MULDSU): New unspecs. (fpmerge_vis): Remove inaccurate comment, represent using vec_select of a vec_concat. (vec_interleave_lowv8qi, vec_interleave_highv8qi): New insns. (fmul8x16_vis, fmul8x16au_vis, fmul8sux16_vis, fmuld8sux16_vis): Reimplement as unspecs and remove inaccurate comments. (vis3_shift_patname): New code attr. (<vis3_shift_insn><vbits>_vis): Rename to "v<vis3_shift_patname><mode>3". (vis3_addsub_ss_patname): New code attr. (<vis3_addsub_ss_insn><vbits>_vis): Rename to "<vis3_addsub_ss_patname><mode>3". * config/sparc/sparc.c (sparc_vis_init_builtins): Update to accommodate pattern name changes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179943 138bc75d-0d04-0410-961f-82ee72b054a4
-
dnovillo authored
to x_in_function_try_handler. Rename in_base_initializer to x_in_base_initializer. Update all users. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179940 138bc75d-0d04-0410-961f-82ee72b054a4
-
dnovillo authored
(finish_struct_1): ... here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179939 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
* init.c (expand_aggr_init_1): Don't zero-initialize virtual bases of a base subobject. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179934 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
to V. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179931 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
from vector or complex vars even if their DECL_UID is in not_reg_needs bitmap. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179930 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
* config/i386/i386.c (ix86_build_const_vector): Handle also V32QI, V16QI, V16HI and V8HI modes. (emit_reduc_half): New function. (ix86_expand_reduc): Use phminposuw insn for V8HImode UMIN. Use emit_reduc_half helper function. * gcc.target/i386/sse4_1-phminposuw-2.c: New test. * gcc.target/i386/sse4_1-phminposuw-3.c: New test. * gcc.target/i386/avx-vphminposuw-2.c: New test. * gcc.target/i386/avx-vphminposuw-3.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179929 138bc75d-0d04-0410-961f-82ee72b054a4
-
dnovillo authored
Diego Novillo <dnovillo@google.com> * lto-streamer-in.c (input_struct_function_base): Factor out of ... (input_function): ... here. * lto-streamer-out.c (output_struct_function_base): Factor out of ... (output_function): ... here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179928 138bc75d-0d04-0410-961f-82ee72b054a4
-
dnovillo authored
Diego Novillo <dnovillo@google.com> * streamer-hooks.h (struct streamer_hooks): Add hooks input_location and output_location. * lto-streamer-in.c (lto_input_location): Use streamer_hooks.input_location, if set. * lto-streamer-out.c (lto_output_location): Use streamer_hooks.output_location, if set. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179927 138bc75d-0d04-0410-961f-82ee72b054a4
-
hjl authored
2011-10-13 H.J. Lu <hongjiu.lu@intel.com> * gcc.target/i386/pr50712.c: Check ia32 instead of ilp32. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179926 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
* config/sparc/sparc.opt (mfix-at697f): New option. * config/sparc/sparc.c (TARGET_MACHINE_DEPENDENT_REORG): Define. (sparc_reorg): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179921 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179920 138bc75d-0d04-0410-961f-82ee72b054a4
-
rguenth authored
PR tree-optimization/50712 * ipa-split.c (split_function): Always re-gimplify parameters when they are not gimple vals before passing them. Properly check for type compatibility. * gcc.target/i386/pr50712.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179919 138bc75d-0d04-0410-961f-82ee72b054a4
-