1. 22 Oct, 2003 19 commits
  2. 21 Oct, 2003 21 commits
    • re PR java/12586 (gnu.java.net name mangling bug) · ed2506a4
              Fix for PR java/12586.
              * mangle.c (find_compression_record_match): Don't iterate through
              package namespace elements unless they all match compression_table
              entries.
      
      From-SVN: r72779
      Bryce McKinlay committed
    • Make-lang.in (parse.o): Honor $(parsedir). · 890c2f2b
      	* Make-lang.in (parse.o): Honor $(parsedir).
      	(lex.o): Likewise.
      	(lex.c): Likewise
      	(parse.c, parse.h): Likewise.
      	($(docobjdir)/treelang.info): Replace $(srcdir)/doc with $(docdir).
      	(dvi): Likewise.
      
      From-SVN: r72778
      Kelley Cook committed
    • Check that asm specs are handled correctly in structure and class field declarations. · c599a7af
      Correct behavior is that these are permitted on static fields (because only one
      instance exists) and are not permitted on non-static fields.  In the case of
      static fields, check to make sure the assembler output shows the aliased name
      somewhere.
      
      From-SVN: r72777
      Robert Bowdidge committed
    • Make-lang.in (f/g77.1): Honor $(docobjdir). · e3939998
      	* Make-lang.in (f/g77.1): Honor $(docobjdir).
      	($(docobjdir)/g77.info): Replace $(srcdir)/doc with $(docdir).
      	(f/g77.dvi): Likewise.
      
      From-SVN: r72776
      Kelley Cook committed
    • decl.c (cp_finish_decl): Remove clause intended for asm directives in struct or class fields... · 437081d7
      
      
      * cp/decl.c (cp_finish_decl): Remove clause intended for asm
        directives in struct or class fields: this code is never executed.
      
      From-SVN: r72775
      Robert Bowdidge committed
    • c-pch.c: Add comments in various places. · 7451756f
      	* c-pch.c: Add comments in various places.
      	(struct c_pch_validity): Add the lengths of various strings.
      	(host_machine): New static.
      	(target_machine): New static.
      	(get_ident): Bump version number.
      	(pch_init): Write out version, host, target validity data.
      	(c_common_valid_pch): Check version, host, target.
      	* Makefile.in (c-pch.o): Add version.h; define HOST_MACHINE and
      	TARGET_MACHINE.
      
      From-SVN: r72774
      Geoffrey Keating committed
    • tree.h (IS_EXPR_CODE_CLASS): Use strchr. · c25d44dd
              * tree.h (IS_EXPR_CODE_CLASS): Use strchr.
              (EXPR_P): New macro.
      
      From-SVN: r72773
      Jason Merrill committed
    • ia64.md (cmpxchg_acq_si): Mark operand 3 as DImode. · 5634cf72
      	* config/ia64/ia64.md (cmpxchg_acq_si): Mark operand 3 as DImode.
      	* config/ia64/ia64.c (ia64_expand_fetch_and_op,
      	ia64_expand_op_and_fetch): Make sure the REG for ar.ccv is
      	DImode.   Use convert_move to load ar.ccv.
      	(ia64_expand_compare_and_swap): Likewise.
      	If expand_expr doesn't put 'old' and 'new' in the proper
      	modes, run them through convert_to_mode.
      
      From-SVN: r72770
      Zack Weinberg committed
    • frv.c (frv_adjust_field_align): Check DECL_ARTIFICIAL for too large bitfields. · 25f93e18
      2003-10-21  Eric Christopher  <echristo@redhat.com>
      
      	* config/frv/frv.c (frv_adjust_field_align): Check DECL_ARTIFICIAL
      	for too large bitfields.
      
      From-SVN: r72769
      Eric Christopher committed
    • remove unnecessary files. · c860c22c
      From-SVN: r72768
      Andreas Tobler committed
    • commit missing adds. · c5a4ab3a
      From-SVN: r72767
      Andreas Tobler committed
    • [multiple changes] · 1450eb7a
      2003-10-21  Andreas Tobler  <a.tobler@schweiz.ch>
      
      	* configure.in: AC_LINK_FILES(ffitarget.h).
      	* configure: Regenerate.
      	* Makefile.in: Likewise.
      	* include/Makefile.in: Likewise.
      	* testsuite/Makefile.in: Likewise.
      	* fficonfig.h.in: Likewise.
      
      2003-10-21  Paolo Bonzini  <bonzini@gnu.org>
      	    Richard Henderson  <rth@redhat.com>
      
      	Avoid that ffi.h includes fficonfig.h.
      
      	* Makefile.am (EXTRA_DIST): Include ffitarget.h files
      	(TARGET_SRC_MIPS_GCC): Renamed to TARGET_SRC_MIPS_IRIX.
      	(TARGET_SRC_MIPS_SGI): Removed.
      	(MIPS_GCC): Renamed to TARGET_SRC_MIPS_IRIX.
      	(MIPS_SGI): Removed.
      	(CLEANFILES): Removed.
      	(mostlyclean-am, clean-am, mostlyclean-sub, clean-sub): New
      	targets.
      	* acconfig.h: Removed.
      	* configure.in: Compute sizeofs only for double and long double.
      	Use them to define and subst HAVE_LONG_DOUBLE.  Include comments
      	into AC_DEFINE instead of using acconfig.h.  Create
      	include/ffitarget.h instead of include/fficonfig.h.  Rename
      	MIPS_GCC to MIPS_IRIX, drop MIPS_SGI since we are in gcc's tree.
      	AC_DEFINE EH_FRAME_FLAGS.
      	* include/Makefile.am (DISTCLEANFILES): New automake macro.
      	(hack_DATA): Add ffitarget.h.
      	* include/ffi.h.in: Remove all system specific definitions.
      	Declare raw API even if it is not installed, why bother?
      	Use limits.h instead of SIZEOF_* to define ffi_type_*.  Do
      	not define EH_FRAME_FLAGS, it is in fficonfig.h now.  Include
      	ffitarget.h instead of fficonfig.h.  Remove ALIGN macro.
      	(UINT_ARG, INT_ARG): Removed, use ffi_arg and ffi_sarg instead.
      	* include/ffi_common.h (bool): Do not define.
      	(ffi_assert): Accept failed assertion.
      	(ffi_type_test): Return void and accept file/line.
      	(FFI_ASSERT): Pass stringized failed assertion.
      	(FFI_ASSERT_AT): New macro.
      	(FFI_ASSERT_VALID_TYPE): New macro.
      	(UINT8, SINT8, UINT16, SINT16, UINT32, SINT32,
      	UINT64, SINT64): Define here with gcc's __attribute__ macro
      	instead of in ffi.h
      	(FLOAT32, ALIGN): Define here instead of in ffi.h
      	* include/ffi-mips.h: Removed.  Its content moved to
      	src/mips/ffitarget.h after separating assembly and C sections.
      	* src/alpha/ffi.c, src/alpha/ffi.c, src/java_raw_api.c
      	src/prep_cif.c, src/raw_api.c, src/ia64/ffi.c,
      	src/mips/ffi.c, src/mips/n32.S, src/mips/o32.S,
      	src/mips/ffitarget.h, src/sparc/ffi.c, src/x86/ffi64.c:
      	SIZEOF_ARG -> FFI_SIZEOF_ARG.
      	* src/ia64/ffi.c: Include stdbool.h (provided by GCC 2.95+).
      	* src/debug.c (ffi_assert): Accept stringized failed assertion.
      	(ffi_type_test): Rewritten.
      	* src/prep-cif.c (initialize_aggregate, ffi_prep_cif): Call
      	FFI_ASSERT_VALID_TYPE.
      	* src/alpha/ffitarget.h, src/arm/ffitarget.h,
      	src/ia64/ffitarget.h, src/m68k/ffitarget.h,
      	src/mips/ffitarget.h, src/powerpc/ffitarget.h,
      	src/s390/ffitarget.h, src/sh/ffitarget.h,
      	src/sh64/ffitarget.h, src/sparc/ffitarget.h,
      	src/x86/ffitarget.h: New files.
      	* src/alpha/osf.S, src/arm/sysv.S, src/ia64/unix.S,
      	src/m68k/sysv.S, src/mips/n32.S, src/mips/o32.S,
      	src/powerpc/aix.S, src/powerpc/darwin.S,
      	src/powerpc/ffi_darwin.c, src/powerpc/linux64.S,
      	src/powerpc/linux64_closure.S, src/powerpc/ppc_closure.S,
      	src/powerpc/sysv.S, src/s390/sysv.S, src/sh/sysv.S,
      	src/sh64/sysv.S, src/sparc/v8.S, src/sparc/v9.S,
      	src/x86/sysv.S, src/x86/unix64.S, src/x86/win32.S:
      	include fficonfig.h
      
      From-SVN: r72766
      Andreas Tobler committed
    • mt_allocator.h: Change include to gthr.h. · 6b5a2662
      
      2003-10-21  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/ext/mt_allocator.h: Change include to gthr.h.
      	* include/ext/rope: Same. Add _Refcount_base definitions.
      	* include/ext/pool_allocator.h: Adjust namespaces.
      	* include/bits/stl_threads.h (_Refcount_base): Move.
      	Put remaining into namespace __gnu_cxx.
      
      From-SVN: r72763
      Benjamin Kosnik committed
    • Fix typo in ChangeLog · c3220510
      From-SVN: r72762
      Mark Mitchell committed
    • * Makefile.in ($(docobjdir)/%.info): Honor BUILD_INFO. · 1f9b3087
      From-SVN: r72761
      Mark Mitchell committed
    • decl.c (start_decl): Exit if push_template_decl returns error_mark_node. · 156fc2bb
      	* decl.c (start_decl): Exit if push_template_decl returns
      	error_mark_node.
      
      From-SVN: r72760
      Kriang Lerdsuwanakij committed
    • varasm.c (output_constructor): Annotate constructor. · bce988a2
      2003-10-21  Andrew Haley  <aph@redhat.com>
      
              * varasm.c (output_constructor): Annotate constructor.
      
      From-SVN: r72759
      Andrew Haley committed
    • Makefile.in ($(DESTDIR)$(infodir)/%.info): Conditionalize chmod on existence of destination file. · 3d56d025
      	* Makefile.in ($(DESTDIR)$(infodir)/%.info): Conditionalize chmod
      	on existence of destination file.
      
      From-SVN: r72758
      Mark Mitchell committed
    • * haifa-sched.c (choose_ready): Initialize index. · 43997658
      From-SVN: r72756
      Jan Hubicka committed
    • * tree.c (build1): Fix off-by-one error. · 064ee155
      From-SVN: r72754
      Jason Merrill committed
    • re PR libstdc++/9858 (Extra virtual functions in ctype<char>) · 82c2e3d4
      
      2003-10-21  Benjamin Kosnik  <bkoz@redhat.com>
      
      	PR libstdc++/9858
      	* include/bits/locale_facets.h (ctype<char>): Remove
      	__ctype_abstract_base.
      	(ctype<char>::do_is): Remove.
      	(ctype<char>::do_scan_is): Remove.
      	* src/ctype.cc: Same. Inline the rest.
      	* testsuite/22_locale/ctype/is/char/9858.cc: New.
      	* config/os/aix/ctype_noninline.h: Adjust ctor.
      	* config/os/bsd/freebsd/ctype_noninline.h: Same.
      	* config/os/bsd/netbsd/ctype_noninline.h: Same.
      	* config/os/djgpp/ctype_noninline.h: Same.
      	* config/os/generic/ctype_noninline.h: Same.
      	* config/os/gnu-linux/ctype_noninline.h: Same.
      	* config/os/hpux/ctype_noninline.h: Same.
      	* config/os/irix/irix5.2/ctype_noninline.h: Same.
      	* config/os/irix/irix6.5/ctype_noninline.h: Same.
      	* config/os/mingw32/ctype_noninline.h: Same.
      	* config/os/newlib/ctype_noninline.h: Same.
      	* config/os/qnx/qnx6.1/ctype_noninline.h: Same.
      	* config/os/solaris/solaris2.5/ctype_noninline.h: Same.
      	* config/os/solaris/solaris2.6/ctype_noninline.h: Same.
      	* config/os/solaris/solaris2.7/ctype_noninline.h: Same.
      	* config/os/windiss/ctype_noninline.h: Same.
      
      From-SVN: r72753
      Benjamin Kosnik committed