- 13 Jan, 2012 20 commits
-
-
PR libitm/51855 * config/generic/tls.h (GTM::mask_stack_top): New. (GTM::mask_stack_bottom): Declare. * config/generic/tls.c (GTM::mask_stack_bottom): New. * local.cc (gtm_undolog::rollback): Filter out any updates that overlap the libitm stack. Add current transaction as parameter. * libitm_i.h (GTM::gtm_undolog::rollback): Adapt. * beginend.cc (GTM::gtm_thread::rollback): Adapt. * testsuite/libitm.c/stackundo.c: New test. From-SVN: r183172
Torvald Riegel committed -
From-SVN: r183171
Ian Lance Taylor committed -
From-SVN: r183169
Ian Lance Taylor committed -
From-SVN: r183168
Ian Lance Taylor committed -
From-SVN: r183167
Ian Lance Taylor committed -
ipa-cp.c (ipa_get_indirect_edge_target): Add typecasts when comparing param_index to VEC_length result. * ipa-cp.c (ipa_get_indirect_edge_target): Add typecasts when comparing param_index to VEC_length result. From-SVN: r183166
Ian Lance Taylor committed -
gcc/ * c-decl.c: Do not include tree-mudflap.h * tree-optimize.c: Likewise. * Makefile.in: Update dependencies. cp/ * decl2.c: Do not include tree-mudflap.h * semantics.c: Likewise. From-SVN: r183165
Steven Bosscher committed -
2012-01-13 François Dumont <fdumont@gcc.gnu.org> * include/bits/hashtable_policy.h (_Hash_node_base): New, use it as base class of ... (_Hash_node<Value, true>, _Hash_node<Value, false>): ... those. * include/bits/hashtable.h (_Hashtable): Replace _M_begin_bucket_index by _M_before_begin. Review implementation so that we do not need to look for previous non-empty bucket when inserting nodes. From-SVN: r183164
François Dumont committed -
2012-01-13 Paul Thomas <pault@gcc.gnu.org> PR fortran/48351 * trans-array.c (structure_alloc_comps): Suppress interative call to self, when current component is deallocated using gfc_trans_dealloc_allocated. * class.c (gfc_build_class_symbol): Copy the 'alloc_comp' attribute from the declared type to the class structure. 2012-01-13 Paul Thomas <pault@gcc.gnu.org> PR fortran/48351 * gfortran.dg/alloc_comp_assign.f03: New. * gfortran.dg/allocatable_scalar_9.f90: Reduce count of __BUILTIN_FREE from 38 to 32. From-SVN: r183162
Paul Thomas committed -
PR c++/20681 * semantics.c (finish_break_stmt): Avoid adding an unreachable BREAK_STMT. From-SVN: r183161
Jason Merrill committed -
* gcc.dg/debug/dwarf2/pr49871.c: Add dg-require-effective-target int32plus because of big array needed. From-SVN: r183159
Georg-Johann Lay committed -
* gcc.c-torture/execute/20120111-1.c: Fix wrong int = int32_t assumption. * g++.dg/ipa/pr51759.C: Fix assumption sizeof(int) > 2. * gcc.dg/cpp/warn-multichar.c: Fix to work on int=16 platforms. * gcc.dg/cpp/warn-multichar-2.c: Ditto. * gcc.dg/debug/dwarf2/pr49871.c: Add dg-require-effective-target int32plus because of big array needed. * gcc.dg/pr50527.c: Don't FAIL if sizeof(void*) = 2 * gcc.dg/lto/20090218-2_1.c: Fix prototype of malloc, memcpy. From-SVN: r183158
Georg-Johann Lay committed -
PR c++/51813 * decl2.c (constrain_visibility): Clear DECL_VISIBILITY_SPECIFIED when reducing the visibility. From-SVN: r183156
Jason Merrill committed -
PR c++/51620 * class.c (build_vtbl_initializer): Use __cxa_deleted_virtual. From-SVN: r183155
Jason Merrill committed -
2012-01-13 Tobias Burnus <burnus@net-b.de> PR fortran/51842 * fortran/trans-types.c (gfc_init_kinds): Use PTRDIFF_TYPE instead of a signed int of size POINTER_SIZE for gfc_index_integer_kind. From-SVN: r183154
Tobias Burnus committed -
2012-01-13 Richard Guenther <rguenther@suse.de> PR middle-end/8081 * gimplify.c (gimplify_modify_expr_rhs): For calls with a variable-sized result always use RSO. * gcc.dg/torture/pr8081.c: New testcase. From-SVN: r183153
Richard Guenther committed -
* gcc.dg/pr46309.c: Set branch cost to greater 1 for avr. From-SVN: r183151
Georg-Johann Lay committed -
From-SVN: r183150
Ian Lance Taylor committed -
PR c++/51714 * pt.c (value_dependent_expression_p): Treat STMT_EXPR as value-dependent. From-SVN: r183149
Jason Merrill committed -
From-SVN: r183148
GCC Administrator committed
-
- 12 Jan, 2012 17 commits
-
-
gcc/cp/ PR c++/51633 * semantics.c (cp_parser_ctor_initializer_opt_and_function_body): Set the pointer to the last block of the constructor to the current statement. (build_constexpr_constructor_member_initializers): Get build_data_member_initialization a chance to deal with more statements before we choke. gcc/testsuite/ PR c++/51633 * g++.dg/cpp0x/constexpr-diag4.C: New test. From-SVN: r183144
Dodji Seketeli committed -
cfgexpand.c (convert_debug_memory_address): Allow any valid pointer type, not just the default pointer type. * cfgexpand.c (convert_debug_memory_address): Allow any valid pointer type, not just the default pointer type. From-SVN: r183141
DJ Delorie committed -
2012-01-12 Tobias Burnus <burnus@net-b.de> PR fortran/36755 * intrinsic.texi (CHMOD): Extend a bit and remove statement that /bin/chmod is called. 2012-01-12 Tobias Burnus <burnus@net-b.de> PR fortran/36755 * intrinsics/chmod.c (chmod_func): Replace call to /bin/chmod From-SVN: r183137
Tobias Burnus committed -
PR target/50925 * config/avr/avr-protos.h (avr_hard_regno_nregs): Declare. * config/avr/avr.c (avr_can_eliminate): Simplify. (avr_initial_elimination_offset): Likewise. (avr_prologue_setup_frame): Use hard_frame_pointer_rtx. (expand_epilogue): Likewise. (avr_legitimize_address): Gut. (avr_legitimize_reload_address): Use hard_frame_pointer_rtx. (avr_hard_regno_nregs): New. (avr_hard_regno_ok): Allow only Pmode for arg and frame_pointers. (avr_regno_mode_code_ok_for_base_b): Handle arg and frame pointers. * config/avr/avr.h (FIXED_REGISTERS): Adjust arg pointer, add soft frame pointer. (CALL_USED_REGISTERS): Likewise. (REG_CLASS_CONTENTS): Likewise. (REGISTER_NAMES): Likewise. (HARD_REGNO_NREGS): Use avr_hard_regno_nregs. (HARD_FRAME_POINTER_REGNUM): New. (FRAME_POINTER_REGNUM): Use soft frame pointer. (ELIMINABLE_REGS): Eliminate from the soft frame pointer, remove the HARD_FRAME_POINTER self-elimination. Co-Authored-By: Denis Chertykov <chertykov@gmail.com> From-SVN: r183136
Richard Henderson committed -
PR c++/48051 * mangle.c (write_expression): Mangle BASELINK scope if BASELINK_QUALIFIED_P. * search.c (adjust_result_of_qualified_name_lookup): Set BASELINK_QUALIFIED_P. * tree.c (cp_tree_equal) [BASELINK]: Compare BASELINK_QUALIFIED_P. * parser.c (cp_parser_postfix_dot_deref_expression): Don't call adjust_result_of_qualified_name_lookup for non-qualified names. From-SVN: r183133
Jason Merrill committed -
PR c++/51403 * pt.c (unify): Handle error_mark_node. From-SVN: r183132
Jason Merrill committed -
From-SVN: r183130
Georg-Johann Lay committed -
PR target/51756 * config/avr/avr.c (avr_encode_section_info): Test for absence of DECL_EXTERNAL when checking for initializers of progmem variables. From-SVN: r183129
Georg-Johann Lay committed -
PR tree-optimization/51799 * tree-vect-patterns.c (vect_recog_over_widening_pattern): Check that the last operation is a type demotion. From-SVN: r183126
Ira Rosen committed -
2012-01-12 Janne Blomqvist <jb@gcc.gnu.org> * configure.ac: Remove check for fdopen. * runtime/backtrace.c (CAN_PIPE): Fix comment, remove check for fdopen. * configure: Regenerated. * config.h.in: Regenerated. From-SVN: r183124
Janne Blomqvist committed -
* config/i386/i386.md (*zero_extendsidi2_rex64): Correct movl template. (x86_shift<mode>_adj_1): Remove operand constraint from operand 3. From-SVN: r183123
Uros Bizjak committed -
2012-01-12 Janne Blomqvist <jb@gcc.gnu.org> Tobias Burnus <burnus@net-b.de> PR libfortran/51803 * runtime/main.c (store_exe_path): Avoid malloc if getcwd fails or is not available. Co-Authored-By: Tobias Burnus <burnus@net-b.de> From-SVN: r183122
Janne Blomqvist committed -
2012-01-12 Dominique d'Humieres <dominiq@lps.ens.fr> Tobias Burnus <burnus@net-b.de> PR fortran/51057 PR fortran/51616 * lib/target-supports.exp (check_effective_target_fortran_largest_fp_has_sqrt): New. * gfortran.dg/quad_2.f90: Use it, add pattern for IBM's real(16). Co-Authored-By: Tobias Burnus <burnus@net-b.de> From-SVN: r183121
Dominique d'Humieres committed -
PR c++/51565 * call.c (standard_conversion): For ptrmemfuncs, compare the static_fn_types. From-SVN: r183120
Jason Merrill committed -
* go-lang.c (go_langhook_init): Initialize void_list_node before calling go_create_gogo. From-SVN: r183119
Ian Lance Taylor committed -
From-SVN: r183118
Ian Lance Taylor committed -
From-SVN: r183117
GCC Administrator committed
-
- 11 Jan, 2012 3 commits
-
-
From-SVN: r183112
Ian Lance Taylor committed -
re PR bootstrap/51796 (internal compiler error: in distribute_notes, at combine.c:13285 for libgomp/alloc.c on m68k-linux) PR bootstrap/51796 * combine.c (distribute_notes): If i3 is a noreturn call, allow old_size to be equal to args_size and make sure the noreturn call gets REG_ARGS_SIZE note. * expr.c (fixup_args_size_notes): Put REG_ARGS_SIZE notes on noreturn calls even when the delta is 0. * gcc.dg/pr51796.c: New test. From-SVN: r183111
Jakub Jelinek committed -
From-SVN: r183109
Ian Lance Taylor committed
-