OSDN Git Service

pf3gnuchains/gcc-fork.git
20 years ago* combine.c (distribute_notes): When re-distributing the notes from
rearnsha [Thu, 13 Nov 2003 14:05:55 +0000 (14:05 +0000)]
* combine.c (distribute_notes): When re-distributing the notes from
an insn we are about to delete, ensure we can't end up with a cyclic
list of notes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73547 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gnu/java/nio/natSelectorImplPosix.cc
membar [Thu, 13 Nov 2003 10:09:40 +0000 (10:09 +0000)]
* gnu/java/nio/natSelectorImplPosix.cc
(helper_put_filedescriptors): Change to static linkage.
(helper_get_filedescriptors): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73545 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR optimization/12926
ebotcazou [Thu, 13 Nov 2003 09:48:36 +0000 (09:48 +0000)]
PR optimization/12926
* expr.c (expand_assignment) [COMPONENT_REF]: Don't put
the UNCHANGING_RTX_P flag on memory references to read-only
components that are not addressable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73542 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/h8300/lib1funcs.asm (divmodsi4): Clear S0P in
kazu [Thu, 13 Nov 2003 04:26:00 +0000 (04:26 +0000)]
* config/h8300/lib1funcs.asm (divmodsi4): Clear S0P in
DenHighNonZero.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73538 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR opt/12275
hubicka [Thu, 13 Nov 2003 02:07:57 +0000 (02:07 +0000)]
PR opt/12275
* c-decl.c (finish_decl): Use change_decl_assembler_name.
* c-pragma.c (handle_pragma_redefine_extname): Likewise.
* varasm.c (make_decl_rtl): Likewise.
* cgraph.c (change_decl_assembler_name): New function.
* tree.h (set_decl_assembler_name): Kill dead declaration.
(change_decl_assembler_name): Declare.

* decl.c (make_rtl_for_nonlocal_decl): Use change_decl_assembler_name.
* decl2.c (make_rtl_for_nonlocal_decl): Use change_decl_assembler_name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73532 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR optimization/12547
jason [Thu, 13 Nov 2003 01:25:24 +0000 (01:25 +0000)]
    PR optimization/12547
        * lang.c (java_tree_inlining_walk_subtrees): Just walk
        BLOCK_EXPR_BODY directly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73530 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-13 Jonathan Wakely <redi@gcc.gnu.org>
redi [Thu, 13 Nov 2003 01:21:28 +0000 (01:21 +0000)]
2003-11-13  Jonathan Wakely <redi@gcc.gnu.org>

* docs/html/17_intro/configury.html: XHTML tweak.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73529 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-13 Jonathan Wakely <redi@gcc.gnu.org>
redi [Thu, 13 Nov 2003 00:49:58 +0000 (00:49 +0000)]
2003-11-13  Jonathan Wakely <redi@gcc.gnu.org>

* docs/html/debug_mode.html: XHTML fixes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73526 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-12 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 13 Nov 2003 00:25:23 +0000 (00:25 +0000)]
2003-11-12  Benjamin Kosnik  <bkoz@redhat.com>

* docs/html/debug_mode.html: Update.
* docs/html/17_intro/TODO: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73525 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Thu, 13 Nov 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73523 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * tree.c (build_target_expr_with_type): Treate VA_ARG_EXPR like
mmitchel [Wed, 12 Nov 2003 23:48:25 +0000 (23:48 +0000)]
* tree.c (build_target_expr_with_type): Treate VA_ARG_EXPR like
CONSTRUCTOR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73521 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/h8300/lib1funcs.asm (___mulsi3): Don't save/restore
kazu [Wed, 12 Nov 2003 23:39:48 +0000 (23:39 +0000)]
* config/h8300/lib1funcs.asm (___mulsi3): Don't save/restore
an unused register.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73520 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR bootstrap/12752
rsandifo [Wed, 12 Nov 2003 23:03:56 +0000 (23:03 +0000)]
PR bootstrap/12752
* config/mips/t-iris6 (MULTILIB_OPTIONS): Put -mabi=n32 first.
(MULTILIB_OSDIRNAMES): Reorder accordingly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73518 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-12 Janis Johnson <janis187@us.ibm.com>
janis [Wed, 12 Nov 2003 22:52:09 +0000 (22:52 +0000)]
2003-11-12  Janis Johnson  <janis187@us.ibm.com>

* rs6000-protos.h (rs6000_initial_elimination_offset): Add.
(rs6000_stack_info): Remove.  (debug_stack_info): Remove.
(rs6000_emit_eh_reg_restore): Add
* rs6000.c (rs6000_stack_t): Move from rs6000.h, change data type
of vars_size and total_size to HOST_WIDE_INT.
(emit_frame_save): Change parameter size to HOST_WIDE_INT.
(rs6000_stack_info): Make static; change data size to HOST_WIDE_INT.
(debug_stack_info): Make static; change output format of HOST_WIDE_INT
values.
(rs6000_emit_eh_reg_restore): New, with code formerly in rs6000.md.
(rs6000_initial_elimination_offset): New, with code formerly in
INITIAL_ELIMINATION_OFFSET.
* rs6000.h (rs6000_stack_t): Remove.
(INITIAL_ELIMINATION_OFFSET): Replace code with call to function
rs6000_initial_elimination_offset.
* rs6000.md (UNSPECV_EH_RR split): Replace code with call to
rs6000_emit_eh_reg_restore.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73517 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * g++.dg/parse/crash10.C: Remove bogus error marker.
mmitchel [Wed, 12 Nov 2003 22:31:22 +0000 (22:31 +0000)]
* g++.dg/parse/crash10.C: Remove bogus error marker.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73516 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * decl.c (cp_make_fname_decl): When creating a top-level
mmitchel [Wed, 12 Nov 2003 22:20:34 +0000 (22:20 +0000)]
* decl.c (cp_make_fname_decl): When creating a top-level
__FUNCTION__-like symbol, do register it with pushdecl.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73515 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-12 Tom Fitzsimmons <fitzsim@redhat.com>
fitzsim [Wed, 12 Nov 2003 22:03:49 +0000 (22:03 +0000)]
2003-11-12  Tom Fitzsimmons  <fitzsim@redhat.com>

* gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Remove
null check.
* gnu/java/awt/peer/gtk/GtkToolkit.java (prepareImage): Likewise.
* java/awt/Component.java (prepareImage): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73513 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * adadecode.c: Use <> form of include for ctype.h.
ro [Wed, 12 Nov 2003 21:30:24 +0000 (21:30 +0000)]
* adadecode.c: Use <> form of include for ctype.h.
* sysdep.c [IN_RTS]: Use <> form of include for time.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73512 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * 5gsystem.ads (Functions_Return_By_DSP): Set to False.
ro [Wed, 12 Nov 2003 21:24:19 +0000 (21:24 +0000)]
* 5gsystem.ads (Functions_Return_By_DSP): Set to False.
Works around PR middle-end/6552.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73511 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * ada/acats/run_acats (host_gnatmake): Use type in a /bin/sh script.
ro [Wed, 12 Nov 2003 21:21:55 +0000 (21:21 +0000)]
* ada/acats/run_acats (host_gnatmake): Use type in a /bin/sh script.
(host_gcc): Likewise.
(ROOT): Honor $PWDCMD.
(BASE): Likewise.
* ada/acats/run_all.sh (dir): Honor $PWDCMD.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73510 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * decl.c (finish_case_label): Do not check that we are within a
mmitchel [Wed, 12 Nov 2003 19:57:56 +0000 (19:57 +0000)]
* decl.c (finish_case_label): Do not check that we are within a
switch statement here.
* parser.c (struct cp_parser): Add in_iteration_statement_p and
in_switch_statement_p.
(cp_parser_new): Initialize them.
(cp_parser_labeled_statement): Check validity of case labels
here.
(cp_parser_selection_statement): Set in_switch_statement_p.
(cp_parser_iteration_statement): Set in_iteration_statement_p.
(cp_parser_jump_statement): Check validity of break/continue
statements here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73508 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-typeck.c (c_convert_parm_for_inlining): Add argnum, which
mrs [Wed, 12 Nov 2003 19:53:17 +0000 (19:53 +0000)]
* c-typeck.c (c_convert_parm_for_inlining): Add argnum, which
is the argumnt we are processing so that warnings and errors
will have that information.
* c-tree.h (c_convert_parm_for_inlining): Add argnum.
* lang-hooks-def.h
(lhd_tree_inlining_convert_parm_for_inlining): Likewse.
* langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): Likewise.
* langhooks.h (convert_parm_for_inlining): Likewise.
* tree-inline.c (initialize_inlined_parameters): Compute and
pass argnum down.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73507 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-12 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Wed, 12 Nov 2003 18:18:30 +0000 (18:18 +0000)]
2003-11-12  Andreas Tobler  <a.tobler@schweiz.ch>

* configure.in, include/Makefile.am: PR libgcj/11147, install
the ffitarget.h header file in a gcc versioned and target
dependent place.
* configure: Regenerated.
* Makefile.in, include/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73504 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/12735
mmitchel [Wed, 12 Nov 2003 18:15:02 +0000 (18:15 +0000)]
PR c++/12735
* cp-tree.h (duplicate_decls): Return a tree.
* decl.c (duplicate_decls): Clarify documentation.  Return
error_mark_node to indicate a failed redeclaration.
* friend.c (do_friend): Handle that case.
* name-lookup.c (pushdecl): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73503 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-12 Alexey Starovoytov <alexey.starovoytov@sun.com>
sayle [Wed, 12 Nov 2003 18:12:57 +0000 (18:12 +0000)]
2003-11-12  Alexey Starovoytov  <alexey.starovoytov@sun.com>
    Roger Sayle  <roger@eyesopen.com>

PR optimization/12953
* tree-inline.c (inline_forbidden_p_1): Added check for BUILT_IN
before switch by FUNCTION_CODE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73502 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-12 Tom Fitzsimmons <fitzsim@redhat.com>
fitzsim [Wed, 12 Nov 2003 17:38:22 +0000 (17:38 +0000)]
2003-11-12  Tom Fitzsimmons  <fitzsim@redhat.com>

* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment):
Rename to nativeSetAlignment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73500 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-12 Andrew Haley <aph@redhat.com>
aph [Wed, 12 Nov 2003 17:00:53 +0000 (17:00 +0000)]
2003-11-12  Andrew Haley  <aph@redhat.com>

        PR java/11045
        * parse.y (fold_constant_for_init): Check that we really do have a
        constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73497 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* arm.md (storehi): Avoid use of explicit subreg.
rearnsha [Wed, 12 Nov 2003 16:15:07 +0000 (16:15 +0000)]
* arm.md (storehi): Avoid use of explicit subreg.
(storehi_bigend, storeinthi, movhi_bigend): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73496 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoxfail frv-*-*.
clm [Wed, 12 Nov 2003 16:02:48 +0000 (16:02 +0000)]
xfail frv-*-*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73495 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-12 Andrew Haley <aph@redhat.com>
aph [Wed, 12 Nov 2003 15:24:42 +0000 (15:24 +0000)]
2003-11-12  Andrew Haley  <aph@redhat.com>

        PR java/11533
        * lang.c (merge_init_test_initialization): Clear DECL_INITIAL for
        init_test_decls being inlined.

        PR java/12890:
        * parse.y (do_resolve_class): Check return value from
        breakdown_qualified().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73494 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/sh/sh.md (prefetch): New pattern.
amylaar [Wed, 12 Nov 2003 14:05:42 +0000 (14:05 +0000)]
* config/sh/sh.md (prefetch): New pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73492 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-12 Andreas Jaeger <aj@suse.de>
aj [Wed, 12 Nov 2003 11:21:34 +0000 (11:21 +0000)]
2003-11-12  Andreas Jaeger  <aj@suse.de>

* intdoc.in (Signal Intrinsic (subroutine)): Fix texinfo warning
using @code.
* intdoc.texi: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73491 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.dg/c99-const-expr-2.c (foo): Avoid extra warning on 64-bit
aj [Wed, 12 Nov 2003 11:19:10 +0000 (11:19 +0000)]
* gcc.dg/c99-const-expr-2.c (foo): Avoid extra warning on 64-bit
systems.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73490 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * intdoc.texi (Signal Intrinsic (subroutine)): Fix texinfo warning
aj [Wed, 12 Nov 2003 09:58:53 +0000 (09:58 +0000)]
* intdoc.texi (Signal Intrinsic (subroutine)): Fix texinfo warning
using @code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73489 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoResync.
charlet [Wed, 12 Nov 2003 08:33:46 +0000 (08:33 +0000)]
Resync.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73488 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-11 Eric Christopher <echristo@redhat.com>
echristo [Wed, 12 Nov 2003 07:24:25 +0000 (07:24 +0000)]
2003-11-11  Eric Christopher  <echristo@redhat.com>

        * reload1.c (reload): Verify that addresses for
        reg_equiv_* are valid for the architecture.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73487 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-12 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 12 Nov 2003 07:12:20 +0000 (07:12 +0000)]
2003-11-12  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/c++config: Move using directive...
* include/debug/formatter.h: ...here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73486 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-12 Andreas Jaeger <aj@suse.de>
aj [Wed, 12 Nov 2003 06:44:46 +0000 (06:44 +0000)]
2003-11-12  Andreas Jaeger  <aj@suse.de>
    Jakub Jelinek  <jakub@redhat.com>
    Andrew Pinski  <pinskia@physics.uc.edu>
    Richard Henderson  <rth@redhat.com>

* gcc.dg/c90-const-expr-2.c (foo): Avoid extra warning on 64-bit
systems.

* gcc.dg/20030926-1.c: Make it work on x86_64 systems.
* gcc.dg/i386-pentium4-not-mull.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73485 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
membar [Wed, 12 Nov 2003 05:56:44 +0000 (05:56 +0000)]
* jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT.
(JNI_GetCreatedJavaVMs): Likewise.
(JNI_GetDefaultJavaVMInitArgs): Likewise.
* include/jni.h (JNIIMPEXP): Remove definition
and replace with...
(__GCJ_JNIIMPEXP__): New macro, applicable only to libgcj
symbols,
(__GCJ_DLL__): New macro, controlling __GCJ_JNIIMPEXP__.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73484 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoPR libstdc++/12947
carlo [Wed, 12 Nov 2003 02:18:37 +0000 (02:18 +0000)]
PR libstdc++/12947
* bits/demangle.h
(_GLIBCXX_DEMANGLER_STYLE_COMPACT_EXPR_OPS): Added.
(_GLIBCXX_DEMANGLER_STYLE_SIZEOF_TYPENAME): Added.
(session<Allocator>::next_peek() const): Added.
(decode_non_negative_decimal_integer(string_type&)):
Renamed from decode_decimal_integer(string_type&).
(session<Allocator>::decode_nested_name):
Decode <template_param> as well.
(session<Allocator>::add_substitution):
Handle <template-param> for <nested-name>'s.
(enum xary_nt): Added.
(struct entry_st): Added member `xary_nt type' instead of `bool unary'.
(symbol_name_table_c): Updated for `entry_st::type' and additional
operators (unary `operator+' and `sizeof(type)').
(offset_table_c): Updated for new operators (causing a new hash map).
(decode_operator_name): Match the updated hash map.
(session<Allocator>::decode_expression):
Support for `sizeof ([typename] type)' (st),
dependent names (sr) and casting operator (cv).  Handle
`entry_st::type'.  Handle _GLIBCXX_DEMANGLER_STYLE_COMPACT_EXPR_OPS
and _GLIBCXX_DEMANGLER_STYLE_SIZEOF_TYPENAME.
(session<Allocator>::decode_type_with_postfix):
Support `extern "C"' function types (FY).
* testsuite/demangle/regression/cw-16.cc: Added tests for the
added functionality.
* testsuite/demangle/regression/3111-2.cc: sizeof now has a space
appended.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73480 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-11 Eric Christopher <echristo@redhat.com>
echristo [Wed, 12 Nov 2003 02:10:12 +0000 (02:10 +0000)]
2003-11-11  Eric Christopher  <echristo@redhat.com>

* function.c (purge_addressof_1): Add libcall check.
Remove test for cached replacements on fallback case.
Simplify mode comparisons. Add libcall test for
paradoxical subregs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73479 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/h8300/t-h8300: Fix an obsolete comment.
kazu [Wed, 12 Nov 2003 02:03:58 +0000 (02:03 +0000)]
* config/h8300/t-h8300: Fix an obsolete comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73478 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-11 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 12 Nov 2003 01:14:34 +0000 (01:14 +0000)]
2003-11-11  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/12875
* include/bits/fstream.tcc (setbuf): Don't do anything
after open(), in particular don't discard data.
(_M_allocate_internal_buffer): Tweak to not allocate memory
in case the buffer is provided by the user via setbuf.
* include/ext/stdio_filebuf.h: Tweak comment.
* testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc: New.
* testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/setbuf/char/2.cc: Tweak, now
setbuf does nothing after open().
* testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73477 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-11 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Wed, 12 Nov 2003 00:37:34 +0000 (00:37 +0000)]
2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>

* Makefile.am: Add GdkPixbufDecoder.java and
gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
* Makefile.in: Regenerate.
* gnu/java/awt/image/ImageDecoder.java (ImageDecoder(byte[],int,int)):
New constructor.
(startProduction): Create ByteArrayInputStream when url and filename are
null.
(produce): Declare stream parameter as InputStream.
* gnu/java/awt/image/XBMDecoder.java (produce): Declare stream parameter
as InputStream.
* gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
(GdkPixbufDecoder(byte[],int,int)): New constructor.
(produce): Declare stream parameter as InputStream.
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (prepareImage): Throw NPE
if image is null.  Set image's observer before running PrepareImage
thread.  Pass image to startProduction.
* gnu/java/awt/peer/gtk/GtkImage.java: Add null checks before calls to
source's member functions.
(observer): New field.
(setObserver): New method.
(setDimensions, setPixels, imageComplete): Call observer's imageUpdate.
* gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage, getImage): Return
new GtkImage.
(prepareImage): Implement.
* java/awt/Component.java: Add static fields incrementalDraw and
redrawRate.
(imageUpdate): Implement.
(createImage): Call Toolkit's createImage if peer is null.
(prepareImage): Throw NPE if image is null.
* java/awt/MediaTracker.java: Fix return value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73476 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Wed, 12 Nov 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73474 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoNew tests.
rth [Tue, 11 Nov 2003 22:33:06 +0000 (22:33 +0000)]
New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73469 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cp-tree.h (DECL_NAMESPACE_ASSOCIATIONS): New macro.
jason [Tue, 11 Nov 2003 22:27:32 +0000 (22:27 +0000)]
    * cp-tree.h (DECL_NAMESPACE_ASSOCIATIONS): New macro.
        * name-lookup.c (parse_using_directive): New fn.
        (is_associated_namespace): New fn.
        (arg_assoc_namespace): Also check associated namespaces.
        * name-lookup.h: Declare new fns.
        * pt.c (maybe_process_partial_specialization): Allow
        specialization in associated namespace.
        * parser.c (cp_parser_using_directive): Accept attributes.  Use
        parse_using_directive.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73468 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.c-torture/execute/20020227-1.x: Test passes also on x86_64.
aj [Tue, 11 Nov 2003 21:54:04 +0000 (21:54 +0000)]
* gcc.c-torture/execute/20020227-1.x: Test passes also on x86_64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73467 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.c-torture/execute/20020720-1.x: Test passes also on x86_64.
aj [Tue, 11 Nov 2003 21:48:05 +0000 (21:48 +0000)]
* gcc.c-torture/execute/20020720-1.x: Test passes also on x86_64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73466 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoUndo accidental GET_MODE_BITSIZE damage.
wilson [Tue, 11 Nov 2003 20:54:38 +0000 (20:54 +0000)]
Undo accidental GET_MODE_BITSIZE damage.
(store_bit_field, extract_bit_field): Revert last two
changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73463 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR java/12915:
tromey [Tue, 11 Nov 2003 20:20:07 +0000 (20:20 +0000)]
PR java/12915:
* parse.y (merge_string_cste): Handle case where we have a
pointer that happens to be zero, not null_pointer_node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73461 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago For PR java/12915:
tromey [Tue, 11 Nov 2003 20:11:43 +0000 (20:11 +0000)]
For PR java/12915:
* libjava.lang/PR12915.java: New file.
* libjava.lang/PR12915.out: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73460 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-11 Doug Gregor <gregod@cs.rpi.edu>
bkoz [Tue, 11 Nov 2003 20:09:16 +0000 (20:09 +0000)]
2003-11-11  Doug Gregor  <gregod@cs.rpi.edu>

* docs/html/debug.html: Document libstdc++ debug mode.
* docs/html/debug_mode.html: Document libstdc++ debug mode design.
* docs/html/test.html: Document how to test under debug mode.
* docs/html/17_intro/howto.html: Document debug-mode macros.
* include/Makefile.am: Install debug-mode headers.
* src/Makefile.am: Include debug.cc.
* include/bits/basic_string.tcc:
  (basic_string::_S_construct): Fix NULL pointer check.
  (__is_null_pointer): New.
  Add precondition annotations.
* include/bits/stream_iterator.h (istream_iterator,
ostream_iterator): Added precondition annotations.
* include/bits/streambuf_iterator.h (istreambuf_iterator): Ditto.
* include/bits/stl_queue.h (queue, priority_queue): Ditto.
* include/bits/stl_stack.h (stack): Ditto.
* include/bits/basic_string.h (basic_string): Ditto.
* include/bits/basic_string.tcc (basic_string): Ditto.
* include/std/std_memory.h (auto_ptr): Ditto.
* include/std/std_valarray.h (valarray): Ditto.
* include/bits/stl_algo.h: Added algorithm precondition
annotations.
* include/bits/stl_algobase.h: Added algorithm precondition
annotations.
* include/bits/stl_numeric.h: Ditto.
* include/ext/algorithm: Added algorithm precondition
annotations.
(__is_heap): Moved away from here.
* include/bits/stl_heap.h: Added algorithm precondition
annotations.
(__is_heap): Moved to the top of this file.
(__is_heap): Added iterator range overloads.
* testsuite/20_util/auto_ptr_neg.cc: Fix line numbers to match up
with changes in std_memory.h.
* testsuite/23_containers/list/operators/4.cc: Don't verify
performance guarantees when in debug mode.
* testsuite/23_containers/bitset/invalidation/1.cc: New.
* testsuite/23_containers/deque/invalidation/1.cc: New.
* testsuite/23_containers/deque/invalidation/2.cc: New.
* testsuite/23_containers/deque/invalidation/3.cc: New.
* testsuite/23_containers/deque/invalidation/4.cc: New.
* testsuite/23_containers/list/invalidation/1.cc: New.
* testsuite/23_containers/list/invalidation/2.cc: New.
* testsuite/23_containers/list/invalidation/3.cc: New.
* testsuite/23_containers/list/invalidation/4.cc: New.
* testsuite/23_containers/map/invalidation/1.cc: New.
* testsuite/23_containers/map/invalidation/2.cc: New.
* testsuite/23_containers/multimap/invalidation/1.cc: New.
* testsuite/23_containers/multimap/invalidation/2.cc: New.
* testsuite/23_containers/multiset/invalidation/1.cc: New.
* testsuite/23_containers/multiset/invalidation/2.cc: New.
* testsuite/23_containers/set/invalidation/1.cc: New.
* testsuite/23_containers/set/invalidation/2.cc: New.
* testsuite/23_containers/vector/invalidation/1.cc: New.
* testsuite/23_containers/vector/invalidation/2.cc: New.
* testsuite/23_containers/vector/invalidation/3.cc: New.
* testsuite/23_containers/vector/invalidation/4.cc: New.
* testsuite/25_algorithms/heap.cc: Don't verify
performance guarantees when in debug mode.
* include/debug/bitset: New.
* include/debug/debug.h: New.
* include/debug/deque: New.
* include/debug/formatter.h: New.
* include/debug/hash_map: New.
* include/debug/hash_map.h: New.
* include/debug/hash_multimap.h: New.
* include/debug/hash_set: New.
* include/debug/hash_set.h: New.
* include/debug/hash_multiset.h: New.
* include/debug/list: New.
* include/debug/map: New.
* include/debug/map.h: New.
* include/debug/multimap.h: New.
* include/debug/multiset.h: New.
* include/debug/safe_base.h: New.
* include/debug/safe_iterator.h: New.
* include/debug/safe_iterator.tcc: New.
* include/debug/safe_sequence.h: New.
* include/debug/set: New.
* include/debug/set.h: New.
* include/debug/string: New.
* include/debug/vector: New.
* src/debug.cc: New.
* config/linker-map.gnu: Add debug mode symbols.

2003-11-11  Benjamin Kosnik  <bkoz@redhat.com>

* src/string-inst.cc: Tweak namespaces.
* src/misc-inst.cc: Same.
* docs/html/debug.html: Edits.
* config/link-map.gnu: Remove cruft.

* include/bits/c++config: Add in namespace associations.
* include/std/std_bitset.h: Adjust namespace to __gnu_norm,
comment tweaks.
* include/bits/deque.tcc: Same.
* include/bits/list.tcc: Same.
* include/bits/stl_bvector.h: Same.
* include/bits/stl_deque.h: Same.
* include/bits/stl_list.h: Same.
* include/bits/stl_map.h: Same.
* include/bits/stl_multimap.h: Same.
* include/bits/stl_multiset.h: Same.
* include/bits/stl_set.h: Same.
* include/bits/stl_vector.h: Same.
* include/bits/vector.tcc: Same.

* include/std/std_algorithm.h: Remove markup comments.
* include/std/std_functional.h: Same.
* include/std/std_iterator.h: Same.
* include/std/std_numeric.h: Same.
* include/std/std_utility.h: Same.
* include/bits/stl_queue.h: Formatting tweaks.
* include/bits/stl_stack.h: Same.
* include/std/std_deque.h: Include debugging version in debug mode.
* include/std/std_list.h: Same.
* include/std/std_map.h: Same.
* include/std/std_set.h: Same.
* include/std/std_vector.h: Same.
* include/std/std_queue.h: Use deque, vector.
* include/std/std_stack.h: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73459 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * libjava.jacks/jacks.exp (gcj_jacks_write): Enable "assert"
tromey [Tue, 11 Nov 2003 20:04:22 +0000 (20:04 +0000)]
* libjava.jacks/jacks.exp (gcj_jacks_write): Enable "assert"
constraint.
* libjava.jacks/jacks.xfail: Added new xfails.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73458 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/h8300/lib1funcs.asm: Replace DenHighZero with
kazu [Tue, 11 Nov 2003 18:36:39 +0000 (18:36 +0000)]
* config/h8300/lib1funcs.asm: Replace DenHighZero with
DenHighNonZero.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73457 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cgraphunit.c (cgraph_function_possibly_inlined_p): Use
hubicka [Tue, 11 Nov 2003 17:43:45 +0000 (17:43 +0000)]
* cgraphunit.c (cgraph_function_possibly_inlined_p): Use
really_no_inline.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73454 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-11 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Tue, 11 Nov 2003 17:04:47 +0000 (17:04 +0000)]
2003-11-11  Thomas Fitzsimmons  <fitzsim@redhat.com>

* gnu/java/awt/peer/gtk/GtkLabelPeer.java (create()): Call new create.
(create(String, float)): New method.
(setText): Make native.
(nativeSetAlignment): New method.
(setAlignment): Call nativeSetAlignment.
(getArgs): Remove method.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(find_fg_color_widget, find_bg_color_widget): New functions.
(gtkWidgetSetForeground): Call find_fg_color_widget.
(gtkWidgetSetBackground): Call find_bg_color_widget.  Modify active and
prelight colors.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create): Wrap label
widget in event box.
(setText, setAlignment): Implement new native methods.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73453 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * pa.h (TRAMPOLINE_TEMPLATE): Fix flushing of cache lines when
danglin [Tue, 11 Nov 2003 16:16:41 +0000 (16:16 +0000)]
* pa.h (TRAMPOLINE_TEMPLATE): Fix flushing of cache lines when
generating 64-bit code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73451 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-11 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 11 Nov 2003 12:22:20 +0000 (12:22 +0000)]
2003-11-11  Michael Koch  <konqueror@gmx.de>

* java/awt/Font.java,
java/awt/datatransfer/DataFlavor.java,
java/math/BigInteger.java,
java/net/Inet4Address.java,
java/net/Inet6Address.java,
java/rmi/MarshalledObject.java,
java/rmi/server/RMIClassLoader.java,
java/security/cert/CertStore.java,
java/sql/Timestamp.java,
java/text/SimpleDateFormat.java,
javax/naming/CompoundName.java:
Removed some redundant obj == null checks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73448 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-11 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 11 Nov 2003 11:56:58 +0000 (11:56 +0000)]
2003-11-11  Michael Koch  <konqueror@gmx.de>

* java/nio/ByteBuffer.java
(equals): Remove redundant obj == null check.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73447 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-11 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 11 Nov 2003 11:49:12 +0000 (11:49 +0000)]
2003-11-11  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/natPipeImpl.cc,
gnu/java/nio/natSelectorImpl.cc: Removed
* gnu/java/nio/natPipeImplEcos.cc,
gnu/java/nio/natPipeImplPosix.cc,
gnu/java/nio/natPipeImplWin32.cc,
gnu/java/nio/natSelectorImplEcos.cc,
gnu/java/nio/natSelectorImplPosix.cc,
gnu/java/nio/natSelectorImplWin32.cc: New files
* configure.in: Create links for gnu/java/nio/natPipeImpl.cc and
gnu/java/nio/natSelectorImpl.cc
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73446 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-11 Micheal Koch <konqueror@gmx.de>
mkoch [Tue, 11 Nov 2003 11:34:24 +0000 (11:34 +0000)]
2003-11-11  Micheal Koch  <konqueror@gmx.de>

* java/net/URLStreamHandler.java (toExternalForm): Print port only
if host is printed too and port was really given to URL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73445 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): Remove
dje [Tue, 11 Nov 2003 04:24:37 +0000 (04:24 +0000)]
    * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): Remove
        accidental commit in previous change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73440 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoMinor fixes to darwin version of -mpowerpc64.
fjahanian [Tue, 11 Nov 2003 02:35:45 +0000 (02:35 +0000)]
Minor fixes to darwin version of -mpowerpc64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73439 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoMisc. fixes for -mpowerpc64 vesion darwin.
fjahanian [Tue, 11 Nov 2003 02:34:56 +0000 (02:34 +0000)]
Misc. fixes for -mpowerpc64 vesion darwin.
Reviewed by David Edelsohn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73438 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-10 Gary Benson <gbenson@redhat.com>
tromey [Tue, 11 Nov 2003 00:51:44 +0000 (00:51 +0000)]
2003-11-10  Gary Benson  <gbenson@redhat.com>

* java/sql/Timestamp.java (valueOf): Correctly handle
nanoseconds.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73437 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Tue, 11 Nov 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73435 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * dwarf2out.c (gen_label_die): Cope with DECL_RTL not set.
rth [Mon, 10 Nov 2003 23:45:44 +0000 (23:45 +0000)]
    * dwarf2out.c (gen_label_die): Cope with DECL_RTL not set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73431 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/darwin-protos.h (darwin_assemble_visibility): Declare.
austern [Mon, 10 Nov 2003 23:07:09 +0000 (23:07 +0000)]
* config/darwin-protos.h (darwin_assemble_visibility): Declare.
* config/darwin.c (darwin_assemble_visibility): Define.  Warn for
anything other than VISIBILITY_DEFAULT and VISIBILITY_HIDDEN.
* config/darwin.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Use
darwin_assemble_visibility instead of default.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73430 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * jcf-parse.c (classify_zip_file): Correctly compare
tromey [Mon, 10 Nov 2003 22:13:21 +0000 (22:13 +0000)]
* jcf-parse.c (classify_zip_file): Correctly compare
filename_length against length of manifest file's name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73429 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cvt.c (convert_to_void): Use void_zero_node after overload failure.
rth [Mon, 10 Nov 2003 22:02:36 +0000 (22:02 +0000)]
    * cvt.c (convert_to_void): Use void_zero_node after overload failure.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73427 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago For PR java/12996:
tromey [Mon, 10 Nov 2003 21:30:10 +0000 (21:30 +0000)]
For PR java/12996:
* libjava.jar/simple.jar: New file.
* libjava.jar/simple.xfail: New file.
* libjava.jar/simple.out: New file.
* libjava.jar/simple.java: New file.
* libjava.jar/jar.exp: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73426 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-10 Ed Falis <falis@gnat.com>
charlet [Mon, 10 Nov 2003 17:30:00 +0000 (17:30 +0000)]
2003-11-10  Ed Falis  <falis@gnat.com>

* 5ytiitho.adb: (procStartHookAdd): Definition and call deleted

* 5zinit.adb: (Install_Handler): Moved back to spec
(Install_Signal_Handlers): Deleted

* 5zthrini.adb: Added context clause for System.Storage_Elements
(Register): Only handles creation of taskVar; initialization moved to
Thread_Body_Enter.
(Reset_TSD): Deleted; replaced by Thread_Body_Enter
Added declaration of environment task secondary stack and
initialization.

* s-thread.adb: Implement bodies for thread body processing

* s-thread.ads:
Added comment identifying supported targets for pragma Thread_Body.

2003-11-10  Pascal Obry  <obry@gnat.com>

* adaint.c (_gnat_stat) [WIN32]: Check if name is not bigger than
GNAT_MAX_PATH_LEN.

* s-fileio.adb:
(Open): Properly check for string length before copying into the buffer.
Raises Name_Error if buffer is too small. Note that this was a potential
buffer overflow.

2003-11-10  Arnaud Charlet  <charlet@act-europe.fr>

* bindgen.adb, comperr.adb: Code clean ups.
* gnatvsn.ads, gnatvsn.adb (Get_Gnat_Version_Type): New function.

2003-11-10  Sergey Rybin  <rybin@act-europe.fr>

* gnat1drv.adb: Add call to Sem_Elim.Initialize.

2003-11-10  Vincent Celier  <celier@gnat.com>

* gprcmd.adb:
(Gprcmd): Add new command "prefix" to get the prefix of the GNAT
installation.

* make.adb (Scan_Make_Arg): Transmit -nostdlib to the compiler

* prj.adb: (Project_Empty): Add new boolean component Virtual

* prj.ads: (Virtual_Prefix): New constant string
(Project_Data): New boolean component Virtual

* prj-nmsc.adb (Language_Independent_Check): Adjust error message when
a library project is extended by a virtual extending project.

* prj-part.adb:
Modifications throughout to implement extending-all project, including:
(Virtual_Hash, Processed_Hash): New hash tables
(Create_Virtual_Extending_Project): New procedure
(Look_For_Virtual_Projects_For): New procedure

* prj-proc.adb:
(Process): After checking the projects, if main project is an
extending-all project, set the object directory of all virtual extending
project to the object directory of the main project.
Adjust error message when a virtual extending project has the same
object directory as an project being extended.
(Recursive_Process): If name starts with the virtual prefix, set Virtual
to True in the project data.

* prj-tree.adb:
(Default_Project_Node): Add new boolean component Extending_All
(Is_Extending_All): New function
(Set_Is_Extending_All): New procedure

* prj-tree.ads: (Is_Extending_All): New function
(Set_Is_Extending_All): New procedure
(Project_Node_Record): New boolean component Extending_All

* switch-c.adb: (Scan_Front_End_Switches): Process -nostdlib

* vms_data.ads:
Add qualifier /NOSTD_LIBRARIES (-nostdlib) for the compiler

* bld.adb (Recursive_Process): If MAKE_ROOT is not defined, call
"gprcmd prefix" to define it.

2003-11-10  Thomas Quinot  <quinot@act-europe.fr>

* einfo.ads: Fix a typo and remove an extraneous word in comments.

* lib-load.adb:
(Create_Dummy_Package_Unit): Set the scope of the entity for the
created dummy package to Standard_Standard, not to itself, to
defend other parts of the front-end against encoutering a cycle in
the scope chain.

* sem_ch10.adb:
(Analyze_With_Clause): When setting the entities for the successive
N_Expanded_Names that constitute the name of a child unit, do not
attempt to go further than Standard_Standard in the chain of scopes.
This case arises from the placeholder units created by
Create_Dummy_Package_Unit in the case of a with_clause for a
nonexistent child unit.

2003-11-10  Ed Schonberg  <schonberg@gnat.com>

* exp_ch6.adb:
(Expand_Thread_Body): Place subprogram on scope stack, so that new
declarations are given the proper scope.

* sem_ch13.adb:
(Check_Expr_Constants): Reject an expression that contains a constant
created during expansion, and that appears after the object to which
the address clause applies.

* sem_ch5.adb (Check_Controlled_Array_Attribute): Subsidiary of
Analyze_Iteration_Scheme, to rewrite a loop parameter specification
that uses 'Range of a function call with controlled components, so
that the function result can be finalized before starting the loop.

* sem_ch8.adb:
(Find_Selected_Component): Improve error message when prefix is
an implicit dereference of an incomplete type.

2003-11-10  Robert Dewar  <dewar@gnat.com>

* opt.ads: New Print_Standard flag for -gnatS switch

* sem_ch13.adb: Remove some additional checks for unaligned arrays

* cstand.adb (Create_Standard): Print out package standard if -gnatS
switch set

* debug.adb: Update doc for -gnatds to discuss relationship with new
-gnatS flag

* sinfo.adb: Add new field Entity_Or_Associated_Node

* sinfo.ads: Add new field Entity_Or_Associated_Node
Update documentation for Associated_Node and Entity fields to clarify
relationship and usage.

* sprint.adb:
(Write_Id): Properly process Associated_Node field in generic template

* switch-c.adb:
Recognize new -gnatS switch for printing package Standard
This replaces gnatpsta

* usage.adb:
Add line for  new -gnatS switch for printing package Standard
This replaces gnatpsta

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73423 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * ada/acats/run_all.sh: Add handling of unsupported (tasking) tests.
charlet [Mon, 10 Nov 2003 17:10:45 +0000 (17:10 +0000)]
* ada/acats/run_all.sh: Add handling of unsupported (tasking) tests.
Clean ups.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73422 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * 7sosprim.adb: tv_usec of struct_timeval and time_t are long
aj [Mon, 10 Nov 2003 15:54:35 +0000 (15:54 +0000)]
* 7sosprim.adb: tv_usec of struct_timeval and time_t are long
integer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73419 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoAdd handling of -nostdlib, now recognized/needed by gnat1.
charlet [Mon, 10 Nov 2003 11:20:03 +0000 (11:20 +0000)]
Add handling of -nostdlib, now recognized/needed by gnat1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73413 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Makefile.in, Make-lang.in: Remove build of gnat_wrapper and gnatpsta,
charlet [Mon, 10 Nov 2003 10:25:21 +0000 (10:25 +0000)]
* Makefile.in, Make-lang.in: Remove build of gnat_wrapper and gnatpsta,
no longer needed.

* gnatpsta.adb, gnat_wrapper.adb: Removed, no longer needed.

* sysdep.c: Add handling of cygwin.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73412 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Make-lang.in: Makefile automatically updated
charlet [Mon, 10 Nov 2003 09:57:06 +0000 (09:57 +0000)]
* Make-lang.in: Makefile automatically updated

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73411 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoComplete previous change.
charlet [Mon, 10 Nov 2003 09:45:58 +0000 (09:45 +0000)]
Complete previous change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73409 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR 12950
charlet [Mon, 10 Nov 2003 09:42:57 +0000 (09:42 +0000)]
PR 12950
* osint.ads, osint.adb (Relocate_Path, Executable_Suffix): New
functions. Used to handle dynamic prefix relocation, via set_std_prefix.
Replace GNAT_ROOT by GCC_ROOT.

* Make-lang.in: Use new function Relocate_Path to generate sdefault.adb

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73407 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/12832
gdr [Mon, 10 Nov 2003 08:32:16 +0000 (08:32 +0000)]
PR c++/12832
* name-lookup.c (supplement_binding): Gracefully handle names
used at non-class scope prior declaration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73406 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR target/12865
ebotcazou [Mon, 10 Nov 2003 08:11:47 +0000 (08:11 +0000)]
PR target/12865
* config/sparc/sparc.c (sparc_initialize_trampoline): Call
__enable_execute_stack only after writing onto the stack.
(sparc64_initialize_trampoline): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73402 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Mon, 10 Nov 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73400 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * java/net/Inet4Address.java (serialVersionUID): Updated.
tromey [Sun, 9 Nov 2003 23:07:11 +0000 (23:07 +0000)]
* java/net/Inet4Address.java (serialVersionUID): Updated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73398 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-09 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sun, 9 Nov 2003 21:27:16 +0000 (21:27 +0000)]
2003-11-09  Andrew Pinski  <pinskia@physics.uc.edu>

* gcc.c-torture/compile/200031109-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73397 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-09 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 9 Nov 2003 19:15:25 +0000 (19:15 +0000)]
2003-11-09  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (_M_insert_int,
_M_insert_float): Move a couple of vars inside an if block.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73395 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-09 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Sun, 9 Nov 2003 17:05:10 +0000 (17:05 +0000)]
2003-11-09  Andreas Tobler  <a.tobler@schweiz.ch>

* testsuite/libffi.call/closure_fn0.c: Print result and check
with dg-output to make debugging easier.
* testsuite/libffi.call/closure_fn1.c: Likewise.
* testsuite/libffi.call/closure_fn2.c: Likewise.
* testsuite/libffi.call/closure_fn3.c: Likewise.
* testsuite/libffi.call/closure_fn4.c: Likewise.
* testsuite/libffi.call/closure_fn5.c: Likewise.
* testsuite/libffi.call/cls_12byte.c: Likewise.
* testsuite/libffi.call/cls_16byte.c: Likewise.
* testsuite/libffi.call/cls_18byte.c: Likewise.
* testsuite/libffi.call/cls_19byte.c: Likewise.
* testsuite/libffi.call/cls_1_1byte.c: Likewise.
* testsuite/libffi.call/cls_20byte.c: Likewise.
* testsuite/libffi.call/cls_20byte1.c: Likewise.
* testsuite/libffi.call/cls_24byte.c: Likewise.
* testsuite/libffi.call/cls_2byte.c: Likewise.
* testsuite/libffi.call/cls_3_1byte.c: Likewise.
* testsuite/libffi.call/cls_3byte1.c: Likewise.
* testsuite/libffi.call/cls_3byte2.c: Likewise.
* testsuite/libffi.call/cls_4_1byte.c: Likewise.
* testsuite/libffi.call/cls_4byte.c: Likewise.
* testsuite/libffi.call/cls_5byte.c: Likewise.
* testsuite/libffi.call/cls_64byte.c: Likewise.
* testsuite/libffi.call/cls_6byte.c: Likewise.
* testsuite/libffi.call/cls_7byte.c: Likewise.
* testsuite/libffi.call/cls_8byte.c: Likewise.
* testsuite/libffi.call/cls_9byte1.c: Likewise.
* testsuite/libffi.call/cls_9byte2.c: Likewise.
* testsuite/libffi.call/cls_double.c: Likewise.
* testsuite/libffi.call/cls_float.c: Likewise.
* testsuite/libffi.call/cls_schar.c: Likewise.
* testsuite/libffi.call/cls_sint.c: Likewise.
* testsuite/libffi.call/cls_sshort.c: Likewise.
* testsuite/libffi.call/cls_uchar.c: Likewise.
* testsuite/libffi.call/cls_uint.c: Likewise.
* testsuite/libffi.call/cls_ulonglong.c: Likewise.
* testsuite/libffi.call/cls_ushort.c: Likewise.
* testsuite/libffi.call/problem1.c: Likewise.

* testsuite/libffi.special/unwindtest.cc: Make ffi_closure
static.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73393 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * loop.c (check_dbra_loop): Try swapping the comparison operands
sayle [Sun, 9 Nov 2003 14:33:20 +0000 (14:33 +0000)]
* loop.c (check_dbra_loop): Try swapping the comparison operands
of the loop condition to identify a suitable induction variable.
* unroll.c (loop_iterations): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73391 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/sparc/sparc.h (TARGET_CPU_CPP_BUILTINS): Fix sparc vs
ghazi [Sun, 9 Nov 2003 14:05:10 +0000 (14:05 +0000)]
* config/sparc/sparc.h (TARGET_CPU_CPP_BUILTINS): Fix sparc vs
sparc64 #cpu and #machine assertions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73390 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-09 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 9 Nov 2003 10:47:58 +0000 (10:47 +0000)]
2003-11-09  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/12971
* include/bits/locale_facets.tcc
(money_put::do_put(..., long double)): Fix conversion
specification as per DR 328 [WP].
* testsuite/22_locale/money_put/put/char/12971.cc: Add.
* testsuite/22_locale/money_put/put/wchar_t/12971.cc: Ditto.
* docs/html/ext/howto.html: Add entry for DR 328.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73389 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Makefile.in (rtlanal.o): Depend on BASIC_BLOCK_H.
rth [Sun, 9 Nov 2003 09:27:29 +0000 (09:27 +0000)]
    * Makefile.in (rtlanal.o): Depend on BASIC_BLOCK_H.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73386 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * tree-optimize.c (tree_rest_of_compilation): Fix warning.
hubicka [Sun, 9 Nov 2003 03:06:21 +0000 (03:06 +0000)]
* tree-optimize.c (tree_rest_of_compilation): Fix warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73385 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cgraphunit.c (cgraph_expand_function): Use
hubicka [Sun, 9 Nov 2003 02:37:54 +0000 (02:37 +0000)]
* cgraphunit.c (cgraph_expand_function): Use
cgraph_possibly_inlined_p.
* tree-optimize.c (tree_rest_of_compilation): Do not kill saved tree.

* opts.c (common_handle_option): Do not set max-inline-insns.
* params.def: Update comments.
(PARAM_MAX_INLINE_INSNS): Kill.
* invoke.texi (max-inline-insns): Kill.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73384 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cgraphunit.c (cgraph_expand_function): Use
hubicka [Sun, 9 Nov 2003 01:52:59 +0000 (01:52 +0000)]
* cgraphunit.c (cgraph_expand_function): Use
cgraph_possibly_inlined_p.
* tree-optimize.c (tree_rest_of_compilation): Do not kill saved tree.

* opts.c (common_handle_option): Do not set max-inline-insns.
* params.def: Update comments.
(PARAM_MAX_INLINE_INSNS): Kill.
* invoke.texi (max-inline-insns): Kill.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73382 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Sun, 9 Nov 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73380 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c/3190
jsm28 [Sat, 8 Nov 2003 22:42:00 +0000 (22:42 +0000)]
PR c/3190
PR c/8714
* c-format.c (set_Wformat): Do not enable -Wformat-y2k by default.
* invoke.texi: Update.

testsuite:
PR c/3190
PR c/8714
* gcc.dg/format/c90-strftime-1.c, gcc.dg/format/c90-strftime-2.c,
gcc.dg/format/c99-strftime-1.c, gcc.dg/format/ext3.c,
gcc.dg/format/no-y2k-1.c: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73378 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-08 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 8 Nov 2003 21:17:30 +0000 (21:17 +0000)]
2003-11-08  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/12967
* include/bits/list.tcc (merge): Implement resolution of
DR 300 [WP].
* docs/html/ext/howto.html: Add entry for DR 300; tweak entry
for DR 231.

* docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
Import R27.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73377 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR java/12894:
tromey [Sat, 8 Nov 2003 20:44:04 +0000 (20:44 +0000)]
PR java/12894:
* jcf-parse.c (classify_zip_file): Only skip MANIFEST.MF file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73376 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR optimization/12630
danglin [Sat, 8 Nov 2003 20:36:30 +0000 (20:36 +0000)]
PR optimization/12630
* pa.c (compute_movstrsi_length): Rename to compute_movstr_length.
Handle length computation 64-bit moves.
(compute_clrstr_length, output_block_clear): Implement block clear.
(output_block_move): Handle 64-bit moves.
(pa_adjust_insn_length): Use compute_movstr_length and
compute_clrstr_length.
* pa.md (movstrsi): Revise operand order and comments.  Don't use
match_scratch.
(movstrsi_internal): Delete.
(movstrsi_prereload, movstrsi_postreload): New insns.  Define splitter
and peephole2 patterns to transform prereload to postreload form.
(movstrdi, movstrdi_prereload, movstrdi_postreload, clrstrsi,
clrstrsi_prereload, clrstrsi_postreload, clrstrdi, clrstrdi_prereload,
clrstrdi_postreload): New patterns for 64-bit block move, and block
clear.
* pa-protos.h (output_block_clear): New prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73375 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2003-11-08 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Sat, 8 Nov 2003 19:03:58 +0000 (19:03 +0000)]
2003-11-08  Andreas Tobler  <a.tobler@schweiz.ch>

* testsuite/libffi.call/cls_9byte2.c: New test case.
* testsuite/libffi.call/cls_9byte1.c: Likewise.
* testsuite/libffi.call/cls_64byte.c: Likewise.
* testsuite/libffi.call/cls_20byte1.c: Likewise.
* testsuite/libffi.call/cls_19byte.c: Likewise.
* testsuite/libffi.call/cls_18byte.c: Likewise.
* testsuite/libffi.call/closure_fn4.c: Likewise.
* testsuite/libffi.call/closure_fn5.c: Likewise.
* testsuite/libffi.call/cls_schar.c: Likewise.
* testsuite/libffi.call/cls_sint.c: Likewise.
* testsuite/libffi.call/cls_sshort.c: Likewise.
* testsuite/libffi.call/nested_struct2.c: Likewise.
* testsuite/libffi.call/nested_struct3.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73372 138bc75d-0d04-0410-961f-82ee72b054a4