- 13 Jan, 2012 12 commits
-
-
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 11 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 -
From-SVN: r183108
Jason Merrill committed -
PR c++/51818 * mangle.c (find_substitution): A type is only a substitution match if we're looking for a type. (write_nested_name): Use decl_mangling_context. From-SVN: r183107
Jason Merrill committed -
From-SVN: r183106
Jason Merrill committed -
* gcov.c (STRING_SIZE): Remove. (generate_results): Erase annotations for source files with no coverage information. (read_line): New. (output_lines): Use it. From-SVN: r183105
Nathan Sidwell committed -
* gimple.h (gimplify_body): Remove first argument. * gimplify.c (copy_if_shared): Add DATA argument. Do not create the pointer set here, instead just pass DATA to walk_tree. (unshare_body): Remove BODY_P argument and adjust. Create the pointer set here and invoke copy_if_shared on the size trees of DECL_RESULT. (unvisit_body): Likewise, but with unmark_visited. (gimplify_body): Remove BODY_P argument and adjust. (gimplify_function_tree): Adjust call to gimplify_body. * omp-low.c (finalize_task_copyfn): Likewise. From-SVN: r183104
Eric Botcazou committed -
From-SVN: r183103
Nathan Sidwell committed -
* tree.h (build_function_decl_skip_args): Add boolean parameter. (build_function_type_skip_args): Delete. * tree.c (build_function_type_skip_args): Make static and add SKIP_RETURN parameter. Fix thinko in the handling of variants. (build_function_decl_skip_args): Add SKIP_RETURN parameter and pass it to build_function_type_skip_args. * cgraph.h (cgraph_function_versioning): Add boolean parameter. (tree_function_versioning): Likewise. * cgraph.c (cgraph_create_virtual_clone): Adjust call to build_function_decl_skip_args. * cgraphunit.c (cgraph_function_versioning): Add SKIP_RETURN parameter and pass it to build_function_decl_skip_args/tree_function_versioning. (cgraph_materialize_clone): Adjust call to tree_function_versioning. * ipa-inline-transform.c (save_inline_function_body): Likewise. * trans-mem.c (ipa_tm_create_version): Likewise. * tree-sra.c (modify_function): Ditto for cgraph_function_versioning. * tree-inline.c (declare_return_variable): Remove always-true test. (tree_function_versioning): Add SKIP_RETURN parameter. If the function returns non-void and SKIP_RETURN, create a void-typed RESULT_DECL. * ipa-split.c (split_function): Skip the return value for the split part if it doesn't return. From-SVN: r183102
Eric Botcazou committed -
re PR tree-optimization/49642 (constant part of a macro not optimized away as expected due to splitter) gcc: 2012-01-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com> PR tree-optimization/49642 * ipa-split.c (forbidden_dominators): New variable. (check_forbidden_calls): New function. (dominated_by_forbidden): Likewise. (consider_split): Check for forbidden dominators. (execute_split_functions): Initialize and free forbidden dominators info; call check_forbidden_calls. gcc/testsuite: 2012-01-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com> PR tree-optimization/49642 * gcc.dg/tree-ssa/pr49642-1.c: New test. * gcc.dg/tree-ssa/pr49642-2.c: New test. From-SVN: r183101
Bill Schmidt committed
-