1. 21 Nov, 2011 12 commits
  2. 20 Nov, 2011 17 commits
    • rth's avatar
      mips: Install the __sync libfuncs for mips16 · 5e5778c4
      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
      5e5778c4
    • paolo's avatar
      /cp · 54c12599
      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
      54c12599
    • uros's avatar
      PR target/51235 · dfff1aba
      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
      dfff1aba
    • redi's avatar
      * include/backward/binders.h: Fix examples in doxygen comments and · d9713412
      redi authored
      	suggest using std::bind instead.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181535 138bc75d-0d04-0410-961f-82ee72b054a4
      d9713412
    • redi's avatar
      Fix grammar in ChangeLog entry. · 6fd41539
      redi authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181534 138bc75d-0d04-0410-961f-82ee72b054a4
      6fd41539
    • redi's avatar
      * doc/xml/manual/status_cxx2011.xml: Fix docbook markup. · c86dcb9e
      redi authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181533 138bc75d-0d04-0410-961f-82ee72b054a4
      c86dcb9e
    • redi's avatar
      * doc/xml/manual/appendix_contributing.xml: Do not use "here" as link · 297637fe
      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
      297637fe
    • uros's avatar
      * config/i386/i386.md (UNSPEC_MOVNTI): Remove. · 0fd2a6af
      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
      0fd2a6af
    • charlet's avatar
      2011-11-20 Robert Dewar <dewar@adacore.com> · 23056195
      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
      23056195
    • charlet's avatar
      2011-11-20 Eric Botcazou <ebotcazou@adacore.com> · 472ea160
      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
      472ea160
    • ebotcazou's avatar
      * gcc-interface/trans.c (struct language_function): Add GNAT_RET. · 2d28bdfd
      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
      2d28bdfd
    • ebotcazou's avatar
      * gcc-interface/trans.c (Subprogram_Body_to_gnu): Add comment. · dacb2580
      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
      dacb2580
    • ebotcazou's avatar
      * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Adjust · 68e668ce
      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
      68e668ce
    • nathan's avatar
      fixup trunkated changelog entry · 16e11066
      nathan authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181525 138bc75d-0d04-0410-961f-82ee72b054a4
      16e11066
    • nathan's avatar
      PR gcov-profile/51113 · 33087d4d
      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
      33087d4d
    • dodji's avatar
      PR c++/51194 - ICE with invalid alias template · 14bf3817
      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
      14bf3817
    • gccadmin's avatar
      Daily bump. · 5b4a4a6a
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181521 138bc75d-0d04-0410-961f-82ee72b054a4
      5b4a4a6a
  3. 19 Nov, 2011 11 commits