1. 27 Mar, 2001 7 commits
    • 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
  2. 26 Mar, 2001 12 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
    • Daily bump. · 04c5433d
      From-SVN: r40840
      GCC Administrator committed
    • exception.cc (java_eh_info): Make value type jthrowable. · b3208f56
      	* exception.cc (java_eh_info): Make value type jthrowable.
      	(_Jv_type_matcher): Remove now unneeded cast.
      	(_Jv_Throw): Make argument type jthrowable.  Munge name
      	for SJLJ_EXCEPTIONS here ...
      	* gcj/cni.h: ... not here.
      	(JvThrow): Remove.
      	* gcj/javaprims.h (_Jv_Throw, _Jv_Sjlj_Throw): Update declarations.
      
      	* defineclass.cc, interpret.cc, jni.cc, posix-threads.cc,
      	prims.cc, resolve.cc, gnu/gcj/runtime/natFirstThread.cc,
      	gnu/gcj/xlib/natDrawable.cc, gnu/gcj/xlib/natFont.cc,
      	gnu/gcj/xlib/natWMSizeHints.cc, gnu/gcj/xlib/natWindowAttributes.cc,
      	gnu/gcj/xlib/natXImage.cc, java/io/natFile.cc,
      	java/io/natFileDescriptorEcos.cc, java/io/natFileDescriptorPosix.cc,
      	java/io/natFileDescriptorWin32.cc, java/io/natFileWin32.cc,
      	java/lang/natClass.cc, java/lang/natClassLoader.cc,
      	java/lang/natDouble.cc, java/lang/natObject.cc,
      	java/lang/natPosixProcess.cc, java/lang/natRuntime.cc,
      	java/lang/natString.cc, java/lang/natSystem.cc,
      	java/lang/natThread.cc, java/lang/reflect/natArray.cc,
      	java/lang/reflect/natConstructor.cc, java/lang/reflect/natField.cc,
      	java/lang/reflect/natMethod.cc, java/util/zip/natDeflater.cc,
      	java/util/zip/natInflater.cc:
      	Use throw, not JvThrow or _Jv_Throw.
      
      From-SVN: r40838
      Richard Henderson committed
    • * toplev.c (set_float_handler): Use memcpy, not bcopy. · 56b89084
      From-SVN: r40837
      Kaveh R. Ghazi committed
    • constants.c (PUTN): Use memcpy, not bcopy. · cb9b7a8c
      	* constants.c (PUTN): Use memcpy, not bcopy.
      
      	* lex.c (java_read_char): Use memmove, not bcopy.
      
      	* parse.y (java_parser_context_resume): Use memcpy, not bcopy.
      
      From-SVN: r40836
      Kaveh R. Ghazi committed
    • class.c (add_method): Use memcpy/memmove, not bcopy. · 730e1556
      	* class.c (add_method): Use memcpy/memmove, not bcopy.
      
      	* decl.c (duplicate_decls): Likewise.
      
      From-SVN: r40835
      Kaveh R. Ghazi committed
  3. 25 Mar, 2001 9 commits
    • * gcc.c-torture/execute/20010325-1.c: New test. · eb40d6b9
      From-SVN: r40831
      Joseph Myers committed
    • h8300.md (umodqi3): Output a tab instead of a space. · 273c3244
      2001-03-25  Kazu Hirata  <kazu@hxi.com>
      
      	* config/h8300/h8300.md (umodqi3): Output a tab instead of a
      	space.
      	(modqi3): Likewise.
      	(umodhi3): Likewise.
      	(modhi3): Likewise.
      
      From-SVN: r40830
      Kazu Hirata committed
    • mkconfig.sh (DEFINES): Handle entries with '='. · d2a2648c
      	* mkconfig.sh (DEFINES): Handle entries with '='.
      
      	* config.gcc: Don't use i370/xm-mvs.h or ns32k/xm-pc532-min.h.
      	Set xm_defines to MACRO=value instead.
      
      	* i370/xm-mvs.h: Delete.
      
      	* ns32k/xm-pc532-min.h: Likewise.
      
      From-SVN: r40828
      Kaveh R. Ghazi committed
    • i386.md (ashldi3, [...]): Change predicates to shiftdi_operand; use ix86_expand_binary_operator · 371bc54b
      	* i386.md (ashldi3, ashrdi3, lshrdi3): Change predicates to
      	shiftdi_operand;
      	use ix86_expand_binary_operator
      	(?sh??i_?): Disable for 64bit.
      	* i386.h (PREDICATE_CODES): Add shiftdi_operand.
      	* i386.c (shiftdi_operand): New predicate.
      
      	* (ashldi3_1_rex64, ashldi3_cmp_rex64, ashlsi3_1_zext, ashlsi3_cmp_zext,
      	ashrdi3_63_rex64, ashrdi3_1_one_bit_rex64, ashrdi3_1_rex64,
      	ashrdi3_one_bit_cmp_rex64, ashrdi3_cmp_rex64, ashrsi3_31_zext,
      	ashrsi3_1_one_bit_zext, ashrsi3_1_zext, ashrsi3_one_bit_cmp_zext,
      	ashrsi3_cmp_zext, lshrdi3_1_one_bit_rex64, lshrdi3_1_rex64,
      	lshrdi3_cmp_one_bit_rex64, lshrdi3_cmp_rex64, lshrsi3_1_one_bit_zext,
      	lshrsi3_1_zext, lshrsi3_cmp_one_bit_zext, lshrsi3_cmp_zext,
      	rotlsi3_1_one_bit_rex64, rotldi3_1_rex64,
      	rotlsi3_1_one_bit_zext, rotlsi3_1_zext, rotrdi3_1_one_bit_rex64,
      	rotrdi3_1_rex64, rotrsi3_1_one_bit_zext, rotrsi3_1_zext): New patterns.
      	(rotldi3, rotrdi3): New expanders.
      
      From-SVN: r40827
      Jan Hubicka committed
    • i386.md (movstrsi): Move offline. · 0945b39d
      	* i386.md (movstrsi): Move offline.
      	(movstrdi): New.
      	(strmovdi_rex64): New.
      	(strmov?i): Accept 64bit.
      	(strmov?i_rex64): New.
      	(strmov?i_rex_1): New.
      	(strmov?i_1): Disable for 64bit.
      	(rep_mov?i_rex64): New.
      	(rep_mov?i): Disable for 64bit.
      	(clrstrsi): Move offline.
      	(strset?i_rex64): New.
      	(strset?i: Accept 64bit.
      	(rep_stos?i): Disable for 64bit.
      	(rep_stos?i_rex64): New.
      	(strset?i_rex_1): New.
      	(strset?i_1): Disable for 64bit.
      	(cmpstrsi): Accept 64bit.
      	(cmpstrsi_nz_1): Rename to cmpstrqi_nz_1; Disable for 64bit.
      	(cmpstrqi_nz_rex_1): New.
      	(cmpstrsi_1): Rename to cmpstrqi_1; Disable for 64bit.
      	(strlensi): Move offline.
      	(strlendi): New.
      	(strlenqi_1): Disable for 64bit; fix constraints.
      	(strlenqi_rex_1): New.
      	* i386.c (ix86_adjust_counter): New static function.
      	(ix86_zero_extend_to_Pmode): Likewise.
      	(ix86_expand_aligntest): Likweise.
      	(ix86_expand_strlensi_unroll_1): Make static; update for 64bit.
      	(ix86_expand_movstr): New global function.
      	(ix86_expand_clrstr): New global function.
      	(ix86_expand_strlen): New global function.
      	* i386-protos.h (ix86_expand_movstr, ix86_expand_clrstr,
      	ix86_expand_strlen): Declare.
      	(ix86_expand_strlensi_unroll_1): Delete.
      
      From-SVN: r40826
      Jan Hubicka committed
    • Daily bump. · 392f8d40
      From-SVN: r40824
      GCC Administrator committed
    • Makefile.am: New targets, doxygen and doxygen-maint. · e03f70b3
      2001-03-24  Phil Edwards  <pme@sources.redhat.com>
      
      	* Makefile.am:  New targets, doxygen and doxygen-maint.
      	* Makefile.in:  Regenerated.
      	* docs/doxygen/run_doxygen:  Finally implemented.
      	* docs/doxygen/maint.cfg.in:  New file.
      	* docs/doxygen/user.cfg.in:  New file.
      
      From-SVN: r40823
      Phil Edwards committed
    • acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment. · c21b6f87
      2001-03-24  Phil Edwards  <pme@sources.redhat.com>
      
      	* acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES):  Update comment.
      	* src/Makefile.am:  Replace leading spaces with tabs on continuation
      	lines.
      	* aclocal.m4:  Regenerated.
      	* configure:  Ditto.
      	* Makefile.in:  Ditto.
      	* src/Makefile.in:  Ditto.
      	* libio/Makefile.in:  Ditto.
      	* libmath/Makefile.in:  Ditto.
      	* libsupc++/Makefile.in:  Ditto.
      
      From-SVN: r40822
      Phil Edwards committed
    • howto.html: HTML fixup. · 537286a2
      2001-03-24  Phil Edwards  <pme@sources.redhat.com>
      
      	* docs/html/19_diagnostics/howto.html:  HTML fixup.  Describe
      	concept-checking code and current status of same.
      	* docs/html/ext/howto.html:  Ditto.
      	* docs/html/faq/index.html:  Ditto.
      	* docs/html/faq/index.txt:  Regenerated.
      
      From-SVN: r40821
      Phil Edwards committed
  4. 24 Mar, 2001 12 commits