1. 30 Apr, 2012 6 commits
    • decl.c (gnat_to_gnu_entity): In type annotation mode... · b38086f0
      	* gcc-interface/decl.c (gnat_to_gnu_entity): In type annotation mode,
      	do not adjust the size of a tagged type if there is a representation
      	clause on it.  Otherwise, round the adjustment up to the alignment
      	of the first field and use the appropriate helper routine.
      	(maybe_pad_type): Do not warn in type annotation mode on a tagged type.
      	(gnat_to_gnu_field): Do not error out under the same circumstances.
      	(annotate_rep): In type annotation mode, do not adjust the offset of
      	components of a tagged type with representation clause.  Otherwise,
      	round the adjustment up to the alignment of the first field.
      
      From-SVN: r186961
      Eric Botcazou committed
    • i386.c (ix86_handle_struct_attribute): Use the proper predicate to discriminate types. · bb358f1c
      	* config/i386/i386.c (ix86_handle_struct_attribute): Use the proper
      	predicate to discriminate types.
      ada/
      	* gcc-interface/utils.c (finish_record_type): Force the traditional GCC
      	layout for bitfields on the type if it is packed or has a representation
      	clause and an alternate layout is available.
      
      From-SVN: r186958
      Eric Botcazou committed
    • c-common.c (check_function_arguments): Replace Wmissing-format-attribute with… · e6c69da0
      c-common.c (check_function_arguments): Replace Wmissing-format-attribute with Wsuggest-attribute=format.
      
      2012-04-30  Manuel López-Ibáñez  <manu@gcc.gnu.org>
      
              * c-common.c (check_function_arguments): Replace
              Wmissing-format-attribute with Wsuggest-attribute=format.
      
      From-SVN: r186957
      Manuel López-Ibáñez committed
    • gigi.h (mark_out_of_scope): Delete. · f04b8d69
      	* gcc-interface/gigi.h (mark_out_of_scope): Delete.
      	(destroy_gnat_to_gnu): Declare.
      	(destroy_dummy_type): Likewise.
      	* gcc-interface/decl.c (mark_out_of_scope): Delete.
      	* gcc-interface/utils.c (destroy_gnat_to_gnu): New function.
      	(destroy_dummy_type): Likewise.
      	* gcc-interface/trans.c (gnat_validate_uc_list): New variable.
      	(gigi): Call validate_unchecked_conversion on gnat_validate_uc_list
      	after the translation is completed.  Call destroy_gnat_to_gnu and
      	destroy_dummy_type at the end.
      	(Subprogram_Body_to_gnu): Do not call mark_out_of_scope.
      	(gnat_to_gnu) <N_Block_Statement>: Likewise.
      	<N_Validate_Unchecked_Conversion>: Do not process the node, only push
      	it onto gnat_validate_uc_list.
      	(validate_unchecked_conversion): New function.
      
      From-SVN: r186956
      Eric Botcazou committed
    • invoke.texi (Wmissing-format-attribute): Document as an alias of Wsuggest-attribute=format. · 90137d8f
      2012-04-30  Manuel López-Ibáñez  <manu@gcc.gnu.org>
      
      gcc/
      	* doc/invoke.texi (Wmissing-format-attribute): Document as an
      	alias of Wsuggest-attribute=format.
      c-family/
      	* c.opt (Wsuggest-attribute=format): New. Alias of
      	Wmissing-format-attribute.
      	* c-format.c (decode_format_type): Replace
      	Wmissing-format-attribute with Wsuggest-attribute=format.
      	(check_function_format): Likewise.
      cp/
      	* typeck.c (convert_for_assignment):  Replace
      	Wmissing-format-attribute with Wsuggest-attribute=format.
      	* call.c (convert_for_arg_passing): Likewise.
      gcc/
      	* c-typeck.c (convert_for_assignment): Replace
      	Wmissing-format-attribute with Wsuggest-attribute=format.
      	(digest_init): Likewise.
      
      From-SVN: r186955
      Manuel López-Ibáñez committed
    • Daily bump. · 70c33a85
      From-SVN: r186952
      GCC Administrator committed
  2. 29 Apr, 2012 10 commits
  3. 28 Apr, 2012 6 commits
  4. 27 Apr, 2012 17 commits
  5. 26 Apr, 2012 1 commit
    • re PR c++/53096 ([DR 1333] [c++11] should be possible to default a copy ctor… · df16e146
      re PR c++/53096 ([DR 1333] [c++11] should be possible to default a copy ctor that takes non-const arg)
      
      /cp
      2012-04-26  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/53096
      	* class.c (check_bases_and_members): Implement core/1333, do not
      	disallow defaulted in the class body non-const ref special members.
      
      /testsuite
      2012-04-26  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/53096
      	* g++.dg/cpp0x/defaulted35.C: New.
      	* g++.dg/cpp0x/defaulted15.C: Adjust.
      
      From-SVN: r186888
      Paolo Carlini committed