amylaar [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.
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25440
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 25 Feb 1999 12:36:03 +0000 (12:36 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25439
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 25 Feb 1999 11:43:00 +0000 (11:43 +0000)]
* cse.c (dump_class): Revert last change and make the prototype
extern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25438
138bc75d-0d04-0410-961f-
82ee72b054a4
burley [Thu, 25 Feb 1999 11:32:08 +0000 (11:32 +0000)]
Clarify/index lack of run-time allocation for concatenation
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25437
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 25 Feb 1999 11:16:17 +0000 (11:16 +0000)]
* rtl.h (insn_first_p): Don't declare.
* rtlanal.c (insn_first_p): Delete.
* loop.c (loop_insn_first_p): Faster implementation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25436
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25435
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 25 Feb 1999 10:49:39 +0000 (10:49 +0000)]
new
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25434
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25433
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Thu, 25 Feb 1999 10:36:37 +0000 (10:36 +0000)]
Fix minor typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25432
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Thu, 25 Feb 1999 10:20:21 +0000 (10:20 +0000)]
Tidy up previous delta
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25431
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25430
138bc75d-0d04-0410-961f-
82ee72b054a4
burley [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>]
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25429
138bc75d-0d04-0410-961f-
82ee72b054a4
burley [Thu, 25 Feb 1999 04:33:38 +0000 (04:33 +0000)]
fix up ChangeLog entry confusion
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25428
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 25 Feb 1999 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25424
138bc75d-0d04-0410-961f-
82ee72b054a4
loewis [Thu, 25 Feb 1999 00:40:27 +0000 (00:40 +0000)]
New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25423
138bc75d-0d04-0410-961f-
82ee72b054a4
loewis [Thu, 25 Feb 1999 00:33:51 +0000 (00:33 +0000)]
New test cases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25422
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 25 Feb 1999 00:11:35 +0000 (00:11 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25420
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 24 Feb 1999 23:50:35 +0000 (23:50 +0000)]
* configure.in: Fix INSTALLDIR sed pattern for Solaris sed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25419
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25417
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 24 Feb 1999 19:06:17 +0000 (19:06 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25416
138bc75d-0d04-0410-961f-
82ee72b054a4
burley [Wed, 24 Feb 1999 19:03:02 +0000 (19:03 +0000)]
finish applying earlier patch from Dave Love
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25415
138bc75d-0d04-0410-961f-
82ee72b054a4
burley [Wed, 24 Feb 1999 18:54:55 +0000 (18:54 +0000)]
changelog entries keep people happy
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25414
138bc75d-0d04-0410-961f-
82ee72b054a4
burley [Wed, 24 Feb 1999 18:48:17 +0000 (18:48 +0000)]
move test to its proper home, given current g77
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25413
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25412
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 24 Feb 1999 17:42:40 +0000 (17:42 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25411
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 24 Feb 1999 16:54:38 +0000 (16:54 +0000)]
Typo fix in comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25410
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 24 Feb 1999 16:29:36 +0000 (16:29 +0000)]
* calls.c (precompute_arguments): New function, extracted from
expand_call.
(expand_call): Use precompute_arguments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25409
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 24 Feb 1999 16:23:58 +0000 (16:23 +0000)]
Fix typo in arm recognition string
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25408
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 24 Feb 1999 15:07:38 +0000 (15:07 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25407
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 24 Feb 1999 14:12:44 +0000 (14:12 +0000)]
Add -O3 to TORTURE_OPTIONS list.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25406
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 24 Feb 1999 13:47:39 +0000 (13:47 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25403
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 24 Feb 1999 13:17:04 +0000 (13:17 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25402
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 24 Feb 1999 11:50:54 +0000 (11:50 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25401
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 24 Feb 1999 11:46:56 +0000 (11:46 +0000)]
* pt.c (tsubst): Allow an array of explicit size zero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25400
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 24 Feb 1999 11:18:59 +0000 (11:18 +0000)]
* unroll.c (unroll_loop): Avoid out-of-bounds index for local_regno.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25399
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Wed, 24 Feb 1999 11:09:08 +0000 (11:09 +0000)]
New testcase for cpp, written by Kaveh Ghazi <ghazi@caip.rutgers.edu>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25398
138bc75d-0d04-0410-961f-
82ee72b054a4
vmakarov [Wed, 24 Feb 1999 08:33:57 +0000 (08:33 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25397
138bc75d-0d04-0410-961f-
82ee72b054a4
burley [Wed, 24 Feb 1999 08:15:19 +0000 (08:15 +0000)]
update lib[FIU]77/configure from autoconf 2.13
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25396
138bc75d-0d04-0410-961f-
82ee72b054a4
burley [Wed, 24 Feb 1999 08:13:43 +0000 (08:13 +0000)]
fix up entries
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25395
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Wed, 24 Feb 1999 01:03:01 +0000 (01:03 +0000)]
* lib/Makefile.in: Regen dependencies.
* makeinfo/Makefile.in, util/Makefile.in: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25391
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 24 Feb 1999 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25390
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25389
138bc75d-0d04-0410-961f-
82ee72b054a4
pcg [Tue, 23 Feb 1999 10:23:02 +0000 (10:23 +0000)]
�
corrected a minor typoe
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25388
138bc75d-0d04-0410-961f-
82ee72b054a4
loewis [Tue, 23 Feb 1999 09:11:19 +0000 (09:11 +0000)]
Mark failing code as XFAIL
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25387
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 23 Feb 1999 01:44:23 +0000 (01:44 +0000)]
* errfn.c: Change varargs code to look like toplev.c.
* method.c (process_modifiers): Don't prepend 'U' for char or
wchar_t.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25386
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 23 Feb 1999 00:45:04 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25385
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25382
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Mon, 22 Feb 1999 17:24:21 +0000 (17:24 +0000)]
Support ARM/Linux's armv syntax
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25381
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Mon, 22 Feb 1999 16:47:59 +0000 (16:47 +0000)]
Apply ARM/Linux patches.
Rework cpu/architecture command line parsing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25380
138bc75d-0d04-0410-961f-
82ee72b054a4
loewis [Mon, 22 Feb 1999 16:15:42 +0000 (16:15 +0000)]
New test case from Nathan Sidwell.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25379
138bc75d-0d04-0410-961f-
82ee72b054a4
amacleod [Mon, 22 Feb 1999 14:11:58 +0000 (14:11 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25378
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 22 Feb 1999 13:34:33 +0000 (13:34 +0000)]
* 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).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25372
138bc75d-0d04-0410-961f-
82ee72b054a4
vmakarov [Mon, 22 Feb 1999 11:43:58 +0000 (11:43 +0000)]
Some insignificant corrections of the previous patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25371
138bc75d-0d04-0410-961f-
82ee72b054a4
vmakarov [Mon, 22 Feb 1999 11:32:00 +0000 (11:32 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25370
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25369
138bc75d-0d04-0410-961f-
82ee72b054a4
ovidiu [Mon, 22 Feb 1999 09:02:25 +0000 (09:02 +0000)]
Reverted to the old behavior of encoding the types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25368
138bc75d-0d04-0410-961f-
82ee72b054a4
burley [Mon, 22 Feb 1999 08:49:36 +0000 (08:49 +0000)]
improve wall of separation between build and install
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25367
138bc75d-0d04-0410-961f-
82ee72b054a4
burley [Mon, 22 Feb 1999 08:41:42 +0000 (08:41 +0000)]
reduce spurious warnings using -fsyntax-only
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25366
138bc75d-0d04-0410-961f-
82ee72b054a4
burley [Mon, 22 Feb 1999 08:35:11 +0000 (08:35 +0000)]
fix -fsyntax-only ICEs
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25365
138bc75d-0d04-0410-961f-
82ee72b054a4
gavin [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, with a warning about integer constants
being larger than the largest target integer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25364
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 22 Feb 1999 01:32:00 +0000 (01:32 +0000)]
* configure.in (mips*-*-vxworks*): Enable gthreads vxworks support.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25363
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 22 Feb 1999 00:45:02 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25362
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 22 Feb 1999 00:17:46 +0000 (00:17 +0000)]
* gcc.c-torture/execute/990222-1.c: New test.
New test from Herman ten Brugge
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25361
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 21 Feb 1999 20:34:48 +0000 (20:34 +0000)]
Bump for snapshot
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25359
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 21 Feb 1999 19:58:22 +0000 (19:58 +0000)]
* tm.texi: Update docs for constructors and destructors.
And update comment in cp/decl2.c
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25356
138bc75d-0d04-0410-961f-
82ee72b054a4
law [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 ASM_OUTPUT_CONSTRUCTOR and
ASM_OUTPUT_DESTRUCTOR are defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25354
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 21 Feb 1999 19:39:50 +0000 (19:39 +0000)]
h
* config/aoutos.h (ASM_OUTPUT_CONSTRUCTOR): Delete.
(ASM_OUTPUT_DESTRUCTOR, ASM_OUTPUT_GC_ENTRY): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25351
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 21 Feb 1999 19:39:44 +0000 (19:39 +0000)]
�
* config/aoutos.h (ASM_OUTPUT_CONSTRUCTOR): Delete.
(ASM_OUTPUT_DESTRUCTOR, ASM_OUTPUT_GC_ENTRY): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25350
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 21 Feb 1999 18:39:33 +0000 (18:39 +0000)]
Update attribute value documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25349
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 21 Feb 1999 18:30:37 +0000 (18:30 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25348
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 21 Feb 1999 16:38:23 +0000 (16:38 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25347
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sun, 21 Feb 1999 15:42:27 +0000 (15:42 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25346
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sun, 21 Feb 1999 15:42:22 +0000 (15:42 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25345
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sun, 21 Feb 1999 15:42:17 +0000 (15:42 +0000)]
�
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25344
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Sun, 21 Feb 1999 15:41:32 +0000 (15:41 +0000)]
* jcf-write.c (generate_classfile): Emit "Exceptions" attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25343
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 21 Feb 1999 13:17:17 +0000 (13:17 +0000)]
Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* regmove.c (discover_flags_reg): Use word_mode instead of SImode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25342
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 21 Feb 1999 13:16:11 +0000 (13:16 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25341
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 21 Feb 1999 00:45:03 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25340
138bc75d-0d04-0410-961f-
82ee72b054a4
burley [Sat, 20 Feb 1999 14:55:52 +0000 (14:55 +0000)]
fix LSTAT intrinsic per Krister Walfridsson <cato@df.lth.se>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25339
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sat, 20 Feb 1999 13:16:43 +0000 (13:16 +0000)]
Fix rs6000.md typo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25337
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 20 Feb 1999 12:21:51 +0000 (12:21 +0000)]
* string, std/straits.h, std/bastring.h: Revert recent change. Needs
some libiberty support before it can be re-enabled.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25336
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Sat, 20 Feb 1999 09:10:22 +0000 (09:10 +0000)]
* xm-arm.h (HOST_BITS_PER_LONGLONG): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25335
138bc75d-0d04-0410-961f-
82ee72b054a4
burley [Sat, 20 Feb 1999 02:05:58 +0000 (02:05 +0000)]
fix doc attributions, etc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25334
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 20 Feb 1999 00:45:03 +0000 (00:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25333
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 19 Feb 1999 23:02:58 +0000 (23:02 +0000)]
* regmove.c (discover_flags_reg): New function.
(flags_set_1, mark_flags_life_zones): New functions.
(regmove_optimize): Call them.
(fixup_match_1): Use insn modes rather than sets_cc0_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25332
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 19 Feb 1999 16:33:59 +0000 (16:33 +0000)]
Ooops -forgot ChangeLog.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25329
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 19 Feb 1999 16:33:22 +0000 (16:33 +0000)]
d
Force left-to-right evaluation of binary operations etc.
* expr.c (force_evaluation_order), java-tree.h: New function.
* parse.y (java_complete_lhs): Pass binary operations, procedure
calls, and ARRAY_REFs to force_evaluation_order.
(various): Set TREE_SIDE_EFFECTS more carefully.
Tolerate random (non-UTF8) encoding in comments without complaining.
* lex.c (java_read_char): Return 0xFFFE if bad UTF8 encoding.
(java_is_eol): Handle '\r' followed by '\n' instead of vice versa.
* parse.y (resolve_qualified_expression_name): Handle error_mark.
(java_complete_node case EXPR_WITH_FILE_LOCATION): Likewise.
* parse.y (java_complete_lhs): Ignore an empty statement in a
COMPOUND_EXPR. Don't complain about empty statement after return.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25328
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 19 Feb 1999 16:33:20 +0000 (16:33 +0000)]
T
Force left-to-right evaluation of binary operations etc.
* expr.c (force_evaluation_order), java-tree.h: New function.
* parse.y (java_complete_lhs): Pass binary operations, procedure
calls, and ARRAY_REFs to force_evaluation_order.
(various): Set TREE_SIDE_EFFECTS more carefully.
Tolerate random (non-UTF8) encoding in comments without complaining.
* lex.c (java_read_char): Return 0xFFFE if bad UTF8 encoding.
(java_is_eol): Handle '\r' followed by '\n' instead of vice versa.
* parse.y (resolve_qualified_expression_name): Handle error_mark.
(java_complete_node case EXPR_WITH_FILE_LOCATION): Likewise.
* parse.y (java_complete_lhs): Ignore an empty statement in a
COMPOUND_EXPR. Don't complain about empty statement after return.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25327
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 19 Feb 1999 16:33:18 +0000 (16:33 +0000)]
Force left-to-right evaluation of binary operations etc.
* expr.c (force_evaluation_order), java-tree.h: New function.
* parse.y (java_complete_lhs): Pass binary operations, procedure
calls, and ARRAY_REFs to force_evaluation_order.
(various): Set TREE_SIDE_EFFECTS more carefully.
Tolerate random (non-UTF8) encoding in comments without complaining.
* lex.c (java_read_char): Return 0xFFFE if bad UTF8 encoding.
(java_is_eol): Handle '\r' followed by '\n' instead of vice versa.
* parse.y (resolve_qualified_expression_name): Handle error_mark.
(java_complete_node case EXPR_WITH_FILE_LOCATION): Likewise.
* parse.y (java_complete_lhs): Ignore an empty statement in a
COMPOUND_EXPR. Don't complain about empty statement after return.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25326
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 19 Feb 1999 14:55:24 +0000 (14:55 +0000)]
a
* parse.y (obtain_incomplete_type): Don't wrap unknown types
in TREE_LIST - just chain the POINTER_TYPEs together.
(resolve_class): If type already resolved, return decl.
After resolving, update TREE_TYPE(class_type), and name (if array).
* parse.h (do_resolve_class), parse.y: Make non-static.
* class.c (maybe_layout_super_class): Take this_class argument.
Do do_resolve_class if necessary.
(layout_class, layout_class_methods): Adjust calls appropriately.
* parse.h (JDEP_TO_RESOLVE, JDEP_RESOLVED_DECL, JDEP_RESOLVED,
JDEP_RESOLVED_P): Redefined for new TREE_LIST-less convention.
* typeck.c (build_java_array_type): Don't call layout_class.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25325
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 19 Feb 1999 14:55:23 +0000 (14:55 +0000)]
d
* parse.y (obtain_incomplete_type): Don't wrap unknown types
in TREE_LIST - just chain the POINTER_TYPEs together.
(resolve_class): If type already resolved, return decl.
After resolving, update TREE_TYPE(class_type), and name (if array).
* parse.h (do_resolve_class), parse.y: Make non-static.
* class.c (maybe_layout_super_class): Take this_class argument.
Do do_resolve_class if necessary.
(layout_class, layout_class_methods): Adjust calls appropriately.
* parse.h (JDEP_TO_RESOLVE, JDEP_RESOLVED_DECL, JDEP_RESOLVED,
JDEP_RESOLVED_P): Redefined for new TREE_LIST-less convention.
* typeck.c (build_java_array_type): Don't call layout_class.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25324
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 19 Feb 1999 14:55:18 +0000 (14:55 +0000)]
T
* parse.y (obtain_incomplete_type): Don't wrap unknown types
in TREE_LIST - just chain the POINTER_TYPEs together.
(resolve_class): If type already resolved, return decl.
After resolving, update TREE_TYPE(class_type), and name (if array).
* parse.h (do_resolve_class), parse.y: Make non-static.
* class.c (maybe_layout_super_class): Take this_class argument.
Do do_resolve_class if necessary.
(layout_class, layout_class_methods): Adjust calls appropriately.
* parse.h (JDEP_TO_RESOLVE, JDEP_RESOLVED_DECL, JDEP_RESOLVED,
JDEP_RESOLVED_P): Redefined for new TREE_LIST-less convention.
* typeck.c (build_java_array_type): Don't call layout_class.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25323
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 19 Feb 1999 14:55:17 +0000 (14:55 +0000)]
* parse.y (obtain_incomplete_type): Don't wrap unknown types
in TREE_LIST - just chain the POINTER_TYPEs together.
(resolve_class): If type already resolved, return decl.
After resolving, update TREE_TYPE(class_type), and name (if array).
* parse.h (do_resolve_class), parse.y: Make non-static.
* class.c (maybe_layout_super_class): Take this_class argument.
Do do_resolve_class if necessary.
(layout_class, layout_class_methods): Adjust calls appropriately.
* parse.h (JDEP_TO_RESOLVE, JDEP_RESOLVED_DECL, JDEP_RESOLVED,
JDEP_RESOLVED_P): Redefined for new TREE_LIST-less convention.
* typeck.c (build_java_array_type): Don't call layout_class.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25322
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Fri, 19 Feb 1999 14:49:59 +0000 (14:49 +0000)]
* rtlanal.c (insn_first_p): Fix return value for insn == reference.
* loop.c (strength_reduce, check_final_value, check_dbra_loop):
Use loop_insn_first_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25321
138bc75d-0d04-0410-961f-
82ee72b054a4
burley [Fri, 19 Feb 1999 14:45:46 +0000 (14:45 +0000)]
update BUGS, INSTALL, NEWS, and their sources
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25320
138bc75d-0d04-0410-961f-
82ee72b054a4
burley [Fri, 19 Feb 1999 14:05:51 +0000 (14:05 +0000)]
improve global/filewide semantic checking
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25319
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 19 Feb 1999 13:27:37 +0000 (13:27 +0000)]
�
* parse.y (check_pkg_class_access): Allow private class access
within the same package.
(strip_out_static_field_access_decl): New function.
(patch_unaryop): Call strip_out_static_field_access_decl on ++/--
operator argument before testing its nature.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25318
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 19 Feb 1999 13:27:35 +0000 (13:27 +0000)]
* parse.y (check_pkg_class_access): Allow private class access
within the same package.
(strip_out_static_field_access_decl): New function.
(patch_unaryop): Call strip_out_static_field_access_decl on ++/--
operator argument before testing its nature.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25317
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 19 Feb 1999 12:54:08 +0000 (12:54 +0000)]
* rs6000.md (scc plus eq): Fix output template.
(scc plus ltu): Fix output template and collapse variants
correcting early clobber.
(scc plus geu): Fix output template.
(scc plus gt): Fix output template.
(scc plus gtu): Fix output template and collapse variants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25316
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 19 Feb 1999 12:50:44 +0000 (12:50 +0000)]
* cppinit.c (print_help): Remove unescaped newline in string.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25315
138bc75d-0d04-0410-961f-
82ee72b054a4