platform/upstream/linaro-gcc.git
23 years ago * Makefile.in (STAGE2_FLAGS_TO_PASS): Remove patches which
ljrittle [Thu, 4 Oct 2001 22:11:47 +0000 (22:11 +0000)]
* Makefile.in (STAGE2_FLAGS_TO_PASS): Remove patches which
propagated HOST_CC, HOST_CFLAGS, HOST_LDFLAGS and HOST_CPPFLAGS.

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

23 years ago2001-10-04 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 4 Oct 2001 20:10:46 +0000 (20:10 +0000)]
2001-10-04  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/faq/index.html:  Describe DR #22, and a workaround.
* docs/html/faq/index.txt:  Regenerate.

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

23 years ago2001-10-04 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 4 Oct 2001 20:03:22 +0000 (20:03 +0000)]
2001-10-04  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/17_intro/COPYING.DOC:  New file, GFDL v1.1 from the FSF.
* docs/html/17_intro/license.html:  New file.  Explain the licenses
in use.

* docs/html/configopts.html:  Link to license.html.
* docs/html/documentation.html:  Likewise.
* docs/html/explanations.html:  Likewise.
* docs/html/install.html:  Likewise.
* docs/html/17_intro/howto.html:  Likewise.
* docs/html/18_support/howto.html:  Likewise.
* docs/html/19_diagnostics/howto.html:  Likewise.
* docs/html/20_util/howto.html:  Likewise.
* docs/html/21_strings/howto.html:  Likewise.
* docs/html/22_locale/howto.html:  Likewise.
* docs/html/23_containers/howto.html:  Likewise.
* docs/html/24_iterators/howto.html:  Likewise.
* docs/html/25_algorithms/howto.html:  Likewise.
* docs/html/26_numerics/howto.html:  Likewise.
* docs/html/27_io/howto.html:  Likewise.
* docs/html/ext/howto.html:  Likewise.
* docs/html/ext/sgiexts.html:  Likewise.
* docs/html/faq/index.html:  Likewise.  New question, linking to
the new license.html.

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

23 years ago2001-10-04 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 4 Oct 2001 19:54:54 +0000 (19:54 +0000)]
2001-10-04  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/17_intro/howto.html:  Fix mis-sed in header from 20010917.
* docs/html/18_support/howto.html:  Likewise.
* docs/html/19_diagnostics/howto.html:  Likewise.
* docs/html/20_util/howto.html:  Likewise.
* docs/html/21_strings/howto.html:  Likewise.
* docs/html/22_locale/howto.html:  Likewise.
* docs/html/23_containers/howto.html:  Likewise.
* docs/html/24_iterators/howto.html:  Likewise.
* docs/html/25_algorithms/howto.html:  Likewise.
* docs/html/26_numerics/howto.html:  Likewise.
* docs/html/27_io/howto.html:  Likewise.
* docs/html/ext/howto.html:  Likewise.
* docs/html/faq/index.html:  Likewise.  Spacing fix.

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

23 years ago2001-10-04 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
toon [Thu, 4 Oct 2001 19:49:54 +0000 (19:49 +0000)]
2001-10-04  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

* lib/g77.exp: set libg2c_dir correctly.

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

23 years ago * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
bosch [Thu, 4 Oct 2001 19:30:04 +0000 (19:30 +0000)]
* sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode):
Arg is int, not FILE *, in dummy version of functions.

* adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode):
Arg is int, not FILE *.

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

23 years ago * 3lsoccon.ads: Added file, missed with initial check ins.
bosch [Thu, 4 Oct 2001 17:50:42 +0000 (17:50 +0000)]
* 3lsoccon.ads: Added file, missed with initial check ins.

* 4lintnam.ads: Fix header format.
Change Linux to GNU/Linux.

* 5iosinte.adb: Change Linux to GNU/Linux.

* 5iosinte.ads: Change Linux to GNU/Linux.

* 5itaprop.adb: Change Linux to GNU/Linux.

* 5itaspri.ads: Change Linux to GNU/Linux.
Update copyright notice.

* 5lintman.adb: Change Linux to GNU/Linux.

* 5lml-tgt.adb: Change Linux to GNU/Linux.

* 5losinte.ads: Change Linux to GNU/Linux.

* 5lsystem.ads: Change Linux to GNU/Linux.

* 5qosinte.adb: Change Linux to GNU/Linux.

* 5qosinte.ads: Change Linux to GNU/Linux.

* 5qparame.ads: Change Linux to GNU/Linux.

* 5qtaprop.adb: Change Linux to GNU/Linux.

* 5qtaspri.ads: Change Linux to GNU/Linux.
Add 2001 to copyright notice.

* 5vintman.ads: Change Linux to GNU/Linux.
Fix header format.  Add 2001 to copyright notice.

* g-soccon.ads: Change Linux to GNU/Linux.

* g-trasym.ads: Change Linux to GNU/Linux.
Add 2001 to copyright notice.

* memtrack.adb: Change Linux to GNU/Linux.

* s-intman.ads: Change Linux to GNU/Linux.
Add 2001 to copyright notice.  Fix header format.

* s-stache.adb: Change Linux to GNU/Linux.

* adaint.c: Change Linux to GNU/Linux.

* cio.c: Change Linux to GNU/Linux.

* cstreams.c: Change Linux to GNU/Linux.

* init.c: Change Linux to GNU/Linux.

* gmem.c: Change Linux to GNU/Linux.

* tracebak.c: Change Linux to GNU/Linux.

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

23 years ago * doc/cppinternals.texi: Update.
neil [Thu, 4 Oct 2001 12:22:03 +0000 (12:22 +0000)]
* doc/cppinternals.texi: Update.

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

23 years ago2001-10-04 Eric Christopher <echristo@redhat.com>
echristo [Thu, 4 Oct 2001 08:38:41 +0000 (08:38 +0000)]
2001-10-04  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.c (init_cumulative_args): Remember to set
cum->prototype.
* config.gcc: Redo linux configuration. Add target_cpu_default
of soft-float to all mipsisa32 combinations and tx39.
* config/mips/linux.h: Remove include of mips.h.

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

23 years agoDaily bump.
gccadmin [Thu, 4 Oct 2001 07:38:12 +0000 (07:38 +0000)]
Daily bump.

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

23 years ago * java/io/SequenceInputStream.java: Merge with Classpath
mark [Thu, 4 Oct 2001 05:34:47 +0000 (05:34 +0000)]
* java/io/SequenceInputStream.java: Merge with Classpath
* java/io/StringBufferInputStream.java: Ditto
* java/util/Collections.java: Remerge with Classpath

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

23 years ago2001-10-03 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Thu, 4 Oct 2001 02:58:39 +0000 (02:58 +0000)]
2001-10-03  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (patch_assignment): Use lvalue's original TYPE when
building the final COMPOUND_EXPR.
(try_reference_assignconv): Fixed leading comment.

( http://gcc.gnu.org/ml/java-patches/2001-q4/msg00027.html )

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

23 years ago * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CFLAGS,
ljrittle [Thu, 4 Oct 2001 02:20:29 +0000 (02:20 +0000)]
    * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CFLAGS,
        HOST_LDFLAGS and HOST_CPPFLAGS.

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

23 years ago2001-10-03 Ziemowit Laski <zlaski@apple.com>
shebs [Wed, 3 Oct 2001 22:05:57 +0000 (22:05 +0000)]
2001-10-03  Ziemowit Laski  <zlaski@apple.com>

        * c-parse.in (objc_inherit_code, objc_pq_context,
        objc_public_flag): Make static.
        (objc_interface_context, objc_implementation_context,
        objc_method_context, objc_ivar_chain, objc_ivar_context): Move to
        global tree array in objc/objc-act.[ch].
        (methoddef): Remove unnecessary code.

        * objc/objc-act.c: (hashed_attribute, hashed_entry, imp_entry):
        Hoist struct definitions to objc-act.h.
        (nst_method_hash_list, cls_method_hash_list, imp_list, imp_count,
        cat_count): Place declaration in objc-act.h.
        (objc_tree_index): Move enumeration to objc-act.h.
        (objc_global_trees): Place declaration and macro accessors in
        objc-act.h.
        (implementation_context): Remove duplicate; use
        objc_implementation_context instead:
        (method_context): Remove duplicate; use objc_method_context
        instead.
        (objc_ellipsis_node, objc_method_prototype_template,
        implemented_classes, function_type): Move global vars to
        objc_global_trees.
        (init_objc): Use LAST_BASE_TREE_CODE instead of LAST_CODE.
        (build_message_expr): Move actual construction of ObjC message
        send nodes to finish_message_expr.
        (finish_message_expr): New routine, contains code formerly in
        build_message_expr.
        * objc/objc-act.h (finish_message_expr): New prototype.
        (objc_ivar_chain, objc_method_context, objc_ellipsis_node): Remove
        declarations; these vars are now part of objc_global_trees.
        (objc_tree_index, objc_global_trees): Move definitions from
        objc-act.c.
        * objc/objc-tree.def: Update copyright info.

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

23 years ago * include/bits/stl_threads.h (_Atomic_swap): New function.
ljrittle [Wed, 3 Oct 2001 21:19:31 +0000 (21:19 +0000)]
    * include/bits/stl_threads.h (_Atomic_swap): New function.
    (_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
    * testsuite/ext/rope.cc: New file.

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

23 years ago * java/lang/ref/natReference.cc (add_to_hash): Set n->next before
tromey [Wed, 3 Oct 2001 16:47:02 +0000 (16:47 +0000)]
* java/lang/ref/natReference.cc (add_to_hash): Set n->next before
setting *link.

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

23 years ago * dwarf2asm.c (unaligned_integer_asm_op): Abort if
wehle [Wed, 3 Oct 2001 16:23:57 +0000 (16:23 +0000)]
* dwarf2asm.c (unaligned_integer_asm_op): Abort if
op is NULL.
* sparc/sysv4.h (UNALIGNED_DOUBLE_INT_ASM_OP): Use
only if TARGET_ARCH64.

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

23 years ago * rtti.c (get_tinfo_decl): Call typeinfo_in_lib_p with the type used
danglin [Wed, 3 Oct 2001 15:18:25 +0000 (15:18 +0000)]
* rtti.c (get_tinfo_decl): Call typeinfo_in_lib_p with the type used
to build the declaration instead of the declaration itself.

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

23 years ago * gij.cc (version): Use GCJVERSION.
bryce [Wed, 3 Oct 2001 11:42:28 +0000 (11:42 +0000)]
* gij.cc (version): Use GCJVERSION.

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

23 years ago * resolve.cc (_Jv_PrepareClass): Fix typos in vtable layout.
bryce [Wed, 3 Oct 2001 07:54:34 +0000 (07:54 +0000)]
* resolve.cc (_Jv_PrepareClass): Fix typos in vtable layout.

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

23 years agoDaily bump.
gccadmin [Wed, 3 Oct 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.

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

23 years ago2001-10-03 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Wed, 3 Oct 2001 06:10:50 +0000 (06:10 +0000)]
2001-10-03  Toon Moene  <toon@moene.indiv.nluug.nl>

gcc/f/
* Make-lang.in: Remove reference to FORTRAN_INIT.
* g77spec.c: Add reference to FORTRAN_INIT.

libf2c/
* Makefile.in: Add "AR" reference, change
from frtbegin.o to libfrtbegin.a.
* libF77/Makefile.in: Ditto.

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

23 years ago * misc.c (insert_default_attributes): Add dummy version.
bosch [Tue, 2 Oct 2001 23:33:26 +0000 (23:33 +0000)]
* misc.c (insert_default_attributes): Add dummy version.

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

23 years agoFix some problems with previous checkin
bernds [Tue, 2 Oct 2001 23:15:55 +0000 (23:15 +0000)]
Fix some problems with previous checkin

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

23 years ago * MAINTAINERS (Various maintainers: Ada front end): Added myself.
billingd [Tue, 2 Oct 2001 22:57:35 +0000 (22:57 +0000)]
* MAINTAINERS (Various maintainers: Ada front end): Added myself.

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

23 years ago * Makefile.am (core_java_source_files): add InheritableThreadLocal
mark [Tue, 2 Oct 2001 22:49:59 +0000 (22:49 +0000)]
* Makefile.am (core_java_source_files): add InheritableThreadLocal
* Makefile.in: regenerate
* gcj/javaprims.h: ditto
* java/lang/InheritableThreadLocal.java: new class from Classpath
* java/lang/Thread.java Thread (Thread, ThreadGroup, Runnable, String):
call InheritableThreadLocal.newChildThread()

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

23 years ago * gcc.dg/cpp/macro11.c: New test.
neil [Tue, 2 Oct 2001 22:30:15 +0000 (22:30 +0000)]
* gcc.dg/cpp/macro11.c: New test.

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

23 years ago * MAINTAINERS (Various maintainers: Ada front end): Added myself.
bosch [Tue, 2 Oct 2001 21:32:12 +0000 (21:32 +0000)]
* MAINTAINERS (Various maintainers: Ada front end): Added myself.

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

23 years ago * Makefile.am: Add new classes
mark [Tue, 2 Oct 2001 20:59:31 +0000 (20:59 +0000)]
* Makefile.am: Add new classes
(core_java_source_files): CharSequence
(ordinary_java_source_files): Authenticator, PasswordAuthentication
* Makefile.in: regenerate
* gcj/javaprims.h: ditto
* java/lang/CharSequence: new class from Classpath
* java/lang/String.java: implements CharSequence
(subSequence (int,int)): new method
* java/lang/SubString.java: implements CharSequence
(subSequence (int,int)): new method
remerge comments with Classpath
* java/net/Authenticator.java: new class from Classpath
* java/net/PasswordAuthentication.java: ditto

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

23 years ago2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 2 Oct 2001 18:44:50 +0000 (18:44 +0000)]
2001-10-02  Benjamin Kosnik  <bkoz@redhat.com>

* config/locale/time_members_gnu.h: Remove.
* config/locale/time_members_generic.h: Remove.
* config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
* config/locale/time_members_generic.cc: Same.
* include/bits/locale_facets.h: Add data members.
(__timepunct::_M_put_helper): Change signature.
(__timepunct::_M_date_formats): Same.
(__timepunct::_M_time_formats): Same.
(__timepunct::_M_ampm): Add.
(__timepunct::_M_date_time_formats): Add.
(time_get::_M_extract_via_format): Add.
(time_get::_M_extract_time): Change to...
(time_get::_M_extract_num): ... this, modify signature.
* include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
(time_get::do_get_time): Fix.
(time_get::do_get_date): Fix.

* acinclude.m4: Remove CTIME_H.
* aclocal.m4: Regenerate.
* include/Makefile.am: Same.
* include/Makefile.in: Regenerate.
* configure: Regenerate.

* testsuite/22_locale/time_get_members_char.cc: Fix.
* testsuite/22_locale/time_get_members_wchar_t.cc: Add.
* testsuite/22_locale/time_put_members_wchar_t.cc: Add.

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

23 years ago2001-10-02 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Tue, 2 Oct 2001 16:54:26 +0000 (16:54 +0000)]
2001-10-02  Toon Moene  <toon@moene.indiv.nluug.nl>

* libF77/Makefile.in: Make .lo the target of compilation.
* libI77/Makefile.in: Ditto.
* libU77/Makefile.in: Ditto.

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

23 years ago * decl2.c (cxx_decode_option): Add 'else'.
jason [Tue, 2 Oct 2001 15:44:55 +0000 (15:44 +0000)]
    * decl2.c (cxx_decode_option): Add 'else'.

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

23 years ago * spew.c (end_input): No longer static.
jason [Tue, 2 Oct 2001 15:43:44 +0000 (15:43 +0000)]
    * spew.c (end_input): No longer static.
        * cp-tree.h: Declare it.
        * parse.y (datadef): Add "error END_OF_SAVED_INPUT" expansion.

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

23 years agoNew Language: Ada
kenner [Tue, 2 Oct 2001 14:57:59 +0000 (14:57 +0000)]
New Language: Ada

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

23 years agoNew Language: Ada
kenner [Tue, 2 Oct 2001 14:52:00 +0000 (14:52 +0000)]
New Language: Ada

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

23 years ago * gcj/javaprims.h: Rebuilt class list.
tromey [Tue, 2 Oct 2001 14:31:47 +0000 (14:31 +0000)]
* gcj/javaprims.h: Rebuilt class list.
* boehm.cc (_Jv_GCRegisterDisappearingLink): New function.
(_Jv_GCCanReclaimSoftReference): New function.
* include/jvm.h (_Jv_GCRegisterDisappearingLink): Declare.
(_Jv_GCCanReclaimSoftReference): Declare.
* java/lang/ref/Reference.java (referent): Now a RawData.
(create): Renamed from `created'.  Added object argument.
(Reference): Don't initialize `referent' here.
* Makefile.in: Rebuilt.
* Makefile.am (nat_source_files): Added new file.
* java/lang/ref/natReference.cc: New file.

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

23 years agoNew Language: Ada
kenner [Tue, 2 Oct 2001 14:30:19 +0000 (14:30 +0000)]
New Language: Ada

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

23 years agoNew Language: Ada
kenner [Tue, 2 Oct 2001 14:23:52 +0000 (14:23 +0000)]
New Language: Ada

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

23 years agoNew Language: Ada
kenner [Tue, 2 Oct 2001 14:18:40 +0000 (14:18 +0000)]
New Language: Ada

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

23 years agoNew Language: Ada
kenner [Tue, 2 Oct 2001 14:08:34 +0000 (14:08 +0000)]
New Language: Ada

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

23 years agoNew Language: Ada
kenner [Tue, 2 Oct 2001 13:55:47 +0000 (13:55 +0000)]
New Language: Ada

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

23 years agoNew Language: Ada
kenner [Tue, 2 Oct 2001 13:46:42 +0000 (13:46 +0000)]
New Language: Ada

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

23 years ago * prims.cc (_Jv_NewMultiArrayUnchecked): New method.
tromey [Tue, 2 Oct 2001 13:44:32 +0000 (13:44 +0000)]
* prims.cc (_Jv_NewMultiArrayUnchecked): New method.
(_Jv_NewMultiArray): Use it.  Check each array dimension.
(_Jv_NewMultiArray): Likewise.
* java/lang/reflect/natMethod.cc (can_widen): Nothing promotes to
`char'.
* java/lang/reflect/natArray.cc (newInstance): Throw
IllegalArgumentException if there are no dimensions.

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

23 years agoNew Language: Ada
kenner [Tue, 2 Oct 2001 13:35:49 +0000 (13:35 +0000)]
New Language: Ada

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

23 years ago * cpphash.h: Update comments.
neil [Tue, 2 Oct 2001 12:57:24 +0000 (12:57 +0000)]
* cpphash.h: Update comments.
(cpp_context): Update.
(spec_nodes): Remove n__Pragma.
* cppinit.c (cpp_create_reader): Update.
(builtin_array): Add _Pragma.
* cpplib.h: Update comments.
(NODE_DISABLED, BT_PRAGMA): New.
(cpp_start_lookahead, cpp_stop_lookahead): Remove prototypes.
* cppmacro.c (struct cpp_macro): Remove disabled.
(builtin_macro): Return int, handle _Pragma, push the new token
on the context stack.
(funlike_invocation_p): Unconstify, update.
(enter_macro_context): Handle builtins here.
(replace_args, push_token_context, push_ptoken_context):
Update for prototype changes.
(_cpp_pop_context): Update.
(cpp_get_token): Don't handle buitins, nor _Pragma here.
(cpp_sys_macro_p): Update.
(_cpp_free_definition): Clear disabled flag.
(_cpp_create_definition): Upate.
* cppmain.c: Update comments.

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

23 years agoNew language: Ada
kenner [Tue, 2 Oct 2001 12:35:48 +0000 (12:35 +0000)]
New language: Ada

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

23 years ago * doc/invoke.texi (i386 Options): Document x86-64 options.
hubicka [Tue, 2 Oct 2001 10:59:42 +0000 (10:59 +0000)]
* doc/invoke.texi (i386 Options): Document x86-64 options.
(i386 and x86-64 Options): Rename i386 options section.

* config/i386/i386.h (TARGET_UNWIND_INFO): New.
(TARGET_SWITCHES): Add -munwind-info.
(MASK_NO_UNWIND_INFO): New.
(NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define for
biarch compilation.
(ASM_OUTPUT_DOUBLE_INT): New.

* config/i386/linux64.h: New spec file for Linux x86-64 support.
* config.gcc: Fix tm_file settings for x86-64.
* config/i386/x86-64.h: New file with OS independent x86-64
definitions.
* config/i386/biarch64.h: New file used to configure compiler
to biarch/64bit compilation.

* config/i386/i386.c: (override_options): Set flags default
for 64bit compilation.

* i386.c (legitimize_pic_address): Add missing bits of 64bit support.
(ix86_expand_int_movcc): Optimize DImode conditional moves with
constants on x86_64.
(ix86_attr_length_immediate_default): Support MODE_DI.
* i386.md (fixdi splitter): Add missing "&& 1" in splitter
condition.
(indirect_jump, tablejump): Turn into expander.

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

23 years ago * c-common.c (c_format_attribute_table): Make format and
jsm28 [Tue, 2 Oct 2001 07:19:47 +0000 (07:19 +0000)]
* c-common.c (c_format_attribute_table): Make format and
format_arg attributes apply to function types rather than to
decls.
(is_valid_printf_arglist): Construct an attribute list and pass
that to check_function_format rather than a name.
* c-common.h (check_function_format): Adjust prototype.
* c-decl.c (duplicate_decls): Preserve attributes from type of
built-in decl when allowing for harmless conflict in types.
* c-format.c (record_function_format,
record_international_format, function_format_list,
international_format_info, international_format_list): Remove.
(function_format_info): Remove next, name and assembler_name.
Make format_num and first_arg_num be unsigned HOST_WIDE_INT.
(decode_format_attr): New.
(handle_format_attribute): Handle receiving a type rather than a
decl.  Call decode_format_attr.  Store format information in a
function_format_info.
(handle_format_arg_attribute): Correct comment.  Handle receiving
a type rather than a decl.  Use unsigned HOST_WIDE_INT for
arg_num.
(check_format_info_recurse, check_format_info_main): Take argument
numbers as unsigned HOST_WIDE_INT.
(check_function_format): Take a list of attributes from the
function type rather than a name or assembler name.  Check for
format attributes in that list and the attributes on the type of
the current function rather than looking through
function_format_list.
(check_format_info): Use unsigned HOST_WIDE_INT for argument
numbers.
(check_format_info_recurse): Take format_arg attributes from the
type of the function calls rather than using
international_format_list.  Allow for multiple format_arg
attributes.
* c-typeck.c (build_function_call): Pass type attributes to
check_function_format rather than name or assembler name.  Don't
require there to be a name or assembler name to check formats.

cp:
* call.c (build_over_call), typeck.c (build_function_call_real):
Pass type attributes to check_function_format rather than name or
assembler name.  Don't require there to be a name or assembler
name to check formats.

testsuite:
* g++.dg/warn/format2.C, gcc.dg/format/attr-7.c,
gcc.dg/format/multattr-1.c, gcc.dg/format/multattr-2.c,
gcc.dg/format/multattr-3.c: New tests.
* gcc.dg/format/attr-3.c: Update expected error texts.  Remove
tests for format attributes on function pointers being rejected.

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

23 years agoDaily bump.
gccadmin [Tue, 2 Oct 2001 07:17:46 +0000 (07:17 +0000)]
Daily bump.

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

23 years ago * attribs.c (decl_attributes): Possibly call
jsm28 [Tue, 2 Oct 2001 07:12:25 +0000 (07:12 +0000)]
* attribs.c (decl_attributes): Possibly call
insert_default_attributes to insert default attributes on
functions in a lazy manner.
* builtin-attrs.def: New file; define the default format and
format_arg attributes.
* c-common.c (c_format_attribute_table): Move to earlier in the
file.
(c_common_nodes_and_builtins): Initialize format_attribute_table.
(enum built_in_attribute, built_in_attributes,
c_attrs_initialized, c_init_attributes,
c_common_insert_default_attributes): New.
(c_common_lang_init): Don't initialize format_attribute_table.  Do
call c_init_attributes.
* Makefile.in (c-common.o): Depend on builtin-attrs.def.
* c-common.h (init_function_format_info): Don't declare.
(c_common_insert_default_attributes): Declare.
* c-decl.c (implicitly_declare, builtin_function): Call
decl_attributes.
(init_decl_processing): Don't call init_function_format_info.
(insert_default_attributes): New.
* c-format.c (handle_format_attribute,
handle_format_arg_attribute): Be quiet about inappropriate
declaration when applying default attributes.
(init_function_format_info): Remove.
* tree.h (enum attribute_flags): Add ATTR_FLAG_BUILT_IN.
(insert_default_attributes): Declare.

cp:
* decl.c (init_decl_processing): Don't call
init_function_format_info.  Initialize lang_attribute_table
earlier.
(builtin_function): Call decl_attributes.
(insert_default_attributes): New.

testsuite:
* gcc.dg/format/attr-5.c, gcc.dg/format/attr-6.c: New tests.

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

23 years ago * c-format.c (CPLUSPLUS_STD_VER): Define to STD_C94.
jsm28 [Tue, 2 Oct 2001 07:06:56 +0000 (07:06 +0000)]
* c-format.c (CPLUSPLUS_STD_VER): Define to STD_C94.

testsuite:
* g++.dg/warn/format1.C: New test.

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

23 years ago * configure: Handle temporary files securely using mkdir.
jsm28 [Tue, 2 Oct 2001 06:39:18 +0000 (06:39 +0000)]
* configure: Handle temporary files securely using mkdir.

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

23 years agoFix ia64 scheduler/predicated insn bug report from SAP.
wilson [Tue, 2 Oct 2001 05:00:19 +0000 (05:00 +0000)]
Fix ia64 scheduler/predicated insn bug report from SAP.
* sched-deps.c (add_dependence): When elide conditional dependence,
check that insn doesn't modify cond2.

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

23 years ago2001-10-01 Dale Johannesen <dalej@apple.com>
shebs [Tue, 2 Oct 2001 03:36:45 +0000 (03:36 +0000)]
2001-10-01  Dale Johannesen  <dalej@apple.com>

        * config/rs6000/rs6000.h (enum processor_type): Add support
        for 7400 (G4) and 7450.
        (RTX_COSTS): Ditto.
        * config/rs6000/rs6000.c (rs6000_override_options): Ditto.
        (rs6000_issue_rate): Ditto.
        (rs6000_adjust_cost): Fix cycle counts for compares.
        (debug_stack_info):  Fix an obvious typo.
        * config/rs6000/rs6000.md: Add functional units for 7400 and 7450.
        * doc/invoke.texi: Document.
        * config/rs6000/darwin.h (TARGET_DEFAULT): Set to be reasonable
        for Darwin.
        (PROCESSOR_DEFAULT): Ditto.

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

23 years ago * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CC.
ljrittle [Tue, 2 Oct 2001 02:09:40 +0000 (02:09 +0000)]
* Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CC.
(fixinc.sh): Map CC, CFLAGS and LDFLAGS to HOST_* versions for
later recursive make invocation.

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

23 years agoFix for ia64-java bug reported by Hans Boehm.
wilson [Tue, 2 Oct 2001 02:01:55 +0000 (02:01 +0000)]
Fix for ia64-java bug reported by Hans Boehm.
* optabs.c (emit_libcall_block): When using non-call exceptions,
don't add REG_LIBCALL reg notes to trapping calls.

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

23 years ago * flow.c (propagate_block_delete_libcall): Remove unused first arg
mmitchel [Mon, 1 Oct 2001 23:35:03 +0000 (23:35 +0000)]
* flow.c (propagate_block_delete_libcall): Remove unused first arg
(propagate_one_insn):  Update for above change

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

23 years ago * unwind-sjlj.c (_Unwind_GetRegionStart, _Unwind_GetDataRelBase,
mmitchel [Mon, 1 Oct 2001 23:31:47 +0000 (23:31 +0000)]
* unwind-sjlj.c (_Unwind_GetRegionStart, _Unwind_GetDataRelBase,
_Unwind_GetTextRelBase): Argument is unused.

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

23 years ago * alias.c (get_alias_set): Try to replace PLACEHOLDER_EXPR.
kenner [Mon, 1 Oct 2001 23:22:24 +0000 (23:22 +0000)]
* alias.c (get_alias_set): Try to replace PLACEHOLDER_EXPR.
Loop through NOPs, placeholders, and components.
Don't go through NOPs if change mode.
(record_alias_subset): Do nothing if SUBSET and SET are the same.
* emit-rtl.c (set_mem_alias_set): Enable check.
* expr.c (find_placeholder): New function.
(expand_expr, case PLACEHOLDER_EXPR): Use it.
(expand_expr, case COMPONENT_EXPR): Always copy OP0 when we need
to modify it and avoid unneeded copies.
* expr.h (expand_expr): Always define.
(find_placeholder): New declaration.

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

23 years ago * java/io/FileWriter.java: Merge with Classpath.
mark [Mon, 1 Oct 2001 18:24:54 +0000 (18:24 +0000)]
* java/io/FileWriter.java: Merge with Classpath.
* java/io/FilterInputStream.java: Ditto.
(mark): no longer synchronized
(reset): Likewise
* java/io/FilterOutputStream.java: Merge with Classpath.
* java/io/FilterReader.java: Ditto.
(mark): no longer synchronized
(reset): Likewise
* java/io/FilterWriter.java: Merge with Classpath.
* java/io/Writer.java: Ditto.
* java/lang/Compiler.java: Ditto.
* java/lang/Process.java: Ditto.
* java/lang/Void.java: Ditto.
* java/net/ContentHandler.java: Ditto.
* java/net/DatagramPacket.java: Ditto.
* java/net/MulticastSocket.java: Merge comments with Classpath.

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

23 years ago * config/cpu/cris/bits/atomicity.h: Correct file header.
hp [Mon, 1 Oct 2001 16:57:44 +0000 (16:57 +0000)]
* config/cpu/cris/bits/atomicity.h: Correct file header.

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

23 years ago * config/m68hc11/m68hc11.md ("add-split"): Fix add split when
ciceron [Mon, 1 Oct 2001 13:33:55 +0000 (13:33 +0000)]
* config/m68hc11/m68hc11.md ("add-split"): Fix add split when
operand 2 is the stack pointer.
("addr-peephole"): Fix address computation peephole when operand 2
is the stack pointer.

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

23 years ago * config/i386/i386.c (ix86_va_arg): Call set_mem_alias_set.
kenner [Mon, 1 Oct 2001 13:24:12 +0000 (13:24 +0000)]
* config/i386/i386.c (ix86_va_arg): Call set_mem_alias_set.
(ix86_setup_incoming_varargs): Likewise.

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

23 years ago * decl.c (grokdeclarator): Copy array typedef handling from C
jason [Mon, 1 Oct 2001 13:18:49 +0000 (13:18 +0000)]
    * decl.c (grokdeclarator): Copy array typedef handling from C
        frontend.

        * decl.c (grokdeclarator): Copy too-large array handling from C
        frontend.

        * stor-layout.c (layout_type): Don't complain about too-large
        array here.

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

23 years ago * function.c (keep_stack_depressed): Don't use delete_insn.
kenner [Mon, 1 Oct 2001 11:00:47 +0000 (11:00 +0000)]
* function.c (keep_stack_depressed): Don't use delete_insn.

* expr.h (set_mem_alias_set): Move decl to here.
* rtl.h (mem_attrs): New typedef and struct.
(union rtunion_def): Add field for mem_attrs.
(X0MEMATTR, MEM_ATTRS): New macros.
(MEM_ALIAS_SET): Use MEM_ATTRS.
(MEM_DECL, MEM_OFFSET, MEM_SIZE, MEM_ALIGN): New macros.
(MEM_COPY_ATTRIBUTES): Copy MEM_ATTRS.
(set_mem_alias_set): Delete decl from here.

* alias.c (set_mem_alias_set): Delete from here.
* emit-rtl.c (mem_attrs_htab): New variable.
(rtx_htab_mark, rtx_htab_mark_1): Deleted.
(mem_attrs_htab_hash, mem_attrs_htab_eq): New functions.
(mem_attrs_mark, get_mem_attrs): Likewise.
(gen_rtx_MEM): Clear MEM_ATTRS.
(set_mem_attributes): Move to here.
(set_mem_alias_set): Likewise, and call get_mem_attrs.
(init_emit_once): const_int_htab now deletable htab.
Initialize mem_attrs_htab.
* explow.c (set_mem_attributes): Delete from here.
* function.c (put_var_into_stack): Clear MEM_ATTRS.
(gen_mem_addressof): Likewise; rework to use set_mem_attributes.
* ggc-common.c (ggc_mark_rtx_children, case MEM): New case.
* reload1.c (reload): Rework changing REG to MEM.

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

23 years ago * mi6.c, mi6a.h, mi6b.h, mi6c.h, mi6d.h, mi6e.h: Correct tests.
neil [Mon, 1 Oct 2001 10:04:36 +0000 (10:04 +0000)]
* mi6.c, mi6a.h, mi6b.h, mi6c.h, mi6d.h, mi6e.h: Correct tests.

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

23 years agoDaily bump.
gccadmin [Mon, 1 Oct 2001 07:16:48 +0000 (07:16 +0000)]
Daily bump.

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

23 years ago2001-10-01 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Mon, 1 Oct 2001 06:30:39 +0000 (06:30 +0000)]
2001-10-01  Toon Moene  <toon@moene.indiv.nluug.nl>

* Makefile.in: Set major:minor:sub version number
of shared libf2c to 0:0:0.

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

23 years ago * POTFILES.in: Add all missing files.
zack [Mon, 1 Oct 2001 04:21:20 +0000 (04:21 +0000)]
* POTFILES.in: Add all missing files.

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

23 years ago2001-09-30 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sun, 30 Sep 2001 22:50:54 +0000 (22:50 +0000)]
2001-09-30  Toon Moene  <toon@moene.indiv.nluug.nl>

* libf2c/ChangeLog: Forgot to check in.
* libf2c/libU77/config.hin: Forgot to check in.

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

23 years ago2001-09-29 Juergen Pfeifer <juergen.pfeifer@gmx.net>
toon [Sun, 30 Sep 2001 22:06:23 +0000 (22:06 +0000)]
2001-09-29  Juergen Pfeifer  <juergen.pfeifer@gmx.net>

Make libf2c a shared library (gcc/f directory).

* Make-lang.in: Pass define of frtbegin.o to compilation of g77spec.c.
* g77spec.c (lang_specific_driver): Treat linking in of frtbegin.o.

2001-09-29  Juergen Pfeifer  <juergen.pfeifer@gmx.net>
            Toon Moene  <toon@moene.indiv.nluug.nl>

Make libf2c a shared library (libf2c directory).

* aclocal.m4: Get definition of libtool.
* Makefile.in: Use libtool.
* configure.in: Use libtool.
* configure: Regenerated.
* libF77/Makefile.in: Use libtool; treat main program contained in
libF77/main.c specially.
* libF77/configure.in: Use libtool.
* libF77/configure: Regenerated.
* libI77/Makefile.in: Use libtool.
* libI77/configure.in: Use libtool.
* libI77/configure: Regenerated.
* libU77/Makefile.in: Use libtool.
* libU77/configure.in: Use libtool.
* libU77/configure: Regenerated.
* libU77/date_.c: Adapt for -fPIC compiling.
* libU77/vxtidate_.c: Ditto.

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

23 years ago2001-09-30 H.J. Lu <hjl@gnu.org>
hjl [Sun, 30 Sep 2001 18:22:39 +0000 (18:22 +0000)]
2001-09-30  H.J. Lu <hjl@gnu.org>

* acconfig.h (PREFIX_INCLUDE_DIR): New variable.
* config.in: Rebuild.

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

23 years ago * java/io/DataInput.java: Merge with Classpath.
mark [Sun, 30 Sep 2001 18:04:38 +0000 (18:04 +0000)]
* java/io/DataInput.java:  Merge with Classpath.
* java/io/DataOutput.java:  Idem.
* java/io/FilenameFilter.java:  Idem.
* java/io/Serializable.java:  Idem.
* java/lang/Cloneable.java:  Idem.
* java/lang/Comparable.java:  Idem.
* java/lang/Runnable.java:  Idem.
* java/lang/reflect/Member.java:  Idem.
* java/net/ContentHandlerFactory.java:  Idem.
* java/net/FileNameMap.java:  Idem.
* java/net/SocketImplFactory.java:  Idem.
* java/net/SocketOptions.java:  Idem.
* java/net/URLStreamHandlerFactory.java:  Idem.

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

23 years ago * config/m68hc11/m68hc11.md ("cmpqi_1"): Fix constraints.
ciceron [Sun, 30 Sep 2001 17:33:18 +0000 (17:33 +0000)]
* config/m68hc11/m68hc11.md ("cmpqi_1"): Fix constraints.
("tsthi_1"): Avoid allocation in register y.
("*movqi_68hc12"): Reorganize and fix constraints.
("zero_extendqisi2"): Prefer d over x and y for operand 1.
("addqi3"): Likewise.
("addhi3"): Fix constraints.
("*logicalhi3_zexthi"): Disparage soft registers.

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

23 years ago * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Fix move of sp
ciceron [Sun, 30 Sep 2001 12:51:17 +0000 (12:51 +0000)]
* config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Fix move of sp
to tmp reg.

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

23 years ago * config/m68hc11/m68hc11.h(INCOMING_RETURN_ADDR_RTX): Remove so
ciceron [Sun, 30 Sep 2001 12:44:06 +0000 (12:44 +0000)]
* config/m68hc11/m68hc11.h(INCOMING_RETURN_ADDR_RTX): Remove so
that we use setjmp/longjmp exceptions.

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

23 years ago * mi6.c, mi6a.h, mi6b.h, mi6c.h, mi6d.h, mi6e.h: New test.
neil [Sun, 30 Sep 2001 12:02:22 +0000 (12:02 +0000)]
* mi6.c, mi6a.h, mi6b.h, mi6c.h, mi6d.h, mi6e.h: New test.

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

23 years ago * cpphash.h (POOL_ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE,
neil [Sun, 30 Sep 2001 10:03:11 +0000 (10:03 +0000)]
* cpphash.h (POOL_ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE,
POOL_SIZE, POOL_ROOM, POOL_COMMIT, struct cpp_chunk,
struct cpp_pool, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
_cpp_pool_alloc, _cpp_next_chunk): Remove.
(_cpp_extend_buff, BUFF_ROOM): Update.
(_cpp_append_extend_buff): New.
(struct cpp_reader): Remove macro_pool, add a_buff.
* cppinit.c (cpp_create_reader): Initialize a_buff, instead of
macro_pool.
(cpp_destroy): Free a_buff instead of macro_pool.
* cpplex.c (new_chunk, chunk_suitable, _cpp_next_chunk,
new_chunk, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
_cpp_pool_alloc, ): Remove.
(parse_number, parse_string): Update use of _cpp_extend_buff.
(_cpp_extend_buff): Update.
(_cpp_append_extend_buff, cpp_aligned_alloc): New.
* cpplib.c (glue_header_name, parse_answer):
Update use of _cpp_extend_buff.
(cpp_register_pragma, cpp_register_pragma_space): Use
_cpp_aligned_alloc.
(do_assert, do_unassert): Check for EOL, update.
* cppmacro.c (stringify_arg, collect_args): Update to use
_cpp_extend_buff and _cpp_append_extend_buff.
(save_parameter, parse_params, alloc_expansion_token,
_cpp_create_definition): Rework memory management.

* gcc.dg/cpp/redef2.c: Add test.

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

23 years ago PR libgcj/4383
bryce [Sun, 30 Sep 2001 07:52:16 +0000 (07:52 +0000)]
PR libgcj/4383

* gnu/gcj/protocol/file/Connection.java (connect): Throw
FileNotFoundException if appropriate.
* gnu/gcj/protocol/file/Handler.java (openConnection): Throw an
IOException if we got a file: url with a hostname. Comment out protocol
switch to ftp for now.
* java/net/URL.java (URL): Include protocol name in exception
message
when handler can't be found.

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

23 years agoDaily bump.
gccadmin [Sun, 30 Sep 2001 07:16:14 +0000 (07:16 +0000)]
Daily bump.

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

23 years ago * java/lang/natClass.cc (_Jv_IsAssignableFrom): Handle the case of
bryce [Sun, 30 Sep 2001 02:41:54 +0000 (02:41 +0000)]
    * java/lang/natClass.cc (_Jv_IsAssignableFrom): Handle the case of
        an uninitialized target class.

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

23 years ago* config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): Don't
dj [Sun, 30 Sep 2001 01:34:42 +0000 (01:34 +0000)]
* config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): Don't
update md_exec_prefix.
(UPDATE_PATH_HOST_CANONICALIZE): Don't free PATH as it can point
to string constant.

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

23 years ago* config/s390/s390.h (EXTRA_CC_MODES): Add CCLmode.
uweigand [Sat, 29 Sep 2001 22:56:14 +0000 (22:56 +0000)]
* config/s390/s390.h (EXTRA_CC_MODES): Add CCLmode.
(SELECT_CC_MODE): Use s390_select_ccmode.
* config/s390/s390-protos.h (s390_select_ccmode): Add.
* config/s390/s390.c (s390_select_ccmode): New.
(s390_match_ccmode): Add CCLmode.
(s390_branch_condition_mask, s390_branch_condition_mnemonic): New.
(output_branch_condition, output_inverse_branch_condition): Removed.
(print_operand): Use s390_branch_condition_mnemonic.
* config/s390/s390.md (addsi3_cc, addsi3_cconly, addsi3_cconly2,
subsi3_cc, subsi3_cconly): Use logical instructions and CCLmode.
(bunordered, bordered, buneq, bungt, bunlt, bnuge, bunle, bltgt): New.

* config/s390/s390.c (check_and_change_labels): Preserve CC mode
when converting conditional branches to far branches.
* config/s390/s390.md (cmpstr_const, cmpstr_64, cmpstr_31, cmpint_si,
cmpint_di): Use CCSmode instead of CCUmode.

* config/s390/s390.c (legitimate_la_operand_p): New.
* config/s390/s390-protos.h (legitimate_la_operand_p): Add.
* config/s390/s390.md (movsi): Convert load address patterns to
arithmetic operations when necessary.
(addaddr_picR, addaddr_picL, addaddr_picN): Removed.
(do_la): Renamed to *do_la and use legitimate_la_operand_p.
(*do_la_reg_0): Don't use before reload.

* config/s390/s390.c (legitimize_address): Make more efficient
use of two-register addressing mode.

* config/s390/s390.c (s390_function_prologue): Fix incorrect prolog
with -mno-backchain in some corner cases.

* config/s390/s390.md (cmpsi_cct): Operands 0 and 1 do not commute.

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

23 years ago* reload.c (find_reloads): Mark new USE insns with QImode.
aoliva [Sat, 29 Sep 2001 21:52:12 +0000 (21:52 +0000)]
* reload.c (find_reloads): Mark new USE insns with QImode.
(find_reloads_toplev, find_reloads_address, subst_reg_equivs,
find_reloads_subreg_address): Likewise.
* regrename.c (note_sets, clear_dead_regs): Abort if pseudos are
encountered.
* reload1.c (reload_combine_note_use): Likewise, inside USEs and
CLOBBERs.
(reload): Make sure there are no USEs with mode other than
VOIDmode.  At the end, remove those marked with QImode.

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

23 years ago* config-lang.in (target_libs): Added target-gperf, so that we
aoliva [Sat, 29 Sep 2001 19:55:39 +0000 (19:55 +0000)]
* config-lang.in (target_libs): Added target-gperf, so that we
don't try to build it if C++ is disabled.

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

23 years ago* Makefile.in (configure-target-gperf): Depend on $(ALL_GCC_CXX).
aoliva [Sat, 29 Sep 2001 19:36:13 +0000 (19:36 +0000)]
* Makefile.in (configure-target-gperf): Depend on $(ALL_GCC_CXX).

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

23 years ago * gnu/gcj/runtime/SharedLibLoader.java: New class.
bothner [Sat, 29 Sep 2001 19:16:27 +0000 (19:16 +0000)]
* gnu/gcj/runtime/SharedLibLoader.java:  New class.
* gnu/gcj/runtime/natSharedLibLoader.cc:  Native methods.
* Makefile.am:  Update accordingly.
* configure.in:  Add AC_CHECK_LIB for dlopen.
* include/config.h.in:  Add HAVE_DLOPEN.

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

23 years ago * cppdefault.c (cpp_include_defaults): Also search PREFIX_INCLUDE_DIR.
bothner [Sat, 29 Sep 2001 18:22:05 +0000 (18:22 +0000)]
* cppdefault.c (cpp_include_defaults):  Also search PREFIX_INCLUDE_DIR.
* Makefile.in (includedir):  Rename to local_includedir.
(includedir):  Define as $(prefix)/include.
* config.in (PREFIX_INCLUDE_DIR):  New variable.
* configure.in (PREFIX_INCLUDE_DIR):  Test for new variable.

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

23 years ago * config/cpu/cris/bits/limits.h: New file.
hp [Sat, 29 Sep 2001 16:49:48 +0000 (16:49 +0000)]
* config/cpu/cris/bits/limits.h: New file.

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

23 years ago * configure.target (LIMITSH): Set for cris.
hp [Sat, 29 Sep 2001 16:49:20 +0000 (16:49 +0000)]
* configure.target (LIMITSH): Set for cris.
(cpu_include_dir): Set for cris-*-*.
* config/cpu/cris/bits/atomicity.h: New file.
* config/cpu/cris/bits/limits.h: New file.

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

23 years ago* configure: Regenerate.
dj [Sat, 29 Sep 2001 16:48:58 +0000 (16:48 +0000)]
* configure: Regenerate.

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

23 years agoDocumentation for vector extensions
bernds [Sat, 29 Sep 2001 16:33:20 +0000 (16:33 +0000)]
Documentation for vector extensions

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

23 years ago * doc/invoke.texi (Optimize Options): Revert an accidental checkin.
hubicka [Sat, 29 Sep 2001 13:15:47 +0000 (13:15 +0000)]
* doc/invoke.texi (Optimize Options): Revert an accidental checkin.

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

23 years ago * cse.c (cse_insn) [HAVE_cc0]: Fix typo delete-insn -> delete_insn.
hp [Sat, 29 Sep 2001 12:17:04 +0000 (12:17 +0000)]
* cse.c (cse_insn) [HAVE_cc0]: Fix typo delete-insn -> delete_insn.

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

23 years ago * doc/invoke.texi (Optimize Options): Delete spurious @table.
hp [Sat, 29 Sep 2001 10:56:04 +0000 (10:56 +0000)]
* doc/invoke.texi (Optimize Options): Delete spurious @table.

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

23 years agoDaily bump.
gccadmin [Sat, 29 Sep 2001 07:16:56 +0000 (07:16 +0000)]
Daily bump.

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

23 years ago * Makefile.am (libgcj_la_LDFLAGS): Added $(GCLIBS), $(ZLIBS).
jsturm [Sat, 29 Sep 2001 04:07:28 +0000 (04:07 +0000)]
* Makefile.am (libgcj_la_LDFLAGS): Added $(GCLIBS), $(ZLIBS).
* Makefile.in: Rebuilt.

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

23 years agoRemove deleted a29k/udi.h
zack [Sat, 29 Sep 2001 00:35:43 +0000 (00:35 +0000)]
Remove deleted a29k/udi.h

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

23 years ago * varasm.c (assemble_integer): Bound alignment check by
rth [Sat, 29 Sep 2001 00:26:02 +0000 (00:26 +0000)]
    * varasm.c (assemble_integer): Bound alignment check by
        BIGGEST_ALIGNMENT.

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

23 years ago * cfgrtl.c (redirect_edge_and_branch): Abort if redirect_jump fails.
rth [Sat, 29 Sep 2001 00:25:08 +0000 (00:25 +0000)]
    * cfgrtl.c (redirect_edge_and_branch): Abort if redirect_jump fails.

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