platform/upstream/linaro-gcc.git
25 years agoMon Dec 7 15:38:25 1998 Dave Brolley <brolley@cygnus.com>
brolley [Mon, 7 Dec 1998 12:42:21 +0000 (12:42 +0000)]
Mon Dec  7 15:38:25 1998  Dave Brolley  <brolley@cygnus.com>
* gcc.c (default_compilers): Fix typo in USE_CPPLIB spec for cc1.
Mon Dec  7 15:38:25 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
        * c-aux-info.c (concat): Wrap function definition in !USE_CPPLIB.
        * cppalloc.c: Move function `xcalloc' from cpplib.c to here.
        * cpplib.c: Move function `xcalloc' from here to cppalloc.c.

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

25 years agoupdate
jason [Mon, 7 Dec 1998 12:27:51 +0000 (12:27 +0000)]
update

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

25 years ago * decl.c (build_typename_type): Set DECL_ARTIFICIAL.
jason [Mon, 7 Dec 1998 12:27:47 +0000 (12:27 +0000)]
* decl.c (build_typename_type): Set DECL_ARTIFICIAL.
* error.c (dump_simple_decl): Also print namespace context.
(dump_function_decl): Likewise.
* decl2.c (ambiguous_decl): Don't print old value if it's
error_mark_node.
* decl.c (lookup_name_real): Fix handling of local types shadowed
by a non-type decl.  Remove obsolete code.
* cp-tree.h (DECL_FUNCTION_SCOPE_P): New macro.
Fixes g++.other/lookup6.C
* lang-options.h: Add -fpermissive.
* decl2.c: Likewise.
* cp-tree.h: Add flag_permissive.
* decl.c (init_decl_processing): If neither -fpermissive or -pedantic
were specified, set flag_pedantic_errors.
* call.c (build_over_call): Turn dropped qualifier messages
back into pedwarns.
* cvt.c (convert_to_reference): Likewise.
* typeck.c (convert_for_assignment): Likewise.

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

25 years agoImprove -dp output by using tabs and including instruciton lengths
nickc [Mon, 7 Dec 1998 11:45:49 +0000 (11:45 +0000)]
Improve -dp output by using tabs and including instruciton lengths

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

25 years ago * loop.c (check_dbra_loop): Fix initial_value and initial_equiv_value
law [Mon, 7 Dec 1998 09:56:56 +0000 (09:56 +0000)]
    * loop.c (check_dbra_loop): Fix initial_value and initial_equiv_value
        in the loop_info structure.
Should fix -O1 -funroll-loops bootstrap problems.

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

25 years agoMon Dec 7 09:58:26 1998 Catherine Moore <clm@cygnus.com>
clm [Mon, 7 Dec 1998 09:15:34 +0000 (09:15 +0000)]
Mon Dec  7 09:58:26 1998  Catherine Moore  <clm@cygnus.com>
        * configure.in:  (arm*-*-ecos-elf):  New target.
        * configure:  Regenerated.
        * config/arm/elf.h (ASM_WEAKEN_LABEL):  Define.
        * config/arm/ecos-elf.h:  New file.
        * config/arm/unknown-elf.h (TARGET_VERSION):  Check
        for redefinition.

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

25 years ago * sh.c (output_far_jump): Emit braf only for TARGET_SH2.
amylaar [Mon, 7 Dec 1998 08:18:29 +0000 (08:18 +0000)]
* sh.c (output_far_jump): Emit braf only for TARGET_SH2.

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

25 years agoDaily bump.
law [Mon, 7 Dec 1998 00:45:03 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * jcf-dump.c (INVOKE): If invokeinterface, print number of args.
bothner [Sun, 6 Dec 1998 13:46:42 +0000 (13:46 +0000)]
* jcf-dump.c (INVOKE):  If invokeinterface, print number of args.

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

25 years agoBump for snapshot
law [Sun, 6 Dec 1998 04:19:49 +0000 (04:19 +0000)]
Bump for snapshot

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

25 years ago * loop.c (check_dbra_loop): New argument loop_info. Update fields
law [Sun, 6 Dec 1998 04:19:20 +0000 (04:19 +0000)]
    * loop.c (check_dbra_loop): New argument loop_info.  Update fields
        as needed.

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

25 years agoBump for snapshot
law [Sun, 6 Dec 1998 03:40:17 +0000 (03:40 +0000)]
Bump for snapshot

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

25 years agoRevert accidental checkin from Oct 31 (egad).
law [Sun, 6 Dec 1998 03:02:47 +0000 (03:02 +0000)]
Revert accidental checkin from Oct 31 (egad).

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

25 years ago * gcc.dg/ultrasp1.c: New test.
oliva [Sun, 6 Dec 1998 02:16:21 +0000 (02:16 +0000)]
* gcc.dg/ultrasp1.c: New test.

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

25 years ago * gcc.texi (Bug Reporting): 40Kb is a soft limit, larger
oliva [Sun, 6 Dec 1998 02:01:26 +0000 (02:01 +0000)]
* gcc.texi (Bug Reporting): 40Kb is a soft limit, larger
compressed reports are ok and preferred over URLs

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

25 years ago * invoke.texi (Warning Options): Soften the tone of -pedantic
oliva [Sun, 6 Dec 1998 01:56:01 +0000 (01:56 +0000)]
* invoke.texi (Warning Options): Soften the tone of -pedantic

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

25 years agosort
jason [Sun, 6 Dec 1998 01:44:12 +0000 (01:44 +0000)]
sort

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

25 years agoForgot to commit.
law [Sun, 6 Dec 1998 01:35:55 +0000 (01:35 +0000)]
Forgot to commit.

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

25 years ago * decl2.c (coerce_new_type): Use same_type_p.
jason [Sun, 6 Dec 1998 01:33:10 +0000 (01:33 +0000)]
* decl2.c (coerce_new_type): Use same_type_p.
(coerce_delete_type): Likewise.
* call.c (check_dtor_name): Return 1, not error_mark_node.

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

25 years ago * alias.c (memrefs_conflict_p): A second ANDed address
rth [Sun, 6 Dec 1998 01:23:01 +0000 (01:23 +0000)]
    * alias.c (memrefs_conflict_p): A second ANDed address
        disables the aligned address optimization.

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

25 years agoupdate
jason [Sun, 6 Dec 1998 01:21:51 +0000 (01:21 +0000)]
update

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

25 years agofix size_t
jason [Sun, 6 Dec 1998 01:18:21 +0000 (01:18 +0000)]
fix size_t

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

25 years agoNew test.
rth [Sun, 6 Dec 1998 00:46:00 +0000 (00:46 +0000)]
New test.

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

25 years agoDaily bump.
law [Sun, 6 Dec 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * print-rtl.c (print_rtx): Add prototype.
law [Sat, 5 Dec 1998 23:23:52 +0000 (23:23 +0000)]
    * print-rtl.c (print_rtx): Add prototype.
        * unroll.c (iteration_info): Make it static.

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

25 years ago * g++.old-deja/g++.ns/template7.C: New test.
oliva [Sat, 5 Dec 1998 23:10:15 +0000 (23:10 +0000)]
* g++.old-deja/g++.ns/template7.C: New test.

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

25 years ago * g++.old-deja/g++.other/expr1.C: New test.
oliva [Sat, 5 Dec 1998 22:46:57 +0000 (22:46 +0000)]
* g++.old-deja/g++.other/expr1.C: New test.

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

25 years ago * g++.old-deja/g++.eh/tmpl3.C: New test.
oliva [Sat, 5 Dec 1998 22:39:22 +0000 (22:39 +0000)]
* g++.old-deja/g++.eh/tmpl3.C: New test.

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

25 years ago * g++.old-deja/g++.eh/tmpl2.C: New test.
oliva [Sat, 5 Dec 1998 22:37:32 +0000 (22:37 +0000)]
* g++.old-deja/g++.eh/tmpl2.C: New test.

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

25 years ago * alpha.c (alpha_emit_set_const_1): Fix parenthesis error
rth [Sat, 5 Dec 1998 18:51:00 +0000 (18:51 +0000)]
    * alpha.c (alpha_emit_set_const_1): Fix parenthesis error
        in -c << n case.

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

25 years ago * i960.h (BOOL_TYPE_SIZE): Define.
jason [Sat, 5 Dec 1998 15:17:24 +0000 (15:17 +0000)]
* i960.h (BOOL_TYPE_SIZE): Define.

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

25 years ago * config/c4x/c4x.c (valid_parallel_load_store): Flog functionality
m.hayes [Sat, 5 Dec 1998 03:39:17 +0000 (03:39 +0000)]
* config/c4x/c4x.c (valid_parallel_load_store): Flog functionality
from old valid_parallel_operands_4.
(valid_parallel_operands_4): Check that operands for 4 operand
parallel insns are valid, excluding load/store insns.
* config/c4x/c4x.h (valid_parallel_load_store): Add prototype.
* config/c4x/c4x.md (*movqf_parallel, *movqi_parallel): Use
valid_parallel_load_store instead of valid_parallel_operands_4.
(*absqf2_movqf_clobber, *floatqiqf2_movqf_clobber,
*negqf2_movqf_clobber, *absqi2_movqi_clobber,
*fixqfqi2_movqi_clobber, *negqi2_movqi_clobber,
*notqi_movqi_clobber): Use valid_parallel_operands_4.
(*subqf3_movqf_clobber, *ashlqi3_movqi_clobber,
*ashrqi3_movqi_clobber, *lshrqi3_movqi_clobber,
*subqi3_movqi_clobber): Use valid_parallel_operands_5.

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

25 years ago * config/c4x/c4x.c (iteration_info): Delete.
m.hayes [Sat, 5 Dec 1998 02:54:53 +0000 (02:54 +0000)]
* config/c4x/c4x.c (iteration_info): Delete.

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

25 years agoDaily bump.
law [Sat, 5 Dec 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * lex.c (handle_cp_pragma): Disable #pragma interface/implementation
jason [Fri, 4 Dec 1998 21:39:25 +0000 (21:39 +0000)]
* lex.c (handle_cp_pragma): Disable #pragma interface/implementation
if MULTIPLE_SYMBOL_SPACES.

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

25 years ago
bkoz [Fri, 4 Dec 1998 19:12:58 +0000 (19:12 +0000)]

nortel regressions since 97r1

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

25 years ago
bkoz [Fri, 4 Dec 1998 19:12:58 +0000 (19:12 +0000)]

nortel regressions since 97r1

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

25 years ago*** empty log message ***
bkoz [Fri, 4 Dec 1998 19:12:58 +0000 (19:12 +0000)]
*** empty log message ***

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

25 years agoH
bkoz [Fri, 4 Dec 1998 19:12:58 +0000 (19:12 +0000)]
H
nortel regressions since 97r1

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

25 years ago
bkoz [Fri, 4 Dec 1998 19:12:58 +0000 (19:12 +0000)]

nortel regressions since 97r1

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

25 years ago * tm.texi (SMALL_REGISTER_CLASSES): Make description match reality.
crux [Fri, 4 Dec 1998 13:09:39 +0000 (13:09 +0000)]
* tm.texi (SMALL_REGISTER_CLASSES): Make description match reality.

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

25 years ago * g++.old-deja/g++.other/using5.C: usified using[567].C here
oliva [Fri, 4 Dec 1998 12:57:50 +0000 (12:57 +0000)]
* g++.old-deja/g++.other/using5.C: usified using[567].C here
* g++.old-deja/g++.other/using6.C: removed
* g++.old-deja/g++.other/using7.C: Mark Mitchel removed it

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

25 years ago * final.c (cleanup_subreg_operands): Delete some unused code.
crux [Fri, 4 Dec 1998 12:55:59 +0000 (12:55 +0000)]
* final.c (cleanup_subreg_operands): Delete some unused code.
* recog.h (MAX_RECOG_ALTERNATIVES): New macro.
(struct insn_alternative): New structure definition.
(recog_op_alt): Declare variable.
(preprocess_constraints): Declare function.
* recog.c (recog_op_alt): New variable.
(extract_insn): Verify number of alternatives is in range.
(preprocess_constraints): New function.
* reg-stack.c: Include recog.h.
(constrain_asm_operands): Delete.
(get_asm_operand_lengths): Delete.
(get_asm_operand_n_inputs): New function.
(record_asm_reg_life): Delete OPERANDS, CONSTRAINTS, N_INPUTS and
N_OUTPUTS args.  All callers changed.
Compute number of inputs and outputs here by calling
get_asm_operand_n_inputs.
Instead of constrain_asm_operands, call extract_insn,
constrain_operands and preprocess_constaints.  Use information
computed by these functions throughout.
(record_reg_life): Delete code that is unused due to changes in
record_asm_reg_life.
(subst_asm_stack_regs): Delete OPERANDS, OPERAND_LOC, CONSTRAINTS,
N_INPUTS and N_OUTPUTS args.  All callers changed.
Similar changes as in record_asm_reg_life.
(subst_stack_regs): Move n_operands declaration into the if statement
where it's used.
Delete code that is unused due to changes in subst_asm_stack_regs.
* stmt.c (expand_asm_operands): Verify number of alternatives is in
range.
* Makefile.in (reg-stack.o): Depend on recog.h.

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

25 years ago * g++.old-deja/g++.pt/spec20.C: Re-insert non-bogus ERROR marks.
oliva [Fri, 4 Dec 1998 11:31:32 +0000 (11:31 +0000)]
* g++.old-deja/g++.pt/spec20.C: Re-insert non-bogus ERROR marks.

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

25 years ago * pt.c (check_template_shadow): New fn.
jason [Fri, 4 Dec 1998 11:14:21 +0000 (11:14 +0000)]
* pt.c (check_template_shadow): New fn.
* decl2.c (grokfield): Use it.
* decl.c (pushdecl): Likewise.
(pushdecl_class_level): Likewise.
(start_method): Likewise.
(xref_tag): Don't try to use 't' if we're defining.
Fixes Sec14/7/C14387.cm.
* call.c (check_dtor_name): Just return an error_mark_node.
* pt.c (lookup_template_class): Complain about using non-template here.
* parse.y (apparent_template_type): Not here.
Fixes Sec14/C14339.cm.
* pt.c (check_explicit_specialization): Complain about specialization
with C linkage.
Fixes Sec14/C14340.cm.
* lang-options.h: Add -f{no-,}implicit-inline-templates.
* pt.c (convert_nontype_argument): Don't assume that any integer
argument is intended to be a constant-expression.
Fixes Sec14/7/P14245.C.

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

25 years ago * except.c (set_exception_version_code): Argument is an "int".
law [Fri, 4 Dec 1998 01:26:15 +0000 (01:26 +0000)]
    * except.c (set_exception_version_code): Argument is an "int".

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

25 years ago * pexecute.c: Remove obsolete ifdefed cygwin code.
law [Fri, 4 Dec 1998 01:21:00 +0000 (01:21 +0000)]
    * pexecute.c: Remove obsolete ifdefed cygwin code.

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

25 years agoDaily bump.
law [Fri, 4 Dec 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * pdp11.h: Use optimize_size for space optimizations.
law [Fri, 4 Dec 1998 00:40:21 +0000 (00:40 +0000)]
* pdp11.h: Use optimize_size for space optimizations.
* pdp11.c: Likewise.
* pdp11.md: Likewise.

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

25 years agoFri Dec 4 01:34:02 1998 Jeffrey A Law (law@cygnus.com)
law [Fri, 4 Dec 1998 00:36:49 +0000 (00:36 +0000)]
Fri Dec  4 01:34:02 1998  Jeffrey A Law  (law@cygnus.com)
        * config.guess: Improve detection of hppa2.0 processors.
Fri Dec  4 01:33:05 1998  Niall Smart <nialls@euristix.ie>
        * config.guess: Recognize FreeBSD using ELF automatically.

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

25 years ago * configure.in (mipsel-*-linux*): New target.
law [Fri, 4 Dec 1998 00:32:33 +0000 (00:32 +0000)]
* configure.in (mipsel-*-linux*): New target.
* mips/linux.h: New file, based on other Linux targets.

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

25 years ago * gthr-vxworks.h (__ehdtor): Fix memory leak. The delete hook
law [Fri, 4 Dec 1998 00:28:34 +0000 (00:28 +0000)]
    * gthr-vxworks.h (__ehdtor): Fix memory leak.  The delete hook
        runs in the context of the deleter, not the deletee, so we must
        use taskVarGet to find the correct memory to free.
        (__gthread_key_create): Initialize the task
        variable subsystem so that the task variable is still active when
        the delete hook is run.

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

25 years ago * pdp11.h (TARGET_40_PLUS): Fix typo.
law [Fri, 4 Dec 1998 00:24:58 +0000 (00:24 +0000)]
    * pdp11.h (TARGET_40_PLUS): Fix typo.

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

25 years agoThu Dec 3 17:11:12 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Thu, 3 Dec 1998 17:53:02 +0000 (17:53 +0000)]
Thu Dec  3 17:11:12 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* java-tree.h (java_layout_seen_class_methods): New function
  prototype.
(LAYOUT_SEEN_CLASS_METHODS): Macro removed.
* jcf-parse.c (parse_class_file): Call java_layout_seen_class_methods.
* parse.h (PROMOTE_RECORD_IF_COMPLETE): New macro.
* parse.y (method_declarator:): Defined action.
(issue_warning_error_from_context): input_filename saved, set to
  the appropriate value and restored after java_error is called.
(build_unresolved_array_type): Fixed comment.
(register_fields): Use PROMOTE_RECORD_IF_COMPLETE.
(method_header): Deal with return type the same way type are
  handled for fields and method's parameters and local variables
  types are handled.
(check_method_redefinition): Removed extra CR.
(declare_local_variables): Use PROMOTE_RECORD_IF_COMPLETE.
(java_layout_seen_class_methods): New function.
(java_layout_classes): Call java_layout_seen_class_methods.
Handles an obsolete way of declaring methods returning an array. Does
a better job at laying out class methods before code generation.

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

25 years ago * class.c (handle_using_decl): Fix comment. Don't lookup
mmitchel [Thu, 3 Dec 1998 16:58:03 +0000 (16:58 +0000)]
* class.c (handle_using_decl): Fix comment.  Don't lookup
constructors in base classes.
(validate_lhs): Fix typo in comment.
* search.c (lookup_field_1): Don't return a USING_DECL.
* cp-tree.h (DECL_ACCESS): Improve documentation.
* decl.c (expand_static_init): Don't set the initialization-done
flag until the initialization is done.

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

25 years ago * parse,y (patch_synchronized_statement): Set CAN_COMPLETE_NORMALLY.
bothner [Thu, 3 Dec 1998 15:58:21 +0000 (15:58 +0000)]
* parse,y (patch_synchronized_statement):  Set CAN_COMPLETE_NORMALLY.

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

25 years ago8
bothner [Thu, 3 Dec 1998 15:58:20 +0000 (15:58 +0000)]
8
* parse,y (patch_synchronized_statement):  Set CAN_COMPLETE_NORMALLY.

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

25 years ago * jcf-dump.c (main): Fix error message.
bothner [Thu, 3 Dec 1998 15:54:09 +0000 (15:54 +0000)]
* jcf-dump.c (main):  Fix error message.
* jcf-path.c (add_entry):  Style fix.

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

25 years ago * g++.old-deja/g++.pt/overload8.C: New test.
oliva [Thu, 3 Dec 1998 13:32:56 +0000 (13:32 +0000)]
* g++.old-deja/g++.pt/overload8.C: New test.

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

25 years ago * g++.old-deja/g++.pt/overload7.C: New test.
oliva [Thu, 3 Dec 1998 12:52:05 +0000 (12:52 +0000)]
* g++.old-deja/g++.pt/overload7.C: New test.

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

25 years ago * g++.old-deja/g++.pt/spec20.C: ERROR marks were bogus
oliva [Thu, 3 Dec 1998 11:24:23 +0000 (11:24 +0000)]
* g++.old-deja/g++.pt/spec20.C: ERROR marks were bogus

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

25 years ago * lib/old-dejagnu.exp (old-dejagnu): ignore collect recompiling
oliva [Thu, 3 Dec 1998 11:21:28 +0000 (11:21 +0000)]
* lib/old-dejagnu.exp (old-dejagnu): ignore collect recompiling
and relinking messages
* lib/g++.exp (g++_target_compile): remove .rpo file when
compiling with -frepo

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

25 years ago * alias.c (addr_side_effect_eval): New function.
m.hayes [Thu, 3 Dec 1998 01:32:23 +0000 (01:32 +0000)]
* alias.c (addr_side_effect_eval): New function.
(memrefs_conflict_p): Use it.
* rtl.h (addr_side_effect_eval): Prototype it.

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

25 years agoDaily bump.
law [Thu, 3 Dec 1998 00:45:03 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * pdp11.md (extendsfdf2): Fix mode mismatch in SET.
law [Wed, 2 Dec 1998 18:56:11 +0000 (18:56 +0000)]
    * pdp11.md (extendsfdf2): Fix mode mismatch in SET.

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

25 years agoWed Dec 2 15:52:25 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Wed, 2 Dec 1998 16:47:33 +0000 (16:47 +0000)]
Wed Dec  2 15:52:25 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* class.c (layout_class_method): Call build_java_argument_signature
on constructors too.
* parse.y (check_method_redefinition): Use TYPE_ARGUMENT_SIGNATURE.
(patch_method_invocation): Define a primary when resolving an
  expression name. Augmented comment on code checking illegal `this'
  usage. Loosened it test by accepting NEW_CLASS_EXPR.

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

25 years agoFix reload bug that forced earlier x86 LEGITIMATE_CONSTANT_P change.
wilson [Wed, 2 Dec 1998 11:22:06 +0000 (11:22 +0000)]
Fix reload bug that forced earlier x86 LEGITIMATE_CONSTANT_P change.
* reload.c (find_reloads): When force const to memory, put result
in substed_operand not *recog_operand_loc.

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

25 years agoUpdate.
drepper [Wed, 2 Dec 1998 10:47:38 +0000 (10:47 +0000)]
Update.

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

25 years agoFix indentation from last patch.
drepper [Wed, 2 Dec 1998 10:44:51 +0000 (10:44 +0000)]
Fix indentation from last patch.
Remove trailing whitespace.

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

25 years agoFix indentation from last patch.
drepper [Wed, 2 Dec 1998 10:36:07 +0000 (10:36 +0000)]
Fix indentation from last patch.
Remove trailing whitespace.

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

25 years ago * decl2.c (validate_nonmember_using_decl): Complain about using
mmitchel [Wed, 2 Dec 1998 10:12:20 +0000 (10:12 +0000)]
* decl2.c (validate_nonmember_using_decl): Complain about using
declarations for class members.

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

25 years ago8
law [Wed, 2 Dec 1998 09:14:57 +0000 (09:14 +0000)]
8
        * flow.c (delete_block): Call set_last_insn after we have reset
        NEXT_INSN (kept_tail).

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

25 years ago
law [Wed, 2 Dec 1998 09:14:54 +0000 (09:14 +0000)]

        * flow.c (delete_block): Call set_last_insn after we have reset
        NEXT_INSN (kept_tail).

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

25 years agoAdd missing @section.
drepper [Wed, 2 Dec 1998 08:08:38 +0000 (08:08 +0000)]
Add missing @section.

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

25 years agoDaily bump.
law [Wed, 2 Dec 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * mips.md (trap_if): Use "$0" for the value zero.
law [Tue, 1 Dec 1998 23:50:04 +0000 (23:50 +0000)]
    * mips.md (trap_if): Use "$0" for the value zero.

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

25 years ago * flow.c (delete_block): Call set_last_insn if we end up deleting the
law [Tue, 1 Dec 1998 23:19:12 +0000 (23:19 +0000)]
* flow.c (delete_block): Call set_last_insn if we end up deleting the
last insn in the rtl chain.

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

25 years ago * c-common.c (declare_function_name): Declare predefinied variable
rth [Tue, 1 Dec 1998 21:05:17 +0000 (21:05 +0000)]
    * c-common.c (declare_function_name): Declare predefinied variable
        `__func__'.
        * c-decl.c (flag_isoc9x): Set to 1 by default.
        (c_decode_option): Handle -std= option.  Remove -flang-isoc9x.
        (grokdeclarator): Always emit warning about implicit int for ISO C 9x.
        * c-parse.in: Allow constructors in ISO C 9x.
        Rewrite designator list handling.
        Allow [*] parameters.
        Don't warn about comma at end of enum definition for ISO C 9x.
        * cccp.c (c9x): New variable.
        (rest_extension): New variable.
        (print_help): Document new -std= option.
        (main): Recognize -std= option.  Set c9x appropriately.
        (create_definition): Recognize ISO C 9x vararg macros.
        * gcc.c (default_compilers): Adjust specs for -std options.
        (option_map): Add --std.
        (display_help): Document -std.
        * toplev.c (documented_lang_options): Add -std and remove
        -flang-isoc9x.
        * c-lex.c (yylex): Recognize hex FP constants and call REAL_VALUE_ATOF
        or REAL_VALUE_HTOF based on base of the constants.
        * fold-const.c (real_hex_to_f): New function.  Replacement function
        for hex FP conversion if REAL_ARITHMETIC is not defined.
        * real.c (asctoeg): Add handling of hex FP constants.
        * real.h: Define REAL_VALUE_HTOF if necessary using ereal_atof or
        real_hex_to_f.

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

25 years agomips.md (div_trap): Lost last return while editing conflicts.
scox [Tue, 1 Dec 1998 19:14:51 +0000 (19:14 +0000)]
mips.md (div_trap): Lost last return while editing conflicts.

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

25 years ago* mips.md (divmodsi4*, divmoddi4*, udivmodsi4*, udivmoddi4): Add -mcheck-range-division/
scox [Tue, 1 Dec 1998 16:52:56 +0000 (16:52 +0000)]
* mips.md (divmodsi4*, divmoddi4*, udivmodsi4*, udivmoddi4): Add -mcheck-range-division/
-mcheck-zero-division checking.  Avoid as macro expansion.  Use hi/lo as destination
register.
(div_trap): New.
(divsi3*, divdi3*, modsi3*, moddi3*, udivsi3*, udivdi3*, umodsi3*,
umoddi3*): Add -mcheck-range-division/-mcheck-zero-division checking.
Avoid as macro expansion.  Use hi/lo as destination register.
* mips.h (MASK_CHECK_RANGE_DIV): New.
(MASK_NO_CHECK_ZERO_DIV): New.
(ELIMINABLE_REGS): Added GP_REG_FIRST + 31.
(CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): Allow for getting
return address for leaf functions out of r31 to support
builtin_return_address.

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

25 years agoHerman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
rth [Tue, 1 Dec 1998 15:06:35 +0000 (15:06 +0000)]
Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
        * jump.c (jump_optimize): Call regs_set_between_p with PREV_INSN(x),
        NEXT_INSN(x) to check insn x.

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

25 years ago * reload1.c (reload): Do not set reload_completed or split insns
law [Tue, 1 Dec 1998 14:36:51 +0000 (14:36 +0000)]
    * reload1.c (reload): Do not set reload_completed or split insns
        here.  Instead...
        * toplev.c (rest_of_compilation): Set reload_completed after
        reload returns.  Split insns after reload_cse has run.

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

25 years agoTue Dec 1 13:53:24 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Tue, 1 Dec 1998 14:28:02 +0000 (14:28 +0000)]
Tue Dec  1 13:53:24 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* class.c (layout_class_method): Don't report error on non-static
  overriding static if the method is private.
* java-tree.h (finish_class): Prototype added.
* lex.c (java_get_line_col): Handle col argument -2 value.
* parse.h: All static method declarations moved to parse.y.
* parse.y: Now contains all static method declarations previously
  found in parse.h.
(find_expr_with_wfl, missing_return_error,
  unreachable_stmt_error): New functions.
(java_get_real_method_name): Identify constructors bearing class
  names in source code compiled classes only.
(java_complete_expand_methods): Call missing_return_error.
(invocation_mode): Private methods invoked as static methods.
(java_complete_tree): Call unreachable_stmt_error.
This patch corrects the way unreachable statement and missing return
statement errors are reported. It also fixes random bugs.

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

25 years ago* final.c (final_scan_insn): Abort if block_depth falls below 0.
rth [Tue, 1 Dec 1998 11:56:06 +0000 (11:56 +0000)]
* final.c (final_scan_insn): Abort if block_depth falls below 0.

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

25 years ago * reload1.c (emit_reload_insns): Clear spill_reg_store
law [Tue, 1 Dec 1998 10:53:54 +0000 (10:53 +0000)]
    * reload1.c (emit_reload_insns): Clear spill_reg_store
        when doing a new non-inherited reload from the same pseudo.

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

25 years ago * Makefile.in (+target): Removed.
tromey [Tue, 1 Dec 1998 10:48:39 +0000 (10:48 +0000)]
* Makefile.in (+target): Removed.
(+xmake_file): Likewise.
(+tmake_file): Likewise.
(.NOEXPORT): Removed duplicate.

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

25 years agoFix problems encountered after recent egcs->devo marge
nickc [Tue, 1 Dec 1998 10:28:32 +0000 (10:28 +0000)]
Fix problems encountered after recent egcs->devo marge

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

25 years ago * local-alloc.c (function_invariant_p): New function.
amylaar [Tue, 1 Dec 1998 10:00:11 +0000 (10:00 +0000)]
* local-alloc.c (function_invariant_p): New function.
(update_equiv_regs): Use function_invariant_p instead of CONSTANT_P
to decide if an equivalence should be recorded.
* reload1.c (num_eliminable_invariants): New static variable.
(reload): Set it.  Use function_invariant_p instead of CONSTANT_P
to decide if an equivalence should be recorded.
Unshare PLUS.
(calculate_needs_all_insns): Skip insns that only set an equivalence.
Take num_eliminable_invariants into account when deciding
if register elimination should be done.
(reload_as_needed): Take num_eliminable_invariants into account
when deciding if register elimination should be done.
(eliminate_regs): Handle non-constant reg_equiv_constant.
* rtl.h (function_invariant_p): Declare.

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

25 years agoAdd new test based on PR 18365
nickc [Tue, 1 Dec 1998 09:40:02 +0000 (09:40 +0000)]
Add new test based on PR 18365

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

25 years ago * g++.old-deja/g++.pt/lookup6.C: New test.
oliva [Tue, 1 Dec 1998 08:08:59 +0000 (08:08 +0000)]
* g++.old-deja/g++.pt/lookup6.C: New test.

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

25 years ago * egcs_update: Only touch files that already exist.
gerald [Tue, 1 Dec 1998 05:04:12 +0000 (05:04 +0000)]
   * egcs_update: Only touch files that already exist.

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

25 years agoDaily bump.
law [Tue, 1 Dec 1998 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years agoUpdate.
drepper [Mon, 30 Nov 1998 09:41:18 +0000 (09:41 +0000)]
Update.

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

25 years ago(operator>>): Correct cast in last patch.
drepper [Mon, 30 Nov 1998 09:40:56 +0000 (09:40 +0000)]
(operator>>): Correct cast in last patch.
(getline): Likewise.

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

25 years agoGavin now owns the C front-end and ISO C9X issues.
law [Mon, 30 Nov 1998 09:17:29 +0000 (09:17 +0000)]
Gavin now owns the C front-end and ISO C9X issues.

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

25 years agoComment typo fix.
amylaar [Mon, 30 Nov 1998 07:06:35 +0000 (07:06 +0000)]
Comment typo fix.

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

25 years agoBump for snapshot
law [Mon, 30 Nov 1998 02:00:15 +0000 (02:00 +0000)]
Bump for snapshot

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

25 years agoFix cvs? lossage. Somehow the previous checkin scrogged this file. The
law [Mon, 30 Nov 1998 01:38:10 +0000 (01:38 +0000)]
Fix cvs? lossage.  Somehow the previous checkin scrogged this file.  The
lossage caused the snapshot diff + patch sanity check to fail due to a bogus
.diff file.

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

25 years agoDaily bump.
law [Mon, 30 Nov 1998 00:45:03 +0000 (00:45 +0000)]
Daily bump.

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

25 years agoBump for snapshot
law [Mon, 30 Nov 1998 00:43:02 +0000 (00:43 +0000)]
Bump for snapshot

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