Andreas Schwab [Sat, 2 Nov 2002 16:14:50 +0000 (16:14 +0000)]
Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do pass GCJFLAGS.
* Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
pass GCJFLAGS.
(FLAGS_TO_PASS): Define.
* Makefile.in: Regenerated.
From-SVN: r58752
Toon Moene [Sat, 2 Nov 2002 14:40:31 +0000 (14:40 +0000)]
news.texi: Fix .f -> .r
2002-11-02 Toon Moene <toon@moene.indiv.nluug.nl>
* news.texi: Fix .f -> .r
From-SVN: r58751
Toon Moene [Sat, 2 Nov 2002 14:36:45 +0000 (14:36 +0000)]
g77.texi: Correct documentation on generating C++ prototypes of Fortran routines with f2c.
2002-11-02 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.texi: Correct documentation on generating C++ prototypes
of Fortran routines with f2c.
* news.texi: Document fixes in GCC-3.3, 3.2 and 3.1.
From-SVN: r58750
Toon Moene [Sat, 2 Nov 2002 14:30:12 +0000 (14:30 +0000)]
g77.texi: Correct documentation on generating C++ prototypes of Fortran routines with f2c.
2002-11-02 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.texi: Correct documentation on generating C++ prototypes
of Fortran routines with f2c.
* news.texi: Document fixes in GCC-3.3, 3.2 and 3.1.
From-SVN: r58749
Kazu Hirata [Sat, 2 Nov 2002 12:51:05 +0000 (12:51 +0000)]
h8300.h: Fix comment typos.
* config/h8300/h8300.h: Fix comment typos.
* config/h8300/h8300.md: Likewise.
* config/h8300/lib1funcs.asm: Likewise.
From-SVN: r58748
Gerald Pfeifer [Sat, 2 Nov 2002 10:28:09 +0000 (11:28 +0100)]
Revert this change:
*doc/install.texi (Installing GCC: Configuration): Clarify
the only supported ways to configure gcc.
From-SVN: r58746
GCC Administrator [Sat, 2 Nov 2002 08:17:09 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r58745
Benjamin Kosnik [Sat, 2 Nov 2002 02:18:18 +0000 (02:18 +0000)]
re PR libstdc++/8172 (undefined reference to operator+ for string)
2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/8172
* src/string-inst.cc: Add instantiation.
From-SVN: r58738
Zack Weinberg [Sat, 2 Nov 2002 02:17:41 +0000 (02:17 +0000)]
PR c/7353 redux
PR c/7353 redux
cp:
* decl2.c (grokfield): Reject TYPE_DECLs with initializers.
testsuite:
* g++.dg/ext/typedef-init.C, gcc.dg/typedef-init.C:
Add some more cases.
From-SVN: r58737
Kazu Hirata [Sat, 2 Nov 2002 01:44:00 +0000 (01:44 +0000)]
h8300.md (anonymous and:QI pattern): Use 'n' instead of 'O' for the constraint for the second operand.
* config/h8300/h8300.md (anonymous and:QI pattern): Use 'n'
instead of 'O' for the constraint for the second operand.
From-SVN: r58736
Benjamin Kosnik [Sat, 2 Nov 2002 01:42:22 +0000 (01:42 +0000)]
re PR libstdc++/7926 (i486 instructions in header files make c++ programs crash on i386)
2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/7926
* configure.target: Simplify.
* config/cpu/i386/atomicity.h: Remove.
* config/cpu/i386: Remove.
* config/cpu/arm/atomicity.h: Remove.
* config/cpu/arm: Remove.
* config/cpu/x86-64/atomicity.h: Remove.
* config/cpu/x86-64: Remove.
From-SVN: r58735
Mark Mitchell [Sat, 2 Nov 2002 01:03:03 +0000 (01:03 +0000)]
re PR c++/8391 (infinite loop in cp/decl2.c(finish_file))
PR c++/8391
* toplev.c (rest_of_compilation): Do not refuse to output code for
an inline function in a local class.
PR c++/8391
* g++.dg/opt/local1.C: New test.
From-SVN: r58734
Tom Tromey [Sat, 2 Nov 2002 00:19:52 +0000 (00:19 +0000)]
For PR java/8415:
* libjava.lang/pr8415.java: New file.
* libjava.lang/pr8415.out: New file.
From-SVN: r58732
David O'Brien [Fri, 1 Nov 2002 22:19:38 +0000 (22:19 +0000)]
freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__.
2002-11-01 David O'Brien <obrien@FreeBSD.org>
* config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__.
(TRANSFER_FROM_TRAMPOLINE): Reformat.
Add comment.
Approved by: Mark Mitchell <mark@codesourcery.com>
Message-ID: <
15490000.
1036182355@warlock.codesourcery.com>
From-SVN: r58730
Kazu Hirata [Fri, 1 Nov 2002 21:36:37 +0000 (21:36 +0000)]
* config/h8300/h8300.h (CAN_ELIMINATE): Simplify.
From-SVN: r58729
Toshiyasu Morita [Fri, 1 Nov 2002 21:22:15 +0000 (21:22 +0000)]
* config/h8300/h8300.h (OPTIMIZATION_OPTIONS): New.
From-SVN: r58728
Steve Ellcey [Fri, 1 Nov 2002 20:25:35 +0000 (20:25 +0000)]
ia64.h (MASK_INLINE_DIV_LAT): Remove.
* config/ia64/ia64.h (MASK_INLINE_DIV_LAT): Remove.
(MASK_INLINE_DIV_THR): Remove.
(TARGET_INLINE_DIV_LAT): Remove.
(TARGET_INLINE_DIV_THR): Remove.
(TARGET_INLINE_DIV): Remove.
(MASK_INLINE_FLOAT_DIV_LAT): New macro.
(MASK_INLINE_FLOAT_DIV_THR): New macro.
(MASK_INLINE_INT_DIV_LAT): New macro.
(MASK_INLINE_INT_DIV_THR): New macro.
(TARGET_INLINE_FLOAT_DIV_LAT): New macro.
(TARGET_INLINE_FLOAT_DIV_THR): New macro.
(TARGET_INLINE_INT_DIV_LAT): New macro.
(TARGET_INLINE_INT_DIV_THR): New macro.
(TARGET_INLINE_FLOAT_DIV): New macro.
(TARGET_INLINE_INT_DIV): New macro.
* config/ia64/ia64.md (divsi3): Change to use new macros.
(modsi3): Ditto.
(udivsi3): Ditto.
(umodsi3): Ditto.
(divsi3_internal): Ditto.
(divdi3): Ditto.
(moddi3): Ditto.
(udivdi3): Ditto.
(umoddi3): Ditto.
(divdi3_internal_lat): Ditto.
(divdi3_internal_thr): Ditto.
(divsf3): Ditto.
(divsf3_internal_lat): Ditto.
(divsf3_internal_thr): Ditto.
(divdf3): Ditto.
(divdf3_internal_lat): Ditto.
(divdf3_internal_thr): Ditto.
(divtf3): Ditto.
(divtf3_internal_lat): Ditto.
(divtf3_internal_thr): Ditto.
* config/ia64/ia64.c (ia64_override_options): Change
to check new macros for conflicts in settings.
* doc/invoke.texi (-minline-divide-min-latency): Remove.
(-minline-divide-max-throughput): Remove.
(-minline-float-divide-min-latency): New.
(-minline-float-divide-max-throughput): New.
(-minline-int-divide-min-latency): New.
(-minline-int-divide-max-throughput): New.
From-SVN: r58727
Tom Tromey [Fri, 1 Nov 2002 19:32:21 +0000 (19:32 +0000)]
mauve.exp (find_mauve_sources): New proc.
* libjava.mauve/mauve.exp (find_mauve_sources): New proc.
(test_mauve): Use it.
(test_mauve_sim): Likewise.
From-SVN: r58725
Christian Ehrhardt [Fri, 1 Nov 2002 17:54:51 +0000 (17:54 +0000)]
re PR libstdc++/8197 (std::sin(float) causes undefined reference to sinf)
2002-11-01 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
PR libstdc++/8197
* config/link-map.gnu: Export math stubbs.
From-SVN: r58721
Benjamin Kosnik [Fri, 1 Nov 2002 17:30:36 +0000 (17:30 +0000)]
re PR libstdc++/8318 (Not all wide character based prototypes are included within #ifdef _GLIBCPP_USE_WCHAR_T)
2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/8318
* include/std/std_iostream.h: Tweak.
* include/std/std_iosfwd.h: Add _GLIBCPP_USE_WCHAR_T.
* include/std/std_iomanip.h: Same.
* include/bits/stringfwd.h: Same.
* include/bits/basic_string.tcc: Same.
* include/bits/sstream.tcc: Same.
* include/bits/fstream.tcc: Same.
* include/bits/basic_ios.tcc: Same.
* include/bits/streambuf.tcc: Same.
* include/bits/locale_facets.tcc: Same.
From-SVN: r58720
John Carter [Fri, 1 Nov 2002 15:21:17 +0000 (15:21 +0000)]
re PR libstdc++/7961 (compare( char *) implemented incorrectly.)
2002-11-01 John Carter <john.carter@tait.co.nz>
PR libstdc++/7961
* include/bits/basic_string.tcc
(compare(const _CharT* __s)): Don't access __s past its length.
From-SVN: r58717
Richard Earnshaw [Fri, 1 Nov 2002 14:41:57 +0000 (14:41 +0000)]
re PR target/7856 ([arm] invalid offset in constant pool reference)
PR target/7856
* arm.c (use_return_insn): Don't use a return insn if there are
saved integer regs, but LR is not one of them.
From-SVN: r58716
Michael Koch [Fri, 1 Nov 2002 12:03:40 +0000 (12:03 +0000)]
ByteOrder.java: New file.
2002-11-01 Michael Koch <konqueror@gmx.de>
* java/nio/ByteOrder.java: New file.
* java/nio/channels/DatagramChannel.java:
(DatagramChannel): New constructor.
* java/nio/channels/Pipe.java: New file.
* java/nio/channels/SelectableChannel.java: New file.
* java/nio/channels/SelectionKey.java: New file.
* java/nio/channels/Selector.java: New file.
* java/nio/channels/ServerSocketChannel.java
(ServerSocketChannel): New constructor.
* java/nio/channels/SocketChannel.java
(SocketChannel): New constructor.
* java/nio/channels/Pipe.java: New file.
* java/nio/channels/spi/AbstractChannel.java: New file.
* java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
* java/nio/channels/spi/AbstractSelectableChannel.java:
License added
(AbstractSelectableChannel): New stubbed method.
* java/nio/channels/spi/AbstractSelectionKey.java: New file.
* java/nio/channels/spi/AbstractSelector.java: New file.
* java/nio/channels/spi/SelectorProvider.java: New file.
* java/nio/charset/Charset.java: New file.
* java/nio/charset/CoderMalfunctionError.java: New file.
* java/nio/charset/CodingErrorAction.java: New file.
* java/nio/charset/spi/CharsetProvider.java
(charsetForName): Uncommented.
* Makefile.am (java_native_source_files): Added new files.
* Makefile.in: Regenerated.
From-SVN: r58713
Jan Hubicka [Fri, 1 Nov 2002 09:35:24 +0000 (10:35 +0100)]
expr.c (emit_move_insn): Use SCALAR_FLOAT_MODE_P
* expr.c (emit_move_insn): Use SCALAR_FLOAT_MODE_P
* machmode.h (SCALAR_FLOAT_MODE_P): New macro.
From-SVN: r58712
GCC Administrator [Fri, 1 Nov 2002 08:17:07 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r58711
Nathanael Nerode [Fri, 1 Nov 2002 07:05:57 +0000 (07:05 +0000)]
re PR inline-asm/6162 (i386 asm reloader ice in reload_cse_simplify_operands)
PR optimization/6162
* md.texi: Document restriction on commutative operand
specification.
From-SVN: r58705
Michael Koch [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.
From-SVN: r58704
Benjamin Kosnik [Fri, 1 Nov 2002 05:38:27 +0000 (05:38 +0000)]
re PR libstdc++/8348 (fail() flag is set in istringstream when eof() flag is set !)
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.
From-SVN: r58703
Mark Wielaard [Thu, 31 Oct 2002 21:56:32 +0000 (21:56 +0000)]
ZipFile.java (readLeShort): Take and use DataInput as argument.
* 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.
From-SVN: r58697
Jason Merrill [Thu, 31 Oct 2002 21:42:46 +0000 (16:42 -0500)]
re PR c++/8186 (ICE in cp_expr_size, at cp/cp-lang.c:304)
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.
From-SVN: r58696
Eric Christopher [Thu, 31 Oct 2002 21:35:57 +0000 (21:35 +0000)]
explow.c (convert_memory_address): Use shallow_copy_rtx.
2002-10-31 Eric Christopher <echristo@redhat.com>
* explow.c (convert_memory_address): Use shallow_copy_rtx.
From-SVN: r58695
Steve Ellcey [Thu, 31 Oct 2002 20:43:07 +0000 (20:43 +0000)]
* expmed.c (store_bit_field): Check FUNCTION_ARG_REG_LITTLE_ENDIAN.
From-SVN: r58694
Steve Ellcey [Thu, 31 Oct 2002 20:40:29 +0000 (20:40 +0000)]
* config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Set for non-floats.
From-SVN: r58693
Dale Johannesen [Thu, 31 Oct 2002 20:32:49 +0000 (20:32 +0000)]
Correct formatting in previous patch.
From-SVN: r58692
Dale Johannesen [Thu, 31 Oct 2002 19:40:12 +0000 (19:40 +0000)]
enable -falign-xxx flags
From-SVN: r58690
Jason Merrill [Thu, 31 Oct 2002 18:57:39 +0000 (13:57 -0500)]
restore old comment
From-SVN: r58687
Mark Anderson [Thu, 31 Oct 2002 18:50:38 +0000 (18:50 +0000)]
GridBagLayout.java (setConstraints): New stubbed method added
2002-10-31 Mark Anderson <mark@panonet.net>
* java/awt/GridBagLayout.java (setConstraints): New stubbed method
added
From-SVN: r58686
Jan Hubicka [Thu, 31 Oct 2002 17:27:02 +0000 (17:27 +0000)]
Fix typo in my previous commit.
From-SVN: r58684
Jan Hubicka [Thu, 31 Oct 2002 17:16:52 +0000 (18:16 +0100)]
i386.c (override_options): Set defaults for flag_omit_frame_pointer...
* 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.
From-SVN: r58681
Mark Mitchell [Thu, 31 Oct 2002 16:07:32 +0000 (16:07 +0000)]
cp-tree.h (lang_decl_flags): Remove init_priority.
* 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.
From-SVN: r58680
Jan Hubicka [Thu, 31 Oct 2002 15:21:22 +0000 (16:21 +0100)]
* i386.md (negdf2_ifs_rex64): Don't allow GPR operand.
From-SVN: r58678
J"orn Rennecke [Thu, 31 Oct 2002 12:53:06 +0000 (12:53 +0000)]
sh.h (binary_logical_operator): Declare.
* sh.h (binary_logical_operator): Declare.
* sh.c (binary_logical_operator): New function.
* sh.md (xordi3+1): New combiner splitter pattern.
From-SVN: r58675
David O'Brien [Thu, 31 Oct 2002 09:08:11 +0000 (09:08 +0000)]
freebsd.h (TRANSFER_FROM_TRAMPOLINE): Define __enable_execute_stack function.
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>
From-SVN: r58674
GCC Administrator [Thu, 31 Oct 2002 08:17:11 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r58673
Aldy Hernandez [Thu, 31 Oct 2002 06:57:28 +0000 (06:57 +0000)]
c-common.c: Add GTY to vector_type_node_list.
2002-10-30 Aldy Hernandez <aldyh@redhat.com>
* c-common.c: Add GTY to vector_type_node_list.
From-SVN: r58666
John David Anglin [Thu, 31 Oct 2002 03:13:44 +0000 (03:13 +0000)]
pa-linux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
* 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.
From-SVN: r58665
Mark Mitchell [Thu, 31 Oct 2002 00:04:12 +0000 (00:04 +0000)]
re PR c++/8160 (ICE in build_modify_expr, at cp/typeck.c:5494: Array initialization)
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.
From-SVN: r58663
Roger 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...
* 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.
From-SVN: r58661
Mark Mitchell [Wed, 30 Oct 2002 19:23:27 +0000 (19:23 +0000)]
re PR c++/8333 (c++ emits double .globals for symbols [ regression from 3.0.4 ])
PR c++/8333
* varasm.c (asm_output_aligned_bss): Do not call
ASM_GLOBALIZE_LABEL.
From-SVN: r58658
Geert Bosch [Wed, 30 Oct 2002 17:42:53 +0000 (18:42 +0100)]
re PR ada/6558 (Wrongly reverted patches)
PR ada/6558
* misc.c : Include optabs.h
* Make-lang.in (misc.o): Add dependency on optabs.h
From-SVN: r58656
David Edelsohn [Wed, 30 Oct 2002 15:56:37 +0000 (15:56 +0000)]
rs6000.md (load_toc_v4_PIC_1): Use preferred form for addressibility.
* config/rs6000/rs6000.md (load_toc_v4_PIC_1): Use preferred form
for addressibility.
(load_toc_v4_PIC_1b): Same.
Co-Authored-By: Torbjorn Granlund <tege@swox.com>
From-SVN: r58655
Kriang Lerdsuwanakij [Wed, 30 Oct 2002 15:54:10 +0000 (15:54 +0000)]
Core issue 287, PR c++/7639
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.
From-SVN: r58654
Kazu Hirata [Wed, 30 Oct 2002 11:21:24 +0000 (11:21 +0000)]
h8300.c (h8300_eightbit_constant_address_p): Truncate the addresses for H8/300 using HImode.
* config/h8300/h8300.c (h8300_eightbit_constant_address_p):
Truncate the addresses for H8/300 using HImode.
From-SVN: r58653
GCC Administrator [Wed, 30 Oct 2002 08:17:49 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r58652
Hans-Peter Nilsson [Wed, 30 Oct 2002 00:27:34 +0000 (00:27 +0000)]
* lib/compat.exp (compat-execute): Don't clean out a gluefile.
From-SVN: r58646
Hans-Peter Nilsson [Wed, 30 Oct 2002 00:19:59 +0000 (00:19 +0000)]
toplev.c (rest_of_type_compilation): Return early in case of errors.
* 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.
From-SVN: r58645
Mark Mitchell [Wed, 30 Oct 2002 00:05:56 +0000 (00:05 +0000)]
re PR c++/8287 (GCC3.2: Destructor called for non-constructed local object)
PR c++/8287
* g++.dg/init/dtor2.C: New test.
From-SVN: r58644
Mark Mitchell [Wed, 30 Oct 2002 00:05:36 +0000 (00:05 +0000)]
re PR c++/8287 (GCC3.2: Destructor called for non-constructed local object)
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.
From-SVN: r58643
Krister Walfridsson [Tue, 29 Oct 2002 23:03:17 +0000 (00:03 +0100)]
configure.in: Disable hash sync when not using threads.
* configure.in: Disable hash sync when not using threads.
* configure: Regenerated.
From-SVN: r58641
Andreas Bauer [Tue, 29 Oct 2002 22:39:49 +0000 (22:39 +0000)]
* doc/c-tree.texi (Tree overview): Fix typos.
From-SVN: r58640
Geert Bosch [Tue, 29 Oct 2002 22:18:07 +0000 (23:18 +0100)]
re PR ada/6558 (Wrongly reverted patches)
PR ada/6558
* Make-lang.in (gnatbind): Depend on CONFIG_H
From-SVN: r58637
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