OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago * config.gcc: Add an i386/sysv4-cpp.h. Remove i386-aout.h from
neil [Sun, 16 Jun 2002 21:13:11 +0000 (21:13 +0000)]
* config.gcc: Add an i386/sysv4-cpp.h.  Remove i386-aout.h from
vxworks.
config/i386:
* i386-aout.h, i386elf.h, sysv4.h: Remove CPP_PREDEFINES.
* linux64.h: Use TARGET_OS_CPP_BUILTINS rather than
CPP_PREDEFINES and part of CPP_SPEC.
i386elf.h, mach.h, netware.h, rtemself.h, sco5.h, sol2.h,
vsta.h, vxi386.h, win32.h: Similarly.
* sysv4-cpp.h: New.

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

21 years ago2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
tromey [Sun, 16 Jun 2002 20:55:56 +0000 (20:55 +0000)]
2002-06-16  Nathanael Nerode  <neroden@twcny.rr.com>

* java/rmi/AccessException.java: Remerge from Classpath.
* java/rmi/AlreadyBoundException.java: Ditto.
* java/rmi/ConnectException.java: Ditto.
* java/rmi/ConnectIOException.java: Ditto.
* java/rmi/MarshalException.java: Ditto.
* java/rmi/NoSuchObjectException.java: Ditto.
* java/rmi/NotBoundException.java: Ditto.
* java/rmi/RemoteException.java: Ditto.
* java/rmi/RMISecurityException.java: Ditto.
* java/rmi/ServerError.java: Ditto.
* java/rmi/ServerException.java: Ditto.
* java/rmi/ServerRuntimeException.java: Ditto.
* java/rmi/StubNotFoundException.java: Ditto.
* java/rmi/UnexpectedExcpetion.java: Ditto.
* java/rmi/UnknownHostException.java: Ditto.
* java/rmi/UnmarshalException.java: Ditto.

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

21 years agoMark pr.
rth [Sun, 16 Jun 2002 20:24:36 +0000 (20:24 +0000)]
Mark pr.

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

21 years ago * dwarf2out.c (modified_type_die): Don't assign the qualified die
rth [Sun, 16 Jun 2002 20:24:00 +0000 (20:24 +0000)]
    * dwarf2out.c (modified_type_die): Don't assign the qualified die
        to the unqualified type.

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

21 years ago * i386-protos.h (x86_field_alignment): Declare.
hubicka [Sun, 16 Jun 2002 20:18:25 +0000 (20:18 +0000)]
* i386-protos.h (x86_field_alignment): Declare.
* i386.c (x86_field_alignment): Define.
* i386.h (ADJUST_FIELD_ALIGNMENT): New.
(BIGGEST_FIELD_ALIGNMENT): Kill.

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

21 years ago * vax.md (casesi): Use emit_jump_insn. Tidy expander pattern.
rth [Sun, 16 Jun 2002 19:41:11 +0000 (19:41 +0000)]
    * vax.md (casesi): Use emit_jump_insn.  Tidy expander pattern.

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

21 years ago * emit-rtl.c (gen_rtx_REG): Temporarily turn off automatic
law [Sun, 16 Jun 2002 19:31:01 +0000 (19:31 +0000)]
    * emit-rtl.c (gen_rtx_REG): Temporarily turn off automatic
        sharing of hard registers.

        * toplev.c (rest_of_compilation): Remove redundant conditional.

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

21 years ago * c-common.c (flag_ms_extensions): Move from c++ front end.
rth [Sun, 16 Jun 2002 19:09:30 +0000 (19:09 +0000)]
    * c-common.c (flag_ms_extensions): Move from c++ front end.
        * c-common.h (flag_ms_extensions): Declare.
        * c-decl.c (c_decode_option): Add -fms-extensions.
        (grokfield): Don't accept anonymous structures in ISO C mode;
        accept only unnamed anonymous structures in GNU C mode; accept
        Plan 9 extensions in MS mode.
        * c-parse.in (SAVE_EXT_FLAGS, RESTORE_EXT_FLAGS): Rename from
        SAVE/RESTORE_WARN_FLAGS; add flag_iso frobbing; update all callers.
        (extension): Clear flag_iso.
        * doc/invoke.texi (C Dialect Options): Add -fms-extensions.

        * cp-tree.h, decl2.c (flag_ms_extensions): Move to c-common.

        * g++.dg/ext/anon-struct1.C: New.
        * g++.dg/ext/anon-struct2.C: New.
        * g++.dg/ext/anon-struct3.C: New.
        * gcc.dg/anon-struct-1.c: New.
        * gcc.dg/anon-struct-2.c: New.
        * gcc.dg/anon-struct-3.c: New.
        * gcc.dg/20011008-1.c: Adjust warning text.
        * gcc.dg/20020527-1.c: Add -fms-extensions.

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

21 years ago * gcc.dg/20020531-1.c: Add LL specifier to avoid warning.
rth [Sun, 16 Jun 2002 18:56:12 +0000 (18:56 +0000)]
    * gcc.dg/20020531-1.c: Add LL specifier to avoid warning.

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

21 years ago PR target/7042
hp [Sun, 16 Jun 2002 18:54:43 +0000 (18:54 +0000)]
PR target/7042
* reorg.c (make_return_insns) [DELAY_SLOTS_FOR_EPILOGUE]: Exit
early if current_function_epilogue_delay_list is non-empty.
* config/cris/cris.md ("return"): Add sanity check asserting that
current_function_epilogue_delay_list is empty.

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

21 years ago * toplev.c (rest_of_compilation): Perform a simpler, less costly
law [Sun, 16 Jun 2002 15:50:12 +0000 (15:50 +0000)]
    * toplev.c (rest_of_compilation): Perform a simpler, less costly
        cleanup of the CFG when not optimizing.

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

21 years ago2002-06-16 Phil Edwards <pme@gcc.gnu.org>
pme [Sun, 16 Jun 2002 11:29:53 +0000 (11:29 +0000)]
2002-06-16  Phil Edwards  <pme@gcc.gnu.org>

* docs/doxygen/TODO:  Update.
* docs/doxygen/tables.html:  Uncomment magical middle column.
* docs/doxygen/user.cfg.in:  Kludge to ignore function-like macros.
* include/bits/stl_queue.h:  Doxygenate and reformat.
* include/bits/ios_base.h, include/std/std_streambuf.h:  Add comment
for deprecated names required by the standard.

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

21 years agoDaily bump.
gccadmin [Sun, 16 Jun 2002 07:33:33 +0000 (07:33 +0000)]
Daily bump.

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

21 years ago * gcc.c (main): Correct startfile_prefix_spec check.
amodra [Sun, 16 Jun 2002 04:21:17 +0000 (04:21 +0000)]
* gcc.c (main): Correct startfile_prefix_spec check.

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

21 years ago2002-06-12 Geoffrey Keating <geoffk@redhat.com>
shebs [Sat, 15 Jun 2002 20:27:45 +0000 (20:27 +0000)]
2002-06-12  Geoffrey Keating  <geoffk@redhat.com>

        * config.gcc: Revert rth's patch of 2002-05-18.  Instead,
        include both darwin.o and rs6000-c.o.

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

21 years ago * expr.c (compare_from_rtx): Call simplify_relational_operation
sayle [Sat, 15 Jun 2002 20:21:22 +0000 (20:21 +0000)]
* expr.c (compare_from_rtx): Call simplify_relational_operation
on all comparisons, not just those between integer constants,
with the correct (possibly unsigned) comparison code.
(do_compare_rtx_and_jump): Likewise.

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

21 years ago * java/lang/AbstractMethodError.java: Re-merged with Classpath.
tromey [Sat, 15 Jun 2002 19:45:34 +0000 (19:45 +0000)]
* java/lang/AbstractMethodError.java: Re-merged with Classpath.
* java/lang/ArithmeticException.java: Likewise.
* java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
* java/lang/ArrayStoreException.java: Likewise.
* java/lang/Byte.java: Likewise.
* java/lang/CharSequence.java: Likewise.
* java/lang/ClassCastException.java: Likewise.
* java/lang/ClassCircularityError.java: Likewise.
* java/lang/ClassFormatError.java: Likewise.
* java/lang/CloneNotSupportedException.java: Likewise.
* java/lang/Cloneable.java: Likewise.
* java/lang/Comparable.java: Likewise.
* java/lang/Compiler.java: Likewise.
* java/lang/Error.java: Likewise.
* java/lang/ExceptionInInitializerError.java: Likewise.
* java/lang/IllegalAccessError.java: Likewise.
* java/lang/IllegalAccessException.java: Likewise.
* java/lang/IllegalArgumentException.java: Likewise.
* java/lang/IllegalMonitorStateException.java: Likewise.
* java/lang/IllegalStateException.java: Likewise.
* java/lang/IllegalThreadStateException.java: Likewise.
* java/lang/IncompatibleClassChangeError.java: Likewise.
* java/lang/IndexOutOfBoundsException.java: Likewise.
* java/lang/InheritableThreadLocal.java: Likewise.
* java/lang/InstantiationError.java: Likewise.
* java/lang/InstantiationException.java: Likewise.
* java/lang/InternalError.java: Likewise.
* java/lang/InterruptedException.java: Likewise.
* java/lang/LinkageError.java: Likewise.
* java/lang/NegativeArraySizeException.java: Likewise.
* java/lang/NoClassDefFoundError.java: Likewise.
* java/lang/NoSuchFieldError.java: Likewise.
* java/lang/NoSuchFieldException.java: Likewise.
* java/lang/NoSuchMethodError.java: Likewise.
* java/lang/NoSuchMethodException.java: Likewise.
* java/lang/NullPointerException.java: Likewise.
* java/lang/NumberFormatException.java: Likewise.
* java/lang/OutOfMemoryError.java: Likewise.
* java/lang/Process.java: Likewise.
* java/lang/Runnable.java: Likewise.
* java/lang/RuntimePermission.java: Likewise.
* java/lang/SecurityException.java: Likewise.
* java/lang/Short.java: Likewise.
* java/lang/StackOverflowError.java: Likewise.
* java/lang/StringIndexOutOfBoundsException.java: Likewise.
* java/lang/ThreadDeath.java: Likewise.
* java/lang/ThreadLocal.java: Likewise.
* java/lang/UnknownError.java: Likewise.
* java/lang/UnsatisfiedLinkError.java: Likewise.
* java/lang/UnsupportedClassVersionError.java: Likewise.
* java/lang/UnsupportedOperationException.java: Likewise.
* java/lang/VerifyError.java: Likewise.
* java/lang/VirtualMachineError.java: Likewise.
* java/lang/reflect/InvocationTargetException.java: Likewise.
* java/net/BindException.java: Likewise.
* java/net/ConnectException.java: Likewise.
* java/net/MalformedURLException.java: Likewise.
* java/net/NoRouteToHostException.java: Likewise.
* java/net/ProtocolException.java: Likewise.
* java/net/SocketException.java: Likewise.
* java/net/UnknownHostException.java: Likewise.
* java/net/UnknownServiceException.java: Likewise.

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

21 years ago * java/io/BufferedOutputStream.java: Re-merged with Classpath.
tromey [Sat, 15 Jun 2002 18:59:15 +0000 (18:59 +0000)]
* java/io/BufferedOutputStream.java: Re-merged with Classpath.
* java/io/CharConversionException.java: Likewise.
* java/io/EOFException.java: Likewise.
* java/io/FileNotFoundException.java: Likewise.
* java/io/IOException.java: Likewise.
* java/io/InterruptedIOException.java: Likewise.
* java/io/InvalidClassException.java: Likewise.
* java/io/InvalidObjectException.java: Likewise.
* java/io/NotActiveException.java: Likewise.
* java/io/NotSerializableException.java: Likewise.
* java/io/ObjectStreamException.java: Likewise.
* java/io/ObjectStreamConstants.java: Likewise.
* java/io/OptionalDataException.java: Likewise.
* java/io/PipedInputStream.java: Likewise.
* java/io/PushbackInputStream.java: Likewise.
* java/io/StreamCorruptedException.java: Likewise.
* java/io/SyncFailedException.java: Likewise.
* java/io/UTFDataFormatException.java: Likewise.
* java/io/UnsupportedEncodingException.java: Likewise.
* java/io/WriteAbortedException.java: Likewise.

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

21 years ago2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
tromey [Sat, 15 Jun 2002 18:38:00 +0000 (18:38 +0000)]
2002-06-15  Nathanael Nerode  <neroden@twcny.rr.com>

* java/text/ChoiceFormat.java: Update comments from Classpath.
* java/text/ParseException.java (serialVersionUID): New
field from Classpath.
* java/text/ParseException.java: Update formatting & comments
from Classpath.

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

21 years ago * java/util/zip/InflaterInputStream.java (read): Loop if data has
tromey [Sat, 15 Jun 2002 18:31:13 +0000 (18:31 +0000)]
* java/util/zip/InflaterInputStream.java (read): Loop if data has
been read but none output by inflater.
* java/util/zip/natDeflater.cc (reset): Set is_finished.
* java/util/zip/natInflater.cc (reset): Set dist_needed and
is_finished.
* java/util/zip/ZipOutputStream.java: Replaced with Classpath
version.
* java/util/zip/ZipFile.java: Replaced with Classpath version.
* java/util/zip/ZipEntry.java: Replaced with Classpath version.
* java/util/zip/ZipInputStream.java: Replaced with Classpath
version.
* java/util/zip/ZipConstants.java: Replaced with Classpath version.

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

21 years ago * gcc.c-torture/execute/20020615-1.c: New test.
hp [Sat, 15 Jun 2002 18:14:50 +0000 (18:14 +0000)]
* gcc.c-torture/execute/20020615-1.c: New test.

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

21 years ago * Object.m: Fix signed/unsigned warning.
ghazi [Sat, 15 Jun 2002 17:50:14 +0000 (17:50 +0000)]
* Object.m: Fix signed/unsigned warning.
* Protocol.m: Likewise.
* archive.c: Always include stdlib.h.
(objc_read_short, objc_read_unsigned_short, objc_read_int,
objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
Fix signed/unsigned warning.
(objc_write_type, objc_read_type, objc_write_types,
objc_read_types): Ensure ctype 8-bit safety.
(__objc_no_write, __objc_no_read): Mark unused parameters.
* class.c (class_table_setup): Specify void arg.
* encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
objc_skip_typespec, objc_skip_offset,
objc_layout_structure_next_member): Ensure ctype 8-bit safety.
(objc_layout_structure_next_member): Ensure variables are
initialized.
* gc.c (__objc_generate_gc_type_description,
class_ivar_set_gcinvisible): Mark unused parameters.
* init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
unused parameters.
(__objc_init_protocols) Fix signed/unsigned warning.
* nil_method.c (nil_method): Mark unused parameters.
* thr.h (objc_thread_callback): Specify void arg.
* sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
signed/unsigned warning.
(sarray_free): Fix formatting.
* selector.c (sel_types_match): Ensure ctype 8-bit safety.
* sendmsg.c (__objc_init_install_dtable) Mark unused parameters.

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

21 years ago * Makefile.in (tm_defines): New configuration variable.
danglin [Sat, 15 Jun 2002 17:31:32 +0000 (17:31 +0000)]
* Makefile.in (tm_defines): New configuration variable.
(cs-config.h, cs-hconfig.h, cs-tconfig.h): Rename DEFINES to XM_DEFINES.
Pass tm_defines in TM_DEFINES.
(cs-tm_p.h): Rename DEFINES to XM_DEFINES.  Pass TM_DEFINES.
* config.gcc (tm_defines): New configuration variable.
(hppa*-*-* | parisc*-*-*): Use tm_defines instead of pa-700.h and
pa-7100.h headers.  Change hppa1* scheduling default to 7100LC.
* configure.in: Substitute tm_defines.
* configure: Rebuilt.
* mkconfig.sh: Rename DEFINES to XM_DEFINES.  Output TM_DEFINES.
* doc/install.texi: Update.
* pa/pa-700.h: Delete file.
* pa/pa-7100.h: Delete file.

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

21 years ago * fold-const.c (comparison_to_compcode): New function to convert
sayle [Sat, 15 Jun 2002 16:55:24 +0000 (16:55 +0000)]
* fold-const.c (comparison_to_compcode): New function to convert
an comparison TREE CODE into a bit-based representation.
(compcode_to_comparison): New function to convert from this bit
based representation back to a comparison TREE CODE.
(fold_truthop): Simplify (x<y) && (x==y) and related composite
comparisons.

* gcc.c-tortuture/execute/compare-1.c: New test case.
* gcc.c-tortuture/execute/compare-2.c: New test case.
* gcc.c-tortuture/execute/compare-3.c: New test case.

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

21 years ago * cp-tree.h (compiler_error): Remove declaration.
gdr [Sat, 15 Jun 2002 12:38:04 +0000 (12:38 +0000)]
    * cp-tree.h (compiler_error): Remove declaration.
        * lex.c (compiler_error): Remove definition.

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

21 years ago2002-06-15 Aldy Hernandez <aldyh@redhat.com>
aldyh [Sat, 15 Jun 2002 09:41:13 +0000 (09:41 +0000)]
2002-06-15  Aldy Hernandez  <aldyh@redhat.com>

        * tm.texi (MEMBER_TYPE_FORCES_BLK): Document MODE argument.

        * stor-layout.c (compute_record_mode): Remove check for
        FUNCTION_ARG_REG_LITTLE_ENDIAN and VOIDmode when checking for
        MEMBER_TYPE_FORCES_BLK.  Pass new mode field to
        MEMBER_TYPE_FORCES_BLK.

        * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Same.

        * config/c4x/c4x.h (MEMBER_TYPE_FORCES_BLK): Same.

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

21 years agoDaily bump.
gccadmin [Sat, 15 Jun 2002 07:17:26 +0000 (07:17 +0000)]
Daily bump.

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

21 years ago * config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add SPARC_STACK_BIAS.
rth [Sat, 15 Jun 2002 01:20:03 +0000 (01:20 +0000)]
    * config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add SPARC_STACK_BIAS.

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

21 years ago * configure.in (USE_UNWIND_EXCEPTIONS): Add support to set
rth [Sat, 15 Jun 2002 01:16:28 +0000 (01:16 +0000)]
    * configure.in (USE_UNWIND_EXCEPTIONS): Add support to set
        USE_UNWIND_EXCEPTIONS if --enable-libunwind-exceptions is set.
        * configure, config.in: Regenerate.

        * g++spec.c (LIBUNWIND): New.
        (lang_specific_driver): Add it if USE_UNWIND_EXCEPTIONS is set.

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

21 years ago * loop.c (check_final_value): Use v->always_executed
rth [Sat, 15 Jun 2002 01:10:49 +0000 (01:10 +0000)]
* loop.c (check_final_value): Use v->always_executed
instead of v->always_computable.
* unroll.c (final_giv_value): Don't calculate the final
value as a function of the biv if the giv is not computed
for every loop iteration.

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

21 years ago * loop.c (for_each_insn_in_loop): Fix formatting and comments.
rth [Sat, 15 Jun 2002 00:47:53 +0000 (00:47 +0000)]
    * loop.c (for_each_insn_in_loop): Fix formatting and comments.

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

21 years agoNew.
rth [Sat, 15 Jun 2002 00:43:20 +0000 (00:43 +0000)]
New.

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

21 years agoMark pr last change.
rth [Sat, 15 Jun 2002 00:42:52 +0000 (00:42 +0000)]
Mark pr last change.

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

21 years ago * convert.c (convert_to_integer) [LSHIFT_EXPR]: Don't pass
rth [Sat, 15 Jun 2002 00:40:49 +0000 (00:40 +0000)]
* convert.c (convert_to_integer) [LSHIFT_EXPR]: Don't pass
the truncation down when the target type is signed.
[trunc1]: Use unsigned arithmetic for LSHIFT_EXPR.
* fold-const.c (extract_muldiv) [NOP_EXPR]: Don't pass through
the conversion if the target type is a smaller type.

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

21 years ago * fold-const.c (fold) [compare ops]: Move X>=C / X<C transfomation
rth [Sat, 15 Jun 2002 00:06:18 +0000 (00:06 +0000)]
    * fold-const.c (fold) [compare ops]: Move X>=C / X<C transfomation
        earlier.  Re-factor comparisons vs extrema.

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

21 years ago * config/alpha/alpha.md (builtin_zapnot): Fix op2 mode.
rth [Fri, 14 Jun 2002 20:26:23 +0000 (20:26 +0000)]
    * config/alpha/alpha.md (builtin_zapnot): Fix op2 mode.

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

21 years agoRemove bogus ChangeLog entry that snuck in during last commit:
echristo [Fri, 14 Jun 2002 19:12:54 +0000 (19:12 +0000)]
Remove bogus ChangeLog entry that snuck in during last commit:

2002-06-12  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.md (prefetch, prefetch_di, prefetch_si): New
patterns.
* config/mips/mips.h (RTX_COSTS): Fix formatting.

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

21 years ago 2002-06-14 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Fri, 14 Jun 2002 18:58:10 +0000 (18:58 +0000)]
2002-06-14  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* rtl.h (SCHED_GROUP_P): Disallow CODE_LABEL, BARRIER and NOTE.
* sched-deps.c (add_dependence): Likewise.
(group_leader): Likewise.
* sched-rgn.c (init_ready_list): Likewise.
* doc/rtl.texi: Adjust accordingly.

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

21 years ago2002-06-14 J.T. Conklin <jtc@acorntoolworks.com>
bkoz [Fri, 14 Jun 2002 18:21:24 +0000 (18:21 +0000)]
2002-06-14  J.T. Conklin  <jtc@acorntoolworks.com>

* configure.in (target_alias): Fix.
* configure: Regenerate.
* aclocal.m4: Regenerate.

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

21 years ago * gcse.c (delete_null_pointer_checks_1): Inform caller if any
law [Fri, 14 Jun 2002 16:25:36 +0000 (16:25 +0000)]
    * gcse.c (delete_null_pointer_checks_1): Inform caller if any
        null pointer checks were eliminated.  Update prototype.
        (delete_null_pointer_checks): Similarly.
        * rtl.h (delete_null_pointer_checks): Update prototype.
        * toplev.c (rest_of_compilation): Only run cleanup_cfg if
        delete_null_pointer_checks deletes one or more null
        pointer checks.  Do not run cleanup_cfg before gcse, the
        CFG is accurate and optimized at that point..

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

21 years ago * rs6000.c (rs6000_frame_related): Avoid unwanted sharing
law [Fri, 14 Jun 2002 14:44:33 +0000 (14:44 +0000)]
    * rs6000.c (rs6000_frame_related): Avoid unwanted sharing
        of hard registers.

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

21 years ago * Makefile.in (libgcc.mk): Depend on specs.
uweigand [Fri, 14 Jun 2002 14:37:26 +0000 (14:37 +0000)]
* Makefile.in (libgcc.mk): Depend on specs.

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

21 years ago * sh.md (mulsi3): Update way how to find insns in a sequence.
amylaar [Fri, 14 Jun 2002 11:20:39 +0000 (11:20 +0000)]
* sh.md (mulsi3): Update way how to find insns in a sequence.

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

21 years agoFri Jun 14 12:04:02 2002 Dhananjay R. Deshpande <dhananjayd@kpit.com>
amylaar [Fri, 14 Jun 2002 11:06:38 +0000 (11:06 +0000)]
Fri Jun 14 12:04:02 2002  Dhananjay R. Deshpande <dhananjayd@kpit.com>

* sh.h: Define HARD_REGNO_RENAME_OK
* sh.c: sh_hard_regno_rename_ok: New. If current function has
interrupt_handler attribute, only registers saved on stack are OK.
* sh-protos.h: Declare sh_hard_regno_rename_ok.

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

21 years ago * config/sh/sh.md (jump): Emit jump insn.
kkojima [Fri, 14 Jun 2002 09:49:18 +0000 (09:49 +0000)]
* config/sh/sh.md (jump): Emit jump insn.
(call_pcrel): Get pattern of the result of gen_call_site.
(call_value_pcrel, sibcall_pcrel, GOTaddr2picreg): Likewise.

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

21 years agoDaily bump.
gccadmin [Fri, 14 Jun 2002 07:17:41 +0000 (07:17 +0000)]
Daily bump.

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

21 years ago * cpphash.h (struct cpp_buffer): Remove saved_line_base.
neil [Fri, 14 Jun 2002 05:43:13 +0000 (05:43 +0000)]
* cpphash.h (struct cpp_buffer): Remove saved_line_base.
* cpptrad.c: Update comments.
(skip_whitespace, copy_comment): Take a new parameter.
(skip_escaped_newlines): Don't duplicate escaped newline test.
(copy_comment): Different location for CUR, decide here how
to copy / replace the comment.
(skip_whitespace): Copy whitespace.
(_cpp_overlay_buffer, _cpp_remove_overlay): Don't play with line_base.
(scan_out_logical_line): Let copy comment handle keeping or
replacing comments.
(scan_parameters, _cpp_create_trad_definition): Update.

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

21 years agopass MEM reference to find_reloads_address
alehotsky [Fri, 14 Jun 2002 01:41:53 +0000 (01:41 +0000)]
pass MEM reference to find_reloads_address

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

21 years ago * defaults.h (TARGET_VTABLE_ENTRY_ALIGN): New.
rth [Fri, 14 Jun 2002 00:50:34 +0000 (00:50 +0000)]
    * defaults.h (TARGET_VTABLE_ENTRY_ALIGN): New.
        (TARGET_VTABLE_DATA_ENTRY_DISTANCE): New.
        * doc/tm.texi: Document them.
        * config/ia64/ia64.h (TARGET_VTABLE_ENTRY_ALIGN): New.
        (TARGET_VTABLE_DATA_ENTRY_DISTANCE): New.
        (TARGET_VTABLE_USES_DESCRIPTORS): 4 word descriptors for 32-bit mode.
        (ASM_OUTPUT_FDESC): Likewise.

        * class.c (build_vtable): Use TARGET_VTABLE_ENTRY_ALIGN.
        (build_vtbl_initializer): Honor TARGET_VTABLE_DATA_ENTRY_DISTANCE.
        (build_vbase_offset_vtbl_entries): Likewise.
        * rtti.c (build_headof): Likewise.
        (get_tinfo_decl_dynamic): Likewise.
        (create_pseudo_type_info): Likewise.

        * g++.old-deja/g++.abi/vtable2.C (INC_VDATA): New.  Define for
        ia64 ilp32.

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

21 years ago2002-06-13 Eric Christopher <echristo@redhat.com>
echristo [Thu, 13 Jun 2002 23:31:56 +0000 (23:31 +0000)]
2002-06-13  Eric Christopher  <echristo@redhat.com>

* diagnostic.c (output_format): Fix thinko.

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

21 years ago * config/sh/coff.h (HAS_INIT_SECTION, INVOKE__MAIN): Don't define.
amylaar [Thu, 13 Jun 2002 21:36:32 +0000 (21:36 +0000)]
* config/sh/coff.h (HAS_INIT_SECTION, INVOKE__MAIN): Don't define.
(DWARF2_UNWIND_INFO): Define to 0.

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

21 years ago * config/sh/sh.c (calc_live_regs): Don't use initial_value
amylaar [Thu, 13 Jun 2002 21:31:58 +0000 (21:31 +0000)]
* config/sh/sh.c (calc_live_regs): Don't use initial_value
optimization for PR_MEDIA_REG.

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

21 years ago * cpphash.h (_cpp_lex_identifier_trad): Remove.
neil [Thu, 13 Jun 2002 21:16:00 +0000 (21:16 +0000)]
* cpphash.h (_cpp_lex_identifier_trad): Remove.
* cpplib.c (end_directive): Don't skip, always remove overlay
apart from #define.
(prepare_directive_trad): Handle NULL pfile->directive.
(_cpp_handle_directive): Always call prepare_directive_trad
if traditional.
* cppmain.c (check_multiline_token): Rename account_for_newlines,
generalize inputs.
(scan_translation_unit_trad): Use it.
* cpptrad.c (skip_comment): Rename copy_comment, copy comment to
output, get escaped newline in comment close correct.
(check_output_buffer, skip_whitespace): Update.
(_cpp_lex_identifier_trad): Remove.
(scan_out_logical_line): Handle -C and comments in directives
properly.

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

21 years agoIndividual processor configurations for sh-elf / sh-linux:
amylaar [Thu, 13 Jun 2002 19:23:28 +0000 (19:23 +0000)]
Individual processor configurations for sh-elf / sh-linux:

gcc:
* config.gcc: Add support for sh[234]*-*-elf*, sh[2346lbe]*-*-linux*.
* config/sh/linux.h (TARGET_DEFAULT): Use TARGET_CPU_DEFAULT.
* sh.h (SELECT_SH1, SELECT_SH2, SELECT_SH3, SELECT_SH3E): New macros.
(SELECT_SH4_NOFPU, SELECT_SH4_SINGLE_ONLY, SELECT_SH4): Likewise.
(SELECT_SH4_SINGLE, SELECT_SH5_64, SELECT_SH5_64_NOFPU): Likewise.
(SELECT_SH5_32, SELECT_SH5_32_NOFPU, SELECT_SH5_COMPACT): Likewise.
(SELECT_SH5_COMPACT_NOFPU): Likewise.
(TARGET_SWITCHES): Use them.
(TARGET_CPU_DEFAULT): Define if not already defined.
(TARGET_DEFAULT): Use it.
(LINK_DEFAULT_CPU_EMUL): Value now depends on TARGET_CPU_DEFAULT.
* config/sh/t-linux (MULTILIB_OPTIONS): Use MULTILIB_ENDIAN.
* config/sh/t-monolib: New file.

bfd:
config.bfd: Add support for sh[1234]l*-*-elf* | sh3el*-*-elf*,
sh[1234]*-elf*.

ld:
* configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf.

Still outstanding:
config.sub:
* config.sub: Add support for sh[12], sh3e, sh[1234]le, sh3ele,
shle, sh[1234]le, sh3ele, sh64le.

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

21 years ago * java/lang/natString.cc (init): Handle case where DONT_COPY is
tromey [Thu, 13 Jun 2002 18:16:26 +0000 (18:16 +0000)]
* java/lang/natString.cc (init): Handle case where DONT_COPY is
true and OFFSET!=0.
* java/lang/String.java (String(char[],int,int,boolean): New
constructor.
* java/lang/Long.java: Imported new version from Classpath.
* java/lang/Number.java: Likewise.
* java/lang/Integer.java: Likewise.
* java/lang/Long.java: Likewise.
* java/lang/Float.java: Likewise.
* java/lang/Boolean.java: Likewise.
* java/lang/Double.java: Likewise.
* java/lang/Void.java: Likewise.

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

21 years ago * lib/libjava.exp (test_libjava): Fixed typo.
tromey [Thu, 13 Jun 2002 17:34:49 +0000 (17:34 +0000)]
* lib/libjava.exp (test_libjava): Fixed typo.
* libjava.compile/PR6865.xfail: New file.

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

21 years ago * toplev.c (rest_of_compilation): Simplify (and correct) the
law [Thu, 13 Jun 2002 17:20:01 +0000 (17:20 +0000)]
* toplev.c (rest_of_compilation): Simplify (and correct) the
logic of the first delete-null-pointer-checks pass.

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

21 years ago2002-06-13 Akim Demaille <akim@epita.fr>
tromey [Thu, 13 Jun 2002 16:46:01 +0000 (16:46 +0000)]
2002-06-13  Akim Demaille  <akim@epita.fr>

* parse.y (class_declaration, interface_declaration): Make sure
all their rules have an action, in order to avoid meaningless `$$
= $1' and their type clashes.

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

21 years ago * i386.c (ix86_expand_movstr): Fix pasto.
hubicka [Thu, 13 Jun 2002 16:25:51 +0000 (16:25 +0000)]
* i386.c (ix86_expand_movstr):  Fix pasto.

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

21 years ago * reload.c (find_valid_class): Fix thinko in my previous patch.
hubicka [Thu, 13 Jun 2002 16:20:02 +0000 (16:20 +0000)]
* reload.c (find_valid_class):  Fix thinko in my previous patch.

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

21 years ago * emit-rtl.c (static_regno_reg_rtx): Define.
law [Thu, 13 Jun 2002 16:14:55 +0000 (16:14 +0000)]
    * emit-rtl.c (static_regno_reg_rtx): Define.
        (init_emit_once): Initialize static_regno_reg_rtx.
        (init_emit): Copy static_regno_reg_rtx into regno_reg_rtx instead
        of building new hard reg objects once per function.
        (gen_rtx_REG): Try to share hard regs.
* regclass.c (init_fake_stack_mems): New function broken out from
init_regs.
* rtl.h (init_fake_stack_mems): Declare.
* toplev.c (lang_independent_init): Call init_regs before
init_emit_once.  Call init_fake_stack_mems after init_emit_once.

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

21 years ago * config/s390/s390.h (TARGET_CPU_CPP_BUILTINS): New macro.
uweigand [Thu, 13 Jun 2002 15:55:10 +0000 (15:55 +0000)]
* config/s390/s390.h (TARGET_CPU_CPP_BUILTINS): New macro.
* config/s390/linux.h (TARGET_OS_CPP_BUILTINS): New macro.
(CPP_PREDEFINES, CPP_SPEC, CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): Remove.
(EXTRA_SPECS): Remove cpp_arch31 and cpp_arch64.

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

21 years ago * tree-inline.c (expand_call_inline): Don' mess with _DECL
gdr [Thu, 13 Jun 2002 15:32:40 +0000 (15:32 +0000)]
    * tree-inline.c (expand_call_inline): Don' mess with _DECL
        fields.

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

21 years ago * diagnostic.c (output_format): Recognize "%H" as a format
gdr [Thu, 13 Jun 2002 12:40:54 +0000 (12:40 +0000)]
* diagnostic.c (output_format): Recognize "%H" as a format
specifier for a location_t.
(text_specifies_location): New function.
(diagnostic_set_info): Use it.

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

21 years ago * i386.md (extenddfxf2, extenddftf2): Fix typo/thinko.
law [Thu, 13 Jun 2002 12:27:50 +0000 (12:27 +0000)]
    * i386.md (extenddfxf2, extenddftf2): Fix typo/thinko.

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

21 years ago * alias.c (argument_registers): Remove.
law [Thu, 13 Jun 2002 12:24:00 +0000 (12:24 +0000)]
* alias.c (argument_registers): Remove.
(init_alias_once): Initialize static_reg_base_value here.  Remove
initialization of argument_registers.
(init_alias_once_per_function): Remove.
(init_alias_analysis): Copy all the entries from static_reg_base_value
into new_reg_base_value all at once.
* rtl.h (init_alias_once_per_function): Remove declaration.
* function.c (prepare_function_start): Do not call
init_alias_once_per_function.

* caller-save.c (init_caller_save): Use gen_rtx_INSN instead of
starting a sequence and emitting an INSN.

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

21 years ago * config/mips/r3900.h (MIPS_CPU_STRING_DEFAULT): Make lower case.
rsandifo [Thu, 13 Jun 2002 10:14:12 +0000 (10:14 +0000)]
* config/mips/r3900.h (MIPS_CPU_STRING_DEFAULT): Make lower case.

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

21 years ago2002-06-13 David S. Miller <davem@redhat.com>
davem [Thu, 13 Jun 2002 09:37:19 +0000 (09:37 +0000)]
2002-06-13  David S. Miller  <davem@redhat.com>

* expmed.c (init_expmed): Remove duplicate init of 'reg'.

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

21 years agoDaily bump.
gccadmin [Thu, 13 Jun 2002 07:17:30 +0000 (07:17 +0000)]
Daily bump.

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

21 years ago * cpplib.c (end_directive): Handle line skipping. Only remove
neil [Thu, 13 Jun 2002 06:25:28 +0000 (06:25 +0000)]
* cpplib.c (end_directive): Handle line skipping.  Only remove
the rest of the line if the directive was valid.
* cppmacro.c (_cpp_push_text_context): Set NODE_DISABLED when
expanding a traditional macro.
* cpptrad.c (recursive_macro): New.
(read_logical_line_trad): Handle skipping.
(scan_out_logical_line): Continue after a successful directive.
Don't expand macros whilst skipping, or if recursing.
(_cpp_create_trad_definition): scan_out_logical_line now sets
the output current position.

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

21 years ago * mpw-config.in: Remove file, no longer used.
shebs [Thu, 13 Jun 2002 04:58:57 +0000 (04:58 +0000)]
    * mpw-config.in: Remove file, no longer used.
        * mpw-make.sed: Ditto.

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

21 years ago2002-06-12 Eric Christopher <echristo@redhat.com>
echristo [Wed, 12 Jun 2002 23:26:44 +0000 (23:26 +0000)]
2002-06-12  Eric Christopher  <echristo@redhat.com>

From Chris Demetriou  <cgd@broadcom.com>
* config/mips/mips.h (ISA_HAS_FP4): Add ISA_MIPS64 and fix
comment.
(ISA_HAS_MADD_MSUB): Ditto.
(ISA_HAS_NMADD_NMSUB): Ditto.

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

21 years agoMissed a file from previous check-in.
echristo [Wed, 12 Jun 2002 23:24:04 +0000 (23:24 +0000)]
Missed a file from previous check-in.

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

21 years ago2002-06-12 Eric Christopher <echristo@redhat.com>
echristo [Wed, 12 Jun 2002 23:12:25 +0000 (23:12 +0000)]
2002-06-12  Eric Christopher  <echristo@redhat.com>

* config.gcc: Consolidate little endian handling and
little/big endian targets.
* config/mips/elfl.h: Remove file.
* config/mips/elfl64.h: Ditto.
* config/mips/ecoffl.h: Ditto.
* config/mips/r3900.h (SUBTARGET_CPP_SPEC): Remove.

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

21 years ago * gengtype.h (xvasprintf): New prototype.
geoffk [Wed, 12 Jun 2002 22:57:45 +0000 (22:57 +0000)]
* gengtype.h (xvasprintf): New prototype.
(xasprintf): New prototype.
(struct outf): New.
(get_output_file): Return an outf_p.
(header_file): Is now an outf_p.
(base_files): Now are outf_p.
(oprintf): New.
* gengtype.c: Replace all output FILE * with outf_p; use oprintf
rather than stdio operations.  Use xasprintf in a few places,
when appropriate.
(xvasprintf): New.
(xasprintf): New.
(struct filemap): Delete.
(files): Delete.
(output_files): New.
(oprintf): New.
(create_file): Create an outf_p.  Add parameter to indicate output
file name, change all callers.
(open_base_files): Create gtype-desc.c here.
(get_output_file_with_visibility): Rewrite.
(get_output_file_name): Just look at 'name' field in struct outf.
(close_output_files): Rewrite.

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

21 years ago2002-06-12 Phil Edwards <pme@gcc.gnu.org>
pme [Wed, 12 Jun 2002 22:07:53 +0000 (22:07 +0000)]
2002-06-12  Phil Edwards  <pme@gcc.gnu.org>

* include/Makefile.am:  Add new files.
* include/Makefile.in:  Regenerate.

* include/bits/stl_deque.h, include/bits/stl_list.h,
include/bits/stl_vector.h:  Clean up, reformat.  Move definitions...
* include/bits/deque.tcc, include/bits/list.tcc,
include/bits/vector.tcc:  ...to here.  New files.

* include/ext/stl_hashtable.h:  Inclide correct full headers.
* include/std/std_deque.h:  Include .tcc files for now.
* include/std/std_list.h:  Likewise.
* include/std/std_vector.h:  Likewise.

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

21 years ago* config/vax/vax.h (MASK_UNIX_ASM, MASK_VAXC_ALIGNMENT)
thorpej [Wed, 12 Jun 2002 18:17:53 +0000 (18:17 +0000)]
* config/vax/vax.h (MASK_UNIX_ASM, MASK_VAXC_ALIGNMENT)
(MASK_G_FLOAT): Define.
(TARGET_UNIX_ASM, TARGET_VAXC_ALIGNMENT, TARGET_G_FLOAT): Use them.
(TARGET_SWITCHES): Likewise.
(TARGET_DEFAULT): Likewise.

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

21 years ago * config/mips/elf.h (DWARF2_DEBUG_INFO): Define.
rth [Wed, 12 Jun 2002 18:07:32 +0000 (18:07 +0000)]
    * config/mips/elf.h (DWARF2_DEBUG_INFO): Define.
        * config/mips/mips.c (mips_output_filename): Don't print a
        ".file" directive if we are using DWARF-2.
        (mips_output_function_prologue): Do not emit source file
        name for TARGET_GAS.

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

21 years ago * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
tromey [Wed, 12 Jun 2002 17:01:02 +0000 (17:01 +0000)]
* java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
Fixes PR libgcj/6652.

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

21 years ago * g++.dg/template/typename2.C: Update error message.
lerdsuwa [Wed, 12 Jun 2002 15:36:55 +0000 (15:36 +0000)]
* g++.dg/template/typename2.C: Update error message.

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

21 years ago * i386.md (shift patterns): Use (TARGET_SHIFT1 || optimize_size) to
hubicka [Wed, 12 Jun 2002 14:51:09 +0000 (14:51 +0000)]
* i386.md (shift patterns): Use (TARGET_SHIFT1 || optimize_size) to
decide whether emit the short opcode.
* i386.h (x86_shift1): Declare.
(TARGET_SHIFT1): New macro.
* i386.c (x86_shift1): New global variable.

* toplev.c (rest_of_compilation): Call find_basic_block pre-loop unconditionally;
make loop to rebuild CFG; kill unnecesary find_basic_block calls;
kill compute_bb_for_insn call.
* cfgbuild.c (find_basic_blocks): Kill compute_bb_for_insn call.
* haifa-sched.c (sched_init): Likewise.
* ssa-ccp.c (ssa_const_prop): Likewise.
* ssa-dce.c (ssa_eliminate_dead_code): Likewise.

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

21 years ago* Makefile.am: Add FLAGS_TO_PASS.
aoliva [Wed, 12 Jun 2002 11:29:14 +0000 (11:29 +0000)]
* Makefile.am: Add FLAGS_TO_PASS.
* Makefile.in: Regenerated.

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

21 years agoDaily bump.
gccadmin [Wed, 12 Jun 2002 07:18:32 +0000 (07:18 +0000)]
Daily bump.

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

21 years ago2002-06-11 David S. Miller <davem@redhat.com>
davem [Wed, 12 Jun 2002 06:14:03 +0000 (06:14 +0000)]
2002-06-11  David S. Miller  <davem@redhat.com>

* emit-rtl.c (emit_*_scope): Only access INSN_SCOPE if
active_insn_p.

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

21 years ago * c-common.c (builtin_define_type_max): New.
rth [Wed, 12 Jun 2002 03:06:30 +0000 (03:06 +0000)]
    * c-common.c (builtin_define_type_max): New.
        (cb_register_builtins): Define __SCHAR_MAX__, __SHRT_MAX__,
        __INT_MAX__, __LONG_MAX__, __LONG_LONG_MAX__, __CHAR_BIT__.

        From Joseph S. Myers:
        * glimits.h: Rewrite to expect the double underscore definitions
        from the compiler.

        * config/alpha/unicosmk.h, config/avr/avr.h, config/h8300/h8300.h,
        config/i386/linux64.h, config/ia64/aix.h, config/ia64/hpux.h,
        config/ia64/ia64.h, config/m68hc11/m68hc11.h, config/m68hc11/m68hc12.h,
        config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
        config/pa/pa.h, config/rs6000/aix43.h, config/rs6000/aix51.h,
        config/rs6000/linux64.h, config/s390/linux.h, config/sh/sh.h,
        config/stormy16/stormy16.h: Don't define any of __SHRT_MAX__,
        __INT_MAX__, __LONG_MAX__, or __LONG_LONG_MAX__.

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

21 years ago * config/alpha/alpha.c (ALPHA_BUILTIN_THREAD_POINTER): New.
rth [Wed, 12 Jun 2002 02:57:02 +0000 (02:57 +0000)]
    * config/alpha/alpha.c (ALPHA_BUILTIN_THREAD_POINTER): New.
        (ALPHA_BUILTIN_SET_THREAD_POINTER): New.
        (code_for_builtns): Update.
        (alpha_init_builtins): Add __builtin_thread_pointer and
        __builtin_set_thread_pointer.
        (alpha_expand_builtin): Handle void builtins.
        * doc/extend.texi (Alpha Built-in Functions): Update.

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

21 years ago PR target/6997
hp [Wed, 12 Jun 2002 02:04:52 +0000 (02:04 +0000)]
PR target/6997
* config/cris/cris.md ("sleu"): Set attribute "cc" to "none".

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

21 years ago * gcc.c-torture/execute/20020611-1.c: New test.
hp [Wed, 12 Jun 2002 01:59:00 +0000 (01:59 +0000)]
* gcc.c-torture/execute/20020611-1.c: New test.

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

21 years ago * config.gcc: Make the name of the extra-modes file adjustable
zack [Wed, 12 Jun 2002 01:36:13 +0000 (01:36 +0000)]
* config.gcc: Make the name of the extra-modes file adjustable
by target stanzas.
(s390x, strongarm, xscale stanzas): Use this facility.
* configure.in: Update to match.
* configure: Regenerate.

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

21 years ago2002-06-11 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 12 Jun 2002 00:27:03 +0000 (00:27 +0000)]
2002-06-11  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (rs6000_emit_minmax): Treat unsigned
        max/mins as unsigned GE compares.

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

21 years ago* config.gcc (vax-*-bsd*): Add vax/bsd.h to ${tm_file}.
thorpej [Wed, 12 Jun 2002 00:02:07 +0000 (00:02 +0000)]
* config.gcc (vax-*-bsd*): Add vax/bsd.h to ${tm_file}.
* config/vax/bsd.h: New file.
* config/vax/netbsd.h: Add missing notice.
(CPP_PREDEFINES): Remove.
(TARGET_OS_CPP_BUILTINS): Define.
(CPP_SPEC): Use NETBSD_CPP_SPEC.
* config/vax/openbsd.h: Update copyright years.
(CPP_PREDEFINES): Remove.
(TARGET_OS_CPP_BUILTINS): Define.
* config/vax/ultrix.h: Likewise.
* config/vax/vaxv.h: Likewise.
* config/vax/vms.h: Likewise.
* config/vax/vax.h (TARGET_CPU_CPP_BUILTINS): Define.
(CPP_PREDEFINES, CPP_SPEC): Remove.

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

21 years ago * i386.md (addqi_1_slp, subqi_1_slp
hubicka [Tue, 11 Jun 2002 23:57:10 +0000 (23:57 +0000)]
* i386.md (addqi_1_slp, subqi_1_slp
(andqi_ext0, testqi_ext0): Remove unnecesary check.
(addhi*, addqi*): Simplify "dec" condition.
(testsi to testqi splitters): Remove TARGET_PROMOTE_QImode check.
(and, or, xor to QImode splitters): New.
(iorqi_ext*): New.
(xorqi_ext_0): New.
(xorqi_ext_1): Rename to xorqi_ext_2; bring to sync with and versions.
(andqi_ext_1_rex64): New.
(ashrqi*_slp): New.
(ashlqi*_slp): New.
(lshlqi*_slp): New.
(rotrqi3*_slp): New.
(rotlqi3*_slp): New.

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

21 years ago * Makefile.in (CFLAGS_FOR_TARGET): Add -O2.
ghazi [Tue, 11 Jun 2002 23:53:11 +0000 (23:53 +0000)]
* Makefile.in (CFLAGS_FOR_TARGET): Add -O2.

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

21 years ago * emit-rtl.c (try_split): Use INSN_LAST, not LAST_INSN to get the
law [Tue, 11 Jun 2002 23:51:24 +0000 (23:51 +0000)]
    * emit-rtl.c (try_split): Use INSN_LAST, not LAST_INSN to get the
        last insn created by the splitter.

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

21 years ago * config.gcc (powerpc*-*-*, rs6000-*-*-*): Don't bother including
geoffk [Tue, 11 Jun 2002 23:14:47 +0000 (23:14 +0000)]
* config.gcc (powerpc*-*-*, rs6000-*-*-*): Don't bother including
softfloat.h.
* config/rs6000/vxppc.h (CPP_ENDIAN_BIG_SPEC): Delete.
(CPP_ENDIAN_LITTLE_SPEC): Delete.
* config/rs6000/sysv4le.h (CPP_ENDIAN_DEFAULT_SPEC): Delete.
* config/rs6000/sysv4.h (CPP_SYSV_SPEC): Delete _SOFT_FLOAT setting,
__LONG_DOUBLE_128__ setting, _CALL_* setting.
(CPP_DEFAULT_SPEC): Delete.
(CPP_FLOAT_DEFAULT_SPEC): Delete.
(CPP_LONGDOUBLE_DEFAULT_SPEC): Delete.
(CPP_SYSV_DEFAULT_SPEC): Delete.
(CPP_ENDIAN_BIG_SPEC): Delete.
(CPP_ENDIAN_LITTLE_SPEC): Delete.
(CPP_ENDIAN_SPEC): Delete.
(CPP_SPEC): Don't include cpp_endian, cpp_cpu.
(SUBTARGET_EXTRA_SPECS): Delete cpp_sysv_default, cpp_endian_default,
cpp_endian, cpp_endian_big, cpp_endian_little, cpp_float_default,
cpp_longdouble_default.
* config/rs6000/softfloat.h: Delete.
* config/rs6000/rs6000.h (CPP_CPU_SPEC): Delete.
(EXTRA_SPECS): Delete cpp_cpu.
(TARGET_CPU_CPP_BUILTINS): New.
* config/rs6000/rs6000-protos.h (rs6000_cpu_cpp_builtins): New
prototype.
* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): New.
* config/rs6000/linux64.h (CPP_PREDEFINES): Remove endianness defines.
(CPP_DEFAULT_SPEC): Delete.
* config/rs6000/eabiaix.h (CPP_SYSV_DEFAULT_SPEC): Delete.
* config/rs6000/darwin.h (CPP_PREDEFINES): Don't define __BIG_ENDIAN__.
* config/rs6000/beos.h (CPP_SPEC): Remove cpp_cpu.
(CPP_DEFAULT_SPEC): Delete.
* config/rs6000/aix51.h (CPP_SPEC): Remove cpp_cpu, -D_ARCH_PPC.
(CPLUSPLUS_CPP_SPEC): Likewise.
(CPP_CPU_SPEC): Delete.
(CPP_DEFAULT_SPEC): Delete.
* config/rs6000/aix43.h (CPP_SPEC): Remove cpp_cpu, -D_ARCH_PPC.
(CPLUSPLUS_CPP_SPEC): Likewise.
(CPP_CPU_SPEC): Delete.
(CPP_DEFAULT_SPEC): Delete.
* config/rs6000/aix41.h (CPP_SPEC): Remove cpp_cpu.
(CPP_DEFAULT_SPEC): Delete.
* config/rs6000/aix.h (CPP_SPEC): Remove cpp_cpu.
(CPP_DEFAULT_SPEC): Delete.

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

21 years ago * doc/gty.texi: Small updates.
geoffk [Tue, 11 Jun 2002 23:13:20 +0000 (23:13 +0000)]
* doc/gty.texi: Small updates.

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

21 years ago * objc/objc-act.c (warn_with_ivar): Adjust calls to
gdr [Tue, 11 Jun 2002 23:11:34 +0000 (23:11 +0000)]
* objc/objc-act.c (warn_with_ivar): Adjust calls to
diagnostic_count_error.
(warn_with_method): Likewise.

* diagnostic.h (warnings_are_errors_message): New field of
diagnostic_context.
(diagnostic_count_error): Rename to
diagnostic_count_diagnostic to
match semantics.
* diagnostic.c: Adjust calls to diagnostic_count_error through
out.
(diagnostic_count_diagnostic): Make aware of other kinds of
diagnostics.
(diagnostic_initialize): Initialize
warnings_are_errors_message field.

f/
2002-06-12  Gabriel Dos Reis  <gdr@codesourcery.com>

    * bad.c (ffebad_start_): Adjust calls to
              diagnostic_count_error.

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

21 years ago * caller-save.c (init_caller_save): Move creation of SAVEINSN
law [Tue, 11 Jun 2002 23:04:15 +0000 (23:04 +0000)]
    * caller-save.c (init_caller_save): Move creation of SAVEINSN
        and RESTINSN into into the scope of the sequence.

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

21 years ago For PR java/6520:
tromey [Tue, 11 Jun 2002 22:36:53 +0000 (22:36 +0000)]
For PR java/6520:
* fold-const.c (fold_convert): Don't modify existing tree's type.

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

21 years ago * config/rs6000/ppc-asm.h: Remove some Windows NT leftovers.
geoffk [Tue, 11 Jun 2002 22:24:49 +0000 (22:24 +0000)]
* config/rs6000/ppc-asm.h: Remove some Windows NT leftovers.

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