Andreas Krebbel
b04a1b3b0c
reload.c (find_reloads): Added missing type casts.
...
2003-11-19 Andreas Krebbel <krebbel1@de.ibm.com>
* reload.c (find_reloads): Added missing type casts.
From-SVN: r73748
2003-11-20 00:18:46 +00:00
GCC Administrator
fd21a1eb28
Daily bump.
...
From-SVN: r73746
2003-11-20 00:16:08 +00:00
James E Wilson
f2d89bc90c
* combine.c (sets_function_arg_p): Delete unused function.
...
From-SVN: r73744
2003-11-19 16:10:27 -08:00
Eric Christopher
1f663989d2
reload1.c (reload): Revert 2 previous checkins.
...
2003-11-19 Eric Christopher <echristo@redhat.com>
* reload1.c (reload): Revert 2 previous checkins.
From-SVN: r73742
2003-11-19 20:01:10 +00:00
Eric Christopher
b0e667aafc
reload1.c (reload): Revert 2 previous checkins.
...
2003-11-19 Eric Christopher <echristo@redhat.com>
* reload1.c (reload): Revert 2 previous checkins.
From-SVN: r73741
2003-11-19 19:51:35 +00:00
Nathanael Nerode
dd2cc6dc8f
cpptrad.c (_cpp_scan_out_logical_line): Improve test for whether directive begins at the beginning of a line.
...
* cpptrad.c (_cpp_scan_out_logical_line): Improve test for
whether directive begins at the beginning of a line.
(testsuite)
* gcc.dg/cpp/trad/xwin1.c: New test case.
From-SVN: r73740
2003-11-19 18:48:53 +00:00
Richard Sandiford
09c5572008
* config/frv/frv.c (frv_init_libfuncs): Correct ufix_optab entries.
...
From-SVN: r73739
2003-11-19 16:15:34 +00:00
Gerald Pfeifer
4550b19eb2
install.texi (Specific): Remove information on old versions of glibc versus old versions of GCC.
...
* doc/install.texi (Specific): Remove information on old versions
of glibc versus old versions of GCC.
From-SVN: r73738
2003-11-19 16:13:44 +00:00
Arnaud Charlet
e9b926d1cc
* Makefile.tpl (EXTRA_GCC_FLAGS): Pass BOOT_ADAFLAGS.
...
From-SVN: r73736
2003-11-19 14:28:51 +01:00
Guilhem Lavaux
c618b5f802
[multiple changes]
...
2003-11-19 Guilhem Lavaux <guilhem@kaffe.org>
Jim Pick <jim@kaffe.org>
* java/text/DecimalFormat.java (getCurrency, setCurrency): New
methods.
2003-11-19 Guilhem Lavaux <guilhem@kaffe.org>
* java/text/DecimalFormatSymbols.java (getCurrency,
setCurrency): New methods.
Co-Authored-By: Jim Pick <jim@kaffe.org>
From-SVN: r73735
2003-11-19 12:06:38 +00:00
Sascha Brawer
b6b8f69047
FlatteningPathIterator.java: Entirely re-written.
...
2003-11-19 Sascha Brawer <brawer@dandelis.ch>
* java/awt/geom/FlatteningPathIterator.java: Entirely re-written.
* java/awt/geom/doc-files/FlatteningPathIterator-1.html:
Describe how the implementation works.
From-SVN: r73734
2003-11-19 12:02:11 +00:00
Paolo Carlini
1f33554abb
codecvt_members.cc (do_out): If we can upper bound the total number of external chars to something smaller...
...
2003-11-19 Paolo Carlini <pcarlini@suse.de>
* config/locale/gnu/codecvt_members.cc (do_out): If
we can upper bound the total number of external chars
to something smaller than __to_end - __to, avoid the
temporary buffer, the memcopy and simplify the loop.
* config/locale/generic/codecvt_members.cc (do_out):
Likewise.
From-SVN: r73733
2003-11-19 11:38:40 +00:00
Michael Koch
edfe1ac771
2003-11-19 Michael Koch <konqueror@gmx.de>
...
* java/net/Socket.java
(implCreated): New variable that indicates created impl.
(getImpl): New method.
(toString): Return more SUN compliant string representation.
(various): Use getImpl() instead of impl.
From-SVN: r73732
2003-11-19 08:34:21 +00:00
Richard Sandiford
90db942b27
emit-rtl.c (gen_lowpart): Don't force MEMs into a register unless the register lowpart is a...
...
* emit-rtl.c (gen_lowpart): Don't force MEMs into a register unless
the register lowpart is a TRULY_NOOP_TRUNCATION.
From-SVN: r73731
2003-11-19 08:23:43 +00:00
Richard Henderson
d4c32b6fca
i386.c (print_reg): Handle QI and HI modes for non Q regs.
...
* config/i386/i386.c (print_reg): Handle QI and HI modes for
non Q regs.
From-SVN: r73730
2003-11-18 23:59:08 -08:00
Andreas Tobler
43d8d958ce
libtool.m4: Sync darwin bits from libtool cvs to build a gcc with shared/dylibed libraries.
...
2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
* libtool.m4: Sync darwin bits from libtool cvs to build a gcc with
shared/dylibed libraries.
* ltmain.sh: Likewise.
* ltcf-c.sh: Likewise, disable shared library build for OS-X < 10.3.
* ltcf-cxx.sh: Likewise.
* ltcf-gcj.sh: Likewise.
* ltconfig: Likewise.
From-SVN: r73729
2003-11-19 06:29:32 +01:00
Andreas Tobler
f7a75b82d2
config.gcc (powerpc-*-darwin*): Add libgcc build specification file.
...
2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
* config/config.gcc (powerpc-*-darwin*): Add libgcc build
specification file.
* config/t-slibgcc-darwin: New file, libgcc build specification.
* config/t-darwin: Add libgcc2 flag -fPIC.
* config/rs6000/t-darwin: Multilib matches float.
* libgcc-darwin.ver: New file, contains libgcc symbols.
From-SVN: r73728
2003-11-19 06:17:15 +01:00
Andreas Tobler
5153e857f7
compat.exp: Add DYLD_LIBRARY_PATH for darwin.
...
2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
* g++.dg/compat/compat.exp: Add DYLD_LIBRARY_PATH for darwin.
* lib/g77.exp: Likewise.
* lib/objc.exp: Likewise.
* lib/g++.exp: Likewise, add -multiply_defined suppress flag
for darwin.
From-SVN: r73727
2003-11-19 05:58:34 +01:00
Andreas Tobler
70d8f2a1b2
libffi-dg.exp: Add DYLD_LIBRARY_PATH for darwin.
...
2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/lib/libffi-dg.exp: Add DYLD_LIBRARY_PATH for darwin.
Add -lgcc_s to additional flags.
From-SVN: r73726
2003-11-19 05:55:32 +01:00
Andreas Tobler
d6fcadb293
libjava.exp: Add DYLD_LIBRARY_PATH for darwin.
...
2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
* lib/libjava.exp: Add DYLD_LIBRARY_PATH for darwin. Look for
the right libgcc. Add -multiply_defined suppress and -bind_at_load
flags.
From-SVN: r73725
2003-11-19 05:53:29 +01:00
Andreas Tobler
90635952d1
libstdc++.exp: Add DYLD_LIBRARY_PATH for darwin.
...
2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
* testsuite/lib/libstdc++.exp: Add DYLD_LIBRARY_PATH for darwin.
* testsuite/libstdc++-dg/normal.exp: Add -multiply_defined suppress
flag.
From-SVN: r73724
2003-11-19 05:51:18 +01:00
Ian Lance Taylor
820555e6f9
cp-demangle.c (demangle_operator_name): Remove space before "sizeof".
...
* cp-demangle.c (demangle_operator_name): Remove space before
"sizeof".
(demangle_type_ptr): Put qualifiers in the right place. Handle
qualifiers in pointer to member specially.
(demangle_type): Handle qualifiers for pointer or reference
specially. Handle function type.
(demangle_local_name): Save and restore caret around demangling of
initial encoding.
From-SVN: r73723
2003-11-19 04:06:50 +00:00
Tom Tromey
e2534315a1
re PR libgcj/13026 (libgcj verifier failure)
...
PR libgcj/13026:
* verify.cc (state::copy): Only set local_changed if we're in a
subroutine. Correctly copy local variables which were modified
by the subroutine.
(push_jump_merge): Added more debugging output.
From-SVN: r73722
2003-11-19 03:09:30 +00:00
Nathanael Nerode
e2657a6707
* config/ns32k/ns32k.h: Remove obsolete comment.
...
From-SVN: r73720
2003-11-19 01:06:50 +00:00
GCC Administrator
9a95dbe435
Daily bump.
...
From-SVN: r73718
2003-11-19 00:16:10 +00:00
Jonathan Wakely
bc225f98dd
configopts.html, [...]: Add <link> tags.
...
2003-11-18 Jonathan Wakely <redi@gcc.gnu.org>
* docs/html/configopts.html, docs/html/debug.html,
docs/html/documentation.html, docs/html/explanations.html,
docs/html/install.html, docs/html/17_intro/contribute.html,
docs/html/17_intro/howto.html, docs/html/17_intro/license.html,
docs/html/18_support/howto.html, docs/html/19_diagnostics/howto.html,
docs/html/20_util/howto.html, docs/html/21_strings/howto.html,
docs/html/22_locale/codecvt.html, docs/html/22_locale/ctype.html,
docs/html/22_locale/howto.html, docs/html/22_locale/locale.html,
docs/html/22_locale/messages.html, docs/html/23_containers/howto.html,
docs/html/24_iterators/howto.html, docs/html/25_algorithms/howto.html,
docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
docs/html/ext/howto.html, docs/html/ext/sgiexts.html: Add <link> tags.
From-SVN: r73712
2003-11-18 20:56:12 +00:00
Ian Lance Taylor
c4328d32dd
test-demangle.c (main): Don't pass DMGL_VERBOSE to cplus_demangle.
...
* testsuite/test-demangle.c (main): Don't pass DMGL_VERBOSE to
cplus_demangle.
From-SVN: r73709
2003-11-18 18:29:30 +00:00
Ian Lance Taylor
a9b571f241
* testsuite/Makefile.in (test-demangle): Depend upon libiberty.a.
...
From-SVN: r73708
2003-11-18 18:29:02 +00:00
Tom Tromey
6c363de7ea
jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string is null.
...
* jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
is null.
From-SVN: r73707
2003-11-18 17:56:33 +00:00
Roger Sayle
b9c5315018
re PR middle-end/11821 (Operator implementation as a library call fails with constants)
...
PR middle-end/11821
* config/arm/arm.c (arm_rtx_costs_1): Improve estimate of the code
size for calls to libgcc's div & mod subroutines when using -Os.
From-SVN: r73706
2003-11-18 17:28:02 +00:00
Kriang Lerdsuwanakij
c44e68a5f7
re PR c++/12932 (ICE with use of ptr-to-function as template arg)
...
PR c++/12932
* class.c (currently_open_derived_class): Check if
current_class_type is NULL_TREE.
* semantics.c (finish_call_expr): Check if
currently_open_derived_class returns NULL_TREE.
* cp-tree.h (DERIVED_FROM_P): Add parenthesis around PARENT
parameter.
* g++.dg/template/static5.C: New test.
From-SVN: r73705
2003-11-18 15:54:22 +00:00
Jan Hubicka
df964a183f
* cgraph.c (change_decl_assembler_name): Avoid bogus warnings.
...
From-SVN: r73703
2003-11-18 14:52:28 +00:00
Marc Espie
457ef7975c
sysv4.h: OpenBSD hooks.
...
2003-11-18 Marc Espie <espie@openbsd.org>
* config/rs6000/sysv4.h: OpenBSD hooks.
From-SVN: r73702
2003-11-18 12:56:44 +00:00
Joseph Myers
fc6d6d62cf
* gcc.dg/nested-func-1.c: New test.
...
From-SVN: r73701
2003-11-18 12:04:04 +00:00
Arnaud Charlet
0d77ab84bb
[multiple changes]
...
2003-11-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* ada-tree.def: (ALLOCATE_EXPR): Class is "2", not "s".
* decl.c (gnat_to_gnu_entity, case E_Floating_Point_Subtype): Set
TYPE_PRECISION directly from esize.
2003-11-18 Thomas Quinot <quinot@act-europe.fr>
* cstreams.c:
Use realpath(3) on FreeBSD. Fix typo in comment while we are at it.
* init.c: Initialization routines for FreeBSD
* link.c: Link info for FreeBSD
* sysdep.c: Add the case of FreeBSD
From-SVN: r73700
2003-11-18 11:00:43 +01:00
Richard Henderson
beb0c2e0ca
expr.c (expand_expr): Don't look through constant arrays if they don't bind locally.
...
* expr.c (expand_expr): Don't look through constant arrays if
they don't bind locally.
From-SVN: r73698
2003-11-18 00:37:15 -08:00
Paolo Carlini
2934246345
re PR libstdc++/12868 (basic_filebuf::imbue fails too easily)
...
2003-11-18 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/12868
* include/bits/fstream.tcc (imbue): For encodings != -1 it's
always ok to imbue a new locale, provided seekoff(0, cur, ...)
doesn't fail, of course.
(underflow): In order for the above to work, deal gracefully
with _M_codecvt->in returning codecvt_base::error while
(__ilen = __iend - this->eback()) > 0: it just means __ilen
correctly converted internal characters before an error.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: New.
From-SVN: r73697
2003-11-18 08:21:38 +00:00
Andreas Tobler
0ec5fef218
jar.exp: Cleanup files and reset CLASSPATH.
...
2003-11-18 Andreas Tobler <a.tobler@schweiz.ch>
* libjava.jar/jar.exp: Cleanup files and reset CLASSPATH.
From-SVN: r73696
2003-11-18 08:17:01 +01:00
Jeff Sturm
217ec3ae92
* libjava.compile/PR12857.java: New test case.
...
From-SVN: r73692
2003-11-18 04:19:24 +00:00
Jeff Sturm
b8ca854ad1
re PR java/12857 (Illegal method modifier when loading a generated .class)
...
Fix PR java/12857.
decl.c (java_init_decl_processing): Don't initialize
class_not_found_type_node, no_class_def_found_type_node.
java-tree.h (JTI_CLASS_NOT_FOUND_TYPE_NODE,
JTI_NO_CLASS_DEF_FOUND_TYPE_NODE): Remove from java_tree_index.
(class_not_found_type_node, no_class_def_found_type_node):
Don't define.
parse.y (build_dot_class_method_invocation): Add this_class
argument. Qualify method invocations to a different class.
(create_new_parser_context): Initialize saved_data_ctx to 0.
(java_parser_context_save_global): Initialize saved_data_ctx to 1.
(build_dot_class_method): Don't load classes. Register
incomplete types.
(build_incomplete_class_ref): Special cases for interfaces
and inner classes. Move build_dot_class_method call to here...
(patch_incomplete_class_ref): ...from here. Pass current_class
to build_dot_class_method_invocation.
(build_assertion): Pass class_type to
build_dot_class_method_invocation.
(encapsulate_with_try_catch): Handle EXPR_WITH_FILE_LOCATION node.
From-SVN: r73691
2003-11-18 03:57:08 +00:00
Jeff Sturm
a78e4fa764
re PR java/12739 (gcj emits dead bytecode)
...
Fix PR java/12739.
* java-tree.h (BLOCK_EMPTY_P): Define.
* parse.y (java_complete_lhs): Check for empty blocks
in TRY_FINALLY_EXPR case.
From-SVN: r73690
2003-11-18 03:42:30 +00:00
Richard Kenner
e44846d6cc
expr.c (convert_move): Use GET_MODE_PRECISION instead of bitsize when seeing if truncation or extension.
...
* expr.c (convert_move): Use GET_MODE_PRECISION instead of bitsize
when seeing if truncation or extension.
From-SVN: r73689
2003-11-17 21:05:29 -05:00
Graydon Hoare
ccdf1a46ee
BasicDefaults.java: Rewrite to spec.
...
2003-11-17 Graydon Hoare <graydon@redhat.com>
* javax/swing/plaf/basic/BasicDefaults.java: Rewrite to spec.
* javax/swing/UIDefaults.java: Modify to reflect rewrite.
From-SVN: r73688
2003-11-18 01:36:56 +00:00
Eric Christopher
628b6e8cc1
reload1.c (reload): Fix previous change.
...
2003-11-17 Eric Christopher <echristo@redhat.com>
* reload1.c (reload): Fix previous change.
From-SVN: r73687
2003-11-18 00:40:42 +00:00
GCC Administrator
e88ae79498
Daily bump.
...
From-SVN: r73684
2003-11-18 00:16:07 +00:00
Jason Merrill
d2cf112d21
fix size_t
...
From-SVN: r73680
2003-11-17 18:09:44 -05:00
Jason Merrill
73eeb3d450
add comment
...
From-SVN: r73678
2003-11-17 14:41:00 -05:00
Jason Merrill
a61116616e
init.c (build_new_1): Preevaluate placement args.
...
* init.c (build_new_1): Preevaluate placement args.
* call.c (build_op_delete_call): Don't expose placement args to
overload resolution.
From-SVN: r73677
2003-11-17 14:39:46 -05:00
Scott Snyder
47fcfa7bc1
re PR debug/11325 (nested class debug info missing)
...
2003-11-17 Scott Snyder <snyder@fnal.gov>
PR debug/11325
* dwarf2out.c (struct die_struct): Add die_definition field.
(add_AT_specification): New.
(gen_subprogram_die, gen_variable_die,
gen_struct_or_union_type_die): Use it.
(prune_unused_types_mark): If we're marking a forward declaration,
also mark the full definition, if it exists.
From-SVN: r73676
2003-11-17 17:48:59 +00:00
Andrew Haley
6bbb4ad35e
java-tree.h (LOCAL_VAR_OUT_OF_SCOPE_P): New.
...
2003-09-12 Andrew Haley <aph@redhat.com>
* java-tree.h (LOCAL_VAR_OUT_OF_SCOPE_P): New.
(struct lang_decl_var:freed): New variable.
* decl.c (poplevel): Mark local vars that have gone out of scope.
(push_jvm_slot): Don't use the RTL of a var that has gone out of
scope.
From-SVN: r73675
2003-11-17 17:39:05 +00:00