- 21 Nov, 2011 7 commits
-
-
jye2 authored
* expr.c (expand_expr_real_1): Correctly handle strict volatile bitfield loads smaller than mode size. testsuite: * gcc.dg/volatile-bitfields-1.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181549 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181548 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
gcc/cp/ * cp-tree.h (PACK_EXPANSION_EXTRA_ARGS): New. * cp-tree.def (EXPR_PACK_EXPANSION): Add an operand for it. * pt.c (tsubst_pack_expansion): Set and use it. (iterative_hash_template_arg): Hash it. (template_args_equal): Compare it. (comp_template_args_with_info): Handle nulls. * tree.c (cp_walk_subtrees): Walk it. * typeck.c (structural_comptypes): Compare it. * ptree.c (cxx_print_type): Print it. libstdc++-v3/ * include/std/tuple (tuple(_UElements&&...)): Fix SFINAE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181547 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
during default arg instantiation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181546 138bc75d-0d04-0410-961f-82ee72b054a4
-
gerald authored
creating it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181545 138bc75d-0d04-0410-961f-82ee72b054a4
-
hp authored
($(base)$(objext)): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181544 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181543 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 20 Nov, 2011 17 commits
-
-
rth authored
* config/mips/mips.c (mips_init_libfuncs): Call init_sync_libfuncs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181539 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
2011-11-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/51230 * pt.c (unify_inconsistency): Handle non-type parameters better. * error.c (dump_expr): Handle TEMPLATE_TEMPLATE_PARM. /cp 2011-11-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/51230 * g++.dg/template/error46.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181538 138bc75d-0d04-0410-961f-82ee72b054a4
-
uros authored
* config/i386/i386.c (ix86_expand_vcond): Generate TARGET_XOP patterns for supported mode only. PR target/51236 * config/i386/i386.c (ix86_expand_builtin) <IX86_BUILTIN_GATHERALTSIV4DI>: Use CODE_FOR_avx2_gathersiv4di. testsuite/ChangeLog: PR target/51235 * gcc.target/i386/pr51235.c: New test. PR target/51236 * gcc.target/i386/pr51236.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181537 138bc75d-0d04-0410-961f-82ee72b054a4
-
redi authored
suggest using std::bind instead. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181535 138bc75d-0d04-0410-961f-82ee72b054a4
-
redi authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181534 138bc75d-0d04-0410-961f-82ee72b054a4
-
redi authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181533 138bc75d-0d04-0410-961f-82ee72b054a4
-
redi authored
text. * doc/xml/faq.xml: Likewise. Do not request standard library issues to be reported to the libstdc++ mailing list. * doc/xml/manual/status_cxx2011.xml: Document implementation-defined behaviour. * doc/xml/manual/status_cxxtr1.xml: Likewise. * doc/xml/manual/utilities.xml: Fix grammar, probably caused by a global search and replace of "part" by "chapter". * doc/xml/manual/shared_ptr.xml: Remove outdated information. * doc/xml/manual/messages.xml: Be more specific about systems where using 'int' for catalog handle is not a problem, mentioned LWG issue. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181532 138bc75d-0d04-0410-961f-82ee72b054a4
-
uros authored
(UNSPEC_MOVNTQ): New unspec. * config/i386/mmx.md (sse_movntq): Rename from sse_movntdi. Use UNSPEC_MOVNTQ instead of UNSPEC_MOVNT. * config/i386/sse.md (sse2_movnti<mode>): Use UNSPEC_MOVNT instead of UNSPEC_MOVNTI. (STORENT_MODE): Add DI and V4DI modes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181531 138bc75d-0d04-0410-961f-82ee72b054a4
-
charlet authored
* exp_ch6.adb, exp_util.adb: Minor reformatting 2011-11-20 Eric Botcazou <ebotcazou@adacore.com> * sinfo.ads (Reference): Document that it is OK to set Is_Known_Non_Null on a temporary initialized to a N_Reference node. 2011-11-20 Matthew Heaney <heaney@adacore.com> * a-cbdlli.adb, a-cfdlli.adb (Move): Set Last component to 0 for Source list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181530 138bc75d-0d04-0410-961f-82ee72b054a4
-
charlet authored
* exp_ch6.adb (Make_Build_In_Place_Call_In_Assignment): Declare NEW_EXPR local variable and attach the temporary to it. Set Is_Known_Non_Null on the temporary. (Make_Build_In_Place_Call_In_Object_Declaration): Likewise. * exp_util.adb (Remove_Side_Effects): Set Is_Known_Non_Null on the temporary created to hold the 'Reference of the expression, if any. * checks.adb (Install_Null_Excluding_Check): Bail out for the Get_Current_Excep.all.all idiom generated by the expander. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181529 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
(f_gnat_ret): New macro. (struct nrv_data): Add GNAT_RET. (finalize_nrv_unc_r): New helper function. (finalize_nrv): Add GNAT_RET parameter. Copy it into DATA. If the function returns unconstrained, use finalize_nrv_unc_r as callback. (return_value_ok_for_nrv_p): Test the alignment of RET_OBJ only if RET_OBJ is non-null. (Subprogram_Body_to_gnu): Pass GNAT_RET to finalize_nrv. (gnat_to_gnu) <N_Return_Statement>: In the return-unconstrained case, if optimization is enabled, record candidates for the Named Return Value optimization. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181528 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
(gnat_to_gnu) <N_Return_Statement>: Add 'else' to avoid doing a useless test. Tweak default case. <N_Goto_Statement>: Use better formatting. * gcc-interface/utils2.c (maybe_wrap_malloc): Use INIT_EXPR instead of MODIFY_EXPR to initialize the storage. (build_allocator): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181527 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
call to components_to_record. (components_to_record): Add FIRST_FREE_POS parameter. For the variant part, reuse enclosing union even if there is a representation clause on the Unchecked_Union. If there is a variant part, compute the new first free position, if any. Adjust call to self. Use a single field directly only if it hasn't got a representation clause or is placed at offset zero. Create the variant part at offset 0 if all the fields down to this level have a rep clause. Do not chain the variant part immediately and adjust downstream. Do not test ALL_REP before moving the fields without rep clause to the previous level. Call create_rep_part to create the REP part and force a minimum size on it if necessary. Do not chain it immediately. Create a fake REP part if there are fields without rep clause that need to be laid out starting from FIRST_FREE_POS. At the end, chain the REP part and then the variant part. (create_rep_part): New function. (get_rep_part): Minor tweak. * gcc-interface/utils.c (tree_code_for_record_type): Minor tweak. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181526 138bc75d-0d04-0410-961f-82ee72b054a4
-
nathan authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181525 138bc75d-0d04-0410-961f-82ee72b054a4
-
nathan authored
* coverage.c (build_var): Propagate visibility for public decls. testsuite/ * gcc.misc-tests/gcov-13.c: Check gcovpart-13b coverage * gcc.misc-tests/gcov-16.c: New. * gcc.misc-tests/gcov-17.c: New. * g++.dg/gcov/gcov-8.C: New. * g++.dg/gcov/gcov-9.C: New. * g++.dg/gcov/gcov-10.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181524 138bc75d-0d04-0410-961f-82ee72b054a4
-
dodji authored
gcc/cp/ PR c++/51194 * pt.c (lookup_template_class_1): Go out early if the type of the template is error_mark_node. gcc/testsuite/ PR c++/51194 * g++.dg/cpp0x/alias-decl-15.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181523 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181521 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 19 Nov, 2011 11 commits
-
-
paolo authored
2011-11-19 Paolo Carlini <paolo.carlini@oracle.com> PR c++/51216 * semantics.c (potential_constant_expression_1): Handle IF_STMT, DO_STMT, FOR_STMT, and WHILE_STMT. /testsuite 2011-11-19 Paolo Carlini <paolo.carlini@oracle.com> PR c++/51216 * g++.dg/cpp0x/pr51216.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181517 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
* reorg.c (relax_delay_slots): Do not consider a jump useless if there is a barrier between the jump and its target label. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181513 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
* tracer.c (ignore_bb_p): Don't copy GIMPLE_TRANSACTION. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181512 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181511 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181509 138bc75d-0d04-0410-961f-82ee72b054a4
-
rearnsha authored
* arm.c (neon_disambiguate_copy): Correctly handle partial overlap of src and dest operands. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181508 138bc75d-0d04-0410-961f-82ee72b054a4
-
iains authored
gcc: * config/darwin.h (ASM_DEBUG_SPEC): New. * config/darwin9.h (ASM_DEBUG_SPEC): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181507 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
* include/debug/bitset (operator[](size_t) const): Declare constexpr. * include/profile/bitset: Likewise. * testsuite/23_containers/bitset/operations/constexpr.cc: Split out non portable bits to... * testsuite/23_containers/bitset/operations/constexpr-2.cc: ... here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181506 138bc75d-0d04-0410-961f-82ee72b054a4
-
burnus authored
PR fortran/51207 * class.c (gfc_find_derived_vtab): Mark __def_init as PARAMETER and hence as TREE_READONLY; add subroutine attribute to __copy_ procedure. PR fortran/50640 * trans.h (GFC_DECL_PUSH_TOPLEVEL): New DECL_LANG_FLAG_7. * trans-decl.c (gfc_get_symbol_decl): Mark __def_init and vtab as GFC_DECL_PUSH_TOPLEVEL. (gfc_generate_function_code): If GFC_DECL_PUSH_TOPLEVEL, push it there. (build_function_decl): Push __copy_ procedure to the toplevel. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181505 138bc75d-0d04-0410-961f-82ee72b054a4
-
hubicka authored
issues are fixed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181503 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181501 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 18 Nov, 2011 5 commits
-
-
jsm28 authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181496 138bc75d-0d04-0410-961f-82ee72b054a4
-
sje authored
* Makefile.in (c_flags): Set to -fno-exceptions to build libunwind. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181495 138bc75d-0d04-0410-961f-82ee72b054a4
-
aesok authored
(TARGET_FUNCTION_VALUE_REGNO_P): Define. * config/cris/cris.h (FUNCTION_VALUE_REGNO_P): Remove. * config/cris/cris-protos.h (cris_function_value_regno_p): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181493 138bc75d-0d04-0410-961f-82ee72b054a4
-
fabien authored
2011-11-18 Fabien Chene <fabien@gcc.gnu.org> PR c++/51188 * g++.dg/lookup/using46.C: New. * g++.dg/lookup/using47.C: New. * g++.dg/lookup/using48.C: New. * g++.dg/lookup/using49.C: New. * g++.dg/lookup/using50.C: New. gcc/cp/ChangeLog 2011-11-18 Fabien Chene <fabien@gcc.gnu.org> PR c++/51188 * search.c (lookup_field_1): Handle USING_DECLs for the storted case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181492 138bc75d-0d04-0410-961f-82ee72b054a4
-
hjl authored
2011-11-18 H.J. Lu <hongjiu.lu@intel.com> PR target/33944 * doc/extend.texi: Document __builtin_ia32_movnti64. * config/i386/emmintrin.h (_mm_stream_si64): New. * config/i386/i386-builtin-types.def: Add VOID_FTYPE_PLONGLONG_LONGLONG. * config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_MOVNTI64. (bdesc_special_args): Update __builtin_ia32_movnti. Add __builtin_ia32_movnti64. (ix86_expand_special_args_builtin): Handle VOID_FTYPE_PLONGLONG_LONGLONG. * config/i386/i386.md (UNSPEC_MOVNTI): New. * config/i386/sse.md (sse2_movntsi): Renamed to ... (sse2_movnti<mode>): This. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181491 138bc75d-0d04-0410-961f-82ee72b054a4
-