H.J. Lu [Tue, 25 May 1999 13:06:22 +0000 (13:06 +0000)]
config.guess (dummy): Changed to $dummy.
Tue May 25 11:20:46 1999 H.J. Lu (hjl@gnu.org)
* config.guess (dummy): Changed to $dummy.
From-SVN: r27139
Jason Merrill [Tue, 25 May 1999 11:55:58 +0000 (11:55 +0000)]
typeck.c (casts_away_constness, [...]): Strip both parts of pointer to data member types.
* typeck.c (casts_away_constness, casts_away_constness_r): Strip both
parts of pointer to data member types.
From-SVN: r27138
Nick Clifton [Tue, 25 May 1999 07:16:43 +0000 (07:16 +0000)]
Explicitly declare signed bitfields as signed.
From-SVN: r27137
Gavin Romig-Koch [Tue, 25 May 1999 05:57:50 +0000 (05:57 +0000)]
mips.h (ASM_OUTPUT_DOUBLE_INT): Use 'dword' if TARGET_GAS.
* config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
TARGET_GAS.
From-SVN: r27136
Jeff Law [Tue, 25 May 1999 00:45:34 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r27134
Jeffrey A Law [Tue, 25 May 1999 00:26:35 +0000 (00:26 +0000)]
* gcc.c-torture/execute/990525-1.c: New test.
From-SVN: r27132
Mark Mitchell [Mon, 24 May 1999 23:38:55 +0000 (23:38 +0000)]
decl2.c (mark_vtable_entries): Don't make a copy of a function, and then make it look like `abort'.
* decl2.c (mark_vtable_entries): Don't make a copy of a function,
and then make it look like `abort'. Just use `abort' instead.
From-SVN: r27131
Jim Wilson [Mon, 24 May 1999 20:32:23 +0000 (20:32 +0000)]
Fix aix --with-gnu-ld configuration bug.
* configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
Add use of x-aix41-gld.
From-SVN: r27130
Jakub Jelinek [Mon, 24 May 1999 16:45:19 +0000 (18:45 +0200)]
linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
* sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
(ASM_OUTPUT_DESTRUCTOR): Define.
From-SVN: r27129
Mark Mitchell [Mon, 24 May 1999 15:26:25 +0000 (15:26 +0000)]
typeck.c (build_static_cast): Don't allow static_casts that cast away constness.
* typeck.c (build_static_cast): Don't allow static_casts that cast
away constness.
(casts_away_constness_r): New function.
(casts_away_constness): Likewise.
From-SVN: r27128
Nick Clifton [Mon, 24 May 1999 15:24:52 +0000 (15:24 +0000)]
Tidied up case statements
From-SVN: r27127
Tom Tromey [Mon, 24 May 1999 15:00:02 +0000 (15:00 +0000)]
ResourceBundle.java (getBundle): Throw NullPointerException if baseName is null.
* java/util/ResourceBundle.java (getBundle): Throw
NullPointerException if baseName is null.
From-SVN: r27126
Jeffrey A Law [Mon, 24 May 1999 13:43:22 +0000 (13:43 +0000)]
loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the last CODE_LABEL in a loop if...
* loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
last CODE_LABEL in a loop if we have previously passed a jump
to the top of the loop.
From-SVN: r27125
Jeffrey A Law [Mon, 24 May 1999 13:27:14 +0000 (13:27 +0000)]
* gcc.c-torture/execute/990524-1.c: New test.
From-SVN: r27122
Nick Clifton [Mon, 24 May 1999 07:58:01 +0000 (07:58 +0000)]
Fix blunder made when applying patch to arm.h
From-SVN: r27121
Nathan Sidwell [Mon, 24 May 1999 04:24:30 +0000 (04:24 +0000)]
anon3.C: New test.
* g++.old-deja/g++.other/anon3.C: New test.
* g++.old-deja/g++.other/anon4.C: New test.
* g++.old-deja/g++.ext/anon1.C: Inhibit -pedantic option.
* g++.old-deja/g++.g++.robertl/eb131.C/: Remove unrequired ERROR tag,
after downgrade to warning (cp/ChangeLog: 1999-05-20 Jason
Merrill).
From-SVN: r27120
Mark Mitchell [Mon, 24 May 1999 00:58:56 +0000 (00:58 +0000)]
stmt.c (expand_end_bindings): Ignore any elements of VARS that are not VAR_DECLs.
* stmt.c (expand_end_bindings): Ignore any elements of VARS that
are not VAR_DECLs.
From-SVN: r27118
Mark Mitchell [Mon, 24 May 1999 00:47:01 +0000 (00:47 +0000)]
decl.c (lookup_tag): Remove code no longer needed after name-lookup improvements.
* decl.c (lookup_tag): Remove code no longer needed after
name-lookup improvements.
* decl2.c (handle_class_head): Make error-recovery more robust.
* friend.c (make_friend_class): Reject templated typename types.
* lex.c (is_global): A template parameter isn't global.
* parse.y (class_head): Robustify.
* parse.c: Regenerated.
From-SVN: r27117
Jeff Law [Mon, 24 May 1999 00:45:33 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r27116
Jeffrey A Law [Sun, 23 May 1999 23:12:23 +0000 (23:12 +0000)]
* gcc.dg/990524-1.c: New test.
From-SVN: r27114
Franz Sirl [Sun, 23 May 1999 21:26:27 +0000 (21:26 +0000)]
* gcc.c-torture/compile/990523-1.c: New test.
From-SVN: r27113
Jeff Law [Sun, 23 May 1999 19:37:42 +0000 (13:37 -0600)]
[multiple changes]
Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
* loop.c (strength_reduce): Grow reg_single_usage as needed.
Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
* i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
Also remove a useless comment.
Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
* pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
From-SVN: r27111
Jeff Law [Sun, 23 May 1999 00:45:05 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r27109
Mark Mitchell [Sat, 22 May 1999 19:00:23 +0000 (19:00 +0000)]
pt.c (for_each_template_parm): Walk into TYPENAME_TYPEs, INDIRECT_REFs, and COMPONENT_REFs.
* pt.c (for_each_template_parm): Walk into TYPENAME_TYPEs,
INDIRECT_REFs, and COMPONENT_REFs. Handle FIELD_DECLs.
From-SVN: r27108
Jason Merrill [Sat, 22 May 1999 18:44:19 +0000 (14:44 -0400)]
expected
From-SVN: r27107
David Edelsohn [Sat, 22 May 1999 18:14:31 +0000 (14:14 -0400)]
collect2.c (main): Only generate import or export file and add to link arguments if non-empty.
* collect2.c (main): Only generate import or export file and add
to link arguments if non-empty. Use xmalloc not alloca.
(write_{export,import}_file): Delete.
(write_aix_file): New function.
(locatelib): Use xmalloc not malloc.
(GCC_OK_SYMBOL): Do not check type if aix64.
From-SVN: r27106
Tom Tromey [Sat, 22 May 1999 18:08:46 +0000 (18:08 +0000)]
ZipInputStream.java (fill): New method.
* java/util/zip/ZipInputStream.java (fill): New method.
(compressed_len): New instance variable.
(getNextStream): Set it.
(read): Reset inflater on EOF. Only read via `super' if entry is
deflated.
(skip): Only skip via `super' if entry is deflated.
* java/util/zip/Deflater.java (last_input_count): Removed.
* java/util/zip/natDeflater.cc (deflate): Return 0 if input array
is length 0.
(needsInput): Don't use last_input_count.
(setInput): Don't set last_input_count.
* java/util/zip/natInflater.cc (getRemaining): Return correct
result.
(inflate): Return 0 if input array is length 0.
(setInput): Don't set last_input_count.
* java/util/zip/Inflater.java (last_input_count): Removed.
From-SVN: r27105
Alexandre Petit-Bianco [Sat, 22 May 1999 14:38:13 +0000 (14:38 +0000)]
[multiple changes]
Sat May 22 13:54:41 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (formal_parameter:): Construct argument tree list
element even if a yet unsupported final parameter was encountered.
Tue May 18 00:28:58 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (finish_method_declaration): Issue errors for native or
abstract methods declared with a method body, as well as for non
native or non abstract methods with no method body.
From-SVN: r27104
Mark Mitchell [Sat, 22 May 1999 14:26:55 +0000 (14:26 +0000)]
cp-tree.h (push_nested_namespace): Declare.
* cp-tree.h (push_nested_namespace): Declare.
(pop_nested_namespace): Likewise.
* decl.c (push_nested_namespace): New function.
(pop_nested_namespace): Likewise.
* pt.c (instantiate_class_template): Use them.
From-SVN: r27103
Mark Mitchell [Sat, 22 May 1999 11:24:43 +0000 (11:24 +0000)]
* tree.c (mapcar): Handle LVALUE_EXPR.
From-SVN: r27101
Philip Blundell [Sat, 22 May 1999 09:40:04 +0000 (09:40 +0000)]
Apply patch from Philip Blundell <pb@nexus.co.uk> to fix PIC support for
constant tables.
From-SVN: r27100
Philip Blundell [Sat, 22 May 1999 09:11:10 +0000 (09:11 +0000)]
Fix erroneous warning message
From-SVN: r27099
Nick Clifton [Sat, 22 May 1999 09:07:56 +0000 (09:07 +0000)]
oops - omitted from previous delta
From-SVN: r27098
Nick Clifton [Sat, 22 May 1999 09:07:33 +0000 (09:07 +0000)]
Only defined NEED_PLT_GOT if it is not already defined.
From-SVN: r27097
Nick Clifton [Sat, 22 May 1999 07:18:02 +0000 (07:18 +0000)]
Fix description of a stack element in a PARALLEL generated by FUNCTION_ARG
From-SVN: r27096
Jeff Law [Sat, 22 May 1999 05:54:15 +0000 (23:54 -0600)]
Fix comment (insns -> bytes).
From-SVN: r27095
Ben Elliston [Sat, 22 May 1999 05:41:47 +0000 (05:41 +0000)]
config.guess: Handle NEC UX/4800.
1999-05-22 Ben Elliston <bje@cygnus.com>
* config.guess: Handle NEC UX/4800. Contributed by Jiro Takabatake
<jiro@din.or.jp>.
From-SVN: r27094
Ben Elliston [Sat, 22 May 1999 05:17:55 +0000 (05:17 +0000)]
config.guess: Merge with FSF version.
1999-05-22 Ben Elliston <bje@cygnus.com>
* config.guess: Merge with FSF version. Future changes will be
more accurately recorded in this ChangeLog.
* config.sub: Likewise.
From-SVN: r27093
Mark Mitchell [Sat, 22 May 1999 01:30:11 +0000 (01:30 +0000)]
cp-tree.h (cplus_expand_constant): Declare.
* cp-tree.h (cplus_expand_constant): Declare.
* cvt.c (convert_to_pointer): Expand PTRMEM_CSTs when they're
converted from one pointer-to-object type to another.
* expr.c (cplus_expand_constant): Don't make it static.
* typeck.c (build_component_ref): Don't crash when presented with
a component which is a TEMPLATE_DECL.
(build_ptrmemfunc): Tidy. Clarify comment. Make sure that even a
cast from a pointer-to-member constant to its own type does not
result in a valid non-type template argument.
From-SVN: r27092
Mark Mitchell [Sat, 22 May 1999 01:24:58 +0000 (01:24 +0000)]
* expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
From-SVN: r27090
Jeff Law [Sat, 22 May 1999 00:45:33 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r27089
Franz Sirl [Fri, 21 May 1999 18:23:29 +0000 (18:23 +0000)]
rs6000.c (output_mi_thunk): Enable full support again.
Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* rs6000.c (output_mi_thunk): Enable full support again.
From-SVN: r27087
Mark Mitchell [Fri, 21 May 1999 15:55:56 +0000 (15:55 +0000)]
Make-lang.in (cc1plus): Make it depend on gxx.gperf.
* Make-lang.in (cc1plus): Make it depend on gxx.gperf.
* cp-tree.h: Fix typo in documentation on pointers-to-members.
(cp_build_qualified_type): Make it a macro.
(cp_build_qualified_type_real): Declare.
* decl.c (grokdeclarator): Remove misleading comment. Avoid
problem with template parameters and restrict-qualification.
* gxx.gperf: Replace NORID with RID_UNUSED throughout.
* hash.h: Regenerated.
* lex.h (rid): Move RID_FIRST_MODIFIER and RID_LAST_MODIFIER into
the enumeration.
(NORID): Remove definition.
* pt.c (tsubst_aggr_type): Use cp_build_qualified_type_real.
(tsubst): Likewise. Remove special handling for FUNCTION_TYPEs.
(fn_type_unification): Check that the function type resulting from
the deduction is legal.
(check_cv_quals_for_unify): Don't handle FUNCTION_TYPEs specially.
(unify): Use cp_build_qualified_type_real.
* tree.c (build_cplus_array_type_1): Handle error_marks as inputs.
(cp_build_qualified_type): Rename to ...
(cp_build_qualified_type_real): Add additional COMPLAIN parameter
and modify appropriately.
Co-Authored-By: Nathan Sidwell <nathan@acm.org>
From-SVN: r27086
Mark Mitchell [Fri, 21 May 1999 15:42:55 +0000 (15:42 +0000)]
typeck.c (build_ptrmemfunc): Handle PTRMEM_CSTs carefully to reveal optimization opportunities.
* typeck.c (build_ptrmemfunc): Handle PTRMEM_CSTs carefully to
reveal optimization opportunities.
From-SVN: r27084
Tom Tromey [Fri, 21 May 1999 13:09:54 +0000 (13:09 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (INCLUDES): Added $(ZINCS).
* configure: Rebuilt.
* configure.in (ZINCS): New subst.
From-SVN: r27083
Joern Rennecke [Fri, 21 May 1999 12:23:23 +0000 (13:23 +0100)]
Typo fix in last patch.
From-SVN: r27082
J"orn Rennecke [Fri, 21 May 1999 12:14:10 +0000 (12:14 +0000)]
* sh.h (BRANCH_COST): Define.
From-SVN: r27081
Mark Mitchell [Fri, 21 May 1999 09:55:50 +0000 (09:55 +0000)]
pt.c (tsubst): Don't issue error messages when we're not complaining...
* pt.c (tsubst): Don't issue error messages when we're not
complaining, even if we see a qualified function type.
(check_cv_quals_for_unify): Don't allow a qualified function
type.
From-SVN: r27080
Andrew Haley [Fri, 21 May 1999 06:03:30 +0000 (06:03 +0000)]
sparc-signal.h (INIT_FPE, INIT_SEGV): SA_NODEFER added to signal options to allow the same exceptions to be rethrown...
1999-05-21 Andrew Haley <aph@cygnus.com>
* include/sparc-signal.h (INIT_FPE, INIT_SEGV): SA_NODEFER added
to signal options to allow the same exceptions to be rethrown
later.
From-SVN: r27079
Jeff Law [Fri, 21 May 1999 00:45:03 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r27077
Stephen L Moshier [Thu, 20 May 1999 22:24:35 +0000 (22:24 +0000)]
Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
* Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
From-SVN: r27074
Jeff Law [Thu, 20 May 1999 22:22:34 +0000 (16:22 -0600)]
[multiple changes]
Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
* Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
* function.c (assign_stack_local): Align stack slot propertly.
(assign_outer_stack_local): Likewise.
From-SVN: r27073
Jason Merrill [Thu, 20 May 1999 20:19:42 +0000 (20:19 +0000)]
class.c (instantiate_type): Downgrade errors for object-dependent memfn refs to pedwarn.
* class.c (instantiate_type): Downgrade errors for object-dependent
memfn refs to pedwarn.
From-SVN: r27072
Mark Mitchell [Thu, 20 May 1999 18:10:28 +0000 (18:10 +0000)]
decl.c (grokdeclarator): Don't treat [] as indicating a zero-sized array in a typedef.
* decl.c (grokdeclarator): Don't treat [] as indicating a
zero-sized array in a typedef.
From-SVN: r27070
Mark Mitchell [Thu, 20 May 1999 17:19:29 +0000 (17:19 +0000)]
call.c (build_object_call): Don't look at DECL_NAME for a type.
* call.c (build_object_call): Don't look at DECL_NAME for a type.
(pt.c): Or CP_TYPE_QUALS for an ERROR_MARK.
(typeck.c): Or TYPE_MAIN_VARIANT for a type.
From-SVN: r27068
Mark Mitchell [Thu, 20 May 1999 17:07:28 +0000 (17:07 +0000)]
Remove duplicate parameter name
From-SVN: r27067
Mark Mitchell [Thu, 20 May 1999 14:58:40 +0000 (14:58 +0000)]
pt.c (for_each_template_parm): Rework to match documentation.
* pt.c (for_each_template_parm): Rework to match documentation.
Don't be fooled by a COMPONENT_REF with no TREE_TYPE.
From-SVN: r27066
Jason Merrill [Thu, 20 May 1999 12:21:53 +0000 (12:21 +0000)]
class.c (finish_struct_1): Still check for ANON_AGGR_TYPE_P.
* class.c (finish_struct_1): Still check for ANON_AGGR_TYPE_P.
* class.c (finish_base_struct): Allow non-COM bases for COM classes
except at the leftmost position.
(modify_one_vtable, fixup_vtable_deltas1, override_one_vtable):
Pass the binfo's class, not the most derived, to skip_rtti_stuff.
* search.c (get_abstract_virtuals, expand_upcast_fixups): Likewise.
From-SVN: r27065
Jason Merrill [Thu, 20 May 1999 12:21:15 +0000 (08:21 -0400)]
new
From-SVN: r27064
Jason Merrill [Thu, 20 May 1999 12:17:36 +0000 (12:17 +0000)]
tree.c (lvalue_p_1): A NOP_EXPR can be an lvalue.
* tree.c (lvalue_p_1): A NOP_EXPR can be an lvalue.
(build_cplus_new): Make sure that what we return is of the right type.
From-SVN: r27063
Mark Mitchell [Thu, 20 May 1999 10:44:47 +0000 (10:44 +0000)]
cp-tree.h (make_ptrmem_cst): New function.
* cp-tree.h (make_ptrmem_cst): New function.
* expr.c (cplus_expand_constant): Split out from ...
(cplus_expand_expr): Here. Use cplus_expand_constant.
(init_cplus_expand): Set lang_expand_constant.
* pt.c (convert_nontype_argument): Use make_ptrmem_cst.
* tree.c (make_ptrmem_cst): Define.
* typeck.c (unary_complex_lvalue): Use make_ptrmem_cst.
* typeck2.c (initializer_constant_valid_p): Use make_ptrmem_cst.
From-SVN: r27060
Mark Mitchell [Thu, 20 May 1999 10:37:50 +0000 (10:37 +0000)]
expr.h (lang_expand_constant): Declare.
* expr.h (lang_expand_constant): Declare.
* toplev.c (lang_expand_constant): Define it.
* varasm.c (output_constant): Use it.
From-SVN: r27058
Kaveh R. Ghazi [Thu, 20 May 1999 08:29:52 +0000 (08:29 +0000)]
optabs.c (expand_cmplxdiv_straight, [...]): Change function definitions to K&R style.
* optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
Change function definitions to K&R style.
From-SVN: r27057
Andrew Haley [Thu, 20 May 1999 08:26:55 +0000 (08:26 +0000)]
prims.cc (catch_fpe): Call to HANDLE_DIVIDE_OVERFLOW added.
1999-05-20 Andrew Haley <aph@cygnus.com>
* libjava/prims.cc (catch_fpe): Call to HANDLE_DIVIDE_OVERFLOW
added.
* include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): New macro.
(INIT_FPE): Exception string made more informative.
* include/sparc-signal.h (INIT_FPE): Exception string made more
informative.
* testsuite/libjava.lang/Divide_1.java: New file.
* testsuite/libjava.lang/Divide_1.out: New file.
From-SVN: r27056
Bruce Korb [Thu, 20 May 1999 08:19:05 +0000 (08:19 +0000)]
A fix for one breaks another :( - do not ignore SIGCLD!
From-SVN: r27055
Alexandre Oliva [Thu, 20 May 1999 07:10:41 +0000 (07:10 +0000)]
static initialization removal & K&R-ification
From-SVN: r27052
Jeff Law [Thu, 20 May 1999 02:27:28 +0000 (20:27 -0600)]
libchill, libf2c, libobjc:
* configure.in (AC_PREREQ): Update to 2.13.
(AC_EXEEXT): Call to find possible file extension.
(compiler_name): Use.
* configure: Regenerate.
libio, libstdc++
* configure.in: Test for ${compiler_name}.exe as well.
From-SVN: r27050
Andreas Schwab [Thu, 20 May 1999 01:54:28 +0000 (01:54 +0000)]
dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use asm_fprintf and %L to generate the label name.
* config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
asm_fprintf and %L to generate the label name.
* config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
(ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
From-SVN: r27048
Jeff Law [Thu, 20 May 1999 00:52:36 +0000 (18:52 -0600)]
Daily bump.
From-SVN: r27046
Jeff Law [Thu, 20 May 1999 00:41:26 +0000 (18:41 -0600)]
jump.c (can_reverse_comparison_p): Do not abort if the comparison insn for a conditional jump can not be found.
p
* jump.c (can_reverse_comparison_p): Do not abort if the comparison
insn for a conditional jump can not be found.
From-SVN: r27043
Jeff Law [Thu, 20 May 1999 00:41:24 +0000 (18:41 -0600)]
jump.c (can_reverse_comparison_p): Do not abort if the comparison insn for a conditional jump can not be found.
�
* jump.c (can_reverse_comparison_p): Do not abort if the comparison
insn for a conditional jump can not be found.
From-SVN: r27042
Jeff Law [Wed, 19 May 1999 23:06:13 +0000 (17:06 -0600)]
mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations on variables in specific sections other than...
x
* mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
on variables in specific sections other than .sbss and .sdata.
From-SVN: r27038
Jeff Law [Wed, 19 May 1999 23:06:09 +0000 (17:06 -0600)]
mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations on variables in specific sections other than...
�
* mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
on variables in specific sections other than .sbss and .sdata.
From-SVN: r27037
Mark Mitchell [Wed, 19 May 1999 20:01:04 +0000 (20:01 +0000)]
* pt.c (build_template_decl): Copy DECL_NONCONVERTING_P.
From-SVN: r27034
Tom Tromey [Wed, 19 May 1999 12:55:15 +0000 (12:55 +0000)]
aclocal.m4, configure: Rebuilt.
* aclocal.m4, configure: Rebuilt.
* acinclude.m4 (version): New variable; pass to AM_INIT_AUTOMAKE.
From-SVN: r27033
Tom Tromey [Wed, 19 May 1999 12:35:06 +0000 (12:35 +0000)]
GZIPOutputStream.java (write(byte[])): New method.
* java/util/zip/GZIPOutputStream.java (write(byte[])): New
method.
From-SVN: r27031
Kaveh R. Ghazi [Wed, 19 May 1999 11:30:30 +0000 (11:30 +0000)]
Warning fixes:
* class.c (build_utf8_ref): Initialize variable `field'.
* decl.c (init_decl_processing): Initialize variable `field'.
* expr.c (build_known_method_ref): Mark parameters `method_type',
`method_signature' and `arg_list' with ATTRIBUTE_UNUSED.
(process_jvm_instruction): Likewise for parameter `length'.
* jvspec.c (lang_specific_driver): Mark variables `saw_math',
`saw_libc', `saw_gc', `saw_threadlib' and `saw_libgcj' with
ATTRIBUTE_UNUSED.
* parse.y (maybe_generate_clinit): Remove unused variable
`has_non_primitive_fields'.
(find_in_imports_on_demand): Initialize variables `node_to_use'
and `cl'.
(patch_binop): Likewise for variable `prom_type'.
(patch_unaryop): Likewise for variable `prom_type'.
* verify.c (verify_jvm_instructions): Likewise for variable `last'.
* xref.c (xref_table): Add missing initializer.
From-SVN: r27030
Mark Mitchell [Wed, 19 May 1999 11:24:18 +0000 (11:24 +0000)]
decl2.c (start_static_storage_duration_function): Fix comment.
* decl2.c (start_static_storage_duration_function): Fix comment.
(finish_file): Create static storage duration functions lazily.
From-SVN: r27029
Tom Tromey [Wed, 19 May 1999 11:03:36 +0000 (11:03 +0000)]
natInflater.cc (inflate): Cast `len' to unsigned.
* java/util/zip/natInflater.cc (inflate): Cast `len' to unsigned.
Include <stdlib.h>.
* java/util/zip/natDeflater.cc (deflate): Cast `len' to unsigned.
Include <stdlib.h>.
(update): Fail in default case. Always initialize `strat'.
From-SVN: r27028
Jason Merrill [Wed, 19 May 1999 10:44:22 +0000 (10:44 +0000)]
Implement anonymous structs.
* cp-tree.h (ANON_AGGR_TYPE_P): Rename from ANON_UNION_TYPE_P.
* class.c, decl.c, decl2.c, init.c, pt.c, search.c, typeck.c: Adjust.
* class.c (finish_struct_1): Remove redundant check for anon struct.
* decl.c (fixup_anonymous_aggr): Renamed from fixup_anonymous_union.
(check_tag_decl): Check for anonymous struct here.
* decl2.c (build_anon_union_vars): Catch anon struct at file scope.
* init.c (sort_member_init, emit_base_init): Handle getting fields
as well as names in current_member_init_list.
(perform_member_init): Handle getting an anon aggr.
* method.c (do_build_assign_ref): Don't descend into anon aggrs.
(do_build_copy_constructor): Likewise.
From-SVN: r27027
Jason Merrill [Wed, 19 May 1999 10:41:46 +0000 (06:41 -0400)]
new
From-SVN: r27026
Tom Tromey [Wed, 19 May 1999 09:26:17 +0000 (09:26 +0000)]
* mauve-libgcj: Enable java.util.zip.
From-SVN: r27025
Bruce Korb [Wed, 19 May 1999 08:37:57 +0000 (08:37 +0000)]
KandR-ification of fixincl.x
From-SVN: r27024
Anthony Green [Wed, 19 May 1999 06:53:20 +0000 (06:53 +0000)]
Shazam.java: New file.
* libjava.lang/Shazam.java: New file.
libjava.lang/Shazam.out: New file.
From-SVN: r27022
Mark Mitchell [Wed, 19 May 1999 04:32:46 +0000 (04:32 +0000)]
tree.c (cp_build_qualified_type): Don't allow qualified function types.
* tree.c (cp_build_qualified_type): Don't allow qualified function
types.
From-SVN: r27021
Mark Mitchell [Wed, 19 May 1999 03:54:49 +0000 (03:54 +0000)]
stmt.c (expand_return): Call start_cleanup_deferral and end_cleanup_deferral around conditional code.
* stmt.c (expand_return): Call start_cleanup_deferral and
end_cleanup_deferral around conditional code.
From-SVN: r27018
Bruce Korb [Wed, 19 May 1999 02:15:03 +0000 (20:15 -0600)]
fixincl.tpl: Avoid depending on ANSI C features for filename lists.
p
* fixinc/fixincl.tpl: Avoid depending on ANSI C features for
filename lists.
* fixinc/fixincl.x: Rebuilt.
From-SVN: r27017
Bruce Korb [Wed, 19 May 1999 02:14:51 +0000 (20:14 -0600)]
fixincl.tpl: Avoid depending on ANSI C features for filename lists.
�
* fixinc/fixincl.tpl: Avoid depending on ANSI C features for
filename lists.
* fixinc/fixincl.x: Rebuilt.
From-SVN: r27016
Raja R Harinath [Wed, 19 May 1999 02:01:52 +0000 (20:01 -0600)]
990519-1.c: New test.
X
* gcc.c-torture/compile/990519-1.c: New test.
From-SVN: r27011
Raja R Harinath [Wed, 19 May 1999 02:01:50 +0000 (20:01 -0600)]
990519-1.c: New test.
�
* gcc.c-torture/compile/990519-1.c: New test.
From-SVN: r27010
Jeff Law [Wed, 19 May 1999 01:58:23 +0000 (19:58 -0600)]
Avoid version # duplication.
From-SVN: r27009
Arvind Sankar [Wed, 19 May 1999 01:56:41 +0000 (01:56 +0000)]
* gxxint.texi: Fix typo.
From-SVN: r27006
Jan Hubicka [Wed, 19 May 1999 01:54:03 +0000 (03:54 +0200)]
* i386.c (output_float_compare): Avoid GNU-C extensions.
From-SVN: r27005
Jason Merrill [Wed, 19 May 1999 00:48:10 +0000 (00:48 +0000)]
call.c (find_scoped_type, [...]): Lose.
* call.c (find_scoped_type, resolve_scope_to_name): Lose.
* class.c (finish_struct_1): Use CLASS_TYPE_P.
* ptree.c (print_lang_type): Likewise.
* typeck.c (build_modify_expr, c_expand_asm_operands): Use
IS_AGGR_TYPE_CODE.
* typeck2.c (digest_init): Likewise.
From-SVN: r27001
Jeff Law [Tue, 18 May 1999 23:55:18 +0000 (17:55 -0600)]
version.c: Bump to distinguish mainline tree from the gcc-2.95 branch.
* version.c: Bump to distinguish mainline tree from the
gcc-2.95 branch.
Also rotate the ChangeLog file.
From-SVN: r27000
Jason Merrill [Tue, 18 May 1999 22:03:25 +0000 (22:03 +0000)]
call.c (joust): Compare the types of the conv ops, not the target types of the conversions.
* call.c (joust): Compare the types of the conv ops, not the
target types of the conversions.
From-SVN: r26999
Jason Merrill [Tue, 18 May 1999 18:15:08 +0000 (14:15 -0400)]
new
From-SVN: r26998
Warren Levy [Tue, 18 May 1999 18:02:01 +0000 (18:02 +0000)]
Makefile.am (ordinary_java_source_files): Added DatagramPacket.java...
* Makefile.am (ordinary_java_source_files): Added DatagramPacket.java,
DatagramSocket.java, DatagramSocketImpl.java, MulticastSocket.java,
PlainDatagramSocketImpl.java, and SocketOptions.java.
(nat_source_files): Added natPlainDatagramSocketImpl.cc.
* Makefile.in: Rebuilt.
* java/net/DatagramPacket.java: New file.
* java/net/DatagramSocket.java: New file.
* java/net/DatagramSocketImpl.java: New file.
* java/net/MulticastSocket.java: New file.
* java/net/PlainDatagramSocketImpl.java: New file.
* java/net/SocketOptions.java: New file.
* java/net/natPlainDatagramSocketImpl.cc: New file.
From-SVN: r26997
Tom Tromey [Tue, 18 May 1999 15:33:03 +0000 (15:33 +0000)]
ZipOutputStream.java (level): Initial value is Deflater.DEFAULT_COMPRESSION.
* java/util/zip/ZipOutputStream.java (level): Initial value is
Deflater.DEFAULT_COMPRESSION.
(close): New method.
(closeEntry): Likewise.
(finish): Likewise.
(put_version): Likewise.
(write_entry): Likewise.
(put2, put4): Now return `int'.
(comment): Default to empty string.
(bytes_written): New instance variable.
(chain): Likewise.
* java/util/zip/ZipEntry.java (setComment): Limit length of
comment string.
(setCrc): Check CRC validity.
(setExtra): Check argument validity.
(setMethod): Likewise.
(setSize): Likewise.
(ZipEntry): Likewise.
* include/javaprims.h: Updated namespace declarations.
* Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Mention new files.
(nat_source_files): Likewise.
* java/util/zip/ZipFile.java (readu2): Throw ZipException, not
EOFException.
(read4): Likewise.
(getInputStream): Handle compressed entries.
* java/util/zip/GZIPOutputStream.java: New file.
* java/util/zip/GZIPInputStream.java: New file.
* java/util/zip/DataFormatException.java: New file.
* java/util/zip/CheckedInputStream.java: New file.
* java/util/zip/CheckedOutputStream.java: New file.
* java/util/zip/InflaterInputStream.java: Implemented.
* java/util/zip/natInflater.cc: New file.
* java/util/zip/Deflater.java: Implemented.
* java/util/zip/natDeflater.cc: New file.
* java/util/zip/DeflaterOutputStream.java: Implemented.
* java/util/zip/ZipInputStream.java (closeZipEntry): Throw
ZipException, not IOException.
* java/util/zip/ZipFile.java (readDirectory): Throw ZipException,
not IOException.
From-SVN: r26996
Tom Tromey [Tue, 18 May 1999 15:03:26 +0000 (15:03 +0000)]
java-except.h (struct eh_range): Removed unused `next' member.
* java-except.h (struct eh_range): Removed unused `next' member.
* verify.c (verify_jvm_instructions): Call check_nested_ranges
after adding all exception handlers. Sort exception ranges in
order of start PC.
(struct pc_index): New structure.
(start_pc_cmp): New function.
* except.c (add_handler): Return `void'. Don't call link_handler;
instead construct an ordinary linked list and do range
coalescing.
(check_nested_ranges): New function.
(link_handler): Changed interface to allow merging of eh_ranges.
Split overlapping ranges. Return `void'.
From-SVN: r26995