Commit Graph

48837 Commits

Author SHA1 Message Date
Loren J. Rittle
e4e7d312cd * doc/install.texi (*-*-freebsd*): Update with known status.
From-SVN: r64870
2003-03-25 22:31:26 +00:00
Jason Merrill
d8c8524d46 call.c (print_z_candidate): Change name of first arg to msgid.
* call.c (print_z_candidate): Change name of first arg to msgid.
        (joust): Add comment for translators.

From-SVN: r64864
2003-03-25 15:30:36 -05:00
Jason Merrill
2e2255ffff re PR rtl-optimization/10171 (wrong code for inlined function)
PR optimization/10171
        * unroll.c (unroll_loop): Don't delete the jump at the end unless
        we also delete a jump at the beginning.

From-SVN: r64863
2003-03-25 15:24:42 -05:00
Stephane Carrez
8725a49979 contrib.texi (Contributors): Mention self as 68HC11/68HC12 contributor.
* doc/contrib.texi (Contributors): Mention self as 68HC11/68HC12
	contributor.

From-SVN: r64860
2003-03-25 21:02:25 +01:00
Jan Hubicka
3504dad3f6 i386.c (ix86_rtx_costs): For -fpic and x86-64 local symbolic constants are not expensive.
* i386.c (ix86_rtx_costs): For -fpic and x86-64 local symbolic
	constants are not expensive.

From-SVN: r64855
2003-03-25 19:44:50 +00:00
Jan Hubicka
cb9a1d9bb6 re PR rtl-optimization/10056 ([HP-PA] ICE at -O2 when building c++ code from doxygen)
PR opt/10056
	* cfglayout.c (fixup_reorder_chain):  Fix dealing with the conditional
	jump jumping to the next instruction.
	* cfgrtl.c (force_nonfallthru_and_redirect):  Likewise.

From-SVN: r64854
2003-03-25 19:20:34 +00:00
Tom Tromey
dcb0eee2a2 * parse.y (create_interface): Call CHECK_DEPRECATED.
From-SVN: r64852
2003-03-25 17:00:47 +00:00
Gerald Pfeifer
d6d05f8d80 passes.texi (Passes): Properly document that we do not perform jump2 any longer...
* doc/passes.texi (Passes): Properly document that we do not
	perform jump2 any longer; remove command-line option -dJ.

From-SVN: r64846
2003-03-25 13:30:30 +00:00
Michael Koch
a62abb9125 2003-03-25 Michael Koch <konqueror@gmx.de>
* java/io/FileInputStream.java
	(read): Renamed b to buf and off to offset.
	* java/io/FileOutputStream.java
	(ch): Documentation added.
	(FileOutputStream): Documentation added.
	(getFD): Documentation added.
	(write): Documentation added.
	(close): Documentation added.
	(getChannel): Documentation added.

From-SVN: r64845
2003-03-25 13:06:52 +00:00
Eric Botcazou
d2fc77254d re PR rtl-optimization/8746 (gcc miscompiles Linux kernel ppa driver on x86)
PR optimization/8746
	* config/i386/i386.md (and promoting splitters): Disable HImode to
	SImode promoting when the sign bit matters and is not preserved, or
	when TARGET_FAST_PREFIX is true. Disable promoting when optimizing
	for size.

From-SVN: r64840
2003-03-25 10:18:47 +00:00
Eric Botcazou
9904e2320f * gcc.dg/ultrasp5.c: Fix options.
From-SVN: r64838
2003-03-25 09:54:45 +00:00
Benjamin Kosnik
bd40d535f6 linker-map.gnu: Remove string export restrictions.
2003-03-24  Benjamin Kosnik  <bkoz@redhat.com>

	* config/linker-map.gnu: Remove string export restrictions.

From-SVN: r64837
2003-03-25 01:53:13 +00:00
Kazu Hirata
beb14cfeb6 h8300.md (a peephole2): Extend to support loads in QImode and HImode.
* config/h8300/h8300.md (a peephole2): Extend to support loads
	in QImode and HImode.

From-SVN: r64836
2003-03-25 01:17:01 +00:00
GCC Administrator
9469fe1512 Daily bump.
From-SVN: r64835
2003-03-25 00:17:35 +00:00
Stephane Carrez
dbcedbc4b7 t-m68hc11-gas (LIB1ASMFUNCS): Add _call_far and _return_far
* config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Add _call_far and
	_return_far
	(MULTILIB_OPTIONS): Don't multilib on -mlong-calls.
	(MULTILIB_EXCEPTIONS): Likewise.
	* config/m68hc11/m68hc11.md ("call"): Support far calls for 68HC11
	by calling some board support routine.
	("call_value"): Likewise.
	("*return_void"): Likewise for return.
	("*return_16bit"): Likewise.
	("*return_32bit"): Likewise.
	* config/m68hc11/m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Generate .far
	for 68HC11 too.
	(DWARF2_ADDR_SIZE): Use 4 so that addresses can
	* config/m68hc11/m68hc11.c (m68hc11_override_options): Accept
	-mlong-calls for 68HC11.
	* config/m68hc11/larith.asm (declare_near): New macro.
	(__premain, ___negsi2, ___one_cmplsi2, ___ashlsi3): Use it.
	(___ashrsi3, ___lshrsi3, ___lshrhi3, ___lshlhi3): Likewise.
	(___rotrhi3, ___rotlhi3, ___ashrhi3, ___ashrqi3): Likewise.
	(___lshlqi3, __divmodhi4, ___mulqi3, ___mulhi3): Likewise.
	(__mulhi32): Likewise.
	(ret): Update macro for 68HC11.
	(__far_trampoline): Implement for 68HC11.
	(__call_a16, __call_a32, __return_void, __return_16): New support
	routines for 68HC11 memory bank switching calling support.
	(__return_32): Likewise.

From-SVN: r64825
2003-03-24 23:26:05 +01:00
Paolo Carlini
eea5120f82 1.cc: Remove find_first_of, find_last_of and find_last_not_of tests.
2003-03-24  Paolo Carlini  <pcarlini@unitus.it>

	* testsuite/21_strings/basic_string/find/char/1.cc: Remove
	find_first_of, find_last_of and find_last_not_of tests.
	* testsuite/21_strings/basic_string/find/char/2.cc: find_first_of
	tests here, new file.
	* testsuite/21_strings/basic_string/find/wchar_t/1.cc: Likewise, remove
	wchar_t find_first_of, find_last_of and find_last_not_of tests.
	* testsuite/21_strings/basic_string/find/wchar_t/2.cc: Likewise,
	wchar_t find_first_of tests here, new file.
	* testsuite/21_strings/basic_string/rfind/char/2.cc: find_last_of tests
	here.
	* testsuite/21_strings/basic_string/rfind/char/3.cc: find_last_not_of
	tests here.
	* testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: likewise,
	wchar_t find_last_of tests here.
	* testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: likewise,
	wchar_t find_last_not_of tests here.

From-SVN: r64824
2003-03-24 22:22:40 +00:00
Eric Botcazou
9fdbe7df39 * gcc.dg/ultrasp5.c: Fix comment.
From-SVN: r64822
2003-03-24 22:03:31 +00:00
Toon Moene
c12741e91b re PR fortran/10197 (direct acces files not unformatted by default)
2003-03-24  Bud Davis  <bdavis9659@comcast.net>

	PR fortran/10197
	* libI77/open.c (f_open): A DIRECT ACCESS file is
	UNFORMATTED by default.

From-SVN: r64821
2003-03-24 21:20:20 +00:00
Neil Booth
696fe23cb6 * toplev.c (independent_decode_option): Don't skip a 'Y' prefix.
From-SVN: r64820
2003-03-24 20:44:54 +00:00
Nathan Sidwell
bd83b409c5 Changelog commit escaped earlier
Changelog commit escaped earlier
cp:
	PR c++/10119
	* error.c (dump_expr) [BASELINK]: Use dump_expr.
	* pt.c (maybe_fold_nontype_args): New function.
	(tsubst_copy) [SCOPE_REF]: Subst any template_id args.
	[TEMPLATE_ID_EXPR]: Break out folding code, call it.
	(tsubst_copy_and_build) [TEMPLATE_ID_EXPR]: Call
	maybe_fold_nontype_args.
testsuite:
	PR c++/10119
	* g++.dg/template/ptrmem5.C: New test.

From-SVN: r64819
2003-03-24 20:40:25 +00:00
Nathan Sidwell
1c82cc9081 PR c++/9898, PR c++/383, DR 322
cp:
	PR c++/9898, PR c++/383, DR 322
	* pt.c (maybe_adjust_types_for_deduction) [DEDUCE_CONV]: Look
	through reference types on both PARM and ARG.
testsuite:
	PR c++/9898, c++/383
	* g++.dg/template/conv6.C: New test.

From-SVN: r64815
2003-03-24 19:47:17 +00:00
Nathan Sidwell
a5fcc8951b re PR c++/10119 (tree-checking ICE in dump_expr)
cp:
	PR c++/10119
	* error.c (dump_expr) [BASELINK]: Use dump_expr.
	* pt.c (maybe_fold_nontype_args): New function.
	(tsubst_copy) [SCOPE_REF]: Subst any template_id args.
	[TEMPLATE_ID_EXPR]: Break out folding code, call it.
	(tsubst_copy_and_build) [TEMPLATE_ID_EXPR]: Call
	maybe_fold_nontype_args.
testsuite:
	PR c++/10119
	* g++.dg/template/ptrmem5.C: New test.

From-SVN: r64814
2003-03-24 19:41:10 +00:00
Janis Johnson
05253aed88 install.texi (Testing): Mention test result links from build status pages.
2003-03-24  Janis Johnson  <janis187@us.ibm.com>

	* doc/install.texi (Testing): Mention test result links from build
	status pages.

From-SVN: r64811
2003-03-24 18:27:26 +00:00
Nathan Sidwell
2ef6c975b9 re PR c++/10026 (ICE on incomplete type)
cp:
	PR c++/10026
	* decl2.c (arg_assoc_type) [ERROR_MARK]: Don't die.
testsuite:
	PR c++/10026
	* g++.dg/lookup/koenig1.C: New test.

	PR C++/10199
	* g++.dg/lookup/template2.C: New test.

From-SVN: r64809
2003-03-24 18:20:12 +00:00
Mark Mitchell
f89283915d function.c (put_var_into_stack): Change bool parameter to int.
* function.c (put_var_into_stack): Change bool parameter to int.
	(gen_mem_addressof): Likewise.
	* rtl.h (gen_mem_addressof): Likewise.
	* tree.h (put_var_into_stack): Likewise.
	* config/alpha/alpha.c (alpha_gp_save_rtx): Adjust call to
	gen_mem_addressof or put_var_into_stack.
	* config/c4x/c4x.c (c4x_expand_builtin): Likewise.
	* config/ia64/ia64.c (spill_tfmode_operand): Likewise.

From-SVN: r64807
2003-03-24 17:53:31 +00:00
Michael Koch
950ebbeaf0 2003-03-24 Michael Koch <konqueror@gmx.de>
* java/io/DataOutputStream.java
	(write): Merged from classpath.
	* java/io/File.java:
	Merged copyrigth with classpath.
	* java/io/FileInputStream.java
	(getChannel): Made it synchronized instead of using a synchronized
	block.
	* java/io/FileOutputStream.java: Reformatted.
	* java/io/InputStreamReader.java
	(InputStreamReader): Renamed enc to encoding_name.
	(close): Merged documentation from classpath.
	(getEncoding): Merged documentation from classpath.
	(ready): Merged documentation from classpath.
	(read): Merged documentation from classpath.
	* java/io/LineNumberReader.java
	(lineNumber): Made it private.
	(LineNumberReader): Use Constant instead of a direct value.
	* java/io/OutputStreamWriter.java
	(OutputStreamWriter): Renamed enc to encoding_scheme, merged
	documentation from classpath.
	(close): Merged documentation from classpath.
	(flush): Merged documentation from classpath.
	(write): Merged documentation from classpath.
	* java/io/PrintStream.java: Reformatted.

From-SVN: r64806
2003-03-24 15:43:22 +00:00
Andreas Schwab
6db450f90a configure.in: Avoid trailing /.
2003-03-10  Andreas Schwab  <schwab@suse.de>

boehm-gc:
	* configure.in: Avoid trailing /. in toolexeclibdir.
	* configure: Rebuilt.

libf2c:
	* aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
	glibcpp_toolexeclibdir.
	* configure: Rebuilt.

libffi:
	* configure.in: Avoid trailing /. in toolexeclibdir.
	* configure: Rebuilt.

libjava:
	* configure.in: Avoid trailing /. in toolexeclibdir.
	* configure: Rebuilt.

libobjc:
	* aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
	glibcpp_toolexeclibdir.
	* configure: Rebuilt.

libstdc++-v3:
	* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
	glibcpp_toolexeclibdir.
	* aclocal.m4, configure: Rebuilt.

zlib:
	* configure.in: Avoid trailing /. in toolexeclibdir.
	* configure: Rebuilt.

From-SVN: r64805
2003-03-24 15:29:54 +00:00
Kazu Hirata
b980d72537 * config/h8300/h8300.md (a peephole2): New.
From-SVN: r64802
2003-03-24 14:17:49 +00:00
Michael Koch
fba5a74af3 2003-03-24 Michael Koch <konqueror@gmx.de>
* javax/swing/text/ComponentView.java
	(getComponent): Must be final.
	* javax/swing/tree/DefaultTreeCellRenderer.java:
	Reformatted.
	* javax/swing/undo/StateEditable.java:
	Reformatted.

From-SVN: r64801
2003-03-24 14:05:02 +00:00
Michael Koch
3bc8a4e355 ActivationInstantiator.java: Reformatted.
2003-03-24  Michael Koch  <konqueror@gmx.de>

	* java/rmi/activation/ActivationInstantiator.java:
	Reformatted.
	* java/rmi/activation/Activator.java:
	Reformatted.
	* java/rmi/registry/RegistryHandler.java:
	Remerged from classpath.

From-SVN: r64800
2003-03-24 14:01:41 +00:00
Michael Koch
1ab1cf4ecc Date.java: Fixed documentation starting tag to make javadoc happy.
2003-03-24  Michael Koch  <konqueror@gmx.de>

	* java/util/Date.java:
	Fixed documentation starting tag to make javadoc happy.
	* java/util/regex/Pattern.java
	(Pattern): Implements Serializable.
	* java/util/PatternSyntaxException.java
	(serialVersionUID): New member variable.

From-SVN: r64799
2003-03-24 13:56:57 +00:00
Michael Koch
050d3e13d8 2003-03-24 Michael Koch <koqnueror@gmx.de>
* java/awt/ContainerOrderFocusTraversalPolicy.java
	(getFirstComponent): Implemented.
	(getLastComponent): Implemented.
	(getDefaultComponent): Implemented.
	(setImplicitDownCycleTraversal): Fixed implementation.
	* java/awt/Robot.java
	(Robot): Added documentation.
	* java/awt/Toolkit.java
	(getFontList): Deprecated.
	(getFontMetrics): Deprecated.
	(getPrintJob): Added documentation.
	(getSystemSelection): Added documentation.
	(getLockingKeyState): Added documentation.
	(setLockingKeyState): Added documentation.
	(createCustomCursor): Added documentation.
	(getBestCursorSize): Added documentation.
	(getMaximumCursorColors): Added documentation.
	(isFrameStateSupported): Added documentation.

From-SVN: r64798
2003-03-24 13:50:32 +00:00
Michael Koch
3d6431d724 ChangeLog entry fix
From-SVN: r64797
2003-03-24 13:47:05 +00:00
Michael Koch
7e7ed852f9 RandomAccessFile.java: More little merges with libgcj.
2003-03-24  Michael Koch  <konqueror@gmx.de>

	* java/io/RandomAccessFile.java:
	More little merges with libgcj.

From-SVN: r64796
2003-03-24 13:45:29 +00:00
Michael Koch
24a3f7ac04 natInetAddressNoNet.cc: Include stddef.h.
2003-03-24  Michael Koch  <konqueror@gmx.de>

	* java/net/natInetAddressNoNet.cc:
	Include stddef.h.
	* java/net/natPlainDatagramSocketImplNoNet.cc:
	Fixed inlcude of java/net/DatagramPacket.h.
	* java/net/natPlainSocketImplNoNet.cc:
	Include some missing classes.

From-SVN: r64795
2003-03-24 13:40:44 +00:00
Michael Koch
5eec7c8caf 2003-03-24 Michael Koch <konqueror@gmx.de>
* java/awt/dnd/DropTarget.java
	(DropTargetAutoScroller): According to the online documentation, this
	is protected, but in reality it is public.
	* java/awt/dnd/DropTargetContext.java
	(TransferableProxy): According to the online documentation, this
        is protected, but in reality it is public.

From-SVN: r64794
2003-03-24 13:12:55 +00:00
Jakub Jelinek
2ff1fb45d5 * dojump.c (do_jump): Handle UNSAVE_EXPR specially.
From-SVN: r64791
2003-03-24 12:43:21 +01:00
Jakub Jelinek
1134f4ace4 * g++.dg/opt/rtti1.C: New test.
From-SVN: r64788
2003-03-24 12:36:26 +01:00
Gerald Pfeifer
8b5777dbb4 * doc/contrib.texi (Contributors): Update Janis Johnson.
From-SVN: r64787
2003-03-24 11:35:14 +00:00
Eric Botcazou
02484af985 re PR target/10072 ([Sparc] internal compiler error: in trunc_int_for_mode, at explow.c:54)
PR target/10072
	* combine.c (simplify_if_then_else): Check that the mode
	has MODE_INT class before applying the (OP Z (mult COND C2))
	transformation.

From-SVN: r64785
2003-03-24 11:29:11 +00:00
Eric Botcazou
941bc65971 re PR rtl-optimization/9414 ([Sparc] Scheduling bug on Ultrasparc)
PR optimization/9414
	* config/sparc/sparc.md (widening peepholes): Use
	widen_memory_access instead of change_address.

From-SVN: r64782
2003-03-24 10:21:46 +00:00
Mark Mitchell
f29a2bd17d re PR c++/7086 (compile time regression)
PR c++/7086
	* c-typeck.c (c_mark_addressable): Adjust calls to
	put_var_into_stack.
	* expr.c (expand_expr): Likewise.
	* function.c (put_var_into_stack): Add rescan parameter.  Do not
	call fixup_var_refs when rescan is false.
	(gen_mem_addressof): Likewise.
	(assign_parms): Adjust calls to put_var_into_stack.
	(setjmp_protect): Likewise.
	(setjmp_protect_args): Likewise.
	* rtl.h (gen_mem_addressof): Change prototype.
	* stmt.c (expand_decl): Adjust calls to put_var_into_stack.
	* tree.h (put_var_into_stack): Change prototype.

	PR c++/7086
	* utils2.c: Adjust calls to put_var_into_stack.

	PR c++/7086
	* semantics.c (genrtl_named_return_value): Adjust calls to
	put_var_into_stack.
	* typeck.c (cxx_mark_addressable): Likewise.

	PR c++/7086
	* com.c (ffecom_sym_transform_): Adjust calls to
	put_var_into_stack.
	(ffe_mark_addressable): Likewise.

From-SVN: r64781
2003-03-24 08:31:36 +00:00
Michael Koch
ffe4ebba87 DataInputStream.java (): Wrapped documentation line.
2003-03-24  Michael Koch  <konqueror@gmx.de>

	* java/io/DataInputStream.java
	(): Wrapped documentation line.
	(): Fixed @return tag.
	* java/io/DataOutputStream.java
	(written): Moved to top of class.
	(all methods): Merged documentation from classpath.
	* java/io/File.java:
	Merged copyright year with classpath.
	* java/io/FileInputStream.java
	(all methods): Merged documentation from classpath.
	* java/io/LineNumberReader.java
	(getLineNumber): Fixed @return tag.
	* java/io/ObjectInputStream.java.
	Reformatted.
	* java/io/ObjectOutputStream.java:
	Reformatted, fixed some @see tags.
	* java/io/OutputStreamWriter.java:
	Deleted empty line.
	* java/io/Writer.java:
	Reformatted.

From-SVN: r64780
2003-03-24 08:27:28 +00:00
Michael Koch
228115acf4 2003-03-24 Michael Koch <konqueror@gmx.de>
* java/awt/Frame.java
	(DEFAULT_CURSOR): Fixed @deprecated tag.
	(setCursor): Fixed @deprecated tag.

From-SVN: r64779
2003-03-24 08:26:52 +00:00
Michael Koch
99010ccbb8 BeanContextEvent.java: Reformated.
2003-03-24  Michael Koch  <konqueror@gmx.de>

	* java/beans/beancontext/BeanContextEvent.java:
	Reformated.

From-SVN: r64778
2003-03-24 08:24:29 +00:00
Kaveh Ghazi
b099daeb77 clarify which PR was fixed.
From-SVN: r64773
2003-03-24 01:30:44 +00:00
Arpad Beszedes
fa9b490440 builtins.c (expand_builtin_fputs): When optimizing for size, don't transform fputs into fwrite.
gcc:
	* builtins.c (expand_builtin_fputs): When optimizing for size,
	don't transform fputs into fwrite.
testsuite:
	* gcc.c-torture/execute/stdio-opt-1.c: Adjust test for change to
	builtin fputs.

From-SVN: r64771
2003-03-24 01:24:41 +00:00
Eric Blake
ce1bb3bbba natStringBuffer.cc (regionMatches): New function.
2003-03-23  Eric Blake  <ebb9@email.byu.edu>

	* java/lang/natStringBuffer.cc (regionMatches): New function.
	* java/lang/String.java (count): Now package-private.
	* java/lang/StringBuffer.java: Merged with Classpath.

From-SVN: r64770
2003-03-24 00:50:18 +00:00
GCC Administrator
fc3703e35c Daily bump.
From-SVN: r64769
2003-03-24 00:17:06 +00:00
Mark Mitchell
068d2c9db6 re PR c/8224 (Incorrect joining of signed and unsigned division)
PR c/8224
	* fold-const.c (extract_muldiv_1): Don't pass through type conversions
	when signedness changes for division or modulus.

	PR c/8224
	* gcc.dg/20030323-1.c: New test.

From-SVN: r64760
2003-03-23 22:57:26 +00:00