Geert Bosch [Tue, 29 Oct 2002 22:01:18 +0000 (23:01 +0100)]
re PR ada/6558 (Wrongly reverted patches)
PR ada/6558
* misc.c: Unrevert misc.c (1.13)
From-SVN: r58636
Phil Edwards [Tue, 29 Oct 2002 21:37:13 +0000 (21:37 +0000)]
Makefile.in (gnucompare*): Only record bad comparisons if there really was a bad comparison.
2002-10-29 Phil Edwards <pme@gcc.gnu.org>
* Makefile.in (gnucompare*): Only record bad comparisons
if there really was a bad comparison.
From-SVN: r58635
Jan Hubicka [Tue, 29 Oct 2002 19:41:35 +0000 (20:41 +0100)]
re PR target/8322 (SSE2 intrinsics broken?)
* 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.
From-SVN: r58631
Jason Thorpe [Tue, 29 Oct 2002 18:23:02 +0000 (18:23 +0000)]
gthr-posix.h: Include <unistd.h> for feature tests.
* 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.
From-SVN: r58630
Kazu Hirata [Tue, 29 Oct 2002 18:03:37 +0000 (18:03 +0000)]
h8300.h (TARGET_DEFAULT): Make it MASK_QUICKCALL.
* config/h8300/h8300.h (TARGET_DEFAULT): Make it
MASK_QUICKCALL.
From-SVN: r58629
Kazu Hirata [Tue, 29 Oct 2002 17:55:45 +0000 (17:55 +0000)]
h8300.c (h8300_eightbit_constant_address_p): New.
* 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.
From-SVN: r58628
Kazu Hirata [Tue, 29 Oct 2002 17:47:12 +0000 (17:47 +0000)]
reload1.c (update_eliminables): Unconditionally check if frame_pointer_needed has changed.
* reload1.c (update_eliminables): Unconditionally check if
frame_pointer_needed has changed.
From-SVN: r58627
Jan Hubicka [Tue, 29 Oct 2002 14:39:38 +0000 (15:39 +0100)]
toplev.c (rest_of_compilation): Reorganize way reg_scan is called before final pass.
* toplev.c (rest_of_compilation): Reorganize way reg_scan is called
before final pass.
From-SVN: r58624
Eric Botcazou [Tue, 29 Oct 2002 14:20:16 +0000 (15:20 +0100)]
expr.c (expand_expr): Don't use simplify_binary_operation; check for zero operands explicitly.
* expr.c (expand_expr) [PLUS]: Don't use simplify_binary_operation;
check for zero operands explicitly.
From-SVN: r58623
Richard Sandiford [Tue, 29 Oct 2002 13:47:10 +0000 (13:47 +0000)]
mips.md (extv, [...]): Set size of referenced memory after adjusting to BLKmode.
* config/mips/mips.md (extv, extzv, insv): Set size of referenced
memory after adjusting to BLKmode.
From-SVN: r58621
Kazu Hirata [Tue, 29 Oct 2002 12:29:54 +0000 (12:29 +0000)]
h8300.h (MASK_*): New.
* config/h8300/h8300.h (MASK_*): New.
(TARGET_*): Use MASK_*.
From-SVN: r58620
GCC Administrator [Tue, 29 Oct 2002 08:17:23 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r58619
Jason Thorpe [Tue, 29 Oct 2002 01:10:52 +0000 (01:10 +0000)]
pthread5.cc: Include <unistd.h> if _GLIBCPP_HAVE_UNISTD_H is defined.
* 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.
From-SVN: r58608
Jason Thorpe [Mon, 28 Oct 2002 23:31:55 +0000 (23:31 +0000)]
pthread1.cc: Enable on *-*-netbsd*.
* 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.
From-SVN: r58606
Kaveh R. Ghazi [Mon, 28 Oct 2002 18:10:56 +0000 (18:10 +0000)]
20021014-1.c: Bypass errors on solaris2 and irix6.
* gcc.dg/
20021014-1.c: Bypass errors on solaris2 and irix6.
* gcc.dg/nest.c: Bypass errors on irix6.
From-SVN: r58600
Jason Thorpe [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.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.
From-SVN: r58599
Nathanael Nerode [Mon, 28 Oct 2002 16:19:22 +0000 (16:19 +0000)]
a-chlat9.ads [...]: Update maintainership comments.
2002-10-28 Nathanael Nerode <neroden@gcc.gnu.org>
* a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update
maintainership comments.
From-SVN: r58597
Kazu Hirata [Mon, 28 Oct 2002 14:07:45 +0000 (14:07 +0000)]
ChangeLog.1: Fix typos.
* ChangeLog.1: Fix typos.
* cse.c: Fix a comment typo.
* reload1.c: Likewise.
From-SVN: r58596
Gerald Pfeifer [Mon, 28 Oct 2002 09:26:58 +0000 (10:26 +0100)]
* MAINTAINERS: Remove "co-maintainer" note for web pages.
From-SVN: r58595
GCC Administrator [Mon, 28 Oct 2002 08:17:15 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r58594
Hans-Peter Nilsson [Sun, 27 Oct 2002 19:35:01 +0000 (19:35 +0000)]
nest.c: Expect error for mmix-*-*.
* gcc.dg/nest.c: Expect error for mmix-*-*.
* gcc.dg/
20021014-1.c: Use dg-error, not dg-build.
From-SVN: r58586
Hans-Peter Nilsson [Sun, 27 Oct 2002 17:58:36 +0000 (17:58 +0000)]
inclhack.def (libc1_G_va_list): Correct test_text.
* fixinc/inclhack.def (libc1_G_va_list): Correct test_text.
* fixinc/tests/base/_G_config.h: New file.
From-SVN: r58585
Bruce Korb [Sun, 27 Oct 2002 17:02:29 +0000 (17:02 +0000)]
Resorted the entries
From-SVN: r58584
Kazu Hirata [Sun, 27 Oct 2002 14:47:55 +0000 (14:47 +0000)]
combine.c: Fix comment formatting.
* 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.
From-SVN: r58583
Kazu Hirata [Sun, 27 Oct 2002 14:21:37 +0000 (14:21 +0000)]
* reload1.c (reload): Fix a comment typo.
From-SVN: r58582
Jan Hubicka [Sun, 27 Oct 2002 09:20:22 +0000 (10:20 +0100)]
* linux64.h (DEFAULT_PCC_STRUCT_RETURN): Define.
From-SVN: r58579
Zdenek Dvorak [Sun, 27 Oct 2002 09:14:04 +0000 (10:14 +0100)]
Makefile.in (dwarf2out.o): Add dependendcy on hashtab.h.
* 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.
From-SVN: r58578
Paolo Carlini [Sun, 27 Oct 2002 07:35:06 +0000 (08:35 +0100)]
re PR libstdc++/8347 (empty vector range used in string construction causes core dump.)
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.
From-SVN: r58577
GCC Administrator [Sun, 27 Oct 2002 07:17:14 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r58576
Roger Sayle [Sun, 27 Oct 2002 01:00:34 +0000 (01:00 +0000)]
partition.h: Close the extern "C" scope when compiling with C++.
* partition.h: Close the extern "C" scope when compiling with C++.
* getopt.h: Update copyright year from the previous patch.
From-SVN: r58570
Roger Sayle [Sun, 27 Oct 2002 00:54:50 +0000 (00:54 +0000)]
re PR bootstrap/8351 (3.3
20021024 (experimental) fails to bootstrap on cygwin)
PR bootstrap/8351
* getopt.h: Avoid prototyping getopt with no arguments in C++.
Co-Authored-By: DJ Delorie <dj@redhat.com>
From-SVN: r58569
Andris Pavenis [Sat, 26 Oct 2002 19:25:32 +0000 (22:25 +0300)]
lang-specs.h: Fix ratfor specs.
2002-10-26 Andris Pavenis <pavenis@latnet.lv>
* lang-specs.h: Fix ratfor specs.
From-SVN: r58565
Kazu Hirata [Sat, 26 Oct 2002 19:25:26 +0000 (19:25 +0000)]
h8300.c (initial_offset): Change to h8300_initial_elimination_offset.
* 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.
From-SVN: r58564
Hans-Peter Nilsson [Sat, 26 Oct 2002 18:06:01 +0000 (18:06 +0000)]
mmix.h (LIBCALL_VALUE): Use MMIX_RETURN_VALUE_REGNUM, not MMIX_OUTGOING_RETURN_VALUE_REGNUM.
* 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.
From-SVN: r58563
Hans-Peter Nilsson [Sat, 26 Oct 2002 14:03:12 +0000 (14:03 +0000)]
wint_t-1.c, [...]: Remove excess-errors markers.
* gcc.dg/wint_t-1.c, gcc.dg/wchar_t-1.c: Remove excess-errors
markers.
From-SVN: r58562
GCC Administrator [Sat, 26 Oct 2002 07:17:23 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r58561
Hans-Peter Nilsson [Sat, 26 Oct 2002 06:01:20 +0000 (06:01 +0000)]
Premature commit: obvious change somehow won't work. Sorry.
From-SVN: r58554
Hans-Peter Nilsson [Sat, 26 Oct 2002 05:44:18 +0000 (05:44 +0000)]
nest.c, [...]: Expect build failure on mmix-*-*.
* gcc.dg/nest.c, gcc.dg/
20021014-1.c: Expect build failure on
mmix-*-*.
From-SVN: r58553
Hans-Peter Nilsson [Sat, 26 Oct 2002 02:27:17 +0000 (02:27 +0000)]
mmix.md ("fixuns_truncdfdi2"): Replace unsigned_fix, invalid for floating point mode result, with fix.
* config/mmix/mmix.md ("fixuns_truncdfdi2"): Replace unsigned_fix,
invalid for floating point mode result, with fix.
From-SVN: r58552
Mike Stump [Sat, 26 Oct 2002 01:21:28 +0000 (01:21 +0000)]
Add note about what it fixes.
From-SVN: r58551
Mike Stump [Sat, 26 Oct 2002 01:18:52 +0000 (01:18 +0000)]
c-typeck.c (warn_for_assignment): Don't print argument number, if zero.
* c-typeck.c (warn_for_assignment): Don't print argument number, if zero.
Fixes gcc.dg/warn-1.c.
From-SVN: r58550
Mike Stump [Sat, 26 Oct 2002 01:15:16 +0000 (01:15 +0000)]
Add gcc.dg/warn-1.c
From-SVN: r58549
Mark Mitchell [Sat, 26 Oct 2002 00:44:44 +0000 (00:44 +0000)]
call.c (build_over_call): Use DECL_CONTEXT, not DECL_VIRTUAL_CONTEXT.
* 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.
From-SVN: r58548
Jan Hubicka [Fri, 25 Oct 2002 23:46:06 +0000 (01:46 +0200)]
toplev.c (dump_file_index): Add DFI_ce3.
* toplev.c (dump_file_index): Add DFI_ce3.
(dump_file_info): Likewise.
(rest_of_compilation): Run first ifcvt pass before tracer.
From-SVN: r58547
Phil Edwards [Fri, 25 Oct 2002 22:49:58 +0000 (22:49 +0000)]
Makefile.tpl (bootstrap): Add bubblestrap, quickstrap, cleanstrap, and restrap targets to this rule.
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.
From-SVN: r58545
Steve Ellcey [Fri, 25 Oct 2002 22:18:37 +0000 (22:18 +0000)]
* config/ia64/hpux.h (BITS_BIG_ENDIAN): Remove.
From-SVN: r58543
Zack Weinberg [Fri, 25 Oct 2002 22:01:44 +0000 (22:01 +0000)]
re PR c++/7266 (pedantic segfaults on missing typename)
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.
From-SVN: r58540
Richard Henderson [Fri, 25 Oct 2002 21:58:12 +0000 (14:58 -0700)]
real.c (real_to_decimal): If the >1 tens reduction loop results in a negative exponent...
* real.c (real_to_decimal): If the >1 tens reduction loop results
in a negative exponent, fall into the <1 pten computation.
From-SVN: r58538
Gerald Pfeifer [Fri, 25 Oct 2002 19:47:32 +0000 (21:47 +0200)]
MAINTAINERS: Add Wolfgang Bangerth and Volker Reichelt under GNATS only accounts.
* MAINTAINERS: Add Wolfgang Bangerth and Volker Reichelt under
GNATS only accounts.
From-SVN: r58537
Mark Mitchell [Fri, 25 Oct 2002 19:39:47 +0000 (19:39 +0000)]
class.c (build_vtbl_initializer): Don't use build_vtable_entry.
* 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.
From-SVN: r58536
Zack Weinberg [Fri, 25 Oct 2002 17:26:52 +0000 (17:26 +0000)]
re PR c++/6994 (ICE in find_function_data)
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.
From-SVN: r58535
David Edelsohn [Fri, 25 Oct 2002 15:13:05 +0000 (15:13 +0000)]
re PR c++/7228 (ICE when using member template and template function)
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.
From-SVN: r58532
Ulrich Weigand [Fri, 25 Oct 2002 12:28:17 +0000 (12:28 +0000)]
* config/s390/s390.md: Remove old-style peepholes.
From-SVN: r58531
Ulrich Weigand [Fri, 25 Oct 2002 12:26:40 +0000 (12:26 +0000)]
s390.c (s390_decompose_address): Do not range check the displacement if base or index is the argument pointer...
* config/s390/s390.c (s390_decompose_address): Do not range check the
displacement if base or index is the argument pointer register.
From-SVN: r58530
GCC Administrator [Fri, 25 Oct 2002 07:18:27 +0000 (07:18 +0000)]
Daily bump.
From-SVN: r58527
Mark Mitchell [Fri, 25 Oct 2002 06:01:55 +0000 (06:01 +0000)]
class.c (end_of_base): New method.
* class.c (end_of_base): New method.
(end_of_class): Use it. Check indirect virtual bases.
* g++.dg/abi/empty9.C: New test.
From-SVN: r58521
Tom Tromey [Fri, 25 Oct 2002 03:28:00 +0000 (03:28 +0000)]
natRuntime.cc (_Jv_SetDLLSearchPath): New function.
* 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.
From-SVN: r58520
Tom Tromey [Fri, 25 Oct 2002 03:27:02 +0000 (03:27 +0000)]
gcj.texi (Invoking gij): Document --showversion.
* gcj.texi (Invoking gij): Document --showversion.
(Standard Properties): java.library.path now set.
From-SVN: r58519
Mark Mitchell [Thu, 24 Oct 2002 23:43:48 +0000 (23:43 +0000)]
* class.c (check_field_decls): Fix typo.
From-SVN: r58517
Mark Mitchell [Thu, 24 Oct 2002 23:43:47 +0000 (23:43 +0000)]
class.c (check_field_decls): Fix typo.
* class.c (check_field_decls): Fix typo.
[[Split portion of a mixed commit.]]
From-SVN: r58516.2
Hans-Peter Nilsson [Thu, 24 Oct 2002 23:39:38 +0000 (23:39 +0000)]
re PR other/3337 (build on linux-gnulibc1 fails: no sys/ucontext.h)
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!)
From-SVN: r58515
Hans-Peter Nilsson [Thu, 24 Oct 2002 23:38:27 +0000 (23:38 +0000)]
re PR other/3337 (build on linux-gnulibc1 fails: no sys/ucontext.h)
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!)
From-SVN: r58514
Nathan Tallent [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...
* 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.
From-SVN: r58513
Hans-Peter Nilsson [Thu, 24 Oct 2002 23:27:27 +0000 (23:27 +0000)]
testsuite_hooks.cc (__set_testsuite_memlimit): Use __typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
* testsuite/testsuite_hooks.cc (__set_testsuite_memlimit): Use
__typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
From-SVN: r58512
Hans-Peter Nilsson [Thu, 24 Oct 2002 23:25:07 +0000 (23:25 +0000)]
configure.in (i[3456]86-*-linux*): Add check to disable ${libgcj} for glibc1.
* configure.in (i[3456]86-*-linux*): Add check to disable
${libgcj} for glibc1.
From-SVN: r58511
Hans-Peter Nilsson [Thu, 24 Oct 2002 23:22:47 +0000 (23:22 +0000)]
inclhack.def (libc1_G_va_list): New fix.
* 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.
From-SVN: r58510
Igor Shevlyakov [Thu, 24 Oct 2002 23:00:32 +0000 (23:00 +0000)]
* varasm.c (struct rtx_const): Array size 16 for V16QImode.
From-SVN: r58509
Richard Henderson [Thu, 24 Oct 2002 22:36:25 +0000 (15:36 -0700)]
* config/i386/i386.c (x86_output_mi_thunk): Fix x86_64 pic jump.
From-SVN: r58508
Kazu Hirata [Thu, 24 Oct 2002 21:58:21 +0000 (21:58 +0000)]
h8300.c (initial_offset): Simplify by using round_frame_size.
* config/h8300/h8300.c (initial_offset): Simplify by using
round_frame_size.
From-SVN: r58507
Marek Michalkiewicz [Thu, 24 Oct 2002 20:32:28 +0000 (20:32 +0000)]
install.texi (avr): Update required binutils version.
* doc/install.texi (avr): Update required binutils version.
* doc/install.texi: Point avr users at more up-to-date information.
From-SVN: r58505
Ulrich Weigand [Thu, 24 Oct 2002 20:19:10 +0000 (20:19 +0000)]
s390.md (movdi, [...]): Add peepholes2 to pull operands out of the literal pool where possible.
* config/s390/s390.md (movdi, movsi, movhi, movqi): Add peepholes2
to pull operands out of the literal pool where possible.
From-SVN: r58504
Denis Chertykov [Thu, 24 Oct 2002 20:07:21 +0000 (20:07 +0000)]
* config/avr/avr.c (init_cumulative_args): Test fntype for zero.
From-SVN: r58503
Steve Ellcey [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.
* expr.c (convert_move): If unsignedp is less then zero there
is no equivalent code.
From-SVN: r58502
Denis Chertykov [Thu, 24 Oct 2002 19:50:09 +0000 (19:50 +0000)]
* MAINTAINERS: Add myself as ip2k port maintainer.
From-SVN: r58501
Zack Weinberg [Thu, 24 Oct 2002 18:01:37 +0000 (18:01 +0000)]
* tree.def: Delete mention of nonexistent ARRAY_TYPE fields.
From-SVN: r58500
Zack Weinberg [Thu, 24 Oct 2002 17:55:16 +0000 (17:55 +0000)]
Regenerated
From-SVN: r58499
Tom Tromey [Thu, 24 Oct 2002 17:45:23 +0000 (17:45 +0000)]
Primes.java: Removed.
* libjava.lang/Primes.java: Removed.
* libjava.lang/Primes.out: Removed.
From-SVN: r58498
Ulrich Weigand [Thu, 24 Oct 2002 17:07:11 +0000 (17:07 +0000)]
s390.h: Rework comments...
* config/s390/s390.h: Rework comments; re-sort target macro definitions
according to the sequence they are defined in the manual.
(POINTER_BOUNDARY): Remove.
From-SVN: r58495
Kazu Hirata [Thu, 24 Oct 2002 14:08:23 +0000 (14:08 +0000)]
h8300.c (round_frame_size): Replace 8 with BITS_PER_UNIT.
* config/h8300/h8300.c (round_frame_size): Replace 8 with
BITS_PER_UNIT.
From-SVN: r58493
Kazu Hirata [Thu, 24 Oct 2002 10:45:19 +0000 (10:45 +0000)]
h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Make it 64-bit safe.
* config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Make it
64-bit safe.
(TINY_CONSTANT_ADDRESS_P): Likewise.
From-SVN: r58492
Richard Henderson [Thu, 24 Oct 2002 09:16:36 +0000 (02:16 -0700)]
ia64.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
* 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.
From-SVN: r58491
Richard Henderson [Thu, 24 Oct 2002 09:02:24 +0000 (02:02 -0700)]
reload.c (find_reloads_toplev): Mode of X is not important when simplifying subregs of constants.
* reload.c (find_reloads_toplev): Mode of X is not important
when simplifying subregs of constants.
* g++.dg/opt/reload1.C: New.
From-SVN: r58490
Richard Sandiford [Thu, 24 Oct 2002 08:51:00 +0000 (08:51 +0000)]
config.gcc (mips64vr-*-elf*, [...]): Add MIPS_MARCH_CONTROLS_SOFT_FLOAT=1 to $tm_defines.
* 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.
From-SVN: r58488
Richard Sandiford [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.
* optabs.c (expand_binop): Don't reuse the shift target in the
middle of shift sequences.
From-SVN: r58487
GCC Administrator [Thu, 24 Oct 2002 07:17:50 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r58486
Ziemowit Laski [Thu, 24 Oct 2002 00:46:02 +0000 (00:46 +0000)]
objc-act.c (get_static_reference): Remove unneeded TYPE_BINFO initialization.
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.
From-SVN: r58480
Mark Mitchell [Thu, 24 Oct 2002 00:01:37 +0000 (00:01 +0000)]
re PR c++/8067 (g++ 3.2 internal error: Segmentation fault)
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.
From-SVN: r58477
Tom Tromey [Wed, 23 Oct 2002 23:19:55 +0000 (23:19 +0000)]
jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
* jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
(array_from_valist): Correctly handle promotion for jint, jlong,
jfloat, and jdouble.
From-SVN: r58476
Tom 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.
From-SVN: r58475
Tom Tromey [Wed, 23 Oct 2002 22:47:31 +0000 (22:47 +0000)]
re PR java/8296 (gcjh generates incorrect JNI header)
* gjavah.c (decode_signature_piece): In JNI mode, print
`jobjectArray' when array depth is nonzero.
Fixes PR java/8296.
From-SVN: r58474
Jakub Jelinek [Wed, 23 Oct 2002 21:20:08 +0000 (23:20 +0200)]
i386.c (local_symbolic_operand): Move LABEL_REF test after CONST test.
* config/i386/i386.c (local_symbolic_operand): Move LABEL_REF test
after CONST test.
* gcc.dg/
20021023-1.c: New test.
From-SVN: r58469
Ranjit Mathew [Wed, 23 Oct 2002 20:44:24 +0000 (20:44 +0000)]
natFileWin32.cc (attr): Use FindFirstFile( ) instead of GetFileAttributesEx( ) to find file length and...
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.
From-SVN: r58466
Mark Mitchell [Wed, 23 Oct 2002 18:38:23 +0000 (18:38 +0000)]
re PR c++/7679 (The compiler crashes wen a right parentesis is missing)
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.
From-SVN: r58465
Steve Ellcey [Wed, 23 Oct 2002 18:18:31 +0000 (18:18 +0000)]
ia64.c (hfa_element_mode): Don't allow 128 bit floats in HFAs.
* config/ia64/ia64.c (hfa_element_mode): Don't allow 128 bit floats
in HFAs.
From-SVN: r58464
Richard Henderson [Wed, 23 Oct 2002 18:00:17 +0000 (11:00 -0700)]
* g++.dg/inherit/thunk1.C: Enable for x86_64.
From-SVN: r58463
Richard Henderson [Wed, 23 Oct 2002 17:55:56 +0000 (10:55 -0700)]
alpha.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): True.
* 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.
From-SVN: r58462
Zack Weinberg [Wed, 23 Oct 2002 17:13:18 +0000 (17:13 +0000)]
langhooks.h (struct lang_hooks_for_tree_inlining): Add var_mod_type_p.
* langhooks.h (struct lang_hooks_for_tree_inlining): Add
var_mod_type_p.
* langhooks-def.h: Default for tree_inlining.var_mod_type_p is
hook_tree_bool_false.
* tree.c (variably_modified_type_p): Moved here from
cp/tree.c. Use lang_hooks.tree_inlining.var_mod_type_p for
language-specific cases. Due to this, must weaken some 'if
and only if' checks to merely 'if'.
* tree.h: Prototype variably_modified_type_p.
* tree-inline.c (walk_tree): #undef WALK_SUBTREE_TAIL at end.
cp:
* cp-lang.c (cp_var_mod_type_p): New: C++ hook for
variably_modified_type_p.
* cp-tree.h: Remove prototype of variably_modified_type_p.
* tree.c (variably_modified_type_p): Remove; now implemented
in language-independent code.
From-SVN: r58460
Dale Johannesen [Wed, 23 Oct 2002 17:05:02 +0000 (17:05 +0000)]
add return 0, newline at end
From-SVN: r58459
Ulrich Weigand [Wed, 23 Oct 2002 16:32:43 +0000 (16:32 +0000)]
linux.h (CC1_SPEC, [...]): Remove.
* config/s390/linux.h (CC1_SPEC, CC1PLUS_SPEC): Remove.
* config/s390/s390.c (optimization_options): Disable -fcaller-saves.
* config/s390/s390-protos.h (fp_operand): Remove.
* config/s390/s390.c (fp_operand): Remove.
* config/s390/s390.md ("movdi"): Replace fp_operand by FP_REG_P.
("*movdi_lhi", "*movdi_lli", "*movdi_larl"): Likewise.
("movsi", "*movsi_lhi", "*movsi_lli"): Likewise.
(movdi_31, movdf_31 splitters): Likewise.
* config/s390/s390.h (IEEE_FLOAT): Remove.
(TARGET_FLOAT_FORMAT): Define in terms of TARGET_IEEE_FLOAT.
(INT_REGNO_P): Rename to ...
(GENERAL_REGNO_P): ... this.
(FLOAT_REGNO_P): Rename to ...
(FP_REGNO_P): ... this.
(ADDR_REGNO_P): New macro.
(GENERAL_REG_P, ADDR_REG_P, FP_REG_P, CC_REG_P): New macros.
(REGNO_OK_FOR_DATA_P, REGNO_OK_FOR_FP_P): Remove.
(DATA_REG_P, FP_REG_P, ADDRESS_REG_P): Likewise.
(HARD_REGNO_NREGS): Adapt to macro renaming.
(HARD_REGNO_MODE_OK): Likewise.
From-SVN: r58458
Jakub Jelinek [Wed, 23 Oct 2002 15:45:50 +0000 (17:45 +0200)]
num_put_members_char.cc (test01): Swap size and decimal_point arguments of find.
* testsuite/22_locale/num_put_members_char.cc (test01): Swap size
and decimal_point arguments of find.
* testsuite/22_locale/num_put_members_wchar_t.cc (test01): Likewise.
From-SVN: r58454