OSDN Git Service

pf3gnuchains/gcc-fork.git
23 years ago2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Mon, 9 Oct 2000 08:55:06 +0000 (08:55 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36805 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Mon, 9 Oct 2000 08:49:57 +0000 (08:49 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36804 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Mon, 9 Oct 2000 08:44:42 +0000 (08:44 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36803 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Mon, 9 Oct 2000 08:43:31 +0000 (08:43 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36802 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-08 Philipp Thomas <pthomas@suse.de>
pthomas [Mon, 9 Oct 2000 08:36:36 +0000 (08:36 +0000)]
2000-10-08  Philipp Thomas  <pthomas@suse.de>
* aclocal.m4 (AM_GNU_GETTEXT): Fix non portable use of == operator
for test.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36801 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-08 Philipp Thomas <pthomas@suse.de>
pthomas [Mon, 9 Oct 2000 08:12:35 +0000 (08:12 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36800 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Mon, 9 Oct 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36799 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-08 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Mon, 9 Oct 2000 03:35:36 +0000 (03:35 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36798 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-08 Philipp Thomas <pthomas@suse.de>
pthomas [Mon, 9 Oct 2000 03:19:37 +0000 (03:19 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36797 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoNew test code
green [Mon, 9 Oct 2000 02:20:28 +0000 (02:20 +0000)]
New test code

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36796 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoupdate
bryce [Mon, 9 Oct 2000 01:55:35 +0000 (01:55 +0000)]
update

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36795 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-09 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Mon, 9 Oct 2000 01:54:50 +0000 (01:54 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36794 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-08 Phil Edwards <pme@sources.redhat.com>
pme [Mon, 9 Oct 2000 00:42:23 +0000 (00:42 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36793 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * Makefile.in (libgcc.mk): Pass SHLIB_EXT, not SHLIB_LIBS.
rth [Sun, 8 Oct 2000 23:20:18 +0000 (23:20 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36792 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * tm.texi (INTMAX_TYPE, UINTMAX_TYPE): Define.
jsm28 [Sun, 8 Oct 2000 21:20:45 +0000 (21:20 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36791 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-common.c (FMT_FLAG_ARG_CONVERT, FMT_FLAG_SCANF_A_KLUDGE,
jsm28 [Sun, 8 Oct 2000 21:12:33 +0000 (21:12 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36790 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-07 Anthony Green <green@redhat.com>
green [Sun, 8 Oct 2000 19:14:32 +0000 (19:14 +0000)]
2000-10-07  Anthony Green  <green@redhat.com>

* class.c (layout_class): Handle case where superclass can't be
layed out yet.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36789 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * test_installed: Change EGCS references to refer to GCC.
jsm28 [Sun, 8 Oct 2000 18:39:27 +0000 (18:39 +0000)]
* test_installed: Change EGCS references to refer to GCC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36788 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-07 Will Cohen <wcohen@redhat.com>, Kazu Hirata <kazu@hxi.com>
kazu [Sun, 8 Oct 2000 13:10:20 +0000 (13:10 +0000)]
2000-10-07  Will Cohen  <wcohen@redhat.com>, Kazu Hirata  <kazu@hxi.com>

* config/h8300/h8300.md: Remove the memory alternative and correct
the insn lengths in the templates for sign extention and zero
extention.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36787 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Sun, 8 Oct 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36786 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-08 Philipp Thomas <pthomas@suse.de>
pthomas [Sun, 8 Oct 2000 03:09:38 +0000 (03:09 +0000)]
2000-10-08  Philipp Thomas  <pthomas@suse.de>

* Makefile.in (piclist): Fix sed command to also accept
numbers in filenames.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36785 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoTue Oct 3 13:44:37 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Sun, 8 Oct 2000 02:22:39 +0000 (02:22 +0000)]
Tue Oct  3 13:44:37 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * decl.c (find_local_variable): Removed uncessary type check and
        fixed range check typo. From Corey Minyard.

Wed Sep 13 16:06:52 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * decl.c (give_name_to_locals): New local `code_offset'. Call
        `maybe_adjust_start_pc.'
        * expr.c (note_instructions): New function.
        (expand_byte_code): Don't collect insn starts here.
        (peek_opcode_at_pc): New function.
        (maybe_adjust_start_pc): Likewise.
        * java-tree.h (maybe_adjust_start_pc): Declare.
        (note_instructions): Likewise.
        * jcf-parse.c (parse_class_file): Call `note_instructions.'

Wed Sep 13 11:50:35 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (field_access:): Fixed indentation.
        (qualify_ambiguous_name): Properly qualify `this.a[b].c'.

(Missing piece to http://gcc.gnu.org/ml/gcc-patches/2000-10/msg00067.html)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36784 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-08 Philipp Thomas <pthomas@suse.de>
pthomas [Sun, 8 Oct 2000 01:36:43 +0000 (01:36 +0000)]
2000-10-08  Philipp Thomas  <pthomas@suse.de>

* POTFILES.in: Remove the files from the nuked
dead ports.
* ChangeLog: Correct David's entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36783 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * g++.old-deja/g++.eh/cond1.C, g++.old-deja/g++.other/bitfld3.C,
jsm28 [Sat, 7 Oct 2000 22:42:11 +0000 (22:42 +0000)]
* g++.old-deja/g++.eh/cond1.C, g++.old-deja/g++.other/bitfld3.C,
g++.old-deja/g++.other/cond5.C, g++.old-deja/g++.other/decl3.C,
g++.old-deja/g++.other/decl5.C, gcc.dg/cast-qual-1.c,
gcc.dg/return-type-1.c, gcc.dg/unused-1.c: Update URLs of messages
in list archives.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36782 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * calls.c (expand_call): Disallow sibcalls to noreturn functions.
rth [Sat, 7 Oct 2000 20:53:21 +0000 (20:53 +0000)]
    * calls.c (expand_call): Disallow sibcalls to noreturn functions.
        * flow.c (make_edges): Revert last change.

        * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Don't test
        TREE_THIS_VOLATILE.
        * config/pa/pa.h (FUNCTION_OK_FOR_SIBCALL): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36781 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * del_op.cc, del_opnt.cc, del_opv.cc, del_opvnt.cc: New files.
rth [Sat, 7 Oct 2000 19:21:05 +0000 (19:21 +0000)]
    * del_op.cc, del_opnt.cc, del_opv.cc, del_opvnt.cc: New files.
        * exception.cc, new_handler.cc, new_op.cc, new_opnt.cc: New files.
        * new_opv.cc, new_opvnt.cc, tinfo.cc, tinfo2.cc, vec.cc: New files.
        * cxxabi.h, exception, new, new.h, typeinfo, pure.c: New files.
        * tinfo.hP: New file.

        * Makefile.in (OBJS, HEADERS): Add new files.
        * configure.in (XCXXINCLUDES): Add ../include and ../gcc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36780 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-07 David Edelsohn <dje@watson.ibm.com>
bkoz [Sat, 7 Oct 2000 18:57:18 +0000 (18:57 +0000)]
2000-10-07  David Edelsohn  <dje@watson.ibm.com>

* config/os/aix/bits/atomicity.h: New file.

2000-10-07  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

        * acinclude.m4: Remove CPU_FLAGS
        * libio/Makefile.am: Here too.
        * Makefile.am: Here too.

        * src/Makefile.am (CONFIG_INCLUDES): Remove.
        (INCLUDES): Remove CONFIG_INCLUDES.
        (cpu_headers): Remove.
        (myinstallheaders): Remove cpu_headers.
        (generated_headers): Rename to build_headers.
        (build_headers): Add atomicity.h, ctype_base.h,
        ctype_specializations.h.

        * config/os: New directory.
        * config/aix: Move to...
        * config/bsd: Move to...
        * config/generic: Move to...
        * config/gnu-linux: Move to...
        * config/irix: Move to...
        * config/newlib: Move to...
        * config/solaris: Move to...

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36779 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-07 David Edelsohn <dje@watson.ibm.com>
bkoz [Sat, 7 Oct 2000 18:54:08 +0000 (18:54 +0000)]
2000-10-07  David Edelsohn  <dje@watson.ibm.com>

* config/os/aix/bits/atomicity.h: New file.

2000-10-07  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* acinclude.m4: Remove CPU_FLAGS
* libio/Makefile.am: Here too.
* Makefile.am: Here too.

* src/Makefile.am (CONFIG_INCLUDES): Remove.
(INCLUDES): Remove CONFIG_INCLUDES.
(cpu_headers): Remove.
(myinstallheaders): Remove cpu_headers.
(generated_headers): Rename to build_headers.
(build_headers): Add atomicity.h, ctype_base.h,
ctype_specializations.h.

* config/os: New directory.
* config/aix: Move to...
* config/bsd: Move to...
* config/generic: Move to...
* config/gnu-linux: Move to...
* config/irix: Move to...
* config/newlib: Move to...
* config/solaris: Move to...
* config/os/*: Here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36778 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Sat, 7 Oct 2000 18:49:33 +0000 (18:49 +0000)]
2000-10-07  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* acinclude.m4: Remove CPU_FLAGS
* libio/Makefile.am: Here too.
* Makefile.am: Here too.

* src/Makefile.am (CONFIG_INCLUDES): Remove.
(INCLUDES): Remove CONFIG_INCLUDES.
(cpu_headers): Remove.
(myinstallheaders): Remove cpu_headers.
(generated_headers): Rename to build_headers.
(build_headers): Add atomicity.h, ctype_base.h,
ctype_specializations.h.

* config/os: New directory.
* config/aix: Move to...
* config/bsd: Move to...
* config/generic: Move to...
* config/gnu-linux: Move to...
* config/irix: Move to...
* config/newlib: Move to...
* config/solaris: Move to...
* config/os/*: Here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36777 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Sat, 7 Oct 2000 18:39:06 +0000 (18:39 +0000)]
2000-10-07  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* acinclude.m4: Remove CPU_FLAGS
* libio/Makefile.am: Here too.
* Makefile.am: Here too.

* src/Makefile.am (CONFIG_INCLUDES): Remove.
(INCLUDES): Remove CONFIG_INCLUDES.
(cpu_headers): Remove.
(myinstallheaders): Remove cpu_headers.
(generated_headers): Rename to build_headers.
(build_headers): Add atomicity.h, ctype_base.h,
ctype_specializations.h.

* config/os: New directory.
* config/aix: Move to...
* config/bsd: Move to...
* config/generic: Move to...
* config/gnu-linux: Move to...
* config/irix: Move to...
* config/newlib: Move to...
* config/solaris: Move to...
* config/os/*: Here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36776 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * java/util/Properties.java: Merged with Classpath version.
tromey [Sat, 7 Oct 2000 18:13:11 +0000 (18:13 +0000)]
* java/util/Properties.java: Merged with Classpath version.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36775 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoch:
jsm28 [Sat, 7 Oct 2000 12:39:35 +0000 (12:39 +0000)]
ch:
* Makefile.in ($(srcdir)/hash.h): Refer to GNU FTP site for
updated gperf.

java:
* Makefile.in (keyword.h): Refer to GNU FTP site for updated
gperf.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36774 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Sat, 7 Oct 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36773 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-06 David O'Brien <obrien@FreeBSD.org>
obrien [Sat, 7 Oct 2000 06:56:14 +0000 (06:56 +0000)]
2000-10-06  David O'Brien  <obrien@FreeBSD.org>
* config/alpha/elf.h: Standardize the formatting.

Approved by:  Richard Henderson <rth@cygnus.com>
              Message-ID: <20001006233422.D23128@cygnus.com>

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36772 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-06 David O'Brien <obrien@FreeBSD.org>
obrien [Sat, 7 Oct 2000 06:37:16 +0000 (06:37 +0000)]
2000-10-06  David O'Brien  <obrien@FreeBSD.org>
* config/alpha/elf.h: Protect the ASM_OUTPUT_IDENT definition with an #undef.

Approved by:  Richard Henderson <rth@cygnus.com>
              Message-ID: <20001006231829.C23128@cygnus.com>

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36771 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cp/cp-tree.h (struct cp_language_function): Remove x_result_rtx.
rth [Sat, 7 Oct 2000 01:46:42 +0000 (01:46 +0000)]
    * cp/cp-tree.h (struct cp_language_function): Remove x_result_rtx.
        (original_result_rtx): Remove.
        * cp/decl.c (save_function_data): Don't clear x_result_rtx.
        (mark_lang_function): Don't mark it either.
        * cp/expr.c (fixup_result_decl): Remove.
        * cp/semantics.c (genrtl_named_return_value): Frob the return decl
        before calling emit_local_var.
        (genrtl_finish_function): Don't call fixup_result_decl.
        Always emit the jump to return_label.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36770 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * function.c (diddle_return_value): Examine
rth [Sat, 7 Oct 2000 01:45:21 +0000 (01:45 +0000)]
    * function.c (diddle_return_value): Examine
        current_function_return_rtx instead of the DECL_RESULT.
        (expand_function_end): Handle reloading DECL_RESULT from memory
        into a hard register.  Query promote_mode for sign of mismatched
        modes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36769 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * g++.old-deja/g++.brendan/crash13.C: Pass -Wreturn-type.
rth [Sat, 7 Oct 2000 01:44:36 +0000 (01:44 +0000)]
    * g++.old-deja/g++.brendan/crash13.C: Pass -Wreturn-type.
        * g++.old-deja/g++.brendan/crash52.C: Likewise.
        * g++.old-deja/g++.jason/report.C: Likewise.
        * g++.old-deja/g++.law/friend5.C: Likewise.
        * g++.old-deja/g++.mike/p646.C: Likewise.  Adjust the spelling
        of the expected warnings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36768 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Sat, 7 Oct 2000 01:05:37 +0000 (01:05 +0000)]
2000-10-06  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
CONFIG_CXXFLAGS from here, and move to...
* src/Makefile.in: Regenerate.
* Makefile.am: ... here. Clean.
(OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
(WARN_CXXFLAGS): Same.
(CONFIG_CXXFLAGS): Same.
* Makefile.in: Regenerate.
* libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
* libsupc++/Makefile.in: Regenerate.

Change math to libmath.
* math: Move to libmath, delete.
* libmath: New directory.
* libmath/*: Populate.
* src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
(libstdc___la_LIBADD): Same.
* src/Makefile.in: Regenerate.
* configure.in: Add AC_OUTPUT for libmath/Makefile.
* configure: Regenerate.
* Makefile.am (SUBDIRS): Add libmath.
* Makefile.in: Regenerate.
* README (file): Change name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36767 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Sat, 7 Oct 2000 01:01:45 +0000 (01:01 +0000)]
2000-10-06  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
CONFIG_CXXFLAGS from here, and move to...
* src/Makefile.in: Regenerate.
* Makefile.am: ... here. Clean.
(OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
(WARN_CXXFLAGS): Same.
(CONFIG_CXXFLAGS): Same.
* Makefile.in: Regenerate.
* libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
* libsupc++/Makefile.in: Regenerate.

Change math to libmath.
* math: Move to libmath, delete.
* libmath: New directory.
* libmath/*: Populate.
* src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
(libstdc___la_LIBADD): Same.
* src/Makefile.in: Regenerate.
* configure.in: Add AC_OUTPUT for libmath/Makefile.
* configure: Regenerate.
* Makefile.am (SUBDIRS): Add libmath.
* Makefile.in: Regenerate.
* README (file): Change name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36766 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Sat, 7 Oct 2000 01:00:26 +0000 (01:00 +0000)]
2000-10-06  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
CONFIG_CXXFLAGS from here, and move to...
* src/Makefile.in: Regenerate.
* Makefile.am: ... here. Clean.
(OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
(WARN_CXXFLAGS): Same.
(CONFIG_CXXFLAGS): Same.
* Makefile.in: Regenerate.
* libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
* libsupc++/Makefile.in: Regenerate.

Change math to libmath.
* math: Move to libmath, delete.
* libmath: New directory.
* libmath/*: Populate.
* src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
(libstdc___la_LIBADD): Same.
* src/Makefile.in: Regenerate.
* configure.in: Add AC_OUTPUT for libmath/Makefile.
* configure: Regenerate.
* Makefile.am (SUBDIRS): Add libmath.
* Makefile.in: Regenerate.
* README (file): Change name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36765 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-06 Benjamin Kosnik <bkoz@cygnus.com>
bkoz [Fri, 6 Oct 2000 23:34:32 +0000 (23:34 +0000)]
2000-10-06  Benjamin Kosnik  <bkoz@cygnus.com>
            Richard Henderson  <rth@cygnus.com>
    Alexandre Oliva  <aoliva@redhat.com>

* libsupc++: New directory.
* libsupc++/*: Populate.
* libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
eh-common.h, gansidecl.h.
* configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
* configure: Regenerate.
* Makefile.am (SUBDIRS): Add libsupc++.
* Makefile.in: Regenerate.
* src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
* src/Makefile.in: Regenerate.
* libio/Makefile.am: Remove extraneous, confusing bits.
* libio/Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36764 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-06 Benjamin Kosnik <bkoz@cygnus.com>
bkoz [Fri, 6 Oct 2000 23:31:22 +0000 (23:31 +0000)]
2000-10-06  Benjamin Kosnik  <bkoz@cygnus.com>
            Richard Henderson  <rth@cygnus.com>
    Alexandre Oliva  <aoliva@redhat.com>

* libsupc++: New directory.
* libsupc++/*: Populate.
* libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
eh-common.h, gansidecl.h.
* configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
* configure: Regenerate.
* Makefile.am (SUBDIRS): Add libsupc++.
* Makefile.in: Regenerate.
* src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
* src/Makefile.in: Regenerate.
* libio/Makefile.am: Remove extraneous, confusing bits.
* libio/Makefile.in: Regeneate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36763 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-06 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
vmakarov [Fri, 6 Oct 2000 21:01:06 +0000 (21:01 +0000)]
2000-10-06  Vladimir Makarov  <vmakarov@touchme.toronto.redhat.com>

* haifa-sched.c (schedule_insns): Fix typo in freeing
forward_dependency_cache.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36762 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* config/sh/sh.md (calli_pcrel, call_valuei_pcrel): Add
aoliva [Fri, 6 Oct 2000 19:55:48 +0000 (19:55 +0000)]
* config/sh/sh.md (calli_pcrel, call_valuei_pcrel): Add
`TARGET_SH2' as a condition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36761 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-06 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
vmakarov [Fri, 6 Oct 2000 19:12:53 +0000 (19:12 +0000)]
2000-10-06  Vladimir Makarov  <vmakarov@touchme.toronto.redhat.com>

* haifa-sched.c (anti_dependency_cache, output_dependency_cache,
forward_dependency_cache): New variables.
(add_dependence, remove_dependence): Use anti_dependency_cache and
output_dependency_cache.
(compute_block_forward_dependences): Use forward_dependency_cache.
(schedule_insns): Allocate and free memory for anti/output/forward
dependencies caches.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36760 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* config/sh/sh.md (call, call_value): Use `TARGET_SH2' instead of
aoliva [Fri, 6 Oct 2000 18:12:07 +0000 (18:12 +0000)]
* config/sh/sh.md (call, call_value): Use `TARGET_SH2' instead of
`! TARGET_SH1'.  Reindent.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36759 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * builtins.c (is_valid_printf_arglist, expand_builtin_printf):
ghazi [Fri, 6 Oct 2000 14:59:56 +0000 (14:59 +0000)]
* builtins.c (is_valid_printf_arglist, expand_builtin_printf):
Move functions from here ...

* c-common.c (is_valid_printf_arglist, c_expand_builtin_printf):
... to here.
(c_expand_builtin): New function.
(init_function_format_info): Don't set `check_function_format_ptr'.
(c_common_nodes_and_builtins): Set built_in_class type for
printf/__builtin_printf to BUILT_IN_FRONTEND.
(c_expand_expr): Handle CALL_EXPRs that are front-end builtins.

* c-common.h (build_function_call): Declare.

* expr.c (expand_expr): Pass builtins with class BUILT_IN_FRONTEND
to `lang_expand_expr' rather than `expand_builtin'.

* tree.c (check_function_format_ptr): Delete.

* tree.h (check_function_format_ptr): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36758 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * dwarf2out.c (build_cfa_loc): Correct to use DW_OP_regx or
hp [Fri, 6 Oct 2000 11:37:31 +0000 (11:37 +0000)]
* dwarf2out.c (build_cfa_loc): Correct to use DW_OP_regx or
DW_OP_bregx when cfa->reg > 31.

* frame-dwarf2.c (decode_stack_op) [case DW_OP_regx]: Add missing
break.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36757 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * g++.old-deja/g++.pt/enum14.C: New test.
nathan [Fri, 6 Oct 2000 09:13:11 +0000 (09:13 +0000)]
* g++.old-deja/g++.pt/enum14.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36756 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * pt.c (lookup_template_class): Set current access for enum.
nathan [Fri, 6 Oct 2000 09:12:44 +0000 (09:12 +0000)]
* pt.c (lookup_template_class): Set current access for enum.
(tsubst_enum): Set file & line for enum decl.

* spew.c (yylex): Remove unused variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36755 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Fri, 6 Oct 2000 07:45:10 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36754 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-05 Benjamin Kosnik <bkoz@fillmore.constant.com>
bkoz [Fri, 6 Oct 2000 07:13:29 +0000 (07:13 +0000)]
2000-10-05  Benjamin Kosnik  <bkoz@fillmore.constant.com>

* README (file): Adjust directory structures.
* mkcheck.in (INC_PATH): Adjust for header changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36753 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-05 Brent Verner <brent@rcfile.org>
bkoz [Fri, 6 Oct 2000 07:12:32 +0000 (07:12 +0000)]
2000-10-05  Brent Verner  <brent@rcfile.org>

        * bits/istream.tcc [basic_istream::get(basic_streambuf&)]: Removed
test for _M_gcount < in_avail(), as in_avail() only reports info
for current buffer, causing method to return at end of buffer.
* testsuite/27_io/istream_unformatted.cc [test07()]: New test.
* testsuite/27_io/istream_unformatted-3.txt: New file.
* testsuite/27_io/istream_unformatted-3.tst: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36752 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-03 Brent Verner <brent@rcfile.org>
bkoz [Fri, 6 Oct 2000 07:11:26 +0000 (07:11 +0000)]
2000-10-03  Brent Verner  <brent@rcfile.org>

        * bits/istream.tcc [basic_istream::get(basic_streambuf&)]: Removed
test for _M_gcount < in_avail(), as in_avail() only reports info
for current buffer, causing method to return at end of buffer.
* testsuite/27_io/istream_unformatted.cc [test07()]: New test.
* testsuite/27_io/istream_unformatted-3.txt: New file.
* testsuite/27_io/istream_unformatted-3.tst: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36751 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-decl.c (warn_missing_noreturn): Remove.
rth [Fri, 6 Oct 2000 06:01:27 +0000 (06:01 +0000)]
    * c-decl.c (warn_missing_noreturn): Remove.
        (c_expand_body): Don't set or check can_reach_end.
        * c-tree.h (warn_missing_noreturn): Move ...
        * flags.h: ... here.
        (can_reach_end): Remove.
        * flow.c (check_function_return_warnings): New.
        (make_edges): No edge to exit for noreturn sibcalls.
        * function.c (expand_function_end): Save the return value
        clobber instruction.
        (mark_function_status): Mark it.
        * function.h (struct function): Add x_clobber_return_insn.
        * jump.c (can_reach_end): Remove.
        (calculate_can_reach_end): Remove.
        (jump_optimize_1): Don't call it.
        * output.h (check_function_return_warnings): Declare.
        * toplev.c (warn_missing_noreturn): Move from c-decl.c
        (rest_of_compilation): Call check_function_return_warnings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36750 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * semantics.c (genrtl_finish_function): Don't init or check
rth [Fri, 6 Oct 2000 06:00:59 +0000 (06:00 +0000)]
    * semantics.c (genrtl_finish_function): Don't init or check
        can_reach_end; remove noreturn and return value checks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36749 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * decl.c (finish_chill_function): Don't init can_reach_end.
rth [Fri, 6 Oct 2000 06:00:40 +0000 (06:00 +0000)]
    * decl.c (finish_chill_function): Don't init can_reach_end.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36748 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * com.c (finish_function): Don't init can_reach_end.
rth [Fri, 6 Oct 2000 06:00:21 +0000 (06:00 +0000)]
    * com.c (finish_function): Don't init can_reach_end.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36747 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * Makefile.in (NM_FOR_TARGET): New.
rth [Fri, 6 Oct 2000 05:46:02 +0000 (05:46 +0000)]
    * Makefile.in (NM_FOR_TARGET): New.
        (libgcc.mk): Pass SHLIB_MKMAP, SHLIB_MAPFILES.
        (libgcc.a, stmp-multilib): Pass NM_FOR_TARGET.
        * mklibgcc.in: If SHLIB_MKMAP, build libgcc.map.  Depend the
        shared library build on that and EXTRA_MULTILIB_PARTS.
        * mkmap-flat.awk: New file.
        * mkmap-symver.awk: New file.
        * libgcc-std.ver: New file.
        * config/libgcc-glibc.ver: New file.
        * config/ia64/libgcc-ia64.ver: New file.
        * config/t-linux (SHLIB_MKMAP, SHLIB_MAPFILES): New.
        (SHLIB_LINK): Add --version-script.
        * config/ia64/t-ia64 (SHLIB_MAPFILES): Add libgcc-ia64.ver.
        * config/mips/t-iris6 (SHLIB_MKMAP, SHLIB_MAPFILES): New.
        * config/sparc/t-sol2 (SHLIB_MKMAP, SHLIB_MAPFILES): New.
        (SHLIB_LINK): Add -M.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36746 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * longlong.h [alpha] (count_leading_zeros): Use cmpbge with
rth [Fri, 6 Oct 2000 05:32:59 +0000 (05:32 +0000)]
    * longlong.h [alpha] (count_leading_zeros): Use cmpbge with
        a zero instead of -1.
        (count_trailing_zeros): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36745 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * Makefile.in (LIB2FUNCS): Add _clz.
rth [Fri, 6 Oct 2000 05:29:56 +0000 (05:29 +0000)]
    * Makefile.in (LIB2FUNCS): Add _clz.
        * libgcc2.c (__ffsdi2): Use count_trailing_zeros.
        (__clz_tab): Put in its own unit, non-static.
        * libgcc2.h: Always include longlong.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36744 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/alpha/alpha.c (alpha_emit_setcc): Don't swap GT tests
rth [Fri, 6 Oct 2000 05:19:40 +0000 (05:19 +0000)]
    * config/alpha/alpha.c (alpha_emit_setcc): Don't swap GT tests
        when second op1 is const0_rtx.  Validate op0 as a register.
        * config/alpha/alpha.md (setcc_internal): Don't allow constants
        in the first argument of the compare.
        (setcc_swapped_internal): Likewise.
        (setne_internal): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36743 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * tree.c (tree_size): New function split out of copy_node.
geoffk [Fri, 6 Oct 2000 04:51:47 +0000 (04:51 +0000)]
    * tree.c (tree_size): New function split out of copy_node.
        (make_node): Remove obstack handling.  Use tree_size.
        (copy_node): Use tree_size.
        * tree.h: Prototype tree_size.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36742 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoRebuilt Makefile.ins
tromey [Fri, 6 Oct 2000 01:57:45 +0000 (01:57 +0000)]
Rebuilt Makefile.ins

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36741 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * java/lang/reflect/natField.cc (BooleanClass): Don't define.
tromey [Fri, 6 Oct 2000 01:49:32 +0000 (01:49 +0000)]
* java/lang/reflect/natField.cc (BooleanClass): Don't define.
* java/lang/reflect/natArray.cc (BooleanClass): Don't define.
* java/lang/Class.h (Object): Added `class$' field.
* java/lang/Object.h (Object): Added `class$' field.
* defineclass.cc (ClassClass): Use `class$' form.
(ClassObject): Likewise.
* resolve.cc (ClassObject): Use `class$' form.
(ObjectClass): Likewise.
* interpret.cc (ClassError): Removed.
* java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Use
`class$' form.
(IntegerClass): Likewise.
* java/net/natPlainSocketImpl.cc (BooleanClass): Use `class$'
form.
* java/lang/natClassLoader.cc (CloneableClass): Use `class$' form.
(ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
SerializableClass): Likewise.
Include Serializable.h, Cloneable.h.
* java/lang/natSystem.cc (SystemClass): Removed.
(init_properties): Use `class$' form.
* java/lang/natObject.cc (CloneableClass): Removed.
(clone): Use `class$' form.
* java/lang/natClass.cc (CloneableClass): Use `class$' form.
(ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
ConstructorClass): Likewise.
* java/lang/reflect/natMethod.cc (ObjectClass): Use `class$' form.
(ClassClass, VoidClass, ByteClass, ShortClass, CharacterClass,
IntegerClass, LongClass, FloatClass, DoubleClass): Likewise.
* java/io/natObjectInputStream.cc (ObjectClass): Use `class$'
form.
(ClassClass): Likewise.
* include/jvm.h (StringClass): Use `class$' form.
* prims.cc (ObjectClass): Removed.
(_Jv_RunMain): Use `class$' form.
(_Jv_AllocObject): Likewise.
* jni.cc (ClassClass): Use `class$' form.
(ThrowableClass): Likewise.
(ObjectClass): Likewise.
(MethodClass): Likewise.
(ThreadGroupClass): Likewise.
(NativeThreadClass): Likewise.
* boehm.cc (ObjectClass): Removed.
(ClassClass): Removed.
(_Jv_MarkObj): Use `class$' form.
* gcj/field.h (JvFieldIsRef): Use `class$' form.
Include RawData.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36740 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * diagnostic.c (output_format): Add missing break.
rth [Fri, 6 Oct 2000 01:46:50 +0000 (01:46 +0000)]
    * diagnostic.c (output_format): Add missing break.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36739 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * jvspec.c (jvgenmain_spec): Added `-fdollars-in-identifiers'.
tromey [Fri, 6 Oct 2000 01:45:47 +0000 (01:45 +0000)]
* jvspec.c (jvgenmain_spec): Added `-fdollars-in-identifiers'.
* jvgenmain.c (class_mangling_prefix): Removed.
(class_mangling_suffix): New global.
(main): Use it.
* gjavah.c (cxx_keyword_subst): Mangle C++ keywords by appending
`$'.
(print_method_info): Handle overrides for static and final
methods.
(process_file): Generate declaration for class object field.
* class.c (cxx_keywords): New array.
(utf8_cmp): New function.
(cxx_keyword_p): New function.
(layout_class_method): Mangle C++ keywords by appending `$'.
(mangle_field): New function.
(mangle_class_field): Use mangle_field.  Mangle class name as
`class$'.
(mangle_static_field): Use mangle_field.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36738 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * init.c (build_java_class_ref): Use `build_static_name' with a
tromey [Fri, 6 Oct 2000 01:44:21 +0000 (01:44 +0000)]
* init.c (build_java_class_ref): Use `build_static_name' with a
suffix, not a prefix, to build the class object's name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36737 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * Makefile.am: Removed java/io/Replaceable.java and
warrenl [Thu, 5 Oct 2000 23:57:16 +0000 (23:57 +0000)]
* Makefile.am: Removed java/io/Replaceable.java and
java/io/Resolvable.java.
* Makefile.in: Rebuilt.
* gcj/javaprims.h: Removed Replaceable and Resolvable from java.io
namespace.
* java/io/ObjectInputStream.java (processResolution): Fixed typo
in method name.
(processResolution): Handle readResolve method via reflection with
removal of Resolvable interface.
* java/io/ObjectOutputStream.java (writeObject): Handle writeReplace
method via reflection with removal of Replaceable interface.
* java/io/Replaceable.java: Removed.
* java/io/Resolvable.java: Removed.
* java/security/Key.java (serialVersionUID): New field.
* java/security/Provider.java (serialVersionUID): New field.
* java/security/interfaces/DSAPrivateKey.java (serialVersionUID):
New field.
* java/security/interfaces/DSAPublicKey.java (serialVersionUID):
        New field.
* java/sql/DataTruncation.java (serialVersionUID): New field.
* java/sql/SQLException.java (serialVersionUID): New field.
* java/sql/SQLWarning.java (serialVersionUID): New field.
* java/util/Date.java (serialVersionUID): New field.
(millis): Made transient.
(readObject): New method.
(writeObject): New method.

Serialization mods.
Note:  The interfaces java.io.Replaceable and java.io.Resolvable were only
temporary additions to JDK 1.2 beta versions and were not included
in the JDK 1.2 final.  The Serialization spec instructs how to deal
with their methods (via reflection).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36736 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoFix IA-64 REG_LIBCALL dangling reference.
wilson [Thu, 5 Oct 2000 23:24:18 +0000 (23:24 +0000)]
Fix IA-64 REG_LIBCALL dangling reference.
* function.c (fixup_var_refs_1, case SET): When gen_move_insn returns a
SEQUENCE, call emit_insn_before, copy PATTERN and REG_NOTES of last
sequence insn to INSN, and delete last sequence insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36735 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * configure: Save configure arguments to gcc/configargs.h.
rth [Thu, 5 Oct 2000 22:55:19 +0000 (22:55 +0000)]
    * configure: Save configure arguments to gcc/configargs.h.

        * gcc.c (main): Include generated configargs.h header
        and use arguments in '-v' output.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36734 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * gnu/gcj/convert/natIconv.cc (init): Terminate buffer.
tromey [Thu, 5 Oct 2000 21:32:09 +0000 (21:32 +0000)]
* gnu/gcj/convert/natIconv.cc (init): Terminate buffer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36733 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-04 Philipp Thomas <pthomas@suse.de>
pthomas [Thu, 5 Oct 2000 21:18:00 +0000 (21:18 +0000)]
2000-10-04  Philipp Thomas  <pthomas@suse.de>

* config.guess: Import CVS version 1.157.
* config.sub: Import CVS version 1.181.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36732 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-05 Phil Edwards <pme@sources.redhat.com>
pme [Thu, 5 Oct 2000 20:15:29 +0000 (20:15 +0000)]
2000-10-05  Phil Edwards  <pme@sources.redhat.com>

* acinclude.m4 (GLIBCPP_CHECK_CTYPE):  Tweaks to message texts
  for public relations purposes.
* aclocal.m4:  Regenerated.
* configure:  Regenerated.

* docs/ext/howto.html:  Additional explanation about hashing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36731 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * gcc.c: Move data on prefixes forward in file and reorganize.
kenner [Thu, 5 Oct 2000 20:07:24 +0000 (20:07 +0000)]
* gcc.c: Move data on prefixes forward in file and reorganize.
(md_exec_prefix, md_startfile_prefix, md_startfile_prefix_1):
Always define, but make null if no value.
(static_specs): Add "md_exec_prefix", "md_startfile_prefix",
and "md_startfile_prefix_1".
(main): Check whether md_exec_prefix and the others are the
null string rather than whether the macro is defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36730 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * (convert_move): Use zero_extendpsisi2 to do an unsigned extension
amylaar [Thu, 5 Oct 2000 18:07:28 +0000 (18:07 +0000)]
* (convert_move): Use zero_extendpsisi2 to do an unsigned extension
from PSImode to SImode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36729 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETICS]: Fix conversion
jakub [Thu, 5 Oct 2000 16:53:33 +0000 (16:53 +0000)]
* emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETICS]: Fix conversion
from float to integral mode with HOST_BITS_PER_WIDE_INT 64.
* dwarf2out.c (add_const_value_attribute): Divide by 4, not
sizeof(long).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36728 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoAdded.
ovidiu [Thu, 5 Oct 2000 16:00:17 +0000 (16:00 +0000)]
Added.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36727 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * fold-const.c (fold, case MINUS_EXPR, case EQ_EXPR): Perform
kenner [Thu, 5 Oct 2000 13:35:07 +0000 (13:35 +0000)]
* fold-const.c (fold, case MINUS_EXPR, case EQ_EXPR): Perform
negation in proper type.a

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36726 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-05 Benjamin Kosnik <bkoz@cygnus.com>
bkoz [Thu, 5 Oct 2000 11:36:52 +0000 (11:36 +0000)]
2000-10-05  Benjamin Kosnik  <bkoz@cygnus.com>

* include: New directory.
* include/backward: New directory.
* include/bits: New directory.
* include/ext: New directory.
* include/std: New directory.
* include/*/*: Populate.

* backwards: Move to include/backwards, delete.
* bits: Move to include/bits, delete.
* ext: Move to include/ext, delete.
* std: Move to include/std, delete.

* src/complex.cc: Adjust include of mathconf.

* mkc++config (BASE_H): Add include.

* src/Makefile.am: Support for topleve sources include directory.
(INCLUDES): Add LIBMATH_INCLUDE.
* src/Makefile.in: Regenerate.
* math/Makefile.am (INCLUDES): Append /include.
* math/Makefile.in: Regenerate.
* libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
* libio/Makefile.in: Regenerate.

2

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36725 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-05 Benjamin Kosnik <bkoz@cygnus.com>
bkoz [Thu, 5 Oct 2000 11:33:23 +0000 (11:33 +0000)]
2000-10-05  Benjamin Kosnik  <bkoz@cygnus.com>

* include: New directory.
* include/backward: New directory.
* include/bits: New directory.
* include/ext: New directory.
* include/std: New directory.
* include/*/*: Populate.

* backwards: Move to include/backwards, delete.
* bits: Move to include/bits, delete.
* ext: Move to include/ext, delete.
* std: Move to include/std, delete.

* src/complex.cc: Adjust include of mathconf.

* mkc++config (BASE_H): Add include.

* src/Makefile.am: Support for topleve sources include directory.
(INCLUDES): Add LIBMATH_INCLUDE.
* src/Makefile.in: Regenerate.
* math/Makefile.am (INCLUDES): Append /include.
* math/Makefile.in: Regenerate.
* libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
* libio/Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36724 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-05 Benjamin Kosnik <bkoz@cygnus.com>
bkoz [Thu, 5 Oct 2000 11:27:02 +0000 (11:27 +0000)]
2000-10-05  Benjamin Kosnik  <bkoz@cygnus.com>

* include: New directory.
* include/backward: New directory.
* include/bits: New directory.
* include/ext: New directory.
* include/std: New directory.
* include/*/*: Populate.

* src/complex.cc: Adjust include of mathconf.

* mkc++config (BASE_H): Add include.

* src/Makefile.am: Support for topleve sources include directory.
(INCLUDES): Add LIBMATH_INCLUDE.
* src/Makefile.in: Regenerate.
* math/Makefile.am (INCLUDES): Append /include.
* math/Makefile.in: Regenerate.
* libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
* libio/Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36723 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cp-tree.h (access_kind): Fix comment typo.
nathan [Thu, 5 Oct 2000 08:41:44 +0000 (08:41 +0000)]
* cp-tree.h (access_kind): Fix comment typo.
* decl2.c (grokfield): Fix diagnostic typo.
* semantics.c (finish_template_type): Fix comment typo.
(finish_qualified_object_call_expr): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36722 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * g++.old-deja/g++.pt/crash59.C: New test.
nathan [Thu, 5 Oct 2000 08:31:39 +0000 (08:31 +0000)]
* g++.old-deja/g++.pt/crash59.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36721 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * pt.c (tsubst_expr, DECL_STMT case): Don't process if
nathan [Thu, 5 Oct 2000 08:31:15 +0000 (08:31 +0000)]
* pt.c (tsubst_expr, DECL_STMT case): Don't process if
tsubsting fails.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36720 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * spew.c (frob_id): New static function.
nathan [Thu, 5 Oct 2000 08:28:51 +0000 (08:28 +0000)]
* spew.c (frob_id): New static function.
(frob_opname): Use it.
(yylex): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36719 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Thu, 5 Oct 2000 07:45:10 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36718 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoTue Oct 3 13:44:37 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Thu, 5 Oct 2000 07:17:34 +0000 (07:17 +0000)]
Tue Oct  3 13:44:37 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * decl.c (find_local_variable): Removed uncessary type check and
        fixed range check typo. From Corey Minyard.

Wed Sep 13 16:06:52 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * decl.c (give_name_to_locals): New local `code_offset'. Call
        `maybe_adjust_start_pc.'
        * expr.c (note_instructions): New function.
        (expand_byte_code): Don't collect insn starts here.
        (peek_opcode_at_pc): New function.
        (maybe_adjust_start_pc): Likewise.
        * java-tree.h (maybe_adjust_start_pc): Declare.
        (note_instructions): Likewise.
        * jcf-parse.c (parse_class_file): Call `note_instructions.'

Wed Sep 13 11:50:35 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (field_access:): Fixed indentation.
        (qualify_ambiguous_name): Properly qualify `this.a[b].c'.

(http://gcc.gnu.org/ml/gcc-patches/2000-10/msg00067.html)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36717 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-04 Benjamin Kosnik <bkoz@gnu.org>
bkoz [Thu, 5 Oct 2000 05:54:07 +0000 (05:54 +0000)]
2000-10-04  Benjamin Kosnik  <bkoz@gnu.org>

* libio/_G_config.h : Re-guard the __mbstate_t declaration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36716 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * configure.in (enable-shared): New.
rth [Wed, 4 Oct 2000 20:53:29 +0000 (20:53 +0000)]
    * configure.in (enable-shared): New.
        * Makefile.in (LIBGCC_DEPS): Depend on EXTRA_PARTS as well.
        (libgcc.mk): Pass SHLIB_LINK, SHLIB_LIBS, SHLIB_MULTILIB to mklibgcc.
        * mklibgcc.in: Use them to link shared a libgcc.
        * config/t-linux (SHLIB_LINK, SHLIB_LIBS): New.
        * config/alpha/t-ieee (SHLIB_MULTILIB): New.
        * config/mips/t-iris6 (SHLIB_LINK, SHLIB_LIBS): New.
        * config/sparc/t-sol2 (SHLIB_LINK, SHLIB_LIBS): New.

        * configure.in (alpha-osf*): Use t-osf and x-osf.
        * config/alpha/t-osf: New file.
        * config/alpha/t-osf4: New file.
        * config/alpha/x-osf: New file.
        * config/alpha/x-alpha: Remove file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36715 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoPatched code to generate warning when trying to perform static
wcohen [Wed, 4 Oct 2000 18:03:33 +0000 (18:03 +0000)]
Patched code to generate warning when trying to perform static
initialization of zero-length arrays.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36714 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* Makefile.in (bootstrap): avoid recursion if subdir missing
dj [Wed, 4 Oct 2000 18:00:37 +0000 (18:00 +0000)]
* Makefile.in (bootstrap): avoid recursion if subdir missing
(cross): ditto
(do-proto-toplev): ditto

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36713 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDescribes addition of test to verify zero-length array initializers flagged
wcohen [Wed, 4 Oct 2000 17:59:19 +0000 (17:59 +0000)]
Describes addition of test to verify zero-length array initializers flagged
with warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36712 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoA test to verify the patch to warn of initializers for zero-length
wcohen [Wed, 4 Oct 2000 17:57:03 +0000 (17:57 +0000)]
A test to verify the patch to warn of initializers for zero-length
arrays is installed in the compiler.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36711 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDummy checkin of footer.html to force web update.
pme [Wed, 4 Oct 2000 15:52:27 +0000 (15:52 +0000)]
Dummy checkin of footer.html to force web update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36710 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
law [Wed, 4 Oct 2000 07:45:12 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36709 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-03 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Wed, 4 Oct 2000 06:44:25 +0000 (06:44 +0000)]
2000-10-03  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* docs/22_locale/howto.html: Add link to proto-documentation on
locales.
* docs/documentation.html: Rename links for clarity.

* src/Makefile.am (headers): Remove unistd.h, wrap_unistd.h. Add
fcntl.h, iolibio.h, libioP.h, pthread.h, iconv.h.
* src/Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36708 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-02 Steven King <sxking@uswest.net>
bkoz [Wed, 4 Oct 2000 05:06:32 +0000 (05:06 +0000)]
2000-10-02  Steven King  <sxking@uswest.net>

        * mkcshadow: Fixed script to output proper include guard.
        * bits/char_traits.h: Cleaned up types in char_traits<char> functions.
        * libio/_G_config.h: Hacked to make work with shadow heraders.
        * shadow/*: Hacked to make shadow headers work.

2000-10-02  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

Self-compile with shadow headers.
* acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
it becomes the default way the library is built.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
* config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
* config/gnu-linux/ctype.cc (ctype): Use it.

* src/localename.cc (locale::_Impl::_M_replace_categories): Remove
call to assert.
* src/locale.cc: Explicitly cast mbstate_t to void* in calls to
memset. This should not be necessary, but an ambiguous overload
with it in.

* shadow/bits/std_cwchar.h: Fix.
* shadow/wchar.h: Fix.

* config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
enums into namespace std:: for ctype_base enum. Other OS types
will have to do this as well.
* config/gnu-linux/ctype.cc (ctype): Inject ctype data into
namespace std, in particular __ctype_toupper, __ctype_tolower,
__ctype_b.

* shadow/iolibio.h: New file.
* shadow/bits/wrap_iolibio.h: New file.
* shadow/libioP.h: New file.
* shadow/bits/wrap_libioP.h: New file.
* shadow/bits/wrap_fcntl.h: New file.
* shadow/fcntl.h: New file.
* shadow/iconv.h: New file. Inject iconv names into the global
namespace, unmangled for the moment.
* shadow/bits/wrap_iconv.h: New file.
* shadow/unistd.h: Remove. Useless.
* shadow/bits/wrap_unistd.h: Remove.

* src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
* src/Makefile.in: Regenerate.

* config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.

* shadow/libio.h: Fix.
* shadow/bits/wrap_libio.h: Fix.

* shadow/bits/std_clocale.h: Remove typedef struct construct,
which will not compile.
* shadow/bits/std_ctime.h: Same.

* shadow/pthread.h: New file. Put pthreads types and functions
into global scope, which is probably not the correct long-term
solution but has to be done at the moment before libio wrappers
can even be started.
* shadow/bits/wrap_pthread.h: New file.

* bits/std_ios.h: Formatting tweak.
* shadow/bits/std_cstdio.h: Format. Remove extraneous bits.

* acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
tests for compiler features.
* aclocal.m4: Regenerate.
* configure: Regenerate.

* config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
redefined.
* libio/libioP.h: Comment out fcntl.h include.

* shadow/math.h: Add in float and long declarations, as per ISO C9X.

* bits/c++config: Define _ISOC99_SOURCE.

* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
CSHADOWFLAGS, as well as _ISOC99_SOURCE.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
(CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
(CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
std or shadow directories.
(LTCXXCOMPILE): Same.
(INCLUDES): Add $(top_builddir) before $(top_srcdir).
(AC_CXXFLAGS): Add CSHADOWFLAGS.
* src/Makefile.in: Regenerate.

* src/complex.cc (FCT): Change ::name to name.
* src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
* src/complexf.cc (FCT): Same.

* src/complexf.cc: Remove FCT define, as things are properly
overloaded in the std namespace with the shadow headers.
* src/complexl.cc: Same.
* src/complex.cc: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36707 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2000-10-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Wed, 4 Oct 2000 03:09:19 +0000 (03:09 +0000)]
2000-10-02  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

Self-compile with shadow headers.
* acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
it becomes the default way the library is built.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
* config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
* config/gnu-linux/ctype.cc (ctype): Use it.

* src/localename.cc (locale::_Impl::_M_replace_categories): Remove
call to assert.
* src/locale.cc: Explicitly cast mbstate_t to void* in calls to
memset. This should not be necessary, but an ambiguous overload
with it in.

* shadow/bits/std_cwchar.h: Fix.
* shadow/wchar.h: Fix.

* config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
enums into namespace std:: for ctype_base enum. Other OS types
will have to do this as well.
* config/gnu-linux/ctype.cc (ctype): Inject ctype data into
namespace std, in particular __ctype_toupper, __ctype_tolower,
__ctype_b.

* shadow/iolibio.h: New file.
* shadow/bits/wrap_iolibio.h: New file.
* shadow/libioP.h: New file.
* shadow/bits/wrap_libioP.h: New file.
* shadow/bits/wrap_fcntl.h: New file.
* shadow/fcntl.h: New file.
* shadow/iconv.h: New file. Inject iconv names into the global
namespace, unmangled for the moment.
* shadow/bits/wrap_iconv.h: New file.
* shadow/unistd.h: Remove. Useless.
* shadow/bits/wrap_unistd.h: Remove.

* src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
* src/Makefile.in: Regenerate.

* config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.

* shadow/libio.h: Fix.
* shadow/bits/wrap_libio.h: Fix.

* shadow/bits/std_clocale.h: Remove typedef struct construct,
which will not compile.
* shadow/bits/std_ctime.h: Same.

* shadow/pthread.h: New file. Put pthreads types and functions
into global scope, which is probably not the correct long-term
solution but has to be done at the moment before libio wrappers
can even be started.
* shadow/bits/wrap_pthread.h: New file.

* bits/std_ios.h: Formatting tweak.
* shadow/bits/std_cstdio.h: Format. Remove extraneous bits.

* acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
tests for compiler features.
* aclocal.m4: Regenerate.
* configure: Regenerate.

* config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
redefined.
* libio/libioP.h: Comment out fcntl.h include.

* shadow/math.h: Add in float and long declarations, as per ISO C9X.

* bits/c++config: Define _ISOC99_SOURCE.

* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
CSHADOWFLAGS, as well as _ISOC99_SOURCE.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
(CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
(CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
std or shadow directories.
(LTCXXCOMPILE): Same.
(INCLUDES): Add $(top_builddir) before $(top_srcdir).
(AC_CXXFLAGS): Add CSHADOWFLAGS.
* src/Makefile.in: Regenerate.

* src/complex.cc (FCT): Change ::name to name.
* src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
* src/complexf.cc (FCT): Same.

* src/complexf.cc: Remove FCT define, as things are properly
overloaded in the std namespace with the shadow headers.
* src/complexl.cc: Same.
* src/complex.cc: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36706 138bc75d-0d04-0410-961f-82ee72b054a4