1. 05 Jan, 2002 7 commits
  2. 04 Jan, 2002 25 commits
    • aggregates.C: Corrected last patch: removed extra triple that slipped in. · 302d2f14
      	* 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.
      
      From-SVN: r48551
      Loren J. Rittle committed
    • rbug.c: Force FP to extended-precision on FreeBSD/i386. · 28434337
      	* 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.
      
      From-SVN: r48548
      Loren J. Rittle committed
    • aggregates.C: Do not skip i?86-*-freebsd*. · 3693730e
      	* 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.
      
      From-SVN: r48547
      Loren J. Rittle committed
    • fio.h (FSEEK): Enforce type of second parameter to be off_t when... · f1ec5635
      	* 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.
      
      From-SVN: r48546
      Loren J. Rittle committed
    • h8300.md (anonymous patterns): Check that operands are registers before using REGNO on them. · 96eb1157
      	* config/h8300/h8300.md (anonymous patterns): Check that
      	operands are registers before using REGNO on them.
      
      From-SVN: r48545
      Kazu Hirata committed
    • Makefile.am (std_headers): Remove cXXX from list. · 54c1bf78
      
      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.
      
      From-SVN: r48544
      Benjamin Kosnik committed
    • * gcc.dg/20020104-2.c: New test. · 336b7dca
      From-SVN: r48542
      Jakub Jelinek committed
    • tree.h (expand_expr_stmt_value): Add maybe_last argument. · b0832fe1
      	* 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.
      
      From-SVN: r48541
      Jakub Jelinek committed
    • Thread.java (stop): No longer synchronized. · 81550d0e
      	* java/lang/Thread.java (stop): No longer synchronized.
      	(start): Likewise.
      
      From-SVN: r48540
      Tom Tromey committed
    • c-common.c (c_expand_start_cond): Expect the IF_STMT node to be passed in, do not build it. · c1e14513
              * 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.
      
      From-SVN: r48539
      Jeff Law committed
    • stl_tree.h (rb_tree): Move to... · 3b007b5d
      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.
      
      From-SVN: r48538
      Paolo Carlini committed
    • elf.h (ASM_FILE_START): Reverted to profile_flag. · b6ec437a
      	* 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.
      
      From-SVN: r48537
      William Cohen committed
    • lcm.c: Include df.h. · 517b711f
      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.
      
      From-SVN: r48536
      Daniel Berlin committed
    • class.c (update_vtable_entry_for_fn): Set delta to zero for a lost primary. · f11ee281
              * 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.
      
      From-SVN: r48535
      Jason Merrill committed
    • Daily bump. · 7b4795cc
      From-SVN: r48532
      GCC Administrator committed
    • alpha.c (some_operand): Accept HIGH. · 551cc6fd
      	* 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.
      
      From-SVN: r48531
      Richard Henderson committed
    • * gcc.dg/20020103-1.c: Fix typo in target selector. · fee5bdb0
      From-SVN: r48528
      Hans-Peter Nilsson committed
    • toplev.c (rest_of_compilation): Fix a typo when calling cleanup_cfg. · c4cc12b7
      2002-01-04  H.J. Lu <hjl@gnu.org>
      
      	* toplev.c (rest_of_compilation): Fix a typo when calling
      	cleanup_cfg.
      
      From-SVN: r48527
      H.J. Lu committed
    • c-common.c: Fix formatting. · 173bf5be
      	* c-common.c: Fix formatting.
      	* diagnostic.c: Likewise.
      	* doloop.c: Likewise.
      	* dwarf2out.c: Likewise.
      
      From-SVN: r48526
      Kazu Hirata committed
    • * gcc.dg/20020103-1.c: New. · 0b223645
      From-SVN: r48525
      Richard Henderson committed
    • h8300.c (output_logical_op): Use 'not.w' instead of 'neg.w' when xoring with… · 187462ac
      h8300.c (output_logical_op): Use 'not.w' instead of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
      
      	* config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
      	of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
      
      From-SVN: r48524
      Kazu Hirata committed
    • Rotate 6 months of ChangeLog entries into ChangeLog.6 · 619acae7
      From-SVN: r48523
      Jeff Law committed
  3. 03 Jan, 2002 8 commits
    • cpperror.c: Update comments and copyright. · 5d8ebbd8
      	* 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.
      
      From-SVN: r48522
      Neil Booth committed
    • stl_numeric.h (power + helpers, iota): Move to... · 01b0d4b8
      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>.
      
      From-SVN: r48519
      Paolo Carlini committed
    • cppmacro.c: Don't include intl.h. · d15a58c0
      	* 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.
      
      From-SVN: r48518
      Neil Booth committed
    • Correct ChangeLog entry: toc_section -> ASM_FILE_START. · 2fd17409
      From-SVN: r48517
      David Edelsohn committed
    • os_defines.h: Prefix __strtoll and __strtoull declarations with __extension__. · 0487b51c
              * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
              __strtoull declarations with __extension__.
      
      From-SVN: r48516
      Jeff Law committed
    • function.h (struct function): Add profile. · 70f4f91c
      	* 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.
      
      From-SVN: r48515
      William Cohen committed
    • simplify-rtx.c (simplify_binary_operation): If gen_lowpart_common fails, use gen_lowpart_SUBREG. · cb1ac742
      	* 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.
      
      From-SVN: r48514
      Jakub Jelinek committed