Jason Merrill [Wed, 16 Jun 1999 10:38:19 +0000 (10:38 +0000)]
dwarfout.c (add_incomplete_type): New fn.
* dwarfout.c (add_incomplete_type): New fn.
(output_type): Call it.
(retry_incomplete_types): New fn.
(dwarfout_finish): Call it.
From Eric Raskin <ehr@listworks.com>:
(output_type): Output types for bases.
Mark Mitchell [Tue, 15 Jun 1999 16:48:27 +0000 (16:48 +0000)]
cp-tree.h (class_cache_firstobj): Declare.
* cp-tree.h (class_cache_firstobj): Declare.
(maybe_push_cache_obstack): Rename to push_cache_obstack.
* class.c (permanent_obstack): Remove declaration.
(class_cache_firstobj): Make it global.
(add_method): Don't use permanent_obstack directly.
(pushclass): Only free the class_cache_obstack if we know how far
back to free it.
(maybe_push_cache_obstack): Rename to push_cache_obstack.
* decl.c: Remove dead comment.
(saved_scope): Add class_cache_firstobj.
(push_to_top_level): Save it.
(pop_from_top_level): Restore it.
(push_class_level_binding): Use push_cache_obstack, not
maybe_push_cache_obstack.
* search.c (push_class_decls): Likewise.
Alexandre Oliva [Sat, 12 Jun 1999 15:19:31 +0000 (15:19 +0000)]
test_summary: Set default mail-address and version for egcs instead of relying on...
* test_summary: Set default mail-address and version for egcs
instead of relying on unpredictable pathnames.
Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>
Jeffrey A Law [Fri, 11 Jun 1999 03:11:43 +0000 (03:11 +0000)]
Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
* Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
* libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
initializers is some circumstances.
Bruce Korb [Thu, 10 Jun 1999 22:23:02 +0000 (22:23 +0000)]
inclhack.def (sun_auth_proto): We do not know how to test for the presence of valid prototypes.
* fixinc/inclhack.def(sun_auth_proto): We do not know how to
test for the presence of valid prototypes. Delete bypass expr.
(ioctl_fix_ctrl): Correct the selection expression.
Bring over from the mainline tree. Resync.
Jeffrey A Law [Thu, 10 Jun 1999 00:24:42 +0000 (00:24 +0000)]
loop.c (strength_reduce): Disable biv->giv translations and giv recombination.
* loop.c (strength_reduce): Disable biv->giv translations and
giv recombination. For the release branch only.
Should work around 990513-1.c regressions. Possibly others. I'll be
running some new tests soon :-)
J"orn Rennecke [Wed, 9 Jun 1999 22:39:44 +0000 (22:39 +0000)]
loop.c (loop_insn_first_p): Don't compare LUIDs when P is a note...
* loop.c (loop_insn_first_p): Don't compare LUIDs when P
is a note; use <= for the compare; advance P while it is
a NOTE.
Bring bugfix over from mainline sources.
Bruce Korb [Wed, 9 Jun 1999 22:23:37 +0000 (16:23 -0600)]
Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
*fixinc/inclhack.def(sun_auth_proto): bypass the patch if
the typed arguments are not part of a comment
(ioctl_fix_ctrl): Added a purpose comment
*fixinc/fixincl.x: regenerate
*fixinc/inclhack.sh: regenerate
Bring over from the mainline sources.
Jeffrey A Law [Wed, 9 Jun 1999 22:16:33 +0000 (22:16 +0000)]
inclhack.def (no_double_slash): Fix quoting for test.
* fixinc/inclhack.def (no_double_slash): Fix quoting for test.
* fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
Fixes "//" problem with fixinc on alphas.
Jim Wilson [Wed, 9 Jun 1999 03:03:18 +0000 (03:03 +0000)]
configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
* configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
* configure: Regenerate.
* configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
Add use of x-aix41-gld.
Bring over from the mainline tree to fix various problems building
aix4.1 --with-gnu-ld.
Jeffrey A Law [Mon, 7 Jun 1999 21:37:30 +0000 (21:37 +0000)]
x-hp3bsd44: Delete obsolete and incorrect file.
Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
* m68k/x-hp3bsd44: Delete obsolete and incorrect file.
* configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
* configure: Rebuilt.
Mark Kettenis [Mon, 7 Jun 1999 21:11:47 +0000 (15:11 -0600)]
gnu.h: Include <gnu.h> right after <i386/linux.h>...
�
* config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
such that we can override its definitions if necessary.
(CPP_SPEC): New define. Support processor specific predefines via
%(cpp_cpu).
(CC1_SPEC): New define. Support processor specific compiler
options via %(cc1_cpu).
(STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
-static.
Mark Kettenis [Mon, 7 Jun 1999 21:11:37 +0000 (15:11 -0600)]
gnu.h: Include <gnu.h> right after <i386/linux.h>...
�
* config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
such that we can override its definitions if necessary.
(CPP_SPEC): New define. Support processor specific predefines via
%(cpp_cpu).
(CC1_SPEC): New define. Support processor specific compiler
options via %(cc1_cpu).
(STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
-static.
Kaveh R. Ghazi [Mon, 7 Jun 1999 20:34:57 +0000 (20:34 +0000)]
inclhack.def (math_gcc_ifndefs): Insert whitespace between sed's -e flag, and the open-quote following it.
* fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
between sed's -e flag, and the open-quote following it.
* fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
Bruce Korb [Mon, 7 Jun 1999 20:26:09 +0000 (14:26 -0600)]
fixincl.c (global def): Add FD_SHELL_SCRIPT to mark fixes that need "file=xxx\n" prepended before...
* fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
fixes that need "file=xxx\n" prepended before invocation
(start_fixer - new): starting the fixer process is complex enough
to warrent its own routine. It prepends the "file=xxx\n" stuff.
(process): uses the new routine; omit usage of putenv()
* fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
* fixinc/fixincl.x: regenerate
Bring over from the mainline tree.
Robert Lipe [Mon, 7 Jun 1999 19:46:11 +0000 (19:46 +0000)]
varasm.c (assemble_start_function): Remove the function from the pending weak decls list when we define a function.
* varasm.c (assemble_start_function): Remove the function
from the pending weak decls list when we define a function.
(assemble_variable): Similarly for variables.
(weak_finish): Ignore items on the list with a NULL name.
(remove_from_ending_weak_list); New function to "remove" an item
from the pending weak declarations list.
Fixes various solaris & sco regressions.
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r27401
Jakub Jelinek [Sun, 6 Jun 1999 12:11:50 +0000 (14:11 +0200)]
Jakub Jelinek <jj@ultra.linux.cz>
Jakub Jelinek <jj@ultra.linux.cz>
* sparc.md (abstf2): This should be an expand.
(split after abstf2_notv9): Fix mode.
(abstf2_hq_v9): New pattern.
(abstf2_v9): Only use when no hard quad.
(absdf2_v9): Fix if target is not the same as source.
(ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
Add correct output constraints.
Anthony Green [Sat, 5 Jun 1999 15:04:11 +0000 (15:04 +0000)]
[multiple changes]
Sat Jun 5 11:46:59 1999 Anthony Green <green@cygnus.com>
* Make-lang.in (gcjh): More parallel build fixes.
1999-06-03 Mike Stump <mrs@wrs.com>
* Make-lang.in (JCF_DUMP_SOURCES, jvgenmain): Fix parallel builds.
Anthony Green [Sat, 5 Jun 1999 08:18:30 +0000 (08:18 +0000)]
[multiple changes]
Wed Jun 2 10:44:38 1999 Anthony Green <green@cygnus.com>
* except.c (link_handler): Chain exception handlers in order.
Wed Jun 2 10:41:24 1999 Anthony Green <green@cygnus.com>
* expr.c (expand_byte_code): Fill unreachable bytecode regions
with nops and process as usual in order to always set correct EH
ranges. Emit detailed warnings about unreachable bytecodes.
Wed Jun 2 10:35:13 1999 Anthony Green <green@cygnus.com>
* class.c (build_utf8_ref): Mark cinit and utf8 tree nodes as
constant.
Fri May 28 18:22:45 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (lookup_field_wrapper): Unified returned value to NULL
or the searched field decl.
Fri May 28 11:34:05 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (fold_constant_for_init): Convert numerical constant
values to the type of the assigned field.
Thu May 27 19:57:40 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* expr.c (lookup_field): Relaxed the test on class loading error
detection.
* parse.y (fold_constant_for_init): Enabeled old code.
Wed May 26 18:06:02 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (valid_ref_assignconv_cast_p): Let `_Jv_CheckCast'
decide the validity of the cast of a java.lang.Cloneable reference
to an array.
(patch_conditional_expr): Fixed first argument passed to
binary_numeric_promotion.
Wed May 26 15:33:06 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (qualify_ambiguous_name): Take into account that a
CONVERT_EXPR might specify a type as a WFL.
Tue May 25 15:06:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (patch_assignment): Save the rhs before using it as an
argument to _Jv_CheckArrayStore.
Tue May 25 11:23:59 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* lex.c (java_parse_doc_section): Fixed `tag' buffer size.
Mon May 24 13:26:00 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* lex.c (java_lex): Accepts `+' or `-' after the beginning of a
floating point litteral only when the exponent indicator has been
parsed.
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.
1999-05-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* 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.
* std/std_valarray.h: New file.
* std/slice.h: New file.
* std/slice_array.h: New file.
* std/gslice.h: New file.
* std/gslice_array.h: New file.
* std/mask_array.h: New file.
* std/indirect_array.h: New file.
* std/valarray_array.h: New file.
* std/valarray_array.tcc: New file.
* std/valarray_meta.h: New file.
* valarray.cc: New file.
* valarray: New file
* Makefile.in (OBJS): add valarray.o
(HEADERS): add valarray
(valarray.o): define dependency on valarray.cc
(install): make it possible to install valarray file.
Jeffrey A Law [Thu, 3 Jun 1999 23:01:37 +0000 (23:01 +0000)]
inclhack.def (limits_ifndefs): Also apply to sys/limits.h
Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
* fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
* fixinc/fixincl.x: Regenerated.
* fixinc/inclhack.sh: Regenerated.