Ken Raeburn [Mon, 1 Feb 1999 12:50:53 +0000 (12:50 +0000)]
Use varrays for constant-equivalence data:
* varray.h (struct const_equiv_data): New type.
(union varray_data_tag): New element const_equiv.
(VARRAY_CONST_EQUIV_INIT, VARRAY_CONST_EQUIV): New macros.
(VARRAY_SIZE): New macro, returns number of elements.
* integrate.h: Include varray.h.
(struct inline_remap): Replace const_equiv_map, const_age_map and
const_equiv_map_size with a const_equiv_varray element.
(MAYBE_EXTEND_CONST_EQUIV_VARRAY): New macro; grows varray if needed.
(SET_CONST_EQUIV_DATA): New macro; sets rtx and age fields simultaneously,
growing the varray if needed.
* integrate.c (global_const_equiv_map, global_const_equiv_map_size): Deleted,
replaced by....
(global_const_equiv_varray): New variable.
(expand_inline_function): References changed.
* integrate.h: Update declarations.
* integrate.c (process_reg_parm, expand_inline_function,
copy_rtx_and_substitute, try_constants, subst_constants, mark_stores): Use
varray allocation and accessor macros, new integrate.h macros, and
global_const_equiv_varray. Don't conditionalize non-NULL stores on array size;
instead, expand the array as needed.
* unroll.c (unroll_loop): Likewise.
* unroll.c (unroll_loop): Initialize const_equiv_varray element to zero. After
allocating varray, always exit through bottom of function, where it can be
deallocated if needed. Don't explicitly reallocate const_equiv_map storage;
instead, just ensure the varray has been initialized, and update the global
reference.
From-SVN: r24956
Hans-Peter Nilsson [Mon, 1 Feb 1999 12:38:56 +0000 (13:38 +0100)]
Makefile.in: Add missing dependencies for jcf-dump.o, gjavah.o, check-init.o, jv-scan.o
Thu Jan 28 09:17:51 1999 Hans-Peter Nilsson <hp@axis.se>
* java/Makefile.in: Add missing dependencies for jcf-dump.o,
gjavah.o, check-init.o, jv-scan.o
From-SVN: r24955
Manfred Hollstein [Mon, 1 Feb 1999 10:33:58 +0000 (10:33 +0000)]
Makefile.am (noinst_PROGRAMS): Renamed from "bin_PROGRAMS" to avoid installing anything.
* util/Makefile.am (noinst_PROGRAMS): Renamed from "bin_PROGRAMS"
to avoid installing anything.
(noinst_SCRIPTS): Likewise.
* util/Makefile.in: Regenerate using automake-1.3.
From-SVN: r24954
Kaveh Ghazi [Mon, 1 Feb 1999 07:05:07 +0000 (07:05 +0000)]
Add 1999 copyright.
From-SVN: r24953
Kaveh R. Ghazi [Mon, 1 Feb 1999 07:00:40 +0000 (07:00 +0000)]
Makefile.in (gjavah.o): Depend on $(CONFIG_H) and system.h.
* Makefile.in (gjavah.o): Depend on $(CONFIG_H) and system.h.
* gjavah.c: Include config.h and system.h.
* javaop.h (inline): Don't define, its handled by system.h.
(WORD_TO_FLOAT, WORDS_TO_LONG, WORDS_TO_DOUBLE): Change these
from `inline' to `static inline'.
* jcf.h (inline): Don't define, its handled by system.h.
* lex.c (inline): Likewise.
From-SVN: r24952
Kaveh R. Ghazi [Mon, 1 Feb 1999 06:52:43 +0000 (06:52 +0000)]
* input.c (inline): Don't define, its handled by system.h.
From-SVN: r24951
Kaveh R. Ghazi [Mon, 1 Feb 1999 06:49:19 +0000 (06:49 +0000)]
system.h (inline, const): Handle these for stage2 (and later) gcc.
* system.h (inline, const): Handle these for stage2 (and later) gcc.
* dwarf2out.c (inline): Don't define.
* dwarfout.c (inline): Likewise.
From-SVN: r24950
Jeff Law [Mon, 1 Feb 1999 00:45:03 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24949
Richard Henderson [Sun, 31 Jan 1999 22:05:28 +0000 (14:05 -0800)]
* loop.c (recombine_givs): Dump recombination and derivation data.
From-SVN: r24948
Zack Weinberg [Sun, 31 Jan 1999 17:46:54 +0000 (17:46 +0000)]
flags.h: Declare flag_no_ident.
/
1999-01-31 17:52 -0500 Zack Weinberg <zack@midnite.ec.rhno.columbia.edu>
* flags.h: Declare flag_no_ident.
* toplev.c: Define flag_no_ident. Process -f(no-)ident here.
* c-decl.c: Don't define flag_no_ident. Don't process
-f(no-)ident switches here.
* ch/decl.c: Likewise.
* cp/decl2.c: Likewise.
* c-tree.h: Don't declare flag_no_ident.
* ch/ch-tree.h: Likewise.
* cp/cp-tree.h: Likewise.
* config/elfos.h (ASM_FILE_END): Output final .ident directive
only if !flag_no_ident.
* config/ptx4.h: Likewise.
* config/svr4.h: Likewise.
* config/alpha/elf.h: Likewise.
* config/arm/linux-elf.h: Likewise.
* config/i386/sco5.h: Likewise.
* config/i860/fx2800.h: Likewise.
* config/mips/gnu.h: Likewise.
* config/i386/osfrose.h: Likewise.
* gcc.c (C specs): Map -Qn to -fno-ident.
* ch/lang-specs.h: Likewise.
* cp/lang-specs.h: Likewise.
* f/lang-specs.h: Likewise.
* objc/lang-specs.h: Likewise.
* java/lang-specs.h: Likewise.
From-SVN: r24947
Zack Weinberg [Sun, 31 Jan 1999 17:46:52 +0000 (17:46 +0000)]
flags.h: Declare flag_no_ident.
1999-01-31 17:52 -0500 Zack Weinberg <zack@midnite.ec.rhno.columbia.edu>
* flags.h: Declare flag_no_ident.
* toplev.c: Define flag_no_ident. Process -f(no-)ident here.
* c-decl.c: Don't define flag_no_ident. Don't process
-f(no-)ident switches here.
* ch/decl.c: Likewise.
* cp/decl2.c: Likewise.
* c-tree.h: Don't declare flag_no_ident.
* ch/ch-tree.h: Likewise.
* cp/cp-tree.h: Likewise.
* config/elfos.h (ASM_FILE_END): Output final .ident directive
only if !flag_no_ident.
* config/ptx4.h: Likewise.
* config/svr4.h: Likewise.
* config/alpha/elf.h: Likewise.
* config/arm/linux-elf.h: Likewise.
* config/i386/sco5.h: Likewise.
* config/i860/fx2800.h: Likewise.
* config/mips/gnu.h: Likewise.
* config/i386/osfrose.h: Likewise.
* gcc.c (C specs): Map -Qn to -fno-ident.
* ch/lang-specs.h: Likewise.
* cp/lang-specs.h: Likewise.
* f/lang-specs.h: Likewise.
* objc/lang-specs.h: Likewise.
* java/lang-specs.h: Likewise.
From-SVN: r24946
Zack Weinberg [Sun, 31 Jan 1999 17:46:50 +0000 (17:46 +0000)]
flags.h: Declare flag_no_ident.
a
1999-01-31 17:52 -0500 Zack Weinberg <zack@midnite.ec.rhno.columbia.edu>
* flags.h: Declare flag_no_ident.
* toplev.c: Define flag_no_ident. Process -f(no-)ident here.
* c-decl.c: Don't define flag_no_ident. Don't process
-f(no-)ident switches here.
* ch/decl.c: Likewise.
* cp/decl2.c: Likewise.
* c-tree.h: Don't declare flag_no_ident.
* ch/ch-tree.h: Likewise.
* cp/cp-tree.h: Likewise.
* config/elfos.h (ASM_FILE_END): Output final .ident directive
only if !flag_no_ident.
* config/ptx4.h: Likewise.
* config/svr4.h: Likewise.
* config/alpha/elf.h: Likewise.
* config/arm/linux-elf.h: Likewise.
* config/i386/sco5.h: Likewise.
* config/i860/fx2800.h: Likewise.
* config/mips/gnu.h: Likewise.
* config/i386/osfrose.h: Likewise.
* gcc.c (C specs): Map -Qn to -fno-ident.
* ch/lang-specs.h: Likewise.
* cp/lang-specs.h: Likewise.
* f/lang-specs.h: Likewise.
* objc/lang-specs.h: Likewise.
* java/lang-specs.h: Likewise.
From-SVN: r24945
Zack Weinberg [Sun, 31 Jan 1999 17:46:49 +0000 (17:46 +0000)]
flags.h: Declare flag_no_ident.
d
1999-01-31 17:52 -0500 Zack Weinberg <zack@midnite.ec.rhno.columbia.edu>
* flags.h: Declare flag_no_ident.
* toplev.c: Define flag_no_ident. Process -f(no-)ident here.
* c-decl.c: Don't define flag_no_ident. Don't process
-f(no-)ident switches here.
* ch/decl.c: Likewise.
* cp/decl2.c: Likewise.
* c-tree.h: Don't declare flag_no_ident.
* ch/ch-tree.h: Likewise.
* cp/cp-tree.h: Likewise.
* config/elfos.h (ASM_FILE_END): Output final .ident directive
only if !flag_no_ident.
* config/ptx4.h: Likewise.
* config/svr4.h: Likewise.
* config/alpha/elf.h: Likewise.
* config/arm/linux-elf.h: Likewise.
* config/i386/sco5.h: Likewise.
* config/i860/fx2800.h: Likewise.
* config/mips/gnu.h: Likewise.
* config/i386/osfrose.h: Likewise.
* gcc.c (C specs): Map -Qn to -fno-ident.
* ch/lang-specs.h: Likewise.
* cp/lang-specs.h: Likewise.
* f/lang-specs.h: Likewise.
* objc/lang-specs.h: Likewise.
* java/lang-specs.h: Likewise.
From-SVN: r24944
Zack Weinberg [Sun, 31 Jan 1999 17:46:42 +0000 (17:46 +0000)]
flags.h: Declare flag_no_ident.
1999-01-31 17:52 -0500 Zack Weinberg <zack@midnite.ec.rhno.columbia.edu>
* flags.h: Declare flag_no_ident.
* toplev.c: Define flag_no_ident. Process -f(no-)ident here.
* c-decl.c: Don't define flag_no_ident. Don't process
-f(no-)ident switches here.
* ch/decl.c: Likewise.
* cp/decl2.c: Likewise.
* c-tree.h: Don't declare flag_no_ident.
* ch/ch-tree.h: Likewise.
* cp/cp-tree.h: Likewise.
* config/elfos.h (ASM_FILE_END): Output final .ident directive
only if !flag_no_ident.
* config/ptx4.h: Likewise.
* config/svr4.h: Likewise.
* config/alpha/elf.h: Likewise.
* config/arm/linux-elf.h: Likewise.
* config/i386/sco5.h: Likewise.
* config/i860/fx2800.h: Likewise.
* config/mips/gnu.h: Likewise.
* config/i386/osfrose.h: Likewise.
* gcc.c (C specs): Map -Qn to -fno-ident.
* ch/lang-specs.h: Likewise.
* cp/lang-specs.h: Likewise.
* f/lang-specs.h: Likewise.
* objc/lang-specs.h: Likewise.
* java/lang-specs.h: Likewise.
From-SVN: r24943
Zack Weinberg [Sun, 31 Jan 1999 17:46:27 +0000 (17:46 +0000)]
flags.h: Declare flag_no_ident.
(
1999-01-31 17:52 -0500 Zack Weinberg <zack@midnite.ec.rhno.columbia.edu>
* flags.h: Declare flag_no_ident.
* toplev.c: Define flag_no_ident. Process -f(no-)ident here.
* c-decl.c: Don't define flag_no_ident. Don't process
-f(no-)ident switches here.
* ch/decl.c: Likewise.
* cp/decl2.c: Likewise.
* c-tree.h: Don't declare flag_no_ident.
* ch/ch-tree.h: Likewise.
* cp/cp-tree.h: Likewise.
* config/elfos.h (ASM_FILE_END): Output final .ident directive
only if !flag_no_ident.
* config/ptx4.h: Likewise.
* config/svr4.h: Likewise.
* config/alpha/elf.h: Likewise.
* config/arm/linux-elf.h: Likewise.
* config/i386/sco5.h: Likewise.
* config/i860/fx2800.h: Likewise.
* config/mips/gnu.h: Likewise.
* config/i386/osfrose.h: Likewise.
* gcc.c (C specs): Map -Qn to -fno-ident.
* ch/lang-specs.h: Likewise.
* cp/lang-specs.h: Likewise.
* f/lang-specs.h: Likewise.
* objc/lang-specs.h: Likewise.
* java/lang-specs.h: Likewise.
From-SVN: r24942
Zack Weinberg [Sun, 31 Jan 1999 17:46:25 +0000 (17:46 +0000)]
flags.h: Declare flag_no_ident.
X
1999-01-31 17:52 -0500 Zack Weinberg <zack@midnite.ec.rhno.columbia.edu>
* flags.h: Declare flag_no_ident.
* toplev.c: Define flag_no_ident. Process -f(no-)ident here.
* c-decl.c: Don't define flag_no_ident. Don't process
-f(no-)ident switches here.
* ch/decl.c: Likewise.
* cp/decl2.c: Likewise.
* c-tree.h: Don't declare flag_no_ident.
* ch/ch-tree.h: Likewise.
* cp/cp-tree.h: Likewise.
* config/elfos.h (ASM_FILE_END): Output final .ident directive
only if !flag_no_ident.
* config/ptx4.h: Likewise.
* config/svr4.h: Likewise.
* config/alpha/elf.h: Likewise.
* config/arm/linux-elf.h: Likewise.
* config/i386/sco5.h: Likewise.
* config/i860/fx2800.h: Likewise.
* config/mips/gnu.h: Likewise.
* config/i386/osfrose.h: Likewise.
* gcc.c (C specs): Map -Qn to -fno-ident.
* ch/lang-specs.h: Likewise.
* cp/lang-specs.h: Likewise.
* f/lang-specs.h: Likewise.
* objc/lang-specs.h: Likewise.
* java/lang-specs.h: Likewise.
From-SVN: r24941
Zack Weinberg [Sun, 31 Jan 1999 17:46:23 +0000 (17:46 +0000)]
flags.h: Declare flag_no_ident.
�
1999-01-31 17:52 -0500 Zack Weinberg <zack@midnite.ec.rhno.columbia.edu>
* flags.h: Declare flag_no_ident.
* toplev.c: Define flag_no_ident. Process -f(no-)ident here.
* c-decl.c: Don't define flag_no_ident. Don't process
-f(no-)ident switches here.
* ch/decl.c: Likewise.
* cp/decl2.c: Likewise.
* c-tree.h: Don't declare flag_no_ident.
* ch/ch-tree.h: Likewise.
* cp/cp-tree.h: Likewise.
* config/elfos.h (ASM_FILE_END): Output final .ident directive
only if !flag_no_ident.
* config/ptx4.h: Likewise.
* config/svr4.h: Likewise.
* config/alpha/elf.h: Likewise.
* config/arm/linux-elf.h: Likewise.
* config/i386/sco5.h: Likewise.
* config/i860/fx2800.h: Likewise.
* config/mips/gnu.h: Likewise.
* config/i386/osfrose.h: Likewise.
* gcc.c (C specs): Map -Qn to -fno-ident.
* ch/lang-specs.h: Likewise.
* cp/lang-specs.h: Likewise.
* f/lang-specs.h: Likewise.
* objc/lang-specs.h: Likewise.
* java/lang-specs.h: Likewise.
From-SVN: r24940
Zack Weinberg [Sun, 31 Jan 1999 17:46:17 +0000 (17:46 +0000)]
flags.h: Declare flag_no_ident.
h
1999-01-31 17:52 -0500 Zack Weinberg <zack@midnite.ec.rhno.columbia.edu>
* flags.h: Declare flag_no_ident.
* toplev.c: Define flag_no_ident. Process -f(no-)ident here.
* c-decl.c: Don't define flag_no_ident. Don't process
-f(no-)ident switches here.
* ch/decl.c: Likewise.
* cp/decl2.c: Likewise.
* c-tree.h: Don't declare flag_no_ident.
* ch/ch-tree.h: Likewise.
* cp/cp-tree.h: Likewise.
* config/elfos.h (ASM_FILE_END): Output final .ident directive
only if !flag_no_ident.
* config/ptx4.h: Likewise.
* config/svr4.h: Likewise.
* config/alpha/elf.h: Likewise.
* config/arm/linux-elf.h: Likewise.
* config/i386/sco5.h: Likewise.
* config/i860/fx2800.h: Likewise.
* config/mips/gnu.h: Likewise.
* config/i386/osfrose.h: Likewise.
* gcc.c (C specs): Map -Qn to -fno-ident.
* ch/lang-specs.h: Likewise.
* cp/lang-specs.h: Likewise.
* f/lang-specs.h: Likewise.
* objc/lang-specs.h: Likewise.
* java/lang-specs.h: Likewise.
From-SVN: r24939
Michael Hayes [Sun, 31 Jan 1999 13:51:08 +0000 (13:51 +0000)]
configure.in: Don't remove loop.o and unroll.o when enable-haifa is selected.
Mon Feb 1 10:52:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* configure.in: Don't remove loop.o and unroll.o when
enable-haifa is selected.
* configure: Rebuilt.
From-SVN: r24938
John Wehle [Sun, 31 Jan 1999 12:27:13 +0000 (12:27 +0000)]
i386.md (movsicc, [...]): Delete unconstrained alternatives.
* i386.md (movsicc, movhicc, movsfcc, movdfcc,
movxfcc, movdicc): Delete unconstrained alternatives.
* i386.c (output_fp_conditional_move,
output_int_conditional_move): Delete unused case.
From-SVN: r24937
Jeffrey A Law [Sun, 31 Jan 1999 01:15:09 +0000 (18:15 -0700)]
Bump for snapshot
From-SVN: r24935
Richard Henderson [Sun, 31 Jan 1999 00:54:57 +0000 (16:54 -0800)]
alpha.md (mov patterns): Emit the assembler aliases mov and fmov instead of bis and cpys.
* alpha.md (mov patterns): Emit the assembler aliases mov and fmov
instead of bis and cpys. Combine alternatives where possible.
From-SVN: r24934
Jeff Law [Sun, 31 Jan 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24933
Kaveh R. Ghazi [Sat, 30 Jan 1999 21:26:52 +0000 (21:26 +0000)]
Fix thinko in last change to toplev.h (fnotice).
Wrap prototype with BUFSIZ to protect FILE* usage.
From-SVN: r24932
Kaveh R. Ghazi [Sat, 30 Jan 1999 20:18:51 +0000 (20:18 +0000)]
gcov.c (fnotice): Add missing FILE* parameter.
* gcov.c (fnotice): Add missing FILE* parameter.
(function_summary): Fix format specifiers in calls to `fnotice'.
(output_data): Likewise.
* toplev.c (fnotice): Constify char* parameter.
* toplev.h (fnotice): Add prototype.
From-SVN: r24931
Jeff Law [Sat, 30 Jan 1999 18:58:05 +0000 (11:58 -0700)]
Copyright dates.
From-SVN: r24930
Jeff Law [Sat, 30 Jan 1999 18:55:28 +0000 (11:55 -0700)]
Copyright date.
From-SVN: r24929
Michael Hayes [Sat, 30 Jan 1999 18:36:35 +0000 (18:36 +0000)]
c4x.h (RTX_COSTS): Explicitly define c4x costs.
Sun Jan 31 15:33:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.h (RTX_COSTS): Explicitly define c4x costs.
From-SVN: r24928
Jeffrey A Law [Sat, 30 Jan 1999 18:18:16 +0000 (18:18 +0000)]
* combine.c (distribute_notes): Handle REG_EH_REGION notes.
From-SVN: r24927
Jeffrey A Law [Sat, 30 Jan 1999 17:12:54 +0000 (17:12 +0000)]
alias.c (fixed_scalar_and_varying_struct_p): Add "static" to function definition.
* alias.c (fixed_scalar_and_varying_struct_p): Add "static" to
function definition.
(aliases_everything_p, write_dependence_p):Likewise.
From-SVN: r24926
Richard Henderson [Sat, 30 Jan 1999 16:23:52 +0000 (08:23 -0800)]
* gcc.c-torture/execute/990130-1.c: New test.
From-SVN: r24925
Jeffrey A Law [Sat, 30 Jan 1999 15:20:57 +0000 (15:20 +0000)]
* install.texi: Fix merge lossages.
From-SVN: r24924
Jeffrey A Law [Sat, 30 Jan 1999 14:34:11 +0000 (14:34 +0000)]
cccp.c (main): Only call setlocale (LC_MESSAGES, ...) if LC_MESSAGES is defined.
* cccp.c (main): Only call setlocale (LC_MESSAGES, ...) if LC_MESSAGES
is defined.
* collect2.c (main): Likewise.
* cppmain.c (main): Likewise.
* gcc.c (main): Likewise.
* gcov.c (main): Likewise.
* protoize.c (main): Likewise.
* toplev.c (main): Likewise.
From-SVN: r24923
Jeffrey A Law [Sat, 30 Jan 1999 13:50:10 +0000 (13:50 +0000)]
pa.md (parallel shift and shiftadd): Mark output of shift as an earlyclobber.
* pa.md (parallel shift and shiftadd): Mark output of shift as an
earlyclobber.
Fixes -O1 bootstrap problem.
From-SVN: r24922
Richard Henderson [Sat, 30 Jan 1999 13:28:44 +0000 (05:28 -0800)]
* Makefile.in (xstrdup.o): Depend on config.h.
From-SVN: r24921
Robert Lipe [Sat, 30 Jan 1999 13:08:40 +0000 (13:08 +0000)]
config.guess: Improve detection of i686 on UnixWare 7.
�
* config.guess: Improve detection of i686 on UnixWare 7.
From-SVN: r24920
Robert Lipe [Sat, 30 Jan 1999 13:08:39 +0000 (13:08 +0000)]
config.guess: Improve detection of i686 on UnixWare 7.
(
* config.guess: Improve detection of i686 on UnixWare 7.
From-SVN: r24919
Jeff Law [Sat, 30 Jan 1999 11:14:53 +0000 (04:14 -0700)]
Undo previous change. Ulrich wants the problem hanled differently.
From-SVN: r24918
Jeffrey A Law [Sat, 30 Jan 1999 10:13:37 +0000 (10:13 +0000)]
* gcc.dg/990130-1.c: New test.
From-SVN: r24917
Jeffrey A Law [Sat, 30 Jan 1999 07:32:56 +0000 (07:32 +0000)]
loop.c: Disable recent loop changes.
* loop.c: Disable recent loop changes. Temporary as Joern
continues to fix problems.
From-SVN: r24916
Mumit Khan [Sat, 30 Jan 1999 07:11:12 +0000 (07:11 +0000)]
* stdiostream.cc (_POSIX_SOURCE): Define.
From-SVN: r24915
Mumit Khan [Sat, 30 Jan 1999 07:09:11 +0000 (07:09 +0000)]
x86-interix.ml: New file.
* config/x86-interix.ml: New file.
* configure.in (i[3456]86-*-interix*): Add shared library support.
From-SVN: r24914
Mumit Khan [Sat, 30 Jan 1999 07:07:42 +0000 (07:07 +0000)]
config.guess: Add support for i386-pc-interix.
* config.guess: Add support for i386-pc-interix.
* config.sub: Likewise.
* configure.in: Likewise.
* config/mh-interix: New file.
From-SVN: r24913
Jeff Law [Sat, 30 Jan 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24911
J"orn Rennecke [Fri, 29 Jan 1999 19:27:51 +0000 (19:27 +0000)]
* loop.c (strength_reduce): Size reg_map according to reg_iv_type.
From-SVN: r24910
Richard Henderson [Fri, 29 Jan 1999 16:48:14 +0000 (08:48 -0800)]
* check-init.c (check_init): Fix CLEANUP_POINT_EXPR typo.
From-SVN: r24909
Dave Brolley [Fri, 29 Jan 1999 15:25:17 +0000 (15:25 +0000)]
emit-rtl.c (remove_insn): New function.
Fri Jan 29 18:26:07 1999 Dave Brolley <brolley@cygnus.com>
* emit-rtl.c (remove_insn): New function.
* rtl.h (remove_insn): Add prototype.
* function.c (reposition_prologue_and_epilogue_notes): Call remove_insn.
From-SVN: r24908
Tom Tromey [Fri, 29 Jan 1999 15:16:12 +0000 (15:16 +0000)]
parse.h (BUILD_APPEND): If ARG is a non-String object reference...
* parse.h (BUILD_APPEND): If ARG is a non-String object reference,
then cast it to Object before calling `append' method.
From-SVN: r24907
J"orn Rennecke [Fri, 29 Jan 1999 14:36:59 +0000 (14:36 +0000)]
* loop.c (recombine_givs): Don't try to derive givs that have combined.
From-SVN: r24906
Kaveh R. Ghazi [Fri, 29 Jan 1999 12:10:52 +0000 (12:10 +0000)]
toplev.c (notice, fnotice): Check ANSI_PROTOTYPES...
* toplev.c (notice, fnotice): Check ANSI_PROTOTYPES, not __STDC__,
when declaring arguments and calling va_arg() to initialize them.
* collect2.c (notice): Likewise.
* loop.c (find_life_end): Use PROTO() macro in the prototype.
From-SVN: r24905
Kaveh R. Ghazi [Fri, 29 Jan 1999 11:41:02 +0000 (11:41 +0000)]
collect2.c (error): Fix typo in declaration.
* collect2.c (error): Fix typo in declaration.
* cpperror.c (cpp_message): Likewise.
* cpplib.c (cpp_warning): Likewise.
* cpplib.h (cpp_notice): Use PVPROTO not VPROTO, also add
ATTRIBUTE_PRINTF_1.
* toplev.c (error): Fix typo in declaration.
From-SVN: r24904
J"orn Rennecke [Fri, 29 Jan 1999 07:46:16 +0000 (07:46 +0000)]
loop.c (strength_reduce): Fix HAVE_cc0 handling when scanning forward from cont dominator.
* loop.c (strength_reduce): Fix HAVE_cc0 handling when scanning
forward from cont dominator.
From-SVN: r24903
Kaveh R. Ghazi [Fri, 29 Jan 1999 04:18:00 +0000 (04:18 +0000)]
cccp.c (eprint_string): Constify a char*.
* cccp.c (eprint_string): Constify a char*.
(notice): Likewise. Use PVPROTO not VPROTO, add ATTRIBUTE_PRINTF_1.
(vnotice): Constify a char*.
(error): Likewise. Use PVPROTO not VPROTO, add ATTRIBUTE_PRINTF_1.
(verror): Constify a char*.
(warning): Likewise. Use PVPROTO not VPROTO, add ATTRIBUTE_PRINTF_1.
(vwarning): Constify a char*.
(error_with_line): Likewise. Use PVPROTO not VPROTO, add
ATTRIBUTE_PRINTF_2.
(verror_with_line): Constify a char*.
(vwarning_with_line): Likewise.
(warning_with_line): Likewise. Use PVPROTO not VPROTO, add
ATTRIBUTE_PRINTF_2.
(pedwarn): Constify a char*. Use PVPROTO not VPROTO, add
ATTRIBUTE_PRINTF_1.
(pedwarn_with_line): Likewise with ATTRIBUTE_PRINTF_2.
(pedwarn_with_file_and_line): Likewise with ATTRIBUTE_PRINTF_4.
Also correct typo in parameter name declaration.
(make_assertion): Constify a char*.
(quote_string_for_make): Likewise.
(deps_output): Likewise.
(fatal): Likewise. Use PVPROTO not VPROTO, add
ATTRIBUTE_PRINTF_1. Use ATTRIBUTE_NORETURN not an explicit
"__attribute__ ((noreturn))".
(fancy_abort): Likewise for ATTRIBUTE_NORETURN.
(pfatal_with_name): Likewise.
(pipe_closed): Likewise.
(memory_full): Likewise.
From-SVN: r24902
Jeff Law [Fri, 29 Jan 1999 00:45:03 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24901
Per Bothner [Thu, 28 Jan 1999 16:40:56 +0000 (16:40 +0000)]
check-init.c (check_bool2_init, [...]): Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR, and TRUTH_XOR_EXPR.
�
* check-init.c (check_bool2_init, check_bool_init, check_init):
Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR, and TRUTH_XOR_EXPR.
* jcf-write.c (generate_bytecode_insns): Likewise.
From-SVN: r24900
Per Bothner [Thu, 28 Jan 1999 16:40:54 +0000 (08:40 -0800)]
check-init.c (check_bool2_init, [...]): Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR, and TRUTH_XOR_EXPR.
�
* check-init.c (check_bool2_init, check_bool_init, check_init):
Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR, and TRUTH_XOR_EXPR.
* jcf-write.c (generate_bytecode_insns): Likewise.
From-SVN: r24899
J"orn Rennecke [Thu, 28 Jan 1999 16:19:58 +0000 (16:19 +0000)]
loop.c (strength_reduce): Grow set_in_loop / n_times_set / may_not_optimize to proper size when...
* loop.c (strength_reduce): Grow set_in_loop / n_times_set /
may_not_optimize to proper size when converting biv increments
into givs.
If necessary, reallocate reg_iv_type / reg_iv_info before calling
recombine_givs.
From-SVN: r24898
Michael Meissner [Thu, 28 Jan 1999 16:05:21 +0000 (16:05 +0000)]
add new test
From-SVN: r24897
Joern Rennecke [Thu, 28 Jan 1999 15:36:05 +0000 (15:36 +0000)]
Happy new year.
From-SVN: r24896
J"orn Rennecke [Thu, 28 Jan 1999 15:28:14 +0000 (15:28 +0000)]
loop.c (recombine_givs): New parameter unroll_p.
* loop.c (recombine_givs): New parameter unroll_p. If set, don't
generate complex adds. Changed caller.
Don't generate adds that cost more than the original one.
(strength_reduce): Warning fixes.
From-SVN: r24895
Jason Merrill [Thu, 28 Jan 1999 09:47:48 +0000 (09:47 +0000)]
cp-tree.h (struct tree_binding): Replace scope field with a union.
* cp-tree.h (struct tree_binding): Replace scope field with a union.
(BINDING_SCOPE): Adjust.
* decl.c (BINDING_LEVEL): Adjust.
From-SVN: r24894
Jeffrey A Law [Thu, 28 Jan 1999 08:46:11 +0000 (08:46 +0000)]
configure.in (hppa1.0-hp-hpux10*): Use t-pa.
* configure.in (hppa1.0-hp-hpux10*): Use t-pa.
* configure: Rebuilt.
From-SVN: r24892
Jeff Law [Thu, 28 Jan 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24891
Richard Henderson [Wed, 27 Jan 1999 17:54:45 +0000 (09:54 -0800)]
Move `normal_memory_operand' from gcc2 merge into the operand
predicates section of the file.
From-SVN: r24890
J"orn Rennecke [Wed, 27 Jan 1999 15:45:50 +0000 (15:45 +0000)]
rtl.h (insn_first_p): Declare.
* rtl.h (insn_first_p): Declare.
* rtlanal.c (insn_first_p): New function.
* loop.h (varray.h): Include.
(struct induction): Change combined_with to unsigned.
New members derived, ix and last_use.
(reg_iv_type, reg_iv_info): Now varray_type. All references changed.
(REG_IV_TYPE, REG_IV_INFO): Define.
(first_increment_giv, last_increment_giv): Declare.
* loop.c (loop_number_loop_cont): New static variable.
(loop_number_cont_dominator): Likewise.
(reg_iv_type, reg_iv_info): Now varray_type.
(first_increment_giv, last_increment_giv): New variables.
(compute_luids, verify_dominator, find_life_end): New functions.
(cmp_recombine_givs_stats, recombine_givs): Likewise.
(loop_optimize): Allocate loop_number_loop_cont and
loop_number_cont_dominator. Use compute_luids.
(find_and_verify_loops): Initialize loop_number_loop_cont and
loop_number_cont_dominator.
(strength_reduce): Try to find bivs that can be expressed as givs
of another biv, and to convert biv increments into givs.
Call recombine_givs. Handle derived givs.
(record_biv): New argument location. All callers changed.
(record_giv): Initialize derived and last_use fields.
(basic_induction_var): New argument location. All callers changed.
(combine_givs): Don't combine a DEST_REG giv with a DEST_ADDR giv.
Increment combined_with instead of setting to 1.
* unroll.c (derived_regs): New static variable.
(unroll_loop): Initialize it.
Allocate local_regno according to max_reg_num.
(copy_loop_body): Cope with derived givs.
(find_splittable_givs): Check for Givs made from biv increments.
Set derived_regs for givs.
* Makefile.in (stmt.o, loop.o, unroll.o): Depend on loop.h .
From-SVN: r24889
Michael Meissner [Wed, 27 Jan 1999 11:49:36 +0000 (11:49 +0000)]
Add new test
From-SVN: r24888
J"orn Rennecke [Wed, 27 Jan 1999 11:35:30 +0000 (11:35 +0000)]
function.c (purge_addressof_1): Handle case when a register has been used in a wider mode.
* function.c (purge_addressof_1): Handle case when a register
has been used in a wider mode.
From-SVN: r24887
Michael Meissner [Wed, 27 Jan 1999 10:02:24 +0000 (10:02 +0000)]
Add new test
From-SVN: r24886
Dave Brolley [Wed, 27 Jan 1999 09:04:57 +0000 (09:04 +0000)]
cpplib.h (cpp_notice): Add prototype.
Wed Jan 27 11:58:18 1999 Dave Brolley <brolley@cygnus.com>
* cpplib.h (cpp_notice): Add prototype.
From-SVN: r24884
Zack Weinberg [Wed, 27 Jan 1999 07:28:14 +0000 (07:28 +0000)]
Remove trigraph in comment
From-SVN: r24881
Jeffrey A Law [Wed, 27 Jan 1999 01:43:17 +0000 (01:43 +0000)]
Merge in gcc2 snapshot
19980929. See gcc/ChangeLog and gcc/FSFChangeLog for
details.
From-SVN: r24879
Richard Henderson [Wed, 27 Jan 1999 01:14:29 +0000 (17:14 -0800)]
rs6000.c (input_operand): Don't expect CONST around CONSTANT_P_RTX.
* rs6000.c (input_operand): Don't expect CONST around CONSTANT_P_RTX.
* rs6000.md (movsi, movdi): Likewise.
From-SVN: r24877
Jeff Law [Wed, 27 Jan 1999 00:45:03 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24876
Jason Merrill [Tue, 26 Jan 1999 20:23:36 +0000 (20:23 +0000)]
pt.c (instantiate_class_template): Set up the DECL_INITIAL of member constants.
* pt.c (instantiate_class_template): Set up the DECL_INITIAL of
member constants.
g++.ns/template6.C
* init.c (expand_member_init): Pull out TYPE_MAIN_VARIANT in
a ctor initializer.
g++.other/typedef6.C
From-SVN: r24875
Jason Merrill [Tue, 26 Jan 1999 19:34:46 +0000 (14:34 -0500)]
tweak formatting
From-SVN: r24874
Jason Merrill [Tue, 26 Jan 1999 19:34:06 +0000 (14:34 -0500)]
add comments
From-SVN: r24873
Jim Wilson [Tue, 26 Jan 1999 13:34:42 +0000 (13:34 +0000)]
Fix i960 build failure with unrecognizable insn.
* function.c (expand_function_end): Pass arg_pointer_save_area to
validize_mem before using it. Emit code into a sequence.
From-SVN: r24872
David Edelsohn [Tue, 26 Jan 1999 10:45:37 +0000 (05:45 -0500)]
rs6000.md (doz + set cr and or + set cr patterns): Add missing '#' to split patterns.
* rs6000.md (doz + set cr and or + set cr patterns): Add missing
'#' to split patterns. Correct indentation of some new patterns.
From-SVN: r24871
Zack Weinberg [Tue, 26 Jan 1999 09:12:47 +0000 (09:12 +0000)]
cppfiles.c (safe_read): Deleted.
1999-01-26 12:11 -0500 Zack Weinberg <zack@midnite.ec.rhno.columbia.edu>
* cppfiles.c (safe_read): Deleted.
(read_and_prescan): New function, replaces safe_read, converts
and/or warns about trigraphs, silently converts odd line
terminators (\r, \n\r, \r\n). Warns about no newline at EOF.
(finclude): Use read_and_prescan; turn off nonblocking mode on
the input descriptor; remove file-size-examination and
no-newline-at-EOF gunk which is longer necessary; be more
careful about checking that we've been handed a legitimate
file to read (only real files, pipes, and ttys are acceptable).
* cpplib.h (cpp_options): Rename no_trigraphs flag to
`trigraphs' and invert its sense.
(trigraph_table): Declare.
(cpp_warning_with_line): Prototype.
* cpplib.c: Remove all references to trigraph_pcp. Define
trigraph_table; initialize it in initialize_char_syntax. Open
files in nonblocking mode. s/no_trigraphs/trigraphs/
throughout, and invert sense. Put cpp_warning_with_line back
in and export it.
From-SVN: r24870
Jason Merrill [Tue, 26 Jan 1999 02:33:46 +0000 (02:33 +0000)]
tree.c (equal_functions): Fix name in prototype.
* tree.c (equal_functions): Fix name in prototype.
* decl.c (push_local_binding): Add FLAGS argument.
(pushdecl, push_overloaded_decl): Pass it.
* decl2.c (do_local_using_decl): Likewise.
* cp-tree.h: Adjust prototype.
* decl.c (poplevel): Fix logic.
From-SVN: r24869
Michael Hayes [Tue, 26 Jan 1999 02:33:29 +0000 (02:33 +0000)]
c4x.h (COUNTER_REGS): New register class.
Tue Jan 26 23:21:49 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.h (COUNTER_REGS): New register class.
* config/c4x/c4x.md (*rptb_init): Change constraints.
(rptb_end): Emit alternate looping instructions if
RC register not allocated for loop counter.
(decrement_and_branch_on_count): Allow other registers
for loop counter.
From-SVN: r24868
Jason Merrill [Tue, 26 Jan 1999 00:50:29 +0000 (19:50 -0500)]
decl.c (push_local_binding): Also wrap used decls in a TREE_LIST.
* decl.c (push_local_binding): Also wrap used decls in a TREE_LIST.
(poplevel): Handle that. Fix logic for removing TREE_LISTs.
(cat_namespace_levels): Don't loop forever.
Fixes 733Y14.
* typeck.c (build_reinterpret_cast): Fix typo in duplicated test.
From-SVN: r24867
Jeff Law [Tue, 26 Jan 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24866
Jason Merrill [Mon, 25 Jan 1999 20:43:21 +0000 (20:43 +0000)]
class.c (resolve_address_of_overloaded_function): Mark the chosen function used.
* class.c (resolve_address_of_overloaded_function): Mark the
chosen function used.
* call.c (build_call): Make sure that a function coming in has
been marked used already.
* decl.c (expand_static_init): Call mark_used instead of
assemble_external.
* except.c (call_eh_info, do_pop_exception, expand_end_eh_spec,
alloc_eh_object, expand_throw): Likewise.
* init.c (build_builtin_delete_call): Likewise.
* rtti.c (call_void_fn, get_tinfo_fn, build_dynamic_cast_1,
expand_si_desc, expand_class_desc, expand_ptr_desc, expand_attr_desc,
expand_generic_desc): Likewise.
From-SVN: r24862
Martin v. Löwis [Mon, 25 Jan 1999 16:09:05 +0000 (16:09 +0000)]
tree.c (equal_functions): New function.
* tree.c (equal_functions): New function.
(ovl_member): Call it.
From-SVN: r24861
Gerald Pfeifer [Mon, 25 Jan 1999 14:10:10 +0000 (15:10 +0100)]
egcs_update: Use "if" instead of "&&".
* egcs_update: Use "if" instead of "&&". Touch generated files
only after the corresponding *.y files.
From-SVN: r24860
Zack Weinberg [Mon, 25 Jan 1999 11:28:11 +0000 (11:28 +0000)]
cppexp.c: (struct arglist): Removed.
1999-01-25 14:26 -0500 Zack Weinberg <zack@rabi.columbia.edu>
* cppexp.c:
(struct arglist): Removed.
(parse_number): Use HOST_WIDE_INT for the accumulator.
Allow two `l' suffixes unless C89. Clean up. Make
static.
(parse_charconst): New function broken out of cpp_lex.
Code cleaned up drastically. Don't use a token_buffer.
(token_buffer): Removed.
(cpp_lex): Don't call parse_number on a constant string.
Use parse_charconst.
(cpp_parse_expr): Properly handle an ERROR op returned by
cpp_lex.
From-SVN: r24859
Zack Weinberg [Mon, 25 Jan 1999 11:23:01 +0000 (11:23 +0000)]
cpplib.c: Don't include signal.h, sys/times.h, or sys/resource.h.
1999-01-25 14:10 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
* cpplib.c: Don't include signal.h, sys/times.h, or
sys/resource.h. Don't declare localtime.
(macroexpand): Handle special symbols here.
(push_macro_expansion): Chop off the trailing '@ ' if possible
here.
(cpp_get_token): Don't do either of the above two things here.
Move `string' label just after case '"' so that wide strings
don't crash the preprocessor.
From-SVN: r24858
Andrew Haley [Mon, 25 Jan 1999 10:32:18 +0000 (10:32 +0000)]
except.c, [...] (expand_resume_after_catch): new function.
Mon Jan 25 17:39:19 1999 Andrew Haley <aph@cygnus.com>
* except.c, java-except.h (expand_resume_after_catch): new
function.
* expr.c (java_lang_expand_expr): call expand_resume_after_catch
to branch back to main flow of control after a catch block.
From-SVN: r24857
Martin v. Löwis [Mon, 25 Jan 1999 00:48:11 +0000 (00:48 +0000)]
New test case.
From-SVN: r24854
Jeff Law [Mon, 25 Jan 1999 00:45:01 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24853
Michael Meissner [Sun, 24 Jan 1999 17:29:31 +0000 (17:29 +0000)]
Fixup changelog comment
From-SVN: r24852
David Edelsohn [Sun, 24 Jan 1999 17:20:07 +0000 (17:20 +0000)]
Fix problems found by David Edelsohn I caused
From-SVN: r24851
Jason Merrill [Sun, 24 Jan 1999 15:56:46 +0000 (15:56 +0000)]
* cvt.c (cp_convert_to_pointer): Fix conversion of 0 to pmf.
From-SVN: r24850
Martin v. Löwis [Sun, 24 Jan 1999 15:38:44 +0000 (15:38 +0000)]
decl.c (decls_match): Return 1 if old and new are identical.
1999-01-25 Martin von Loewis <loewis@informatik.hu-berlin.de>
* decl.c (decls_match): Return 1 if old and new are identical.
(push_overloaded_decl): Set OVL_USED when PUSH_USING.
From-SVN: r24849
Jeffrey A Law [Sun, 24 Jan 1999 07:24:00 +0000 (07:24 +0000)]
stmt.c (stmt_loop_nest_empty): New function.
* stmt.c (stmt_loop_nest_empty): New function.
* tree.h (stmt_loop_nest_empty): Declare it.
From-SVN: r24844
Jeffrey A Law [Sun, 24 Jan 1999 07:13:55 +0000 (07:13 +0000)]
rtl.def (CALL_PLACEHOLDER): New rtx code.
�
* rtl.def (CALL_PLACEHOLDER): New rtx code.
From-SVN: r24843
Michael Hayes [Sun, 24 Jan 1999 01:52:01 +0000 (01:52 +0000)]
Convert all direct memory references to use LO_SUM and remove machdep hack that used to do this.
Convert all direct memory references to use LO_SUM and remove machdep
hack that used to do this.
Sun Jan 24 21:24:43 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.c (c4x_emit_move_sequence, c4x_encode_section_info):
New functions.
(c4x_check_legit_addr): Remove USE and PLUS, allow
LO_SUM, and disable SYMBOL_REF, LABEL_REF, and CONST cases.
(c4x_legitimize_address): Penalise SYMBOL_REF, LABEL_REF, and
CONST cases. Add LO_SUM.
(c4x_print_operand): Modified 'C' and 'R' cases for calls.
Added 'U' case. Remove dependence on SYMBOL_REF_FLAG.
(c4x_print_operand_address): Handle LO_SUM.
(c4x_scan_for_ldp): Delete. Hooray!
(c4x_process_after_reload): Remove call to c4x_scan_for_ldp.
Split all insns.
(c4x_immed_int_constant): Renamed from c4x_int_constant. All callers
changed.
(c4x_immed_float_constant): Renamed from c4x_float_constant. All
callers changed.
(c4x_T_constraint): Allow LO_SUM, disable SYMBOL_REF, LABEL_REF,
and CONST.
(c4x_U_constraint, symbolic_operand): New functions.
(src_operand): Allow 'I' constants in HImode. Allow LO_SUM,
disable SYMBOL_REF, LABEL_REF, and CONST.
(lsrc_operand, tsrc_operand): Call src_operand instead of
general_operand.
(c4x_operand_subword): Update comments.
* config/c4x/c4x.c (TARGET_LOAD_ADDRESS): New macro.
(LEGITIMATE_CONSTANT_P): Allow SYMBOL_REF, LABEL_REF, CONST,
plus HIGH and LO_SUM for the C40.
(ENCODE_SECTION_INFO): Define macro.
(symbolic_operand, c4x_U_constraint, c4x_emit_move_sequence): New
prototypes.
(PREDICATE_CODES): Add symbolic_operand.
* config/c4x/c4x.md (movqi, movgqf, movhi, movhi): Call
c4x_emit_move_sequence.
(floatunsqiqf2, fixuns_truncqfqi2): Rework emitted RTL
to avoid symbol references.
(all patterns with g constraint): Replace 'g' constraint with 'rIm'.
(set_high): Renamed from set_high_use.
(set_lo_sum): Renamed from set_ior_lo_use.
(all call patterns): Make MEM explicit in call address operands.
Modified output templates to use 'U' modifier.
From-SVN: r24842
Jeffrey A Law [Sun, 24 Jan 1999 01:15:09 +0000 (18:15 -0700)]
Bump for snapshot
From-SVN: r24840
Jason Merrill [Sun, 24 Jan 1999 00:59:21 +0000 (00:59 +0000)]
decl.c (start_function): Make member functions one_only on windows.
* decl.c (start_function): Make member functions one_only on windows.
* decl2.c (import_export_decl): Likewise.
* decl.c (grokdeclarator): Don't complain about implicit int in
a system header. Change same-name field check to not complain in
a system header instead of within extern "C".
From-SVN: r24839