1. 11 Sep, 2004 35 commits
  2. 10 Sep, 2004 5 commits
    • c-common.h (struct c_fileinfo): Comment moved here from cp-tree.h. · 5d709b00
      	* c-common.h (struct c_fileinfo): Comment moved here from cp-tree.h.
      	(extract_interface_info): Delete prototype.
      	* c-decl.c (extract_interface_info): Delete stub.
      	* c-lex.c (get_fileinfo): Initialize file_info_tree here, if
      	it's not already been done ...
      	(init_c_lex): ... not here.
      	(fe_file_change): Don't call extract_interface_info.
      cp:
      	* cp-tree.h (interface_only, interface_unknown): Delete declarations;
      	comment explaining them moved to c-common.h.
      	* lex.c (interface_only, interface_unknown, extract_interface_info):
      	Delete definitions.
      	(cxx_finish): Don't reset interface_unknown.
      	(handle_pragma_interface): Don't set interface_only and
      	interface_unknown; just the like-named fields in finfo.
      	(handle_pragma_implementation): Adjust comment.
      	* decl2.c (cp_finish_file): Don't reset interface_only and
      	interface_unknown.
      	* method.c (synthesize_method): Don't reset interface_unknown or
      	call extract_interface_info.
      	* pt.c (pop_tinst_level): Don't call extract_interface_info.
      	* decl.c (start_cleanup_fn): Don't save or restore interface_only
      	and interface_unknown.
      	(make_rtl_for_nonlocal_decl): Call get_fileinfo on input_filename
      	and use the result instead of the interface_only/interface_unknown
      	globals.
      	(start_preparsed_function): Likewise.
      	* lex.c (cxx_make_type): Likewise.
      	* semantics.c (begin_class_definition): Likewise.
      	(expand_body): Don't call extract_interface_info.
      
      From-SVN: r87329
      Zack Weinberg committed
    • c-tree.h (struct c_declspecs): Remove typedef_decl. · 616aeba2
      	* c-tree.h (struct c_declspecs): Remove typedef_decl.  Add
      	typedef_p and typedef_signed_p.
      	* c-decl.c (shadow_tag_warned): Check typedef_p, not typedef_decl.
      	(grokdeclarator): Don't use typedef_decl for warn_deprecated_use.
      	Check typedef_p and typedef_signed_p, not typedef_decl.
      	(grokfield): Check typedef_p, not typedef_decl.
      	(build_null_declspecs): Initialize typedef_p and typedef_signed_p,
      	not typedef_decl.
      	(declspecs_add_type): Set typedef_p and typedef_signed_p, not
      	typedef_decl.
      
      testsuite:
      	* gcc.dg/bitfld-9.c: New test.
      
      From-SVN: r87326
      Joseph Myers committed
    • * doc/tm.texi, doc/tree-ssa.texi: Fix typos. · a8508d51
      From-SVN: r87324
      Kazu Hirata committed
    • decl.c (objc_mark_locals_volatile): Make description of routine more descriptive... · f749f3c2
      [gcc/cp/ChangeLog]
      2004-09-10  Ziemowit Laski  <zlaski@apple.com>
      
              * decl.c (objc_mark_locals_volatile): Make description of
              routine more descriptive; only mark VAR_DECLs at each
              binding level.
      
      From-SVN: r87323
      Ziemowit Laski committed
    • re PR c++/17386 (libstdc++ iostreams miscompilation) · 981c353e
              PR c++/17386
              * call.c (build_vfield_ref): Move...
              * class.c (build_vfield_ref): ... here.  Convert datum to the
              primary base containing the vptr.
              (make_new_vtable): Simplify build_primary_vtable arguments.
              (finish_struct_1): Do not duplicate TYPE_VFIELD.
              * typeck.c (build_class_member_access_expr): Don't warn for
              null object access to base fields.
      
      From-SVN: r87322
      Richard Henderson committed