1. 28 Mar, 2001 16 commits
  2. 27 Mar, 2001 17 commits
    • Fix ia64-linux kernel miscompile, bad unwind info when reorder epilogue block. · ad0fc698
      	* final.c (final_scan_insn, case NOTE_INSN_BASIC_BLOCK): Call
      	IA64_UNWIND_EMIT.
      	* config/ia64/ia64.c (block_num, need_copy_state): New static vars.
      	(process_epilogue): New static function.
      	(process_set): Call process_epilogue instead of emitting .restore
      	directly.
      	(process_for_unwind_directive): Handle NOTE_INSN_BASIC_BLOCK.
      
      From-SVN: r40885
      Jim Wilson committed
    • Makefile.in (SYSTEM_H): Define. · 911e6107
      	* Makefile.in (SYSTEM_H): Define.
      	Depend on $(SYSTEM_H), not system.h.
      
      	* objc/Make-lang.in: Depend on $(SYSTEM_H), not system.h.
      
      cp:
      	* Make-lang.in: Depend on $(SYSTEM_H), not system.h.
      
      f:
      	* Make-lang.in: Depend on $(SYSTEM_H), not system.h.
      
      java:
      	* Make-lang.in: Depend on $(SYSTEM_H), not system.h.
      
      From-SVN: r40883
      Kaveh R. Ghazi committed
    • Fix ia64-linux ICE on bash. · 685af3af
      	* flow.c (struct reg_cond_life_info): New fields orig_condition
      	and stores.
      	(init_propagate_block_info): Set new fields.
      	(mark_regno_cond_dead): Set and use new fields.
      	(flush_reg_cond_reg_1): Likewise.
      	(and_reg_cond, case AND): Check for redundant AND conditions.
      	(mark_used_reg): Delete unnecessary clears before freeing splay trees.
      	Set new fields.
      
      From-SVN: r40881
      Jim Wilson committed
    • * cppmacro.c (stringify_arg): Null terminate strings. · b044e9d5
      From-SVN: r40880
      Neil Booth committed
    • config.gcc (m68hc11-*-*, [...]): Convert to new tm.h inclusion style. · 0b29309a
      	* config.gcc (m68hc11-*-*, m68hc12-*-*): Convert to new tm.h
      	inclusion style.  xm-m68hc11.h no longer exists.
      	* config/m68hc11/xm-m68hc11.h: Delete file.
      	* config/m68hc11/m68hc12.h: Convert to new tm.h inclusion style.
      
      	* config/m68hc11/m68hc11.h: Convert to new tm.h inclusion style.
      	Don't define GCC_VERSION, N_, or PARAMS; don't include
      	gansidecl.h or stdio.h.  Define inhibit_libc here.
      	Make code conditioned on #if GCC_VERSION > 2095 unconditional.
      	Delete code conditioned on #if GCC_VERSION == 2095.
      
      	* config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
      	Make code conditioned on #if GCC_VERSION > 2095 unconditional.
      	Delete code conditioned on #if GCC_VERSION == 2095.
      
      From-SVN: r40878
      Zack Weinberg committed
    • c++config (_STL_USE_CONCEPT_CHECKS): Disable by default. · ec0104b3
      
      2001-03-27  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
      
      From-SVN: r40877
      Benjamin Kosnik committed
    • tests_flags.in: Change the order of libstdc++ and libc · 6fd7b97d
      k
      
      2001-03-26  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>
      
              * libstdc++-v3/tests_flags.in: Change the order of libstdc++
                and libc
      
      From-SVN: r40876
      Peter Schmid committed
    • system.h: Include symcat.h. · 4bc5fbd4
      	* system.h: Include symcat.h.
      	(STRINGIFY): Don't define.
      
      	* configure.in: Adjust comment.
      
      	* builtins.c: Use STRINGX, not STRINGIFY.
      	* gencheck.c: Likewise.
      	* gengenrtl.c: Likewise.
      	* protoize.c: Likewise.
      
      	* cpplex.c: Don't include symcat.h.
      	* cpplib.c: Likewise.
      
      	* gansidecl.h (HAVE_STRINGIZE): Don't define.
      
      From-SVN: r40875
      Kaveh R. Ghazi committed
    • Daily bump. · 313e46b9
      From-SVN: r40872
      GCC Administrator committed
    • * c-typeck.c (digest_init): Fold init expression. · b13aca19
      From-SVN: r40867
      Alan Modra committed
    • dump.c (dump_access): New function. · 005a5cb0
      	* dump.c (dump_access): New function.
      	(cp_dump_tree): Use it.  Dump basetype information for class
      	types.
      
      Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
      
      From-SVN: r40866
      Mike Yang committed
    • basic_file.h (get_fileno): Remove. · 5fa9abc3
      
      2001-03-26  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/bits/basic_file.h (get_fileno): Remove.
      	(_M_fileno): Remove.
      	(_M_cfile_created): Add.
      	(basic_file::basic_file(__c_file_type*, openmode): Add.
      	(basic_file::basic_file(int, const char*, openmode): Remove.
      	* include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
      	const char*, ios_base::openmode): Don't allocate
      	internal buffers. Turn off internal buffers.
      	(basic_filebuf::overflow): Remove test for null buffer.
      	(basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
      	* include/bits/streambuf.cc: Tweak.
      	* include/bits/std_ostream.h: Tweak.
      	* config/basic_file_libio.h: Same.
      	* config/basic_file_stdio.h: Same.
      	* src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
      	* testsuite/27_io/filebuf_members.cc: Tweaks.
      	* testsuite/27_io/ios_base_members_static.cc: Tweaks.
      
      From-SVN: r40863
      Benjamin Kosnik committed
    • * sbitmap.c (sbitmap_copy): Call memcpy, not bcopy. · 7c5b92c4
      From-SVN: r40862
      Kaveh R. Ghazi committed
    • except.c (eh_regs): Save results of build_pointer_type to a temp as FUNCTION_VALUE macro may... · 5b5c2734
      * except.c (eh_regs): Save results of build_pointer_type to a temp
      as FUNCTION_VALUE macro may evaluate its args multiple times.
      
      From-SVN: r40861
      Alan Modra committed
    • configure.in: Added X86_WIN32 target (Win32, CygWin, MingW). · d6c4152a
      2001-03-27  Jon Beniston  <jon@beniston.com>
      
      	* configure.in: Added X86_WIN32 target (Win32, CygWin, MingW).
      	* configure: Rebuilt.
      	* Makefile.am: Added X86_WIN32 target support.
      	* Makefile.in: Rebuilt.
      
      	* include/ffi.h.in: Added X86_WIN32 target support.
      
      	* src/ffitest.c: Doesn't run structure tests for X86_WIN32 targets.
      	* src/types.c: Added X86_WIN32 target support.
      
      	* src/x86/win32.S: New file. Based on sysv.S, but with EH
      	stuff removed and made to work with CygWin's gas.
      
      From-SVN: r40860
      Jon Beniston committed
    • c-common.h (DECL_NUM_STMTS): New macro. · b850de4f
      	* c-common.h (DECL_NUM_STMTS): New macro.
      	* c-decl.c (duplicate_decls): Copy DECL_NUM_STMTS, not
      	DECL_FRAME_SIZE.
      	(pushdecl): Likewise.
      	* c-semantics.c (add_stmt): Update DECL_NUM_STMTS.
      	* integrate.c (expand_inline_function): Don't check
      	DECL_FRAME_SIZE.
      	* print-tree.c (print_node): Don't print it.
      	* toplev.c (rest_of_compilation): Don't try to inline when
      	flag_no_inline is on.
      	* tree.h (DECL_FRAME_SIZE): Remove.
      	(tree_decl): Adjust accordingly.
      
      	* Makefile.in (optimize.o): Depend on params.h.
      	(duplicate_decls): Copy DECL_NUM_STMTS, not DECL_FRAME_SIZE.
      	(init_decl_processing): Set flag_no_inline when doing
      	inlining-on-trees.
      	* optimize.c: Include params.h.
      	(struct inline_data): Improve documentation of FNS.  Add
      	FIRST_INLINED_FN, INLINED_STMTS, and CLONING_P.
      	(INSNS_PER_STMT): New macro.
      	(remap_block): Use CLONING_P.
      	(inlinable_function_p): Don't inline big functions.
      	(expand_call_inline): Keep track of how much inlining we've done.
      	(optimize_function): Set FIRST_INLINED_FN.
      	(maybe_clone_body): Set CLONING_P.
      	* semantics.c (simplify_aggr_init_exprs_r): Fix typing problems in
      	tree nodes.
      	(genrtl_finish_function): Clear DECL_DEFER_OUTPUT before calling
      	rest_of_compilation.  Clear DECL_RTL for local variables
      	afterwards.
      	(clear_decl_rtl): New function.
      
      	* com.c (duplicate_decls): Don't copy DECL_FRAME_SIZE.
      
      	* parse.h (DECL_END_SOURCE_LINE): Don't rely on DECL_FRAME_SIZE.
      
      From-SVN: r40859
      Mark Mitchell committed
    • Makefile.am (libffi_files): Use 'find' to pick up libffi libtool objects in subdirectories. · 29bb79cf
      	* Makefile.am (libffi_files): Use 'find' to pick up libffi libtool
      	objects	in subdirectories.
      	* Makefile.in: Rebuilt.
      
      From-SVN: r40857
      Bryce McKinlay committed
  3. 26 Mar, 2001 7 commits
    • error.c: Also undefine 'A' macro used for cp_printers definition. · 711d29df
      2001-03-26  Phil Edwards  <pme@sources.redhat.com>
      
      	* error.c:  Also undefine 'A' macro used for cp_printers definition.
      
      From-SVN: r40854
      Phil Edwards committed
    • configure.in: Make target subdirectory in build dir. · 675cdab3
      	* configure.in: Make target subdirectory in build dir.
      	* Makefile.am: Override suffix based rules to specify correct output
      	subdirectory.
      	* Makefile.in: Rebuilt.
      	* configure: Rebuilt.
      
      From-SVN: r40853
      Bryce McKinlay committed
    • parse.y (find_as_inner_class): Follow current package indications not to… · ce06965e
      parse.y (find_as_inner_class): Follow current package indications not to mistakingly load an unrelated class.
      
      2001-03-26  Alexandre Petit-Bianco  <apbianco@redhat.com>
      
      	* parse.y (find_as_inner_class): Follow current package
      	indications not to mistakingly load an unrelated class.
      
      (http://gcc.gnu.org/ml/gcc-patches/2001-03/msg01712.html)
      
      From-SVN: r40851
      Alexandre Petit-Bianco committed
    • combine.c (try_combine): Use memcpy, not bcopy. · d38a30c9
      	* combine.c (try_combine): Use memcpy, not bcopy.
      
      	* genattrtab.c (expand_units): Likewise.
      
      From-SVN: r40849
      Kaveh R. Ghazi committed
    • i386.md (push mem DI peep2): New. · cc2e591b
      	* i386.md (push mem DI peep2): New.
      	(mov 0, mov -1 peep2): Handle 64bit.
      	(lea to arithmetics peep2): Handle 64bit leas.
      	(rsp arithmetics to push/pop peep2s): New.
      
      	* i386.md (truncdfsf2_3, trunctfsf2_2): Change predicate to memory_operand.
      
      From-SVN: r40847
      Jan Hubicka committed
    • i386.c (struct machine_function): Add save_varrargs_registers. · 8362f420
      	* i386.c (struct machine_function): Add save_varrargs_registers.
      	(ix86_save_varrargs_registers): New macro.
      	(ix86_frame_layout): Support 64bit; support red zones and varrargs area.
      	(ix86_expand_prologue): Likewise.
      	(ix86_emit_epilogue_esp_adjustement): Likewise.
      	(ix86_expand_epilogue): Likewise.
      	* i386.md (pro_epilogue_adjust_stack): Turn to expander; support 64bit.
      	(pro_epilogue_adjust_stack_1): New insn.
      	(pro_epilogue_adjust_stack_rex64): Likewise.
      	* i386.h (MASK_NO_RED_ZONE): New constant.
      	(TARGET_RED_ZONE): New macro.
      	(TARGET_OPTIONS): Add "red-zone" and "no-red-zone"
      	(RED_ZONE_SIZE): New constant.
      	(RED_ZONE_RESERVE): New constant.
      
      From-SVN: r40846
      Jan Hubicka committed
    • Implement DR 209 · 788bf0e3
      cp:
      	Implement DR 209
      	* cp-tree.h (skip_type_access_control,
      	reset_type_access_control): Prototype.
      	* decl.c (grokdeclarator): Access of friends is not checked.
      	* parse.y (component_decl_list): Reset type access control.
      	* semantics.c (decl_type_access_control): Clear
      	current_type_lookups.
      	(save_type_access_control): Don't save if not deferring.
      	(skip_type_access_control, reset_type_access_control): New
      	functions.
      	(begin_class_definition): Do type access control for basetypes.
      	Start deferred access control.
      	(finish_class_definition): Resume immediate access control if
      	this is a local class.
      testsuite:
      	* g++.old-deja/g++.other/friend12.C: New test.
      	* g++.old-deja/g++.other/friend9.C: Expect no errors.
      	* g++.old-deja/g++.robertl/eb56.C: Make typedef public.
      
      From-SVN: r40841
      Nathan Sidwell committed