platform/upstream/linaro-gcc.git
25 years agoFix dumb mistakes.
law [Tue, 25 May 1999 13:53:30 +0000 (13:53 +0000)]
Fix dumb mistakes.

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

25 years ago * gcc.c-torture/execute/990525-2.c: New test.
law [Tue, 25 May 1999 13:31:37 +0000 (13:31 +0000)]
    * gcc.c-torture/execute/990525-2.c: New test.

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

25 years ago
law [Tue, 25 May 1999 13:14:40 +0000 (13:14 +0000)]

        * flow.c (mark_set_1): Do not record BLKmode stores as dead
        store elimination candidates.

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

25 years agoTue May 25 11:20:46 1999 H.J. Lu (hjl@gnu.org)
bje [Tue, 25 May 1999 13:06:22 +0000 (13:06 +0000)]
Tue May 25 11:20:46 1999  H.J. Lu  (hjl@gnu.org)
* config.guess (dummy): Changed to $dummy.

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

25 years ago * typeck.c (casts_away_constness, casts_away_constness_r): Strip both
jason [Tue, 25 May 1999 11:55:58 +0000 (11:55 +0000)]
* typeck.c (casts_away_constness, casts_away_constness_r): Strip both
parts of pointer to data member types.

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

25 years agoExplicitly declare signed bitfields as signed.
nickc [Tue, 25 May 1999 07:16:43 +0000 (07:16 +0000)]
Explicitly declare signed bitfields as signed.

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

25 years ago * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
gavin [Tue, 25 May 1999 05:57:50 +0000 (05:57 +0000)]
* config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
TARGET_GAS.

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

25 years agoDaily bump.
law [Tue, 25 May 1999 00:45:34 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * gcc.c-torture/execute/990525-1.c: New test.
law [Tue, 25 May 1999 00:26:35 +0000 (00:26 +0000)]
    * gcc.c-torture/execute/990525-1.c: New test.

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

25 years ago * decl2.c (mark_vtable_entries): Don't make a copy of a function,
mmitchel [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'.  Just use `abort' instead.

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

25 years agoFix aix --with-gnu-ld configuration bug.
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.

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

25 years ago * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
rth [Mon, 24 May 1999 16:45:19 +0000 (16:45 +0000)]
    * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
        (ASM_OUTPUT_DESTRUCTOR): Define.

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

25 years ago * typeck.c (build_static_cast): Don't allow static_casts that cast
mmitchel [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.
(casts_away_constness_r): New function.
(casts_away_constness): Likewise.

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

25 years agoTidied up case statements
nickc [Mon, 24 May 1999 15:24:52 +0000 (15:24 +0000)]
Tidied up case statements

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

25 years ago * java/util/ResourceBundle.java (getBundle): Throw
tromey [Mon, 24 May 1999 15:00:02 +0000 (15:00 +0000)]
* java/util/ResourceBundle.java (getBundle): Throw
NullPointerException if baseName is null.

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

25 years ago * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
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 we have previously passed a jump
to the top of the loop.

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

25 years ago * gcc.c-torture/execute/990524-1.c: New test.
law [Mon, 24 May 1999 13:27:14 +0000 (13:27 +0000)]
    * gcc.c-torture/execute/990524-1.c: New test.

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

25 years agoFix blunder made when applying patch to arm.h
nickc [Mon, 24 May 1999 07:58:01 +0000 (07:58 +0000)]
Fix blunder made when applying patch to arm.h

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

25 years ago * g++.old-deja/g++.other/anon3.C: New test.
nathan [Mon, 24 May 1999 04:24:30 +0000 (04:24 +0000)]
* 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).

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

25 years ago * stmt.c (expand_end_bindings): Ignore any elements of VARS that
mmitchel [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.

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

25 years ago * decl.c (lookup_tag): Remove code no longer needed after
mmitchel [Mon, 24 May 1999 00:47:01 +0000 (00:47 +0000)]
* 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.

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

25 years agoDaily bump.
law [Mon, 24 May 1999 00:45:33 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * gcc.dg/990524-1.c: New test.
law [Sun, 23 May 1999 23:12:23 +0000 (23:12 +0000)]
    * gcc.dg/990524-1.c: New test.

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

25 years ago * gcc.c-torture/compile/990523-1.c: New test.
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

25 years agoSun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
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

25 years agoDaily bump.
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

25 years ago * pt.c (for_each_template_parm): Walk into TYPENAME_TYPEs,
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

25 years agoexpected
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

25 years ago * collect2.c (main): Only generate import or export file and add
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

25 years ago * java/util/zip/ZipInputStream.java (fill): New method.
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

25 years agoSat May 22 13:54:41 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
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

25 years ago * cp-tree.h (push_nested_namespace): Declare.
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

25 years ago * tree.c (mapcar): Handle LVALUE_EXPR.
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

25 years agoApply patch from Philip Blundell <pb@nexus.co.uk> to fix PIC support for
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

25 years agoFix erroneous warning message
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

25 years agooops - omitted from previous delta
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

25 years agoOnly defined NEED_PLT_GOT if it is not already defined.
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

25 years agoFix description of a stack element in a PARALLEL generated by FUNCTION_ARG
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

25 years agoFix comment (insns -> bytes).
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

25 years ago1999-05-22 Ben Elliston <bje@cygnus.com>
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

25 years ago1999-05-22 Ben Elliston <bje@cygnus.com>
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

25 years ago * cp-tree.h (cplus_expand_constant): Declare.
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

25 years ago * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
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

25 years agoDaily bump.
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

25 years agoFri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
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

25 years ago * Make-lang.in (cc1plus): Make it depend on gxx.gperf.
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

25 years ago * typeck.c (build_ptrmemfunc): Handle PTRMEM_CSTs carefully to
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

25 years ago * Makefile.in: Rebuilt.
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

25 years agoTypo fix in last patch.
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

25 years ago * sh.h (BRANCH_COST): Define.
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

25 years ago * pt.c (tsubst): Don't issue error messages when we're not
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

25 years ago1999-05-21 Andrew Haley <aph@cygnus.com>
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

25 years agoDaily bump.
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

25 years agoThu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
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

25 years agoThu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
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

25 years ago * class.c (instantiate_type): Downgrade errors for object-dependent
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

25 years ago * decl.c (grokdeclarator): Don't treat [] as indicating a
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

25 years ago * call.c (build_object_call): Don't look at DECL_NAME for a type.
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

25 years agoRemove duplicate parameter name
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

25 years ago * pt.c (for_each_template_parm): Rework to match documentation.
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

25 years ago * class.c (finish_struct_1): Still check for ANON_AGGR_TYPE_P.
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

25 years agonew
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

25 years ago * tree.c (lvalue_p_1): A NOP_EXPR can be an lvalue.
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

25 years ago * cp-tree.h (make_ptrmem_cst): New function.
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

25 years ago * expr.h (lang_expand_constant): Declare.
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

25 years ago * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
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

25 years ago1999-05-20 Andrew Haley <aph@cygnus.com>
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

25 years agoA fix for one breaks another :( - do not ignore SIGCLD!
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

25 years agostatic initialization removal & K&R-ification
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

25 years agolibchill, libf2c, libobjc:
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

25 years ago * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
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

25 years agoDaily bump.
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

25 years agop
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

25 years ago
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

25 years agox
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

25 years ago
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

25 years ago * pt.c (build_template_decl): Copy DECL_NONCONVERTING_P.
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

25 years ago * aclocal.m4, configure: Rebuilt.
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

25 years ago * java/util/zip/GZIPOutputStream.java (write(byte[])): New
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

25 years agoWarning fixes:
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

25 years ago * decl2.c (start_static_storage_duration_function): Fix comment.
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

25 years ago * java/util/zip/natInflater.cc (inflate): Cast `len' to unsigned.
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

25 years ago Implement anonymous structs.
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

25 years agonew
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

25 years ago * mauve-libgcj: Enable java.util.zip.
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

25 years agoKandR-ification of fixincl.x
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

25 years ago * libjava.lang/Shazam.java: New file.
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

25 years ago * tree.c (cp_build_qualified_type): Don't allow qualified function
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

25 years ago * stmt.c (expand_return): Call start_cleanup_deferral and
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

25 years agop
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

25 years ago
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

25 years agoX
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

25 years ago
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

25 years agoAvoid version # duplication.
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

25 years ago * gxxint.texi: Fix typo.
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

25 years ago * i386.c (output_float_compare): Avoid GNU-C extensions.
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

25 years ago * call.c (find_scoped_type, resolve_scope_to_name): Lose.
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

25 years ago * version.c: Bump to distinguish mainline tree from the
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

25 years ago * call.c (joust): Compare the types of the conv ops, not the
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

25 years agonew
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