- 03 May, 2012 32 commits
-
-
PR middle-end/53106 * ipa.c (cgraph_remove_unreachable_nodes): Fix handling of clones. From-SVN: r187114
Jan Hubicka committed -
From-SVN: r187111
Ian Lance Taylor committed -
From-SVN: r187110
Richard Sandiford committed -
From-SVN: r187108
Richard Henderson committed -
* dwarf2out.c (die_struct): Add comdat_type_p flag. Use it instead of use_debug_types to discriminate the die_id union. (print_die, assign_symbol_names, copy_decls_walk): Likewise. (build_abbrev_table, output_die): Likewise. (prune_unused_types_walk_attribs): Likewise. (generate_type_signature, copy_declaration_context): Set it. (remove_child_or_replace_with_skeleton): Set it. (dwarf2out_start_source_file, dwarf2out_end_source_file): Don't check use_debug_types. (dwarf2out_finish): Do break_out_includes after .debug_types. From-SVN: r187107
Jason Merrill committed -
* dwarf2out.c (modified_type_die): Use scope_die_for. (gen_type_die_with_usage, dwarf2out_finish): Likewise. (uses_local_type_r, uses_local_type): New. (scope_die_for): Keep a type that uses a local type in local scope. Use get_context_die for namespace and type scope. From-SVN: r187106
Jason Merrill committed -
* config/i386/i386.c (ix86_code_end): Set DECL_IGNORED_P on the pc thunk. * dwarf2out.c (output_aranges): Skip DECL_IGNORED_P functions. (dwarf2out_finish): Likewise. From-SVN: r187105
Jason Merrill committed -
From-SVN: r187103
Ian Lance Taylor committed -
* acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Handle compilation failure in gcc_no_link path. * configure: Rebuild. From-SVN: r187102
Richard Henderson committed -
builtins.c (get_object_alignment_1): Return whether we can determine the alignment or conservatively assume byte... 2012-05-03 Martin Jambor <mjambor@suse.cz> * builtins.c (get_object_alignment_1): Return whether we can determine the alignment or conservatively assume byte alignment. Return the alignment by reference. Use get_pointer_alignment_1 for dereference alignment. (get_pointer_alignment_1): Return whether we can determine the alignment or conservatively assume byte alignment. Return the alignment by reference. Use get_ptr_info_alignment to get SSA name alignment. (get_object_alignment): Update call to get_object_alignment_1. (get_object_or_type_alignment): Likewise, fall back to type alignment only when it returned false. (get_pointer_alignment): Update call to get_pointer_alignment_1. * fold-const.c (get_pointer_modulus_and_residue): Update call to get_object_alignment_1. * ipa-prop.c (ipa_modify_call_arguments): Update call to get_pointer_alignment_1. * tree-sra.c (build_ref_for_offset): Likewise, fall back to the type of MEM_REF or TARGET_MEM_REF only when it returns false. * tree-ssa-ccp.c (get_value_from_alignment): Update call to get_object_alignment_1. (ccp_finalize): Use set_ptr_info_alignment. * tree.h (get_object_alignment_1): Update declaration. (get_pointer_alignment_1): Likewise. * gimple-pretty-print.c (dump_gimple_phi): Use get_ptr_info_alignment. (dump_gimple_stmt): Likewise. * tree-flow.h (ptr_info_def): Updated comments of fields align and misalign. (get_ptr_info_alignment): Declared. (mark_ptr_info_alignment_unknown): Likewise. (set_ptr_info_alignment): Likewise. (adjust_ptr_info_misalignment): Likewise. * tree-ssa-address.c (copy_ref_info): Use new access functions to get and set alignment of SSA names. * tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Call mark_ptr_info_alignment_unknown. * tree-ssanames.c (get_ptr_info_alignment): New function. (mark_ptr_info_alignment_unknown): Likewise. (set_ptr_info_alignment): Likewise. (adjust_ptr_info_misalignment): Likewise. (get_ptr_info): Call mark_ptr_info_alignment_unknown. * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Likewise. (bump_vector_ptr): Likewise. * tree-vect-stmts.c (create_array_ref): Use set_ptr_info_alignment. (vectorizable_store): Likewise. (vectorizable_load): Likewise. From-SVN: r187101
Martin Jambor committed -
* config/mh-ppc-aix (LDFLAGS): Quote $(CC). From-SVN: r187100
Olivier Hainque committed -
* basic-block.h (struct rtl_bb_info, struct gimple_bb_info): Move in front of basic_block_def. (struct basic_block_def): Make il.gimple the full struct, not a pointer. (__assert_gimple_bb_smaller_rtl_bb): Asserting typedef. * cfgexpand.c (expand_gimple_basic_block): Clear all il.gimple members. * gimple-iterator.c (gimple_stmt_iterator): Don't special case NULL il.gimple, which can't happen anymore. * gimple.h (bb_seq): il.gimple can't be NULL. (bb_seq_add): Ditto. (set_bb_seq): Adjust. (gsi_start_bb, gsi_last_bb): Tidy. * lto-streamer-in.c (make_new_block): Don't zero members that are zeroed already, don't allocate a gimple_bb_info. * tree-cfg.c (create_bb): Don't allocate a gimple_bb_info. (remove_bb): Clear all il.gimple members. (gimple_verify_flow_info): Adjust for flat il.gimple. * tree-flow-inline.h (phi_nodes, phi_nodes_ptr, set_phi_nodes): Adjust. * coretypes.h (const_gimple_seq): Remove typedef. * gimple.h (gimple_seq_first): Take gimple_seq. (gimple_seq_first_stmt): Ditto. (gimple_seq_last): Ditto. (gimple_seq_last_stmt): Ditto. (gimple_seq_empty_p): Ditto. From-SVN: r187099
Michael Matz committed -
/cp 2012-05-03 Paolo Carlini <paolo.carlini@oracle.com> PR c++/53186 * call.c (build_over_call): Handle final member functions and class types. (build_new_method_call_1): Do not handle here. /testsuite 2012-05-03 Paolo Carlini <paolo.carlini@oracle.com> PR c++/53186 * g++.dg/other/final2.C: New. From-SVN: r187097
Paolo Carlini committed -
2012-05-03 Richard Guenther <rguenther@suse.de> * tree-ssa-pre.c (valid_in_sets): Remove checking of trapping operations. (prune_clobbered_mems): Do it here. Do not uselessly sort expressions. (compute_avail): Do not add possibly trapping operations to EXP_GEN if they might not be executed in the block. * gcc.dg/tree-ssa/ssa-pre-27.c: Remove XFAIL. From-SVN: r187096
Richard Guenther committed -
* config/alpha/elf.h (MAX_OFILE_ALIGNMENT): Remove. From-SVN: r187095
Uros Bizjak committed -
* gcc.target/i386/hle-cmpxchg-acq-1.c (dg-options): Add -march=x86-64. * gcc.target/i386/hle-xadd-acq-1.c (dg-options): Ditto. * gcc.target/i386/hle-cmpxchg-rel-1.c (dg-options): Ditto. * gcc.target/i386/hle-xadd-rel-1.c (dg-options): Ditto. From-SVN: r187094
Uros Bizjak committed -
* tree-switch-conversion.c (gen_inbound_check): Free post-dominance information as early as possible. Update dominance info instead of discarding it. From-SVN: r187093
Steven Bosscher committed -
2012-05-03 Richard Guenther <rguenther@suse.de> * tree-ssa-pre.c (debug_bitmap_sets_for): New function. (union_contains_value): Remove. (vro_valid_in_sets): Likewise. (op_valid_in_sets): New function. (valid_in_sets): Use op_valid_in_sets. (insert_into_preds_of_block): Move dumping ... (do_regular_insertion): ... here. (do_partial_partial_insertion): ... and here. Dump that we've found a partial partial redundancy. (insert): Dump the current insert iteration. From-SVN: r187092
Richard Guenther committed -
PR plugins/53126 * gcc-ar.c (main): If GCC_EXEC_PREFIX is set in env, append program name to it and pass that as first argument to make_relative_prefix. Always pass standard_libexec_prefix as last argument to make_relative_prefix. If make_relative_prefix returns NULL, fall back to standard_libexec_prefix. From-SVN: r187090
Jakub Jelinek committed -
* gcc.target/i386/hle-xadd-rel-1.c: Match .byte 0xf3 instead of .byte 0xf2. * gcc.target/i386/hle-sub-rel-1.c: Likewise. * gcc.target/i386/hle-xchg-rel-1.c: Likewise. * gcc.target/i386/hle-add-rel-1.c: Likewise. From-SVN: r187089
Jakub Jelinek committed -
PR debug/53174 * tree-predcom.c (remove_stmt): Call reset_debug_uses on stmts being removed. * gcc.dg/pr53174.c: New test. From-SVN: r187087
Jakub Jelinek committed -
PR target/53187 * config/arm/arm.c (arm_select_cc_mode): If x has MODE_CC class mode, return that mode. * gcc.target/arm/pr53187.c: New test. * gcc.c-torture/compile/pr53187.c: New test. From-SVN: r187085
Jakub Jelinek committed -
PR target/53194 * config/i386/i386-c.c (ix86_target_macros_internal): Don't define __ATOMIC_HLE_* macros here. (ix86_target_macros): But here, using cpp_define_formatted. From-SVN: r187084
Jakub Jelinek committed -
2012-05-03 Richard Guenther <rguenther@suse.de> * gfortran.dg/pr52621.f90: Add -w to avoid diagnostic about unsupported prefetching support. From-SVN: r187082
Richard Guenther committed -
gcc/testsuite 2012-05-03 Greta Yorsh <Greta.Yorsh@arm.com> * gcc.dg/fixed-point/composite-type.c (dg-options): Add option -ftrack-macro-expansion=0. * gcc.dg/fixed-point/operator-bitwise.c (dg-options): Add option -ftrack-macro-expansion=0. From-SVN: r187081
Greta Yorsh committed -
builtin-stringop-chk-1.c (dg-options): Replace dg-options for target arm with dg-additional-options. gcc/testsuite 2012-05-02 Greta Yorsh <Greta.Yorsh@arm.com> * gcc.dg/builtin-stringop-chk-1.c (dg-options): Replace dg-options for target arm with dg-additional-options. From-SVN: r187079
Greta Yorsh committed -
2012-05-03 Richard Guenther <rguenther@suse.de> PR tree-optimization/53144 * tree-ssa-sccvn.c (vn_reference_lookup_or_insert_constant_for_pieces): Rename to ... (vn_reference_lookup_or_insert_for_pieces): ... this. Properly deal with SSA name values. (vn_reference_lookup_3): Adjust callers. * gcc.dg/torture/pr53144.c: New testcase. From-SVN: r187078
Richard Guenther committed -
With -march=native generate fma3 instruction by default for AMD processors which support both fma and fma4 From-SVN: r187077
Ganesh Gopalasubramanian committed -
2012-05-03 Tobias Burnus <burnus@net-b.de> PR fortran/52864 * interface.c (compare_parameter_intent): Remove. (check_intents): Remove call, handle CLASS pointer. (compare_actual_formal): Handle CLASS pointer. 2012-05-03 Tobias Burnus <burnus@net-b.de> PR fortran/52864 * gfortran.dg/pointer_intent_7.f90: New. * gfortran.dg/pure_formal_3.f90: New. From-SVN: r187076
Tobias Burnus committed -
PR target/53201 * config/i386/driver-i386.c (host_detect_local_cpu): Add space to "-mno-hle". From-SVN: r187075
Kirill Yukhin committed -
PR bootstrap/53197 * tree-ssa-dse.c (dse_optimize_stmt): Take pointer to iterator. (dse_enter_block): Properly iterate the whole sequence even if the last statement was removed. From-SVN: r187074
Michael Matz committed -
From-SVN: r187072
GCC Administrator committed
-
- 02 May, 2012 8 commits
-
-
* doc/xml/faq.xml: Update outdated allocator documentation. * doc/xml/manual/allocator.xml: Likewise. * doc/xml/manual/debug.xml: Likewise. * doc/xml/manual/evolution.xml: Likewise. * doc/xml/manual/using.xml: Likewise. From-SVN: r187068
Jonathan Wakely committed -
2012-05-02 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/44015 * include/bits/basic_ios.h: Add tparam markup for * doxygen. include/bits/basic_string.h: Same. * include/bits/forward_list.h: Same. * include/bits/stl_bvector.h: Same. * include/bits/stl_deque.h: Same. * include/bits/stl_list.h: Same. include/bits/stl_map.h: * Same. include/bits/stl_multimap.h: Same. * include/bits/stl_multiset.h: Same. * include/bits/stl_pair.h: Same. * include/bits/stl_queue.h: Same. * include/bits/stl_set.h: Same. * include/bits/stl_stack.h: Same. * include/bits/stl_vector.h: Same. * include/bits/unordered_map.h: Same. * include/bits/unordered_set.h: Same. include/std/array: * Same. include/std/atomic: Same. include/std/fstream: * Same. include/std/istream: Same. include/std/ostream: * Same. include/std/sstream: Same. * include/std/streambuf: Same. * testsuite/23_containers/deque/requirements/dr438/*: Adjust line numbers. * testsuite/23_containers/list/requirements/dr438/*: Same. * testsuite/23_containers/vector/requirements/dr438/*: Same. From-SVN: r187066
Benjamin Kosnik committed -
* config/alpha/vms.h (SUBTARGET_OVERRIDE_OPTIONS): For pic code, unset flag_jump_tables. * stmt.c (expand_case): Remove special flag_pic case conditional on ASM_OUTPUT_ADDR_DIFF_ELT not being defined. From-SVN: r187065
Steven Bosscher committed -
s390-common.c (s390_option_optimization_table): Enable -fsched-pressure using -fsched-pressure-algorithm=model by default when... 2012-05-02 Ulrich Weigand <ulrich.weigand@linaro.org> gcc/ * common/config/s390/s390-common.c (s390_option_optimization_table): Enable -fsched-pressure using -fsched-pressure-algorithm=model by default when optimizing. gcc/testsuite/ * gcc.target/s390/20030123-1.c: Add missing "volatile". From-SVN: r187064
Ulrich Weigand committed -
2012-05-02 Martin Jambor <mjambor@suse.cz> PR lto/52605 * dwarf2out.c (dwarf2out_decl): Only lookup die representing context of a variable when the contect is a function. * gcc/testsuite/g++.dg/lto/pr52605_0.C: New test. From-SVN: r187063
Martin Jambor committed -
* crossconfig.m4: Since we know that all TPF builds are cross- builds and cannot run configuration-time link tests, do not allow it; just go with known supported linker options. * configure: Regenerate (called as GLIBCXX_CROSSCONFIG). From-SVN: r187062
DJ Delorie committed -
include/ * dwarf2.def: Remove DW_FORM_GNU_ref_index, replace DW_AT_GNU_ref_base with DW_AT_GNU_ranges_base. From-SVN: r187061
Cary Coutant committed -
destringize_and_run forgets to initialize all the fields of the cpp_context that it pushes. Later _cpp_pop_context then gets confused when it accesses context->tokens_kind via the call to macro_of_context on context->prev. The first hunk of this patch is the real obvious fix. The second hunk is just an assert that I am adding to err on the safe side. Tested by on x86_64-unknown-linux-gnu against trunk by running the test gcc.dg/gomp/macro-4.c under Valgrind, and bootstrapped. libcpp/ * directives.c (destringize_and_run): Properly initialize the new context. * macro.c (_cpp_pop_context): Assert that we shouldn't try to pop the initial base context, which has the same life time as the current instance of cpp_file. From-SVN: r187054
Dodji Seketeli committed
-