- 04 Apr, 2014 16 commits
-
-
re PR bootstrap/60620 (missing gnattools dependency causes highly parallel build failure with --disable-bootstrap) PR bootstrap/60620 * Makefile.def (dependencies): Make gnattools depend on libstdc++-v3. * Makefile.in: Regenerate. From-SVN: r209129
Eric Botcazou committed -
/cp 2014-04-04 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58207 * semantics.c (sort_constexpr_mem_initializers): Robustify loop. /testsuite 2014-04-04 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58207 * g++.dg/cpp0x/constexpr-ice15.C: New. From-SVN: r209128
Paolo Carlini committed -
From-SVN: r209127
Anthony Green committed -
re PR c++/44613 (Declaring an array with non-constant length inside a switch corrupts stack pointer.) PR c++/44613 * semantics.c (add_stmt): Set STATEMENT_LIST_HAS_LABEL. * decl.c (cp_finish_decl): Create a new BIND_EXPR before instantiating a variable-sized type. From-SVN: r209125
Patrick Palka committed -
PR c++/21113 * decl.c (decl_jump_unsafe): Consider variably-modified decls. From-SVN: r209124
Patrick Palka committed -
re PR lto/59626 (/usr/include/bits/unistd.h:173:1: error: inlining failed in call to always_inline 'readlinkat': recursive inlining) PR ipa/59626 * lto-cgraph.c (input_overwrite_node): Check that partitioning flags are set only during streaming. * ipa.c (process_references, walk_polymorphic_call_targets, symtab_remove_unreachable_nodes): Drop bodies of always inline after early inlining. (symtab_remove_unreachable_nodes): Remove always_inline attribute. * gcc.dg/lto/pr59626_0.c: New testcase. * gcc.dg/lto/pr59626_1.c: New testcase. From-SVN: r209123
Jan Hubicka committed -
This is a partial fix for PR60655 where dwarf2out.c rejects NOT of a value in const_ok_for_output_1. There is still a problem with the testcase on armhf where we get operations of the form, const (minus (const_int) (symref)) without the -fdata-sections option which is just weird. I'm not yet sure where this is produced from and will not have the time to dig further today. As Jakub said on IRC, const_ok_for_output_1 is called only with partial rtx's and therefore disabling minus (const_int) (symref) might not be the best thing to do especially if this were part of plus (symref) (minus (const int) (symref)) and both symrefs were in the same section. Bootstrapped and regtested on armhf Bootstrap and regression test running on x86_64. Ok to commit ? regards Ramana gcc/ <DATE> Jakub Jelinek <jakub@redhat.com> Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> * dwarf2out.c (const_ok_for_output_1): Reject expressions containing a NOT. gcc/testsuite <DATE> Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> * gcc.c-torture/compile/pr60655-1.c: New test. From-SVN: r209121
Ramana Radhakrishnan committed -
PR bootstrap/60743 * config/arm/cortex-a53.md (cortex_a53_fdivs): Reduce reservation duration. (cortex_a53_fdivd): Likewise. From-SVN: r209119
Kyrylo Tkachov committed -
2014-04-04 Fabien Chêne <fabien@gcc.gnu.org> * class.c (find_abi_tags_r): Check for the return of warning before emitting a note. (one_inherited_ctor): Likewise. From-SVN: r209118
Fabien Chêne committed -
2014-04-04 Martin Jambor <mjambor@suse.cz> PR ipa/60640 * cgraph.h (cgraph_clone_node): New parameter added to declaration. Adjust all callers. * cgraph.c (clone_of_p): Also return true if thunks match. (verify_edge_corresponds_to_fndecl): Removed extraneous call to cgraph_function_or_thunk_node and an obsolete comment. * cgraphclones.c (build_function_type_skip_args): Moved upwards in the file. (build_function_decl_skip_args): Likewise. (set_new_clone_decl_and_node_flags): New function. (duplicate_thunk_for_node): Likewise. (redirect_edge_duplicating_thunks): Likewise. (cgraph_clone_node): New parameter args_to_skip, pass it to redirect_edge_duplicating_thunks which is called instead of cgraph_redirect_edge_callee. (cgraph_create_virtual_clone): Pass args_to_skip to cgraph_clone_node, moved setting of a lot of flags to set_new_clone_decl_and_node_flags. testsuite/ * g++.dg/ipa/pr60640-1.C: New test. * g++.dg/ipa/pr60640-2.C: Likewise. * g++.dg/ipa/pr60640-3.C: Likewise. * g++.dg/ipa/pr60640-4.C: Likewise. From-SVN: r209097
Martin Jambor committed -
2014-04-04 Bernd Edlinger <bernd.edlinger@hotmail.de> PR fortran/60191 * fortran/trans-types.c (gfc_get_function_type): In case of recursion build a variadic function type with empty argument list instead of a stdarg-like function type with incomplete argument list. From-SVN: r209091
Bernd Edlinger committed -
PR target/60657 * config/arm/predicates.md (const_int_I_operand): New predicate. (const_int_M_operand): Similarly. * config/arm/arm.md (insv_zero): Use const_int_M_operand instead of const_int_operand. (insv_t2, extv_reg, extzv_t2): Likewise. (load_multiple_with_writeback): Similarly for const_int_I_operand. (pop_multiple_with_writeback_and_return): Likewise. (vfp_pop_multiple_with_writeback): Likewise PR target/60657 * gcc.target/arm/pr60657.c: New test. From-SVN: r209085
Jeff Law committed -
2014-04-04 Richard Biener <rguenther@suse.de> PR ipa/60746 * tree-ssanames.c (make_ssa_name_fn): Fix assert. * gimple.c (gimple_set_bb): Avoid ICEing for NULL cfun for non-GIMPLE_LABELs. * gimplify.h (gimple_add_tmp_var_fn): Declare. * gimplify.c (gimple_add_tmp_var_fn): New function. * gimple-expr.h (create_tmp_reg_fn): Declare. * gimple-expr.c (create_tmp_reg_fn): New function. * gimple-low.c (record_vars_into): Don't change cfun. * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Fix code generation without cfun. * g++.dg/torture/pr60746.C: New testcase. From-SVN: r209079
Richard Biener committed -
PR bootstrap/60719 * Makefile.in (install-driver): Fix shell scripting. From-SVN: r209072
Thomas Schwinge committed -
2014-04-04 Fabien Chêne <fabien@gcc.gnu.org> * decl.c (duplicate_decls): Check for the return of permerror before emitting a note. 2014-04-04 Fabien Chêne <fabien@gcc.gnu.org> * g++.old-deja/g++.robertl/eb121.C: Adjust. * g++.old-deja/g++.jason/overload21.C: Likewise. * g++.old-deja/g++.law/init5.C: Likewise. From-SVN: r209071
Fabien Chêne committed -
From-SVN: r209068
GCC Administrator committed
-
- 03 Apr, 2014 10 commits
-
-
2014-04-03 Cong Hou <congh@google.com> PR tree-optimization/60505 * tree-vectorizer.h (struct _stmt_vec_info): Add th field as the threshold of number of iterations below which no vectorization will be done. * tree-vect-loop.c (new_loop_vec_info): Initialize LOOP_VINFO_COST_MODEL_THRESHOLD. * tree-vect-loop.c (vect_analyze_loop_operations): Set LOOP_VINFO_COST_MODEL_THRESHOLD. * tree-vect-loop.c (vect_transform_loop): Use LOOP_VINFO_COST_MODEL_THRESHOLD. * tree-vect-loop.c (vect_analyze_loop_2): Check the maximum number of iterations of the loop and see if we should build the epilogue. 2014-04-03 Cong Hou <congh@google.com> PR tree-optimization/60505 * gcc.dg/vect/pr60505.c: New test. From-SVN: r209065
Cong Hou committed -
2014-04-03 Richard Biener <rguenther@suse.de> * tree-streamer.h (struct streamer_tree_cache_d): Add next_idx member. (streamer_tree_cache_create): Adjust. * tree-streamer.c (streamer_tree_cache_add_to_node_array): Adjust to allow optional nodes array. (streamer_tree_cache_insert_1): Use next_idx to assign idx. (streamer_tree_cache_append): Likewise. (streamer_tree_cache_create): Create nodes array optionally as specified by parameter. * lto-streamer-out.c (create_output_block): Avoid maintaining the node array in the writer cache. (DFS_write_tree): Remove assertion. (produce_asm_for_decls): Free the out decl state hash table early. * lto-streamer-in.c (lto_data_in_create): Adjust for streamer_tree_cache_create prototype change. From-SVN: r209059
Richard Biener committed -
2014-04-03 Richard Biener <rguenther@suse.de> * tree-streamer-out.c (streamer_write_chain): Do not temporarily set TREE_CHAIN to NULL_TREE. From-SVN: r209058
Richard Biener committed -
2014-04-03 Richard Biener <rguenther@suse.de> PR tree-optimization/60740 * graphite-scop-detection.c (stmt_simple_for_scop_p): Iterate over all GIMPLE_COND operands. * gcc.dg/graphite/pr60740.c: New testcase. From-SVN: r209057
Richard Biener committed -
* doc/invoke.texi (Wnon-virtual-dtor): Adjust documentation. (Weffc++): Remove Scott's numbering, merge lists and reference Wnon-virtual-dtor. c-family/ * c.opt (Wnon-virtual-dtor): Auto set when Weffc++. cp/ * class.c (accessible_nvdtor_p): New. (check_bases): Don't check base destructor here ... (check_bases_and_members): ... check them here. Trigger on Wnon-virtual-dtor flag. (finish_struct_1): Use accessible_nvdtor_p. testsuite/ * g++.dg/warn/Wnvdtor.C: Add non-polymorphic case. * g++.dg/warn/Wnvdtor-2.C: New. * g++.dg/warn/Wnvdtor-3.C: New. * g++.dg/warn/Wnvdtor-4.C: New. * g++.dg/warn/Weff1.C: Delete. * g++.old-deja/g++.benjamin/15309-1.C: Delete. * g++.old-deja/g++.benjamin/15309-2.C: Delete. From-SVN: r209056
Nathan Sidwell committed -
* config/rl78/rl78-expand.md (movqi): Handle (SUBREG (SYMBOL_REF)) properly. From-SVN: r209055
Nick Clifton committed -
ipa-cp.c (ipcp_verify_propagated_values): Also dump symtab and mention gcc_unreachable before failing. 2014-04-03 Martin Jambor <mjambor@suse.cz> * ipa-cp.c (ipcp_verify_propagated_values): Also dump symtab and mention gcc_unreachable before failing. * ipa.c (symtab_remove_unreachable_nodes): Also print order of removed symbols. From-SVN: r209052
Martin Jambor committed -
PR ipa/60659 * ipa-devirt.c (get_polymorphic_call_info): Do not ICE on type inconsistent code and instead mark the context inconsistent. (possible_polymorphic_call_targets): For inconsistent contexts return empty complete list. * testsuite/g++.dg/torture/pr60659.C: New testcase. From-SVN: r209048
Jan Hubicka committed -
1. Changes char to be unsigned by default 2. Changes WCHAR_TYPE from long int to unsigned int 3. Zero- and sign-extends values properly, sometimes using the new sign-extension instructions. From-SVN: r209047
Anthony Green committed -
From-SVN: r209045
GCC Administrator committed
-
- 02 Apr, 2014 14 commits
-
-
[gcc] 2014-04-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com> PR tree-optimization/60733 * gimple-ssa-strength-reduction.c (ncd_with_phi): Change required insertion point for PHI candidates to be the end of the feeding block for the PHI argument. [gcc/testsuite] 2014-04-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com> PR tree-optimization/60733 * gcc.dg/torture/pr60733.c: New test. From-SVN: r209040
Bill Schmidt committed -
2014-04-02 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/60650 * lra-constraints.c (process_alt_operands): Decrease reject for earlyclobber matching. 2014-04-02 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/60650 * gcc.target/arm/pr60650-2.c: New. From-SVN: r209038
Vladimir Makarov committed -
* config/linux/futex.h (futex_wait): Get error value from errno. (futex_wake): Likewise. From-SVN: r209035
Richard Henderson committed -
* gcc.target/i386/avx2-vpand-3.c, gcc.target/i386/avx256-unaligned-load-2.c: Use -mno-prefer-avx128. From-SVN: r209034
Joseph Myers committed -
* gcc.target/i386/funcspec-2.c, gcc.target/i386/funcspec-3.c, gcc.target/i386/funcspec-9.c, gcc.target/i386/isa-1.c, gcc.target/i386/memcpy-strategy-1.c, gcc.target/i386/memcpy-strategy-2.c, gcc.target/i386/memcpy-vector_loop-1.c, gcc.target/i386/memcpy-vector_loop-2.c, gcc.target/i386/memset-vector_loop-1.c, gcc.target/i386/memset-vector_loop-2.c, gcc.target/i386/sse2-init-v2di-2.c, gcc.target/i386/ssetype-1.c, gcc.target/i386/ssetype-2.c, gcc.target/i386/ssetype-5.c: Skip for -march= options different from those in dg-options. From-SVN: r209033
Joseph Myers committed -
2014-04-02 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/s390.c (s390_expand_insv): Use GET_MODE_BITSIZE. From-SVN: r209032
Andreas Krebbel committed -
* config/spu/spu.c (pad_bb): Do not crash when the last insn is CODE_FOR_blockage. From-SVN: r209029
Ulrich Weigand committed -
* config/spu/spu.md ("insv"): Fail if bitoffset+bitsize lies outside the target mode. From-SVN: r209028
Ulrich Weigand committed -
* config/alpha/target.h (PAGE_SIZE, FIXED_PAGE_SIZE): Remove. * config/arm/target.h, config/sh/target.h: Likewise. * config/sparc/target.h, config/x86/target.h: Likewise. From-SVN: r209027
Richard Henderson committed -
2014-04-02 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/60735 * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): If we have software floating point or no floating point registers, do not allow any type in the FPRs. Eliminate a test for SPE SIMD types in GPRs that occurs after we tested for GPRs that would never be true. * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64): Rewrite tests to use TARGET_DOUBLE_FLOAT and TARGET_E500_DOUBLE, since the FMOVE64 type is DFmode/DDmode. If TARGET_E500_DOUBLE, specifically allow DDmode, since that does not use the SPE SIMD instructions. From-SVN: r209025
Michael Meissner committed -
* c-common.h (c_expand_expr): Remove declaration. From-SVN: r209020
Marek Polacek committed -
* gcc.target/i386/387-3.c, gcc.target/i386/387-4.c, gcc.target/i386/pr30970.c: Use -mtune=generic. * gcc.target/i386/avx2-vpaddb-3.c, gcc.target/i386/avx2-vpaddd-3.c, gcc.target/i386/avx2-vpaddq-3.c, gcc.target/i386/avx2-vpaddw-3.c, gcc.target/i386/avx2-vpmulld-3.c, gcc.target/i386/avx2-vpmullw-3.c, gcc.target/i386/avx2-vpsrad-3.c, gcc.target/i386/avx2-vpsraw-3.c, gcc.target/i386/avx2-vpsrld-3.c, gcc.target/i386/avx2-vpsrlw-3.c, gcc.target/i386/avx2-vpsubb-3.c, gcc.target/i386/avx2-vpsubd-3.c, gcc.target/i386/avx2-vpsubq-3.c, gcc.target/i386/avx2-vpsubw-3.c, gcc.target/i386/avx256-unaligned-load-1.c, gcc.target/i386/avx256-unaligned-load-4.c, gcc.target/i386/avx256-unaligned-store-1.c, gcc.target/i386/avx256-unaligned-store-2.c, gcc.target/i386/avx256-unaligned-store-4.c: Use -mno-prefer-avx128. From-SVN: r209019
Joseph Myers committed -
2014-03-26 Dominique d'Humieres <dominiq@lps.ens.fr> Iain Sandoe <iain@codesourcery.com> PR target/54083 * gcc.dg/attr-weakref-1.c: Allow the test on darwin with the additional options -Wl,-undefined,dynamic_lookup and -Wl,-flat_namespace. * gcc.dg/torture/pr53922.c: Additional option -Wl,-flat_namespace for darwin[89]. * gcc.dg/torture/pr60092.c: Additional options -Wl,-undefined,dynamic_lookup and -Wl,-flat_namespace for darwin[89]. Co-Authored-By: Iain Sandoe <iain@codesourcery.com> From-SVN: r209018
Dominique d'Humieres committed -
re PR target/54407 (FAIL: 30_threads/condition_variable/54185.cc execution test program timed out on powerpc-apple-darwin9 and x86_64-apple-darwin10) 2014-04-02 Dominique d'Humieres <dominiq@lps.ens.fr> Jack Howarth <howarth@bromo.med.uc.edu> PR target/54407 * testsuite/30_threads/condition_variable/54185.cc: Skip for darwin < 11. Co-Authored-By: Jack Howarth <howarth@bromo.med.uc.edu> From-SVN: r209017
Dominique d'Humieres committed
-