OSDN Git Service
mmitchel [Wed, 30 Oct 2002 00:05:36 +0000 (00:05 +0000)]
PR c++/8287
* decl.c (finish_destructor_body): Create the label to jump to
when returning from a destructor here.
(finish_function_body): Rather than here.
PR c++/8287
* g++.dg/init/dtor2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58643
138bc75d-0d04-0410-961f-
82ee72b054a4
kristerw [Tue, 29 Oct 2002 23:03:17 +0000 (23:03 +0000)]
* configure.in: Disable hash sync when not using threads.
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58641
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Tue, 29 Oct 2002 22:39:49 +0000 (22:39 +0000)]
* doc/c-tree.texi (Tree overview): Fix typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58640
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Tue, 29 Oct 2002 22:18:07 +0000 (22:18 +0000)]
PR ada/6558
* Make-lang.in (gnatbind): Depend on CONFIG_H
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58637
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Tue, 29 Oct 2002 22:01:18 +0000 (22:01 +0000)]
PR ada/6558
* misc.c: Unrevert misc.c (1.13)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58636
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Tue, 29 Oct 2002 21:37:13 +0000 (21:37 +0000)]
2002-10-29 Phil Edwards <pme@gcc.gnu.org>
* Makefile.in (gnucompare*): Only record bad comparisons
if there really was a bad comparison.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58635
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Tue, 29 Oct 2002 19:41:35 +0000 (19:41 +0000)]
* i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Remove 'H'
* i386.md (movsf*, movdf*): Use 'C' instead of 'H'
* md.texi (machine dependent constraints): Document 'C'
* simplify-rtx.c (simplify_subreg): Fix const_int->vector subregging.
* i386.c (ix86_expand_vector_move): Fix.
* i386.c (ix86_expand_builtin): Use sse2_maskmovdqu_rex64.
* i386.md (sse2_maskmovdqu_rex64): New pattern
PR target/8322
* xmmintrin.h (_mm_stream_pi, _mm_stream_pd): Fix cast.
(ix86_init_mmx_sse_builtins): Fix type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58631
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Tue, 29 Oct 2002 18:23:02 +0000 (18:23 +0000)]
* gthr-posix.h: Include <unistd.h> for feature tests.
(sched_get_priority_max, sched_get_priority_min)
(pthread_getschedparam, pthread_setschedparam): Only use
if _POSIX_THREAD_PRIORITY_SCHEDULING is defined.
(__gthread_objc_thread_set_priority): Don't treat all non-zero
returns from sched_get_priority_max and sched_get_priority_min
as an error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58630
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 29 Oct 2002 18:03:37 +0000 (18:03 +0000)]
* config/h8300/h8300.h (TARGET_DEFAULT): Make it
MASK_QUICKCALL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58629
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 29 Oct 2002 17:55:45 +0000 (17:55 +0000)]
* config/h8300/h8300.c (h8300_eightbit_constant_address_p): New.
(h8300_tiny_constant_address_p): Likewise.
* config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Use
h8300_eightbit_constant_address_p.
(TINY_CONSTANT_ADDRESS_P): Use h8300_tiny_constant_address_p.
* config/h8300/h8300-protos.h: Add the prototypes for the two
new functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58628
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 29 Oct 2002 17:47:12 +0000 (17:47 +0000)]
* reload1.c (update_eliminables): Unconditionally check if
frame_pointer_needed has changed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58627
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Tue, 29 Oct 2002 14:39:38 +0000 (14:39 +0000)]
* toplev.c (rest_of_compilation): Reorganize way reg_scan is called
before final pass.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58624
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 29 Oct 2002 14:20:16 +0000 (14:20 +0000)]
* expr.c (expand_expr) [PLUS]: Don't use simplify_binary_operation;
check for zero operands explicitly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58623
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Tue, 29 Oct 2002 13:47:10 +0000 (13:47 +0000)]
* config/mips/mips.md (extv, extzv, insv): Set size of referenced
memory after adjusting to BLKmode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58621
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 29 Oct 2002 12:29:54 +0000 (12:29 +0000)]
* config/h8300/h8300.h (MASK_*): New.
(TARGET_*): Use MASK_*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58620
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 29 Oct 2002 08:17:23 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58619
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Tue, 29 Oct 2002 01:10:52 +0000 (01:10 +0000)]
* testsuite/thread/pthread5.cc: Include <unistd.h>
if _GLIBCPP_HAVE_UNISTD_H is defined.
(main): Only use pthread_attr_setscope if
_POSIX_THREAD_PRIORITY_SCHEDULING is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58608
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Mon, 28 Oct 2002 23:31:55 +0000 (23:31 +0000)]
* testsuite/thread/pthread1.cc: Enable on *-*-netbsd*.
* testsuite/thread/pthread2.cc: Likewise.
* testsuite/thread/pthread3.cc: Likewise.
* testsuite/thread/pthread4.cc: Likewise.
* testsuite/thread/pthread5.cc: Likewise.
* testsuite/thread/pthread6.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58606
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Mon, 28 Oct 2002 18:10:56 +0000 (18:10 +0000)]
* gcc.dg/
20021014-1.c: Bypass errors on solaris2 and irix6.
* gcc.dg/nest.c: Bypass errors on irix6.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58600
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Mon, 28 Oct 2002 17:20:36 +0000 (17:20 +0000)]
* config.gcc (*-*-netbsd*): Add NETBSD_ENABLE_PTHREADS to
tm_defines if pthreads are enabled.
* config/netbsd.h (LIB_SPEC): Only support the -pthread option
if NETBSD_ENABLE_PTHREADS is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58599
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Mon, 28 Oct 2002 16:19:22 +0000 (16:19 +0000)]
2002-10-28 Nathanael Nerode <neroden@gcc.gnu.org>
* a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update
maintainership comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58597
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 28 Oct 2002 14:07:45 +0000 (14:07 +0000)]
* ChangeLog.1: Fix typos.
* cse.c: Fix a comment typo.
* reload1.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58596
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Mon, 28 Oct 2002 09:26:58 +0000 (09:26 +0000)]
* MAINTAINERS: Remove "co-maintainer" note for web pages.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58595
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 28 Oct 2002 08:17:15 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58594
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sun, 27 Oct 2002 19:35:01 +0000 (19:35 +0000)]
* gcc.dg/nest.c: Expect error for mmix-*-*.
* gcc.dg/
20021014-1.c: Use dg-error, not dg-build.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58586
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sun, 27 Oct 2002 17:58:36 +0000 (17:58 +0000)]
* fixinc/inclhack.def (libc1_G_va_list): Correct test_text.
* fixinc/tests/base/_G_config.h: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58585
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Sun, 27 Oct 2002 17:02:29 +0000 (17:02 +0000)]
Resorted the entries
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58584
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 27 Oct 2002 14:47:55 +0000 (14:47 +0000)]
* combine.c: Fix comment formatting.
* loop.c: Likewise.
* real.c: Likewise.
* regclass.c: Likewise.
* regmove.c: Likewise.
* regrename.c: Likewise.
* reg-stack.c: Likewise.
* reload1.c: Likewise.
* reload.c: Likewise.
* reload.h: Likewise.
* unroll.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58583
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 27 Oct 2002 14:21:37 +0000 (14:21 +0000)]
* reload1.c (reload): Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58582
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sun, 27 Oct 2002 09:20:22 +0000 (09:20 +0000)]
* linux64.h (DEFAULT_PCC_STRUCT_RETURN): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58579
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Sun, 27 Oct 2002 09:14:04 +0000 (09:14 +0000)]
* Makefile.in (dwarf2out.o): Add dependendcy on hashtab.h.
* dwarf2out.c: Include hashtab.h.
(is_main_source): New static variable.
(attr_checksum, die_checksum): Modified to handle die references.
(same_loc_p, same_dw_val_p, same_attr_p, same_die_p, same_die_p_wrap,
unmark_all_dies, htab_cu_hash, htab_cu_eq, htab_cu_del, check_duplicate_cu,
record_comdat_symbol_number): New static functions.
(output_comp_unit, compute_section_prefix, is_type_die, break_out_includes,
mark_dies, unmark_dies, dwarf2out_start_source_file): Modified.
* toplev.c (rest_of_decl_compilation): Call of dwarf2out_decl for type
declarations added.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58578
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 27 Oct 2002 07:35:06 +0000 (07:35 +0000)]
2002-10-27 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/8347
* include/bits/basic_string.tcc
(string::_S_construct(_InIter, _InIter, const _Alloc&,
forward_iterator_tag)): Do not throw logic error if
__beg == NULL && __end == __beg.
(string::string(const _CharT*, const _Alloc&)): Tweak.
* testsuite/21_strings/ctor_copy_dtor.cc: Add test05 from PR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58577
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 27 Oct 2002 07:17:14 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58576
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sun, 27 Oct 2002 01:00:34 +0000 (01:00 +0000)]
* partition.h: Close the extern "C" scope when compiling with C++.
* getopt.h: Update copyright year from the previous patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58570
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sun, 27 Oct 2002 00:54:50 +0000 (00:54 +0000)]
PR bootstrap/8351
* getopt.h: Avoid prototyping getopt with no arguments in C++.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58569
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Sat, 26 Oct 2002 19:25:32 +0000 (19:25 +0000)]
2002-10-26 Andris Pavenis <pavenis@latnet.lv>
* lang-specs.h: Fix ratfor specs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58565
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 26 Oct 2002 19:25:26 +0000 (19:25 +0000)]
* config/h8300/h8300.c (initial_offset): Change to
h8300_initial_elimination_offset.
* config/h8300/h8300.h (INITIAL_ELIMINATION_OFFSET): Use
h8300_initial_elimination_offset.
* config/h8300/h8300-protos.h: Update the prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58564
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sat, 26 Oct 2002 18:06:01 +0000 (18:06 +0000)]
* config/mmix/mmix.h (LIBCALL_VALUE): Use
MMIX_RETURN_VALUE_REGNUM, not MMIX_OUTGOING_RETURN_VALUE_REGNUM.
(FUNCTION_VALUE_REGNO_P): Similar, but move code to...
* config/mmix/mmix.c (mmix_function_value_regno_p): New.
* config/mmix/mmix-protos.h: Remove needless ifdefs on TREE_CODE
and RTX_CODE.
(mmix_function_value_regno_p): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58563
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sat, 26 Oct 2002 14:03:12 +0000 (14:03 +0000)]
* gcc.dg/wint_t-1.c, gcc.dg/wchar_t-1.c: Remove excess-errors
markers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58562
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 26 Oct 2002 07:17:23 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58561
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sat, 26 Oct 2002 06:01:20 +0000 (06:01 +0000)]
Premature commit: obvious change somehow won't work. Sorry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58554
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sat, 26 Oct 2002 05:44:18 +0000 (05:44 +0000)]
* gcc.dg/nest.c, gcc.dg/
20021014-1.c: Expect build failure on
mmix-*-*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58553
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sat, 26 Oct 2002 02:27:17 +0000 (02:27 +0000)]
* config/mmix/mmix.md ("fixuns_truncdfdi2"): Replace unsigned_fix,
invalid for floating point mode result, with fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58552
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Sat, 26 Oct 2002 01:21:28 +0000 (01:21 +0000)]
Add note about what it fixes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58551
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Sat, 26 Oct 2002 01:18:52 +0000 (01:18 +0000)]
* c-typeck.c (warn_for_assignment): Don't print argument number, if zero.
Fixes gcc.dg/warn-1.c.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58550
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Sat, 26 Oct 2002 01:15:16 +0000 (01:15 +0000)]
Add gcc.dg/warn-1.c
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58549
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 26 Oct 2002 00:44:44 +0000 (00:44 +0000)]
* call.c (build_over_call): Use DECL_CONTEXT, not
DECL_VIRTUAL_CONTEXT.
* class.c (modify_vtable_entry): Don't mess with
DECL_VIRTUAL_CONTEXT.
(set_vindex): Remove.
(set_primary_base): Remove vfuns_p parameter.
(determine_primary_base): Likewise.
(modify_all_vtables): Likewise.
(layout_class_type): Likewise. Adjust calls to other functions
accordingly.
(finish_struct_1): Adjust calls to modified functions. Set
DECL_VINDEX here.
* cp-tree.h (lang_type_class): Remove vsize.
(CLASSTYPE_VSIZE): Remove.
(lang_decl): Remove thunks.
(DECL_THUNKS): Adjust.
(DECL_VIRTUAL_CONTEXT): Remove.
(duplicate_decls): Don't copy it.
* pt.c (build_template_decl): Don't set it.
(tsubst_decl): Likewise.
* typeck.c (expand_ptrmemfunc_cst): Don't use it.
* g++.dg/lookup/ptrmem1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58548
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Fri, 25 Oct 2002 23:46:06 +0000 (23:46 +0000)]
* toplev.c (dump_file_index): Add DFI_ce3.
(dump_file_info): Likewise.
(rest_of_compilation): Run first ifcvt pass before tracer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58547
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Fri, 25 Oct 2002 22:49:58 +0000 (22:49 +0000)]
2002-10-25 Phil Edwards <pme@gcc.gnu.org>
* Makefile.tpl (bootstrap): Add bubblestrap, quickstrap, cleanstrap,
and restrap targets to this rule.
* Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58545
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Fri, 25 Oct 2002 22:18:37 +0000 (22:18 +0000)]
* config/ia64/hpux.h (BITS_BIG_ENDIAN): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58543
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 25 Oct 2002 22:01:44 +0000 (22:01 +0000)]
PR c++/7266
cp:
* decl.c (grokdeclarator): Check that TREE_OPERAND 0 of a
SCOPE_REF is not null before dereferencing it.
testsuite:
* g++.dg/template/typename3.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58540
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 25 Oct 2002 21:58:12 +0000 (21:58 +0000)]
* real.c (real_to_decimal): If the >1 tens reduction loop results
in a negative exponent, fall into the <1 pten computation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58538
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Fri, 25 Oct 2002 19:47:32 +0000 (19:47 +0000)]
* MAINTAINERS: Add Wolfgang Bangerth and Volker Reichelt under
GNATS only accounts.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58537
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 25 Oct 2002 19:39:47 +0000 (19:39 +0000)]
* class.c (build_vtbl_initializer): Don't use build_vtable_entry.
(build_vtable_entry): Remove.
* cp-tree.h (BINFO_VIRTUALS): Expand documentation.
(lang_decl): Add thunks.
(DECL_THUNKS): New macro.
* decl.c (duplicate_decls): Copy it.
* method.c (make_thunk): Simplify, and add thunks to DECL_THUNKS.
* semantics.c (emit_associated_thunks): Simplify.
* g++.dg/abi/vthunk2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58536
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 25 Oct 2002 17:26:52 +0000 (17:26 +0000)]
PR middle-end/6994
* c-objc-common.c (inline_forbidden_p): Can not inline
functions containing structures or unions containing VLAs.
* tree-inline.c (walk_tree): For all class 't' nodes, walk
TYPE_SIZE and TYPE_SIZE_UNIT.
(copy_tree_r): Copy types if they are variably modified.
* g++.dg/ext/vla1.C, gcc.dg/vla-2.c: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58535
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 25 Oct 2002 15:13:05 +0000 (15:13 +0000)]
PR c++/7228
* cp-tree.h (CLASSTYPE_READONLY_FIELDS_NEED_INIT): Check that
lang_type structure exists before accessing field.
(SET_CLASSTYPE_READONLY_FIELDS_NEED_INIT): New macro.
(CLASSTYPE_REF_FIELDS_NEED_INIT): Similar.
(SET_CLASSTYPE_REF_FIELDS_NEED_INIT): New macro.
* class.c (check_field_decls): Use new macros.
* typeck2.c (process_init_constructor): Remove redundant check for
existence of lang_type structure.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58532
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Fri, 25 Oct 2002 12:28:17 +0000 (12:28 +0000)]
* config/s390/s390.md: Remove old-style peepholes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58531
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Fri, 25 Oct 2002 12:26:40 +0000 (12:26 +0000)]
* config/s390/s390.c (s390_decompose_address): Do not range check the
displacement if base or index is the argument pointer register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58530
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 25 Oct 2002 07:18:27 +0000 (07:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58527
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 25 Oct 2002 06:01:55 +0000 (06:01 +0000)]
* class.c (end_of_base): New method.
(end_of_class): Use it. Check indirect virtual bases.
* g++.dg/abi/empty9.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58521
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 25 Oct 2002 03:28:00 +0000 (03:28 +0000)]
* java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
(_Jv_FindSymbolInExecutable): Removed argument name.
(insertSystemProperties): Call _Jv_SetDLLSearchPath if
java.library.path is set.
* gij.cc (help): Document --showversion.
(version): Don't exit.
(main): Handle --showversion. Exit if --version given.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58520
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 25 Oct 2002 03:27:02 +0000 (03:27 +0000)]
* gcj.texi (Invoking gij): Document --showversion.
(Standard Properties): java.library.path now set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58519
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 24 Oct 2002 23:43:48 +0000 (23:43 +0000)]
* class.c (check_field_decls): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58517
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 24 Oct 2002 23:43:47 +0000 (23:43 +0000)]
* class.c (check_field_decls): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58516
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 24 Oct 2002 23:39:38 +0000 (23:39 +0000)]
PR other/3337
PR bootstrap/6763
PR bootstrap/8122
* testsuite/testsuite_hooks.cc (__set_testsuite_memlimit): Use
__typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
(Forgot to add PR markers. Doh!)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58515
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 24 Oct 2002 23:38:27 +0000 (23:38 +0000)]
PR other/3337
PR bootstrap/6763
PR bootstrap/8122
* fixinc/inclhack.def (libc1_G_va_list): New fix.
* fixinc/fixincl.x: Regenerate.
* config/i386/linux.h: Move MD_FALLBACK_FRAME_STATE_FOR inside
ifndef IN_LIBGCC2. Wrap it together with signal.h and
sys/ucontext.h inclusion in ifndef USE_GNULIBC_1.
* configure.in (gcc_AC_CHECK_DECLS): Check vasprintf too.
* config.in, configure: Regenerate.
(Forgot to add PR markers. Doh!)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58514
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Thu, 24 Oct 2002 23:36:25 +0000 (23:36 +0000)]
* ansidecl.h (__STDC__): Add (__alpha && __cplusplus) to the
list of platform compilers that may look, smell and act
like __STDC__ but that may not define it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58513
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 24 Oct 2002 23:27:27 +0000 (23:27 +0000)]
* testsuite/testsuite_hooks.cc (__set_testsuite_memlimit): Use
__typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58512
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 24 Oct 2002 23:25:07 +0000 (23:25 +0000)]
* configure.in (i[3456]86-*-linux*): Add check to disable
${libgcj} for glibc1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58511
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 24 Oct 2002 23:22:47 +0000 (23:22 +0000)]
* fixinc/inclhack.def (libc1_G_va_list): New fix.
* fixinc/fixincl.x: Regenerate.
* config/i386/linux.h: Move MD_FALLBACK_FRAME_STATE_FOR inside
ifndef IN_LIBGCC2. Wrap it together with signal.h and
sys/ucontext.h inclusion in ifndef USE_GNULIBC_1.
* configure.in (gcc_AC_CHECK_DECLS): Check vasprintf too.
* config.in, configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58510
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 24 Oct 2002 23:00:32 +0000 (23:00 +0000)]
* varasm.c (struct rtx_const): Array size 16 for V16QImode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58509
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 24 Oct 2002 22:36:25 +0000 (22:36 +0000)]
* config/i386/i386.c (x86_output_mi_thunk): Fix x86_64 pic jump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58508
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 24 Oct 2002 21:58:21 +0000 (21:58 +0000)]
* config/h8300/h8300.c (initial_offset): Simplify by using
round_frame_size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58507
138bc75d-0d04-0410-961f-
82ee72b054a4
marekm [Thu, 24 Oct 2002 20:32:28 +0000 (20:32 +0000)]
* doc/install.texi (avr): Update required binutils version.
* doc/install.texi: Point avr users at more up-to-date information.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58505
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Thu, 24 Oct 2002 20:19:10 +0000 (20:19 +0000)]
* config/s390/s390.md (movdi, movsi, movhi, movqi): Add peepholes2
to pull operands out of the literal pool where possible.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58504
138bc75d-0d04-0410-961f-
82ee72b054a4
denisc [Thu, 24 Oct 2002 20:07:21 +0000 (20:07 +0000)]
* config/avr/avr.c (init_cumulative_args): Test fntype for zero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58503
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Thu, 24 Oct 2002 19:52:23 +0000 (19:52 +0000)]
* expr.c (convert_move): If unsignedp is less then zero there
is no equivalent code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58502
138bc75d-0d04-0410-961f-
82ee72b054a4
denisc [Thu, 24 Oct 2002 19:50:09 +0000 (19:50 +0000)]
* MAINTAINERS: Add myself as ip2k port maintainer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58501
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Thu, 24 Oct 2002 18:01:37 +0000 (18:01 +0000)]
* tree.def: Delete mention of nonexistent ARRAY_TYPE fields.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58500
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Thu, 24 Oct 2002 17:55:16 +0000 (17:55 +0000)]
Regenerated
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58499
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 24 Oct 2002 17:45:23 +0000 (17:45 +0000)]
* libjava.lang/Primes.java: Removed.
* libjava.lang/Primes.out: Removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58498
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Thu, 24 Oct 2002 17:07:11 +0000 (17:07 +0000)]
* config/s390/s390.h: Rework comments; re-sort target macro definitions
according to the sequence they are defined in the manual.
(POINTER_BOUNDARY): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58495
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 24 Oct 2002 14:08:23 +0000 (14:08 +0000)]
* config/h8300/h8300.c (round_frame_size): Replace 8 with
BITS_PER_UNIT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58493
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 24 Oct 2002 10:45:19 +0000 (10:45 +0000)]
* config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Make it
64-bit safe.
(TINY_CONSTANT_ADDRESS_P): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58492
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 24 Oct 2002 09:16:36 +0000 (09:16 +0000)]
* config/ia64/ia64.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
(ia64_output_mi_thunk): Rewrite to use rtl, and to handle the
vcall offset.
* g++.dg/inherit/thunk1.C: Enable for ia64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58491
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 24 Oct 2002 09:02:24 +0000 (09:02 +0000)]
* reload.c (find_reloads_toplev): Mode of X is not important
when simplifying subregs of constants.
* g++.dg/opt/reload1.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58490
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 24 Oct 2002 08:51:00 +0000 (08:51 +0000)]
* config.gcc (mips64vr-*-elf*, mips64vrel-*-elf*): Add
MIPS_MARCH_CONTROLS_SOFT_FLOAT=1 to $tm_defines.
* config/mips/mips.c (MIPS_MARCH_CONTROLS_SOFT_FLOAT): Default to 0.
(override_options): Base default setting of MASK_SOFT_FLOAT on -march
if MIPS_MARCH_CONTROLS_SOFT_FLOAT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58488
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 24 Oct 2002 08:48:27 +0000 (08:48 +0000)]
* optabs.c (expand_binop): Don't reuse the shift target in the
middle of shift sequences.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58487
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 24 Oct 2002 07:17:50 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58486
138bc75d-0d04-0410-961f-
82ee72b054a4
zlaski [Thu, 24 Oct 2002 00:46:02 +0000 (00:46 +0000)]
2002-10-23 Ziemowit Laski <zlaski@apple.com>
* objc/objc-act.c (get_static_reference): Remove unneeded
TYPE_BINFO initialization.
(get_object-reference): Likewise.
(build_constructor): Tighten precondition check.
(finish_message_expr): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58480
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 24 Oct 2002 00:01:37 +0000 (00:01 +0000)]
PR c++/8067
* decl.c (maybe_inject_for_scope_var): Ignore __FUNCTION__ and
related variables.
PR c++/8067
* g++.dg/lookup/pretty1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58477
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 23 Oct 2002 23:19:55 +0000 (23:19 +0000)]
* jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
(array_from_valist): Correctly handle promotion for jint, jlong,
jfloat, and jdouble.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58476
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 23 Oct 2002 22:56:13 +0000 (22:56 +0000)]
For PR java/6388:
* libjava.lang/pr6388.java: New file.
* libjava.lang/pr6388.out: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58475
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 23 Oct 2002 22:47:31 +0000 (22:47 +0000)]
* gjavah.c (decode_signature_piece): In JNI mode, print
`jobjectArray' when array depth is nonzero.
Fixes PR java/8296.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58474
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 23 Oct 2002 21:20:08 +0000 (21:20 +0000)]
* config/i386/i386.c (local_symbolic_operand): Move LABEL_REF test
after CONST test.
* gcc.dg/
20021023-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58469
138bc75d-0d04-0410-961f-
82ee72b054a4
megacz [Wed, 23 Oct 2002 20:44:24 +0000 (20:44 +0000)]
2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
* java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
GetFileAttributesEx( ) to find file length and modification times,
as the latter is not present on Windows 95.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58466
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 23 Oct 2002 18:38:23 +0000 (18:38 +0000)]
PR c++/7679
* spew.c (next_token): Do not return an endless stream of
END_OF_SAVED_INPUT tokens.
(snarf_method): Add three END_OF_SAVED_INPUT tokens to the end of
the cached token stream.
(snarf_defarg): Likewise.
PR c++/7679
* g++.dg/parse/inline1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58465
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Wed, 23 Oct 2002 18:18:31 +0000 (18:18 +0000)]
* config/ia64/ia64.c (hfa_element_mode): Don't allow 128 bit floats
in HFAs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58464
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 23 Oct 2002 18:00:17 +0000 (18:00 +0000)]
* g++.dg/inherit/thunk1.C: Enable for x86_64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58463
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 23 Oct 2002 17:55:56 +0000 (17:55 +0000)]
* config/alpha/alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
(alpha_output_mi_thunk_osf): Handle vcall_offset.
* g++.dg/inherit/thunk1.C: Enable for s390 and alpha.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58462
138bc75d-0d04-0410-961f-
82ee72b054a4