aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2015-05-18freebsd-spec.h (FBSD_STARTFILE_SPEC): Add the bits to build pie executables.Andreas Tobler5-25/+28
2015-05-18 Andreas Tobler <andreast@gcc.gnu.org> gcc: * config/freebsd-spec.h (FBSD_STARTFILE_SPEC): Add the bits to build pie executables. (FBSD_ENDFILE_SPEC): Likewise. * config/i386/freebsd.h (STARTFILE_SPEC): Remove and use the one from config/freebsd-spec.h. (ENDFILE_SPEC): Likewise. gcc/testsuite: * lib/target-supports.exp (check_effective_target_pie): Add *-*-freebsd* to the family of pie capable targets. From-SVN: r223308
2015-05-18pt.c (retrieve_specialization): Make sure our arguments have gone through ↵Jason Merrill2-0/+11
strip_typedefs. * pt.c (retrieve_specialization): Make sure our arguments have gone through strip_typedefs. From-SVN: r223305
2015-05-18pt.c (tsubst_decl): Call coerce_innermost_template_parms.Jason Merrill4-1/+42
* pt.c (tsubst_decl) [VAR_DECL]: Call coerce_innermost_template_parms. (determine_specialization): Call coerce_template_parms. From-SVN: r223304
2015-05-18DR 1391Jason Merrill6-43/+150
DR 1391 * pt.c (type_unification_real): Check convertibility here. (unify_one_argument): Not here. From-SVN: r223301
2015-05-18tree.c (strip_typedefs_expr): Fix typo.Jason Merrill2-4/+8
* tree.c (strip_typedefs_expr) [TRAIT_EXPR]: Fix typo. (strip_typedefs) [DECLTYPE_TYPE]: Fix typedef of decltype. [TREE_LIST]: Fix no-change case. From-SVN: r223300
2015-05-18* ptree.c (cxx_print_xnode): Handle TRAIT_EXPR.Jason Merrill2-0/+11
From-SVN: r223299
2015-05-18re PR rtl-optimization/57032 (internal compiler error: Max. number of ↵Uros Bizjak3-10/+15
generated reload insns per insn is achieved (90)) PR target/57032 * config/alpha/constraints.md (Q): Rewrite as define_memory_constraint. Check for a memory location that is not a reference (using an AND) to an unaligned location here. * config/alpha/predicates.md (normal_memory_operand): Remove. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r223298
2015-05-18arm.md (andsi_not_shiftsi_si_scc): New pattern.Alex Velenko7-0/+262
gcc/config 2015-05-18 Alex Velenko <Alex.Velenko@arm.com> * arm/arm.md (andsi_not_shiftsi_si_scc): New pattern. (andsi_not_shiftsi_si_scc_no_reuse): New pattern. gcc/testsuite 2015-05-18 Alex Velenko <Alex.Velenko@arm.com> * gcc.target/arm/bics_1.c : New testcase. * gcc.target/arm/bics_2.c : New testcase. * gcc.target/arm/bics_3.c : New testcase. * gcc.target/arm/bics_4.c : New testcase. From-SVN: r223295
2015-05-18Fix ICE when both micromips and nomicromips attributes are used.Robert Suchanek4-0/+33
gcc/ChangeLog: 2015-05-18 Robert Suchanek <robert.suchanek@imgtec.com> * config/mips/mips.c (micromips_globals): New variable. (mips_set_compression_mode): Save and reinitialize target-dependent state for microMIPS. gcc/testsuite/ChangeLog: 2015-05-18 Robert Suchanek <robert.suchanek@imgtec.com> * gcc.target/mips/umips-attr.c: New test. From-SVN: r223294
2015-05-18IPA ICF: add support for debug counter.Martin Liska2-1/+9
* dbgcnt.def: Add new counter. * ipa-icf.c (sem_item_optimizer::merge_classes): Use the counter. From-SVN: r223288
2015-05-18dbgcnt: enhance behavior.Martin Liska3-13/+24
* dbgcnt.def: Sort counters. * opts.c (common_handle_option): Do not compile if -fdbg-cnt-list is enabled. From-SVN: r223287
2015-05-18Move array-type va_list handling to build_va_argTom de Vries9-62/+143
2015-05-18 Tom de Vries <tom@codesourcery.com> * gimplify.c (gimplify_modify_expr): Remove do_deref handling. (gimplify_va_arg_expr): Remove do_deref handling. Remove adding of address operator to va_list operand. * tree-stdarg.c (expand_ifn_va_arg_1): Do deref of va_list operand unconditionally. * config/i386/i386.c (ix86_gimplify_va_arg): Remove deref on va_list operand. * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Same. * config/s390/s390.c (s390_gimplify_va_arg): Same. * config/spu/spu.c (spu_gimplify_va_arg_expr): Same. * c-common.c (build_va_arg_1): New function. (build_va_arg): Add address operator to va_list operand if necessary. From-SVN: r223286
2015-05-18Fix whitespace in tree-ssa-tail-merge.cTom de Vries2-7/+10
2015-05-18 Tom de Vries <tom@codesourcery.com> * tree-ssa-tail-merge.c: Fix whitespace. From-SVN: r223285
2015-05-17invoke.texi (ARM Options, mtune): Add generic-armv7-a, cortex-a17, and ↵Jim Wilson2-5/+10
cortex-a17.cortex-a7. gcc/ * doc/invoke.texi (ARM Options, mtune): Add generic-armv7-a, cortex-a17, and cortex-a17.cortex-a7. From-SVN: r223281
2015-05-18Daily bump.GCC Administrator1-1/+1
From-SVN: r223280
2015-05-1720150120-1.c (dg-final): Cleanup original tree dump.Uros Bizjak5-0/+11
* gcc.dg/20150120-1.c (dg-final): Cleanup original tree dump. * gcc.dg/20150120-2.c (dg-final): Ditto. * gcc.dg/20150120-2.c (dg-final): Ditto. * gfortran.dg/inline_matmul_1.f90 (dg-final): Ditto. From-SVN: r223276
2015-05-17pr66174.c: New test.Uros Bizjak1-0/+30
* gcc.target/i386/pr66174.c: New test. From-SVN: r223275
2015-05-17re PR target/54236 ([SH] Improve addc and subc insn utilization)Oleg Endo2-4/+9
gcc/ PR target/54236 * config/sh/sh.md (*addc_2r_t): Use ashift instead of mult. From-SVN: r223274
2015-05-17re PR target/66174 (ICE: in extract_insn, at recog.c:2341 (unrecognizable ↵Uros Bizjak3-8/+46
insns) with -ftree-vectorize -mavx512ifma) PR target/66174 * config/i386/i386.c (expand_vec_perm_blend): Enable HImode and QImode inner modes for TARGET_AVX512BW. Force mask operand to a register for AVX512F modes. testsuite/ChangeLog: PR target/66174 * gcc.target/i386/pr66174.c: New test. From-SVN: r223269
2015-05-17re PR fortran/37131 (inline matmul for small matrix sizes)Thomas Koenig3-0/+48
2015-05-17 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/37131 * gfortran.dg/matmul_bounds_6.f90: New test. * gfortran.dg/matmul_bounds_7.f90: New test. From-SVN: r223268
2015-05-17Daily bump.GCC Administrator1-1/+1
From-SVN: r223265
2015-05-16FT32 target added. Approved by Jeff Law [law@redhat.com]James Bowman13-0/+2731
From-SVN: r223261
2015-05-16toplev.c (emit_debug_global_declarations): Do not output debug info when ↵Jan Hubicka2-0/+8
doing slim LTO objects. * toplev.c (emit_debug_global_declarations): Do not output debug info when doing slim LTO objects. From-SVN: r223260
2015-05-16ipa-utils.h (warn_types_mismatch, [...]): Declare.Jan Hubicka1-0/+18
* ipa-utils.h (warn_types_mismatch, odr_or_derived_type_p, odr_types_equivalent_p): Declare. (odr_type_p): Use gcc_checking_assert. (type_in_anonymous_namespace_p) Declare. (type_with_linkage_p): Declare. * common.opt (Wlto-type-mismatch): New warning. * ipa-devirt.c (compound_type_base): New function. (odr_or_derived_type_p): New function. (odr_types_equivalent_p): New function. (add_type_duplicate): Simplify. (type_with_linkage_p): Add hack to prevent false positives on C types (type_in_anonymous_namespace_p): Likewise. * tree.c (need_assembler_name_p): Use type_with_linkage. * tree.h (type_in_anonymous_namespace_p): Remove. * doc/invoke.texi (-Wlto-type-mismatch): Document From-SVN: r223259
2015-05-16ipa-utils.h (warn_types_mismatch, [...]): Declare.Jan Hubicka16-78/+269
* ipa-utils.h (warn_types_mismatch, odr_or_derived_type_p, odr_types_equivalent_p): Declare. (odr_type_p): Use gcc_checking_assert. (type_in_anonymous_namespace_p) Declare. (type_with_linkage_p): Declare. * common.opt (Wlto-type-mismatch): New warning. * ipa-devirt.c (compound_type_base): New function. (odr_or_derived_type_p): New function. (odr_types_equivalent_p): New function. (add_type_duplicate): Simplify. (type_with_linkage_p): Add hack to prevent false positives on C types (type_in_anonymous_namespace_p): Likewise. * tree.c (need_assembler_name_p): Use type_with_linkage. * tree.h (type_in_anonymous_namespace_p): Remove. * doc/invoke.texi (-Wlto-type-mismatch): Document * lto-symtab.c (warn_type_compatibility_p): Break out from ...; compare ODR types (if available) and function types. (lto_symtab_merge): ... here; output ODR violation warnings and call warn_types_mismatch. * gfortran.dg/lto/20091028-2_1.c: Fix return value. * gfortran.dg/lto/pr41576_1.f90: Add interface. * gfortran.dg/lto/pr41521_0.f90: Disable lto-type-mismatch * gfortran.dg/lto/pr60635_0.f90: Disable lto-type-mismatch. * gfortran.dg/lto/20091028-1_1.c: Fix return type. * gcc.dg/lto/20120723_0.c: Disbale lto-type-mismatch. From-SVN: r223258
2015-05-16tree.c (verify_type_variant): Verify tree_base and type_common flags.Jan Hubicka2-98/+142
* tree.c (verify_type_variant): Verify tree_base and type_common flags. (verify_type): Verify STRING_FLAG. From-SVN: r223252
2015-05-16re PR fortran/65903 (Line continuation followed by comment character in ↵Jerry DeLisle3-0/+31
string fails to compile) 2015-05-16 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/65903 * gfortran.dg/continuation_13.f90: Update test. * gfortran.dg/pr65903.f90: New test. From-SVN: r223249
2015-05-16re PR fortran/65903 (Line continuation followed by comment character in ↵Jerry DeLisle3-14/+14
string fails to compile) 2015-05-16 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/65903 * io.c (format_lex): Change to NONSTRING when checking for possible doubled quote. * scanner.c (gfc_next_char_literal): Revert change from 64506 and add a check for quotes and return. From-SVN: r223248
2015-05-16re PR fortran/66113 (Variable n cannot appear in the expression with nested ↵Thomas Koenig4-4/+46
blocks) 2015-05-16 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/66113 * expr.c (is_parent_of_current_ns): New function. (check_restricted): Use it. 2015-05-16 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/66113 * gfortran.dg/block_14.f90: New test. From-SVN: r223238
2015-05-16re PR fortran/44054 (Handle -Werror, -Werror=, -fdiagnostics-show-option, ↵Manuel López-Ibáñez16-258/+375
!GCC$ diagnostic (pragmas) and color) gcc/fortran/ChangeLog: 2015-05-16 Manuel López-Ibáñez <manu@gcc.gnu.org> PR fortran/44054 Replace all calls to gfc_notify_std_1 with gfc_notify_std and gfc_warning_1 with gfc_warning. * decl.c (gfc_verify_c_interop_param): Here. * resolve.c (resolve_branch): Here. (resolve_fl_derived): Here. * dependency.c (gfc_check_argument_var_dependency): * scanner.c (preprocessor_line): Use gfc_warning_now_at. Fix line counter and locations before and after warning. * gfortran.h (gfc_warning_1, gfc_warning_now_1, gfc_notify_std_1): Delete. (gfc_warning_now_at): Declare. * error.c (gfc_warning_1): Delete. (gfc_notify_std_1): Delete. (gfc_warning_now_1): Delete. (gfc_format_decoder): Handle two locations. (gfc_diagnostic_build_prefix): Rename as gfc_diagnostic_build_kind_prefix. (gfc_diagnostic_build_locus_prefix): Take an expanded_location instead of diagnostic_info. (gfc_diagnostic_build_locus_prefix): Add overload that takes two expanded_location. (gfc_diagnostic_starter): Handle two locations. (gfc_warning_now_at): New. (gfc_diagnostics_init): Initialize caret_chars array. (gfc_diagnostics_finish): Reset caret_chars array to default. gcc/cp/ChangeLog: 2015-05-16 Manuel López-Ibáñez <manu@gcc.gnu.org> PR fortran/44054 * error.c (cp_diagnostic_starter): Use diagnostic_location function. (cp_print_error_function): Likewise. (cp_printer): Replace locus pointer with accessor function. gcc/c/ChangeLog: 2015-05-16 Manuel López-Ibáñez <manu@gcc.gnu.org> PR fortran/44054 * c-objc-common.c (c_tree_printer): Replace locus pointer with accessor function. gcc/ChangeLog: 2015-05-16 Manuel López-Ibáñez <manu@gcc.gnu.org> PR fortran/44054 * tree-pretty-print.c (percent_K_format): Replace locus pointer with accessor function. * tree-diagnostic.c (diagnostic_report_current_function): Use diagnostic_location function. (maybe_unwind_expanded_macro_loc): Likewise. (virt_loc_aware_diagnostic_finalizer): Likewise. (default_tree_printer): Replace locus pointer with accessor function. * diagnostic.c (diagnostic_initialize): Initialize caret_chars array. (diagnostic_set_info_translated): Initialize second location. (diagnostic_build_prefix): Use CARET_LINE_MARGIN. (diagnostic_show_locus): Handle two locations. Call diagnostic_print_caret_line. (diagnostic_print_caret_line): New. (default_diagnostic_starter): Use diagnostic_location function. (diagnostic_report_diagnostic): Use diagnostic_location function. (verbatim): Do not set text.locus. * diagnostic.h (struct diagnostic_info): Remove location field. (struct diagnostic_context): Make caret_chars an array of two. (diagnostic_location): New inline. (diagnostic_expand_location): Handle two locations. (diagnostic_same_line): New inline. (diagnostic_print_caret_line): Declare. (CARET_LINE_MARGIN): New constant. * pretty-print.c (pp_printf): Do not set text.locus. (pp_verbatim): Do not set text.locus. * pretty-print.h (MAX_LOCATIONS_PER_MESSAGE): New constant. (struct text_info): Replace locus pointer with locations array. Add accessor functions. gcc/testsuite/ChangeLog: 2015-05-16 Manuel López-Ibáñez <manu@gcc.gnu.org> PR fortran/44054 * lib/gfortran-dg.exp: Update regex to handle two locations for the same diagnostic without caret. * gfortran.dg/badline.f: Test also that line numbers are correct before and after "left but not entered" warning. From-SVN: r223237
2015-05-16re PR fortran/44054 (Handle -Werror, -Werror=, -fdiagnostics-show-option, ↵Manuel López-Ibáñez5-0/+84
!GCC$ diagnostic (pragmas) and color) gcc/fortran/ChangeLog: 2015-05-16 Manuel López-Ibáñez <manu@gcc.gnu.org> PR fortran/44054 Replace all calls to gfc_notify_std_1 with gfc_notify_std and gfc_warning_1 with gfc_warning. * decl.c (gfc_verify_c_interop_param): Here. * resolve.c (resolve_branch): Here. (resolve_fl_derived): Here. * dependency.c (gfc_check_argument_var_dependency): * scanner.c (preprocessor_line): Use gfc_warning_now_at. Fix line counter and locations before and after warning. * gfortran.h (gfc_warning_1, gfc_warning_now_1, gfc_notify_std_1): Delete. (gfc_warning_now_at): Declare. * error.c (gfc_warning_1): Delete. (gfc_notify_std_1): Delete. (gfc_warning_now_1): Delete. (gfc_format_decoder): Handle two locations. (gfc_diagnostic_build_prefix): Rename as gfc_diagnostic_build_kind_prefix. (gfc_diagnostic_build_locus_prefix): Take an expanded_location instead of diagnostic_info. (gfc_diagnostic_build_locus_prefix): Add overload that takes two expanded_location. (gfc_diagnostic_starter): Handle two locations. (gfc_warning_now_at): New. (gfc_diagnostics_init): Initialize caret_chars array. (gfc_diagnostics_finish): Reset caret_chars array to default. gcc/cp/ChangeLog: 2015-05-16 Manuel López-Ibáñez <manu@gcc.gnu.org> PR fortran/44054 * error.c (cp_diagnostic_starter): Use diagnostic_location function. (cp_print_error_function): Likewise. (cp_printer): Replace locus pointer with accessor function. gcc/c/ChangeLog: 2015-05-16 Manuel López-Ibáñez <manu@gcc.gnu.org> PR fortran/44054 * c-objc-common.c (c_tree_printer): Replace locus pointer with accessor function. gcc/ChangeLog: 2015-05-16 Manuel López-Ibáñez <manu@gcc.gnu.org> PR fortran/44054 * tree-pretty-print.c (percent_K_format): Replace locus pointer with accessor function. * tree-diagnostic.c (diagnostic_report_current_function): Use diagnostic_location function. (maybe_unwind_expanded_macro_loc): Likewise. (virt_loc_aware_diagnostic_finalizer): Likewise. (default_tree_printer): Replace locus pointer with accessor function. * diagnostic.c (diagnostic_initialize): Initialize caret_chars array. (diagnostic_set_info_translated): Initialize second location. (diagnostic_build_prefix): Use CARET_LINE_MARGIN. (diagnostic_show_locus): Handle two locations. Call diagnostic_print_caret_line. (diagnostic_print_caret_line): New. (default_diagnostic_starter): Use diagnostic_location function. (diagnostic_report_diagnostic): Use diagnostic_location function. (verbatim): Do not set text.locus. * diagnostic.h (struct diagnostic_info): Remove location field. (struct diagnostic_context): Make caret_chars an array of two. (diagnostic_location): New inline. (diagnostic_expand_location): Handle two locations. (diagnostic_same_line): New inline. (diagnostic_print_caret_line): Declare. (CARET_LINE_MARGIN): New constant. * pretty-print.c (pp_printf): Do not set text.locus. (pp_verbatim): Do not set text.locus. * pretty-print.h (MAX_LOCATIONS_PER_MESSAGE): New constant. (struct text_info): Replace locus pointer with locations array. Add accessor functions. gcc/testsuite/ChangeLog: 2015-05-16 Manuel López-Ibáñez <manu@gcc.gnu.org> PR fortran/44054 * lib/gfortran-dg.exp: Update regex to handle two locations for the same diagnostic without caret. * gfortran.dg/badline.f: Test also that line numbers are correct before and after "left but not entered" warning. From-SVN: r223236
2015-05-16re PR target/65768 (sub-optimimal code for constant Uses in loop)Kugan Vivekanandarajah5-21/+87
gcc/ChangeLog: 2015-05-16 Kugan Vivekanandarajah <kuganv@linaro.org> Zhenqiang Chen <zhenqiang.chen@linaro.org> PR target/65768 * config/arm/arm.h (DONT_EARLY_SPLIT_CONSTANT): New macro. * config/arm/arm.md (subsi3, andsi3, iorsi3, xorsi3, movsi): Keep some large constants in register instead of splitting them. gcc/testsuite/ChangeLog: 2015-05-16 Kugan Vivekanandarajah <kuganv@linaro.org> Zhenqiang Chen <zhenqiang.chen@linaro.org> PR target/65768 * gcc.target/arm/maskdata.c: New test. Co-Authored-By: Zhenqiang Chen <zhenqiang.chen@linaro.org> From-SVN: r223235
2015-05-162015-05-16 Mikael Morin <mikael@gcc.gnu.orgMikael Morin4-6/+93
Paul Thomas <pault@gcc.gnu.org> PR fortran/65792 * trans-expr.c (gfc_trans_subcomponent_assign): Always assign the expression component to the destination. In addition, if the component has allocatable components, copy them and deallocate those of the expression, if it is not a variable. The expression is fixed if not a variable to prevent multiple evaluations. 2015-05-16 Mikael Morin <mikael@gcc.gnu.org> PR fortran/65792 * gfortran.dg/derived_constructor_components_5: New test From-SVN: r223234
2015-05-16re PR target/66140 (ICE at extract_insn, at recog.c:2343 when compiling for ↵Uros Bizjak4-5/+67
alpha with gcc-5.1.1) PR target/66140 * config/alpha/alpha.c (get_aligned_mem): Also look for reload replacements in memory addresses. (get_unaligned_address): Ditto. testsuite/ChangeLog: PR target/66140 * gcc.target/alpha/pr66140.c: New test. From-SVN: r223232
2015-05-16Daily bump.GCC Administrator1-1/+1
From-SVN: r223230
2015-05-15re PR c/48956 (-Wconversion should warn when a complex value is assigned to ↵Mikhail Maltsev6-23/+446
a real result) PR c/48956 gcc/c-family/ * c-common.c (int_safely_convertible_to_real_p): Define. (unsafe_conversion_p): Check conversions involving complex types. (conversion_warning): Add new warning message for conversions which discard imaginary component. * c-common.h: (enum conversion_safety): Add new enumerator for such conversions. gcc/testsuite/ * gcc.dg/Wconversion-complex-c99.c: New test. * gcc.dg/Wconversion-complex-gnu.c: New test. From-SVN: r223223
2015-05-15re PR tree-optimization/64454 (optimize (x%5)%5)Marc Glisse4-3/+42
2015-05-15 Marc Glisse <marc.glisse@inria.fr> PR tree-optimization/64454 gcc/ * match.pd ((X % Y) % Y, (X % Y) < Y): New patterns. (-1 - A -> ~A): Remove unnecessary condition. gcc/testsuite/ * gcc.dg/modmod.c: New testcase. From-SVN: r223221
2015-05-15[PATCH 9/13] x86 musl supportGregor Richards3-0/+16
On behalf of Szabolcs Nagy. 2015-05-15 Gregor Richards <gregor.richards@uwaterloo.ca> * config/i386/linux.h (MUSL_DYNAMIC_LINKER): Define. * config/i386/linux64.h (MUSL_DYNAMIC_LINKER32): Define. (MUSL_DYNAMIC_LINKER64, MUSL_DYNAMIC_LINKERX32): Define. From-SVN: r223218
2015-05-15Add missed testcase for 223215.Ilya Enkovich1-0/+17
From-SVN: r223217
2015-05-15ipa-chkp.h (chkp_wrap_function): New.Ilya Enkovich6-8/+91
gcc/ * ipa-chkp.h (chkp_wrap_function): New. * ipa-chkp.c (chkp_wrap_function): Remove 'static'. (chkp_wrap_function_name): New. (chkp_build_instrumented_fndecl): Use chkp_wrap_function_name to get wrapper name. * lto-cgraph.c: Include ipa-chkp.h. (input_cgraph_1): Avoid alias chain for wrappers. gcc/testsuite/ * gcc.dg/lto/chkp-wrap-asm-name_0.c: New. From-SVN: r223216
2015-05-15re PR middle-end/66134 ([CHKP] ICE: Unable to coalesce ssa_names 18 and 17 ↵Ilya Enkovich3-5/+26
which are marked as MUST COALESCE) gcc/ PR middle-end/66134 * tree-chkp.c (chkp_get_orginal_bounds_for_abnormal_copy): New. (chkp_maybe_copy_and_register_bounds): Don't copy abnormal copy. gcc/testsuite/ PR middle-end/66134 * gcc.target/i386/mpx/pr66134.c: New test. From-SVN: r223215
2015-05-15[AArch64] Removed unused SLOWMUL target flagsKyrylo Tkachov2-4/+9
* config/aarch64/aarch64.h (AARCH64_TUNE_SLOWMUL): Delete. (AARCH64_FL_SLOWMUL): Delete. (AARCH64_FL_CRC): Redefine to 1<<3. (AARCH64_FL_USE_FMA_STEERING_PASS): Redefine to 1<<4. From-SVN: r223214
2015-05-15Apply arm.h change for previous commit.Ramana Radhakrishnan1-2/+2
2015-05-15 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> * config/arm/arm.h (LOGICAL_OP_NON_SHORT_CIRCUIT): Add appropriate casting. From-SVN: r223213
2015-05-15Fix up bootstrap and fix typo in related changelog entry.Ramana Radhakrishnan1-1/+6
2015-05-15 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> * config/arm/arm.h (LOGICAL_OP_NON_SHORT_CIRCUIT): Add appropriate casting. From-SVN: r223212
2015-05-15alpha.md (extendqidi2): Use general_operand instead of some_operand for ↵Uros Bizjak3-20/+17
operand[1] predicate. * config/alpha/alpha.md (extendqidi2): Use general_operand instead of some_operand for operand[1] predicate. (extendhidi2): Ditto. (cbranchdi4): Use general_operand instead of some_operand for operand[1] and operands[2] predicates. (cstoredi4): Ditto. * config/alpha/predicates.md (some_operand): Remove unused predicate. (some_ni_operand): Ditto. From-SVN: r223211
2015-05-15alpha.c (alpha_extract_integer): Do not handle CONST_WIDE_INT and CONST_DOUBLE.Uros Bizjak2-22/+25
* config/alpha/alpha.c (alpha_extract_integer): Do not handle CONST_WIDE_INT and CONST_DOUBLE. Assert CONST_INT_P (x). (alpha_legitimate_constant_p) <case CONST_WIDE_INT>: Check high and low part of the constant using alpha_emit_set_const_1. (alpha_expand_mov): Do not handle CONST_WIDE_INT and CONST_DOUBLE. From-SVN: r223210
2015-05-14varasm.c (output_constant_pool_1): Pass down alignment from constant pool ↵Rohit Arul Raj4-2/+108
entry's descriptor to output_constant_pool_2. 2015-05-14 Rohit Arul Raj <rohitrulraj@freescale.com> * varasm.c (output_constant_pool_1): Pass down alignment from constant pool entry's descriptor to output_constant_pool_2. (output_object_block): Add comment prior to call to output_constant_pool_1. * gcc.target/powerpc/pr60158.c: New test. From-SVN: r223209
2015-05-15Daily bump.GCC Administrator1-1/+1
From-SVN: r223208
2015-05-14re PR rtl-optimization/65862 ([MIPS] IRA/LRA issue: integers spilled to ↵Vladimir Makarov7-1/+54
floating-point registers) 2015-05-14 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/65862 * target.def (ira_change_pseudo_allocno_class): New hook. * targhooks.c (default_ira_change_pseudo_allocno_class): Default value of the hook. * targhooks.h (default_ira_change_pseudo_allocno_class): New extern * doc/tm.texi.in (TARGET_IRA_CHANGE_PSEUDO_ALLOCNO_CLASS): Add the hook. * ira-costs.c (find_costs_and_classes): Call the hook and change classes when it is necessary. * doc/tm.texi: Update. From-SVN: r223202
2015-05-14i386.md (sibcall_memory): Check that register with callee address is not ↵Alexander Monakov5-9/+65
also used as one of the arguments... * config/i386/i386.md (sibcall_memory): Check that register with callee address is not also used as one of the arguments, instead of checking that it is not live after the sibcall. (sibcall_pop_memory): Ditto. (sibcall_value_memory): Ditto. (sibcall_value_pop_memory): Ditto. testsuite: * gcc.target/i386/sibcall-7.c: New test. * gcc.target/i386/sibcall-8.c: New test. From-SVN: r223201