OSDN Git Service

pf3gnuchains/gcc-fork.git
17 years ago2004-01-20 Andrew Haley <aph@redhat.com>
aph [Tue, 20 Jan 2004 15:18:33 +0000 (15:18 +0000)]
2004-01-20  Andrew Haley  <aph@redhat.com>

        * include/private/gcconfig.h (USE_MMAP): Define for all Linux.

        * configure.in: Comment change.

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

17 years agoIt's 2004 not 2004
steven [Tue, 20 Jan 2004 12:11:14 +0000 (12:11 +0000)]
It's 2004 not 2004

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

17 years ago(TARGET_M32R2). Test for TARGET_M32R2_MASK not TARGET_M32RX_MASK.
nickc [Tue, 20 Jan 2004 10:17:23 +0000 (10:17 +0000)]
(TARGET_M32R2). Test for TARGET_M32R2_MASK not TARGET_M32RX_MASK.

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

17 years ago PR target/13557
ebotcazou [Tue, 20 Jan 2004 07:38:18 +0000 (07:38 +0000)]
PR target/13557
* config/sparc/sparc.c (function_arg): Reorder the cases.

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

17 years agoFix patch oops.
bothner [Tue, 20 Jan 2004 07:35:21 +0000 (07:35 +0000)]
Fix patch oops.

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

17 years ago2004-01-19 Stefan Olsson <stefan@snon.net>
bkoz [Tue, 20 Jan 2004 06:35:21 +0000 (06:35 +0000)]
2004-01-19  Stefan Olsson  <stefan@snon.net>

* include/ext/mt_allocator.h: If a thread, when it dies, still has
memory on it's freelist this memory is not returned to global
list. Simplification of deallocate so that memory is always
returned to the calling thread id's freelist instead of to
global. Fix typos. Add volatile where appropriate.

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

17 years ago Move cpp_reader's line_maps field to a shared global.
bothner [Tue, 20 Jan 2004 05:30:18 +0000 (05:30 +0000)]
Move cpp_reader's line_maps field to a shared global.
* cpphash.h (cpp_reader):  Rename line_maps field to line_table
and change the type to a pointer rather than a struct.
* cppinit.c (cpp_push_main_field):  Adjust accordingly.
* cpplib.c (do_include_common, _cpp_do_file_change, cpp_get_callbacks):
Likewise.
* cppfiles.c (validate_pch):  Likewise.
* cppmacro.c (_cpp_warn_if_unused_macro, _cpp_builtin_macro_text):
Likewise.
* cpperror.c (print_location):  Likewise.
* cpplib.h (cpp_create_reader):  New line_maps pointer parameter.
* cppinit.c (cpp_create_reader):  Handle new parameter.
(cpp_destroy):  Don't free line_maps - that's no longer our job.
* input.h (line_table):  New variable.
* toplev.c (line_table):  Declare variable.
(general_init):  Initialize line_table.
* c-opts.c (c_common_init_options):  Pass line_table to
cpp_create_reader.
* fix-header.c (read_scan_file):  New local variable line_table.
Initialize, and pass it to cpp_create_reader.
* Makefile.in (LIBS, LIBDEPS):  Add libcpp.a.
(C_AND_OBJC_OBJS, fix-header):  Remove redundant libcpp.a.

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

17 years ago Implement a cache for linemap_lookup.
bothner [Tue, 20 Jan 2004 05:17:48 +0000 (05:17 +0000)]
Implement a cache for linemap_lookup.
* line-map.h (struct_line_maps):  Add cache field.
* line-map.c (linemap_init):  Zero cache field.
(linemap_add):  Set cache field to offset of newly allocated map.
(linemap_lookup):  Use and set cache field.

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

17 years ago PR optimization/13567
kkojima [Tue, 20 Jan 2004 02:34:23 +0000 (02:34 +0000)]
PR optimization/13567
* cse.c (cse_basic_block): Call cse_insn with a non-null
libcall_insn for the last SET insn of a no-confilict block.

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

17 years ago2004-01-18 James A. Morrison <ja2morri@uwaterloo.ca>
phython [Tue, 20 Jan 2004 01:57:58 +0000 (01:57 +0000)]
2004-01-18  James A. Morrison  <ja2morri@uwaterloo.ca>

        * lib/treelang.exp: Fill out this file.
        * lib/treelang-dg.exp: New File.

treelang:
2004-01-18  James A. Morrison  <ja2morri@uwaterloo.ca>

        * compile/compile.exp: New File.
        * compile/tabs.tree: Test whether the front end
        compiles code with tabs in it.

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

17 years agogcc/
kcook [Tue, 20 Jan 2004 01:52:02 +0000 (01:52 +0000)]
gcc/
2004-01-16  Kelley Cook  <kcook@gcc.gnu.org>

* Makefile.in (target_noncanonical, program_transform_name): Use
immediate define instead of deferred.
(GCC_INSTALL_NAME, GCC_TARGET_INSTALL_NAME, CPP_INSTALL_NAME,
PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
GCCBUG_INSTALL_NAME): Define via a immediate $(shell) instead of
deferred backquote.

gcc/cp
2004-01-16  Kelley Cook  <kcook@gcc.gnu.org>

* Make-lang.in (CXX_INSTALL_NAME, GXX_INSTALL_NAME,
CXX_TARGET_INSTALL_NAME, GXX_TARGET_INSTALL_NAME): Define via a
immediate $(shell) instead of deferred backquote.

gcc/f
2004-01-16  Kelley Cook  <kcook@gcc.gnu.org>

* Make-lang.in (G77_INSTALL_NAME): Define via a immediate $(shell)
instead of deferred backquote.

gcc/java
2004-01-16  Kelley Cook  <kcook@gcc.gnu.org>

* Make-lang.in (JAVA_INSTALL_NAME, JAVA_TARGET_INSTALL_NAME,
GCJH_TARGET_INSTALL_NAME): Define via a immediate $(shell)
instead of deferred backquote.

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

17 years ago * c-decl.c (c_init_decl_processing): Set pedantic_lvalues to
jsm28 [Tue, 20 Jan 2004 01:38:27 +0000 (01:38 +0000)]
* c-decl.c (c_init_decl_processing): Set pedantic_lvalues to
true unconditionally.
* c-typeck.c (unary_complex_lvalue, pedantic_lvalue_warning):
Remove.
(build_unary_op, build_modify_expr): Don't handle extended
lvalues.
(build_component_ref, build_conditional_expr): Call non_lvalue
instead of pedantic_non_lvalue.
(build_c_cast): Don't condition use of non_lvalue on pedantic.
* fold-const.c (fold): Don't check pedantic directly for
COMPOUND_EXPR.  Ensure that results for COMPOUND_EXPR are
passed to pedantic_non_lvalue.
* doc/extend.texi: Remove documentation of extended lvalues.

testsuite:
* gcc.c-torture/compile/981022-1.c: Remove.
* gcc.dg/array-5.c: Remove XFAIL.
* gcc.dg/sequence-pt-1.c: Remove test using extended lvalues.
* gcc.dg/cast-lvalue-1.c, gcc.dg/compound-lvalue-1.c,
gcc.dg/cond-lvalue-1.c: Update.
* gcc.dg/cast-lvalue-2.c: New test.

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

17 years ago * testsuite/ext/stdio_filebuf/char/10063-2.cc: Treat unbuffered.
ljrittle [Tue, 20 Jan 2004 01:30:03 +0000 (01:30 +0000)]
* testsuite/ext/stdio_filebuf/char/10063-2.cc: Treat unbuffered.
* testsuite/ext/stdio_filebuf/char/10063-3.cc: New test.  Like -2 but
use __gnu_cxx::stdio_sync_filebuf<char> instead; allow buffered stream.

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

17 years agoDaily bump.
gccadmin [Tue, 20 Jan 2004 00:16:49 +0000 (00:16 +0000)]
Daily bump.

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

17 years ago PR c++/13651
mmitchel [Mon, 19 Jan 2004 22:10:31 +0000 (22:10 +0000)]
PR c++/13651
* parser.c (cp_parser_postfix_expression): When encountering
incomplete type on left-hand side of "->" or ".", treat the entire
expression as erroneous.

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

17 years ago PR optimization/5263
sayle [Mon, 19 Jan 2004 21:51:06 +0000 (21:51 +0000)]
PR optimization/5263
* simplify-rtx.c (associative_constant_p): Delete.
(simplify_associative_operation): Rewrite to linearize terms, and
attempt to simplify new term against both left and right subterms.
(simplify_binary_operation): Call swap_commutative_operands_p on
op0 and op1, not trueop0 and trueop1.  Move the initialization of
trueop0 and trueop1 down to where first needed.
(simplify_relational_operation): Likewise.
* rtlanal.c (commutative_operand_precedence): Also order constant
operands using avoid_constant_pool_reference.

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

17 years ago PR c++/13592
mmitchel [Mon, 19 Jan 2004 21:24:46 +0000 (21:24 +0000)]
PR c++/13592
* g++.dg/other/error1.C (class foo): Tweak error message.

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

17 years ago PR c++/13592
mmitchel [Mon, 19 Jan 2004 20:33:29 +0000 (20:33 +0000)]
PR c++/13592
* call.c (build_field_call): Remove.
(n_build_method_call): Likewise.
(build_method_call): Likewise.
(build_new_method_call): Do not call build_field_call.
* class.c (n_build_method_call): Remove.
(print_class_statistics): Do not print it.
* cp-tree.h (build_method_call): Remove declaration.
(finish_object_call_expr): Likewise.
(build_new_1): Do not use build_method_call.
* parser.c (cp_parser_postfix_expression): Use finish_call_expr
when the function appearing on the right-hand-side of "." or "->"
is not actually a function.
* pt.c (tsubst_copy_and_build): Likewise.
* semantics.c (finish_object_call_expr): Remove.

PR c++/13592
* g++.dg/template/call2.C: New test.

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

17 years ago * config/alpha/alpha.c (aligned_memory_operand): Check MEM_ALIGN,
rth [Mon, 19 Jan 2004 19:49:33 +0000 (19:49 +0000)]
    * config/alpha/alpha.c (aligned_memory_operand): Check MEM_ALIGN,
        don't check memory mode.
        (unaligned_memory_operand): Likewise.
        (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Don't
        abort for op0 not MEM.

        * config/alpha/alpha.c (alpha_expand_mov_nobwx): If the destination
        is not a reg, copy to a scratch first.
        (aligned_loadqi, aligned_loadhi, unaligned_loadqi, unaligned_loadhi,
        unaligned_loadqi_le, unaligned_loadqi_be, unaligned_loadhi_le,
        unaligned_loadhi_be): Expect op0 in DImode; don't SUBREG.
        (reload_inqi, reload_inhi): Fix mode of op0.
        (reload_inqi_help, reload_inhi_help, reload_outqi_help,
        reload_outhi_help): Likewise.  Use define_insn_and_split.

        * config/alpha/alpha.md (call peepholes): Check for REG_NORETURN
        as well as $29 dead.

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

17 years ago * gcc.dg/compat/fnptr-by-value-1_x.c, scalar-by-value-1_y.c
ebotcazou [Mon, 19 Jan 2004 19:17:50 +0000 (19:17 +0000)]
* gcc.dg/compat/fnptr-by-value-1_x.c, scalar-by-value-1_y.c
scalar-by-value-3_x.c, scalar-by-value-3_y.c,
scalar-by-value-4_x.c, scalar-by-value-4_y.c,
scalar-return-1_x.c, scalar-return-2_y.c,
scalar-return-3_x.c, scalar-return-3_y.c,
scalar-return-4_x.c, scalar-return-4_y.c,
struct-align-1.h, struct-align-1_x.c,
struct-align-1_y.c, struct-align-2.h,
struct-align-2_x.c, struct-align-2_y.c,
struct-by-value-10_y.c, struct-by-value-11_x.c,
struct-by-value-11_y.c, struct-by-value-12_x.c,
struct-by-value-12_y.c, struct-by-value-13_x.c,
struct-by-value-13_y.c, struct-by-value-14_x.c,
struct-by-value-14_y.c, struct-by-value-15_x.c,
struct-by-value-15_y.c, struct-by-value-16_y.c,
struct-by-value-17_y.c, struct-by-value-18_y.c,
struct-by-value-19_y.c, struct-by-value-1_x.c,
struct-by-value-1_y.c, struct-by-value-20_y.c,
struct-by-value-2_x.c, struct-by-value-2_y.c,
struct-by-value-3_y.c, struct-by-value-4_x.c,
struct-by-value-4_y.c, struct-by-value-5_y.c,
struct-by-value-6_y.c, struct-by-value-7_y.c
struct-by-value-8_x.c, struct-by-value-8_y.c
struct-by-value-9_x.c, struct-by-value-9_y.c
struct-return-10_x.c, struct-return-10_y.c,
struct-return-19_x.c, struct-return-20_x.c
struct-return-2_x.c, struct-return-2_y.c
struct-return-3_x.c: Guard non-C99 tests with SKIP_COMPLEX_INT,
SKIP_ATTRIBUTE and SKIP_ZERO_ARRAY.  Turns SKIPVA into SKIP_VA.

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

17 years ago2004-01-19 Matthias Klose <doko@debian.org>
doko [Mon, 19 Jan 2004 19:01:59 +0000 (19:01 +0000)]
2004-01-19  Matthias Klose  <doko@debian.org>

* libtool-version: Increased `current' to 6.

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

17 years ago2004-01-19 Kim Ho <kho@redhat.com>
kho [Mon, 19 Jan 2004 18:41:52 +0000 (18:41 +0000)]
2004-01-19  Kim Ho  <kho@redhat.com>

        * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
        (connectJObject): Iterate through the vbox's children to find layout.

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

17 years ago * java/awt/EventQueue.java (invokeAndWait): Use list-aware
fnasser [Mon, 19 Jan 2004 18:22:29 +0000 (18:22 +0000)]
    * java/awt/EventQueue.java (invokeAndWait): Use list-aware
        isDispatchThread method to replace wrong test condition.

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

17 years ago2004-01-19 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 19 Jan 2004 18:10:55 +0000 (18:10 +0000)]
2004-01-19  Paolo Carlini  <pcarlini@suse.de>

* src/debug.cc: Make sure all the names are prefixed with
double (or single) underscore.

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

17 years ago * java/awt/EventQueue.java (pop): Prevent racing condition to add
fnasser [Mon, 19 Jan 2004 17:38:36 +0000 (17:38 +0000)]
    * java/awt/EventQueue.java (pop): Prevent racing condition to add
        events to the queue out of order by acquiring locks in the proper
        order and not by releasing one before acquiring the other.

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

17 years ago * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
fnasser [Mon, 19 Jan 2004 17:32:29 +0000 (17:32 +0000)]
    * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
        visible so that dialog can be reused.

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

17 years ago * gcc.dg/tls/alias-1.c: Add dg-warning for unsupported visibility
ebotcazou [Mon, 19 Jan 2004 17:03:45 +0000 (17:03 +0000)]
* gcc.dg/tls/alias-1.c: Add dg-warning for unsupported visibility
attribute on sparc*-sun-solaris2.*.

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

17 years ago * config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): New. Emit
ebotcazou [Mon, 19 Jan 2004 16:57:05 +0000 (16:57 +0000)]
* config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): New.  Emit
"tls_object" for thread-local objects.
* config/sparc/sparc.c (sparc_elf_asm_named_section): Emit
"#tls" for thread-local sections.
* configure.ac (thread-local checks): Specify --fatal-warnings in
every binutils-specific checks.  For sparc*-*-*, test whether the
OS is Solaris and the tools are native and act accordingly.
* configure: Rebuild.

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

17 years ago * contrib.texi: Update Paolo Carlini's entry. New entries for
law [Mon, 19 Jan 2004 16:30:05 +0000 (16:30 +0000)]
    * contrib.texi: Update Paolo Carlini's entry.  New entries for
        Jerry Quinn and Petur Runolfsson.

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

17 years ago * config/i386/i386.md (*movhi_1, *movqi_1): When optimizing for
sayle [Mon, 19 Jan 2004 15:15:56 +0000 (15:15 +0000)]
* config/i386/i386.md (*movhi_1, *movqi_1): When optimizing for
size, don't use the larger zero-extending loads.

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

17 years ago2004-01-19 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 19 Jan 2004 15:10:17 +0000 (15:10 +0000)]
2004-01-19  Paolo Carlini  <pcarlini@suse.de>

* MAINTAINERS: Update my email address.

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

17 years ago * java/awt/EventQueue.java (getCurrentEvent): Consider that system
fnasser [Mon, 19 Jan 2004 14:51:54 +0000 (14:51 +0000)]
    * java/awt/EventQueue.java (getCurrentEvent): Consider that system
        events may be handled by any queue in the stack.

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

17 years ago2004-01-19 Kim Ho <kho@redhat.com>
kho [Mon, 19 Jan 2004 14:27:45 +0000 (14:27 +0000)]
2004-01-19  Kim Ho  <kho@redhat.com>

        * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
        MenuBarPeer parameter.
        (removeMenuBarPeer): New native method.
        (setMenuBar): Call remove if menu bar is null. Adjust insets
        appropriately.
        (postSizeAllocateEvent): New method. Called when menu bar size is
        allocated. Adjust insets and redo layout.
        (GtkFramePeer): Set menu bar during frame creation.
        (postConfigureEvent): Adjust position and size to accomodate
        menu bar.
        * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
        * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
        (addNotify): Create the peer if it doesn't exist and call addNotify
        for the menu's items.
        * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
        * java/awt/MenuItem.java (addNotify): Create the peer if it
        doesn't exist.
        * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
        (removeMenuBarPeer): New method. Remove menu bar on the current
        frame.
        (setMenuBarPeer): Add the menu bar to the current frame and the
        callback for size-allocate events on the menu bar.
        (getMenuBarHeight): Add menu bar parameter.
        (menubar_resize_cb): New callback method for postSizeAllocate events.

        Also: Fix indentation on last ChangeLog entry.

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

17 years ago2004-01-16 Kim Ho <kho@redhat.com>
kho [Mon, 19 Jan 2004 14:08:19 +0000 (14:08 +0000)]
2004-01-16  Kim Ho  <kho@redhat.com>

        * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
        (gtkWidgetGetDimensions): Remove.
        * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
        (gtkWidgetGetDimensions): Remove.

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

17 years ago2004-01-19 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 19 Jan 2004 12:11:50 +0000 (12:11 +0000)]
2004-01-19  Paolo Carlini  <pcarlini@suse.de>

* src/debug.cc: Trivial formatting change.

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

17 years ago2004-01-19 Arnaud Charlet <charlet@act-europe.fr>
charlet [Mon, 19 Jan 2004 10:37:59 +0000 (10:37 +0000)]
2004-01-19  Arnaud Charlet  <charlet@act-europe.fr>

* utils.c: Update copyright notice, missed in previous change.

2004-01-19  Vincent Celier  <celier@gnat.com>

* mlib-prj.adb (Build_Library.Add_ALI_For): Only add the ALI to the
args if Bind is True. Set First_ALI, if not already done.
(Build_Library): For Stand Alone Libraries, extract from one ALI file
an eventual --RTS switch, for gnatbind, and all backend switches +
--RTS, for linking.

2004-01-19  Robert Dewar  <dewar@gnat.com>

* sem_attr.adb, memtrack.adb: Minor reformatting

2004-01-19  Ed Schonberg  <schonberg@gnat.com>

* exp_ch6.adb (Expand_Call): Remove code to fold calls to functions
that rename enumeration literals. This is properly done in sem_eval.

* sem_eval.ads, sem_eval.adb (Eval_Call): New procedure to fold calls
to functions that rename enumeration literals.

* sem_res.adb (Resolve_Call): Use Eval_Call to fold static calls to
functions that rename enumeration literals.

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

17 years ago * alpha.h (HARD_REGNO_MODE_OK): Disallow SImode in FP regs.
rth [Mon, 19 Jan 2004 09:55:42 +0000 (09:55 +0000)]
    * alpha.h (HARD_REGNO_MODE_OK): Disallow SImode in FP regs.
        * alpha.md (UNSPEC_NT_LDA): Remove.
        (UNSPEC_CVTLQ, cvtlq): New.
        (extendsidi2_1): Rename from extendsidi2_nofix; remove f/f.
        (extendsidi2_fix): Remove.
        (extendsidi2 splitter): Use cvtlq.
        (extendsidi2 fp peepholes): Remove.
        (cvtql): Use SFmode instead of SImode.
        (fix_trunc?fsi): Update to match.
        (floatsisf2_ieee, floatsisf2, floatsidf2_ieee, floatsidf2): New.
        (movsi): Rename from movsi_nofix, remove f alternatives.
        (movsi_nt_vms): Similarly.
        (movsi_fix, movsi_nt_vms_fix): Remove.
        (nt_lda): Remove.
        * alpha.c (alpha_expand_prologue): Use adddi3, not nt_lda.

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

17 years ago * cgraph.c (cgraph_remove_node): Fix removal from linked list.
hubicka [Mon, 19 Jan 2004 09:43:53 +0000 (09:43 +0000)]
* cgraph.c (cgraph_remove_node): Fix removal from linked list.
* cgraphunit.c (cgraph_finalize_compilation_unit): Clear next_needed
list.
(cgraph_remove_unreachable_nodes): New function
(cgraph_decide_inlining_of_small_function): Fix pasto.
(cgraph_decide_inlining_incrementally): Fix pasto.
(cgrpah_decide_inlining): Likewise; remove unreachable nodes.

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

17 years ago2004-01-19 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 19 Jan 2004 08:53:32 +0000 (08:53 +0000)]
2004-01-19  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.tcc (_S_construct(size_type,
_CharT, const _Alloc&)): Remove redundant try/catch.
(_M_mutate(size_type, size_type, size_type)): Ditto.
(_M_clone(const _Alloc&, size_type)): Ditto.

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

17 years ago * gengtype.c (header_file): Make it static.
steven [Mon, 19 Jan 2004 08:38:38 +0000 (08:38 +0000)]
* gengtype.c (header_file): Make it static.
(write_types_process_field, write_enum_defn): Minor whitespace fixes.
* gengtype.h (header_file): No longer extern.

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

17 years ago * defaults.h (CASE_VECTOR_PC_RELATIVE): Provide the default.
kazu [Mon, 19 Jan 2004 03:08:14 +0000 (03:08 +0000)]
* defaults.h (CASE_VECTOR_PC_RELATIVE): Provide the default.
* expr.c (CASE_VECTOR_PC_RELATIVE): Remove.
* stmt.c (CASE_VECTOR_PC_RELATIVE): Likewise.

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

17 years agoFix incorrect PR number.
mmitchel [Mon, 19 Jan 2004 00:51:56 +0000 (00:51 +0000)]
Fix incorrect PR number.

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

17 years ago PR c++/13635
mmitchel [Mon, 19 Jan 2004 00:47:59 +0000 (00:47 +0000)]
PR c++/13635
* pt.c (tsubst): Use finish_typeof.

PR c++/13635
* g++.dg/ext/typeof7.C: New test.

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

17 years agoDaily bump.
gccadmin [Mon, 19 Jan 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.

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

17 years ago * stmt.c (HAVE_casesi): Define it not already defined.
kazu [Sun, 18 Jan 2004 22:49:23 +0000 (22:49 +0000)]
* stmt.c (HAVE_casesi): Define it not already defined.
(HAVE_tablejump): Likewise.
(expand_end_case_type): Resort to the binary tree method if
neither casesi or tablejump is available.

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

17 years ago * final.c (final_scan_insn): Make non-static again.
drow [Sun, 18 Jan 2004 22:37:29 +0000 (22:37 +0000)]
* final.c (final_scan_insn): Make non-static again.
* output.h (final_scan_insn): Re-add prototype.
* config/arc/arc.c (arc_output_function_epilogue): Add NULL
to final_scan_insn call.
* config/cris/cris.c (cris_target_asm_function_epilogue): Likewise.
* config/mips/mips.c (mips_output_conditional_branch): Likewise.
* config/pa/pa.c (output_lbranch, output_call): Likewise.
* config/sh/sh.c (print_slot): Likewise.
* config/sparc/sparc.c (sparc_nonflat_function_epilogue): Likewise.
(output_sibcall, sparc_flat_function_epilogue): Likewise.

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

17 years ago * basic-block.h (try_redirect_by_replacing_jump): Declare.
hubicka [Sun, 18 Jan 2004 21:51:30 +0000 (21:51 +0000)]
* basic-block.h (try_redirect_by_replacing_jump): Declare.
* cfgcleanup.c (try_optimize_cfg): Use it.
* cfgrtl.c (try_redirect_by_replacing_jump): Export.
(rtl_redirect_edge_and_branch, cfg_layout_redirect_edge_and_branch):
Kill hack.
(cfg_layout_merge_blocks): Use try_redirect_by_replacing_jump.

Revert:
2004-01-16  Geoffrey Keating  <geoffk@apple.com>

* cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
even after reload, just don't remove the actual jump tables.

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

17 years ago * config/rs6000/rs6000.h (STRICT_ARGUMENT_NAMING): Remove.
kazu [Sun, 18 Jan 2004 21:36:34 +0000 (21:36 +0000)]
* config/rs6000/rs6000.h (STRICT_ARGUMENT_NAMING): Remove.

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

17 years ago * defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Fix the computation of
kazu [Sun, 18 Jan 2004 21:25:06 +0000 (21:25 +0000)]
* defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Fix the computation of
the size of a pointer in bytes.

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

17 years ago * builtins.c (expand_builtin_expect_jump): Fix thinko of reusing
sayle [Sun, 18 Jan 2004 20:04:59 +0000 (20:04 +0000)]
* builtins.c (expand_builtin_expect_jump): Fix thinko of reusing
live "next" variable, which can lead to an infinite loop.

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

17 years ago2004-01-18 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sun, 18 Jan 2004 19:50:18 +0000 (19:50 +0000)]
2004-01-18  Andrew Pinski  <pinskia@physics.uc.edu>

* config/rs6000/altivec.h: Wrap C++ functions in extern "C++"
block.

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

17 years ago2004-01-18 James A. Morrison <ja2morri@uwaterloo.ca>
phython [Sun, 18 Jan 2004 19:49:34 +0000 (19:49 +0000)]
2004-01-18  James A. Morrison  <ja2morri@uwaterloo.ca>

        * MAINTAINERS: Add myself to write-after-approval.

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

17 years ago2004-01-18 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sun, 18 Jan 2004 15:45:51 +0000 (15:45 +0000)]
2004-01-18  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/rs6000/rs6000.c (rs6000_special_round_type_align):
        Check for NULL in the chain and remove repeated code.

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

17 years ago PR c++/11725
jason [Sun, 18 Jan 2004 15:38:08 +0000 (15:38 +0000)]
    PR c++/11725
        * except.c (build_throw): In a template, set
        current_function_returns_abnormally.

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

17 years ago * coverage.c (checksum_string): Rename to ...
hubicka [Sun, 18 Jan 2004 15:10:23 +0000 (15:10 +0000)]
* coverage.c (checksum_string): Rename to ...
(coverage_checksum_string): ... this one, Use crc32_string; recognize
names containing random number and zero the number out in order to get
match.

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

17 years ago * config/mips/mips.c (mips_got_alias_set): Mark for PCH.
rsandifo [Sun, 18 Jan 2004 14:01:52 +0000 (14:01 +0000)]
* config/mips/mips.c (mips_got_alias_set): Mark for PCH.

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

17 years ago * doc/c-tree.texi, doc/cpp.texi, doc/extend.texi,
jsm28 [Sun, 18 Jan 2004 11:57:17 +0000 (11:57 +0000)]
* doc/c-tree.texi, doc/cpp.texi, doc/extend.texi,
doc/frontends.texi, doc/gcov.texi, doc/gty.texi, doc/install.texi,
doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/rtl.texi,
doc/sourcebuild.texi, doc/standards.texi, doc/tm.texi,
doc/trouble.texi: Remove trailing whitespace.

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

17 years ago2004-01-18 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 18 Jan 2004 11:18:29 +0000 (11:18 +0000)]
2004-01-18  Paolo Carlini  <pcarlini@suse.de>

* ChangeLog rotation.

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

17 years ago2004-01-18 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 18 Jan 2004 10:51:13 +0000 (10:51 +0000)]
2004-01-18  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.h (c_str()): Simplify, due to
21.3.4 the internal representation is always kept null-terminated.
* include/bits/basic_string.tcc (_M_clone): Null-terminate.
* testsuite/21_strings/basic_string/element_access/char/4.cc: New.
* testsuite/21_strings/basic_string/element_access/wchar_t/4.cc: Ditto.

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

17 years ago2004-01-18 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 18 Jan 2004 09:54:46 +0000 (09:54 +0000)]
2004-01-18  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.h (append(size_type, _CharT)):
Moved inline, just call _M_replace_aux, no source iterators at
risk of being clobbered.
(assign(size_type, _CharT)): Call directly _M_replace_aux.
(_M_replace(iterator, iterator, _InputIterator, _InputIterator,
input_iterator_tag)): Remove fifth unused argument.
(_M_replace_dispatch(iterator, iterator, _InputIterator,
_InputIterator, __false_type)): Update call.
* include/bits/basic_string.tcc (replace(size_type, size_type,
const _CharT*, size_type)): Update call.
(_M_replace_aux(iterator, iterator, size_type, _CharT)): Tweak
throw string literal.
(_M_replace_safe(iterator, iterator, _ForwardIterator,
_ForwardIterator)): Likewise.
(_M_replace(iterator, iterator, _InputIterator, _InputIterator,
input_iterator_tag)): Remove fifth unused argument.
(append(size_type __n, _CharT __c)): Move inline.
* src/string-inst.cc (S::_M_replace(S::iterator, S::iterator,
const C*, const C*, input_iterator_tag)): Remove fifth unused
argument.

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

17 years agoAdd PR number to last commit.
rsandifo [Sun, 18 Jan 2004 09:45:32 +0000 (09:45 +0000)]
Add PR number to last commit.

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

17 years ago * config/mips/mips.c: Include cfglayout.h.
rsandifo [Sun, 18 Jan 2004 09:42:11 +0000 (09:42 +0000)]
* config/mips/mips.c: Include cfglayout.h.
(TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define.
(mips_unspec_offset_high): Add temporary register argument.
(mips_load_call_address): New function, split out from...
(mips_expand_call): ...here.
(mips_output_cplocal): New function.
(mips_output_function_prologue, mips_output_function_epilogue): Use it.
(mips_emit_loadgp): New function, split out from...
(mips_expand_prologue): ...here.
(mips_output_mi_thunk): New function.

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

17 years ago * longlong.h (mc68020, __mc68030__, mc68030, __mc68040__, mc68040,
bernie [Sun, 18 Jan 2004 05:07:35 +0000 (05:07 +0000)]
* longlong.h (mc68020, __mc68030__, mc68030, __mc68040__, mc68040,
mcpu32): Remove redundant checks for implied target predefines.

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

17 years ago * gcc.dg/array-quals-1.c: xfail on powerpc*-*-aix*.
dje [Sun, 18 Jan 2004 04:39:34 +0000 (04:39 +0000)]
    * gcc.dg/array-quals-1.c: xfail on powerpc*-*-aix*.
        * gcc.dg/const-elim-1.c: Same.

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

17 years ago2004-1-17 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sun, 18 Jan 2004 03:46:56 +0000 (03:46 +0000)]
2004-1-17  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/rs6000/rs6000.c (rs6000_special_round_type_align):
        Return type is unsigned int not int.
        * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
        Likewise.

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

17 years ago * doc/contrib.texi, doc/cppenv.texi, doc/extend.texi,
jsm28 [Sun, 18 Jan 2004 02:10:34 +0000 (02:10 +0000)]
* doc/contrib.texi, doc/cppenv.texi, doc/extend.texi,
doc/install.texi, doc/invoke.texi, doc/tm.texi: Consistently use
"GNU/Linux" and "Microsoft Windows" terminology.

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

17 years ago * doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
jsm28 [Sun, 18 Jan 2004 01:20:48 +0000 (01:20 +0000)]
* doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
doc/cppopts.texi, doc/extend.texi, doc/install.texi,
doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
@smallexample instead of @example.

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

17 years ago[gcc/ChangeLog]
zlaski [Sun, 18 Jan 2004 01:15:30 +0000 (01:15 +0000)]
[gcc/ChangeLog]
2004-01-17  Ziemowit Laski  <zlaski@apple.com>

        * objc/objc-act.c (build_objc_method_call): Use target
        hooks instead of macros to determine if ..._stret
        dispatchers should be used (NeXT runtime only).

[gcc/testsuite/ChangeLog]
2004-01-17  Ziemowit Laski  <zlaski@apple.com>

        * objc.dg/stret-1.m: New.
        * objc.dg/stret-2.m: New.

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

17 years agoDaily bump.
gccadmin [Sun, 18 Jan 2004 00:16:43 +0000 (00:16 +0000)]
Daily bump.

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

17 years ago * builtins.c (expand_builtin_expect_jump): Fix mistake in my
sayle [Sat, 17 Jan 2004 23:49:44 +0000 (23:49 +0000)]
* builtins.c (expand_builtin_expect_jump): Fix mistake in my
last patch.  Use XEXP (x, 0) to get a LABEL_REF's CODE_LABEL.

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

17 years ago * rtl.h (emit_insn_before_sameloc, emit_jump_insn_before_sameloc)
drow [Sat, 17 Jan 2004 22:14:17 +0000 (22:14 +0000)]
* rtl.h (emit_insn_before_sameloc, emit_jump_insn_before_sameloc)
(emit_call_insn_before_sameloc, emit_insn_after_sameloc)
(emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): New
macros.
* reload1.c (emit_reload_insns): Use them.
* emit-rtl.c (emit_insn_before_sameloc, emit_insn_after_sameloc)
(emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): Check
for NULL PATTERN.

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

17 years ago * final.c (SEEN_BB, SEEN_NOTE, SEEN_EMITTED): Define.
drow [Sat, 17 Jan 2004 22:11:58 +0000 (22:11 +0000)]
* final.c (SEEN_BB, SEEN_NOTE, SEEN_EMITTED): Define.
(final_scan_insn): Update to take an additional SEEN argument.  Emit
a line note after the prologue.  Make static.
(line_note_exists): Remove.
(final): Don't initialize line_note_exists.  Update call to
final_scan_insn.
* output.h (final_scan_insn): Remove prologue.
* function.c (set_insn_locators): Update comment.
(thread_prologue_and_epilogue_insns): Add a comment.

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

17 years ago * Makefile.in: Remove rule for ggc-simple.o.
steven [Sat, 17 Jan 2004 21:03:57 +0000 (21:03 +0000)]
* Makefile.in: Remove rule for ggc-simple.o.
* configure.ac: Don't allow ggc-simple to be selected.
* configure: Regenerate.
* ggc-simple.c: Remove.

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

17 years ago2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sat, 17 Jan 2004 19:48:50 +0000 (19:48 +0000)]
2004-01-17  Andrew Pinski  <pinskia@physics.uc.edu>

        PR target/10781
        * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
        Prototype.
        * config/rs6000/rs6000.c (rs6000_special_round_type_align):
        New function.
        * config/rs6000/linux64.h (ROUND_TYPE_ALIGN): Use it.
        * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Likewise.
        * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Likewise.

2004-01-17  Andrew Pinski  <pinskia@physics.uc.edu>

        PR target/10781
        * encoding.c (rs6000_special_round_type_align): Define.

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

17 years agofix dates on the Changelog.
pinskia [Sat, 17 Jan 2004 19:04:05 +0000 (19:04 +0000)]
fix dates on the Changelog.

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

17 years ago2004-01-16 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sat, 17 Jan 2004 18:59:46 +0000 (18:59 +0000)]
2004-01-16  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/11895
        * g++.dg/ext/vector1.C: New test.

2003-08-26  Fred Fish  <fnf@intrinsity.com>

        PR c++/11895
        * decl.c (reshape_init): Handle VECTOR_TYPE like ARRAY_TYPE,
        except don't call array_type_nelts() with a VECTOR_TYPE.

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

17 years ago * snapshot-README: Mention how the snapshot was generated.
gerald [Sat, 17 Jan 2004 17:41:36 +0000 (17:41 +0000)]
* snapshot-README: Mention how the snapshot was generated.
* snapshot-index.html: Ditto.  Further sync with snapshot-README.

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

17 years ago * toplev.c (rest_of_handle_reorder_blocks): Fix pasto in previous
hubicka [Sat, 17 Jan 2004 12:28:57 +0000 (12:28 +0000)]
* toplev.c (rest_of_handle_reorder_blocks): Fix pasto in previous
commit.

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

17 years ago * toplev.c (HAVE_conditional_execution): Provide default.
hubicka [Sat, 17 Jan 2004 11:41:43 +0000 (11:41 +0000)]
* toplev.c (HAVE_conditional_execution): Provide default.
(rest_of_handle_reorder_blocks): For conditional_execution target
update liveness once after all transformations
(rest_of_compilation): Do crossjumping before ce3.

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

17 years ago PR pch/13689
geoffk [Sat, 17 Jan 2004 09:31:30 +0000 (09:31 +0000)]
PR pch/13689
* alias.c (new_alias_set): Mark last_alias_set for PCH.
(get_varargs_alias_set): Rename 'set' to 'varargs_set' and mark it
for PCH.
(get_frame_alias_set): Likewise, except rename it to 'frame_set'.
* config/rs6000/rs6000.c (rs6000_sr_alias_set): Mark for PCH.
(get_TOC_alias_set): Mark 'set' for PCH.

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

17 years agoChangeLog rotation
tromey [Sat, 17 Jan 2004 08:40:41 +0000 (08:40 +0000)]
ChangeLog rotation

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

17 years ago * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
geoffk [Sat, 17 Jan 2004 07:46:49 +0000 (07:46 +0000)]
* cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
even after reload, just don't remove the actual jump tables.

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

17 years agoFix my email address in the previous checkin.
brobecke [Sat, 17 Jan 2004 06:20:03 +0000 (06:20 +0000)]
Fix my email address in the previous checkin.

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

17 years ago * dwarf2out.c (is_subrange_type): Renamed from is_ada_subrange_type().
brobecke [Sat, 17 Jan 2004 05:30:48 +0000 (05:30 +0000)]
    * dwarf2out.c (is_subrange_type): Renamed from is_ada_subrange_type().
        Remove checks for is_ada() and TREE_UNSIGNED.
        (subrange_type_die): Emit a byte_size attribute if the subrange
        type size is different from the base type size.
        (modified_type_die): Replace call to is_ada_subrange_type() by
        call to is_subrange_type().

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

17 years ago2004-01-16 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sat, 17 Jan 2004 01:57:09 +0000 (01:57 +0000)]
2004-01-16  Andrew Pinski  <pinskia@physics.uc.edu>

        * typeck.c (find_method_in_interfaces): Move variable
        definition up.

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

17 years ago2004-01-16 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sat, 17 Jan 2004 01:19:20 +0000 (01:19 +0000)]
2004-01-16  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/sh/sh.c: Include ggc.h.

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

17 years ago2004-01-16 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 17 Jan 2004 00:51:35 +0000 (00:51 +0000)]
2004-01-16  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/ext/enc_filebuf/char/13189.cc: Fix guards.
* testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same.

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

17 years ago2004-01-15 Geoffrey Keating <geoffk@apple.com>
geoffk [Sat, 17 Jan 2004 00:37:47 +0000 (00:37 +0000)]
2004-01-15  Geoffrey Keating  <geoffk@apple.com>

* Makefile.in (MD5_H): New.
(fold-const.o): Depend on md5.h.
(dwarf2out.o): Likewise.
(cppfiles.o): Likewise.
* cppfiles.c: Include md5.h.
(should_stack_file): Check against list read from PCH file.
(struct pchf_data): New.
(pchf): New variable.
(struct pchf_adder_info): New.
(pchf_adder): New.
(pchf_save_compare): New.
(_cpp_save_file_entries): New.
(_cpp_read_file_entries): New.
(struct pchf_compare_data): New.
(pchf_compare): New.
(check_file_against_entries): New.
* cpphash.h (_cpp_save_file_entries): Prototype.
(_cpp_read_file_entries): Prototype.
* cpppch.c (cpp_write_pch_state): Write the list of headers.
(cpp_read_state): Read the list of headers.

Index: testsuite/ChangeLog
2004-01-16  Geoffrey Keating  <geoffk@apple.com>

* gcc.dg/pch/import-1.c: New.
* gcc.dg/pch/import-1.hs: New.
* gcc.dg/pch/import-1a.h: New.
* gcc.dg/pch/import-1b.h: New.
* gcc.dg/pch/import-1c.h: New.

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

17 years agoDaily bump.
gccadmin [Sat, 17 Jan 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.

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

17 years ago * de.po: Update.
jsm28 [Sat, 17 Jan 2004 00:04:13 +0000 (00:04 +0000)]
* de.po: Update.

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

17 years ago * c-common.c (c_estimate_num_insns_1): Handle builtin_constant_p and
hubicka [Sat, 17 Jan 2004 00:03:14 +0000 (00:03 +0000)]
* c-common.c (c_estimate_num_insns_1): Handle builtin_constant_p and
builtin_expect specially.
* params.def (PARAM_MAX_INLINE_INSNS_AUTO): Set to 100.
(PARAM_LARGE_FUNCTION_INSNS): Set to 3000.
* invoke.texi (max-inline-insns-single): Set to 100.
(large-function-insns): Set to 3000.

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

17 years ago * java/awt/Container.java: Typo and indentation fixes.
tromey [Sat, 17 Jan 2004 00:01:59 +0000 (00:01 +0000)]
* java/awt/Container.java: Typo and indentation fixes.

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

17 years ago * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
tromey [Fri, 16 Jan 2004 23:54:22 +0000 (23:54 +0000)]
* java/lang/natClassLoader.cc: Moved VMClassLoader methods...
* java/lang/natVMClassLoader.cc: ...here.  New file.
* Makefile.in: Rebuilt.
* Makefile.am (nat_source_files): Added natVMClassLoader.cc.

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

17 years ago * MAINTAINERS: Remove entries without email address.
reichelt [Fri, 16 Jan 2004 23:27:12 +0000 (23:27 +0000)]
* MAINTAINERS: Remove entries without email address.

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

17 years ago2004-01-16 Eric Christopher <echristo@redhat.com>
echristo [Fri, 16 Jan 2004 22:37:49 +0000 (22:37 +0000)]
2004-01-16  Eric Christopher  <echristo@redhat.com>
    Chandrakala Chavva <cchavva@redhat.com>

* cppcharset.c (one_iso88591_to_utf8): New function.
(convert_iso88591_utf8): Ditto. Use.
(conversion_tab): Use.
(_cpp_input_to_utf8): New function.
(_cpp_init_iconv_buffer): Ditto.
(_cpp_close_iconv_buffer): Ditto.
* cpphash.h: Prototype new functions.
(cpp_buffer): Add input_cset_desc.
* cppinit.c: Add input_charset default.
* cpplib.c (cpp_push_buffer): Support init and
close of iconv.
* cpplib.h (cpp_options): Add input_charset.

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

17 years ago * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
fnasser [Fri, 16 Jan 2004 22:30:11 +0000 (22:30 +0000)]
    * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
        Discard GDK_ENTER_NOTIFY related to ungrabs.

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

17 years ago * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
fnasser [Fri, 16 Jan 2004 22:26:49 +0000 (22:26 +0000)]
    * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
        is called for an intermediate queue.

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

17 years ago2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Fri, 16 Jan 2004 21:55:21 +0000 (21:55 +0000)]
2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>

* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(window_property_changed_cb): Set id_set.

Also: re-indent kho's latest ChangeLog entry.

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

17 years ago gcc/
kazu [Fri, 16 Jan 2004 21:19:07 +0000 (21:19 +0000)]
gcc/
* system.h (ASM_OUTPUT_SECTION_NAME): Poison.
* config/alpha/unicosmk.h: Remove a commented-out definition
of ASM_OUTPUT_SECTION_NAME.
* config/stormy16/stormy16.h: Likewise.

gcc/ada/
* Make-lang.in (utils.o): Depend on target.h.
* utils.c: Include target.h.
(process_attributes): Use targetm.have_named_sections instead
of ASM_OUTPUT_SECTION_NAME.

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

17 years ago * fixinc/inclhack.def (alpha___extern_prefix): Renamed to ...
ro [Fri, 16 Jan 2004 20:58:27 +0000 (20:58 +0000)]
* fixinc/inclhack.def (alpha___extern_prefix): Renamed to ...
(alpha___extern_prefix_sys_stat): ... this.
Apply to <sys/mount.h>, too.
Tweak to match more variations.
* fixinc/tests/base/sys/stat.h: Adapt for new hackname.

* fixinc/inclhack.def (alpha___extern_prefix,
alpha___extern_prefix_standards): New hacks to obey
  __PRAGMA_EXTERN_PREFIX.
* fixinc/tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: New
test.
* fixinc/tests/base/standards.h: Likewise.

* fixincl/inclhack.def (alpha_pthread): Tweak to match more
variations.
New testcase.
* fixinc/tests/base/pthread.h: Handle it.

* fixincl/inclhack.def (bad_lval): Sort file list.
Add many missing files up to Tru64 UNIX V5.1B.
* gcc/fixinc/tests/base/libgen.h: Renamed to ...
* gcc/fixinc/tests/base/dirent.h: ... this to match new file list
order.

* fixinc/fixincl.x: Regenerate.

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