Richard Henderson [Fri, 26 Feb 1999 15:35:21 +0000 (07:35 -0800)]
genattrtab.c (simplify_knowing): Fix uninitialized read in Feb 21 change.
* genattrtab.c (simplify_knowing): Fix uninitialized read
in Feb 21 change.
From-SVN: r25472
Per Bothner [Fri, 26 Feb 1999 14:50:21 +0000 (06:50 -0800)]
check-init.c (check_init): COPYN takes word count, not bit count.
0
* check-init.c (check_init): COPYN takes word count, not bit count.
From-SVN: r25471
Per Bothner [Fri, 26 Feb 1999 14:50:20 +0000 (06:50 -0800)]
check-init.c (check_init): COPYN takes word count, not bit count.
�
* check-init.c (check_init): COPYN takes word count, not bit count.
From-SVN: r25470
Per Bothner [Fri, 26 Feb 1999 14:43:30 +0000 (06:43 -0800)]
typeck.c (convert_ieee_real_to_integer): Use save_expr instead of explicit build_decl.
�
* typeck.c (convert_ieee_real_to_integer): Use save_expr instead of
explicit build_decl. (Avoids crash in reload when optimizing.)
* decl.c (complete_start_java_method): Handle synchronized method
even when compiling from bytecode.
From-SVN: r25469
Per Bothner [Fri, 26 Feb 1999 14:43:29 +0000 (06:43 -0800)]
typeck.c (convert_ieee_real_to_integer): Use save_expr instead of explicit build_decl.
�
* typeck.c (convert_ieee_real_to_integer): Use save_expr instead of
explicit build_decl. (Avoids crash in reload when optimizing.)
* decl.c (complete_start_java_method): Handle synchronized method
even when compiling from bytecode.
From-SVN: r25468
Tom Tromey [Fri, 26 Feb 1999 12:49:52 +0000 (12:49 +0000)]
gjavah.c (add_class_decl): Only generate `#include' if outer class is not the name of the class we are...
* gjavah.c (add_class_decl): Only generate `#include' if outer
class is not the name of the class we are processing. Correctly
append `.h' in #include.
(process_file): Clean up newlines around generated `#include's.
(decode_signature_piece): Correctly handle inner classes.
(struct include): New structure.
(all_includes): New global.
(print_include): New function.
(add_class_decl): Use it.
(process_file): Likewise.
(add_class_decl): Generate include for java-array.h if array
seen.
(process_file): Don't generate java-array.h include.
From-SVN: r25460
Mark Mitchell [Fri, 26 Feb 1999 12:15:37 +0000 (12:15 +0000)]
typeck.c (decay_conversion): Don't confuse constant array variables with their intiailizers.
* typeck.c (decay_conversion): Don't confuse constant array
variables with their intiailizers.
From-SVN: r25459
Mark Mitchell [Fri, 26 Feb 1999 12:11:43 +0000 (12:11 +0000)]
decl.c (duplicate_decls): Copy DECL_TEMPLATE_INSTANTIATED when merging decls.
* decl.c (duplicate_decls): Copy DECL_TEMPLATE_INSTANTIATED when
merging decls.
* pt.c (regenerate_decl_from_template): Tweak for clarity.
(instantiate_decl): Mark a decl instantiated before regenerating
it to avoid recursion.
* tree.c (mapcar): Don't call decl_constant_value unless we know
something is TREE_READONLY_DECL_P.
From-SVN: r25458
Mark Mitchell [Fri, 26 Feb 1999 12:00:10 +0000 (12:00 +0000)]
class.c (check_for_override): Don't stop checking when we find the first overridden function.
* class.c (check_for_override): Don't stop checking when we find
the first overridden function. Delete #if 0'd code.
* search.c (get_matching_virtual): Likewise.
From-SVN: r25457
Tom Tromey [Fri, 26 Feb 1999 11:33:53 +0000 (11:33 +0000)]
gjavah.c (add_namelet): Check for standard package names here.
* gjavah.c (add_namelet): Check for standard package names here.
(add_class_decl): Don't check for standard package names here.
From-SVN: r25456
Zack Weinberg [Fri, 26 Feb 1999 06:00:48 +0000 (06:00 +0000)]
Don't shift signed positive integers into the sign bit
From-SVN: r25455
Jeffrey A Law [Fri, 26 Feb 1999 01:29:21 +0000 (01:29 +0000)]
* c-pragma.c (add_weak); Delete. Moved into...
* varasm.c (add_weak): New external function.
(declare_weak): If HANDLE_PRAGMA_WEAK, then add the function to
the list of weak functions.
* c-pragma (add_weak): Declare.
From-SVN: r25454
Jeff Law [Fri, 26 Feb 1999 00:45:04 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25451
Richard Henderson [Thu, 25 Feb 1999 23:45:42 +0000 (15:45 -0800)]
Flow rewrite to use basic block structures and edge lists.
From-SVN: r25450
Jason Merrill [Thu, 25 Feb 1999 21:35:57 +0000 (21:35 +0000)]
fixinc.wrap: Also handle struct queue in sys/stream.h.
* fixinc.wrap: Also handle struct queue in sys/stream.h.
* fixinc.svr4: Likewise.
From-SVN: r25449
Jason Merrill [Thu, 25 Feb 1999 21:26:06 +0000 (21:26 +0000)]
dwarf2out.c (scope_die_for): Set scope_die to comp_unit_die rather than asserting it.
* dwarf2out.c (scope_die_for): Set scope_die to comp_unit_die
rather than asserting it.
From-SVN: r25448
Kaveh R. Ghazi [Thu, 25 Feb 1999 20:48:42 +0000 (20:48 +0000)]
cppexp.c (left_shift, [...]): Replace uses of long/HOST_BITS_PER_LONG with...
* cppexp.c (left_shift, right_shift, parse_charconst, COMPARE,
cpp_parse_expr): Replace uses of long/HOST_BITS_PER_LONG with
HOST_WIDEST_INT/HOST_BITS_PER_WIDEST_INT.
From-SVN: r25447
Kaveh R. Ghazi [Thu, 25 Feb 1999 20:40:21 +0000 (20:40 +0000)]
Makefile.in (cppmain.o, [...]): Don't depend on machmode.h.
* Makefile.in (cppmain.o, cpplib.o, cpphash.o, cppalloc.o,
cpperror.o, cppexp.o, cppfiles.o, cppinit.o, fix-header.o,
scan-decls.o): Don't depend on machmode.h.
* cppexp.c: Don't define CHAR_BIT or HOST_BITS_PER_WIDE_INT anymore.
Replace all instances of HOST_WIDE_INT with HOST_WIDEST_INT.
* cppfiles.c: Likewise.
* cpplib.c: Likewise.
* cpplib.h: Likewise. Also don't include machmode.h anymore.
From-SVN: r25446
Richard Henderson [Thu, 25 Feb 1999 18:50:07 +0000 (10:50 -0800)]
gcc.c (default_compilers): Define __FAST_MATH__ when appropriate.
* gcc.c (default_compilers): Define __FAST_MATH__ when appropriate.
* cp/lang-specs.h: Likewise.
* f/lang-specs.h: Likewise.
* objc/lang-specs.h: Likewise.
From-SVN: r25445
Zack Weinberg [Thu, 25 Feb 1999 18:06:54 +0000 (18:06 +0000)]
Fix two typos
From-SVN: r25444
Jeffrey A Law [Thu, 25 Feb 1999 16:33:18 +0000 (16:33 +0000)]
* pa.md (call patterns): Lose unused argument to output_call.
From-SVN: r25443
Jeffrey A Law [Thu, 25 Feb 1999 15:25:06 +0000 (15:25 +0000)]
* print-rtl.c (print_rtl): Print /j and /c for the jump/call flags.
From-SVN: r25442
Zack Weinberg [Thu, 25 Feb 1999 14:24:40 +0000 (14:24 +0000)]
cpphash.c (install): Rename to cpp_install, add cpp_reader* first argument.
1999-02-25 17:14 -0500 Zack Weinberg <zack@rabi.columbia.edu>
* cpphash.c (install): Rename to cpp_install, add cpp_reader*
first argument. All callers changed.
(hashtab): Removed.
(cpp_lookup, cpp_install): Change all refs to hashtab to
pfile->hashtab.
(cpp_hash_cleanup): Removed.
* cpphash.h: Adjust prototypes.
* cpplib.h (struct cpp_reader): Add hashtab pointer.
* cppinit.c (cpp_reader_init): Also allocate space for the
hashtab.
(cpp_cleanup): Delete all macros and free the hashtab.
From-SVN: r25441
J"orn Rennecke [Thu, 25 Feb 1999 14:02:32 +0000 (14:02 +0000)]
sh.h (PASS_IN_REG_P): For TARGET_HITACHI, don't pass structures in registers.
* sh.h (PASS_IN_REG_P): For TARGET_HITACHI, don't pass structures
in registers.
* expr.h (PRETEND_OUTGOING_VARARGS_NAMED): Provide default definition.
* function.c (assign_parms): Honour PRETEND_OUTGOING_VARARGS_NAMED.
* calls.c (expand_call): Likewise.
* sh.c (sh_expand_prologue): For TARGET_HITACHI, don't push varargs /
stdarg arguments.
* sh.h (CPP_SPEC): Add -D__HITACHI__ for -mhitachi.
(FUNCTION_ARG): For TARGET_HITACHI, don't pass unnamed
arguments in registers.
(PRETEND_OUTGOING_VARARGS_NAMED): Define.
* va-sh.h (entire file): If __HITACHI__ is defined, use sh[123]
flavour varargs.
From-SVN: r25440
Tom Tromey [Thu, 25 Feb 1999 12:36:03 +0000 (12:36 +0000)]
parse.y (read_import_dir): Use `|=', not `+=', to set `found'.
* parse.y (read_import_dir): Use `|=', not `+=', to set `found'.
When reading a zip file, only use strncmp if both strings are
bigger than the buffer length. Initialize `k' when looping
through zip file.
From-SVN: r25439
Kaveh R. Ghazi [Thu, 25 Feb 1999 11:43:00 +0000 (11:43 +0000)]
cse.c (dump_class): Revert last change and make the prototype extern.
* cse.c (dump_class): Revert last change and make the prototype
extern.
From-SVN: r25438
Craig Burley [Thu, 25 Feb 1999 11:32:08 +0000 (11:32 +0000)]
Clarify/index lack of run-time allocation for concatenation
From-SVN: r25437
J"orn Rennecke [Thu, 25 Feb 1999 11:16:17 +0000 (11:16 +0000)]
rtl.h (insn_first_p): Don't declare.
* rtl.h (insn_first_p): Don't declare.
* rtlanal.c (insn_first_p): Delete.
* loop.c (loop_insn_first_p): Faster implementation.
From-SVN: r25436
Richard Earnshaw [Thu, 25 Feb 1999 10:57:17 +0000 (10:57 +0000)]
Delete target options -m2 -m3 & -m6.
Fix pic register initialization.
Update zero-extraction patterns.
From-SVN: r25435
Jason Merrill [Thu, 25 Feb 1999 10:49:39 +0000 (05:49 -0500)]
new
From-SVN: r25434
J"orn Rennecke [Thu, 25 Feb 1999 10:46:06 +0000 (10:46 +0000)]
stmt.c (expand_end_loop): Grok code emitted by expand_exit_loop_if_false.
* stmt.c (expand_end_loop): Grok code emitted by
expand_exit_loop_if_false.
From-SVN: r25433
Nick Clifton [Thu, 25 Feb 1999 10:36:37 +0000 (10:36 +0000)]
Fix minor typo.
From-SVN: r25432
Nick Clifton [Thu, 25 Feb 1999 10:20:21 +0000 (10:20 +0000)]
Tidy up previous delta
From-SVN: r25431
Kaveh R. Ghazi [Thu, 25 Feb 1999 09:29:10 +0000 (09:29 +0000)]
cse.c (dump_class): Make the function definition static to match the prototype.
* cse.c (dump_class): Make the function definition static to match
the prototype.
From-SVN: r25430
Andreas Jaeger [Thu, 25 Feb 1999 09:04:35 +0000 (09:04 +0000)]
fix @xref's to have trailing commas [from Andreas Jaeger <aj@arthur.rhein-neckar.de>]
From-SVN: r25429
Craig Burley [Thu, 25 Feb 1999 04:33:38 +0000 (23:33 -0500)]
fix up ChangeLog entry confusion
From-SVN: r25428
Jeff Law [Thu, 25 Feb 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25424
Martin v. Löwis [Thu, 25 Feb 1999 00:40:27 +0000 (00:40 +0000)]
New test case.
From-SVN: r25423
Martin v. Löwis [Thu, 25 Feb 1999 00:33:51 +0000 (00:33 +0000)]
New test cases.
From-SVN: r25422
Jason Merrill [Thu, 25 Feb 1999 00:11:35 +0000 (19:11 -0500)]
typeck.c (convert_for_assignment): Allow boolean integral constant expressions to convert to null pointer.
* typeck.c (convert_for_assignment): Allow boolean integral constant
expressions to convert to null pointer.
* decl.c (lookup_namespace_name): Resolve namespace aliases.
* class.c (push_nested_class): Allow namespaces.
* decl2.c (set_decl_namespace): Add friendp parameter.
* decl.c (grokfndecl): Pass it.
(grokvardecl): Likewise.
* cp-tree.h: Change declaration.
From-SVN: r25420
Jason Merrill [Wed, 24 Feb 1999 23:50:35 +0000 (23:50 +0000)]
* configure.in: Fix INSTALLDIR sed pattern for Solaris sed.
From-SVN: r25419
Jim Wilson [Wed, 24 Feb 1999 21:00:04 +0000 (21:00 +0000)]
Fix cross compiler build failure in dbxout.c.
* dbxout.c (gstab.h): Use if CROSS_COMPILE.
From-SVN: r25417
Jeffrey A Law [Wed, 24 Feb 1999 19:06:17 +0000 (19:06 +0000)]
calls.c (initialize_argument_information): New function extracted from expand_call.
* calls.c (initialize_argument_information): New function extracted
from expand_call.
(expand_call): Use initialize_argument_information. Remove variables
which are no longer used due to cleanups.
From-SVN: r25416
Craig Burley [Wed, 24 Feb 1999 19:03:02 +0000 (14:03 -0500)]
finish applying earlier patch from Dave Love
From-SVN: r25415
Craig Burley [Wed, 24 Feb 1999 18:54:55 +0000 (13:54 -0500)]
changelog entries keep people happy
From-SVN: r25414
Craig Burley [Wed, 24 Feb 1999 18:48:17 +0000 (13:48 -0500)]
move test to its proper home, given current g77
From-SVN: r25413
Jim Wilson [Wed, 24 Feb 1999 17:48:42 +0000 (17:48 +0000)]
Fix dwarf2 debug error found by gdb testsuite: add big-endian correction.
* dwarf2out.c (add_location_or_const_value_attribute): Add big
endian correction for parms passed in regs but living on the stack.
From-SVN: r25412
Jeffrey A Law [Wed, 24 Feb 1999 17:42:40 +0000 (17:42 +0000)]
calls.c (compute_argument_block_size): New function, extracted from expand_calls.
* calls.c (compute_argument_block_size): New function, extracted from
expand_calls.
(expand_calls): Use compute_argument_block_size. Delete
original_args_size, use unadjusted_args_size instead.
From-SVN: r25411
Joern Rennecke [Wed, 24 Feb 1999 16:54:38 +0000 (16:54 +0000)]
Typo fix in comment.
From-SVN: r25410
Jeffrey A Law [Wed, 24 Feb 1999 16:29:36 +0000 (16:29 +0000)]
calls.c (precompute_arguments): New function, extracted from expand_call.
* calls.c (precompute_arguments): New function, extracted from
expand_call.
(expand_call): Use precompute_arguments.
From-SVN: r25409
Nick Clifton [Wed, 24 Feb 1999 16:23:58 +0000 (16:23 +0000)]
Fix typo in arm recognition string
From-SVN: r25408
Jeffrey A Law [Wed, 24 Feb 1999 15:07:38 +0000 (15:07 +0000)]
calls.c (finalize_must_preallocate): New function, extracted from expand_call.
* calls.c (finalize_must_preallocate): New function, extracted from
expand_call.
(expand_call): Use finalize_must_preallocate.
* calls.c (store_one_arg): Mark "variable_size" as possibly unused.
From-SVN: r25407
Nick Clifton [Wed, 24 Feb 1999 14:12:44 +0000 (14:12 +0000)]
Add -O3 to TORTURE_OPTIONS list.
From-SVN: r25406
Tom Tromey [Wed, 24 Feb 1999 13:47:39 +0000 (13:47 +0000)]
gjavah.c (struct namelet): New structure.
* gjavah.c (struct namelet): New structure.
(add_namelet): New function.
(print_namelet): New function.
(print_class_decls): Use add_namelet and print_namelet to generate
namespaces and not classes.
(method_printed): New global.
(HANDLE_END_METHOD): Examine method_printed.
(print_method_info): Set method_printed when required. Print
error if function to be ignored is marked virtual. Handle $finit$
method.
(METHOD_IS_FINAL): New macro.
(print_field_info): Use it.
(HANDLE_METHOD): Clear method_printed.
(method_pass): New global.
(HANDLE_END_FIELD): Call add_class_decl on the first pass.
(process_file): Do two passes over both fields and methods.
(HANDLE_METHOD): Examine method_pass.
(root): New global.
(add_class_decl): New function.
(print_class_decls): Don't scan over entire constant pool.
From-SVN: r25403
Jeffrey A Law [Wed, 24 Feb 1999 13:17:04 +0000 (13:17 +0000)]
regclass.c (record_reg_classes, case 'p'): Set classes appropriately.
* regclass.c (record_reg_classes, case 'p'): Set classes appropriately.
An alternative always fails if it needs a pseudo and no suitable
register class can be found.
Bootstrapped on solaris.
From-SVN: r25402
J"orn Rennecke [Wed, 24 Feb 1999 11:50:54 +0000 (11:50 +0000)]
loop.h (loop_insn_first_p): Declare.
* loop.h (loop_insn_first_p): Declare.
* loop.c (loop_insn_first_p): No longer static.
* unroll.c (iteration_info) Fix comparison to
reg_iv_type->num_elements.
Before accessing reg_biv_class, check index against
max_reg_before_loop.
Fix and enable code for giv iterators.
(loop_iterations): Compare with reg_iv_type->num_elements instead
of with max_reg_before_loop.
From-SVN: r25401
Jason Merrill [Wed, 24 Feb 1999 11:46:56 +0000 (11:46 +0000)]
* pt.c (tsubst): Allow an array of explicit size zero.
From-SVN: r25400
J"orn Rennecke [Wed, 24 Feb 1999 11:18:59 +0000 (11:18 +0000)]
* unroll.c (unroll_loop): Avoid out-of-bounds index for local_regno.
From-SVN: r25399
Zack Weinberg [Wed, 24 Feb 1999 11:09:08 +0000 (11:09 +0000)]
New testcase for cpp, written by Kaveh Ghazi <ghazi@caip.rutgers.edu>
From-SVN: r25398
Vladimir N. Makarov [Wed, 24 Feb 1999 08:33:57 +0000 (08:33 +0000)]
sparc.h (CONDITIONAL_REGISTER_USAGE): Don't use PIC_OFFSET_TABLE_REGNUM for register allocation when -fPIC.
Wed Feb 24 11:26:41 1999 Vladimir N. Makarov <vmakarov@cygnus.com>
* config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Don't use
PIC_OFFSET_TABLE_REGNUM for register allocation when -fPIC.
From-SVN: r25397
Craig Burley [Wed, 24 Feb 1999 08:15:19 +0000 (03:15 -0500)]
update lib[FIU]77/configure from autoconf 2.13
From-SVN: r25396
Craig Burley [Wed, 24 Feb 1999 08:13:43 +0000 (03:13 -0500)]
fix up entries
From-SVN: r25395
Alexandre Oliva [Wed, 24 Feb 1999 01:03:01 +0000 (01:03 +0000)]
Makefile.in: Regen dependencies.
* lib/Makefile.in: Regen dependencies.
* makeinfo/Makefile.in, util/Makefile.in: Likewise.
From-SVN: r25391
Jeff Law [Wed, 24 Feb 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25390
Tom Tromey [Tue, 23 Feb 1999 17:42:38 +0000 (17:42 +0000)]
jvspec.c (lang_specific_driver): Recognize -fsyntax-only and disable linking in that case.
* jvspec.c (lang_specific_driver): Recognize -fsyntax-only and
disable linking in that case.
From-SVN: r25389
Marc Lehmann [Tue, 23 Feb 1999 10:23:02 +0000 (10:23 +0000)]
�
corrected a minor typoe
From-SVN: r25388
Martin v. Löwis [Tue, 23 Feb 1999 09:11:19 +0000 (09:11 +0000)]
Mark failing code as XFAIL
From-SVN: r25387
Jason Merrill [Tue, 23 Feb 1999 01:44:23 +0000 (20:44 -0500)]
errfn.c: Change varargs code to look like toplev.c.
* errfn.c: Change varargs code to look like toplev.c.
* method.c (process_modifiers): Don't prepend 'U' for char or
wchar_t.
From-SVN: r25386
Jeff Law [Tue, 23 Feb 1999 00:45:04 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25385
Andrew Cagney [Mon, 22 Feb 1999 19:38:39 +0000 (19:38 +0000)]
Fix mips16 debug info problems with frame address.
* config/mips/mips.c (mips_debugger_offset): When TARGET_MIPS16 &&
frame_pointer_needed adjust frame size.
(function_prologue): Don't MIPS16 .mask GPOFFSET. Already adjusted
in .frame pseudo-op.
Frm Jim Wilson <wilson@cygnus.com>:
* mips.c (function_prologue): Adjust frame size in .frame pseudo-op
when TARGET_MIPS16 && frame_pointer_needed.
From-SVN: r25382
Nick Clifton [Mon, 22 Feb 1999 17:24:21 +0000 (17:24 +0000)]
Support ARM/Linux's armv syntax
From-SVN: r25381
Nick Clifton [Mon, 22 Feb 1999 16:47:59 +0000 (16:47 +0000)]
Apply ARM/Linux patches.
Rework cpu/architecture command line parsing.
From-SVN: r25380
Martin v. Löwis [Mon, 22 Feb 1999 16:15:42 +0000 (16:15 +0000)]
New test case from Nathan Sidwell.
From-SVN: r25379
Andrew MacLeod [Mon, 22 Feb 1999 14:11:58 +0000 (14:11 +0000)]
loop.c (libcall_other_regs): Make extern.
* loop.c (libcall_other_regs): Make extern.
* rtl.h (find_last_value): Add parameter to prototype.
(libcall_other_reg): Add extern declaration.
* rtlanal.c (find_last_value): Add another parameter to allow
a definition using a hardware register to be found as well.
From-SVN: r25378
Mark Mitchell [Mon, 22 Feb 1999 13:34:33 +0000 (13:34 +0000)]
cse.c (dump_class): New function.
* cse.c (dump_class): New function.
(invalidate_memory): Fix typo in comment.
* function.c (temp_slot): Add an alias set field.
(assign_stack_temp): Only reuse slots if they will have the
same alias set as before.
(combine_temp_slots): Don't combine if -fstrict-aliasing;
that's unsafe.
* rtl.c (copy_rtx): Copy all the flags (in particular,
MEM_SCALAR_P).
From-SVN: r25372
Vladimir Makarov [Mon, 22 Feb 1999 11:43:58 +0000 (11:43 +0000)]
Some insignificant corrections of the previous patch.
From-SVN: r25371
Vladimir N. Makarov [Mon, 22 Feb 1999 11:32:00 +0000 (11:32 +0000)]
configure.in (i[34567]86-*-linux-gnu*, [...]): Use fixinc.x86-linux-gnu as fixincludes.
Mon Feb 22 14:13:23 1999 Vladimir N. Makarov <vmakarov@cygnus.com>
* configure.in (i[34567]86-*-linux-gnu*,
i[34567]86-*-linux-gnulibc1, i[34567]86-*-linux-gnuaout*,
i[34567]86-*-linux-gnuoldld*): Use fixinc.x86-linux-gnu as
fixincludes.
* configure: Rebuilt.
* fixinc.x86-linux-gnu: New script for fixing asm-statements bug
on x86 linux.
* fixinc/fixinc.x86-linux-gnu: Copy of the previous one.
* fixinc/mkfixinc.sh (i[34567]86-*-linux-gnu*,
i[34567]86-*-linux-gnulibc1, i[34567]86-*-linux-gnuaout*,
i[34567]86-*-linux-gnuoldld*): Use fixinc.x86-linux-gnu as
fixincludes.
From-SVN: r25370
Tom Tromey [Mon, 22 Feb 1999 09:15:30 +0000 (09:15 +0000)]
jcf.h (UTF8_GET): Mask first byte of 3-byte encoding with 0x0f, not 0x1f.
* jcf.h (UTF8_GET): Mask first byte of 3-byte encoding with 0x0f,
not 0x1f.
From-SVN: r25369
Ovidiu Predescu [Mon, 22 Feb 1999 09:02:25 +0000 (09:02 +0000)]
Reverted to the old behavior of encoding the types.
From-SVN: r25368
Craig Burley [Mon, 22 Feb 1999 08:49:36 +0000 (08:49 +0000)]
improve wall of separation between build and install
From-SVN: r25367
Craig Burley [Mon, 22 Feb 1999 08:41:42 +0000 (08:41 +0000)]
reduce spurious warnings using -fsyntax-only
From-SVN: r25366
Craig Burley [Mon, 22 Feb 1999 08:35:11 +0000 (08:35 +0000)]
fix -fsyntax-only ICEs
From-SVN: r25365
Gavin Romig-Koch [Mon, 22 Feb 1999 08:18:56 +0000 (08:18 +0000)]
c-lex.c (yylex): Replace warning about integer constants being larger than long-longs...
* c-lex.c (yylex): Replace warning about integer constants being
larger than long-longs, with a warning about integer constants
being larger than the largest target integer.
From-SVN: r25364
Don Bowman [Mon, 22 Feb 1999 01:32:00 +0000 (01:32 +0000)]
configure.in (mips*-*-vxworks*): Enable gthreads vxworks support.
* configure.in (mips*-*-vxworks*): Enable gthreads vxworks support.
* configure: Rebuilt.
From-SVN: r25363
Jeff Law [Mon, 22 Feb 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r25362
Jeffrey A Law [Mon, 22 Feb 1999 00:17:46 +0000 (00:17 +0000)]
990222-1.c: New test.
* gcc.c-torture/execute/990222-1.c: New test.
New test from Herman ten Brugge
From-SVN: r25361
Jeffrey A Law [Sun, 21 Feb 1999 20:34:48 +0000 (13:34 -0700)]
Bump for snapshot
From-SVN: r25359
Jeffrey A Law [Sun, 21 Feb 1999 19:58:22 +0000 (19:58 +0000)]
tm.texi: Update docs for constructors and destructors.
* tm.texi: Update docs for constructors and destructors.
And update comment in cp/decl2.c
From-SVN: r25356
H.J. Lu [Sun, 21 Feb 1999 19:42:18 +0000 (19:42 +0000)]
decl2.c (start_objects): Make file scope constructors and destructors local to the file if...
* decl2.c (start_objects): Make file scope constructors and
destructors local to the file if ASM_OUTPUT_CONSTRUCTOR and
ASM_OUTPUT_DESTRUCTOR are defined.
From-SVN: r25354
Jeff Law [Sun, 21 Feb 1999 19:39:50 +0000 (12:39 -0700)]
aoutos.h (ASM_OUTPUT_CONSTRUCTOR): Delete.
h
* config/aoutos.h (ASM_OUTPUT_CONSTRUCTOR): Delete.
(ASM_OUTPUT_DESTRUCTOR, ASM_OUTPUT_GC_ENTRY): Likewise.
From-SVN: r25351
Jeff Law [Sun, 21 Feb 1999 19:39:44 +0000 (12:39 -0700)]
aoutos.h (ASM_OUTPUT_CONSTRUCTOR): Delete.
�
* config/aoutos.h (ASM_OUTPUT_CONSTRUCTOR): Delete.
(ASM_OUTPUT_DESTRUCTOR, ASM_OUTPUT_GC_ENTRY): Likewise.
From-SVN: r25350
Richard Henderson [Sun, 21 Feb 1999 18:39:33 +0000 (10:39 -0800)]
Update attribute value documentation.
From-SVN: r25349
Richard Henderson [Sun, 21 Feb 1999 18:30:37 +0000 (10:30 -0800)]
genattrtab.c (check_attr_value): Allow negative const_int if negative_ok.
* genattrtab.c (check_attr_value): Allow negative const_int if
negative_ok. Accept integral arithmetic operators. Accept
direct references to other attributes. Accept symbol_ref in
non-constant attributes.
(max_attr_value): Add new argument `unknownp'. Update all callers.
(or_attr_value): Likewise.
(simplify_knowing): Don't optimize if max_attr_value unknown.
(write_length_unit_log): Likewise with or_attr_value.
(find_and_mark_used_attributes): Don't fallthru case.
(write_attr_set): Pass thru all non-cond expressions.
(write_attr_value): Handle symbol_ref, attr, and arithmetic.
From-SVN: r25348
Mark Mitchell [Sun, 21 Feb 1999 16:38:23 +0000 (16:38 +0000)]
cp-tree.h (CLASSTYPE_METHOD_VEC): Adjust comment.
1999-02-19 Mark Mitchell <mark@markmitchell.com>
* cp-tree.h (CLASSTYPE_METHOD_VEC): Adjust comment.
(fn_type_unification): Adjust prototype.
(lookup_fnfields_1): Declare.
* call.c (add_template_candidate_real): Adjust call to
fn_type_unification.
* class.c (add_method): Don't allow duplicate declarations of
constructors or destructors.
(resolve_address_of_overloaded_function): Remove unused variable.
Adjust call to fn_type_unification.
* decl.c (grokfndecl): Be more robust in the face of illegal
specializations.
* decl2.c (check_classfn): Remove hokey handling of member
templates.
* pt.c (determine_specialization): Improve comments. Adjust to
handle template argument deduction as per the standard.
(check_explicit_specialization): Fix comment spacing. Handle
type-conversion operators correctly. Improve error-recovery.
(fn_type_unification): Remove EXTRA_FN_ARG parameter.
(get_bindings_real): Simplify handling of static members.
* search.c (lookup_fnfields_1): Make it have external linkage.
* typeck.c (compparms): Fix comment.
(build_unary_op): Don't try to figure out which template
specialization is being referred to when when the address-of
operator is used with a template function.
From-SVN: r25347
Per Bothner [Sun, 21 Feb 1999 15:42:27 +0000 (07:42 -0800)]
decl.c (build_result_decl): New method.
d
* decl.c (build_result_decl), java-tree.h: New method.
(complete_start_java_method): Handle synchronized methods.
Don't build DECL_RESULT here. (Ordering dependency problem.)
(start_java_method): Call build_result_decl here instead ...
* parse.y (java_complete_expand_method): ... and here.
(expand_start_java_method): Don't call complete_start_java_method here.
(java_complete_expand_method): Call it here instead.
* parse.h (BUILD_MONITOR_ENTER, BUILD_MONITOR_EXIT): Moved to ..
* java-tree.h: ... here.
* expr.c (force_evaluation_order): Fix typo, don't handle ARRAY_REF.
* parse.y (java_complete_lhs): Don't call force_evaluation_order
for ARRAY_REF - it doesn't work when array bounds are checked.
(patch_array_ref): Handle it here instead.
From-SVN: r25346
Per Bothner [Sun, 21 Feb 1999 15:42:22 +0000 (07:42 -0800)]
decl.c (build_result_decl): New method.
* decl.c (build_result_decl), java-tree.h: New method.
(complete_start_java_method): Handle synchronized methods.
Don't build DECL_RESULT here. (Ordering dependency problem.)
(start_java_method): Call build_result_decl here instead ...
* parse.y (java_complete_expand_method): ... and here.
(expand_start_java_method): Don't call complete_start_java_method here.
(java_complete_expand_method): Call it here instead.
* parse.h (BUILD_MONITOR_ENTER, BUILD_MONITOR_EXIT): Moved to ..
* java-tree.h: ... here.
* expr.c (force_evaluation_order): Fix typo, don't handle ARRAY_REF.
* parse.y (java_complete_lhs): Don't call force_evaluation_order
for ARRAY_REF - it doesn't work when array bounds are checked.
(patch_array_ref): Handle it here instead.
From-SVN: r25345
Per Bothner [Sun, 21 Feb 1999 15:42:17 +0000 (07:42 -0800)]
decl.c (build_result_decl): New method.
�
* decl.c (build_result_decl), java-tree.h: New method.
(complete_start_java_method): Handle synchronized methods.
Don't build DECL_RESULT here. (Ordering dependency problem.)
(start_java_method): Call build_result_decl here instead ...
* parse.y (java_complete_expand_method): ... and here.
(expand_start_java_method): Don't call complete_start_java_method here.
(java_complete_expand_method): Call it here instead.
* parse.h (BUILD_MONITOR_ENTER, BUILD_MONITOR_EXIT): Moved to ..
* java-tree.h: ... here.
* expr.c (force_evaluation_order): Fix typo, don't handle ARRAY_REF.
* parse.y (java_complete_lhs): Don't call force_evaluation_order
for ARRAY_REF - it doesn't work when array bounds are checked.
(patch_array_ref): Handle it here instead.
From-SVN: r25344
Per Bothner [Sun, 21 Feb 1999 15:41:32 +0000 (07:41 -0800)]
jcf-write.c (generate_classfile): Emit "Exceptions" attribute.
* jcf-write.c (generate_classfile): Emit "Exceptions" attribute.
From-SVN: r25343
Michael Hayes [Sun, 21 Feb 1999 13:17:17 +0000 (13:17 +0000)]
Michael Hayes <m.hayes@elec.canterbury.ac.nz>
Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* regmove.c (discover_flags_reg): Use word_mode instead of SImode.
From-SVN: r25342
Richard Henderson [Sun, 21 Feb 1999 13:16:11 +0000 (05:16 -0800)]
regmove.c (discover_flags_reg): Remove cc0 code.
* regmove.c (discover_flags_reg): Remove cc0 code.
(mark_flags_life_zones) [HAVE_cc0]: Force use of cc0; bail if
a potential flags register was identified.
From-SVN: r25341