1. 10 Oct, 2000 9 commits
  2. 09 Oct, 2000 27 commits
    • Mon Oct 9 23:32:06 MET DST 2000 Jan Hubicka <jh@suse.cz> · 45d640d9
      	* gcc.c-torture/compile/20001009-1.c: Move from here ....
      	* gcc.c-torture/execute/20001009-2.c: ... to here.
      
      From-SVN: r36818
      Jan Hubicka committed
    • Makefile.in (LANG_LIB2FUNCS): Remove. · 1854631b
              * Makefile.in (LANG_LIB2FUNCS): Remove.
              (LIB2FUNCS): Remove _pure.
              (LIB2ADD): Remove LANG_LIB2FUNCS.
              (stage_a): Don't set LANG_LIB2FUNCS.
              * libgcc2.c (__terminate): Mark noreturn.
              (__pure_virtual): Remove.
              * mklibgcc.in: Remove LIB2ADD .txt processing.
      
      From-SVN: r36817
      Richard Henderson committed
    • Make-lang.in (CXX_EXTRA_HEADERS): Remove. · 8dc54971
              * Make-lang.in (CXX_EXTRA_HEADERS): Remove.
              (c++ language support bits for libgcc): Remove.
              (c++.clean): Remove cplib2.txt cleanup.
              * config-lang.in (headers, lib2funcs): Remove.
      
              * exception.cc, new.cc, new1.cc, new2.cc: Remove files.
              * tinfo.cc, tinfo.h, tinfo2.cc, vec.cc: Remove files.
              * inc/cxxabi.h, inc/exception, inc/new: Remove files.
              * inc/new.h, inc/typeinfo: Remove files.
      
      From-SVN: r36816
      Richard Henderson committed
    • pure.cc: New file. · 3734420f
              * libsupc++/pure.cc: New file.
              * libsupc++/Makefile.am (INCLUDES): Add top_builddir.
              (sources): Add pure.cc.
              * libsupc++/Makefile.in: Regenerate.
      
      From-SVN: r36815
      Richard Henderson committed
    • 20001009-1.c: New testcase. · 80c0f62c
      	* gcc.c-torture/compile/20001009-1.c: New testcase.
      	* gcc.c-torture/execute/20001009-1.c: New testcase.
      	Testcases provided by Jan Hubicka <jh@suse.cz>.
      
      From-SVN: r36814
      Geoff Keating committed
    • * arm.md (push_multi): Revert unintended change. · 880c4dcb
      From-SVN: r36813
      Richard Earnshaw committed
    • arm.c: Miscellaneous white space and comment clean-ups. · 5895f793
      * arm.c: Miscellaneous white space and comment clean-ups.  No
      functional change.
      * arm.md: Likewise.
      
      From-SVN: r36812
      Richard Earnshaw committed
    • [multiple changes] · 9121d9b1
      2000-10-09  Alexandre Oliva  <aoliva@redhat.com>
      
      	* configure.in (GCJ): Avoid bogus error message when looking for
      	(and not finding) gcj in the build tree.
      	* configure: Rebuilt.
      
      2000-10-09  Tom Tromey  <tromey@cygnus.com>
      
      	* configure: Rebuilt.
      	* configure.in: Include sys/types.h when checking for socklen_t.
      	From Arno J. Klaassen.
      
      From-SVN: r36811
      Tom Tromey committed
    • c-common.c (c_expand_builtin_printf): Set the TREE_TYPE of a new STRING_CST by… · 1092710d
      c-common.c (c_expand_builtin_printf): Set the TREE_TYPE of a new STRING_CST by calling combine_strings.
      
      	* c-common.c (c_expand_builtin_printf): Set the TREE_TYPE of a new
      	STRING_CST by calling combine_strings.
      
      From-SVN: r36810
      Kaveh R. Ghazi committed
    • arm.c (thumb_expand_movstrqi): Rewrite to support SSA form. · ca356f3a
      * arm.c (thumb_expand_movstrqi): Rewrite to support SSA form.
      (thumb_output_move_mem_multiple): Support new insn format.
      * arm.md (movmem12b): Use SSA compatible format.
      (movmem8b): Likewise.
      
      From-SVN: r36809
      Richard Earnshaw committed
    • arm.md (predicable): New attribute, default to "no". · cca0a211
      * arm.md (predicable): New attribute, default to "no".
      (all patterns): Mark as predicable if appropriate.
      (conditional execution splits): Split using predication format.
      (define_cond_exec): Define.
      * arm.c (arm_print_operand): handle insn predicate.
      
      From-SVN: r36808
      Richard Earnshaw committed
    • README.NS32K: Remove file. · 1146cfde
      	* README.NS32K: Remove file.
      	* README-bugs: Remove file.
      
      From-SVN: r36807
      Gerald Pfeifer committed
    • 0-10-09 Benjamin Kosnik <bkoz@purist.soma.redhat.com> · 3ec840ea
      	* docs/configopts.html: Edit.
      
      	* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
      	* libio/Makefile.in: Regenerate.
      	* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
      	* libmath/Makefile.in: Regenerate.
      	* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
      	* libsupc++/Makefile.in: Regenerate.
      
      	* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
      	TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
      	CSHADOW_INCLUDES up here.
      	* Makefile.in: Regenerate.
      	* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
      	for shadow headers.
      	(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
      	Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
      	LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
      	* src/Makefile.in: Regenerate.
      
      	* include/c: New directory.
      	* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
      	std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
      	std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
      	std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
      	std_cwchar.h, std_cwctype.h): Add, moving from...
      	* include/bits: ...here.
      	* include/c_std: New directory.
      	* include/c_std/bits/*: Populate from...
      	* shadow: ...here. Remove directory.
      
      From-SVN: r36806
      Benjamin Kosnik committed
    • configopts.html: Edit. · 0b8e0cf3
      
      2000-10-10  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
      
      	* docs/configopts.html: Edit.
      
      	* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
      	* libio/Makefile.in: Regenerate.
      	* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
      	* libmath/Makefile.in: Regenerate.
      	* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
      	* libsupc++/Makefile.in: Regenerate.
      
      	* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
      	TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
      	CSHADOW_INCLUDES up here.
      	* Makefile.in: Regenerate.
      	* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
      	for shadow headers.
      	(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
      	Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
      	LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
      	* src/Makefile.in: Regenerate.
      
      	* include/c: New directory.
      	* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
      	std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
      	std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
      	std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
      	std_cwchar.h, std_cwctype.h): Add, moving from...
      	* include/bits: ...here.
      	* include/c_std: New directory.
      	* include/c_std/bits/*: Populate from...
      	* shadow: ...here. Remove directory.
      
      From-SVN: r36805
      Benjamin Kosnik committed
    • configopts.html: Edit. · b5c47c68
      
      
      
      
      
      
      2000-10-10  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
      
      	* docs/configopts.html: Edit.
      
      	* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
      	* libio/Makefile.in: Regenerate.
      	* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
      	* libmath/Makefile.in: Regenerate.
      	* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
      	* libsupc++/Makefile.in: Regenerate.
      
      	* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
      	TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
      	CSHADOW_INCLUDES up here.
      	* Makefile.in: Regenerate.
      	* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
      	for shadow headers.
      	(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
      	Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
      	LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
      	* src/Makefile.in: Regenerate.
      
      	* include/c: New directory.
      	* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
      	std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
      	std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
      	std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
      	std_cwchar.h, std_cwctype.h): Add, moving from...
      	* include/bits: ...here.
      	* include/c_std: New directory.
      	* include/c_std/bits/*: Populate from...
      	* shadow: ...here. Remove directory.
      
      From-SVN: r36804
      Benjamin Kosnik committed
    • configopts.html: Edit. · 40e5dd58
      
      2000-10-10  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
      
      	* docs/configopts.html: Edit.
      
      	* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
      	* libio/Makefile.in: Regenerate.
      	* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
      	* libmath/Makefile.in: Regenerate.
      	* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
      	* libsupc++/Makefile.in: Regenerate.
      
      	* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
      	TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
      	CSHADOW_INCLUDES up here.
      	* Makefile.in: Regenerate.
      	* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
      	for shadow headers.
      	(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
      	Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
      	LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
      	* src/Makefile.in: Regenerate.
      
      	* include/c: New directory.
      	* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
      	std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
      	std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
      	std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
      	std_cwchar.h, std_cwctype.h): Add, moving from...
      	* include/bits: ...here.
      	* include/c_std: New directory.
      	* include/c_std/bits/*: Populate from...
      	* shadow: ...here. Remove directory.
      
      From-SVN: r36803
      Benjamin Kosnik committed
    • configopts.html: Edit. · 22aef514
      
      
      
      
      2000-10-10  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
      
      	* docs/configopts.html: Edit.
      
      	* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
      	* libio/Makefile.in: Regenerate.
      	* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
      	* libmath/Makefile.in: Regenerate.
      	* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
      	* libsupc++/Makefile.in: Regenerate.
      
      	* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
      	TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
      	CSHADOW_INCLUDES up here.
      	* Makefile.in: Regenerate.
      	* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
      	for shadow headers.
      	(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
      	Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
      	LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
      	* src/Makefile.in: Regenerate.
      
      	* include/c: New directory.
      	* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
      	std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
      	std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
      	std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
      	std_cwchar.h, std_cwctype.h): Add, moving from...
      	* include/bits: ...here.
      	* include/c_std: New directory.
      	* include/c_std/bits/*: Populate from...
      	* shadow: ...here. Remove directory.
      
      From-SVN: r36802
      Benjamin Kosnik committed
    • aclocal.m4 (AM_GNU_GETTEXT): Fix non portable use of == operator for test. · 4d0230e1
      2000-10-08  Philipp Thomas  <pthomas@suse.de>
      	* aclocal.m4 (AM_GNU_GETTEXT): Fix non portable use of == operator
      	for test.
      	* configure: Rebuilt.
      
      From-SVN: r36801
      Philipp Thomas committed
    • aclocal.m4 (AM_WITH_NLS): When not using included gettext... · 9fdf713f
      2000-10-08  Philipp Thomas  <pthomas@suse.de>
      	* aclocal.m4 (AM_WITH_NLS): When not using included gettext,
      	disable catalog building if no suitable program was found.
      	Move warning message from here
      	(AM_GNU_GETTEXT): To here.
      	* configure: Rebuilt.
      
      From-SVN: r36800
      Philipp Thomas committed
    • Daily bump. · 58687f2f
      From-SVN: r36799
      Jeff Law committed
    • Makefile.am (INCLUDES): Add toplevel include directory. · 1364053c
      
      2000-10-08   Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
      
      	* libsupc++/Makefile.am (INCLUDES): Add toplevel include directory.
      	(INCLUDES): Add glibcpp_includedir.
      	* libsupc++/Makefile.in: Regenerate.
      
      	* acinclude.m4 (GLIBCPP_CHECK_OS): Link to os_defines.h.
      	* aclocal.m4: Regenerate.
      	* config/os/*/bits/os_defintes: Adjust copyright dates.
      
      From-SVN: r36798
      Benjamin Kosnik committed
    • aclocal.m4 (GCC_PATH_PROG): New. · 00036f5c
      2000-10-08  Philipp Thomas  <pthomas@suse.de>
      	* aclocal.m4 (GCC_PATH_PROG): New. Like AC_PATH_PROG but uses
      	different cache variables.
      	(GCC_PATH_PROG_WITH_TEST): New. Like AM_PATH_PROG_WITH_TEST but
      	uses different cache variables.
      	(AM_WITH_NLS): Use GCC_PATH_PROG and GCC_PATH_PROG_WITH_TEST.
      	* configure: Regenerated.
      
      From-SVN: r36797
      Philipp Thomas committed
    • New test code · f2c43696
      From-SVN: r36796
      Anthony Green committed
    • update · f01c1eb3
      From-SVN: r36795
      Bryce McKinlay committed
    • re GNATS libgcj/341 (Throwable.printStackTrace() isn't working) · 6a3bad7d
      2000-10-09  Bryce McKinlay  <bryce@albatross.co.nz>
      
      	* include/jvm.h: Enable __builtin_expect().
      
      	* name-finder.cc (lookup): Don't trust dladdr() if the address is from
      	the main program. Fix for PR libgcj/341.
      
      From-SVN: r36794
      Bryce McKinlay committed
    • c++config: Include <bits/os_defines.h> · 79b425c6
      2000-10-08  Phil Edwards  <pme@sources.redhat.com>
      
      	* include/bits/c++config:  Include <bits/os_defines.h>
      	* config/os/aix/bits/os_defines.h:  New file.
      	* config/os/bsd/bits/os_defines.h:  Ditto.
      	* config/os/generic/bits/os_defines.h:  Ditto.
      	* config/os/gnu-linux/bits/os_defines.h:  Ditto.
      	* config/os/irix/bits/os_defines.h:  Ditto.
      	* config/os/newlib/bits/os_defines.h:  Ditto.
      	* config/os/solaris/solaris2.5/bits/os_defines.h:  Ditto.
      	* config/os/solaris/solaris2.6/bits/os_defines.h:  Ditto.
      	* config/os/solaris/solaris2.7/bits/os_defines.h:  Ditto.
      
      From-SVN: r36793
      Phil Edwards committed
  3. 08 Oct, 2000 4 commits
    • Makefile.in (libgcc.mk): Pass SHLIB_EXT, not SHLIB_LIBS. · aefa45d3
              * Makefile.in (libgcc.mk): Pass SHLIB_EXT, not SHLIB_LIBS.
              * configure.in (sparc*-*-solaris*): Use t-slibgcc{,-sld}.
              * mklibgcc.in: Consider SHLIB_LINK the entire shlib build command.
              Use SHLIB_EXT.
      
              * config/t-linux (SHLIB_EXT): New.
              (SHLIB_LINK): Use the entire build command, with substitutions.
              (SHLIB_LIBS): Remove.
              * config/alpha/t-osf4: Likewise.
              * config/mips/t-iris6: Likewise.
              * config/sparc/t-sol2: Likewise, but move shlib stuff...
              * config/sparc/t-slibgcc-sld: ...here.
              * config/sparc/t-slibgcc: New file.
      
      From-SVN: r36792
      Richard Henderson committed
    • tm.texi (INTMAX_TYPE, [...]): Define. · b15ad712
      	* tm.texi (INTMAX_TYPE, UINTMAX_TYPE): Define.
      	* c-common.h (enum c_tree_index): Add CTI_INTMAX_TYPE and
      	CTI_UINTMAX_TYPE.
      	(intmax_type_node, uintmax_type_node): Define.
      	* c-common.c (decl_attributes): If pedantic, warn if `mode'
      	attributes create a type wider than intmax_t.
      	(T_IM, T_UIM): Define properly.
      	* c-decl.c (INTMAX_TYPE, UINTMAX_TYPE): Define if not already
      	defined.
      	(init_decl_processing): Initialize intmax_type_node and
      	uintmax_type_node.
      	* c-lex.c (lex_number): When pedantic and warning for integer
      	constants that are too large, in C99 mode warn for those that have
      	a type wider than long long.
      
      cp:
      	* decl.c (INTMAX_TYPE, UINTMAX_TYPE): Define if not already
      	defined.
      	(init_decl_processing): Initialize intmax_type_node and
      	uintmax_type_node.
      
      testsuite:
      	* gcc.dg/c99-printf-1.c, gcc.dg/c99-scanf-1.c,
      	gcc.dg/c90-printf-2.c, gcc.dg/c90-scanf-2.c: Define intmax_t and
      	uintmax_t using <limits.h> to emulate the compiler's internal
      	logic.  No longer XFAIL %j tests.
      
      From-SVN: r36791
      Joseph Myers committed
    • c-common.c (FMT_FLAG_ARG_CONVERT, [...]): Define. · 2588e44e
      	* c-common.c (FMT_FLAG_ARG_CONVERT, FMT_FLAG_SCANF_A_KLUDGE,
      	FMT_FLAG_FANCY_PERCENT_OK): Define.
      	(format_char_info): Add flag "4" to comment.
      	(format_flag_spec, format_flag_pair): New structures.
      	(format_kind_info): Add additional fields to control format
      	checking.
      	(printf_flag_specs, printf_flag_pairs, scanf_flag_specs,
      	scanf_flag_pairs, strftime_flag_specs, strftime_flag_pairs): New
      	arrays.
      	(time_char_table): Use "4" flag to handle %Ey.
      	(format_types): Add entries for new fields.
      	(get_flag_spec): New function.
      	(check_format_info): Increase size of flag_chars[] to 256.
      	Control format checking using the new fields of a format_kind_info
      	and the new tables; remove all conditionals on printf_format_type,
      	scanf_format_type or strftime_format_type.  Handle all details of
      	bad combinations of flags (including width, precision and strftime
      	modifiers) through data rather than ad hoc code.  Handle all
      	details of standard versions in which flags appeared through
      	data.  Use the "4" flag.
      
      testsuite:
      	* gcc.dg/c90-printf-1.c, gcc.dg/c90-scanf-1.c,
      	gcc.dg/c99-printf-1.c, gcc.dg/c99-scanf-1.c,
      	gcc.dg/c99-strftime-1.c, gcc.dg/format-ext-3.c: Adjust error
      	regexps and details of expected handling of some bad formats.
      	* gcc.dg/format-xopen-1.c: Add test for $ format with assignment
      	suppression.
      
      From-SVN: r36790
      Joseph Myers committed
    • class.c (layout_class): Handle case where superclass can't be layed out yet. · 7fd9a516
      2000-10-07  Anthony Green  <green@redhat.com>
      
      	* class.c (layout_class): Handle case where superclass can't be
      	layed out yet.
      
      From-SVN: r36789
      Anthony Green committed