mmitchel [Thu, 20 Nov 2003 01:48:41 +0000 (01:48 +0000)]
* cp-demangle.c (demangle_type): Correct thinko in substitution
processing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73751
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Thu, 20 Nov 2003 00:28:39 +0000 (00:28 +0000)]
2003-11-19 Andreas Krebbel <krebbel1@de.ibm.com>
* stmt.c (expand_goto): Memory clobbers added.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73749
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Thu, 20 Nov 2003 00:18:46 +0000 (00:18 +0000)]
2003-11-19 Andreas Krebbel <krebbel1@de.ibm.com>
* reload.c (find_reloads): Added missing type casts.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73748
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 20 Nov 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73746
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 20 Nov 2003 00:10:27 +0000 (00:10 +0000)]
* combine.c (sets_function_arg_p): Delete unused function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73744
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Wed, 19 Nov 2003 20:01:10 +0000 (20:01 +0000)]
2003-11-19 Eric Christopher <echristo@redhat.com>
* reload1.c (reload): Revert 2 previous checkins.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73742
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Wed, 19 Nov 2003 19:51:35 +0000 (19:51 +0000)]
2003-11-19 Eric Christopher <echristo@redhat.com>
* reload1.c (reload): Revert 2 previous checkins.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73741
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Wed, 19 Nov 2003 18:48:53 +0000 (18:48 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73740
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 19 Nov 2003 16:15:34 +0000 (16:15 +0000)]
* config/frv/frv.c (frv_init_libfuncs): Correct ufix_optab entries.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73739
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Wed, 19 Nov 2003 16:13:44 +0000 (16:13 +0000)]
* doc/install.texi (Specific): Remove information on old versions
of glibc versus old versions of GCC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73738
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Wed, 19 Nov 2003 13:28:51 +0000 (13:28 +0000)]
* Makefile.tpl (EXTRA_GCC_FLAGS): Pass BOOT_ADAFLAGS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73736
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 19 Nov 2003 12:06:38 +0000 (12:06 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73735
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 19 Nov 2003 12:02:11 +0000 (12:02 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73734
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 19 Nov 2003 11:38:40 +0000 (11:38 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73733
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 19 Nov 2003 08:34:21 +0000 (08:34 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73732
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Wed, 19 Nov 2003 08:23:43 +0000 (08:23 +0000)]
* emit-rtl.c (gen_lowpart): Don't force MEMs into a register unless
the register lowpart is a TRULY_NOOP_TRUNCATION.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73731
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 19 Nov 2003 07:59:08 +0000 (07:59 +0000)]
* config/i386/i386.c (print_reg): Handle QI and HI modes for
non Q regs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73730
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Wed, 19 Nov 2003 05:29:32 +0000 (05:29 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73729
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Wed, 19 Nov 2003 05:17:15 +0000 (05:17 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73728
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Wed, 19 Nov 2003 04:58:34 +0000 (04:58 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73727
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Wed, 19 Nov 2003 04:55:32 +0000 (04:55 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73726
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Wed, 19 Nov 2003 04:53:29 +0000 (04:53 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73725
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Wed, 19 Nov 2003 04:51:18 +0000 (04:51 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73724
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Wed, 19 Nov 2003 04:06:50 +0000 (04:06 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73723
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 19 Nov 2003 03:09:30 +0000 (03:09 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73722
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Wed, 19 Nov 2003 01:06:50 +0000 (01:06 +0000)]
* config/ns32k/ns32k.h: Remove obsolete comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73720
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 19 Nov 2003 00:16:10 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73718
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Tue, 18 Nov 2003 20:56:12 +0000 (20:56 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73712
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 18 Nov 2003 18:29:30 +0000 (18:29 +0000)]
* testsuite/test-demangle.c (main): Don't pass DMGL_VERBOSE to
cplus_demangle.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73709
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 18 Nov 2003 18:29:02 +0000 (18:29 +0000)]
* testsuite/Makefile.in (test-demangle): Depend upon libiberty.a.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73708
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 18 Nov 2003 17:56:33 +0000 (17:56 +0000)]
* jni.cc (_Jv_JNI_GetStringUTFChars): Fail gracefully if string
is null.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73707
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Tue, 18 Nov 2003 17:28:02 +0000 (17:28 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73706
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Tue, 18 Nov 2003 15:54:22 +0000 (15:54 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73705
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Tue, 18 Nov 2003 14:52:28 +0000 (14:52 +0000)]
* cgraph.c (change_decl_assembler_name): Avoid bogus warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73703
138bc75d-0d04-0410-961f-
82ee72b054a4
espie [Tue, 18 Nov 2003 12:56:44 +0000 (12:56 +0000)]
2003-11-18 Marc Espie <espie@openbsd.org>
* config/rs6000/sysv4.h: OpenBSD hooks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73702
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Tue, 18 Nov 2003 12:04:04 +0000 (12:04 +0000)]
* gcc.dg/nested-func-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73701
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Tue, 18 Nov 2003 10:00:43 +0000 (10:00 +0000)]
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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73700
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 18 Nov 2003 08:37:15 +0000 (08:37 +0000)]
* expr.c (expand_expr): Don't look through constant arrays if
they don't bind locally.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73698
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 18 Nov 2003 08:21:38 +0000 (08:21 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73697
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Tue, 18 Nov 2003 07:17:01 +0000 (07:17 +0000)]
2003-11-18 Andreas Tobler <a.tobler@schweiz.ch>
* libjava.jar/jar.exp: Cleanup files and reset CLASSPATH.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73696
138bc75d-0d04-0410-961f-
82ee72b054a4
jsturm [Tue, 18 Nov 2003 04:19:24 +0000 (04:19 +0000)]
* libjava.compile/PR12857.java: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73692
138bc75d-0d04-0410-961f-
82ee72b054a4
jsturm [Tue, 18 Nov 2003 03:57:08 +0000 (03:57 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73691
138bc75d-0d04-0410-961f-
82ee72b054a4
jsturm [Tue, 18 Nov 2003 03:42:30 +0000 (03:42 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73690
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 18 Nov 2003 02:05:29 +0000 (02:05 +0000)]
* expr.c (convert_move): Use GET_MODE_PRECISION instead of bitsize
when seeing if truncation or extension.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73689
138bc75d-0d04-0410-961f-
82ee72b054a4
graydon [Tue, 18 Nov 2003 01:36:56 +0000 (01:36 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73688
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Tue, 18 Nov 2003 00:40:42 +0000 (00:40 +0000)]
2003-11-17 Eric Christopher <echristo@redhat.com>
* reload1.c (reload): Fix previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73687
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 18 Nov 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73684
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 17 Nov 2003 23:09:44 +0000 (23:09 +0000)]
fix size_t
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73680
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 17 Nov 2003 19:41:00 +0000 (19:41 +0000)]
add comment
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73678
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 17 Nov 2003 19:39:46 +0000 (19:39 +0000)]
* init.c (build_new_1): Preevaluate placement args.
* call.c (build_op_delete_call): Don't expose placement args to
overload resolution.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73677
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 17 Nov 2003 17:48:59 +0000 (17:48 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73676
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Mon, 17 Nov 2003 17:39:05 +0000 (17:39 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73675
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Mon, 17 Nov 2003 16:33:59 +0000 (16:33 +0000)]
PR c++/11266
* gimplify.c (gimple_add_tmp_var): Also make sure
seen_in_bind_expr isn't set.
(mostly_copy_tree_r): Don't copy a TARGET_EXPR.
(gimplify_target_expr): Only expand a TARGET_EXPR the first time
we see it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73674
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 17 Nov 2003 15:03:53 +0000 (15:03 +0000)]
Resync.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73673
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Mon, 17 Nov 2003 14:58:17 +0000 (14:58 +0000)]
2003-11-17 Jerome Guitton <guitton@act-europe.fr>
* 5zthrini.adb: Remove the call to Init_RTS at elaboration, as it is
already called in System.Threads.
* 5ztiitho.adb (Initialize_Task_Hooks): Remove the registration of the
environment task, as it has been moved to System.Threads.Initialization.
2003-11-17 Arnaud Charlet <charlet@act-europe.fr>
* adaint.c (__gnatlib_install_locks): Only reference
__gnat_install_locks on VMS, since other platforms can avoid using
--enable-threads=gnat
2003-11-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* ada-tree.h: (TYPE_IS_PACKED_ARRAY_TYPE_P): New macro.
* decl.c (gnat_to_gnu_entity, case E_Array_Subtype): Set
TYPE_PACKED_ARRAY_TYPE_P.
(validate_size): Do not verify size if TYPE_IS_PACKED_ARRAY_TYPE_P.
Part of PR ada/12806
* utils.c (float_type_for_precision): Renamed from float_type_for_size.
Use GET_MODE_PRECISION instead of GET_MODE_BITSIZE.
2003-11-17 Vincent Celier <celier@gnat.com>
* gnatchop.adb (Error_Msg): New Boolean parameter Warning, defaulted
to False.
Do not set exit status to Failure when Warning is True.
(Gnatchop): Make errors "no compilation units found" and
"no source files written" warnings only.
* make.adb (Gnatmake): When using a project file, set
Look_In_Primary_Dir to False.
(Configuration_Pragmas_Switch): Check for Global_Configuration_Pragmas
and Local_Configuration_Pragmas in the project where they are declared
not an extending project which might have inherited them.
* osint.adb (Locate_File): If Name is already an absolute path, do not
look for a directory.
* par-ch10.adb (P_Compilation_Unit): If source contains no token, and
-gnats (Check_Syntax) is used, issue only a warning, not an error.
* prj.adb (Register_Default_Naming_Scheme): Add new component Project
in objects of type Variable_Value.
* prj.ads: (Variable_Value): New component Project
* prj-nmsc.adb (Ada_Check.Warn_If_Not_Sources): No warning if source
is in a project extended by Project.
* prj-proc.adb (Add_Attributes): New parameter Project. Set component
Project of Variable_Values to this new parameter value.
(Expression): Set component Project of Variable_Values.
(Process_Declarative_Items): Call Add_Attributes with parameter Project.
Set the component Project in array elements.
2003-11-17 Sergey Rybin <rybin@act-europe.fr>
* errout.adb: (Initialize): Add initialization for error nodes.
* sem_ch12.adb (Initialize): Add missing initializations for
Exchanged_Views and Hidden_Entities.
2003-11-17 Ed Schonberg <schonberg@gnat.com>
* sem_ch12.adb (Copy_Generic_Node): Preserve entity when copying an
already instantiated tree for use in subsequent inlining.
(Analyze_Associations, Instantiate_Formal_Subprogram,
Instantiate_Object): improve error message for mismatch in
instantiations.
* sem_ch6.adb (Build_Body_To_Inline): Major cleanup to handle
instantiations of subprograms declared in instances.
2003-11-17 Javier Miranda <miranda@gnat.com>
* sem_ch4.adb (Analyze_Allocator): Previous modification must be
executed only under the Extensions_Allowed flag.
2003-11-17 Robert Dewar <dewar@gnat.com>
* a-exexda.adb (Address_Image): Fix documentation to indicate leading
zeroes suppressed.
(Address_Image): Fix bug of returning 0x instead of 0x0
Minor reformatting (function specs).
* einfo.ads: Minor fix for documentation of Is_Bit_Packed_Array
(missed case of 33-63)
* freeze.adb, sem_ch13.adb: Properly check size of packed bit array
* s-thread.adb: Add comments for pragma Restriction
* exp_aggr.adb, g-debuti.adb, par-ch4.adb, sem_aggr.adb,
sem_ch6.adb, sprint.adb, xref_lib.adb: Minor reformatting
2003-11-17 Ed Falis <falis@gnat.com>
* s-thread.adb: Added No_Tasking restriction for this implementation.
2003-11-17 Emmanuel Briot <briot@act-europe.fr>
* xref_lib.adb (Parse_Identifier_Info): Add handling of generic
instanciation references in the parent type description.
2003-11-17 GNAT Script <nobody@gnat.com>
* Make-lang.in: Makefile automatically updated
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73672
138bc75d-0d04-0410-961f-
82ee72b054a4
scox [Mon, 17 Nov 2003 14:21:54 +0000 (14:21 +0000)]
* MAINTAINERS: Add myself as iq2000 port maintainer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73671
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 17 Nov 2003 08:54:09 +0000 (08:54 +0000)]
2003-11-17 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc: Fix typo in comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73667
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Mon, 17 Nov 2003 08:42:59 +0000 (08:42 +0000)]
Replace use of poisoned BUILD_VA_LIST_TYPE macro with a target function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73666
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 17 Nov 2003 08:39:57 +0000 (08:39 +0000)]
2003-11-17 Paolo Carlini <pcarlini@suse.de>
* testsuite/22_locale/num_put/put/char/8.cc: New test,
summarizing the discussion ensuing libstdc++/12988.
* testsuite/22_locale/num_put/put/wchar_t/8.cc: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73665
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 17 Nov 2003 02:29:54 +0000 (02:29 +0000)]
* config/h8300/h8300-protos.h: Add the prototype for
same_cmp_following_p.
* config/h8300/h8300.c (same_cmp_following_p): New.
* config/h8300/h8300.md (peephole2): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73662
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 17 Nov 2003 02:26:54 +0000 (02:26 +0000)]
* config/h8300/h8300.md: Don't use REGNO when its operand is
not guaranteed to be a REG.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73661
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 17 Nov 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73658
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sun, 16 Nov 2003 21:27:39 +0000 (21:27 +0000)]
* gcc.dg/cpp/assert4.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73654
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sun, 16 Nov 2003 21:15:55 +0000 (21:15 +0000)]
PR libgcj/13062:
* java/io/StreamTokenizer.java (commentChar): Clear other
attributes for character.
(quoteChar): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73653
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sun, 16 Nov 2003 19:10:09 +0000 (19:10 +0000)]
* Makefile.in (expr.o): Depend on $(TARGET_H).
* target.h (return_in_msb): New target hook.
* target-def.h (TARGET_RETURN_IN_MSB): New macro.
(TARGET_CALLS): Include it.
* calls.c (shift_returned_value): New function.
(expand_call): Use it.
* expr.c: Include target.h.
(copy_blkmode_from_reg): Check targetm.calls.return_in_msb when
deciding what padding is needed. Change the name of the local
padding variable from big_endian_correction to padding_correction.
* stmt.c (shift_return_value): New function.
(expand_return): Use it. Adjust memory->register copy in the same
way as copy_blkmode_from_reg. Only change the return register's
mode if it was originally BLKmode.
* doc/tm.texi (TARGET_RETURN_IN_MSB): Document.
* config/mips/mips.c (TARGET_RETURN_IN_MSB): Define.
(mips_fpr_return_fields): New, split out from mips_function_value.
(mips_return_in_msb, mips_return_fpr_pair): New functions.
(mips_function_value): Rework to use the functions above.
* config/mips/irix6-libc-compat.c: Delete.
* config/mips/t-iris6 (LIB2FUNCS_STATIC_EXTRA): Undefine.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73652
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 16 Nov 2003 18:13:56 +0000 (18:13 +0000)]
* doc/install.texi (--enable-checking): Update valgrind's URL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73651
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 16 Nov 2003 13:55:19 +0000 (13:55 +0000)]
* config/h8300/h8300.md: Fix warnings by replacing -
2147483648
with -
2147483647 - 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73647
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Sun, 16 Nov 2003 11:24:56 +0000 (11:24 +0000)]
Fix links in online manuals.
* doc/invoke.texi (H8/300 Options): @xref to ld, not ld.info.
(Precompiled Headers): @pxref to cpp, not cpp.info.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73646
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 16 Nov 2003 06:17:21 +0000 (06:17 +0000)]
* Makefile.in, objc/Make-lang.in, ada/Make-lang.in, cp/Make-lang.in,
java/Make-lang.in, f/Make-lang.in: Create TAGS.sub files in each
directory and TAGS files that include them for each front end.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73643
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sun, 16 Nov 2003 04:46:48 +0000 (04:46 +0000)]
* gjavah.c (print_stub_or_jni): Pass `env' to FatalError.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73642
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 16 Nov 2003 00:55:51 +0000 (00:55 +0000)]
2003-11-15 Paolo Carlini <pcarlini@suse.de>
* include/std/std_fstream.h: Tweak a comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73640
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 16 Nov 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73638
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 15 Nov 2003 21:36:49 +0000 (21:36 +0000)]
* config/h8300/lib1funcs.asm (divnorm): Store the sign in bit
3 of S2L.
(modnorm): Likewise.
(exitdiv): Look at bit 3 of S2L only.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73635
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 15 Nov 2003 21:35:18 +0000 (21:35 +0000)]
* config/h8300/h8300.h (DO_GLOBAL_CTORS_BODY): Fix warnings.
(DO_GLOBAL_DTORS_BODY): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73634
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 15 Nov 2003 21:32:01 +0000 (21:32 +0000)]
update comment
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73633
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 15 Nov 2003 20:09:41 +0000 (20:09 +0000)]
* doc/install.texi (Prerequisites): Refine documentation of
autoconf, automake and perl requirements. Document required
gettext version.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73632
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Sat, 15 Nov 2003 19:34:57 +0000 (19:34 +0000)]
PR c++/2294
* name-lookup.c: Revert previous patch for PR c++/2294 to prevent
build failure on libjava.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73630
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sat, 15 Nov 2003 14:26:47 +0000 (14:26 +0000)]
* include/c_std/std_cmath.h: Don't import C99's float transcendentals
into the __gnu_cxx::__c99_binding namespace.
(acos, asin, atan, atan2, ceil, cosh, exp, floor, fmod, frexp,
ldexp, log, log10, modf, pow, sinh, tan, tanh): Implement using
GCC's math builtins, i.e. __builtin_foo.
* libmath/stubs.c (acosf, acosl, asinf, asinl, atanf, atanl,
ceilf, ceill, floorf, floorl, fmodf, fmodl, frexpf, frexpl,
ldexpf, ldexpl, modff, modfl): Provide stub implementations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73629
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 15 Nov 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73627
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 14 Nov 2003 22:48:18 +0000 (22:48 +0000)]
* function.c (assign_parms): Use TREE_TYPE to determine the real
type of the argument object.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73623
138bc75d-0d04-0410-961f-
82ee72b054a4
fitzsim [Fri, 14 Nov 2003 22:44:29 +0000 (22:44 +0000)]
2003-11-14 Tom Fitzsimmons <fitzsim@redhat.com>
* java/awt/GridBagLayout.java (getLayoutDimensions): Return array of two
zero-length int arrays when layoutInfo is null.
(getLayoutWeights): Return array of two zero-length double arrays when
layoutInfo is null.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73622
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Fri, 14 Nov 2003 20:41:04 +0000 (20:41 +0000)]
PR c++/2294
* g++.dg/lookup/using9.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73621
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 14 Nov 2003 20:39:30 +0000 (20:39 +0000)]
* config/h8300/lib1funcs.asm (___udivsi3): Peel off the first
iteration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73620
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Fri, 14 Nov 2003 20:14:08 +0000 (20:14 +0000)]
PR c++/2294
* name-lookup.c (push_overloaded_decl): Always construct an OVERLOAD
unless the declaration is a built-in.
(set_namespace_binding): While binding OVERLOADs with only one
declaration, we still need to call supplement_binding.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73618
138bc75d-0d04-0410-961f-
82ee72b054a4
fjahanian [Fri, 14 Nov 2003 20:09:26 +0000 (20:09 +0000)]
Fixed bug saving vararg registers in -mpowerpc64 mode.
Approved by: David Edelsohn
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73617
138bc75d-0d04-0410-961f-
82ee72b054a4
fjahanian [Fri, 14 Nov 2003 20:05:34 +0000 (20:05 +0000)]
Fix bug saving vararg registers on stack in -mpowerpc64 mode.
Approved by: David Edelsohn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73616
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Fri, 14 Nov 2003 19:59:18 +0000 (19:59 +0000)]
* config/m68k/m68k.c: Use C statements instead of #ifdef's when testing
for MOTOROLA versus MIT syntax. Improves readability and provides
better compile-time error checking for both code paths.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73615
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 14 Nov 2003 19:38:39 +0000 (19:38 +0000)]
* libjava.jar/simple.jar: Replaced.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73614
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Fri, 14 Nov 2003 19:15:24 +0000 (19:15 +0000)]
2003-11-14 Kelley Cook <kcook@gcc.gnu.org>
* config/frv/frv-protos.h: Update for C90.
* config/frv/frv.h: Likewise.
* config/frv/frvbegin.c: Likewise.
* config/frv/frv.c: Likewise.
(frv_adjust_field_align): Delete unused variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73613
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 14 Nov 2003 19:05:16 +0000 (19:05 +0000)]
* config/rs6000/rs6000.md: Add 'DEFAULT_ABI == ABI_DARWIN'
to each place where TARGET_LONG_DOUBLE_128 is used with
DEFAULT_ABI == ABI_AIX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73612
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 14 Nov 2003 19:00:04 +0000 (19:00 +0000)]
* cppfiles.c (_cpp_find_file): Make 'one or more PCH files were found'
message comply with GNU standards.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73611
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 14 Nov 2003 18:37:39 +0000 (18:37 +0000)]
PR c++/12762
* parser.c (cp_parser_enclosed_template_argument_list): New
function.
(cp_parser_template_id): Use it.
(cp_parser_simple_type_specifier): Recognize invalid template
syntax.
PR c++/12762
* g++.dg/template/error3.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73610
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 14 Nov 2003 17:28:25 +0000 (17:28 +0000)]
PR/6552
* function.c (struct epi_info): New field const_equiv.
(update_epilogue_consts): New function.
(keep_stack_depressed): Clear new field and verify scratch register
doesn't have it set.
Call new function via note_stores.
(handle_epilogue_set): Allow setting SP equiv reg in different mode.
Allow PLUS where second operand is register known set to constant.
(emit_equiv_load): Write load using proper mode if source different.
* config/mips/mips.md (return_internal): Put (return) first.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73609
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Fri, 14 Nov 2003 16:49:19 +0000 (16:49 +0000)]
* lang.opt: Change -Wno-long-long to -Wlong-long since the latter
is the canonical version.
* misc.c (gnat_handle_option): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73607
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Fri, 14 Nov 2003 13:56:34 +0000 (13:56 +0000)]
* Makefile.in (LIBGNAT_TARGET_PAIRS): Add rules for x86_64-linux.
* 5nsystem.ads: New file for x86_64-linux-gnu.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73606
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Fri, 14 Nov 2003 13:50:45 +0000 (13:50 +0000)]
* comperr.adb: Fix logic in previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73605
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 14 Nov 2003 12:49:40 +0000 (12:49 +0000)]
* config/h8300/lib1funcs.asm (___udivsi3): Add a comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73604
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Fri, 14 Nov 2003 12:39:27 +0000 (12:39 +0000)]
* config/h8300/lib1funcs.asm (modsi3): Don't save unused
registers.
(divsi3): Likewise.
(reti): Don't restore unused registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73603
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 14 Nov 2003 11:52:46 +0000 (11:52 +0000)]
2003-11-14 Paolo Carlini <pcarlini@suse.de>
* testsuite/22_locale/locale/cons/12352.cc: Use
__gnu_test::try_named_locale.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73602
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Fri, 14 Nov 2003 11:50:59 +0000 (11:50 +0000)]
* sinfo.h, treeprs.ads: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73601
138bc75d-0d04-0410-961f-
82ee72b054a4