Commit Graph

20586 Commits

Author SHA1 Message Date
Zack Weinberg
3bfb5aec65 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
1999-01-31 17:46:50 +00:00
Zack Weinberg
ad7a0c4f28 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
1999-01-31 17:46:49 +00:00
Zack Weinberg
be163a70f5 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
1999-01-31 17:46:42 +00:00
Zack Weinberg
925ecf340f 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
1999-01-31 17:46:27 +00:00
Zack Weinberg
0a3d2db2bd 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
1999-01-31 17:46:25 +00:00
Zack Weinberg
f64d823442 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
1999-01-31 17:46:23 +00:00
Zack Weinberg
db3ca9bac6 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
1999-01-31 17:46:17 +00:00
Michael Hayes
81814e35a7 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
1999-01-31 13:51:08 +00:00
John Wehle
3aeae6084b 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
1999-01-31 05:27:13 -07:00
Jeffrey A Law
4d7c42466b Bump for snapshot
From-SVN: r24935
1999-01-30 18:15:09 -07:00
Richard Henderson
6ce652e01b 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
1999-01-30 16:54:57 -08:00
Jeff Law
59fee0c570 Daily bump.
From-SVN: r24933
1999-01-30 17:45:02 -07:00
Kaveh R. Ghazi
fa6ac85e4b Fix thinko in last change to toplev.h (fnotice).
Wrap prototype with BUFSIZ to protect FILE* usage.

From-SVN: r24932
1999-01-30 21:26:52 +00:00
Kaveh R. Ghazi
644f3d7ef0 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
1999-01-30 20:18:51 +00:00
Jeff Law
a2f5e296c2 Copyright dates.
From-SVN: r24930
1999-01-30 11:58:05 -07:00
Jeff Law
726127a4f5 Copyright date.
From-SVN: r24929
1999-01-30 11:55:28 -07:00
Michael Hayes
9acfe55c5c 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
1999-01-30 18:36:35 +00:00
Jeffrey A Law
4b7c585f36 * combine.c (distribute_notes): Handle REG_EH_REGION notes.
From-SVN: r24927
1999-01-30 11:18:16 -07:00
Jeffrey A Law
2c72b78f87 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
1999-01-30 10:12:54 -07:00
Richard Henderson
4833c8bf19 * gcc.c-torture/execute/990130-1.c: New test.
From-SVN: r24925
1999-01-30 08:23:52 -08:00
Jeffrey A Law
3ad13ada51 * install.texi: Fix merge lossages.
From-SVN: r24924
1999-01-30 08:20:57 -07:00
Jeffrey A Law
d9b5343057 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
1999-01-30 07:34:11 -07:00
Jeffrey A Law
5989c468fb 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
1999-01-30 06:50:10 -07:00
Richard Henderson
16b4c15e6a * Makefile.in (xstrdup.o): Depend on config.h.
From-SVN: r24921
1999-01-30 05:28:44 -08:00
Robert Lipe
0397442c35 config.guess: Improve detection of i686 on UnixWare 7.
�
 * config.guess: Improve detection of i686 on UnixWare 7.

From-SVN: r24920
1999-01-30 13:08:40 +00:00
Robert Lipe
1cf5445402 config.guess: Improve detection of i686 on UnixWare 7.
(
 * config.guess: Improve detection of i686 on UnixWare 7.

From-SVN: r24919
1999-01-30 13:08:39 +00:00
Jeff Law
8b60653df4 Undo previous change. Ulrich wants the problem hanled differently.
From-SVN: r24918
1999-01-30 04:14:53 -07:00
Jeffrey A Law
763c44454c * gcc.dg/990130-1.c: New test.
From-SVN: r24917
1999-01-30 03:13:37 -07:00
Jeffrey A Law
9eab30bcdc loop.c: Disable recent loop changes.
* loop.c: Disable recent loop changes.  Temporary as Joern
        continues to fix problems.

From-SVN: r24916
1999-01-30 00:32:56 -07:00
Mumit Khan
53eae3acff * stdiostream.cc (_POSIX_SOURCE): Define.
From-SVN: r24915
1999-01-30 00:11:12 -07:00
Mumit Khan
64e8166e7a x86-interix.ml: New file.
* config/x86-interix.ml: New file.
	* configure.in (i[3456]86-*-interix*): Add shared library support.

From-SVN: r24914
1999-01-30 00:09:11 -07:00
Mumit Khan
c9ffaa6386 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
1999-01-30 00:07:42 -07:00
Jeff Law
60432e68a3 Daily bump.
From-SVN: r24911
1999-01-29 17:45:02 -07:00
J"orn Rennecke
97ec0ad883 * loop.c (strength_reduce): Size reg_map according to reg_iv_type.
From-SVN: r24910
1999-01-29 19:27:51 +00:00
Richard Henderson
4c7f1c6367 * check-init.c (check_init): Fix CLEANUP_POINT_EXPR typo.
From-SVN: r24909
1999-01-29 08:48:14 -08:00
Dave Brolley
89e99eea80 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
1999-01-29 10:25:17 -05:00
Tom Tromey
061ac42618 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
1999-01-29 15:16:12 +00:00
J"orn Rennecke
5310566c09 * loop.c (recombine_givs): Don't try to derive givs that have combined.
From-SVN: r24906
1999-01-29 14:36:59 +00:00
Kaveh R. Ghazi
96df87b8f6 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
1999-01-29 12:10:52 +00:00
Kaveh R. Ghazi
1c5d09e4af 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
1999-01-29 11:41:02 +00:00
J"orn Rennecke
22b4cc6595 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
1999-01-29 07:46:16 +00:00
Kaveh R. Ghazi
aa1b0f8cc7 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
1999-01-29 04:18:00 +00:00
Jeff Law
61646a9769 Daily bump.
From-SVN: r24901
1999-01-28 17:45:03 -07:00
Per Bothner
f2693f2f85 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
1999-01-28 08:40:56 -08:00
Per Bothner
81f4eddded 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
1999-01-28 08:40:54 -08:00
J"orn Rennecke
f56246bec4 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
1999-01-28 16:19:58 +00:00
Michael Meissner
07b1b0304a add new test
From-SVN: r24897
1999-01-28 16:05:21 +00:00
Joern Rennecke
5e5c976894 Happy new year.
From-SVN: r24896
1999-01-28 15:36:05 +00:00
J"orn Rennecke
53dc05e435 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
1999-01-28 15:28:14 +00:00
Jason Merrill
c7a932b1cf 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
1999-01-28 04:47:48 -05:00