- 12 Jun, 2013 13 commits
-
-
2013-06-12 Paolo Carlini <paolo.carlini@oracle.com> PR c++/42021 * parser.c (cp_parser_nested_name_specifier_opt): Avoid emitting again diagnostic already emitted by cp_parser_lookup_name. From-SVN: r200013
Paolo Carlini committed -
2013-06-12 Roland Stigge <stigge@antcom.de> PR target/57578 * config/rs6000/t-linux (MULTIARCH_DIRNAME): Fix SPE version detection. From-SVN: r200012
Roland Stigge committed -
From-SVN: r200008
Jason Merrill committed -
2013-06-12 Tobias Burnus <burnus@net-b.de> * gfortran.dg/finalize_10.f90: Update scan-tree-dump. Co-Authored-By: Dominique d'Humieres <dominiq@lps.ens.fr> From-SVN: r200006
Tobias Burnus committed -
2013-06-12 Tobias Burnus <burnus@net-b.de> Dominique d'Humieres <dominiq@lps.ens.fr> * gfortran.dg/finalize_10.f90: Update dg-dump. Co-Authored-By: Dominique d'Humieres <dominiq@lps.ens.fr> From-SVN: r200003
Tobias Burnus committed -
re PR tree-optimization/57537 (gcc.dg/vect/slp-widen-mult-half.c generating wrong code on PowerPC64) PR tree-optimization/57537 * tree-vect-patterns.c (vect_recog_widen_mult_pattern): If vect_handle_widen_op_by_const, convert oprnd1 to half_type1. From-SVN: r200000
Jakub Jelinek committed -
2013-06-12 Richard Biener <rguenther@suse.de> * data-streamer.h (streamer_write_char_stream): CSE obs->current_pointer. * data-streamer-out.c (streamer_write_uhwi_stream): Inline streamer_write_char_stream manually and optimize the resulting loop. (streamer_write_hwi_stream): Likewise. From-SVN: r199992
Richard Biener committed -
* lto-symtab.c (lto_symtab_merge_symbols): Populate symtab hashtable. * cgraph.h (varpool_create_empty_node): Declare. * lto-cgraph.c (input_node, input_varpool_node): Forcingly create duplicated nodes. * symtab.c (symtab_unregister_node): Be lax about missin entries in node hash. (symtab_get_node): Update comment. * varpool.c (varpool_create_empty_node): Break out from ... (varpool_node_for_decl): ... here. * lto-streamer.h (lto_file_decl_data): Add RESOLUTION_MAP. * lto.c (register_resolution): Take lto_file_data argument. (lto_register_var_decl_in_symtab, lto_register_function_decl_in_symtab): Update. (read_cgraph_and_symbols): Update resolution_map handling. From-SVN: r199990
Jan Hubicka committed -
* expr.c (expand_expr_real_1) <TARGET_MEM_REF>: Use straight-line flow. <MEM_REF>: Use 'type' instead of TREE_TYPE (exp) and tidy up the first part. Use straight-line flow at the end. <COMPONENT_REF>: Remove superfluous else. <VIEW_CONVERT_EXPR>: Use 'type' instead of TREE_TYPE (exp). From-SVN: r199986
Eric Botcazou committed -
PR target/56564 * gcc.target/i386/pr56564-1.c: Skip on darwin, mingw and cygwin. * gcc.target/i386/pr56564-3.c: Likewise. From-SVN: r199985
Jakub Jelinek committed -
PR target/56564 * varasm.c (decl_binds_to_current_def_p): Call binds_local_p target hook even for !TREE_PUBLIC decls. If no resolution info is available, return false for common and external decls. From-SVN: r199984
Jakub Jelinek committed -
* config/rl78/constraints.md (U): New constraint. * config/rl78/rl78.md (mulqi3_rl78,mulhi3_rl78,mulhi3_g13): Add valloc attribute. From-SVN: r199976
Kaushik Phatak committed -
From-SVN: r199975
GCC Administrator committed
-
- 11 Jun, 2013 18 commits
-
-
re PR target/57589 (Linux powerpc -mcpu=native returns pointer to variable on stack in driver-rs6000.c) 2013-06-11 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/57589 * config/rs6000/driver-rs6000.c (elf_platform): Make buffer static to allow returning address to AT_PLATFORM name. From-SVN: r199972
Michael Meissner committed -
* c-family/c-common.c (handle_alias_ifunc_attribute): Do not set DECL_EXTERNAL for weakref variables. * c-family/c-pragma.c (handle_pragma_weak): Make sure aliases are not declared as external. * cgraph.c (cgraph_create_function_alias): Set weakref flag. * cgraph.h (symtab_node_base): Add weakref flag. * cgraphunit.c (cgraph_reset_node): Clear weakref flag. (handle_alias_pairs): Set weakref flag, do not set DECL_EXTERNAL. (output_weakrefs): Use weakref flag. * fold-const.c (simple_operand_p): Handle WEAK. * gimple-fold.c (can_refer_decl_in_current_unit_p): Drop weakref. * ipa.c (varpool_externally_visible_p): Drop weakref. (function_and_variable_visibility): Update comment; fix weakref sanity checks; do not clear DECL_WEAK on them. * lto-cgraph.c (lto_output_node): update. (lto_output_varpool_node): Update. (input_overwrite_node): Update. (input_node): Update. (input_varpool_node): Update. * lto-symtab.c (lto_symtab_symbol_p): Do not special case weakrefs. (lto_symtab_merge_symbols): Add sanity check. (lto_symtab_prevailing_decl): Do not special case weakrefs. * passes.c (rest_of_decl_compilation): Set static flag, too. * symtab.c (dump_symtab_base): Dump weakref. (verify_symtab_base): Sanity check weakrefs. (symtab_make_decl_local): Remove duplicated code. (symtab_alias_ultimate_target): Simplify. * varpool.c (varpool_create_variable_alias): Set weakref flag. * lto-partition.c (get_symbol_class): Simplify weakref handling. (add_symbol_to_partition_1): Likewise. (contained_in_symbol): Likewise. (lto_balanced_map): Likewise. (rename_statics): Drop weakref. From-SVN: r199971
Jan Hubicka committed -
2013-06-11 Tom de Vries <tom@codesourcery.com> * genautomata.c (gen_regexp_sequence): Handle els_num == -1. Handle sequence_vect == NULL. From-SVN: r199969
Tom de Vries committed -
* config/rl78/rl78.c (TARGET_UNWIND_WORD_MODE): Define. (rl78_unwind_word_mode): New. From-SVN: r199964
DJ Delorie committed -
* final.c (debug_prefix_maps): Make static. From-SVN: r199963
David Malcolm committed -
* function.c (initial_trampoline): Remove stray copy. From-SVN: r199962
David Malcolm committed -
Happy? ----- Thanks Sofiane ChangeLog: testsuite/ * gcc.target/aarch64/scalar_intrinsics.c: Update. gcc/ * config/aarch64/aarch64-simd.md (aarch64_dup_lane<mode>): Add r<-w alternative and update. (aarch64_dup_lanedi): Delete. * config/aarch64/arm_neon.h (vdup<bhsd>_lane_*): Update. * config/aarch64/aarch64-simd-builtins.def: Update. From-SVN: r199959
Sofiane Naci committed -
2013-06-11 Tobias Burnus <burnus@net-b.de> PR fortran/57535 * trans-array.c (build_class_array_ref): Fix ICE for function result variables. 2013-06-11 Tobias Burnus <burnus@net-b.de> PR fortran/57535 * gfortran.dg/class_array_18.f90: New. From-SVN: r199958
Tobias Burnus committed -
PR c++/57551 * g++.dg/ext/visibility/anon6.C: Update testcase. * cp/pt.c (mark_decl_instantiated): Do not export explicit instantiations of anonymous namespace templates. From-SVN: r199956
Jan Hubicka committed -
ipa-cp.c (ipa_get_indirect_edge_target_1): Check that param_index is within bounds at the beginning of the function. 2013-06-11 Martin Jambor <mjambor@suse.cz> * ipa-cp.c (ipa_get_indirect_edge_target_1): Check that param_index is within bounds at the beginning of the function. From-SVN: r199953
Martin Jambor committed -
* varasm.c (get_section): Don't die on !DECL_P decl. Tidy error reporting. (get_named_section): Don't NULL !DECL_P decl. From-SVN: r199949
Alan Modra committed -
2013-06-11 Ed Smith-Rowland <3dw4rd@verizon.net> Fix library literals error involving namespace __detail. * include/std/chrono: Rename __detail to __select_type. Reformat. * include/bits/basic_string.h: Reformat. * testsuite/20_util/duration/literals/ns_detail.cc: New. From-SVN: r199948
Ed Smith-Rowland committed -
2013-06-11 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/56019 * include/c_global/cstddef (max_align_t): Add to namespace std. * include/c_std/cstddef: Likewise. * testsuite/18_support/max_align_t/requirements/1.cc: New. * testsuite/18_support/max_align_t/requirements/2.cc: Likewise. From-SVN: r199945
Paolo Carlini committed -
* doc/invoke.texi (core-avx2): Document. (slm): Likewise. (atom): Updated with MOVBE. From-SVN: r199943
Igor Zamyatin committed -
2013-06-11 Richard Biener <rguenther@suse.de> * collect2.c (main): Do not redirect ld stdout/stderr when debugging. From-SVN: r199936
Richard Biener committed -
* config/rs6000/rs6000.c (rs6000_adjust_atomic_subword): Calculate correct shift value in little-endian mode. From-SVN: r199935
Anton Blanchard committed -
PR target/56564 * varasm.c (get_variable_align): Move #endif to the right place. From-SVN: r199934
Jakub Jelinek committed -
From-SVN: r199930
GCC Administrator committed
-
- 10 Jun, 2013 9 commits
-
-
dwarf2out.c (hash_external_ref): Use die_symbol or signature for hash so that hash table traversal order is... 2013-06-10 Cary Coutant <ccoutant@google.com> gcc/ * dwarf2out.c (hash_external_ref): Use die_symbol or signature for hash so that hash table traversal order is deterministic. From-SVN: r199927
Cary Coutant committed -
Fix for PR c/57563 gcc/c/ChangeLog +2013-06-10 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * c-array-notation.c (fix_builtin_array_notation_fn): Fully folded + excessive precision expressions in function parameters. Also removed + couple unwanted while statements. + gcc/testsuite/ChangeLog +2013-06-10 Balaji V. Iyer <balaji.v.iyer@intel.com> + + PR c/57563 + * c-c++-common/cilk-plus/AN/builtin_fn_mutating.c (main): Fixed a bug + in how we check __sec_reduce_mutating function's result. + From-SVN: r199925
Balaji V. Iyer committed -
2013-06-10 Benjamin Kosnik <bkoz@redhat.com> * include/bits/c++config (_GLIBCXX_ABI_TAG_CXX11): Add. * include/bits/stl_map.h (erase): Use abi_tag when C++11. * include/bits/stl_multimap.h: Same. * include/bits/stl_multiset.h: Same. * include/bits/stl_set.h: Same. * include/bits/stl_tree.h: Same. * include/std/complex (real, imag): Use macro for abi_tag. * testsuite/lib/libstdc++.exp: Disable inlinling with -fno-inline. * testsuite/util/testsuite_containers.h (erase_external): New declarations. (erase_external_iterators): Same. (linkage_check_cxx98_cxx11_erase): Same. (linkage_check_cxx98_cxx11_erase_iterators): Same. * testsuite/util/testsuite_shared.cc: Define. * testsuite/23_containers/map/modifiers/erase/abi_tag.cc: New. * testsuite/23_containers/map/modifiers/erase/ dr130-linkage-check.cc: New. * testsuite/23_containers/multimap/modifiers/erase/abi_tag.cc: New. * testsuite/23_containers/multimap/modifiers/erase/ dr130-linkage-check.cc: New. * testsuite/23_containers/multiset/modifiers/erase/abi_tag.cc: New. * testsuite/23_containers/multiset/modifiers/erase/ dr130-linkage-check.cc: New. * testsuite/23_containers/set/modifiers/erase/abi_tag.cc: New. * testsuite/23_containers/set/modifiers/erase/dr130-linkage-check.cc: New. * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line number. * testsuite/23_containers/map/dr130.cc: Move... * testsuite/23_containers/map/modifiers/dr130.cc: ...here. * testsuite/23_containers/multimap/dr130.cc: Move ... * testsuite/23_containers/multimap/modifiers/dr130.cc: ...here. * testsuite/23_containers/multiset/dr130.cc: Move... * testsuite/23_containers/multiset/modifiers/dr130.cc: ...here. * testsuite/23_containers/set/dr130.cc: Move... * testsuite/23_containers/set/modifiers/dr130.cc: ...here. From-SVN: r199924
Benjamin Kosnik committed -
vector.md (GPR move splitter): Do not split moves of vectors in GPRS if they are direct moves or quad word... [gcc] 2013-06-10 Michael Meissner <meissner@linux.vnet.ibm.com> Pat Haugen <pthaugen@us.ibm.com> Peter Bergner <bergner@vnet.ibm.com> * config/rs6000/vector.md (GPR move splitter): Do not split moves of vectors in GPRS if they are direct moves or quad word load or store moves. * config/rs6000/rs6000-protos.h (rs6000_output_move_128bit): Add declaration. (direct_move_p): Likewise. (quad_load_store_p): Likewise. * config/rs6000/rs6000.c (enum rs6000_reg_type): Simplify register classes into bins based on the physical register type. (reg_class_to_reg_type): Likewise. (IS_STD_REG_TYPE): Likewise. (IS_FP_VECT_REG_TYPE): Likewise. (reload_fpr_gpr): Arrays to determine what insn to use if we can use direct move instructions. (reload_gpr_vsx): Likewise. (reload_vsx_gpr): Likewise. (rs6000_init_hard_regno_mode_ok): Precalculate the register type information that is a simplification of register classes. Also precalculate direct move reload helpers. (direct_move_p): New function to return true if the operation can be done as a direct move instruciton. (quad_load_store_p): New function to return true if the operation is a quad memory operation. (rs6000_legitimize_address): If quad memory, only allow register indirect for TImode addresses. (rs6000_legitimate_address_p): Likewise. (enum reload_reg_type): Delete, replace with rs6000_reg_type. (rs6000_reload_register_type): Likewise. (register_to_reg_type): Return register type. (rs6000_secondary_reload_simple_move): New helper function for secondary reload and secondary memory needed to identify anything that is a simple move, and does not need reloading. (rs6000_secondary_reload_direct_move): New helper function for secondary reload to identify cases that can be done with several instructions via the direct move instructions. (rs6000_secondary_reload_move): New helper function for secondary reload to identify moves between register types that can be done. (rs6000_secondary_reload): Add support for quad memory operations and for direct move. (rs6000_secondary_memory_needed): Likewise. (rs6000_debug_secondary_memory_needed): Change argument names. (rs6000_output_move_128bit): New function to return the move to use for 128-bit moves, including knowing about the various limitations of quad memory operations. * config/rs6000/vsx.md (vsx_mov<mode>): Add support for quad memory operations. call rs6000_output_move_128bit for the actual instruciton(s) to generate. (vsx_movti_64bit): Likewise. * config/rs6000/rs6000.md (UNSPEC_P8V_FMRGOW): New unspec values. (UNSPEC_P8V_MTVSRWZ): Likewise. (UNSPEC_P8V_RELOAD_FROM_GPR): Likewise. (UNSPEC_P8V_MTVSRD): Likewise. (UNSPEC_P8V_XXPERMDI): Likewise. (UNSPEC_P8V_RELOAD_FROM_VSX): Likewise. (UNSPEC_FUSION_GPR): Likewise. (FMOVE128_GPR): New iterator for direct move. (f32_lv): New mode attribute for load/store of SFmode/SDmode values. (f32_sv): Likewise. (f32_dm): Likewise. (zero_extend<mode>di2_internal1): Add support for power8 32-bit loads and direct move instructions. (zero_extendsidi2_lfiwzx): Likewise. (extendsidi2_lfiwax): Likewise. (extendsidi2_nocell): Likewise. (floatsi<mode>2_lfiwax): Likewise. (lfiwax): Likewise. (floatunssi<mode>2_lfiwzx): Likewise. (lfiwzx): Likewise. (fix_trunc<mode>_stfiwx): Likewise. (fixuns_trunc<mode>_stfiwx): Likewise. (mov<mode>_hardfloat, 32-bit floating point): Likewise. (mov<move>_hardfloat64, 64-bit floating point): Likewise. (parity<mode>2_cmpb): Set length/type attr. (unnamed shift right patterns, mov<mode>_internal2): Change type attr for 'mr.' to fast_compare. (bpermd_<mode>): Change type attr to popcnt. (p8_fmrgow_<mode>): New insns for power8 direct move support. (p8_mtvsrwz_1): Likewise. (p8_mtvsrwz_2): Likewise. (reload_fpr_from_gpr<mode>): Likewise. (p8_mtvsrd_1): Likewise. (p8_mtvsrd_2): Likewise. (p8_xxpermdi_<mode>): Likewise. (reload_vsx_from_gpr<mode>): Likewise. (reload_vsx_from_gprsf): Likewise. (p8_mfvsrd_3_<mode>): LIkewise. (reload_gpr_from_vsx<mode>): Likewise. (reload_gpr_from_vsxsf): Likewise. (p8_mfvsrd_4_disf): Likewise. (multi-word GPR splits): Do not split direct moves or quad memory operations. [gcc/testsuite] 2013-06-10 Michael Meissner <meissner@linux.vnet.ibm.com> Pat Haugen <pthaugen@us.ibm.com> Peter Bergner <bergner@vnet.ibm.com> * gcc.target/powerpc/direct-move-vint1.c: New tests for power8 direct move instructions. * gcc.target/powerpc/direct-move-vint2.c: Likewise. * gcc.target/powerpc/direct-move.h: Likewise. * gcc.target/powerpc/direct-move-float1.c: Likewise. * gcc.target/powerpc/direct-move-float2.c: Likewise. * gcc.target/powerpc/direct-move-double1.c: Likewise. * gcc.target/powerpc/direct-move-double2.c: Likewise. * gcc.target/powerpc/direct-move-long1.c: Likewise. * gcc.target/powerpc/direct-move-long2.c: Likewise. Co-Authored-By: Pat Haugen <pthaugen@us.ibm.com> Co-Authored-By: Peter Bergner <bergner@vnet.ibm.com> From-SVN: r199918
Michael Meissner committed -
* tree-into-ssa.c (interesting_blocks): Make static. From-SVN: r199911
David Malcolm committed -
* name-lookup.c (add_decl_to_level): Add decls in an anonymous namespace to static_decls. From-SVN: r199906
Jason Merrill committed -
Fixing ChangeLog entries. Moving cp/call.c change description to cp/ChangeLog file. From-SVN: r199900
Sriraman Tallam committed -
2013-06-10 Paolo Carlini <paolo.carlini@oracle.com> PR c++/52440 * g++.dg/cpp0x/pr52440.C: New. From-SVN: r199899
Paolo Carlini committed -
PR target/56564 * varasm.c (align_variable): Don't use DATA_ALIGNMENT or CONSTANT_ALIGNMENT if !decl_binds_to_current_def_p (decl). Use DATA_ABI_ALIGNMENT for that case instead if defined. (get_variable_align): New function. (get_variable_section, emit_bss, emit_common, assemble_variable_contents, place_block_symbol): Use get_variable_align instead of DECL_ALIGN. (assemble_noswitch_variable): Add align argument, use it instead of DECL_ALIGN. (assemble_variable): Adjust caller. Use get_variable_align instead of DECL_ALIGN. * config/i386/i386.h (DATA_ALIGNMENT): Adjust x86_data_alignment caller. (DATA_ABI_ALIGNMENT): Define. * config/i386/i386-protos.h (x86_data_alignment): Adjust prototype. * config/i386/i386.c (x86_data_alignment): Add opt argument. If opt is false, only return the psABI mandated alignment increase. * config/c6x/c6x.h (DATA_ALIGNMENT): Renamed to... (DATA_ABI_ALIGNMENT): ... this. * config/mmix/mmix.h (DATA_ALIGNMENT): Renamed to... (DATA_ABI_ALIGNMENT): ... this. * config/mmix/mmix.c (mmix_data_alignment): Adjust function comment. * config/s390/s390.h (DATA_ALIGNMENT): Renamed to... (DATA_ABI_ALIGNMENT): ... this. * doc/tm.texi.in (DATA_ABI_ALIGNMENT): Document. * doc/tm.texi: Regenerated. * gcc.target/i386/pr56564-1.c: New test. * gcc.target/i386/pr56564-2.c: New test. * gcc.target/i386/pr56564-3.c: New test. * gcc.target/i386/pr56564-4.c: New test. * gcc.target/i386/avx256-unaligned-load-4.c: Add -fno-common. * gcc.target/i386/avx256-unaligned-store-1.c: Likewise. * gcc.target/i386/avx256-unaligned-store-3.c: Likewise. * gcc.target/i386/avx256-unaligned-store-4.c: Likewise. * gcc.target/i386/vect-sizes-1.c: Likewise. * gcc.target/i386/memcpy-1.c: Likewise. * gcc.dg/vect/costmodel/i386/costmodel-vect-31.c (tmp): Initialize. * gcc.dg/vect/costmodel/x86_64/costmodel-vect-31.c (tmp): Likewise. From-SVN: r199898
Jakub Jelinek committed
-