1. 27 Nov, 2004 26 commits
  2. 26 Nov, 2004 14 commits
    • badalloc1.C: Robustify. · 3de87817
      2004-11-26  Mark Mitchell  <mark@codesourcery.com>
      
      	* g++.old-deja/g++.eh/badalloc1.C: Robustify.
      
      From-SVN: r91352
      Mark Mitchell committed
    • inclhack.def (gnu_types): Do not use on Solaris 2.1x. · 9fcc7481
      2004-11-26  Mark Mitchell  <mark@codesourcery.com>
      
      	* inclhack.def (gnu_types): Do not use on Solaris 2.1x.
      	(stdio_va_list): Likewise.
      	(stdio_stdarg.h): Likewise.
      	(solaris_stdio_tag): Add bypass.
      	* fixincl.x: Regenerated.
      
      From-SVN: r91351
      Mark Mitchell committed
    • Changes for k*bsd-gnu support. · 44379973
      	* config/i386/linux.h: Define REG_NAME to allow overriding of
      	register names in sc structure.
      	* config/i386/linux-unwind.h: Refer to sc->REG_NAME(reg) instead
      	of sc->reg.
      	* config.gcc: Detect x86_64-k*bsd-gnu systems.
      
      From-SVN: r91350
      Robert Millan committed
    • DR 243. · 75a25e3f
      2004-11-26  Paolo Carlini  <pcarlini@suse.de>
      
      	DR 243. get and getline when sentry reports failure [WP]
      	* include/bits/istream.tcc (istream<>::get, istream<>::getline):
      	Store a null character only if the array has a non-zero size.
      	* src/istream.cc (istream<char>::getline, istream<wchar_t>::getline):
      	Likewise.
      	* testsuite/27_io/basic_istream/get/char/3.cc: New.
      	* testsuite/27_io/basic_istream/getline/char/6.cc: New.
      	* testsuite/27_io/basic_istream/getline/wchar_t/6.cc: New.
      	* docs/html/ext/howto.html: Add an entry for DR 243.
      
      	* testsuite/27_io/basic_istream/getline/wchar_t/1.cc: New.
      	* testsuite/27_io/basic_istream/getline/wchar_t/2.cc: New.
      	* testsuite/27_io/basic_istream/getline/wchar_t/3.cc: New.
      	* testsuite/27_io/basic_istream/getline/wchar_t/4.cc: New.
      	* testsuite/27_io/basic_istream/getline/wchar_t/5.cc: New.
      
      From-SVN: r91348
      Paolo Carlini committed
    • tree-ssa.c (verify_flow_sensitive_alias_info): Don't retrieve annotations or… · b5c3569b
      tree-ssa.c (verify_flow_sensitive_alias_info): Don't retrieve annotations or pointer info before it's necessary.
      
              * tree-ssa.c (verify_flow_sensitive_alias_info): Don't
              retrieve annotations or pointer info before it's necessary.
              Reorder tests for early continue of the loop.  Manually CSE
              SSA_NAME_VAR.
      
      From-SVN: r91347
      Jeff Law committed
    • target.h (struct gcc_target): New field 'dwarf_handle_frame_unspec'. · e54c7471
      	* target.h (struct gcc_target): New field 'dwarf_handle_frame_unspec'.
      	* target_def.h (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Define to 0.
      	(TARGET_INITIALIZER): Add TARGET_DWARF_HANDLE_FRAME_UNSPEC.
      	* dwarf2out.c (dwarf2out_frame_debug_expr): Allow REG->REG move
      	to a fixed reg if the source is the Return Address register.
      	Implement new Rule 15.
      	* doc/tm.texi (Frame Layout): Document TARGET_DWARF_HANDLE_FRAME_UNSPEC.
      	* config/sparc/sparc.c (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Define to
      	sparc_dwarf_handle_frame_unspec.
      	(gen_save_register_window): New function.
      	(emit_stack_pointer_increment): Rename into gen_stack_pointer_inc.
      	(emit_stack_pointer_decrement): Rename into gen_stack_pointer_dec.
      	(expand_prologue): Adjust calls to emit_stack_pointer_{in,de}crement.
      	Set RTX_FRAME_RELATED_P on the appropriate insns and members of insns.
      	(sparc_asm_function_prologue): Do not emit call frame debugging info.
      	(emit_and_preserve): Adjust calls to emit_stack_pointer_{in,de}crement.
      	(sparc_expand_epilogue): Likewise.
      	(sparc_dwarf_handle_frame_unspec): New function.
      	* config/sparc/sparc.md (save_register_window): Remove.
      	(save_register_windowdi): Rewrite modelled on the callframe debug info.
      	(save_register_windowsi): Likewise.
      
      From-SVN: r91346
      Eric Botcazou committed
    • frv-protos.h: Guard ifcvt functions declarations with BB_HEAD, not BLOCK_HEAD. · 077094ac
      * config/frv/frv-protos.h: Guard ifcvt functions declarations with
      BB_HEAD, not BLOCK_HEAD.
      
      From-SVN: r91345
      Alexandre Oliva committed
    • frv.c (frv_ifcvt_modify_insn): Don't leave alone scratch insns that set a… · 9a228f09
      frv.c (frv_ifcvt_modify_insn): Don't leave alone scratch insns that set a register live at the join point.
      
      * config/frv/frv.c (frv_ifcvt_modify_insn): Don't leave alone
      scratch insns that set a register live at the join point.
      
      From-SVN: r91344
      Alexandre Oliva committed
    • re PR java/18305 (Class initialization optimization is not done when compiled from .class) · 532815a7
      2004-11-26  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR java/18305
              * decl.c (end_java_method): Call
              attach_init_test_initialization_flags on all the init_decls.
              * parse.y (attach_init_test_initialization_flags): Move to ...
              * expr.c (attach_init_test_initialization_flags): here and
              support BIND_EXPR also.
              * java-tree.h (attach_init_test_initialization_flags): Prototype.
              * jcf-parse.c (parse_class_file): Don't disable class init
              optimization.
      
      From-SVN: r91343
      Andrew Pinski committed
    • Friend class name lookup 4/n · e57df6fe
      	Friend class name lookup 4/n
      	* class.c (pushclass): Don't call cxx_remember_type_decls.
      	* cp-tree.h (clear_anon_tags): Remove declaration.
      	* decl.c (grokdeclarator): Don't call lookup_tag_reverse.
      	* name-lookup.c (binding_entry_free, binding_table_free): Comment
      	out functions.
      	(binding_table_find_anon_type, binding_table_reverse_maybe_remap,
      	binding_table_remove_anonymous_types, cxx_remember_type_decls,
      	bt_print_entry, clear_anon_tags, follow_tag_typedef, lookup_tag,
      	lookup_tag_reverse): Remove
      	(begin_scope, leave_scope, kept_level_p, print_binding_level):
      	Don't use type_decls field in cp_binding_level.
      	(maybe_process_template_type_declaration, pushtag): Set
      	CLASSTYPE_NESTED_UTDS directly.
      	* name-lookup.h (binding_table_remove_anonymous_types,
      	cxx_remember_type_decls, lookup_tag, lookup_tag_reverse): Remove
      	declaration.
      	(cp_binding_level): Remove type_decls field.
      
      From-SVN: r91342
      Kriang Lerdsuwanakij committed
    • * tree-cfg.c (tree_split_edge): Speed up by using find_edge. · 7510740d
      From-SVN: r91341
      Kazu Hirata committed
    • * typeck.c: Fix a comment typo. · 276318a5
      From-SVN: r91340
      Kazu Hirata committed
    • * cse.c, tree-ssa-operands.c: Fix comment typos. · 6668f6a7
      From-SVN: r91339
      Kazu Hirata committed