- 18 Feb, 2010 6 commits
-
-
PR c++/43109 * semantics.c (begin_class_definition): Don't crash on unnamed ns. From-SVN: r156864
Jason Merrill committed -
2010-02-18 Martin Jambor <mjambor@suse.cz> PR tree-optimization/43066 * tree-sra.c (build_ref_for_offset_1): Return false on encountering an array with zero-sized element type. * testsuite/gcc.c-torture/compile/pr43066.c: New test. From-SVN: r156863
Martin Jambor committed -
* dwarf2out.c (add_var_loc_to_decl): Change last argument to rtx, allocate struct var_loc_node here and return it to the caller, and only if it is actually needed. (dwarf2out_var_location): Adjust add_var_loc_to_decl caller, move it earlier and return immediately if it returns NULL. From-SVN: r156860
Jakub Jelinek committed -
* g++.dg/ext/attrib35.C: Fix target selector string. * g++.dg/ext/attrib36.C: Ditto. * g++.dg/ext/attrib37.C: Ditto. * g++.dg/abi/mangle24.C: Remove stray "*/" from dg directives. * g++.dg/abi/mangle25.C: Ditto. From-SVN: r156859
Uros Bizjak committed -
2010-02-17 Mikael Pettersson <mikpe@it.uu.se> * config/sparc/gas.h: New file. Restore TARGET_ASM_NAMED_SECTION to its ELF default. * config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Do not check !HAVE_GNU_AS. * config/sparc/sparc.c (sparc_elf_asm_named_section): Likewise. Add ATTRIBUTE_UNUSED to prototype. * config.gcc (sparc*-*-linux*): Include sparc/gas.h after sparc/sysv4.h. From-SVN: r156854
Mikael Pettersson committed -
From-SVN: r156845
GCC Administrator committed
-
- 17 Feb, 2010 21 commits
-
-
PR c++/43075 * call.c (build_over_call): Don't create zero-sized assignments. * cp-gimplify.c (cp_genericize_r): Don't remove them here. * cp-objcp-common.c (cp_expr_size): Remove. * cp-tree.h: Remove prototype. From-SVN: r156842
Jason Merrill committed -
re PR c++/43069 (ICE: tree check: expected tree that contains 'decl minimal' structure, have 'overload' in set_decl_namespace, at cp/name-lookup.c:3105) PR c++/43069 * name-lookup.c (set_decl_namespace): Don't copy DECL_CONTEXT if the decl we looked up doesn't match. From-SVN: r156841
Jason Merrill committed -
PR c++/43093 * cp-gimplify.c (cp_gimplify_expr) [INIT_EXPR]: Return if we don't have an INIT_EXPR anymore. From-SVN: r156840
Jason Merrill committed -
PR c++/43079 * pt.c (convert_nontype_argument): Change assert to test. From-SVN: r156839
Jason Merrill committed -
2010-02-17 Benjamin Kosnik <bkoz@redhat.com> * doc/xml/manual/appendix_contributing.xml: Update markup rules for quoting and functions. From-SVN: r156838
Benjamin Kosnik committed -
2010-02-17 Chris Jefferson <chris@bubblescope.net> * include/bits/locale_facets.h (__convert_to_v): Add empty exception-specification. From-SVN: r156837
Chris Jefferson committed -
* ChangeLog: Fix whitespace. * testsuite/ChangeLog: Ditto. From-SVN: r156835
Uros Bizjak committed -
2010-02-17 Rafael Ávila de Espíndola <espindola@google.com> * MAINTAINERS (Plugin, LTO, LTO plugin): Remove myself. (Write After Approval): Update my email address. From-SVN: r156834
Rafael Avila de Espindola committed -
* config/i386/mingw32.h (LIBGCJ_SONAME): Fix cut'n'pasto in DLL name. From-SVN: r156832
Dave Korn committed -
* gensupport.c (process_one_cond_exec): Derive name for COND_EXEC patterns from predicated pattern. From-SVN: r156831
Steven Bosscher committed -
2010-02-17 Paolo Carlini <paolo.carlini@oracle.com> * include/std/limits: Implement resolution of DR 559 (CD1) in C++0x mode. * testsuite/18_support/numeric_limits/dr559.cc: New. From-SVN: r156830
Paolo Carlini committed -
From-SVN: r156829
Nick Clifton committed -
* Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete the config.cache files found by the find command. From-SVN: r156828
Nick Clifton committed -
PR target/43103 * config/i386/sse.md (xop_vpermil2<mode>3): Use avxmodesuffixf2c for insn mnemonic suffix. testsuite/ChangeLog: PR target/43103 * gcc.target/i386/xop-check.h: Include m256-check.h. * gcc.target/i386/xop-vpermil2ps-1.c: Include x86intrin.h. * gcc.target/i386/xop-vpermil2ps-256-1.c: Ditto. * gcc.target/i386/xop-vpermil2pd-1.c: Ditto. * gcc.target/i386/xop-vpermil2pd-256-1.c: Ditto. From-SVN: r156827
Uros Bizjak committed -
re PR c++/11238 (A constructor with exception handler rethrows the exception to the constructor caller) PR 11238 * Makefile.tpl (local-distclean): Also remove config.cache files in sub-directories as there may not be Makefiles present in the sub-directories. * Makefile.in: Regenerate. * configure.ac: Revert previous delta. * configure: Regenerate. From-SVN: r156826
Nick Clifton committed -
2010-02-17 Richard Guenther <rguenther@suse.de> * tree-vrp.c (vrp_visit_phi_node): Restrict SCEV analysis to loop PHI nodes. From-SVN: r156825
Richard Guenther committed -
2010-02-16 Richard Guenther <rguenther@suse.de> PR tree-optimization/41043 * gfortran.dg/pr41043.f90: New testcase. * gcc.dg/Wstrict-overflow-18.c: XFAIL. From-SVN: r156824
Richard Biener committed -
PR debug/42918 * caller-save.c (save_call_clobbered_regs): If BB ends with a DEBUG_INSN, move any notes in between last real insn and the last DEBUG_INSN after the last DEBUG_INSN. * gcc.dg/pr42918.c: New test. From-SVN: r156823
Jakub Jelinek committed -
2010-02-16 Benjamin Kosnik <bkoz@redhat.com> * src/ios_locale.cc: Fixes for -pedantic. * src/system_error.cc: Same. * src/locale.cc: Same. * src/list.cc: Same. * src/locale_facets.cc: Same. * src/locale_init.cc: Same. * src/ios.cc: Same. * config/locale/darwin/ctype_members.cc: Same. * config/locale/gnu/collate_members.cc: Same. * config/locale/gnu/ctype_members.cc: Same. * config/locale/gnu/c_locale.cc: Same. * config/locale/gnu/monetary_members.cc: Same. * config/locale/gnu/time_members.cc: Same. * config/locale/ieee_1003.1-2001/c_locale.cc: Same. * config/locale/generic/collate_members.cc: Same. * config/locale/generic/ctype_members.cc: Same. * config/locale/generic/c_locale.cc: Same. * config/locale/generic/monetary_members.cc: Same. * config/locale/generic/time_members.cc: Same. * config/io/basic_file_stdio.cc: Same. * libsupc++/pbase_type_info.cc: Fixes for -fno-rtti. * libsupc++/pointer_type_info.cc: Same. * libsupc++/eh_personality.cc: Same. * include/std/system_error: Throw spacing. * include/bits/locale_classes.h: Same. * include/bits/locale_facets.h: Same. * include/bits/ios_base.h: Same. * testsuite/17_intro/headers/c++200x/all_no_rtti.cc: New. * testsuite/17_intro/headers/c++1998/all_no_rtti.cc: New From-SVN: r156822
Benjamin Kosnik committed -
2010-02-16 H.J. Lu <hongjiu.lu@intel.com> * g++.dg/ext/attrib36.C: Require ILP32. From-SVN: r156821
H.J. Lu committed -
From-SVN: r156819
GCC Administrator committed
-
- 16 Feb, 2010 13 commits
-
-
2010-02-16 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/random.h (linear_congruential_engine(_Sseq&), mersenne_twister_engine(_Sseq&), subtract_with_carry_engine(_Sseq&)): Do not enable for the type itself. (discard_block_engine(_Sseq&), independent_bits_engine(_Sseq&), shuffle_order_engine(_Sseq&)): Do not enable for the type itself too. (linear_congruential_engine<>::seed(_Sseq&), mersenne_twister_engine<>::seed(_Sseq&), subtract_with_carry_engine<>::seed(_Sseq&)): Use enable_if on the return type. (discard_block_engine<>::seed(_Sseq&), independent_bits_engine<>::seed(_Sseq&), shuffle_order_engine<>::seed(_Sseq&)): Do not use enable_if. * include/bits/random.tcc: Adjust definitions. * testsuite/26_numerics/random/independent_bits_engine/cons/copy.cc: New. * testsuite/26_numerics/random/subtract_with_carry_engine/cons/ copy.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/ copy.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/cons/ copy.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/cons/ copy.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/ copy.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/cons/ base_move.cc: Minor tweaks. * testsuite/26_numerics/random/independent_bits_engine/cons/seed1.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/cons/seed2.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/cons/ base_copy.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/cons/ default.cc: Likewise. * testsuite/26_numerics/random/independent_bits_engine/cons/ seed_seq.cc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/cons/ seed1.cc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/cons/ seed2.cc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/cons/ default.cc: Likewise. * testsuite/26_numerics/random/subtract_with_carry_engine/cons/ seed_seq.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/base_move.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/seed1.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/seed2.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/base_copy.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/default.cc: Likewise. * testsuite/26_numerics/random/discard_block_engine/cons/seed_seq.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/cons/seed1.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/cons/seed2.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/cons/ default.cc: Likewise. * testsuite/26_numerics/random/mersenne_twister_engine/cons/ seed_seq.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/cons/ seed1.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/cons/ seed2.cc: Likewise. * testsuite/26_numerics/random/linear_congruential_engine/cons/ seed_seq.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/base_move.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/seed1.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/seed2.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/base_copy.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/default.cc: Likewise. * testsuite/26_numerics/random/shuffle_order_engine/cons/seed_seq.cc: Likewise. From-SVN: r156815
Paolo Carlini committed -
* tm.texi (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC): Fix return type. Fix argument type. Explain meaning of return value. From-SVN: r156814
Joern Rennecke committed -
2010-02-16 Richard Guenther <rguenther@suse.de> PR tree-optimization/41043 * tree-vrp.c (vrp_var_may_overflow): Only ask SCEV for real loops. (vrp_visit_assignment_or_call): Do not ask SCEV for regular statements ... (vrp_visit_phi_node): ... but only for loop PHI nodes. * gfortran.dg/pr41043.f90: New testcase. * gcc.dg/Wstrict-overflow-18.c: XFAIL. From-SVN: r156808
Richard Guenther committed -
2010-02-16 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/unique_ptr.h: (unique_ptr<>:: unique_ptr(const unique_ptr<_Up, _Up_Deleter>&), operator=(const unique_ptr<_Up, _Up_Deleter>&)): Remove, redundant, per DR 1303. * include/bits/shared_ptr.h (shared_ptr<>:: shared_ptr(const unique_ptr<_Up, _Up_Deleter>&), operator=(const unique_ptr<_Up, _Up_Deleter>&)): Likewise. * include/bits/shared_ptr_base.h (__shared_ptr<>:: __shared_ptr(const unique_ptr<_Up, _Up_Deleter>&), operator=(const unique_ptr<_Up, _Up_Deleter>&)): Likewise. * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust. * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Likewise. * testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: Likewise. * testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc: Likewise. From-SVN: r156807
Paolo Carlini committed -
From-SVN: r156804
Jason Merrill committed -
From-SVN: r156803
Jason Merrill committed -
PR tree-optimization/43074 * tree-vectorizer.h (VECTORIZABLE_CYCLE_DEF): New. * tree-vect-loop.c (vect_analyze_loop_operations): Add vectorizable cycles in hybrid SLP check. * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Likewise. From-SVN: r156800
Ira Rosen committed -
2010-02-16 Richard Guenther <rguenther@suse.de> * alias.c (memrefs_conflict_p): Distinguish must-alias from don't know. (true_dependence): If memrefs_conflict_p computes must-alias trust it. Move TBAA check after offset-based disambiguation. (canon_true_dependence): Likewise. From-SVN: r156797
Richard Guenther committed -
2010-02-16 Tobias Burnus <burnus@net-b.de> PR fortran/43040 * gfortran.h (gfc_isym_id): Rename GFS_ISYM_GAMMA to * GFS_ISYM_TGAMMA. * intrinsic.c (add_functions): Ditto. * iresolve.c (gfc_resolve_gamma): Call tgamma instead of gamma. * mathbuiltins.def: Use TGAMMA instead of GAMMA with "tgamma". From-SVN: r156796
Tobias Burnus committed -
* params.def (PARAM_MAX_VARTRACK_SIZE): New. * doc/invoke.texi: Document it. * var-tracking.c: Include toplev.h and params.h. (vt_find_locations): Return bool indicating success. Compute hash sizes unconditionally. Check new parameter, report. (variable_tracking_main_1): Check vt_find_locations results and retry. Renamed from... (variable_tracking_main): ... this. New wrapper to preserve flag_var_tracking_assignments. * Makefile.in (var-tracking.o): Adjust dependencies. * lib/prune.exp: Prune variable tracking size limit exceeded notes. From-SVN: r156794
Jakub Jelinek committed -
re PR c++/43031 (internal compiler error: verify_gimple failed after non-trivial conversion error when crosscompiling Firefox) PR c++/43031 * cp-gimplify.c (cp_gimplify_expr) [MODIFY_EXPR]: Use VIEW_CONVERT_EXPR for conversions between structural equality types that the back end can't tell are the same. From-SVN: r156793
Jason Merrill committed -
PR c++/43036 * tree.c (build_cplus_array_type): Set TYPE_MAIN_VARIANT to strip cv-quals from element here. (cp_build_qualified_type_real): Not here. Preserve typedef name. From-SVN: r156792
Jason Merrill committed -
From-SVN: r156789
GCC Administrator committed
-