- 11 May, 2015 25 commits
-
-
* class.c (fixup_type_variants): Do not copy TYPE_METHODS (one_inheriting_sig): Assert tat we always set TYPE_METHODS of main variant. * semantics.c (finish_member_declaration): Likewise. * method.c (lazily_declare_fn): Allways add method to main variant list. * dwarf2out.c (gen_member_die): Sanity check that we access TYPE_MAIN_VARIANT for TYPE_METHODS. * function.c (use_register_for_decl): Look for TYPE_MAIN_VARIANT when checking TYPE_METHODS. * tree.c (free_lang_data_in_type): See TYPE_METHODS to error_mark_node if non-null. (build_distinct_type_copy): Clear TYPE_METHODS. (verify_type_variant): Verify that TYPE_METHODS is NULL for variants. (verify_type): Allow TYPE_METHODS to be error_mark_node. * tree.def: Update docs of YTPE_STUB_DECL and TYPE_METHODS. From-SVN: r223021
Jan Hubicka committed -
* emit-rtl.c (emit_pattern_after_setloc): Add missing guard. (emit_pattern_before_setloc): Likewise. From-SVN: r223020
Eric Botcazou committed -
PR fortran/66100 gcc/fortran/ * simplify.c (simplify_bound): Fix assert to accept subobject * arrays. gcc/testsuite/ * gfortran.dg/bound_simplification_6.f90: New. From-SVN: r223019
Mikael Morin committed -
From-SVN: r223016
Joseph Myers committed -
gcc/ * genrecog.c (match_pattern_1): Expect the pattern to be a SEQUENCE for define_peephole2s. (get_peephole2_pattern): New function. (main): Use it. Call validate_pattern. From-SVN: r223015
Richard Sandiford committed -
From-SVN: r223012
Paulo Matos committed -
* configure.ac: Fix typo. * configure: Regenerate. From-SVN: r223011
Paulo Matos committed -
From-SVN: r223010
Steve Ellcey committed -
avr.c (avr_hard_regno_call_part_clobbered): Use LAST_CALLEE_SAVED_REG instead of hard-coded register number. * config/avr/avr.c (avr_hard_regno_call_part_clobbered): Use LAST_CALLEE_SAVED_REG instead of hard-coded register number. (Last callee saved reg is different for AVR_TINY architecture) From-SVN: r223009
Pitchumani Sivanupandi committed -
* config/i386/i386.c (ix86_loop_unroll_adjust): Use PATTERN (insn) when looking for memory references. From-SVN: r223008
Uros Bizjak committed -
When libgo is not optimized the static function profilealloc in malloc.goc shows up in the stack trace. Rename it to runtime_profilealloc so that runtime/pprof.printStackRecord ignores it. From-SVN: r223006
Ian Lance Taylor committed -
PR target/65753 * config/i386/i386.c (ix86_function_ok_for_sibcall): Allow PIC sibcalls via function pointers. testsuite: * gcc.target/i386/pr65753.c: New test. From-SVN: r223005
Alexander Monakov committed -
calls.c (prepare_call_address): Transform PLT call to GOT lookup and indirect call by forcing address into a... * calls.c (prepare_call_address): Transform PLT call to GOT lookup and indirect call by forcing address into a pseudo with -fno-plt. * common.opt (flag_plt): New option. * doc/invoke.texi (Code Generation Options): Add -fno-plt. ([-fno-plt]): Document. From-SVN: r223003
Alexander Monakov committed -
Fix PR66105 2015-05-11 Markus Trippelsdorf <markus@trippelsdorf.de> PR bootstrap/66105 * config/rs6000/option-defaults.h: Add space between string literal and macro name. From-SVN: r223002
Markus Trippelsdorf committed -
2015-05-11 Thomas Preud'homme <thomas.preudhomme@arm.com> gcc/ * gcc.target/arm/pr64616.c: Test dump rather than assembly to work accross ARM targets. From-SVN: r223001
Thomas Preud'homme committed -
2015-05-11 Christian Bruel <christian.bruel@st.com> * config/arm/arm-protos.h (thumb_code, thumb1_code): Remove. * config/arm/vxworks.h (thumb_code): Replace with TARGET_THUMB. From-SVN: r223000
Christian Bruel committed -
re PR rtl-optimization/66076 (ICE: in vec_safe_grow, at vec.h:618 with -funroll-loops -mno-prefer-avx128 -march=bdver4) gcc/ PR rtl-optimization/66076 * rtlanal.c (generic_subrtx_iterator <T>::add_single_to_queue): Don't grow the heap array if it is already big enough from a previous iteration. gcc/testsuite/ PR rtl-optimization/66076 * gcc.dg/torture/pr66076.c: New test. From-SVN: r222999
Richard Sandiford committed -
2015-05-11 Christian Bruel <christian.bruel@st.com> * config/arm/arm-protos.h (arm_declare_function_name): Declare. (is_called_in_ARM_mode): Remove. * config/arm/arm.c (is_called_in_ARM_mode): Declare static bool. (arm_declare_function_name): Moved from from ARM_DECLARE_FUNCTION_NAME. * config/arm/arm.h (ARM_DECLARE_FUNCTION_NAME): Call arm_declare_function_name. From-SVN: r222997
Christian Bruel committed -
From-SVN: r222996
Christian Bruel committed -
arm.c (arm_option_override): Reoganized and split into : (arm_option_params_internal); New function. 2014-09-23 Christian Bruel <christian.bruel@st.com> * config/arm/arm.c (arm_option_override): Reoganized and split into : (arm_option_params_internal); New function. (arm_option_check_internal): New function. (arm_option_override_internal): New function. (thumb_code, thumb1_code): Remove. * config/arm/arm.h (TREE_TARGET_THUMB, TREE_TARGET_THUMB1): New macros. (TREE_TARGET_THUM2, TREE_TARGET_ARM): Likewise. (thumb_code, thumb1_code): Remove. * config/arm/arm.md (is_thumb, is_thumb1): Check TARGET flag. From-SVN: r222995
Christian Bruel committed -
(alpha_emit_set_long_const, alpha_extract_integer) (alpha_legitimate_constant_p, alpha_split_const_mov) (alpha_expand_block_clear, alpha_expand_zap_mask, print_operand): [HOST_BITS_PER_WIDE_INT < 64]: Remove dead code. (alpha_emit_set_const_1): Change "(HOST_WIDE_INT) 1" to HOST_WIDE_INT_1U. * config/alpha/predicates.md (mode_mask_operand): Do not match const_double RTX. [HOST_BITS_PER_WIDE_INT < 64]: Remove dead code. * config/alpha/alpha.md (abstf, *abstf_internal, UNSPEC_ZAP splitter): Change "(HOST_WIDE_INT) 1" to HOST_WIDE_INT_1U. [HOST_BITS_PER_WIDE_INT < 64]: Remove dead code. (*negtf_internal): Use gen_int_mode instead of immed_double_const. From-SVN: r222994
Uros Bizjak committed -
PR target/65780 * config/s390/linux.h (TARGET_BINDS_LOCAL_P): Define to default_binds_local_p_2. * config/arm/linux-elf.h (TARGET_BINDS_LOCAL_P): Likewise. * config/aarch64/aarch64-linux.h (TARGET_BINDS_LOCAL_P): Likewise. From-SVN: r222992
Jakub Jelinek committed -
From-SVN: r222991
Jan Hubicka committed -
Patch by Richard Biener * coverage.c (coverage_obj_init): Delay building of type variant until the type is finished. From-SVN: r222990
Jan Hubicka committed -
From-SVN: r222989
GCC Administrator committed
-
- 10 May, 2015 12 commits
-
-
ipa-devirt.c (warn_types_mismatch): Do not ICE when warning about mismatch between C and C++ type... * ipa-devirt.c (warn_types_mismatch): Do not ICE when warning about mismatch between C and C++ type; compoare correctly ARG_TYPES for non-prototypes and output correctly parameter index for METHOD_TYPE. (odr_types_equivalent_p): Fix wording of warning about attributes; it is OK to match prototype and non-prototype. From-SVN: r222985
Jan Hubicka committed -
* tree.c (free_lang_data_in_type): Free TREE_PURPOSE of TYPE_ARG_TYPES list. (verify_type): Permit non-NULL TREE_PURPOSE in non-LTO builds. * tree.def (FUNCTION_TYPE): Document TREE_PURPOSE in TYPE_ARG_TYPES From-SVN: r222984
Jan Hubicka committed -
From-SVN: r222983
Mikhail Maltsev committed -
2015-05-10 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/66041 * frontend-passes.c (scalarized_expr): Set correct dimension and shape for the expression to be passed to lbound. Remove trailing references after array refrence. (inline_matmul_assign): Remove gfc_copy_expr from calls to scalarized_expr(). 2015-05-10 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/66041 * gfortran.dg/inline_matmul_7.f90: New test. * gfortran.dg/inline_matmul_8.f90: New test. * gfortran.dg/inline_matmul_9.f90: New test. From-SVN: r222982
Thomas Koenig committed -
From-SVN: r222981
Jan Hubicka committed -
From-SVN: r222980
Jan Hubicka committed -
gcc/fortran/ * simplify.c (simplify_bound_dim): Don't check for emptyness in the case of cobound simplification. Factor lower/upper bound differenciation before the actual simplification. (simplify_bound): Remove assumed shape specific simplification. Don't give up early for the lbound of an assumed shape. gcc/testsuite/ * gfortran.dg/bound_simplification_5.f90: New. From-SVN: r222979
Mikael Morin committed -
* c-opts.c (c_common_post_options): Also clear cpp_opts->cpp_warn_cxx11_compat. From-SVN: r222978
Jason Merrill committed -
gcc/c-family/ * c-common.h (enum cxx_dialect): Add cxx_unset. * c-common.c (cxx_dialect): Initialize to cxx_unset. * c-opts.c (c_common_post_options): Set C++ dialect to C++98 if unset. gcc/testsuite/ * lib/target-supports.exp (cxx_default): New global. (check_effective_target_c++11_only) (check_effective_target_c++14_only) (check_effective_target_c++98_only) (check_effective_target_c++1z_only): Check it. From-SVN: r222977
Jason Merrill committed -
* c.opt (std=c++14): Remove Undocumented flag and experimental warning. (std=gnu++0x): Mark as Undocumented. (std=gnu++1y): Add deprecated message. From-SVN: r222976
Jason Merrill committed -
* testsuite/20_util/headers/functional/synopsis.cc: Add _GLIBCXX14_CONSTEXPR. * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Likewise. From-SVN: r222975
Jason Merrill committed -
From-SVN: r222974
GCC Administrator committed
-
- 09 May, 2015 3 commits
-
-
2015-05-09 Marc Glisse <marc.glisse@inria.fr> PR tree-optimization/64454 gcc/ * tree-vrp.c (extract_range_from_binary_expr_1) <TRUNC_MOD_EXPR>: Rewrite. gcc/testsuite/ * gcc.dg/tree-ssa/vrp97.c: New file. * gcc.dg/vect/slp-perm-7.c: Update. From-SVN: r222970
Marc Glisse committed -
PR bootstrap/66085 * decl2.c (note_mangling_alias): Declare arguments as unused. From-SVN: r222969
Aldy Hernandez committed -
gcc/fortran/ 2015-05-09 Mikael Morin <mikael@gcc.gnu.org> PR fortran/65894 * trans-array.h (gfc_scalar_elemental_arg_saved_as_reference): New prototype. * trans-array.c (gfc_scalar_elemental_arg_saved_as_reference): New function. (gfc_add_loop_ss_code): Use gfc_scalar_elemental_arg_saved_as_reference as conditional. (gfc_walk_elemental_function_args): Set the dummy_arg field. * trans.h (gfc_ss_info): New subfield dummy_arg. * trans-expr.c (gfc_conv_procedure_call): Revert the change of revision 222361. (gfc_conv_expr): Use gfc_scalar_elemental_arg_saved_as_reference as conditional. gcc/testsuite/ 2015-05-09 Andre Vehreschild <vehre@gmx.de> PR fortran/65894 * gfortran.dg/elemental_subroutine_11.f90: New test. From-SVN: r222968
Mikael Morin committed
-