OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago * g++.old-deja/g++.abi/aggregates.C: Corrected last patch: removed
ljrittle [Fri, 4 Jan 2002 23:26:45 +0000 (23:26 +0000)]
* g++.old-deja/g++.abi/aggregates.C: Corrected last patch: removed
extra triple that slipped in.
* g++.old-deja/g++.abi/align.C: Likewise.
* g++.old-deja/g++.abi/bitfields.C: Likewise.

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

22 years ago * gcc.c-torture/execute/ieee/rbug.c: Force FP to extended-precision
ljrittle [Fri, 4 Jan 2002 23:13:54 +0000 (23:13 +0000)]
* gcc.c-torture/execute/ieee/rbug.c: Force FP to extended-precision
on FreeBSD/i386.
* gcc.c-torture/execute/ieee/rbug.x: Remove all XFAIL markers for
FreeBSD.

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

22 years ago * g++.old-deja/g++.abi/aggregates.C: Do not skip i?86-*-freebsd*.
ljrittle [Fri, 4 Jan 2002 22:41:50 +0000 (22:41 +0000)]
* g++.old-deja/g++.abi/aggregates.C: Do not skip i?86-*-freebsd*.
* g++.old-deja/g++.abi/align.C: Likewise.
* g++.old-deja/g++.abi/bitfields.C: Likewise.

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

22 years ago * libI77/fio.h (FSEEK): Enforce type of second parameter to be
ljrittle [Fri, 4 Jan 2002 22:24:07 +0000 (22:24 +0000)]
* libI77/fio.h (FSEEK): Enforce type of second parameter to be
off_t when prototype is missing from system headers for the
non-standard function.

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

22 years ago * config/h8300/h8300.md (anonymous patterns): Check that
kazu [Fri, 4 Jan 2002 22:08:24 +0000 (22:08 +0000)]
* config/h8300/h8300.md (anonymous patterns): Check that
operands are registers before using REGNO on them.

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

22 years ago2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 4 Jan 2002 21:27:36 +0000 (21:27 +0000)]
2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>

* include/Makefile.am (std_headers): Remove cXXX from list.
(c_base_srcdir): No bits subdirectory.
(c_base_builddir): Same.
(c_base_headers): Adjust names, add ciso646.
(bits_headers): Remove std_xxx.h headers.
* include/Makefile.in: Regenerate.

* include/ext/iterator: Adjust includes.
* include/ext/ropeimpl.h: Same.
* include/ext/stl_hash_fun.h: Same.
* include/ext/algorithm: Same.

* include/backward/bvector.h: Adjust includes.
* include/backward/vector.h: Same.
* include/backward/strstream: Same.
* include/backward/streambuf.h: Same.
* include/backward/stack.h: Same.
* include/backward/set.h: Same.
* include/backward/queue.h: Same.
* include/backward/multiset.h: Same.
* include/backward/multimap.h: Same.
* include/backward/map.h: Same.
* include/backward/list.h: Same.
* include/backward/iterator.h: Same.
* include/backward/iostream.h: Same.
* include/backward/iomanip.h: Same.
* include/backward/fstream.h: Same.
* include/backward/deque.h: Same.
* include/backward/complex.h: Same.

* include/bits/std_algorithm.h: Move to...
* include/std/algorithm: ...here.
* include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
std_deque.h, std_istream.h, std_numeric.h, std_string.h,
std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
Same.

* include/c_std/bits/std_cassert.h: Move to...
* include/c_std/cassert: Here.
* include/c_std/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: Same.
* include/c_std/cmath: Adjust cmath.tcc include.
* include/c_std/cstdlib: Adjust includes.
* include/c_std/cwchar: Same.
* include/c_std/ctime: Same.
* include/c_std/cstring: Same.
* include/c_std/cstdio: Same.
* include/c_std/bits: Remove directory.

* include/c/bits/std_cassert.h: Move to...
* include/c/cassert: Here.
* include/c/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: Same.
* include/c/bits: Remove directory.

* include/std/cwctype: Remove.
* include/std/cwchar: Remove.
* include/std/ctime: Remove.
* include/std/cstring: Remove.
* include/std/cstdlib: Remove.
* include/std/cstdio: Remove.
* include/std/cstddef: Remove.
* include/std/cstdarg: Remove.
* include/std/csignal: Remove.
* include/std/csetjmp: Remove.
* include/std/cmath: Remove.
* include/std/clocale: Remove.
* include/std/climits: Remove.
* include/std/ciso646: Remove.
* include/std/cfloat: Remove.
* include/std/cerrno: Remove.
* include/std/cctype: Remove.
* include/std/cassert: Remove.

* include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
files and subsituting <.xxx>
* include/bits/valarray_array.h: Same.
* include/bits/stl_uninitialized.h: Same.
* include/bits/stl_alloc.h: Same.
* include/bits/stl_algobase.h: Same.
* include/bits/sstream.tcc: Same.
* include/bits/pthread_allocimpl.h: Same.
* include/bits/ostream.tcc: Same.
* include/bits/localefwd.h: Same.
* include/bits/locale_facets.tcc: Same.
* include/bits/locale_facets.h: Same.
* include/bits/istream.tcc: Same.
* include/bits/char_traits.h: Same.
* include/bits/boost_concept_check.h: Same.
* include/bits/basic_file.h: Same.
* include/std/bitset: Same.
* include/std/complex: Same.
* include/std/fstream: Same.
* include/std/functional: Same.
* include/std/ios: Same.
* include/std/iostream: Same.
* include/std/ostream: Same.
* include/std/sstream: Same.
* include/std/streambuf: Same.
* include/std/string: Same.
* include/std/iterator: Same.
* include/std/valarray: Same.

* src/ios.cc: Adjust includes.
* src/valarray-inst.cc: Same.
* src/string-inst.cc: Same.
* src/stl-inst.cc: Same.
* src/stdexcept.cc: Same.
* src/misc-inst.cc: Same.
* src/localename.cc: Same.
* src/locale-inst.cc: Same.
* src/locale.cc: Same.
* src/limits.cc: Same.
* src/concept-inst.cc: Same.
* src/complex_io.cc: Same.
* src/codecvt.cc: Same.
* src/bitset.cc: Same.
* src/cmath.cc: Same.

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

22 years ago * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
gerald [Fri, 4 Jan 2002 21:19:53 +0000 (21:19 +0000)]
* doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.

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

22 years ago * gcc.dg/20020104-2.c: New test.
jakub [Fri, 4 Jan 2002 21:05:50 +0000 (21:05 +0000)]
* gcc.dg/20020104-2.c: New test.

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

22 years ago * tree.h (expand_expr_stmt_value): Add maybe_last argument.
jakub [Fri, 4 Jan 2002 21:03:20 +0000 (21:03 +0000)]
* tree.h (expand_expr_stmt_value): Add maybe_last argument.
* c-common.h (genrtl_expr_stmt_value): Likewise.
* stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
(expand_expr_stmt_value): Add maybe_last argument.
Don't warn about statement with no effect if it is the last statement
in expression statement.
* c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
(genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
expand_expr_stmt_value.
(expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
* expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
as maybe_last to expand_expr_stmt_value.

* gcc.dg/20020104-1.c: New test.

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

22 years ago * java/lang/Thread.java (stop): No longer synchronized.
tromey [Fri, 4 Jan 2002 20:38:20 +0000 (20:38 +0000)]
* java/lang/Thread.java (stop): No longer synchronized.
(start): Likewise.

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

22 years ago * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
law [Fri, 4 Jan 2002 18:42:56 +0000 (18:42 +0000)]
    * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
        be passed in, do not build it.
        (c_begin_if_stmt): New function.
        (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
        * c-common.h (c_expand_start_cond): Update prototype.
        (c_begin_if_stmt): Prototype new function.
        (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
        * c-parse.in (if_prefix): Use c_begin_if_stmt,
        c_begin_while_stmt and c_finish_while_stmt_cond.

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

22 years ago2002-01-04 Paolo Carlini <pcarlini@unitus.it>
paolo [Fri, 4 Jan 2002 17:02:28 +0000 (17:02 +0000)]
2002-01-04  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/stl_tree.h (rb_tree):  Move to...
* include/ext/rb_tree:  ...here, new file.
        * include/Makefile.am (ext_headers):  Add new file.
        * include/Makefile.in:  Regenerate.
        * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
return_temporary_buffer, struct temporary_buffer):  Move to...
        * include/ext/memory:  ...here.
        * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
* include/backward/tempbuf.h:  Include <ext/memory>, tweak.
* include/backward/tree.h:  Include <ext/rb_tree), tweak.

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

22 years ago * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
wcohen [Fri, 4 Jan 2002 15:43:30 +0000 (15:43 +0000)]
* config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
* config/pa/pa-linux.h (ASM_FILE_START): Likewise.
* config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
* config/pa/som.h (ASM_FILE_START): Likewise.

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

22 years ago2001-01-04 Daniel Berlin <dan@cgsoftware.com>
dberlin [Fri, 4 Jan 2002 15:23:30 +0000 (15:23 +0000)]
2001-01-04  Daniel Berlin  <dan@cgsoftware.com>

* lcm.c: Include df.h.
Add available_transfer_function prototype.
(compute_available): Rework to use iterative dataflow framework.
(struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
with bb_info in df.h
(available_transfer_function): New function.

* Makefile.in (lcm.o): add df.h to dependencies.

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

22 years ago * class.c (update_vtable_entry_for_fn): Set delta to zero for a
jason [Fri, 4 Jan 2002 14:02:14 +0000 (14:02 +0000)]
    * class.c (update_vtable_entry_for_fn): Set delta to zero for a
        lost primary.

        * class.c (build_vtbl_initializer): Check for a lost primary
        before calculating the vtable entry to throw away.

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

22 years agoDaily bump.
gccadmin [Fri, 4 Jan 2002 08:16:10 +0000 (08:16 +0000)]
Daily bump.

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

22 years ago * config/alpha/alpha.c (some_operand): Accept HIGH.
rth [Fri, 4 Jan 2002 08:15:22 +0000 (08:15 +0000)]
* config/alpha/alpha.c (some_operand): Accept HIGH.
(input_operand): Likewise; accept simple references to globals.
(alpha_const_ok_for_letter_p): New, outlined from alpha.h.
(alpha_const_double_ok_for_letter_p): Likewise.
(alpha_extra_constraint): Likewise.
(alpha_preferred_reload_class): Likewise.  Do not force
symbolic constants to memory.
(alpha_legitimate_address_p): Accept simple references
to small_symbolic_operand.
(alpha_legitimize_address): New arg scratch.  Be prepared to be
called when no_new_pseudos.  Emit simple symbolic references.
Split integers into low, high, and rest.
(alpha_expand_mov): Use alpha_legitimize_address.
(some_small_symbolic_mem_operand): New.
(split_small_symbolic_mem_operand): New.
* config/alpha/alpha-protos.h: Update.
* config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
(CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
(EXTRA_CONSTRAINT): Likewise.
(PREFERRED_RELOAD_CLASS): Likewise.
(LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
(PREDICATE_CODES): Update.
* config/alpha/alpha.md: New post-reload splitters to convert
simplfied symbolic operands to the form that references $29.
(divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
(movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.

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

22 years ago * local-alloc.c (function_invariant_p): Update commentary.
rth [Fri, 4 Jan 2002 07:19:19 +0000 (07:19 +0000)]
    * local-alloc.c (function_invariant_p): Update commentary.

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

22 years ago * Makefile.in ($(LIBG2C):): Let libtool decide when to add -lc.
ljrittle [Fri, 4 Jan 2002 06:22:49 +0000 (06:22 +0000)]
* Makefile.in ($(LIBG2C):): Let libtool decide when to add -lc.

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

22 years ago * gcc.dg/20020103-1.c: Fix typo in target selector.
hp [Fri, 4 Jan 2002 05:57:59 +0000 (05:57 +0000)]
* gcc.dg/20020103-1.c: Fix typo in target selector.

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

22 years ago2002-01-04 H.J. Lu <hjl@gnu.org>
aj [Fri, 4 Jan 2002 05:41:24 +0000 (05:41 +0000)]
2002-01-04  H.J. Lu <hjl@gnu.org>

* toplev.c (rest_of_compilation): Fix a typo when calling
cleanup_cfg.

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

22 years ago * c-common.c: Fix formatting.
kazu [Fri, 4 Jan 2002 02:00:26 +0000 (02:00 +0000)]
* c-common.c: Fix formatting.
* diagnostic.c: Likewise.
* doloop.c: Likewise.
* dwarf2out.c: Likewise.

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

22 years ago * gcc.dg/20020103-1.c: New.
rth [Fri, 4 Jan 2002 01:10:38 +0000 (01:10 +0000)]
    * gcc.dg/20020103-1.c: New.

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

22 years ago * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
kazu [Fri, 4 Jan 2002 00:50:50 +0000 (00:50 +0000)]
* config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.

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

22 years agoRotate 6 months of ChangeLog entries into ChangeLog.6
law [Fri, 4 Jan 2002 00:19:27 +0000 (00:19 +0000)]
Rotate 6 months of ChangeLog entries into ChangeLog.6

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

22 years ago * cpperror.c: Update comments and copyright.
neil [Thu, 3 Jan 2002 21:43:09 +0000 (21:43 +0000)]
* cpperror.c: Update comments and copyright.
* cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.

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

22 years ago * collect2.c (main): Use strcmp when testing for "-shared".
danglin [Thu, 3 Jan 2002 19:34:16 +0000 (19:34 +0000)]
* collect2.c (main): Use strcmp when testing for "-shared".

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

22 years ago2002-01-02 Paolo Carlini <pcarlini@unitus.it>
paolo [Thu, 3 Jan 2002 19:02:18 +0000 (19:02 +0000)]
2002-01-02  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/stl_numeric.h (power + helpers, iota):  Move to...
* include/ext/numeric:  ...here, new file.
        * include/bits/stl_function.h (identity_element, unary_compose,
binary_compose, compose1, compose2, identity, select1st,
select2nd, project1st + helper, project2nd + helper,
constant_void_fun + helper, constant_unary_fun + helper,
costant_binary_fun + helper, constant0, constant1, constant2,
subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
        * include/ext/functional:  ...here, new file.
        * include/Makefile.am (ext_headers):  Add new files.
        * include/Makefile.in:  Regenerate.
        * testsuite/ext/headers.cc:  Include <ext/numeric> and
<ext/functional>.
* include/backward/algo.h:  Include <ext/numeric>, tweak.
* include/backward/function.h:  Include <ext/functional>, tweak.
        * include/ext/ropeimpl.h:  Include <ext/numeric>.

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

22 years ago * cppmacro.c: Don't include intl.h. Update comments.
neil [Thu, 3 Jan 2002 18:32:55 +0000 (18:32 +0000)]
* cppmacro.c: Don't include intl.h.  Update comments.
(new_number_token): Allocate enough buffer for 64-bit unsigned
integers; update prototype.
* cppmain.c: Update comments.

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

22 years agoCorrect ChangeLog entry: toc_section -> ASM_FILE_START.
dje [Thu, 3 Jan 2002 18:16:31 +0000 (18:16 +0000)]
Correct ChangeLog entry: toc_section -> ASM_FILE_START.

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

22 years ago * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
law [Thu, 3 Jan 2002 18:03:15 +0000 (18:03 +0000)]
    * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
        __strtoull declarations with __extension__.

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

22 years ago * function.h (struct function): Add profile.
wcohen [Thu, 3 Jan 2002 17:40:07 +0000 (17:40 +0000)]
* function.h (struct function): Add profile.
(current_function_profile): New.
doc/extend.texi: Update documentation.
* final.c (final_start_function): Use current_function_profile
instead of profile_flag.
(profile_after_prologue): Likewise.
* function.c (expand_function_start): Likewise.
(expand_function_start): Likewise.
* config/alpha/alpha.c (direct_call_operand):
(alpha_does_function_need_gp): Likewise.
(alpha_expand_prologue): Likewise.
* config/arm/arm.c (arm_expand_prologue): Likewise.
thumb_expand_prologue: Likewise.
* config/d30v/d30v.c (d30v_stack_info): Likewise.
* config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
(fr30_expand_prologue): Likewise.
* config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
* config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
* config/i386/i386.h (FINALIZE_PIC): Likewise.
* config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
* config/i960/i960.c (i960_output_function_prologue): Likewise.
* config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
* config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
(m32r_expand_prologue): Likewise.
* config/m88k/m88k.c (m88k_layout_frame): Likewise.
(m88k_expand_prologue): Likewise.
* config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
* config/mips/mips.c (compute_frame_size): Likewise.
(mips_expand_prologue): Likewise.
(mips_can_use_return_insn): Likewise.
* config/pa/elf.h (ASM_FILE_START): Likewise.
* config/pa/pa-linux.h (ASM_FILE_START): Likewise.
* config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
* config/pa/som.h (ASM_FILE_START): Likewise.
* config/romp/romp.c (romp_using_r14): Likewise.
* config/rs6000/rs6000.c (first_reg_to_save): Likewise.
(rs6000_stack_info): Likewise.
* config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
* config/rs6000/xcoff.h (toc_section): Likewise.
* config/v850/v850.c (compute_register_save_size): Likewise.

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

22 years ago * simplify-rtx.c (simplify_binary_operation) [DIV]: If
jakub [Thu, 3 Jan 2002 17:24:13 +0000 (17:24 +0000)]
* simplify-rtx.c (simplify_binary_operation) [DIV]: If
gen_lowpart_common fails, use gen_lowpart_SUBREG.

* gcc.c-torture/compile/20020103-1.c: New test.

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

22 years ago * darwin.c (machopic_output_possible_stub_label): Don't generate
turly [Thu, 3 Jan 2002 17:18:25 +0000 (17:18 +0000)]
* darwin.c (machopic_output_possible_stub_label): Don't generate
stub routines for pseudo-stubs which we've just defined.

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

22 years ago * builtins.c: Fix formatting.
kazu [Thu, 3 Jan 2002 16:05:54 +0000 (16:05 +0000)]
* builtins.c: Fix formatting.
* c-typeck.c: Likewise.
* combine.c: Likewise.
* expr.c: Likewise.
* loop.c: Likewise.

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

22 years ago2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
billingd [Thu, 3 Jan 2002 14:25:14 +0000 (14:25 +0000)]
2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>

* testsuite/lib/prune.exp: Correct regular expression for
-ffunction-sections

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

22 years ago * g++.dg/other/debug2.C: New test.
jakub [Thu, 3 Jan 2002 10:01:23 +0000 (10:01 +0000)]
* g++.dg/other/debug2.C: New test.

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

22 years ago * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
schwab [Thu, 3 Jan 2002 09:41:00 +0000 (09:41 +0000)]
* cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
and return true if _cpp_push_next_buffer pushed a new include
file.
* cpplib.c (_cpp_pop_buffer): Only call obstack_free if
_cpp_pop_file_buffer did not push a new file.
* cpphash.h (_cpp_pop_file_buffer): Update declaration.

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

22 years ago2002-01-02 Eric Christopher <echristo@redhat.com>
echristo [Thu, 3 Jan 2002 09:18:22 +0000 (09:18 +0000)]
2002-01-02  Eric Christopher  <echristo@redhat.com>

* final.c (final_scan_insn): Change 0 -> NULL_RTX in
FIND_REG_INC_NOTE call. Update copyright.
* loop.c (canonicalize_condition): Ditto.
* reorg.c (delete_scheduled_jump): Ditto.

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

22 years agoDaily bump.
gccadmin [Thu, 3 Jan 2002 08:16:20 +0000 (08:16 +0000)]
Daily bump.

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

22 years ago * class.c (compile_resource_file): Update copyright date.
grahams [Thu, 3 Jan 2002 07:50:49 +0000 (07:50 +0000)]
    * class.c (compile_resource_file): Update copyright date.
        Constify filename parameter.
        java-tree.h: Update copyright date.
        (compile_resource_file): Constify filename parameter.

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

22 years ago * gcse.c: Fix formatting.
kazu [Thu, 3 Jan 2002 06:36:42 +0000 (06:36 +0000)]
* gcse.c: Fix formatting.

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

22 years ago * gcc/jcf-parse.c: Update copyright date.
grahams [Thu, 3 Jan 2002 05:47:27 +0000 (05:47 +0000)]
    * gcc/jcf-parse.c: Update copyright date.
        (yyparse): Constify resource_filename.

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

22 years ago * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
grahams [Thu, 3 Jan 2002 05:22:51 +0000 (05:22 +0000)]
* mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
  forward defs for struct tags rtx_def, union_tree, rtvec_def
  also output corresponding typedefs for rtxm, tree, and rtvcec.

  * system.h: Move forward defs for struct tags rtx_def, union_tree,
  rtvec_def along with corresponding typedefs for rtx, tree, and
  rtvcec to config.h, hconfig.h, tconfig.h

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

22 years ago * tree.h: Update copyright date.
grahams [Thu, 3 Jan 2002 05:18:25 +0000 (05:18 +0000)]
    * tree.h: Update copyright date.
        (IS_EXPR_CODE_CLASS): Add parenthesis.
        (TREE_SET_CODE): Add whitespace.
        (TREE_CHECK): Add parenthesis.
        (TREE_CLASS_CODE): Add parenthesis and wrap long line.
        (CST_OR_CONSTRUCTOR_CHECK):
        (EXPR_CHECK): Add parenthis, whitespace and wrap line.
        (TREE_SYMBOL_REFERENCED): Whitespace.
        (INT_CST_LT): Likewise.
        (INT_CST_LT_UNSIGNED): Likewise.
        (tree_real_cst): Unwrap comment.
        (tree_string): Likewise.
        (tree_complex): Likewise.
        (IDENTIFIER_POINTER): correct cast.
        (SAVE_EXPR_CONTEXT): Whitespace.
        (EXPR_WFL_FILENAME_NODE): Likewise.
        (EXPR_WFL_FILENAME): Remove parenthesis.
        (DECL_ORIGIN): Add parenthesis.
        (DECL_FROM_INLINE): Use NULL_TREE.
        (build_int_2): Whitespace.
        (build_type_variant): Add parenthesis.

        * gcc/jcf-parse.c: Update copyright date.
        (yyparse): Constify resource_filename.

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

22 years ago * rtl.h: Update copyright date.
grahams [Thu, 3 Jan 2002 05:11:05 +0000 (05:11 +0000)]
    * rtl.h: Update copyright date.
        (RTL_CHECK1): Wrap long line.
        (RTL_CHECK2): Likewise.
        (RTL_CHECKC1): Wrap long line and whitespace.
        (RTL_CHECKC2): Likewise.
        (XWINT): Whitespace.
        (XINT): Likewise.
        (XSTR): Likewise.
        (XEXP): Likewise.
        (XVEC): Likewise.
        (XMODE): Likewise.
        (XBITMAP): Likewise.
        (XTREE): Likewise.
        (XBBDEF): Likewise.
        (XTMPL): Likewise.
        (X0WINT): Likewise.
        (X0INT):Likewise.
        (X0UINT): Likewise.
        (X0STR): Likewise.
        (X0EXP): Likewise.
        (X0VEC): Likewise.
        (X0MODE): Likewise.
        (X0BITMAP): Likewise.
        (X0TREE): Likewise.
        (X0BBDEF): Likewise.
        (X0ADVFLAGS): Likewise.
        (X0CSELIB): Likewise.
        (X0MEMATTR): Likewise.
        (XCWINT): Likewise.
        (XCINT): Likewise.
        (XCUINT): Likewise.
        (XCSTR): Likewise.
        (XCEXP): Likewise.
        (XCVEC): Likewise.
        (XCMODE): Likewise.
        (XCBITMAP): Likewise.
        (XCTREE): Likewise.
        (XCBBDEF): Likewise.
        (XCADVFLAGS): Likewise.
        (XCCSELIB): Likewise.
        (XC2EXP): Likewise.
        (INSN_UID): Likewise.
        (PREV_INSN): Likewise.
        (PATTERN): Likewise.
        (INSN_CODE): Likewise.
        (PUT_REG_NOTE_KIND): Likewise.
        (CODE_LABEL_NUMBER): Likewise.
        (NOTE_SOURCE_FILE): Likewise.
        (NOTE_BLOCK): Likewise.
        (NOTE_EH_HANDLER): Likewise.
        (NOTE_RANGE_INFO): Likewise.
        (NOTE_LIVE_INFO): Likewise.
        (NOTE_BASIC_BLOCK): Likewise.
        (NOTE_EXPECTED_VALUE): Likewise.
        (NOTE_LINE_NUMBER): Likewise.
        (LABEL_NAME): Likewise.
        (LABEL_NUSES): Likewise.
        (LABEL_ALTERNATE_NAME): Likewise.
        (ADDRESSOF_DECL): Likewise.
        (JUMP_LABEL): Likewise.
        (LABEL_NEXTREF): Likewise.
        (REGNO): Likewise.
        (ORIGINAL_REGNO: Likewise.
        (HARD_REGISTER_NUM_P): Add parenthesis.
        (SUBREG_REG): Whitespace.
        (SUBREG_BYTE): Likewise.
        (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
        (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
        (ASM_OPERANDS_OUTPUT_IDX): Likewise.
        (ASM_OPERANDS_INPUT_VEC): Likewise.
        (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
        (ASM_OPERANDS_INPUT): Likewise.
        (ASM_OPERANDS_INPUT_LENGTH): Likewise.
        (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
        (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
        (ASM_OPERANDS_INPUT_MODE): Likewise.
        (ASM_OPERANDS_SOURCE_FILE): Likewise.
        (ASM_OPERANDS_SOURCE_LINE): Likewise.
        (MEM_SET_IN_STRUCT_P): Minor reformat.
        (TRAP_CONDITION): Whitespace.
        (TRAP_CODE): Likewise.
        (COND_EXEC_TEST): Likewise.
        (COND_EXEC_CODE): Likewise.
        (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
        (PHI_NODE_P): Add parenthesis.
        (plus_constant): Whitespace and add paraenthese.

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

22 years ago * config/avr/avr.c: Fix comment typos.
kazu [Thu, 3 Jan 2002 05:04:34 +0000 (05:04 +0000)]
* config/avr/avr.c: Fix comment typos.
* config/c4x/c4x.md: Likewise.
* config/dsp16xx/dsp16xx.h: Likewise.
* config/dsp16xx/dsp16xx.md: Likewise.
* config/i386/i386.md: Likewise.
* config/ia64/ia64.c: Likewise.
* config/m32r/m32r.h: Likewise.
* config/m68hc11/m68hc11.md: Likewise.
* config/mmix/mmix.c: Likewise.
* config/mn10200/mn10200.c: Likewise.
* config/romp/romp.c: Likewise.
* config/sh/sh.c: Likewise.
* config/stormy16/stormy16.c: Likewise.
* config/stormy16/stormy16.h: Likewise.
* config/stormy16/stormy16.md: Likewise.

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

22 years ago2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
rodrigc [Thu, 3 Jan 2002 05:01:04 +0000 (05:01 +0000)]
2001-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        PR bootstrap/5117
        * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
        * Makefile.am: Move grepjar to bin_PROGRAMS.
        * config.h.in: Regenerated.
        * Makefile.in: Regenerated.
        * aclocal.m4: Regenerated.
        * stamp-h.in: Regenerated.
        * jargrep.c: Eliminate some signed/unsigned and default
        uninitialized warnings. Use HAVE_STDLIB_H instead of
        STDC_HEADERS macro.
        * jartool.c: Likewise.
        * compress.c: Likewise.

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

22 years ago * rtl.h: Update copyright date.
grahams [Thu, 3 Jan 2002 04:59:07 +0000 (04:59 +0000)]
    * rtl.h: Update copyright date.
        (LOOP_MOVABLES): Fix typo.
        (LOOP_REGS): Likewise.
        (LOOP_IVS): Likewise.

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

22 years ago2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
rodrigc [Thu, 3 Jan 2002 04:57:56 +0000 (04:57 +0000)]
2001-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        PR bootstrap/5117
        * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
        * Makefile.am: Move grepjar to bin_PROGRAMS.
        * config.h.in: Regenerated.
        * Makefile.in: Regenerated.
        * aclocal.m4: Regenerated.
        * jargrep.c: Eliminate some signed/unsigned and default
        uninitialized warnings. Use HAVE_STDLIB_H instead of
        STDC_HEADERS macro.
        * jartool.c: Likewise.
        * compress.c: Likewise.

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

22 years ago2002-01-02 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 3 Jan 2002 04:44:07 +0000 (04:44 +0000)]
2002-01-02  Phil Edwards  <pme@gcc.gnu.org>

* include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
Change concept checks, as with lower_bound and PR 2054.
* testsuite/ext/concept_checks.cc:  Expand test to include those.

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

22 years ago2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
rodrigc [Thu, 3 Jan 2002 04:37:11 +0000 (04:37 +0000)]
2002-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        PR c/5226
        * invoke.texi (-mthreads): Remove from documented RS/6000 options.
        (-pthread) Add to RS/6000 options.

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

22 years ago * cppinit.c: Update copyright date.
grahams [Thu, 3 Jan 2002 03:55:19 +0000 (03:55 +0000)]
    * cppinit.c: Update copyright date.
        Don't include output.h
        * Makefile.in: Update copyright date.
        Update dependency.

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

22 years ago2002-01-02 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 3 Jan 2002 03:21:19 +0000 (03:21 +0000)]
2002-01-02  Phil Edwards  <pme@gcc.gnu.org>

* include/bits/boost_concept_check.h:  Import some changes from
upsteam (Boost) version.

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

22 years ago * except.c: Fix comment typos.
kazu [Thu, 3 Jan 2002 00:53:36 +0000 (00:53 +0000)]
* except.c: Fix comment typos.
* loop.c: Likewise.
* varasm.c: Likewise.
* doc/tm.texi: Fix a typo.

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

22 years ago * c-typeck.c (output_init_element): Allow initializing static storage
jakub [Wed, 2 Jan 2002 23:43:24 +0000 (23:43 +0000)]
* c-typeck.c (output_init_element): Allow initializing static storage
duration objects with compound literals.

* gcc.dg/gnu89-init-1.c: Added new tests.

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

22 years ago * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
rth [Wed, 2 Jan 2002 23:22:52 +0000 (23:22 +0000)]
    * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
        after abusing it.

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

22 years ago * gcc.c (default_compilers): Const-ify.
ghazi [Wed, 2 Jan 2002 23:18:59 +0000 (23:18 +0000)]
* gcc.c (default_compilers): Const-ify.
* mips-tdump.c (stab_names): Likewise.
* mips-tfile.c (map_coff_types, map_coff_storage,
map_coff_sym_type, map_coff_derived_type, stabs_symbol,
pseudo_ops_t, pseudo_ops): Likewise.
* protoize.c (default_include): Likewise

f:
* com.c (clear_binding_level): Const-ify.
(ffecom_arglist_expr_): Likewise.
* info.c (ffeinfo_types_): Don't needlessly zero init.
* lex.c (ffelex_hash_kludge): Const-ify.

java:
* parse.y (src_parse_roots): Don't needlessly zero init.

libiberty:
* cp-demangle.c (long_options): Const-ify.
* cplus-dem.c (long_options): Likewise.

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

22 years ago * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
ghazi [Wed, 2 Jan 2002 23:11:30 +0000 (23:11 +0000)]
* real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
(ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
Add array size in declaration.
(endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
emtens, make_nan): Const-ify.
(TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.

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

22 years ago * config.gcc (ia64-*-*): Set extra_headers.
jsm28 [Wed, 2 Jan 2002 22:50:01 +0000 (22:50 +0000)]
* config.gcc (ia64-*-*): Set extra_headers.
(alpha*-dec-osf*): Likewise.  Don't use alpha/t-osf.
* config/alpha/t-osf: Remove.
* config/ia64/t-ia64 (EXTRA_HEADERS): Remove.

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

22 years ago * config/rs6000/t-aix43: Revert previous change.
dje [Wed, 2 Jan 2002 21:59:29 +0000 (21:59 +0000)]
    * config/rs6000/t-aix43: Revert previous change.

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

22 years ago * c-decl.c (c_expand_body): Call outlining_inline_function when
rth [Wed, 2 Jan 2002 18:28:43 +0000 (18:28 +0000)]
    * c-decl.c (c_expand_body): Call outlining_inline_function when
        emitting an inline function out of line.

        * semantics.c (expand_body): Call outlining_inline_function when
        emitting an inline function out of line.

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

22 years ago * dwarf2out.c (limbo_die_node): Add created_for member.
rth [Wed, 2 Jan 2002 18:22:13 +0000 (18:22 +0000)]
    * dwarf2out.c (limbo_die_node): Add created_for member.
        (new_die): New argument created_for.  Update all callers.
        (mark_limbo_die_list): New.
        (dwarf2out_init): Register limbo_die_list as a root.
        (dwarf2out_finish): Force insert limbo dies into their function
        context.

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

22 years ago * cplus-dem.c (mystrstr): Delete. All callers changed to use
ghazi [Wed, 2 Jan 2002 17:07:40 +0000 (17:07 +0000)]
* cplus-dem.c (mystrstr): Delete.  All callers changed to use
strstr instead.

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

22 years ago * java/lang/ieeefp.h: Fix bug in my hand-application of previous
tromey [Wed, 2 Jan 2002 15:58:39 +0000 (15:58 +0000)]
* java/lang/ieeefp.h: Fix bug in my hand-application of previous
patch.

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

22 years agocp:
nathan [Wed, 2 Jan 2002 15:17:07 +0000 (15:17 +0000)]
cp:
PR c++/5116, c++/764 reversion
* call.c (build_new_op): Revert the instantiations. They are
incorrect.
testsuite:
* g++.dg/template/friend2.C: Remove as patch is reverted.

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

22 years ago2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
tromey [Wed, 2 Jan 2002 15:07:16 +0000 (15:07 +0000)]
2002-1-1  Andrew Pinski  <pinskia@physics.uc.edu>

* libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
PPC Darwin, not for all of Darwin.

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

22 years ago PR c++/5089
nathan [Wed, 2 Jan 2002 13:59:10 +0000 (13:59 +0000)]
PR c++/5089
* doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
cp:
PR c++/5089
* decl2.c (reparse_absdcl_as_casts): Don't warn about casts to void.
testsuite:
* g++.dg/warn/oldcast1.C: New test.

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

22 years agocp:
nathan [Wed, 2 Jan 2002 13:55:23 +0000 (13:55 +0000)]
cp:
PR c++/3716
* pt.c (tsubst_aggr_type): Move pmf handling into tsubst.
(tsubst, case POINTER_TYPE): Handle pmfs here.
(tsubst, case OFFSET_TYPE): Check it is not an offset to
reference. If it is offset to FUNCTION_TYPE, create a METHOD_TYPE.
testsuite:
* g++.dg/template/ptrmem1.C: New test.
* g++.dg/template/ptrmem2.C: New test.

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

22 years agocp:
nathan [Wed, 2 Jan 2002 12:50:11 +0000 (12:50 +0000)]
cp:
PR c++/35
* cp-tree.h (DECL_LANG_FLAG_0): Used for PARM_DECL too.
(DECL_TEMPLATE_PARM_P): A PARM_DECL might be one too.
* pt.c (process_template_parm): SET_DECL_TEMPLATE_PARM_P on the
PARM_DECL.
(tsubst_template_parms): Break up loop statements.
(tsubst_decl, case PARM_DECL): Copy DECL_TEMPLATE_PARM_P. Template
parm PARM_DECLs don't get promoted.
testsuite:
* g++.dg/template/ntp.C: New test.

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

22 years agocp:
nathan [Wed, 2 Jan 2002 12:47:26 +0000 (12:47 +0000)]
cp:
PR c++/5123
* typeck.c (build_component_ref): Cope with a TEMPLATE_ID_EXPR.
(build_x_function_call): Cope with a COMPONENT_REF containing a
TEMPLATE_ID_EXPR.
testsuite:
* g++.dg/other/component1.C: New test.

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

22 years agocp:
nathan [Wed, 2 Jan 2002 12:44:44 +0000 (12:44 +0000)]
cp:
PR c++/5213
* pt.c (convert_template_argument): Be more careful determining
when RECORD_TYPE templates are or are not templates.
testsuite:
* g++.dg/template/ttp3.C: New test.

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

22 years ago2002-01-02 Paolo Carlini <pcarlini@unitus.it>
paolo [Wed, 2 Jan 2002 12:16:56 +0000 (12:16 +0000)]
2002-01-02  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/stl_algobase.h (copy_n + helpers,
lexicographical_compare_3way + helpers):  Move to...
* include/ext/algorithm:  ...here.
        * include/bits/stl_uninitialized.h (uninitialized_copy_n +
        helpers):  Move to...
        * include/ext/memory:  ...here, new file.
        * include/Makefile.am (ext_headers):  Add new file.
        * include/Makefile.in:  Regenerate.
        * testsuite/ext/headers.cc:  Include <ext/memory>.
* include/backward/algobase.h:  Include <ext/memory> and
<ext/algorithm>, tweak.
        * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
* include/ext/stl_rope.h:  Include <ext/memory>, tweak.

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

22 years agocp:
nathan [Wed, 2 Jan 2002 11:37:00 +0000 (11:37 +0000)]
cp:
PR c++/775
* cp-tree.h (handle_class_head): Adjust prototype.
* decl2.c (handle_class_head): Add DEFN_P and NEW_TYPE_P
parameters. Use for all class heads.
* parse.y (named_class_head_sans_basetype, named_class_head,
named_complex_class_head_sans_basetype,
named_class_head_sans_basetype_defn,
unnamed_class_head): Remove.
(class_head, class_head_apparent_template): Recognize class heads
(class_head_decl, class_head_defn): New reductions. Process class
heads.
(structsp): Adjust class definition and class declaration
reductions.
(maybe_base_class_list): Give diagnostic on empty list.
testsuite:
* g++.dg/template/friend2.C: New test.
* g++.old-deja/g++/brendan/crash8.C: Adjust location of error.

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

22 years agocp:
nathan [Wed, 2 Jan 2002 11:32:34 +0000 (11:32 +0000)]
cp:
PR c++/4379
* typeck.c (build_x_unary_op): Don't destroy the OFFSET_REF on a
single non-static member.
(unary_complex_lvalue): If it cannot be a pointer to member, don't
make it so. Check it is not pointer to reference.
testsuite:
* g++.dg/other/ptrmem1.C: New test.
* g++.dg/other/ptrmem2.C: New test.

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

22 years agocp:
nathan [Wed, 2 Jan 2002 11:29:15 +0000 (11:29 +0000)]
cp:
PR c++/5132
* decl2.c (reparse_absdcl_as_casts): Don't digest_init if we
are processing a template decl.
testsuite:
* g++.dg/template/ctor1.C: New test.

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

22 years agocp:
nathan [Wed, 2 Jan 2002 11:26:12 +0000 (11:26 +0000)]
cp:
PR c++/5116, c++/764
* call.c (build_new_op): Make sure template class operands are
instantiated. Simplify arglist construction.
testsuite:
* g++.dg/template/friend2.C: New test.

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

22 years agoDaily bump.
gccadmin [Wed, 2 Jan 2002 08:16:12 +0000 (08:16 +0000)]
Daily bump.

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

22 years ago * config/h8300/fixunssfsi.c: Update copyright.
kazu [Wed, 2 Jan 2002 07:57:15 +0000 (07:57 +0000)]
* config/h8300/fixunssfsi.c: Update copyright.
Fix comment typos.
Fix formatting.
* config/h8300/h8300.c: Update copyright.
Eliminate warnings.

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

22 years ago * config/romp/romp.c: Fix comment formatting.
kazu [Wed, 2 Jan 2002 06:47:47 +0000 (06:47 +0000)]
* config/romp/romp.c: Fix comment formatting.
* config/romp/romp.h: Likewise.
* config/romp/romp.md: Likewise.
* config/s390/s390.c: Likewise.
* config/stormy16/stormy16.c: Likewise.
* config/stormy16/stormy16.h: Likewise.

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

22 years agoFix for rs6000_emit_allocate_stack's use of rs6000_emit_set_long_const for ppc64.
trix [Wed, 2 Jan 2002 03:48:53 +0000 (03:48 +0000)]
Fix for rs6000_emit_allocate_stack's use of rs6000_emit_set_long_const for ppc64.

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

22 years ago * warn_summary: Add -ada subdirectory flag.
ghazi [Wed, 2 Jan 2002 03:35:21 +0000 (03:35 +0000)]
* warn_summary: Add -ada subdirectory flag.

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

22 years ago* c-common.h (genrtl_expr_stmt_value): Declare.
aoliva [Wed, 2 Jan 2002 02:31:58 +0000 (02:31 +0000)]
* c-common.h (genrtl_expr_stmt_value): Declare.
* c-semantics.c (genrtl_goto_stmt): Redirect to...
(genrtl_goto_stmt_value): ... this new function.  Pass new
argument down to expand_expr_stmt_value, taking
TREE_ADDRESSABLE into account.
* c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
STMT_EXPR as addressable, i.e., one whose result we want.
* expr.c (expand_expr): Don't save expression statement value
of labeled_blocks or loop_exprs.
* stmt.c (expand_expr_stmt): Redirect to...
(expand_expr_stmt_value): ... this new function.  Use new
argument to tell whether to save expression value.
(expand_end_stmt_expr): Reset last_expr_type and
last_expr_value if we don't have either.
* tree-inline.c (declare_return_variable): Mark its use
statement as addressable.
* tree.h: Document new use of TREE_ADDRESSABLE.
(expand_expr_stmt_value): Declare.

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

22 years ago2001-12-29 Andreas Tobler <a.tobler@schweiz.ch>
tromey [Tue, 1 Jan 2002 23:36:11 +0000 (23:36 +0000)]
2001-12-29 Andreas Tobler <a.tobler@schweiz.ch>

* libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
Darwin.

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

22 years ago * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
jsm28 [Tue, 1 Jan 2002 23:21:01 +0000 (23:21 +0000)]
* configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
${srcdir}/ginclude/ to every entry in extra_headers.
* configure: Regenerate.
* ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
* ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
* ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
* ginclude/proto.h: Rename to config/convex/proto.h.

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

22 years agoFix corrupted hunk
kenner [Tue, 1 Jan 2002 22:28:36 +0000 (22:28 +0000)]
Fix corrupted hunk

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

22 years ago * attribs.c (handle_vector_size_attribute): Use host_integerp
kenner [Tue, 1 Jan 2002 22:22:25 +0000 (22:22 +0000)]
* attribs.c (handle_vector_size_attribute): Use host_integerp
and tree_int_cst; remove warnings.
* caller-save.c (insert_restore): Add cast to get rid of warning.
(insert_save): Likewise.
* emit-rtl.c (adjust_address_1, offset_address): Likewise.
* regmove.c (find_matches): Add temporary var to kill a warning.

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

22 years ago * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
kenner [Tue, 1 Jan 2002 22:15:20 +0000 (22:15 +0000)]
* config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
* config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
(vms-dwarf2eh.o): Add Makefile rule.
* config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
* config/alpha/vms-dwarf2eh.asm: New file.

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

22 years ago * gcc.c (delete_if_ordinary): Delete all versions.
kenner [Tue, 1 Jan 2002 21:48:58 +0000 (21:48 +0000)]
* gcc.c (delete_if_ordinary): Delete all versions.

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

22 years agoUpdate copyright years list
hp [Tue, 1 Jan 2002 21:11:23 +0000 (21:11 +0000)]
Update copyright years list

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

22 years ago * config/mmix/mmix.md: Update FIXME to not mention
hp [Tue, 1 Jan 2002 20:52:28 +0000 (20:52 +0000)]
* config/mmix/mmix.md: Update FIXME to not mention
define_constants.
(MMIX_rJ_REGNUM): New define_constants constant.
("movqi", "movsi", "movdi", "*movdicc_real_foldable",
"*movdicc_real"): Adjust contraints formatting.
("*bCC_foldable"): Add %+ for P in output format and delete FIXME
for branch prediction.
("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
output template.
("*call_real", "*call_value_real", "nonlocal_goto_receiver",
"*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
number.  Delete related FIXMEs.
* config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
from number to MMIX_rJ_REGNUM.
(TARGET_MASK_BRANCH_PREDICT): New.
(TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
(TARGET_SWITCHES): Update comment.  Correct -mno-toplevel-symbols
value.  Add -mbranch-predict and -mno-branch-predict.
(TARGET_VERSION): Drop date.
(ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
* config/mmix/mmix.c (mmix_encode_section_info): Correct condition
for finding out global symbols.
(mmix_asm_output_labelref): Revert condition for global symbol.
(mmix_print_operand): <case '+'>: Emit P for a likely branch.
(mmix_print_operand_punct_valid_p): A '+' is valid.

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

22 years ago * gcc.dg/mmix-1.c: New test.
hp [Tue, 1 Jan 2002 20:48:31 +0000 (20:48 +0000)]
* gcc.dg/mmix-1.c: New test.

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

22 years ago2002-01-01 Roger Sayle <roger@eyesopen.com>
aj [Tue, 1 Jan 2002 19:50:16 +0000 (19:50 +0000)]
2002-01-01  Roger Sayle <roger@eyesopen.com>

* libmath/stubs.c (sinf,cosf): Implement stubs to enable the
equivalent ___builtin__ versions.

* include/c_shadow/bits/std_cmath.h: All __builtin math functions
are available in libstdc++ as the necessary stub implementations
are provided by libmath/stubs.c.

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

22 years ago* MAINTAINERS (Write After Approval): Add myself.
thorpej [Tue, 1 Jan 2002 18:27:37 +0000 (18:27 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

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

22 years ago* configure.in: Add support for NetBSD cross compiles.
thorpej [Tue, 1 Jan 2002 18:12:06 +0000 (18:12 +0000)]
* configure.in: Add support for NetBSD cross compiles.
* configure: Regenerate.

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

22 years ago * configure.in (uintptr_t): Use AC_CHECK_TYPE.
kenner [Tue, 1 Jan 2002 10:01:43 +0000 (10:01 +0000)]
* configure.in (uintptr_t): Use AC_CHECK_TYPE.
* configure: Regenerated.

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

22 years agoDaily bump.
gccadmin [Tue, 1 Jan 2002 08:16:26 +0000 (08:16 +0000)]
Daily bump.

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

22 years ago * parse.y (dump_java_tree): New function.
tromey [Tue, 1 Jan 2002 01:42:15 +0000 (01:42 +0000)]
* parse.y (dump_java_tree): New function.
(source_end_java_method): Call it.
(end_class_declaration): Likewise.
* lang.c (java_decode_option): Call dump_switch_p.

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

22 years ago * config/ia64/ia64.c (mark_reg_gr_used_mask): Mind HARD_REGNO_NREGS.
rth [Tue, 1 Jan 2002 00:23:22 +0000 (00:23 +0000)]
    * config/ia64/ia64.c (mark_reg_gr_used_mask): Mind HARD_REGNO_NREGS.

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

22 years ago* aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
dj [Mon, 31 Dec 2001 23:23:49 +0000 (23:23 +0000)]
* aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
* configure: Regenerated.

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