hubicka [Fri, 1 Nov 2002 09:35:24 +0000 (09:35 +0000)]
* expr.c (emit_move_insn): Use SCALAR_FLOAT_MODE_P
* machmode.h (SCALAR_FLOAT_MODE_P): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58712
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 1 Nov 2002 08:17:07 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58711
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Fri, 1 Nov 2002 07:05:57 +0000 (07:05 +0000)]
PR optimization/6162
* md.texi: Document restriction on commutative operand
specification.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58705
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Fri, 1 Nov 2002 06:35:14 +0000 (06:35 +0000)]
2002-11-01 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java:
(isAnyLocalAddress): Implemented.
(isLoopbackAddress): Implemented, comment added.
(isLinkLocalAddress): Implemented, documentation added.
(isSiteLocalAddress): Implemented, documentation added.
(isMCGlobal): Implemented, documentation added.
(isMCNodeLocal): Implemented, documentation added.
(isMCLinkLocal): Implemented, documentation added.
(isMCSiteLocal): Implemented, documentation added.
(isMCOrgLocal): Implemented, documentation added.
(getHostName): Documentation added.
(getCanonicalHostName): Implemented, documentation added.
(getAddress): Documentation added.
(hashCode): Documentation added.
(equals): Documentation added.
(toString): Fixed implementation.
(getByAddress): Use Inet4Address and Inet6Address.
(lookup): New linewrap.
(getByName): SecurityManager check added, support Inet4Address and
Inet6address, comments added.
(getAllByName): SecurityManager check added, comments added.
* java/net/Inet6Address.java:
(Inet6Address): Initialize parent class with addr instead of null.
* java/net/URL.java
(equals): Documentation added.
(getFile): Documentation added.
(hashCode): Documentation added.
* java/net/natInetAddress.cc:
(aton): Fix IPv6 support.
* java/net/natPlainDatagramSocketImpl.cc:
(peek): Throw PortUnreachableException when suitable.
(peekData): Throw PortUnreachableException when suitable.
(send): Throw PortUnreachableException when suitable.
(receive): Throw PortUnreachableException when suitable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58704
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 1 Nov 2002 05:38:27 +0000 (05:38 +0000)]
2002-10-31 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/8348
* include/bits/istream.tcc (istream::tellg): Remove sentry bits.
(istream::seekg): Same.
* testsuite/27_io/istream_seeks.cc (test06): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58703
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Thu, 31 Oct 2002 21:56:32 +0000 (21:56 +0000)]
* java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
argument.
(readLeShort): Likewise and use byte[].
(readLeInt): Likewise.
(readEntries): Use new versions of methods and use byte[] for reading
a complete zip entry. Add ZipFile name to exceptions.
(entries): Add ZipFile name to exceptions.
(getEntry): Likewise.
(checkLocalHeader): Use new versions of methods and add ZipFile name
to exceptions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58697
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 31 Oct 2002 21:42:46 +0000 (21:42 +0000)]
PR c++/8186
* cp-tree.h (ADDR_IS_INVISIREF): New macro.
* call.c (convert_for_arg_passing): Set it.
* except.c (stabilize_throw_expr): Recurse for such an arg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58696
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Thu, 31 Oct 2002 21:35:57 +0000 (21:35 +0000)]
2002-10-31 Eric Christopher <echristo@redhat.com>
* explow.c (convert_memory_address): Use shallow_copy_rtx.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58695
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Thu, 31 Oct 2002 20:43:07 +0000 (20:43 +0000)]
* expmed.c (store_bit_field): Check FUNCTION_ARG_REG_LITTLE_ENDIAN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58694
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Thu, 31 Oct 2002 20:40:29 +0000 (20:40 +0000)]
* config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Set for non-floats.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58693
138bc75d-0d04-0410-961f-
82ee72b054a4
dalej [Thu, 31 Oct 2002 20:32:49 +0000 (20:32 +0000)]
Correct formatting in previous patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58692
138bc75d-0d04-0410-961f-
82ee72b054a4
dalej [Thu, 31 Oct 2002 19:40:12 +0000 (19:40 +0000)]
enable -falign-xxx flags
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58690
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 31 Oct 2002 18:57:39 +0000 (18:57 +0000)]
restore old comment
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58687
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 31 Oct 2002 18:50:38 +0000 (18:50 +0000)]
2002-10-31 Mark Anderson <mark@panonet.net>
* java/awt/GridBagLayout.java (setConstraints): New stubbed method
added
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58686
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 31 Oct 2002 17:27:02 +0000 (17:27 +0000)]
Fix typo in my previous commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58684
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 31 Oct 2002 17:16:52 +0000 (17:16 +0000)]
* i386.c (override_options): Set defaults for flag_omit_frame_pointer,
flag_asynchronous_unwind_tables, flag_pcc_struct_return.
* i386.c (optimization_options): Set flag_omit_frame_pointer,
flag_asynchronous_unwind_tables, flag_pcc_struct_return to 2.
Do not clear -momit-leaf-frame-pointer when profiling.
(ix86_frame_pointer_required): Frame pointer is allways required when
profiling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58681
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 31 Oct 2002 16:07:32 +0000 (16:07 +0000)]
* cp-tree.h (lang_decl_flags): Remove init_priority.
(lang_decl): Add delta.
(GLOBAL_INIT_PRIORITY): Remove.
(THUNK_DELTA): Revise definition.
* decl2.c (start_objects): Don't set GLOBAL_INIT_PRIORITY.
* dump.c (cp_dump_tree): Don't dump it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58680
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 31 Oct 2002 15:21:22 +0000 (15:21 +0000)]
* i386.md (negdf2_ifs_rex64): Don't allow GPR operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58678
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 31 Oct 2002 12:53:06 +0000 (12:53 +0000)]
* sh.h (binary_logical_operator): Declare.
* sh.c (binary_logical_operator): New function.
* sh.md (xordi3+1): New combiner splitter pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58675
138bc75d-0d04-0410-961f-
82ee72b054a4
obrien [Thu, 31 Oct 2002 09:08:11 +0000 (09:08 +0000)]
2002-10-31 David O'Brien <obrien@FreeBSD.org>
* config/sparc/freebsd.h (TRANSFER_FROM_TRAMPOLINE): Define
__enable_execute_stack function.
Approved by: David S. Miller <davem@redhat.com>
Message-Id: <
20021031.005015.
22856738.davem@redhat.com>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58674
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 31 Oct 2002 08:17:11 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58673
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Thu, 31 Oct 2002 06:57:28 +0000 (06:57 +0000)]
2002-10-30 Aldy Hernandez <aldyh@redhat.com>
* c-common.c: Add GTY to vector_type_node_list.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58666
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Thu, 31 Oct 2002 03:13:44 +0000 (03:13 +0000)]
* pa-linux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
* pa-protos.h (attr_length_millicode_call, attr_length_call,
pa_init_machine_status): Declare new global functions.
* pa.c (void copy_fp_args, length_fp_args, get_plabel): Declare and
implement new functions.
(attr_length_millicode_call, attr_length_call): Implement.
(total_code_bytes): Change type to long.
(pa_output_function_prologue): Compute total_code_bytes on TARGET_64BIT.
Reset counter if flag_function_sections.
(output_deferred_plabels): Set output alignment to 3 for TARGET_64BIT.
(output_cbranch): Move call to gen_label_rtx.
(output_millicode_call): Rewrite adding long TARGET_64BIT call, expose
delay slot in all variants, shorten pc-relative calls.
(output_call): Rewrite adding long TARGET_64BIT call, improved delay
slot usage and exposure, various new call variants, and shortened
sequences for some variants on TARGET_PA_20.
Miscellaneous format changes.
* pa.h (total_code_bytes): Change type to long.
(MASK_LONG_CALLS, TARGET_LONG_CALLS, TARGET_LONG_ABS_CALL,
TARGET_LONG_PIC_SDIFF_CALL, TARGET_LONG_PIC_PCREL_CALL): Define.
(TARGET_SWITCHES): Add "-mlong-calls" and "-mno-long-calls" options.
(EXTRA_CONSTRAINT, GO_IF_LEGITIMATE_ADDRESS,
LEGITIMIZE_RELOAD_ADDRESS): Don't use long floating point loads and
stores on TARGET_ELF32.
*pa.md (define_delay): Allow insns in delay on TARGET_PORTABLE_RUNTIME.
(unnamed patterns for mulsi3, divsi3, udivsi3, modsi3, umodsi3 and
canonicalize_funcptr_for_compare expanders): Calculate attribute length
attr_length_millicode_call().
(call_internal_symref, call_value_internal_symref): Clobber register 1.
Calculate attribute length using attr_length_call().
(call_internal_reg_64bit, call_value_internal_reg_64bit): Move gp load
to delay slot.
(sibcall, sibcall_value): Rewrite.
(sibcall_internal_symref, sibcall_value_internal_symref): Clobber
register 1. Use attr_length_call().
(sibcall_internal_symref_64bit, sibcall_value_internal_symref_64bit):
New patterns.
(unamed pattern for canonicalize_funcptr_for_compare): Rewrite.
* som.h (MEMBER_TYPE_FORCES_BLK): Define.
* t-pa64 (TARGET_LIBGCC2_CFLAGS): Add "-mlong-calls".
* doc/invoke.texi (mlong-calls): Document.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58665
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 31 Oct 2002 00:04:12 +0000 (00:04 +0000)]
PR c++/8160
* typeck2.c (process_init_constructor): Call complete_array_type.
PR c++/8149
* decl.c (make_typename_type): Issue errors about invalid results.
PR c++/8160
* g++.dg/template/complit1.C: New test.
PR c++/8149
* g++.dg/template/typename4.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58663
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Wed, 30 Oct 2002 23:07:48 +0000 (23:07 +0000)]
* fold-const.c (fold_binary_op_with_conditional_arg): Improve
handling of cases where one or both branches of the conditional
have void type, i.e. throw an exception or don't return.
(fold): Only apply (and undo) type conversion to the non-void
branches of a COND_EXPR.
* f/com.c (ffecom_subscript_check_): Cast the failure branch
of the bounds check COND_EXPR to void, to indicate noreturn.
(ffe_truthvalue_conversion): Only apply truth value conversion
to the non-void branches of a COND_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58661
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 30 Oct 2002 19:23:27 +0000 (19:23 +0000)]
PR c++/8333
* varasm.c (asm_output_aligned_bss): Do not call
ASM_GLOBALIZE_LABEL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58658
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Wed, 30 Oct 2002 17:42:53 +0000 (17:42 +0000)]
PR ada/6558
* misc.c : Include optabs.h
* Make-lang.in (misc.o): Add dependency on optabs.h
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58656
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Wed, 30 Oct 2002 15:56:37 +0000 (15:56 +0000)]
* config/rs6000/rs6000.md (load_toc_v4_PIC_1): Use preferred form
for addressibility.
(load_toc_v4_PIC_1b): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58655
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Wed, 30 Oct 2002 15:54:10 +0000 (15:54 +0000)]
Core issue 287, PR c++/7639
* cp-tree.h (lang_type_class): Add decl_list field.
(CLASSTYPE_DECL_LIST): New macro.
(maybe_add_class_template_decl_list): Add declaration.
* class.c (duplicate_tag_error): Initialize CLASSTYPE_DECL_LIST.
(unreverse_member_declarations): Reverse CLASSTYPE_DECL_LIST.
(maybe_add_class_template_decl_list): New function.
(add_implicitly_declared_members): Use it.
* decl.c (maybe_process_template_type_declaration): Likewise.
(pushtag): Likewise.
* friend.c (add_friend): Likewise.
(make_friend_class): Likewise.
* semantics.c (finish_member_declaration): Likewise.
(begin_class_definition): Initialize CLASSTYPE_DECL_LIST.
* pt.c (instantiate_class_template): Use CLASSTYPE_DECL_LIST
to process members and friends in the order of declaration.
Core issue 287, PR c++/7639
* g++.dg/template/instantiate1.C: Adjust error location.
* g++.dg/template/instantiate3.C: New test.
* g++.old-deja/g++.pt/crash10.C: Adjust error location.
* g++.old-deja/g++.pt/derived3.C: Adjust error location.
* g++.old-deja/g++.pt/spec28.C: Reorder declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58654
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Wed, 30 Oct 2002 11:21:24 +0000 (11:21 +0000)]
* config/h8300/h8300.c (h8300_eightbit_constant_address_p):
Truncate the addresses for H8/300 using HImode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58653
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 30 Oct 2002 08:17:49 +0000 (08:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58652
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Wed, 30 Oct 2002 00:27:34 +0000 (00:27 +0000)]
* lib/compat.exp (compat-execute): Don't clean out a gluefile.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58646
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Wed, 30 Oct 2002 00:19:59 +0000 (00:19 +0000)]
* toplev.c (rest_of_type_compilation): Return early in case of
errors.
(check_global_declarations): Don't call debug_hooks->global_decl
in case of errors.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58645
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 30 Oct 2002 00:05:56 +0000 (00:05 +0000)]
PR c++/8287
* g++.dg/init/dtor2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58644
138bc75d-0d04-0410-961f-
82ee72b054a4
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