law [Sun, 23 May 1999 21:26:27 +0000 (21:26 +0000)]
* gcc.c-torture/compile/990523-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27113
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 23 May 1999 19:37:42 +0000 (19:37 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27111
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 23 May 1999 00:45:05 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27109
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [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. Handle FIELD_DECLs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27108
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 22 May 1999 18:44:19 +0000 (18:44 +0000)]
expected
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27107
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sat, 22 May 1999 18:14:31 +0000 (18:14 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27106
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sat, 22 May 1999 18:08:46 +0000 (18:08 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27105
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Sat, 22 May 1999 14:38:13 +0000 (14:38 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27104
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 22 May 1999 14:26:55 +0000 (14:26 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27103
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 22 May 1999 11:24:43 +0000 (11:24 +0000)]
* tree.c (mapcar): Handle LVALUE_EXPR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27101
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27100
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Sat, 22 May 1999 09:11:10 +0000 (09:11 +0000)]
Fix erroneous warning message
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27099
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Sat, 22 May 1999 09:07:56 +0000 (09:07 +0000)]
oops - omitted from previous delta
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27098
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Sat, 22 May 1999 09:07:33 +0000 (09:07 +0000)]
Only defined NEED_PLT_GOT if it is not already defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27097
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Sat, 22 May 1999 07:18:02 +0000 (07:18 +0000)]
Fix description of a stack element in a PARALLEL generated by FUNCTION_ARG
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27096
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 22 May 1999 05:54:15 +0000 (05:54 +0000)]
Fix comment (insns -> bytes).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27095
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Sat, 22 May 1999 05:41:47 +0000 (05:41 +0000)]
1999-05-22 Ben Elliston <bje@cygnus.com>
* config.guess: Handle NEC UX/4800. Contributed by Jiro Takabatake
<jiro@din.or.jp>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27094
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Sat, 22 May 1999 05:17:55 +0000 (05:17 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27093
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 22 May 1999 01:30:11 +0000 (01:30 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27092
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 22 May 1999 01:24:58 +0000 (01:24 +0000)]
* expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27090
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 22 May 1999 00:45:33 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27089
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 21 May 1999 18:23:29 +0000 (18:23 +0000)]
Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* rs6000.c (output_mi_thunk): Enable full support again.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27087
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 21 May 1999 15:55:56 +0000 (15:55 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27086
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 21 May 1999 15:42:55 +0000 (15:42 +0000)]
* typeck.c (build_ptrmemfunc): Handle PTRMEM_CSTs carefully to
reveal optimization opportunities.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27084
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 21 May 1999 13:09:54 +0000 (13:09 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (INCLUDES): Added $(ZINCS).
* configure: Rebuilt.
* configure.in (ZINCS): New subst.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27083
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Fri, 21 May 1999 12:23:23 +0000 (12:23 +0000)]
Typo fix in last patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27082
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Fri, 21 May 1999 12:14:10 +0000 (12:14 +0000)]
* sh.h (BRANCH_COST): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27081
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 21 May 1999 09:55:50 +0000 (09:55 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27080
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Fri, 21 May 1999 06:03:30 +0000 (06:03 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27079
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 21 May 1999 00:45:03 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27077
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 20 May 1999 22:24:35 +0000 (22:24 +0000)]
Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
* Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27074
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 20 May 1999 22:22:34 +0000 (22:22 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27073
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 20 May 1999 20:19:42 +0000 (20:19 +0000)]
* class.c (instantiate_type): Downgrade errors for object-dependent
memfn refs to pedwarn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27072
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27070
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [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.
(pt.c): Or CP_TYPE_QUALS for an ERROR_MARK.
(typeck.c): Or TYPE_MAIN_VARIANT for a type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27068
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 20 May 1999 17:07:28 +0000 (17:07 +0000)]
Remove duplicate parameter name
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27067
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 20 May 1999 14:58:40 +0000 (14:58 +0000)]
* pt.c (for_each_template_parm): Rework to match documentation.
Don't be fooled by a COMPONENT_REF with no TREE_TYPE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27066
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [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_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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27065
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 20 May 1999 12:21:15 +0000 (12:21 +0000)]
new
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27064
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 20 May 1999 12:17:36 +0000 (12:17 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27063
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 20 May 1999 10:44:47 +0000 (10:44 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27060
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 20 May 1999 10:37:50 +0000 (10:37 +0000)]
* expr.h (lang_expand_constant): Declare.
* toplev.c (lang_expand_constant): Define it.
* varasm.c (output_constant): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27058
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 20 May 1999 08:29:52 +0000 (08:29 +0000)]
* optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
Change function definitions to K&R style.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27057
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Thu, 20 May 1999 08:26:55 +0000 (08:26 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27056
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Thu, 20 May 1999 08:19:05 +0000 (08:19 +0000)]
A fix for one breaks another :( - do not ignore SIGCLD!
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27055
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Thu, 20 May 1999 07:10:41 +0000 (07:10 +0000)]
static initialization removal & K&R-ification
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27052
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 20 May 1999 02:27:28 +0000 (02:27 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27050
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 20 May 1999 01:54:28 +0000 (01:54 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27048
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 20 May 1999 00:52:36 +0000 (00:52 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27046
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 20 May 1999 00:41:26 +0000 (00:41 +0000)]
p
* jump.c (can_reverse_comparison_p): Do not abort if the comparison
insn for a conditional jump can not be found.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27043
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 20 May 1999 00:41:24 +0000 (00:41 +0000)]
�
* jump.c (can_reverse_comparison_p): Do not abort if the comparison
insn for a conditional jump can not be found.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27042
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 19 May 1999 23:06:13 +0000 (23:06 +0000)]
x
* mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
on variables in specific sections other than .sbss and .sdata.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27038
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 19 May 1999 23:06:09 +0000 (23:06 +0000)]
�
* mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
on variables in specific sections other than .sbss and .sdata.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27037
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 19 May 1999 20:01:04 +0000 (20:01 +0000)]
* pt.c (build_template_decl): Copy DECL_NONCONVERTING_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27034
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 19 May 1999 12:55:15 +0000 (12:55 +0000)]
* aclocal.m4, configure: Rebuilt.
* acinclude.m4 (version): New variable; pass to AM_INIT_AUTOMAKE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27033
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 19 May 1999 12:35:06 +0000 (12:35 +0000)]
* java/util/zip/GZIPOutputStream.java (write(byte[])): New
method.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27031
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27030
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 19 May 1999 11:24:18 +0000 (11:24 +0000)]
* decl2.c (start_static_storage_duration_function): Fix comment.
(finish_file): Create static storage duration functions lazily.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27029
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 19 May 1999 11:03:36 +0000 (11:03 +0000)]
* 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'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27028
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27027
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 19 May 1999 10:41:46 +0000 (10:41 +0000)]
new
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27026
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 19 May 1999 09:26:17 +0000 (09:26 +0000)]
* mauve-libgcj: Enable java.util.zip.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27025
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Wed, 19 May 1999 08:37:57 +0000 (08:37 +0000)]
KandR-ification of fixincl.x
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27024
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Wed, 19 May 1999 06:53:20 +0000 (06:53 +0000)]
* libjava.lang/Shazam.java: New file.
libjava.lang/Shazam.out: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27022
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 19 May 1999 04:32:46 +0000 (04:32 +0000)]
* tree.c (cp_build_qualified_type): Don't allow qualified function
types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27021
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27018
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 19 May 1999 02:15:03 +0000 (02:15 +0000)]
p
* fixinc/fixincl.tpl: Avoid depending on ANSI C features for
filename lists.
* fixinc/fixincl.x: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27017
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 19 May 1999 02:14:51 +0000 (02:14 +0000)]
�
* fixinc/fixincl.tpl: Avoid depending on ANSI C features for
filename lists.
* fixinc/fixincl.x: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27016
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 19 May 1999 02:01:52 +0000 (02:01 +0000)]
X
* gcc.c-torture/compile/990519-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27011
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 19 May 1999 02:01:50 +0000 (02:01 +0000)]
�
* gcc.c-torture/compile/990519-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27010
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 19 May 1999 01:58:23 +0000 (01:58 +0000)]
Avoid version # duplication.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27009
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 19 May 1999 01:56:41 +0000 (01:56 +0000)]
* gxxint.texi: Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27006
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 19 May 1999 01:54:03 +0000 (01:54 +0000)]
* i386.c (output_float_compare): Avoid GNU-C extensions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27005
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 19 May 1999 00:48:10 +0000 (00:48 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27001
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 18 May 1999 23:55:18 +0000 (23:55 +0000)]
* version.c: Bump to distinguish mainline tree from the
gcc-2.95 branch.
Also rotate the ChangeLog file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27000
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26999
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 18 May 1999 18:15:08 +0000 (18:15 +0000)]
new
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26998
138bc75d-0d04-0410-961f-
82ee72b054a4
warrenl [Tue, 18 May 1999 18:02:01 +0000 (18:02 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26997
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 18 May 1999 15:33:03 +0000 (15:33 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26996
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 18 May 1999 15:03:26 +0000 (15:03 +0000)]
* 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'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26995
138bc75d-0d04-0410-961f-
82ee72b054a4
burley [Tue, 18 May 1999 01:05:14 +0000 (01:05 +0000)]
improve open-coding of complex divide, use new method in g77
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26993
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 18 May 1999 00:45:03 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26992
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 23:58:15 +0000 (23:58 +0000)]
* configure.in (arm*-*-netbsd*): Use collect2.
(i[34567]86-*-netbsd*): Likewise.
(m68k*-*-netbsd*): Likewise.
(ns32k-*-netbsd*): Likewise.
(sparc-*-netbsd*): Likewise.
(vax-*-netbsd*): Likewise.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26991
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 23:37:19 +0000 (23:37 +0000)]
* cppspec.c: Insert -no-gcc into command line unless -gcc was
given by user.
* gcc.c (default_compilers): Define __GNUC__ and
__GNUC_MINOR__ only if -no-gcc was not given.
* objc/lang-specs.h: Likewise.
* cpp.texi: Document -x and -std options; explain that -lang
is no longer supported. Minor related corrections.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26990
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 23:35:15 +0000 (23:35 +0000)]
X
* lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc
was not given.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26989
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 23:35:13 +0000 (23:35 +0000)]
�
* lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc
was not given.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26988
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 23:34:11 +0000 (23:34 +0000)]
Fix ChangeLog entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26987
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 23:33:05 +0000 (23:33 +0000)]
P
* lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc
was not given.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26986
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 23:33:04 +0000 (23:33 +0000)]
�
* lang-specs.h: Define __GNUC__ and __GNUC_MINOR__ only if -no-gcc
was not given.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26985
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 23:28:09 +0000 (23:28 +0000)]
* lang-specs.h: Define __GNU_CC and __GNUC_MINOR__ only if -no-gcc
was not given.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26984
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 23:07:40 +0000 (23:07 +0000)]
* Makefile.in (stmp-fixproto): Pass location of mkinstalldirs to
fixproto.
* fixproto: Avoid unportable constructs such as `basename' and
`mkdir -p'. Use mkinstalldirs from the environment if `mkdir -p'
fails.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26983
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 23:03:48 +0000 (23:03 +0000)]
* stl_config.h: Only define __STL_PTHREADS with GLIBC >= 2 for
Linux.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26982
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 23:02:28 +0000 (23:02 +0000)]
* fixinc/fixincl.c: Remove #error, it is not portable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26981
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 22:58:56 +0000 (22:58 +0000)]
* libioP.h: Only include libc-lock.h if _IO_MTSAFE_IO is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26980
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 17 May 1999 22:56:24 +0000 (22:56 +0000)]
* collect2.c (main): Fix typo in COLLECT2_HOST_INITIALIZATION.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26979
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Mon, 17 May 1999 19:33:13 +0000 (19:33 +0000)]
Mon May 17 19:20:24 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (constructor_block_end:): New rule, tagged <node>.
(constructor_body:): Use `constructor_block_end' instead of
`block_end'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26978
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Mon, 17 May 1999 18:32:30 +0000 (18:32 +0000)]
Mon May 17 18:01:40 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (statement_nsi:): Pop `for' statement block.
(java_complete_lhs): Labelled blocks containing no statement are
marked as completing normally.
(Part of the previous check-in, where the generated parse.c was
forgotten.)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26977
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Mon, 17 May 1999 18:09:15 +0000 (18:09 +0000)]
Mon May 17 18:01:40 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (statement_nsi:): Pop `for' statement block.
(java_complete_lhs): Labelled blocks containing no statement are
marked as completing normally.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26976
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 17 May 1999 16:07:39 +0000 (16:07 +0000)]
* cp-tree.def (TEMPLATE_ID_EXPR): Update documentation.
* decl.c (grokfndecl): Don't allow inline declarations of friend
template specializations, or friend template specializations with
default arguments.
* pt.c (tsubst): Handle substitution into array types that does
not yield a fixed upper bound, even when not processing a
template.
(tsubst_copy): Deal with the fact that the second operand to a
TEMPLATE_ID_EXPR may be NULL_TREE, a TREE_LIST, or a TREE_VEC.
* search.c (marked_pushdecls_p): Don't descend into
TEMPLATE_TYPE_PARMs and the like.
(unmarked_pushdecls_p): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26975
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 17 May 1999 13:24:59 +0000 (13:24 +0000)]
* java/lang/natSystem.cc (init_properties): URL now points to
sourceware.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26974
138bc75d-0d04-0410-961f-
82ee72b054a4