platform/upstream/linaro-gcc.git
22 years ago * MAINTAINERS (Write After Approval): Add myself.
nemet [Tue, 5 Nov 2002 05:14:42 +0000 (05:14 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

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

22 years ago2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
tromey [Tue, 5 Nov 2002 04:12:04 +0000 (04:12 +0000)]
2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>

* gnu/java/security/provider/SHA.java (engineGetDigestLength):
Return 20.
* gnu/java/security/provider/MD5.java (engineGetDigestLength):
Return 16.

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

22 years ago * libjava.compile/pr7912.java: New file.
tromey [Tue, 5 Nov 2002 04:07:39 +0000 (04:07 +0000)]
* libjava.compile/pr7912.java: New file.

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

22 years ago PR ada/8358
grahams [Tue, 5 Nov 2002 00:49:44 +0000 (00:49 +0000)]
PR ada/8358
* trans.c (gnu_pending_elaboration_lists): New GC root.
(build_unit_elab): Use..

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

22 years ago2002-11-04 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 4 Nov 2002 22:57:00 +0000 (22:57 +0000)]
2002-11-04  Benjamin Kosnik  <bkoz@redhat.com>

* config/linker-map.gnu: Export string operator+.
Export __default_alloc_template::_S_force_new.
* testsuite/abi_check.cc: Output tweaks.

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

22 years agoFix bugs that showed up building Spec on ppc darwin.
dalej [Mon, 4 Nov 2002 20:06:28 +0000 (20:06 +0000)]
Fix bugs that showed up building Spec on ppc darwin.

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

22 years ago * config/s390/s390.c (s390_decompose_address): Use arg_pointer_rtx
uweigand [Mon, 4 Nov 2002 19:04:46 +0000 (19:04 +0000)]
* config/s390/s390.c (s390_decompose_address): Use arg_pointer_rtx
for comparison.

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

22 years agoTop level configury changes for RDA.
kevinb [Mon, 4 Nov 2002 18:40:27 +0000 (18:40 +0000)]
Top level configury changes for RDA.

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

22 years ago2002-11-04 Andrew Haley <aph@redhat.com>
aph [Mon, 4 Nov 2002 17:34:09 +0000 (17:34 +0000)]
2002-11-04  Andrew Haley  <aph@redhat.com>

        * libjava.lang/utilTest.java: New.
        * libjava.lang/utilTest.out: New.

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

22 years ago2002-11-04 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 4 Nov 2002 16:58:39 +0000 (16:58 +0000)]
2002-11-04  Aldy Hernandez  <aldyh@redhat.com>

* hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): New.

* config/rs6000/rs6000.h (CLASS_CANNOT_CHANGE_MODE_P): Remove.
(CLASS_CANNOT_CHANGE_MODE): Remove.
(CANNOT_CHANGE_MODE_CLASS): New.

* config/alpha/alpha.h: Same.

* config/ia64/ia64.h: Same.

* config/mips/mips.h: Same.

* config/s390/s390.h: Same.

* config/sh/sh.h: Same.

* config/pa/pa64-regs.h: Same.

* config/sh/sh-protos.h (sh_cannot_change_mode_class): Add prototype.

* config/sh/sh.c (sh_cannot_change_mode_class): New.

* config/mips/mips-protos.h (mips_cannot_change_mode_class): Add
prototype.

* config/mips/mips.c (mips_cannot_change_mode_class): New.

* doc/tm.texi (Register Classes): Remove
CLASS_CANNOT_CHANGE_MODE and CLASS_CANNOT_CHANGE_MODE_P.
Document CANNOT_CHANGE_MODE_CLASS.

* reload.c (push_reload): Use CANNOT_CHANGE_MODE_CLASS.
(push_reload): Same.

* simplify-rtx.c (simplify_subreg): Same.

* reload1.c (choose_reload_regs): Same.

* recog.c (register_operand): Same.

* regrename.c (mode_change_ok): Change to use new
CANNOT_CHANGE_MODE_CLASS infrastructure.

* regclass.c (cannot_change_mode_set_regs): New.
Declare subregs_of_mode.
(regclass): Use subregs_of_mode.
Remove references to reg_changes_mode.
(init_reg_sets_1): Remove class_can_change_mode and
reg_changes_mode code.
(invalid_mode_change_p): New.
(dump_regclass): Use invalid_mode_change_p instead of
class_can_change_mode.
(regclass): Same.
(record_operand_costs): Do not set reg_changes_mode.

* local-alloc.c (struct qty): Remove changes_mode field.
(alloc_qty): Remove changes_mode initialization.
(update_qty_class): Remove set of changes_mode.
(find_free_reg): Use subregs_of_mode.

* global.c (find_reg): Use subregs_of_mode info.

* rtl.h (cannot_change_mode_set_regs): New prototype.
(invalid_mode_change_p): Same.
(REG_CANNOT_CHANGE_MODE_P): New macro.

* flow.c (mark_used_regs): Calculate subregs_of_mode.  Remove
REG_CHANGES_MODE.
(life_analysis): Clear subregs_of_mode.

* combine.c (subst): Pass class to CLASS_CANNOT_CHANGE_MODE_P.
Remove use of CLASS_CANNOT_CHANGE_MODE.
(simplify_set): Same.
(gen_lowpart_for_combine): Calculate subregs_of_mode.  Remove
REG_CHANGES_MODE.

* regs.h: Add extern for subregs_of_mode;
Include hard-reg-set and basic-block.
(REG_CHANGES_MODE): Delete.

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

22 years agoMore test code.
green [Mon, 4 Nov 2002 14:00:15 +0000 (14:00 +0000)]
More test code.

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

22 years agoDaily bump.
gccadmin [Mon, 4 Nov 2002 08:17:09 +0000 (08:17 +0000)]
Daily bump.

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

22 years ago * java/lang/ClassLoader.java (loadClass): Call loadClass on
tromey [Mon, 4 Nov 2002 06:17:55 +0000 (06:17 +0000)]
* java/lang/ClassLoader.java (loadClass): Call loadClass on
VMClassLoader, not findClass.

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

22 years ago * jump.c (never_reached_warning): Don't set contains_insn until the
danglin [Mon, 4 Nov 2002 05:01:21 +0000 (05:01 +0000)]
* jump.c (never_reached_warning): Don't set contains_insn until the
first line note is seen.

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

22 years agoAdd missing file.
green [Mon, 4 Nov 2002 04:19:47 +0000 (04:19 +0000)]
Add missing file.

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

22 years agoNew test code
green [Mon, 4 Nov 2002 04:17:59 +0000 (04:17 +0000)]
New test code

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

22 years agoNew tests.
green [Mon, 4 Nov 2002 04:17:38 +0000 (04:17 +0000)]
New tests.

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

22 years ago * config/rs6000/rs6000.md (movti_string): Use string instructions.
dje [Mon, 4 Nov 2002 03:04:10 +0000 (03:04 +0000)]
    * config/rs6000/rs6000.md (movti_string): Use string instructions.

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

22 years ago * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
jsturm [Mon, 4 Nov 2002 02:45:31 +0000 (02:45 +0000)]
* resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
(_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
_Jv_DetermineVTableIndex, to determine vtable offset.
(_Jv_DetermineVTableIndex): Remove.
(_Jv_PrepareClass): Don't layout vtable.  Use _Jv_MakeVTable instead.

* java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.

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

22 years ago * call.c (build_special_member_call): Do not try to lookup VTTs by
mmitchel [Mon, 4 Nov 2002 01:45:58 +0000 (01:45 +0000)]
* call.c (build_special_member_call): Do not try to lookup VTTs by
name.
* class.c (vtbl_init_data): Add generate_vcall_entries.
(get_vtable_decl): Do not look up virtual tables by name.
(copy_virtuals): Do not use BV_USE_VCALL_INDEX_P.
(set_primary_base): Do not set CLASSTYPE_RTTI.
(determine_primary_base): Likewise.
(get_matching_virtual): Remove.
(get_vcall_index): New function.
(update_vtable_entry_for_fn): Do not try to use virtual thunks
when they are not required.  Assign vcall indices at this point.
(finish_struct_1): Do not set CLASSTYPE_NEEDS_VIRTUAL_REINIT.
Do update dynamic_classes.
(build_vtt): Do not add VTTs to the symbol table.
(build_ctor_vtbl_group): Likewise.
(build_vtbl_initializer): Simplify handling of vcall indices.
(build_vcall_offset_vtbl_entries): Pretend to build vcall offsets
for the most derived class.
(add_vcall_offset_vtbl_entries_1): But do not actually add them to
the vtable.
* cp-tree.h (dynamic_classes): New macro.
(lang_type_class): Remove rtti.  Add vtables.  Add vcall_indices.
(CLASSTYPE_RTTI): Remove.
(CLASSTYPE_NEEDS_VIRTUAL_REINIT): Remove.
(CLASSTYPE_VCALL_INDICES): New macro.
(CLASSTYPE_VTABLES): Likewise.
(BV_USE_VCALL_INDEX_P): Remove.
(build_vtable_path): Remove.
* decl2.c (finish_vtable_vardecl): Remove.
(key_method): Remove #if 0'd code.
(finish_vtable_vardecl): Rename to ...
(maybe_emit_vtables): ... this.
(finish_file): Use it.
* search.c (look_for_overrides_here): Update comment.

* g++.dg/abi/thunk1.C: New test.
* g++.dg/abi/thunk2.C: Likewise.
* g++.dg/abi/vtt1.C: Likewise.

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

22 years agoNew files.
green [Mon, 4 Nov 2002 01:31:12 +0000 (01:31 +0000)]
New files.

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

22 years ago PR c/7128
sayle [Mon, 4 Nov 2002 00:22:57 +0000 (00:22 +0000)]
PR c/7128
* c-typeck.c (c_expand_asm_operands): Defend against
error_mark_nodes in the output argument to avoid ICE.

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

22 years ago PR middle-end/8408
rth [Sun, 3 Nov 2002 23:42:51 +0000 (23:42 +0000)]
    PR middle-end/8408
        * genrecog.c (preds): Handle ADDRESSOF.
        (validate_pattern): Mark it as an lvalue.
* gcc.c-torture/compile/20021103-1.c: New.

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

22 years ago * java/nio/channels/AlreadyConnectedException.java: Extend
tromey [Sun, 3 Nov 2002 21:18:32 +0000 (21:18 +0000)]
* java/nio/channels/AlreadyConnectedException.java: Extend
IllegalStateException, per spec.

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

22 years agoGNU Classpath merge.
mark [Sun, 3 Nov 2002 20:27:31 +0000 (20:27 +0000)]
GNU Classpath merge.

2002-10-31  Stephen Crawley  <crawley@dstc.edu.au>

* java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).

2002-10-31  Wu Gansha <gansha.wu@intel.com>:

        * java/util/ArrayList.java (readObject, writeObject): Only read/write
        size items.

2002-10-31  Wu Gansha <gansha.wu@intel.com>:

        * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
        initial estimated size to avoid enlarge buffer frequently.

2002-10-31  Wu Gansha <gansha.wu@intel.com>:

* java/lang/reflect/Proxy.java (ProxyType): Set loader to System
ClassLoader when null.
(ProxyType.hashCode): Loader null check no longer needed.
(ProxyType.sameTypes): New method.
(ProxyType.equals): Use new method.

2002-10-31  Mark Wielaard  <mark@klomp.org>

        * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
length of String.
* java/net/URLEncoder.java (encode): Likewise.

2002-10-31  Mark Wielaard  <mark@klomp.org>

* java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
when stream is closed.
(closeEntry): Likewise.
(read): Likewise.
* java/util/zip/ZipOutputStream.java (putNextEntry): Throw
ZipException when no entry active.
(closeEntry): Likewise.
(write): Likewise.

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

22 years agoDaily bump.
gccadmin [Sun, 3 Nov 2002 08:17:09 +0000 (08:17 +0000)]
Daily bump.

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

22 years ago * libjava.lang/initexc.java (fail): Static initializers must be
tromey [Sun, 3 Nov 2002 01:30:28 +0000 (01:30 +0000)]
* libjava.lang/initexc.java (fail): Static initializers must be
able to complete normally.  From Eric Blake.

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

22 years ago * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
tromey [Sat, 2 Nov 2002 23:52:56 +0000 (23:52 +0000)]
* java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
* java/lang/natClass.cc (initializeClass): Don't return just
because self==thread.

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

22 years ago * java-tree.h: Move JV_STATE_ERROR before JV_STATE_DONE.
tromey [Sat, 2 Nov 2002 23:52:26 +0000 (23:52 +0000)]
* java-tree.h: Move JV_STATE_ERROR before JV_STATE_DONE.

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

22 years ago * libjava.lang/initexc.java: New file.
tromey [Sat, 2 Nov 2002 23:36:47 +0000 (23:36 +0000)]
* libjava.lang/initexc.java: New file.
* libjava.lang/initexc.out: New file.

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

22 years ago PR optimization/8423
dnovillo [Sat, 2 Nov 2002 22:58:54 +0000 (22:58 +0000)]
PR optimization/8423
* gcc.c-torture/execute/builtin-constant.c: New test.

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

22 years ago * config/rs6000/rs6000.c (rs6000_override_options): Use string
dje [Sat, 2 Nov 2002 21:55:55 +0000 (21:55 +0000)]
    * config/rs6000/rs6000.c (rs6000_override_options): Use string
        instructions when optimizing for size.

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

22 years ago * class.c (make_method_value): Put class name, not signature, into
tromey [Sat, 2 Nov 2002 21:33:54 +0000 (21:33 +0000)]
* class.c (make_method_value): Put class name, not signature, into
`throws' field.  For PR java/8415.

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

22 years ago For PR java/8415:
tromey [Sat, 2 Nov 2002 21:33:30 +0000 (21:33 +0000)]
For PR java/8415:
* java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
* prims.cc (_Jv_FindClassFromSignature): Indentation fix.

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

22 years agoReverted erroneous checkin
tromey [Sat, 2 Nov 2002 21:29:36 +0000 (21:29 +0000)]
Reverted erroneous checkin

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

22 years ago Fix for PR java/6388.
tromey [Sat, 2 Nov 2002 21:26:28 +0000 (21:26 +0000)]
Fix for PR java/6388.
* lex.h (JAVA_INTEGRAL_RANGE_ERROR): Wrap in do...while.
* java-tree.h (enum java_tree_index): New values
JTI_DECIMAL_INT_MAX_NODE, JTI_DECIMAL_LONG_MAX_NODE.
(decimal_int_max, decimal_long_max): New defines.
* lex.c (yylex): Rewrote range checking.  Sign extend literals.
(error_if_numeric_overflow): Rewrote range checking.
* decl.c (java_init_decl_processing): Initialize decimal_int_max,
decimal_long_max.

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

22 years ago * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
schwab [Sat, 2 Nov 2002 16:14:50 +0000 (16:14 +0000)]
* Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
pass GCJFLAGS.
(FLAGS_TO_PASS): Define.
* Makefile.in: Regenerated.

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

22 years ago2002-11-02 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sat, 2 Nov 2002 14:40:31 +0000 (14:40 +0000)]
2002-11-02  Toon Moene  <toon@moene.indiv.nluug.nl>

* news.texi: Fix .f -> .r

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

22 years ago2002-11-02 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sat, 2 Nov 2002 14:36:45 +0000 (14:36 +0000)]
2002-11-02  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.texi: Correct documentation on generating C++ prototypes
of Fortran routines with f2c.
* news.texi: Document fixes in GCC-3.3, 3.2 and 3.1.

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

22 years ago2002-11-02 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sat, 2 Nov 2002 14:30:12 +0000 (14:30 +0000)]
2002-11-02  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.texi: Correct documentation on generating C++ prototypes
of Fortran routines with f2c.
* news.texi: Document fixes in GCC-3.3, 3.2 and 3.1.

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

22 years ago * config/h8300/h8300.h: Fix comment typos.
kazu [Sat, 2 Nov 2002 12:51:05 +0000 (12:51 +0000)]
* config/h8300/h8300.h: Fix comment typos.
* config/h8300/h8300.md: Likewise.
* config/h8300/lib1funcs.asm: Likewise.

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

22 years ago Revert this change:
gerald [Sat, 2 Nov 2002 10:28:09 +0000 (10:28 +0000)]
Revert this change:

*doc/install.texi (Installing GCC: Configuration): Clarify
the only supported ways to configure gcc.

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

22 years agoDaily bump.
gccadmin [Sat, 2 Nov 2002 08:17:09 +0000 (08:17 +0000)]
Daily bump.

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

22 years ago2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 2 Nov 2002 02:18:18 +0000 (02:18 +0000)]
2002-11-01  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/8172
* src/string-inst.cc: Add instantiation.

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

22 years ago PR c/7353 redux
zack [Sat, 2 Nov 2002 02:17:41 +0000 (02:17 +0000)]
PR c/7353 redux
cp:
* decl2.c (grokfield): Reject TYPE_DECLs with initializers.
testsuite:
* g++.dg/ext/typedef-init.C, gcc.dg/typedef-init.C:
Add some more cases.

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

22 years ago * config/h8300/h8300.md (anonymous and:QI pattern): Use 'n'
kazu [Sat, 2 Nov 2002 01:44:00 +0000 (01:44 +0000)]
* config/h8300/h8300.md (anonymous and:QI pattern): Use 'n'
instead of 'O' for the constraint for the second operand.

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

22 years ago2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 2 Nov 2002 01:42:22 +0000 (01:42 +0000)]
2002-11-01  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/7926
* configure.target: Simplify.
* config/cpu/i386/atomicity.h: Remove.
* config/cpu/i386: Remove.
* config/cpu/arm/atomicity.h: Remove.
* config/cpu/arm: Remove.
* config/cpu/x86-64/atomicity.h: Remove.
* config/cpu/x86-64: Remove.

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

22 years ago PR c++/8391
mmitchel [Sat, 2 Nov 2002 01:03:03 +0000 (01:03 +0000)]
PR c++/8391
* toplev.c (rest_of_compilation): Do not refuse to output code for
an inline function in a local class.

PR c++/8391
* g++.dg/opt/local1.C: New test.

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

22 years ago For PR java/8415:
tromey [Sat, 2 Nov 2002 00:19:52 +0000 (00:19 +0000)]
For PR java/8415:
* libjava.lang/pr8415.java: New file.
* libjava.lang/pr8415.out: New file.

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

22 years ago2002-11-01 David O'Brien <obrien@FreeBSD.org>
obrien [Fri, 1 Nov 2002 22:19:38 +0000 (22:19 +0000)]
2002-11-01  David O'Brien  <obrien@FreeBSD.org>
* config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Define __arch64__.
(TRANSFER_FROM_TRAMPOLINE): Reformat.
Add comment.

Approved by:  Mark Mitchell <mark@codesourcery.com>
              Message-ID: <15490000.1036182355@warlock.codesourcery.com>

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

22 years ago * config/h8300/h8300.h (CAN_ELIMINATE): Simplify.
kazu [Fri, 1 Nov 2002 21:36:37 +0000 (21:36 +0000)]
* config/h8300/h8300.h (CAN_ELIMINATE): Simplify.

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

22 years ago * config/h8300/h8300.h (OPTIMIZATION_OPTIONS): New.
kazu [Fri, 1 Nov 2002 21:22:15 +0000 (21:22 +0000)]
* config/h8300/h8300.h (OPTIMIZATION_OPTIONS): New.

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

22 years ago * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): Remove.
sje [Fri, 1 Nov 2002 20:25:35 +0000 (20:25 +0000)]
* config/ia64/ia64.h (MASK_INLINE_DIV_LAT): Remove.
(MASK_INLINE_DIV_THR): Remove.
(TARGET_INLINE_DIV_LAT): Remove.
(TARGET_INLINE_DIV_THR): Remove.
(TARGET_INLINE_DIV): Remove.
(MASK_INLINE_FLOAT_DIV_LAT): New macro.
(MASK_INLINE_FLOAT_DIV_THR): New macro.
(MASK_INLINE_INT_DIV_LAT): New macro.
(MASK_INLINE_INT_DIV_THR): New macro.
(TARGET_INLINE_FLOAT_DIV_LAT): New macro.
(TARGET_INLINE_FLOAT_DIV_THR): New macro.
(TARGET_INLINE_INT_DIV_LAT): New macro.
(TARGET_INLINE_INT_DIV_THR): New macro.
(TARGET_INLINE_FLOAT_DIV): New macro.
(TARGET_INLINE_INT_DIV): New macro.
* config/ia64/ia64.md (divsi3): Change to use new macros.
(modsi3): Ditto.
(udivsi3): Ditto.
(umodsi3): Ditto.
(divsi3_internal): Ditto.
(divdi3): Ditto.
(moddi3): Ditto.
(udivdi3): Ditto.
(umoddi3): Ditto.
(divdi3_internal_lat): Ditto.
(divdi3_internal_thr): Ditto.
(divsf3): Ditto.
(divsf3_internal_lat): Ditto.
(divsf3_internal_thr): Ditto.
(divdf3): Ditto.
(divdf3_internal_lat): Ditto.
(divdf3_internal_thr): Ditto.
(divtf3): Ditto.
(divtf3_internal_lat): Ditto.
(divtf3_internal_thr): Ditto.
* config/ia64/ia64.c (ia64_override_options): Change
to check new macros for conflicts in settings.
* doc/invoke.texi (-minline-divide-min-latency): Remove.
(-minline-divide-max-throughput): Remove.
(-minline-float-divide-min-latency): New.
(-minline-float-divide-max-throughput): New.
(-minline-int-divide-min-latency): New.
(-minline-int-divide-max-throughput): New.

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

22 years ago * libjava.mauve/mauve.exp (find_mauve_sources): New proc.
tromey [Fri, 1 Nov 2002 19:32:21 +0000 (19:32 +0000)]
* libjava.mauve/mauve.exp (find_mauve_sources): New proc.
(test_mauve): Use it.
(test_mauve_sim): Likewise.

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

22 years ago2002-11-01 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
bkoz [Fri, 1 Nov 2002 17:54:51 +0000 (17:54 +0000)]
2002-11-01  Christian Ehrhardt  <ehrhardt@mathematik.uni-ulm.de>

PR libstdc++/8197
* config/link-map.gnu: Export math stubbs.

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

22 years ago2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 1 Nov 2002 17:30:36 +0000 (17:30 +0000)]
2002-11-01  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/8318
* include/std/std_iostream.h: Tweak.
* include/std/std_iosfwd.h: Add _GLIBCPP_USE_WCHAR_T.
* include/std/std_iomanip.h: Same.
* include/bits/stringfwd.h: Same.
* include/bits/basic_string.tcc: Same.
* include/bits/sstream.tcc: Same.
* include/bits/fstream.tcc: Same.
* include/bits/basic_ios.tcc: Same.
* include/bits/streambuf.tcc: Same.
* include/bits/locale_facets.tcc: Same.

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

22 years ago2002-11-01 John Carter <john.carter@tait.co.nz>
paolo [Fri, 1 Nov 2002 15:21:17 +0000 (15:21 +0000)]
2002-11-01  John Carter  <john.carter@tait.co.nz>

PR libstdc++/7961
* include/bits/basic_string.tcc
(compare(const _CharT* __s)): Don't access __s past its length.

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

22 years agoPR target/7856
rearnsha [Fri, 1 Nov 2002 14:41:57 +0000 (14:41 +0000)]
PR target/7856
* arm.c (use_return_insn): Don't use a return insn if there are
saved integer regs, but LR is not one of them.

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

22 years ago2002-11-01 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 1 Nov 2002 12:03:40 +0000 (12:03 +0000)]
2002-11-01  Michael Koch  <konqueror@gmx.de>

* java/nio/ByteOrder.java: New file.
* java/nio/channels/DatagramChannel.java:
(DatagramChannel): New constructor.
* java/nio/channels/Pipe.java: New file.
* java/nio/channels/SelectableChannel.java: New file.
* java/nio/channels/SelectionKey.java: New file.
* java/nio/channels/Selector.java: New file.
* java/nio/channels/ServerSocketChannel.java
(ServerSocketChannel): New constructor.
* java/nio/channels/SocketChannel.java
(SocketChannel): New constructor.
* java/nio/channels/Pipe.java: New file.
* java/nio/channels/spi/AbstractChannel.java: New file.
* java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
* java/nio/channels/spi/AbstractSelectableChannel.java:
License added
(AbstractSelectableChannel): New stubbed method.
* java/nio/channels/spi/AbstractSelectionKey.java: New file.
* java/nio/channels/spi/AbstractSelector.java: New file.
* java/nio/channels/spi/SelectorProvider.java: New file.
* java/nio/charset/Charset.java: New file.
* java/nio/charset/CoderMalfunctionError.java: New file.
* java/nio/charset/CodingErrorAction.java: New file.
* java/nio/charset/spi/CharsetProvider.java
(charsetForName): Uncommented.
* Makefile.am (java_native_source_files): Added new files.
* Makefile.in: Regenerated.

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

22 years ago * expr.c (emit_move_insn): Use SCALAR_FLOAT_MODE_P
hubicka [Fri, 1 Nov 2002 09:35:24 +0000 (09:35 +0000)]
* expr.c (emit_move_insn):  Use SCALAR_FLOAT_MODE_P
* machmode.h (SCALAR_FLOAT_MODE_P): New macro.

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

22 years agoDaily bump.
gccadmin [Fri, 1 Nov 2002 08:17:07 +0000 (08:17 +0000)]
Daily bump.

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

22 years ago PR optimization/6162
neroden [Fri, 1 Nov 2002 07:05:57 +0000 (07:05 +0000)]
PR optimization/6162
* md.texi: Document restriction on commutative operand
specification.

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

22 years ago2002-11-01 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 1 Nov 2002 06:35:14 +0000 (06:35 +0000)]
2002-11-01  Michael Koch  <konqueror@gmx.de>

* java/net/InetAddress.java:
(isAnyLocalAddress): Implemented.
(isLoopbackAddress): Implemented, comment added.
(isLinkLocalAddress): Implemented, documentation added.
(isSiteLocalAddress): Implemented, documentation added.
(isMCGlobal): Implemented, documentation added.
(isMCNodeLocal): Implemented, documentation added.
(isMCLinkLocal): Implemented, documentation added.
(isMCSiteLocal): Implemented, documentation added.
(isMCOrgLocal): Implemented, documentation added.
(getHostName): Documentation added.
(getCanonicalHostName): Implemented, documentation added.
(getAddress): Documentation added.
(hashCode): Documentation added.
(equals): Documentation added.
(toString): Fixed implementation.
(getByAddress): Use Inet4Address and Inet6Address.
(lookup): New linewrap.
(getByName): SecurityManager check added, support Inet4Address and
Inet6address, comments added.
(getAllByName): SecurityManager check added, comments added.
* java/net/Inet6Address.java:
(Inet6Address): Initialize parent class with addr instead of null.
* java/net/URL.java
(equals): Documentation added.
(getFile): Documentation added.
(hashCode): Documentation added.
* java/net/natInetAddress.cc:
(aton): Fix IPv6 support.
* java/net/natPlainDatagramSocketImpl.cc:
(peek): Throw PortUnreachableException when suitable.
(peekData): Throw PortUnreachableException when suitable.
(send): Throw PortUnreachableException when suitable.
(receive): Throw PortUnreachableException when suitable.

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

22 years ago2002-10-31 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 1 Nov 2002 05:38:27 +0000 (05:38 +0000)]
2002-10-31  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/8348
* include/bits/istream.tcc (istream::tellg): Remove sentry bits.
(istream::seekg): Same.
* testsuite/27_io/istream_seeks.cc (test06): New.

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

22 years ago * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
mark [Thu, 31 Oct 2002 21:56:32 +0000 (21:56 +0000)]
* java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
argument.
(readLeShort): Likewise and use byte[].
(readLeInt): Likewise.
(readEntries): Use new versions of methods and use byte[] for reading
a complete zip entry. Add ZipFile name to exceptions.
(entries): Add ZipFile name to exceptions.
(getEntry): Likewise.
(checkLocalHeader): Use new versions of methods and add ZipFile name
to exceptions.

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

22 years ago PR c++/8186
jason [Thu, 31 Oct 2002 21:42:46 +0000 (21:42 +0000)]
    PR c++/8186
        * cp-tree.h (ADDR_IS_INVISIREF): New macro.
        * call.c (convert_for_arg_passing): Set it.
        * except.c (stabilize_throw_expr): Recurse for such an arg.

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

22 years ago2002-10-31 Eric Christopher <echristo@redhat.com>
echristo [Thu, 31 Oct 2002 21:35:57 +0000 (21:35 +0000)]
2002-10-31  Eric Christopher  <echristo@redhat.com>

        * explow.c (convert_memory_address): Use shallow_copy_rtx.

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

22 years ago * expmed.c (store_bit_field): Check FUNCTION_ARG_REG_LITTLE_ENDIAN.
sje [Thu, 31 Oct 2002 20:43:07 +0000 (20:43 +0000)]
* expmed.c (store_bit_field): Check FUNCTION_ARG_REG_LITTLE_ENDIAN.

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

22 years ago * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Set for non-floats.
sje [Thu, 31 Oct 2002 20:40:29 +0000 (20:40 +0000)]
* config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Set for non-floats.

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

22 years agoCorrect formatting in previous patch.
dalej [Thu, 31 Oct 2002 20:32:49 +0000 (20:32 +0000)]
Correct formatting in previous patch.

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

22 years agoenable -falign-xxx flags
dalej [Thu, 31 Oct 2002 19:40:12 +0000 (19:40 +0000)]
enable -falign-xxx flags

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

22 years agorestore old comment
jason [Thu, 31 Oct 2002 18:57:39 +0000 (18:57 +0000)]
restore old comment

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

22 years ago2002-10-31 Mark Anderson <mark@panonet.net>
tromey [Thu, 31 Oct 2002 18:50:38 +0000 (18:50 +0000)]
2002-10-31  Mark Anderson  <mark@panonet.net>

* java/awt/GridBagLayout.java (setConstraints): New stubbed method
added

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

22 years agoFix typo in my previous commit.
hubicka [Thu, 31 Oct 2002 17:27:02 +0000 (17:27 +0000)]
Fix typo in my previous commit.

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

22 years ago * i386.c (override_options): Set defaults for flag_omit_frame_pointer,
hubicka [Thu, 31 Oct 2002 17:16:52 +0000 (17:16 +0000)]
* i386.c (override_options): Set defaults for flag_omit_frame_pointer,
flag_asynchronous_unwind_tables, flag_pcc_struct_return.
* i386.c (optimization_options): Set flag_omit_frame_pointer,
flag_asynchronous_unwind_tables, flag_pcc_struct_return to 2.
Do not clear -momit-leaf-frame-pointer when profiling.
(ix86_frame_pointer_required): Frame pointer is allways required when
profiling.

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

22 years ago * cp-tree.h (lang_decl_flags): Remove init_priority.
mmitchel [Thu, 31 Oct 2002 16:07:32 +0000 (16:07 +0000)]
* cp-tree.h (lang_decl_flags): Remove init_priority.
(lang_decl): Add delta.
(GLOBAL_INIT_PRIORITY): Remove.
(THUNK_DELTA): Revise definition.
* decl2.c (start_objects): Don't set GLOBAL_INIT_PRIORITY.
* dump.c (cp_dump_tree): Don't dump it.

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

22 years ago * i386.md (negdf2_ifs_rex64): Don't allow GPR operand.
hubicka [Thu, 31 Oct 2002 15:21:22 +0000 (15:21 +0000)]
* i386.md (negdf2_ifs_rex64): Don't allow GPR operand.

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

22 years ago * sh.h (binary_logical_operator): Declare.
amylaar [Thu, 31 Oct 2002 12:53:06 +0000 (12:53 +0000)]
* sh.h (binary_logical_operator): Declare.
* sh.c (binary_logical_operator): New function.
* sh.md (xordi3+1): New combiner splitter pattern.

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

22 years ago2002-10-31 David O'Brien <obrien@FreeBSD.org>
obrien [Thu, 31 Oct 2002 09:08:11 +0000 (09:08 +0000)]
2002-10-31  David O'Brien  <obrien@FreeBSD.org>
* config/sparc/freebsd.h (TRANSFER_FROM_TRAMPOLINE): Define
__enable_execute_stack function.

Approved by:  David S. Miller <davem@redhat.com>
              Message-Id: <20021031.005015.22856738.davem@redhat.com>

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

22 years agoDaily bump.
gccadmin [Thu, 31 Oct 2002 08:17:11 +0000 (08:17 +0000)]
Daily bump.

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

22 years ago2002-10-30 Aldy Hernandez <aldyh@redhat.com>
aldyh [Thu, 31 Oct 2002 06:57:28 +0000 (06:57 +0000)]
2002-10-30  Aldy Hernandez  <aldyh@redhat.com>

        * c-common.c: Add GTY to vector_type_node_list.

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

22 years ago * pa-linux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
danglin [Thu, 31 Oct 2002 03:13:44 +0000 (03:13 +0000)]
* pa-linux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
* pa-protos.h (attr_length_millicode_call, attr_length_call,
pa_init_machine_status): Declare new global functions.
* pa.c (void copy_fp_args, length_fp_args, get_plabel): Declare and
implement new functions.
(attr_length_millicode_call, attr_length_call): Implement.
(total_code_bytes): Change type to long.
(pa_output_function_prologue): Compute total_code_bytes on TARGET_64BIT.
Reset counter if flag_function_sections.
(output_deferred_plabels): Set output alignment to 3 for TARGET_64BIT.
(output_cbranch): Move call to gen_label_rtx.
(output_millicode_call): Rewrite adding long TARGET_64BIT call, expose
delay slot in all variants, shorten pc-relative calls.
(output_call): Rewrite adding long TARGET_64BIT call, improved delay
slot usage and exposure, various new call variants, and shortened
sequences for some variants on TARGET_PA_20.
Miscellaneous format changes.
* pa.h (total_code_bytes): Change type to long.
(MASK_LONG_CALLS, TARGET_LONG_CALLS, TARGET_LONG_ABS_CALL,
TARGET_LONG_PIC_SDIFF_CALL, TARGET_LONG_PIC_PCREL_CALL): Define.
(TARGET_SWITCHES): Add "-mlong-calls" and "-mno-long-calls" options.
(EXTRA_CONSTRAINT, GO_IF_LEGITIMATE_ADDRESS,
LEGITIMIZE_RELOAD_ADDRESS): Don't use long floating point loads and
stores on TARGET_ELF32.
*pa.md (define_delay): Allow insns in delay on TARGET_PORTABLE_RUNTIME.
(unnamed patterns for mulsi3, divsi3, udivsi3, modsi3, umodsi3 and
canonicalize_funcptr_for_compare expanders): Calculate attribute length
attr_length_millicode_call().
(call_internal_symref, call_value_internal_symref): Clobber register 1.
Calculate attribute length using attr_length_call().
(call_internal_reg_64bit, call_value_internal_reg_64bit): Move gp load
to delay slot.
(sibcall, sibcall_value): Rewrite.
(sibcall_internal_symref, sibcall_value_internal_symref): Clobber
register 1.  Use attr_length_call().
(sibcall_internal_symref_64bit, sibcall_value_internal_symref_64bit):
New patterns.
(unamed pattern for canonicalize_funcptr_for_compare): Rewrite.
* som.h (MEMBER_TYPE_FORCES_BLK): Define.
* t-pa64 (TARGET_LIBGCC2_CFLAGS): Add "-mlong-calls".
* doc/invoke.texi (mlong-calls): Document.

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

22 years ago PR c++/8160
mmitchel [Thu, 31 Oct 2002 00:04:12 +0000 (00:04 +0000)]
PR c++/8160
* typeck2.c (process_init_constructor): Call complete_array_type.

PR c++/8149
* decl.c (make_typename_type): Issue errors about invalid results.

PR c++/8160
* g++.dg/template/complit1.C: New test.

PR c++/8149
* g++.dg/template/typename4.C: Likewise.

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

22 years ago * fold-const.c (fold_binary_op_with_conditional_arg): Improve
sayle [Wed, 30 Oct 2002 23:07:48 +0000 (23:07 +0000)]
* fold-const.c (fold_binary_op_with_conditional_arg):  Improve
handling of cases where one or both branches of the conditional
have void type, i.e. throw an exception or don't return.
(fold): Only apply (and undo) type conversion to the non-void
branches of a COND_EXPR.

* f/com.c (ffecom_subscript_check_): Cast the failure branch
of the bounds check COND_EXPR to void, to indicate noreturn.
(ffe_truthvalue_conversion): Only apply truth value conversion
to the non-void branches of a COND_EXPR.

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

22 years ago PR c++/8333
mmitchel [Wed, 30 Oct 2002 19:23:27 +0000 (19:23 +0000)]
PR c++/8333
* varasm.c (asm_output_aligned_bss): Do not call
ASM_GLOBALIZE_LABEL.

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

22 years ago PR ada/6558
bosch [Wed, 30 Oct 2002 17:42:53 +0000 (17:42 +0000)]
PR ada/6558
* misc.c : Include optabs.h

* Make-lang.in (misc.o): Add dependency on optabs.h

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

22 years ago * config/rs6000/rs6000.md (load_toc_v4_PIC_1): Use preferred form
dje [Wed, 30 Oct 2002 15:56:37 +0000 (15:56 +0000)]
    * config/rs6000/rs6000.md (load_toc_v4_PIC_1): Use preferred form
        for addressibility.
        (load_toc_v4_PIC_1b): Same.

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

22 years ago Core issue 287, PR c++/7639
lerdsuwa [Wed, 30 Oct 2002 15:54:10 +0000 (15:54 +0000)]
Core issue 287, PR c++/7639
* cp-tree.h (lang_type_class): Add decl_list field.
(CLASSTYPE_DECL_LIST): New macro.
(maybe_add_class_template_decl_list): Add declaration.
* class.c (duplicate_tag_error): Initialize CLASSTYPE_DECL_LIST.
(unreverse_member_declarations): Reverse CLASSTYPE_DECL_LIST.
(maybe_add_class_template_decl_list): New function.
(add_implicitly_declared_members): Use it.
* decl.c (maybe_process_template_type_declaration): Likewise.
(pushtag): Likewise.
* friend.c (add_friend): Likewise.
(make_friend_class): Likewise.
* semantics.c (finish_member_declaration): Likewise.
(begin_class_definition): Initialize CLASSTYPE_DECL_LIST.
* pt.c (instantiate_class_template): Use CLASSTYPE_DECL_LIST
to process members and friends in the order of declaration.

Core issue 287, PR c++/7639
* g++.dg/template/instantiate1.C: Adjust error location.
* g++.dg/template/instantiate3.C: New test.
* g++.old-deja/g++.pt/crash10.C: Adjust error location.
* g++.old-deja/g++.pt/derived3.C: Adjust error location.
* g++.old-deja/g++.pt/spec28.C: Reorder declaration.

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

22 years ago * config/h8300/h8300.c (h8300_eightbit_constant_address_p):
kazu [Wed, 30 Oct 2002 11:21:24 +0000 (11:21 +0000)]
* config/h8300/h8300.c (h8300_eightbit_constant_address_p):
Truncate the addresses for H8/300 using HImode.

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

22 years agoDaily bump.
gccadmin [Wed, 30 Oct 2002 08:17:49 +0000 (08:17 +0000)]
Daily bump.

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

22 years ago * lib/compat.exp (compat-execute): Don't clean out a gluefile.
hp [Wed, 30 Oct 2002 00:27:34 +0000 (00:27 +0000)]
* lib/compat.exp (compat-execute): Don't clean out a gluefile.

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

22 years ago * toplev.c (rest_of_type_compilation): Return early in case of
hp [Wed, 30 Oct 2002 00:19:59 +0000 (00:19 +0000)]
* toplev.c (rest_of_type_compilation): Return early in case of
errors.
(check_global_declarations): Don't call debug_hooks->global_decl
in case of errors.

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

22 years ago PR c++/8287
mmitchel [Wed, 30 Oct 2002 00:05:56 +0000 (00:05 +0000)]
PR c++/8287
* g++.dg/init/dtor2.C: New test.

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

22 years ago PR c++/8287
mmitchel [Wed, 30 Oct 2002 00:05:36 +0000 (00:05 +0000)]
PR c++/8287
* decl.c (finish_destructor_body): Create the label to jump to
when returning from a destructor here.
(finish_function_body): Rather than here.

PR c++/8287
* g++.dg/init/dtor2.C: New test.

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

22 years ago * configure.in: Disable hash sync when not using threads.
kristerw [Tue, 29 Oct 2002 23:03:17 +0000 (23:03 +0000)]
    * configure.in: Disable hash sync when not using threads.
        * configure: Regenerated.

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

22 years ago * doc/c-tree.texi (Tree overview): Fix typos.
gerald [Tue, 29 Oct 2002 22:39:49 +0000 (22:39 +0000)]
* doc/c-tree.texi (Tree overview): Fix typos.

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

22 years ago PR ada/6558
bosch [Tue, 29 Oct 2002 22:18:07 +0000 (22:18 +0000)]
    PR ada/6558
* Make-lang.in (gnatbind): Depend on CONFIG_H

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

22 years ago PR ada/6558
bosch [Tue, 29 Oct 2002 22:01:18 +0000 (22:01 +0000)]
    PR ada/6558
        * misc.c: Unrevert misc.c (1.13)

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

22 years ago2002-10-29 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 29 Oct 2002 21:37:13 +0000 (21:37 +0000)]
2002-10-29  Phil Edwards  <pme@gcc.gnu.org>

* Makefile.in (gnucompare*):  Only record bad comparisons
if there really was a bad comparison.

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

22 years ago * i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Remove 'H'
hubicka [Tue, 29 Oct 2002 19:41:35 +0000 (19:41 +0000)]
* i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Remove 'H'
* i386.md (movsf*, movdf*): Use 'C' instead of 'H'
* md.texi (machine dependent constraints): Document 'C'

* simplify-rtx.c (simplify_subreg): Fix const_int->vector subregging.

* i386.c (ix86_expand_vector_move): Fix.

* i386.c (ix86_expand_builtin): Use sse2_maskmovdqu_rex64.
* i386.md (sse2_maskmovdqu_rex64): New pattern

PR target/8322
* xmmintrin.h (_mm_stream_pi, _mm_stream_pd): Fix cast.
(ix86_init_mmx_sse_builtins): Fix type.

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