- 06 Feb, 2014 14 commits
-
-
2014-02-06 Pascal Obry <obry@adacore.com> * prj-util.adb (For_Interface_Sources): Fix handling of required bodies for aggregate libs. 2014-02-06 Robert Dewar <dewar@adacore.com> * nlists.ads: Minor comment clarifications. 2014-02-06 Robert Dewar <dewar@adacore.com> * gnat1drv.adb (Adjust_Global_Switches): Set Modify_Tree_For_C if gnatd.V set. * opt.ads (Modify_Tree_For_C): New flag. * output.ads, output.adb (Last_Char): New function. 2014-02-06 Pascal Obry <obry@adacore.com> * projects.texi, prj-env.adb (Initialize_Default_Project_Path): Add share/gpr for cross-builds. From-SVN: r207542
Arnaud Charlet committed -
From-SVN: r207541
Ian Bolton committed -
2014-02-06 Robert Dewar <dewar@adacore.com> * exp_util.ads, checks.adb, sem_prag.adb, prj-util.adb, sem_ch13.adb: Minor reformatting and code clean ups. From-SVN: r207540
Robert Dewar committed -
2014-02-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/aarch64/aarch64-cores.def (cortex-a53): Specify CRC32 and crypto support. (cortex-a57): Likewise. (cortex-a57.cortex-a53): Likewise. From-SVN: r207539
Kyrylo Tkachov committed -
2014-02-06 Pascal Obry <obry@adacore.com> * prj-util.adb (For_Interface_Sources): Skip non compilable languages. * prj.ads: Minor typo fix in comment. From-SVN: r207538
Pascal Obry committed -
2014-02-06 Hristian Kirtchev <kirtchev@adacore.com> * sem_prag.adb (Analyze_Depends_In_Decl_Part): Add local variable Expr. Flag clauses with extra parenthesis as this is not allowed by the syntax of the pragma. Code reformatting. 2014-02-06 Hristian Kirtchev <kirtchev@adacore.com> * exp_attr.adb (Expand_N_Attribute_Reference): Alphabetize variables. Rename variabme Tnn to Temp. Do not create a temporary if assertions are disabled. Find enclosing routine _Postconditions and insert the temporary that captures the value of the prefix before the routine. * exp_ch6.adb (Build_Postconditions_Procedure): Insert the generated _Postconditions routine before the first source declaration of the related subprogram. (Insert_After_Last_Declaration): Removed. (Insert_Before_First_Source_Declaration): New routine. 2014-02-06 Ed Schonberg <schonberg@adacore.com> * exp_util.adb, exp_util.ads (Within_Internal_Subprogram): Utility to determine whether current expansion is for the body of a predefined primitive operation. (Make_Predicate_Check): Use Within_Internal_Subpgram * checks.adb (Apply_Predicate_Check): Use Within_Internal_Subprogram * sem_ch13.adb (Freeze_Entity_Checks): Ditto. 2014-02-06 Pascal Obry <obry@adacore.com> * prj.ads, prj-util.adb: Minor reformatting. From-SVN: r207537
Arnaud Charlet committed -
2014-02-06 Ed Schonberg <schonberg@adacore.com> * exp_ch6.adb (Expand_Subprogram_Contract, Append_Enabled_Item): Take into account the Split_PPC flag to ensure that conjuncts in a composite postcondition aspect are tested in source order. 2014-02-06 Hristian Kirtchev <kirtchev@adacore.com> * sem_ch6.adb (Analyze_Generic_Subprogram_Body): Flag illegal use of SPARK_Mode. * sem_ch12.adb (Analyze_Generic_Subprogram_Declaration): Flag illegal use of SPARK_Mode. (Instantiate_Subprogram_Body): Flag illegal use of SPARK_Mode. * sem_prag.adb (Analyze_Pragma): Code reformatting. * sem_util.adb Add with and use clause for Aspects. (Check_SPARK_Mode_In_Generic): New routine. * sem_util.ads (Check_SPARK_Mode_In_Generic): New routine. 2014-02-06 Thomas Quinot <quinot@adacore.com> * a-calend.adb (Formatting_Operations.Split): Ensure that Time_Error is raised for invalid time values. From-SVN: r207536
Arnaud Charlet committed -
2014-02-06 Arnaud Charlet <charlet@adacore.com> * sem_prag.adb (Analyze_Pragma): Rewrite as a null statement in GNATprove_Mode. 2014-02-06 Robert Dewar <dewar@adacore.com> * einfo.ads, einfo.adb (Is_Discriminant_Check_Function): New flag. * exp_ch3.adb (Build_Dcheck_Function): Set Is_Discriminant_Check_Function. 2014-02-06 Hristian Kirtchev <kirtchev@adacore.com> * exp_ch7.adb (Is_Subprogram_Call): Inspect the original tree in certain cases where a construct has been factored out and replaced by a reference to a temporary. 2014-02-06 Ed Schonberg <schonberg@adacore.com> * sem_ch3.adb (Process_Full_View): Fix typo in the order of parameters when propagating predicate function to full view. (Find_Type_Of_Object): Freeze base type of object type to catch premature use of discriminated private type without a full view. From-SVN: r207535
Arnaud Charlet committed -
2014-02-06 Robert Dewar <dewar@adacore.com> * sprint.adb: Minor reformatting. 2014-02-06 Hristian Kirtchev <kirtchev@adacore.com> * exp_ch4.adb (Process_Transient_Object): Add local variable Temp_Ins. When the transient object is initialized by an aggregate, the hook must capture the object after the last component assignment takes place. * exp_ch7.adb (Detect_Subprogram_Call): Expose the subprogram to routine Is_Subprogram_Call. (Is_Subprogram_Call): Inspect an aggregate that has been heavily expanded for subprogram calls. (Process_Transient_Objects): Add local variables Expr, Ptr_Id and Temp_Ins. Remove the nested declare block and adjust the indentation. When the transient object is initialized by an aggregate, the hook must capture the object after the last component assignment takes place. 2014-02-06 Hristian Kirtchev <kirtchev@adacore.com> * sem_prag.adb (Analyze_Global_Item): Detect illegal uses of external states with enabled properties that do not match the global mode. (Property_Error): New routine. * sem_res.adb (Property_Error): New routine. (Resolve_Actuals): Detect illegal uses of external variables with enabled properties in procedure calls that do not match the mode of the corresponding formal parameter. 2014-02-06 Hristian Kirtchev <kirtchev@adacore.com> * sem_util.adb (Has_Enabled_Property): Rename formal parameter Prop_Nam to Property. Update the comment on usage and all occurrences in the body. Add local variable Prop_Nam. When inspecting a property with an expression, the property name appears as the first choice of the component association. From-SVN: r207534
Arnaud Charlet committed -
2014-02-06 Yury Gribov <y.gribov@samsung.com> Kugan Vivekanandarajah <kuganv@linaro.org> gcc/ * config/arm/arm.c (arm_vector_alignment_reachable): Check unaligned_access. * config/arm/arm.c (arm_builtin_support_vector_misalignment): Likewise. testsuite/ * gcc.target/arm/vect-noalign.c: New file. Co-Authored-By: Kugan Vivekanandarajah <kuganv@linaro.org> From-SVN: r207533
Yury Gribov committed -
tree-cfg.c (gimple_duplicate_sese_region): Fix ordering of set_loop_copy and initialize_original_copy_tables. 2014-02-06 Richard Biener <rguenther@suse.de> * tree-cfg.c (gimple_duplicate_sese_region): Fix ordering of set_loop_copy and initialize_original_copy_tables. From-SVN: r207532
Richard Biener committed -
gcc/ * config/aarch64/aarch64-simd.md (aarch64_ashr_simddi): Change QI to SI. From-SVN: r207531
Alex Velenko committed -
PR middle-end/60013 * ipa-inline-analysis.c (compute_bb_predicates): Ensure monotonicity of the dataflow. * gcc.dg/pr60013.c: New testcase. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r207529
Jan Hubicka committed -
From-SVN: r207528
GCC Administrator committed
-
- 05 Feb, 2014 23 commits
-
-
rs6000.c (altivec_expand_vec_perm_const): Change CODE_FOR_altivec_vpku[hw]um to CODE_FOR_altivec_vpku[hw]um_direct. 2014-02-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/rs6000.c (altivec_expand_vec_perm_const): Change CODE_FOR_altivec_vpku[hw]um to CODE_FOR_altivec_vpku[hw]um_direct. * config/rs6000/altivec.md (vec_unpacks_hi_<VP_small_lc>): Change UNSPEC_VUNPACK_HI_SIGN to UNSPEC_VUNPACK_HI_SIGN_DIRECT. (vec_unpacks_lo_<VP_small_lc>): Change UNSPEC_VUNPACK_LO_SIGN to UNSPEC_VUNPACK_LO_SIGN_DIRECT. From-SVN: r207525
Bill Schmidt committed -
PR c/53123 c-family/ * c-omp.c (c_finish_omp_atomic): Remove unreachable return statement. From-SVN: r207524
Marek Polacek committed -
From-SVN: r207523
Jan Hubicka committed -
gcc: 2014-02-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/altivec.md (altivec_vsum2sws): Adjust code generation for -maltivec=be. (altivec_vsumsws): Simplify redundant test. gcc/testsuite: 2014-02-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gcc.dg/vmx/sum2s.c: New. * gcc.dg/vmx/sum2s-be-order.c: New. From-SVN: r207521
Bill Schmidt committed -
gcc: 2014-02-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * altivec.md (UNSPEC_VPACK_UNS_UNS_MOD_DIRECT): New unspec. (UNSPEC_VUNPACK_HI_SIGN_DIRECT): Likewise. (UNSPEC_VUNPACK_LO_SIGN_DIRECT): Likewise. (mulv8hi3): Use gen_altivec_vpkuwum_direct instead of gen_altivec_vpkuwum. (altivec_vpkpx): Test for VECTOR_ELT_ORDER_BIG instead of for BYTES_BIG_ENDIAN. (altivec_vpks<VI_char>ss): Likewise. (altivec_vpks<VI_char>us): Likewise. (altivec_vpku<VI_char>us): Likewise. (altivec_vpku<VI_char>um): Likewise. (altivec_vpku<VI_char>um_direct): New (copy of altivec_vpku<VI_char>um that still relies on BYTES_BIG_ENDIAN, for internal use). (altivec_vupkhs<VU_char>): Emit vupkls* instead of vupkhs* when target is little endian and -maltivec=be is not specified. (*altivec_vupkhs<VU_char>_direct): New (copy of altivec_vupkhs<VU_char> that always emits vupkhs*, for internal use). (altivec_vupkls<VU_char>): Emit vupkhs* instead of vupkls* when target is little endian and -maltivec=be is not specified. (*altivec_vupkls<VU_char>_direct): New (copy of altivec_vupkls<VU_char> that always emits vupkls*, for internal use). (altivec_vupkhpx): Emit vupklpx instead of vupkhpx when target is little endian and -maltivec=be is not specified. (altivec_vupklpx): Emit vupkhpx instead of vupklpx when target is little endian and -maltivec=be is not specified. gcc/testsuite: 2014-02-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gcc.dg/vmx/pack.c: New. * gcc.dg/vmx/pack-be-order.c: New. * gcc.dg/vmx/unpack.c: New. * gcc.dg/vmx/unpack-be-order.c: New. From-SVN: r207520
Bill Schmidt committed -
2014-02-05 Balaji V. Iyer <balaji.v.iyer@intel.com> * g++.dg/cilk-plus/CK/catch_exc.cc: Disable test for -O1. * c-c++-common/cilk-plus/CK/spawner_inline.c: Likewise. From-SVN: r207519
Balaji V. Iyer committed -
PR debug/52727 * combine-stack-adj.c: Revert r206943. * sched-int.h (struct deps_desc): Add last_args_size. * sched-deps.c (init_deps): Initialize it. (sched_analyze_insn): Add OUTPUT dependencies between insns that contain REG_ARGS_SIZE notes. From-SVN: r207518
Richard Henderson committed -
* lto-cgraph.c (asm_nodes_output): Make global. * lto-wrapper.c (run_gcc): Pass down paralelizm to WPA. * gcc.c (AS_NEEDS_DASH_FOR_PIPED_INPUT): Allow WPA parameter (driver_handle_option): Handle OPT_fwpa. From-SVN: r207516
Jan Hubicka committed -
* lto-cgraph.c (asm_nodes_output): Make global. * lto-wrapper.c (run_gcc): Pass down paralelizm to WPA. * gcc.c (AS_NEEDS_DASH_FOR_PIPED_INPUT): Allow WPA parameter (driver_handle_option): Handle OPT_fwpa. * lto.c (lto_parallelism): New static var. (do_stream_out, wait_for_child, stream_out): New static functions. (lto_wpa_write_files): Add support for parallel streaming. (do_whole_program_analysis): Set parallelism. * lang.opt (fwpa): Add parameter. * lto-lang.c (lto_handle_option): Handle flag_wpa. (lto_init): Update use of flag_wpa. * lto-streamer.h (asm_nodes_output): Declare. From-SVN: r207515
Jan Hubicka committed -
* gcc.target/i386/avx512f-vrndscaless-2.c (compute_rndscaless): Use __builtin_floorf, __builtin_ceilf. * gcc.target/i386/sse4_1-floorf-sfix-vec.c (floorf): Remove declaration. (TEST): Use __builtin_floorf. * gcc.target/i386/sse4_1-floorf-vec.c: Likewise. From-SVN: r207514
Rainer Orth committed -
PR ipa/59947 * ipa-devirt.c (possible_polymorphic_call_targets): Fix a comment typo and formatting issue. If odr_hash hasn't been created, return vNULL and set *completep to false. * g++.dg/opt/pr59947.C: New test. From-SVN: r207512
Jakub Jelinek committed -
PR c++/58703 * parser.c (cp_parser_omp_declare_reduction): Save and free declarator_obstack. * c-c++-common/gomp/pr58703.c: New test. From-SVN: r207511
Jakub Jelinek committed -
2014-02-05 Richard Biener <rguenther@suse.de> lto/ * lto.h (lto_global_var_decls): Remove. * lto-lang.c (lto_init): Do not allocate lto_global_var_decls. (lto_write_globals): Do nothing in WPA stage, gather globals from the varpool here ... * lto.c (lto_main): ... not here. (materialize_cgraph): Do not call rest_of_decl_compilation on the empty lto_global_var_decls vector. (lto_global_var_decls): Remove. From-SVN: r207510
Richard Biener committed -
2014-02-05 Richard Biener <rguenther@suse.de> PR testsuite/60076 * gcc.dg/vect/pr60012.c: Require vect_extract_even_odd and avoid using unsigned long long. From-SVN: r207509
Richard Biener committed -
2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config.host: Include t-floattodi also for s390x. * config/s390/32/_fixdfdi.c: Omit in 64 bit mode. * config/s390/32/_fixsfdi.c: Likewise. * config/s390/32/_fixtfdi.c: Likewise. * config/s390/32/_fixunsdfdi.c: Likewise. * config/s390/32/_fixunssfdi.c: Likewise. * config/s390/32/_fixunstfdi.c: Likewise. From-SVN: r207507
Andreas Krebbel committed -
PR middle-end/57499 * tree-eh.c (cleanup_empty_eh): Bail out on totally empty bb with no successors. * g++.dg/torture/pr57499.C: New test. From-SVN: r207504
Jakub Jelinek committed -
gcc/ PR target/59718 * doc/invoke.texi (-march=): Clarify documentation for ARM. (-mtune=): Likewise. (-mcpu=): Likewise. From-SVN: r207501
James Greenhalgh committed -
tree-vect-loop.c (vect_analyze_loop_2): Be more informative when not vectorizing because of too many alias checks. 2014-02-05 Richard Biener <rguenther@suse.de> * tree-vect-loop.c (vect_analyze_loop_2): Be more informative when not vectorizing because of too many alias checks. * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list): Add more verboseness, avoid duplicate MSG_MISSED_OPTIMIZATION. From-SVN: r207499
Richard Biener committed -
mn10300.c (mn10300_hard_regno_mode_ok): Do not accept extended registers in any mode when compiling for the MN10300. * config/mn10300/mn10300.c (mn10300_hard_regno_mode_ok): Do not accept extended registers in any mode when compiling for the MN10300. From-SVN: r207498
Nick Clifton committed -
PR sanitizer/59600 gcc/ * cif-code.def (ATTRIBUTE_MISMATCH): New CIF code. * ipa-inline.c (report_inline_failed_reason): Handle mismatched sanitization attributes. (can_inline_edge_p): Likewise. (sanitize_attrs_match_for_inline_p): New function. gcc/testsuite/ * gcc.dg/asan/nosanitize-and-inline.c: : New test. From-SVN: r207497
Yury Gribov committed -
* ipa-prop.c (detect_type_change): Shor circuit testing of type changes on THIS pointer. * g++.dg/ipa/devirrt-22.C: Fix template. From-SVN: r207495
Jan Hubicka committed -
PR target/59777 * config/pa/pa.c (legitimize_tls_address): Return original address if not passed a SYMBOL_REF rtx. (hppa_legitimize_address): Call legitimize_tls_address for all TLS addresses. (pa_emit_move_sequence): Simplify TLS source operands. (pa_legitimate_constant_p): Reject all TLS constants. * config/pa/pa.h (PA_SYMBOL_REF_TLS_P): Correct comment. (CONSTANT_ADDRESS_P): Reject TLS CONST addresses. From-SVN: r207493
John David Anglin committed -
From-SVN: r207492
GCC Administrator committed
-
- 04 Feb, 2014 3 commits
-
-
ipa.c (function_and_variable_visibility): Decompose DECL_ONE_ONLY groups when we know they are controlled by LTO. * ipa.c (function_and_variable_visibility): Decompose DECL_ONE_ONLY groups when we know they are controlled by LTO. * varasm.c (default_binds_local_p_1): If object is in other partition, it will be resolved locally. * lto-partition.c (get_symbol_class): Only unforced DECL_ONE_ONLY needs duplicating, not generic COMDAT. From-SVN: r207489
Jan Hubicka committed -
2014-02-04 Bernd Edlinger <bernd.edlinger@hotmail.de> * gcc/config/host-linux.c (linux_gt_pch_use_address): Don't use SSIZE_MAX because it is not always defined. From-SVN: r207488
Bernd Edlinger committed -
2014-02-04 Vladimir Makarov <vmakarov@redhat.com> PR bootstrap/59913 * lra-constraints.c (need_for_split_p): Use more 3 reloads as threshold for pseudo splitting. (update_ebb_live_info): Process call argument hard registers and hard registers from insn definition too. (max_small_class_regs_num): New constant. (inherit_in_ebb): Update live hard regs through EBBs. Update reloads_num only for small register classes. Don't split for outputs of jumps. From-SVN: r207485
Vladimir Makarov committed
-