1. 11 Sep, 2004 24 commits
  2. 10 Sep, 2004 16 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
    • decl.c (objc_get_current_scope, [...]): New functions, to be called from ObjC++. · 80aa8340
      [gcc/cp/ChangeLog]
      2004-09-10  Ziemowit Laski  <zlaski@apple.com>
      
              * decl.c (objc_get_current_scope, objc_mark_locals_volatile):
              New functions, to be called from ObjC++.
      
      From-SVN: r87321
      Ziemowit Laski committed
    • dbxout.c (dbxout_block): Update for current_function_func_begin_label a string. · 375d2edc
      	* dbxout.c (dbxout_block): Update for
      	current_function_func_begin_label a string.
      	* dwarf2out.c (dwarf2out_begin_prologue): Likewise.
      	* except.c (dw2_output_call_site_table): Likewise.
      	* toplev.c (current_function_func_begin_label): Likewise.
      	* tree.h (current_function_func_begin_label): Likewise.
      	* config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Likewise.
      
      From-SVN: r87317
      Geoffrey Keating committed
    • final.c (output_asm_insn): Use strtoul instead of atoi, save a loop. · c383c15f
      	* final.c (output_asm_insn): Use strtoul instead of atoi, save a
      	loop.
      
      From-SVN: r87316
      Geoffrey Keating committed
    • darwin.c: Include target.h. · 1adaa117
      	* config/darwin.c: Include target.h.
      	(struct machopic_indirection): Make ptr_name a string.
      	(machopic_indirection_hash): Update for ptr_name a string.
      	(machopic_indirection_eq): Likewise.
      	(machopic_indirection_name): Likewise.
      	(machopic_output_indirection): Likewise.
      	(machopic_validate_stub_or_non_lazy_ptr): Update for ptr_name a
      	string.  Don't expect stub names to be in the identifier hash table.
      	Do call strip_name_encoding before looking up entry in ID hash table.
      	* config/t-darwin (darwin.o): Add target.h to dependencies.
      
      From-SVN: r87315
      Geoffrey Keating committed
    • rs6000.c (print_operand): Use fputs instead of fprintf for register names. · fb5c67a7
      	* gcc/config/rs6000/rs6000.c (print_operand): Use fputs instead
      	of fprintf for register names.
      
      From-SVN: r87314
      Geoffrey Keating committed
    • output.h (unlikely_section_label): Delete declaration. · 5f11bc8b
      	* output.h (unlikely_section_label): Delete declaration.
      	(unlikely_text_section_name): Likewise.
      	* varasm.c (unlikely_section_label_printed): Make static.
      	(unlikely_section_label): Likewise.
      	(unlikely_text_section_name): Likewise.
      
      From-SVN: r87313
      Geoffrey Keating committed
    • * rtl.def (REG): Add comment to describe third field. · 18b3a02a
      From-SVN: r87312
      Geoffrey Keating committed
    • FIx whitespace typo. · 5b14d144
      From-SVN: r87310
      DJ Delorie committed
    • darwin.c (machopic_mcount_stub_name): Call machopic_indirection_name instead of… · 76f60aa5
      darwin.c (machopic_mcount_stub_name): Call machopic_indirection_name instead of making the string ourselves.
      
      2004-09-10  Andrew Pinski  <apinski@apple.com>
      
              * config/darwin.c (machopic_mcount_stub_name): Call
              machopic_indirection_name instead of making the string
              ourselves.
      
      From-SVN: r87309
      Andrew Pinski committed
    • Revert · e30b0ae2
      	2004-09-08  Jie Zhang  <zhangjie@magima.com.cn>
      
      	    * tree-ssa-alias.c (compute_flow_insensitive_aliasing): If type
      	    memory tag is call clobbered, so are its aliases.
      	    (group_aliases): When two memory tags being grouped, if one is
      	    call clobbered, so are the other and its aliases.
      	    (add_may_alias): Remove call-clobbering stuff.
      	    (replace_may_alias): Likewise.
      	    (merge_pointed_to_info): Merge pt_global_mem
      
      From-SVN: r87306
      Diego Novillo committed
    • bb-reorder.c, [...]: Fix comment typos. · 89dbed81
      	* bb-reorder.c, c-common.c, c-incpath.c, c-typeck.c,
      	genrecog.c, lambda-code.c, mips-tdump.c, mips-tfile.c,
      	passes.c, tree-data-ref.c, tree-data-ref.h, tree-mudflap.c,
      	tree-scalar-evolution.c, tree-ssa-copyrename.c,
      	tree-ssa-live.c, tree-ssa-live.h: Fix comment typos.
      
      From-SVN: r87302
      Kazu Hirata committed