- 18 Mar, 2011 18 commits
-
-
PR debug/48176 * dwarf2out.c (dwarf2out_finish): Call output_aranges even when arange_table_in_use is 0, but either text_section_used or cold_text_section_used is true. Don't call it if !info_section_emitted. From-SVN: r171150
Jakub Jelinek committed -
* config/avr/avr.h (RET_REGISTER, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P): Remove. * config/avr/avr-protos.h (avr_ret_register, avr_libcall_value): Remove. * config/avr/avr.c (avr_ret_register): Make static inline. (avr_function_value_regno_p): New function. (avr_libcall_value): Make static. Add 'func' argument. (avr_function_value): Make static. Rename 'func' argument to 'fn_decl_or_type', forward it to avr_libcall_value. Call avr_ret_register function instead of RET_REGISTER macro. (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. From-SVN: r171149
Anatoly Sokolov committed -
PR c++/48162 * semantics.c (finish_call_expr): Allow TARGET_EXPR for now. From-SVN: r171148
Jason Merrill committed -
PR c++/48118 * call.c (build_over_call): Don't skip ck_rvalue. From-SVN: r171147
Jason Merrill committed -
PR c++/23372 * gimplify.c (gimplify_arg): Strip redundant TARGET_EXPR. From-SVN: r171146
Jason Merrill committed -
PR c++/35315 * c-common.c (handle_transparent_union_attribute): Don't make a duplicate type in C++. From-SVN: r171145
Jason Merrill committed -
2011-03-18 Richard Guenther <rguenther@suse.de> * doc/install.texi (--enable-gold): Remove. (--with-plugin-ld): Document. * doc/invoke.texi (-fuse-linker-plugin): Clarify. From-SVN: r171143
Richard Guenther committed -
PR middle-end/47405 * gcc.dg/torture/20090618-1.c: Skip on mips-sgi-irix*. From-SVN: r171140
Rainer Orth committed -
PR middle-end/47790 * expr.c (optimize_bitfield_assignment_op): Revamp to work again after expansion changes. From-SVN: r171139
Andrew Pinski committed -
2011-03-18 Chung-Lin Tang <cltang@codesourcery.com> * combine.c (try_combine): Do simplification only call of subst() on i2 even when i1 is present. Update comments. testsuite/ * gcc.target/arm/unsigned-extend-1.c: New. From-SVN: r171138
Chung-Lin Tang committed -
Fixup last ChangeLog entry. From-SVN: r171137
Paolo Carlini committed -
* config/sh/sh.c (sh_delegitimize_address): Handle UNSPEC_SYMOFF and UNSPEC_PCREL_SYMOFF. From-SVN: r171134
Kaz Kojima committed -
2011-03-18 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/util/testsuite_random.h: New. * testsuite/lib/libstdc++.exp (check_v3_target_c99_math, dg-require-c99_math): Add. * testsuite/26_numerics/random/bernoulli_distribution/ operators/values.cc: New. * testsuite/26_numerics/random/binomial_distribution/ operators/values.cc: Likewise. * testsuite/26_numerics/random/geometric_distribution/ operators/values.cc: Likewise. From-SVN: r171133
Paolo Carlini committed -
2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/s390.md: Use define_c_enum for the unspec constant definitions. From-SVN: r171132
Andreas Krebbel committed -
PR bootstrap/48161 * expr.c (expand_expr_addr_expr_1): Use simplify_gen_binary instead of gen_rtx_PLUS if EXPAND_SUM or EXPAND_INITIALIZER. * gcc.c-torture/compile/pr48161.c: New test. From-SVN: r171126
Jakub Jelinek committed -
2011-03-17 H.J. Lu <hongjiu.lu@intel.com> PR middle-end/47725 * combine.c (cant_combine_insn_p): Don't check zero/sign extended hard registers. From-SVN: r171125
H.J. Lu committed -
gcc/ 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> PR middle-end/47725 * combine.c (cant_combine_insn_p): Check zero/sign extended hard registers. gcc/testsuite/ 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> PR middle-end/47725 * gcc.dg/torture/pr47725.c: New. From-SVN: r171124
H.J. Lu committed -
From-SVN: r171123
GCC Administrator committed
-
- 17 Mar, 2011 22 commits
-
-
* config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Remove. * config/v850/v850-protos.h (v850_output_addr_const_extra): Remove. * config/v850/v850.c (v850_output_addr_const_extra): Make static. Change return type to bool. (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. From-SVN: r171117
Anatoly Sokolov committed -
re PR c++/47504 ([C++0x] some constexpr calculations erroneously overflow when using negative numbers) PR c++/47504 * semantics.c (cxx_eval_constant_expression) [NOP_EXPR]: Don't let the conversion set TREE_OVERFLOW. From-SVN: r171116
Jason Merrill committed -
re PR debug/48163 (ICEs for cris-elf, like gcc.c-torture/compile/calls.c gcc.c-torture/execute/complex-1.c) PR debug/48163 * var-tracking.c (prepare_call_arguments): If CALL target is a non-SYMBOL_REF CONSTANT_P, just add that into the list as pc instead of looking it up using cselib_lookup and use Pmode for it if x has VOIDmode. * dwarf2out.c (gen_subprogram_die): If also both first and second CONCAT arguments are VOIDmode, use mode of CONCAT itself. From-SVN: r171114
Jakub Jelinek committed -
re PR debug/48163 (ICEs for cris-elf, like gcc.c-torture/compile/calls.c gcc.c-torture/execute/complex-1.c) PR debug/48163 * function.c (assign_parms): For data.passed_pointer parms use MEM of data.entry_parm instead of data.entry_parm itself as DECL_INCOMING_RTL. * dwarf2out.c (rtl_for_decl_location): Use DECL_INCOMING_RTL also when passed and declared mode is the same, DECL_RTL is a MEM with pseudo as address and DECL_INCOMING_RTL is a MEM too. From-SVN: r171113
Jakub Jelinek committed -
PR rtl-optimization/37273 * ira-costs.c (scan_one_insn): Detect constants living in memory and handle them like argument loads from stack slots. Do not double count memory for memory constants and argument loads from stack slots. From-SVN: r171111
Jeff Law committed -
From-SVN: r171109
Joseph Myers committed -
2011-03-17 H.J. Lu <hongjiu.lu@intel.com> PR debug/48160 * var-tracking.c (prepare_call_arguments): Check SUBREG. From-SVN: r171108
H.J. Lu committed -
2011-03-17 H.J. Lu <hongjiu.lu@intel.com> PR target/48171 * config/i386/i386.opt: Add Save to -mavx and -mfma. From-SVN: r171107
H.J. Lu committed -
* gcc-interface/decl.c (elaborate_expression_1): Try harder to find out whether the expression is read-only. Short-circuit placeholder case and rename a couple of local variables. From-SVN: r171106
Eric Botcazou committed -
Core 1212 * semantics.c (finish_decltype_type): Return T&& for xvalue. * typeck.c (unlowered_expr_type): Preserve cv-quals. From-SVN: r171104
Jason Merrill committed -
PR c++/48166 * decl.c (revert_static_member_fn): Strip function-cv-quals. From-SVN: r171103
Jason Merrill committed -
PR bootstrap/48153 * dwarf2out.c (mem_loc_descriptor) <case ENTRY_VALUE>: Return NULL if dwarf_strict. (gen_subprogram_die): Don't add call_site DIEs if dwarf_strict. Clear call_arg_locations and call_arg_loc_last always. From-SVN: r171102
Jakub Jelinek committed -
PR middle-end/48152 * var-tracking.c (prepare_call_arguments): If argument needs to be passed by reference, adjust argtype and mode. From-SVN: r171101
Jakub Jelinek committed -
re PR tree-optimization/48134 (ICE: in refs_may_alias_p_1, at tree-ssa-alias.c:1085 with custom flags) 2011-03-17 Richard Guenther <rguenther@suse.de> PR middle-end/48134 * tree-ssa.c (insert_debug_temp_for_var_def): If we propagated a value make sure to fold the statement. * gcc.dg/pr48134.c: New testcase. From-SVN: r171098
Richard Guenther committed -
2011-03-17 Chung-Lin Tang <cltang@codesourcery.com> PR target/43872 * config/arm/arm.c (arm_get_frame_offsets): Adjust early return condition with !cfun->calls_alloca. From-SVN: r171096
Chung-Lin Tang committed -
2011-03-17 Richard Guenther <rguenther@suse.de> PR bootstrap/48148 * lto-cgraph.c (input_overwrite_node): Clear the abstract origin for decls in other ltrans units. (input_varpool_node): Likewise. From-SVN: r171094
Richard Guenther committed -
2011-03-17 Richard Guenther <rguenther@suse.de> PR middle-end/48165 * tree-object-size.c (compute_object_offset): Properly return the offset operand of MEM_REFs as sizetype. * g++.dg/torture/pr48165.C: New testcase. From-SVN: r171092
Richard Guenther committed -
* gcc-interface/gigi.h (smaller_form_type_p): Declare. * gcc-interface/trans.c (smaller_form_type_p): Make global and move... * gcc-interface/utils.c (smaller_form_type_p): ...to here. (convert): Deal with conversions from a smaller form type specially. From-SVN: r171091
Eric Botcazou committed -
PR rtl-optimization/48141 * params.def (PARAM_MAX_DSE_ACTIVE_LOCAL_STORES): New. * dse.c: Include params.h. (active_local_stores_len): New variable. (add_wild_read, dse_step1): Clear it when setting active_local_stores to NULL. (record_store, check_mem_read_rtx): Decrease it when removing from the chain. (scan_insn): Likewise. Increase it when adding to chain, if it reaches PARAM_MAX_DSE_ACTIVE_LOCAL_STORES limit, set to 1 and set active_local_stores to NULL before the addition. * Makefile.in (dse.o): Depend on $(PARAMS_H). From-SVN: r171090
Jakub Jelinek committed -
PR rtl-optimization/48141 * dse.c (record_store): If no positions are needed in an insn that cannot be deleted, at least unchain it from active_local_stores. * gcc.dg/pr48141.c: New test. From-SVN: r171089
Jakub Jelinek committed -
PR c++/48089 * semantics.c (potential_constant_expression_1): Don't allow *this in a constructor. (register_constexpr_fundef): Use potential_rvalue_constant_expression. From-SVN: r171086
Jason Merrill committed -
re PR c++/47301 ([C++0x] ICE: in fold_convert_loc, at fold-const.c:1906 with -fabi-version=1 and constexpr) PR c++/47301 * decl.c (compute_array_index_type): Don't bother trying to deal with literal classes in ABI v1. From-SVN: r171085
Jason Merrill committed
-