1. 27 May, 2011 7 commits
    • lto-streamer-out.c (lto_string_index): break out from...; offset by 1 so 0 means NULL string. · 51a9ed47
      	* lto-streamer-out.c (lto_string_index): break out from...; offset by 1
      	so 0 means NULL string.
      	(lto_output_string_with_length): ... here.
      	(lto_output_string, output_string_cst, output_identifier): Update handling
      	of NULL strings.
      	(lto_output_location_bitpack): New function.
      	(lto_output_location): Use it.
      	(lto_output_tree_ref): Use output_record_start.
      	(pack_ts_type_common_value_fields): Pack aliagn & alias set in var len values.
      	* lto-streamer-in.c (string_for_index): Break out from ...; offset values by 1.
      	(input_string_internal): ... here; 
      	(input_string_cst, input_identifier, lto_input_string): Update handling of
      	NULL strings.
      	(lto_input_location_bitpack): New function
      	(lto_input_location): Use it.
      	(unpack_ts_type_common_value_fields): Pack align & alias in var len values.
      	* lto-streamer.h (bp_pack_val_len_unsigned, bp_pack_val_len_int,
      	bp_unpack_val_len_unsigned, bp_unpack_val_len_int): Declare.
      	(bp_pack_value): Sanity check the value range.
      	* lto-section-in.c (bp_unpack_val_len_unsigned, bp_unpack_val_len_int):
      	New functions.
      	* lto-section-out.h (bp_pack_val_len_unsigned, bp_pack_val_len_int):
      	New functions.
      
      From-SVN: r174325
      Jan Hubicka committed
    • picochip.c (reorder_var_tracking_notes): Drop call_arg_location instructions down the floor. · dc38fc2e
              * config/picochip/picochip.c (reorder_var_tracking_notes): Drop
              call_arg_location instructions down the floor.
      
      From-SVN: r174322
      Hariharan Sandanagobalane committed
    • re PR bootstrap/49173 (No rule to make target… · ad5f3d7b
      re PR bootstrap/49173 (No rule to make target `../../../../work/libgcc/../gcc/libgcc-std.ver', needed by `libgcc.map'.)
      
      	PR bootstrap/49173
      	* config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
      	libgcc-std.ver in the build directory.
      	* config/s390/t-linux (SHLIB_MAPFILES): Likewise.
      	* config/sh/t-linux (SHLIB_MAPFILES): Likewise.
      
      From-SVN: r174321
      Bernd Schmidt committed
    • re PR c++/47721 ([C++0x] Updated friendship rules?) · 866e4146
      	PR c++/47721
      	* parser.c (cp_parser_member_declaration): Allow friend T.
      	* friend.c (make_friend_class): Ignore non-classes.
      	* pt.c (instantiate_class_template_1): Handle TEMPLATE_TYPE_PARM.
      
      From-SVN: r174319
      Jason Merrill committed
    • DR 1004 · 5ac537d7
      	DR 1004
      	* pt.c (convert_template_argument): Don't complain about using
      	injected-class-name as template template argument.
      
      From-SVN: r174318
      Jason Merrill committed
    • re PR c++/47956 ([C++0x] gcc accepts static data member declaration with… · 7c999b57
      re PR c++/47956 ([C++0x] gcc accepts static data member declaration with initializer for non-const literal type if type-specifier is auto)
      
      	PR c++/47956
      	* decl.c (check_static_variable_definition): Now static.
      	(cp_finish_decl): Call it here.
      	(grokdeclarator): Not here.
      	* pt.c (instantiate_class_template_1): Or here.
      	* cp-tree.h: Don't declare it.
      
      From-SVN: r174317
      Jason Merrill committed
    • Daily bump. · 8fd1dd14
      From-SVN: r174315
      GCC Administrator committed
  2. 26 May, 2011 33 commits