]> gcc.gnu.org Git - gcc.git/log
gcc.git
26 years agotypeck2.c (process_init_constructor): Sorry about non-trivial labeled initializers.
Jason Merrill [Thu, 19 Feb 1998 10:41:58 +0000 (10:41 +0000)]
typeck2.c (process_init_constructor): Sorry about non-trivial labeled initializers.

* typeck2.c (process_init_constructor): Sorry about non-trivial
labeled initializers.
* parse.y (initlist): Reenable labeled initializers.

From-SVN: r18121

26 years ago* pt.c (coerce_template_parms) Add a new parameter, is_tmpl_parm,
Kriang Lerdsuwanakij [Thu, 19 Feb 1998 10:17:10 +0000 (10:17 +0000)]
* pt.c (coerce_template_parms) Add a new parameter, is_tmpl_parm,

all callers changed.  Rely on the new parameter instead of arg
being a TREE_LIST when determine whether we are working inside
template template parameter.  Clean up is_type test.

From-SVN: r18120

26 years agocvt.c (cp_convert_to_pointer): Preserve TREE_CONSTANT.
Jason Merrill [Thu, 19 Feb 1998 10:05:22 +0000 (10:05 +0000)]
cvt.c (cp_convert_to_pointer): Preserve TREE_CONSTANT.

* cvt.c (cp_convert_to_pointer): Preserve TREE_CONSTANT.
* typeck2.c (initializer_constant_valid_p): Allow conversions
between pointers and refrerences.

From-SVN: r18119

26 years agotypeck.c (build_unary_op): Only warn about incr/decr a pointer if pedantic || warn_po...
Brendan Kehoe [Thu, 19 Feb 1998 09:55:51 +0000 (09:55 +0000)]
typeck.c (build_unary_op): Only warn about incr/decr a pointer if pedantic || warn_pointer_arith.

* typeck.c (build_unary_op): Only warn about incr/decr a pointer
if pedantic || warn_pointer_arith.

From-SVN: r18118

26 years ago* pt.c (unify): Handle TEMPLATE_DECL.
Kriang Lerdsuwanakij [Thu, 19 Feb 1998 09:38:02 +0000 (09:38 +0000)]
* pt.c (unify): Handle TEMPLATE_DECL.

From-SVN: r18117

26 years agoInitial revision
Jeff Law [Thu, 19 Feb 1998 03:47:44 +0000 (20:47 -0700)]
Initial revision

From-SVN: r18114

26 years agoemit-rtl.c (gen_lowpart_common): Suppress last change if __complex__.
Jeffrey A Law [Thu, 19 Feb 1998 00:35:51 +0000 (00:35 +0000)]
emit-rtl.c (gen_lowpart_common): Suppress last change if __complex__.

        * emit-rtl.c (gen_lowpart_common): Suppress last change if __complex__.
        * emit-rtl.c (hard-reg-set.h): Include.
        (get_lowpart_common): Don't make new REG for hard reg in a
        class that cannot change size.
        * Makefile.in (emit-rtl.o): Depend on hard-reg-set.h.
        * combine.c: Revert previous patch.

Co-Authored-By: Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
From-SVN: r18109

26 years agosol2-sld.h: New file.
Paul Eggert [Thu, 19 Feb 1998 00:08:12 +0000 (00:08 +0000)]
sol2-sld.h: New file.

        * config/sparc/sol2-sld.h: New file.
        * configure.in (sparc-*-solaris2*): Use it when using the
        system linker.

From-SVN: r18105

26 years agoFix doc typos.
Jeff Law [Thu, 19 Feb 1998 00:04:36 +0000 (17:04 -0700)]
Fix doc typos.

From-SVN: r18104

26 years ago* loop.c (force_movables): Fix typo.
Jeffrey A Law [Wed, 18 Feb 1998 23:47:59 +0000 (23:47 +0000)]
* loop.c (force_movables): Fix typo.

From-SVN: r18102

26 years agom88k.h: Change file pattern to match reality.
Manfred Hollstein [Wed, 18 Feb 1998 23:28:57 +0000 (23:28 +0000)]
m88k.h: Change file pattern to match reality.


* m88k.h: Change file pattern to match reality.

From-SVN: r18101

26 years agom88k.h: Change file pattern to match reality.
Manfred Hollstein [Wed, 18 Feb 1998 23:28:54 +0000 (23:28 +0000)]
m88k.h: Change file pattern to match reality.


* m88k.h: Change file pattern to match reality.

From-SVN: r18100

26 years agovarasm.c (output_constant_pool): Fix dumb thinko in last change.
Jeffrey A Law [Wed, 18 Feb 1998 22:19:00 +0000 (22:19 +0000)]
varasm.c (output_constant_pool): Fix dumb thinko in last change.

        * varasm.c (output_constant_pool): Fix dumb thinko in last
        change.

From-SVN: r18099

26 years agoNote AIX 4.3 assembler bug for RS/6000 installation.
David Edelsohn [Wed, 18 Feb 1998 13:25:57 +0000 (08:25 -0500)]
Note AIX 4.3 assembler bug for RS/6000 installation.

From-SVN: r18080

26 years agoUpdate now that the if/else warning buglet is fixed.
Jeff Law [Wed, 18 Feb 1998 13:08:43 +0000 (06:08 -0700)]
Update now that the if/else warning buglet is fixed.

From-SVN: r18079

26 years agopa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from a function name to a...
Jeff Law [Wed, 18 Feb 1998 12:38:29 +0000 (05:38 -0700)]
pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from a function name to a section name.

8
        * pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from
        a function name to a section name.

From-SVN: r18078

26 years agopa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from a function name to a...
Jeff Law [Wed, 18 Feb 1998 12:38:28 +0000 (05:38 -0700)]
pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from a function name to a section name.


        * pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from
        a function name to a section name.

From-SVN: r18077

26 years agoadd AIX 4.3 assembler bug and reorder items.
David Edelsohn [Wed, 18 Feb 1998 12:12:15 +0000 (07:12 -0500)]
add AIX 4.3 assembler bug and reorder items.

From-SVN: r18074

26 years agodnrm2.f (dnrm2): Avoid uninitialized (and possibly uninitialized) variables and decla...
Dave Love [Wed, 18 Feb 1998 12:03:40 +0000 (12:03 +0000)]
dnrm2.f (dnrm2): Avoid uninitialized (and possibly uninitialized) variables and declare dnrm2.

* g77.f-torture/execute/dnrm2.f (dnrm2): Avoid uninitialized (and
possibly uninitialized) variables and declare dnrm2.

From-SVN: r18070

26 years ago(dnrm2): Avoid uninitialized (and
Dave Love [Wed, 18 Feb 1998 12:00:51 +0000 (12:00 +0000)]
(dnrm2): Avoid uninitialized (and
possibly uninitialized) variables and declare dnrm2.

From-SVN: r18069

26 years ago* cp-tree.h (strip_attrs): Remove decl.
Brendan Kehoe [Wed, 18 Feb 1998 11:00:03 +0000 (11:00 +0000)]
* cp-tree.h (strip_attrs): Remove decl.

From-SVN: r18067

26 years agoadd doc for -fsquangle/-fno-squangle
Brendan Kehoe [Wed, 18 Feb 1998 10:49:56 +0000 (05:49 -0500)]
add doc for -fsquangle/-fno-squangle

From-SVN: r18066

26 years agotree.h (merge_machine_{type,decl}_attributes): Declare.
Brendan Kehoe [Wed, 18 Feb 1998 10:38:57 +0000 (05:38 -0500)]
tree.h (merge_machine_{type,decl}_attributes): Declare.

./ChangeLog: * tree.h (merge_machine_{type,decl}_attributes): Declare.
(split_specs_attrs, strip_attrs): Add prototypes.
* tree.c (merge_machine_{type,decl}_attributes): New functions.
* c-decl.c (duplicate_decls): Call merge_machine_decl_attributes.
Update olddecl's attributes too.
* c-common.c (strip_attrs): New function.
* c-typeck.c (common_type): Call merge_machine_type_attributes.
* varasm.c (make_function_rtl): New target macro REDO_SECTION_INFO_P.
(make_decl_rtl): Likewise.
* c-decl.c (shadow_tag_warned): Call split_specs_attrs.
./cp/ChangeLog: * decl.c (duplicate_decls): Call merge_machine_decl_attributes.
Update olddecl's attributes too.
(strip_attrs): Remove function.
* typeck.c (common_type): Call merge_machine_type_attributes.

From-SVN: r18065

26 years agoRemove this change until we can fix it correctly.
Jeffrey A Law [Wed, 18 Feb 1998 08:07:59 +0000 (08:07 +0000)]
Remove this change until we can fix it correctly.

        * collect2.c: Bracket declaration of 'exportf' and
        'full_real_ld_suffix'.

From-SVN: r18062

26 years ago* Makefile.in (STAGESTUFF): Add genrtl.c, genrtl.h and gengenrtl.
Bernd Schmidt [Wed, 18 Feb 1998 07:42:20 +0000 (07:42 +0000)]
* Makefile.in (STAGESTUFF): Add genrtl.c, genrtl.h and gengenrtl.

From-SVN: r18061

26 years agoMakefile.in ($(CONFIGURE_TARGET_MODULES)): Run configure with CONFIG_SITE=/dev/null...
Dave Love [Wed, 18 Feb 1998 00:18:26 +0000 (00:18 +0000)]
Makefile.in ($(CONFIGURE_TARGET_MODULES)): Run configure with CONFIG_SITE=/dev/null to forestall lossage with site...

        * Makefile.in ($(CONFIGURE_TARGET_MODULES)): Run configure with
        CONFIG_SITE=/dev/null to forestall lossage with site configuration.

From-SVN: r18060

26 years agou77-test.f: Tweak some o/p.
Dave Love [Tue, 17 Feb 1998 23:52:39 +0000 (23:52 +0000)]
u77-test.f: Tweak some o/p.

        * libU77/u77-test.f: Tweak some o/p.
        * libU77/Makefile.in (check): Use -L for new directory structure.
        * Makefile.in (check): Run the u77 check.
        (config.status, Makefile): New targets.

From-SVN: r18059

26 years agofold-const.c: Include "system.h" to get stdlib.h and stdio.h.
Kaveh R. Ghazi [Tue, 17 Feb 1998 22:43:25 +0000 (22:43 +0000)]
fold-const.c: Include "system.h" to get stdlib.h and stdio.h.

        * fold-const.c: Include "system.h" to get stdlib.h and stdio.h.
        (lshift_double): Add parentheses around + or - inside shift.
        (rshift_double): Likewise.
        (size_int_wide): Explicitly set type of `bit_p' to `int'.
        * Makefile.in (fold-const.o): Depend on system.h.

From-SVN: r18057

26 years agoc-common.c (c_expand_start_cond, [...]): Don't warn about non-ambiguous else even...
Bernd Schmidt [Tue, 17 Feb 1998 22:28:23 +0000 (22:28 +0000)]
c-common.c (c_expand_start_cond, [...]): Don't warn about non-ambiguous else even if braces are missing.

        * c-common.c (c_expand_start_cond, c_expand_end_cond,
        c_expand_start_else): Don't warn about non-ambiguous else even if
        braces are missing.

From-SVN: r18055

26 years agosco5.h (ASM_OUTPUT_DOUBLE, [...]): Delete.
Robert Lipe [Tue, 17 Feb 1998 22:02:42 +0000 (22:02 +0000)]
sco5.h (ASM_OUTPUT_DOUBLE, [...]): Delete.

        * sco5.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
        ASM_OUTPUT_LONG_DOUBLE): Delete.   Use the ones from i386.h
        instead.

From-SVN: r18054

26 years agocombine.c (simplify_rtx): Obey CLASS_CANNOT_CHANGE_SIZE when simplifying a subreg...
Richard Henderson [Tue, 17 Feb 1998 21:54:24 +0000 (13:54 -0800)]
combine.c (simplify_rtx): Obey CLASS_CANNOT_CHANGE_SIZE when simplifying a subreg of a hard reg.

        * combine.c (simplify_rtx): Obey CLASS_CANNOT_CHANGE_SIZE when
        simplifying a subreg of a hard reg.
        (expand_compound_operation): Likewise.
        (force_to_mode): Likewise.

From-SVN: r18052

26 years agoNew testcase for x86 XFmode problems.
Jeff Law [Tue, 17 Feb 1998 21:50:10 +0000 (14:50 -0700)]
New testcase for x86 XFmode problems.

From-SVN: r18051

26 years agoRemove unwanted CYGNUS LOCAL marker.
Jeff Law [Tue, 17 Feb 1998 21:44:09 +0000 (14:44 -0700)]
Remove unwanted CYGNUS LOCAL marker.

From-SVN: r18050

26 years agoMakefile.in (gcc.o): Depend on system.h, in accordance with last change to gcc.c.
Kaveh R. Ghazi [Tue, 17 Feb 1998 21:37:55 +0000 (21:37 +0000)]
Makefile.in (gcc.o): Depend on system.h, in accordance with last change to gcc.c.

* Makefile.in (gcc.o): Depend on system.h, in accordance with last
change to gcc.c.

From-SVN: r18049

26 years agohaifa-sched.c: Include "system.h" to get <stdlib.h> and <stdio.h>.
Kaveh R. Ghazi [Tue, 17 Feb 1998 21:35:43 +0000 (21:35 +0000)]
haifa-sched.c: Include "system.h" to get <stdlib.h> and <stdio.h>.

        * haifa-sched.c: Include "system.h" to get <stdlib.h> and <stdio.h>.
        (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
        (sched_note_set): Remove unused parameter `b', all callers changed.
        (schedule_block): Likewise for `rgn'.
        (split_hard_reg_notes): Likewise for `orig_insn'.
        (check_live): Likewise for `trg'.
        (update_live): Likewise.
        (check_live_1): Explcitly declare variable `i' as int.
        (update_live_1): Likewise.
        (insn_issue_delay): Remove unused variable `link'.
        (sched_analyze_2): Add default case in enumeration switch.
        (schedule_insns): Remove unused variable `i'.
* Makefile.in ($(SCHED_PREFIX)sched.o): Depend on system.h.

From-SVN: r18048

26 years agoloop.c (rtx_equal_for_loop_p): Add some braces to disambiguate a dangling else clause.
Jeffrey A Law [Tue, 17 Feb 1998 21:30:22 +0000 (21:30 +0000)]
loop.c (rtx_equal_for_loop_p): Add some braces to disambiguate a dangling else clause.

        * loop.c (rtx_equal_for_loop_p): Add some braces to disambiguate
        a dangling else clause.

From-SVN: r18047

26 years agoNew alpha test from HJ.
Jeff Law [Tue, 17 Feb 1998 21:24:02 +0000 (14:24 -0700)]
New alpha test from HJ.

From-SVN: r18046

26 years agoVarious minor tweaks.
Jeff Law [Tue, 17 Feb 1998 21:21:20 +0000 (14:21 -0700)]
Various minor tweaks.

From-SVN: r18045

26 years agolinux.mt (IO_OBJECTS): Add iogetline.o.
H.J. Lu [Tue, 17 Feb 1998 20:54:12 +0000 (20:54 +0000)]
linux.mt (IO_OBJECTS): Add iogetline.o.

        * config/linux.mt (IO_OBJECTS): Add iogetline.o.
        * config/linuxlibc1.mt: Ditto.
        * iogetline.c (_IO_getline_info): Renamed from _IO_getline.
        (_IO_getline): Just call _IO_getline_info.
        * isgetline.cc (istream::getline, istream::get, _sb_readline):
        Call _IO_getline_info instead of _IO_getline and get the EOF
        information.
        * sbgetline.cc (streambuf::sgetline): Ditto.
        * libioP.h (_IO_getline_info): New declaration.
        * iogetline.c (_IO_getline): Handle the case when there is no
        buffer.

From-SVN: r18042

26 years agomips.h (CAN_ELIMINATE): Don't eliminate the frame pointer for the stack pointer in...
Gavin Koch [Tue, 17 Feb 1998 18:31:03 +0000 (18:31 +0000)]
mips.h (CAN_ELIMINATE): Don't eliminate the frame pointer for the stack pointer in MIPS16 and 64BIT.

* mips/mips.h (CAN_ELIMINATE): Don't eliminate the frame
pointer for the stack pointer in MIPS16 and 64BIT.

From-SVN: r18035

26 years agoparse.y (initdcl0_innards): New grammar symbol.
Mark Mitchell [Tue, 17 Feb 1998 14:13:09 +0000 (14:13 +0000)]
parse.y (initdcl0_innards): New grammar symbol.

* parse.y (initdcl0_innards): New grammar symbol.
(nomods_initdecls, nomods_initdcl0): Change type from itype to
none, since the resulting value is never used.
(parse_decl): New function.
(datadef): Remove redundant actions.
(initdcl0, notype_initdcl0, nomods_initdcl0): Use initdcl0_innards.
* parse.c: Regenerated.

From-SVN: r18034

26 years agoFix problems with last patch.
J"orn Rennecke [Tue, 17 Feb 1998 13:21:01 +0000 (13:21 +0000)]
Fix problems with last patch.

From-SVN: r18033

26 years ago* parse.y (simple_stmt): Use getdecls() to check for decl.
Jason Merrill [Tue, 17 Feb 1998 11:54:56 +0000 (11:54 +0000)]
* parse.y (simple_stmt): Use getdecls() to check for decl.

From-SVN: r18032

26 years agortl.h (force_line_numbers, [...]): Declare.
Joern Rennecke [Tue, 17 Feb 1998 10:26:44 +0000 (10:26 +0000)]
rtl.h (force_line_numbers, [...]): Declare.

* rtl.h (force_line_numbers, restore_line_number_status): Declare.
* emit-rtl.c (force_line_numbers, restore_line_number_status):
New functions.
* stmt.c (struct nesting): Replace seenlabel with line_number_status.
(expand_start_case): Adjust to this change.
(check_seenlabel): New function.
(pushcase, pushcase_range, expand_endcase): Use it.

From-SVN: r18031

26 years ago* i386.md (adddi3): Add =!r,0,0,X alternative.
J"orn Rennecke [Tue, 17 Feb 1998 02:23:03 +0000 (02:23 +0000)]
* i386.md (adddi3): Add =!r,0,0,X alternative.

From-SVN: r18030

26 years agoUpdate documentation for builtin_setjmp related patterns.
Richard Henderson [Mon, 16 Feb 1998 17:19:13 +0000 (09:19 -0800)]
Update documentation for builtin_setjmp related patterns.

From-SVN: r18029

26 years agobump copyright date
David Edelsohn [Mon, 16 Feb 1998 13:20:12 +0000 (08:20 -0500)]
bump copyright date

From-SVN: r18028

26 years agors6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.
David Edelsohn [Mon, 16 Feb 1998 13:17:50 +0000 (13:17 +0000)]
rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.

        * rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.
        * x-aix31 (INSTALL): Delete.

From-SVN: r18027

26 years agomips.c (mips_expand_epilogue): Update tsize_rtx if tsize changes to something other...
Gavin Koch [Mon, 16 Feb 1998 06:26:59 +0000 (06:26 +0000)]
mips.c (mips_expand_epilogue): Update tsize_rtx if tsize changes to something other than zero.

* mips/mips.c (mips_expand_epilogue): Update tsize_rtx if
tsize changes to something other than zero.

From-SVN: r18026

26 years agova-mips.h: Replace casts of pointers to int with casts of pointers to __PTRDIFF_TYPE__.
Gavin Koch [Mon, 16 Feb 1998 06:14:01 +0000 (06:14 +0000)]
va-mips.h: Replace casts of pointers to int with casts of pointers to __PTRDIFF_TYPE__.

* ginclude/va-mips.h: Replace casts of pointers to int with
casts of pointers to __PTRDIFF_TYPE__.

From-SVN: r18025

26 years agoloop.c (strength_reduce, [...]): Use HOST_WIDE_INT_PRINT_DEC to print CONST_INT values.
John Carr [Mon, 16 Feb 1998 05:26:05 +0000 (05:26 +0000)]
loop.c (strength_reduce, [...]): Use HOST_WIDE_INT_PRINT_DEC to print CONST_INT values.

* loop.c (strength_reduce, record_biv, record_giv): Use
        HOST_WIDE_INT_PRINT_DEC to print CONST_INT values.

From-SVN: r18024

26 years agotree.c (first_rtl_op): New fn.
Jason Merrill [Mon, 16 Feb 1998 04:52:31 +0000 (04:52 +0000)]
tree.c (first_rtl_op): New fn.

* tree.c (first_rtl_op): New fn.
(unsave_expr_now): Use it.
* print-tree.c (print_node): Likewise.
* tree.c (has_cleanups): New fn.
* fold-const.c (fold, case CLEANUP_POINT_EXPR): Use it.  Be more
conservative about pushing the cleanup point down.
* tree.h: Declare them.

From-SVN: r18023

26 years agoMakefile.in (BASE_FLAGS_TO_PASS, [...]): Really add this change to sync Makefile...
Manfred Hollstein [Mon, 16 Feb 1998 04:20:13 +0000 (04:20 +0000)]
Makefile.in (BASE_FLAGS_TO_PASS, [...]): Really add this change to sync Makefile.in with its ChangeLog entries.

8
* Makefile.in (BASE_FLAGS_TO_PASS, EXTRA_TARGET_FLAGS): Really add
this change to sync Makefile.in with its ChangeLog entries.

From-SVN: r18022

26 years agoMakefile.in (BASE_FLAGS_TO_PASS, [...]): Really add this change to sync Makefile...
Manfred Hollstein [Mon, 16 Feb 1998 04:20:12 +0000 (04:20 +0000)]
Makefile.in (BASE_FLAGS_TO_PASS, [...]): Really add this change to sync Makefile.in with its ChangeLog entries.


* Makefile.in (BASE_FLAGS_TO_PASS, EXTRA_TARGET_FLAGS): Really add
this change to sync Makefile.in with its ChangeLog entries.

From-SVN: r18021

26 years agotoplev.c (flag_schedule_reverse_before_reload): Delete variable.
Jeffrey A Law [Sun, 15 Feb 1998 22:28:33 +0000 (22:28 +0000)]
toplev.c (flag_schedule_reverse_before_reload): Delete variable.

        * toplev.c (flag_schedule_reverse_before_reload): Delete variable.
        (flag_schedule_reverse_after_reload): Likewise.
        (f_options): Remove reverse scheduling support.
        * flags.h (flag_schedule_reverse_before_reload): Delete declaration.
        (flag_schedule_reverse_after_reload): Likewise.
        * haifa-sched.c (rank_for_schedule): Remove support for reverse
        scheduling.
Trivial cleanup.

From-SVN: r18020

26 years agogcc.c: Get system includes...
Kaveh R. Ghazi [Sun, 15 Feb 1998 20:41:09 +0000 (20:41 +0000)]
gcc.c: Get system includes...

        * gcc.c: Get system includes, prototypes and macros via "system.h"
        instead of doing it manually.  Change all calls of the ctype
        macros to custom versions defined in "system.h".

From-SVN: r18019

26 years agosystem.h: Fix return type of bcmp prototype from `void' to `int'.
Kaveh R. Ghazi [Sun, 15 Feb 1998 20:36:23 +0000 (20:36 +0000)]
system.h: Fix return type of bcmp prototype from `void' to `int'.

        * system.h: Fix return type of bcmp prototype from `void' to `int'.
        Make bcopy, bcmp and bzero prototypes explicitly `extern'.
        Add a prototype for getenv.

From-SVN: r18018

26 years agoFix Irix6 EH failures, was broken by mips16 patch.
Jim Wilson [Sun, 15 Feb 1998 17:07:31 +0000 (17:07 +0000)]
Fix Irix6 EH failures, was broken by mips16 patch.

* mips/mips.h (INITIAL_ELIMINATION_OFFSET): Readd Jun 6 change.

From-SVN: r18013

26 years agoalias.c: Include <stdlib.h> and <string.h>.
John Carr [Sun, 15 Feb 1998 12:26:06 +0000 (12:26 +0000)]
alias.c: Include <stdlib.h> and <string.h>.

* alias.c: Include <stdlib.h> and <string.h>.
(init_alias_analysis): Pass NULL_RTX instead of 0 to record_set.

From-SVN: r18011

26 years agoMake-lang.in (DEMANGLER_INSTALL_NAME, [...]): New macros.
Manfred Hollstein [Sat, 14 Feb 1998 15:56:38 +0000 (15:56 +0000)]
Make-lang.in (DEMANGLER_INSTALL_NAME, [...]): New macros.

* Make-lang.in (DEMANGLER_INSTALL_NAME, DEMANGLER_CROSS_NAME): New
macros.
(c++.install-common): Install c++filt properly as native or as cross
variant.
(c++.uninstall): Add c++filt.

From-SVN: r18000

26 years ago* call.c (standard_conversion): Fix multi-level ptr conversions.
Jason Merrill [Sat, 14 Feb 1998 15:49:20 +0000 (15:49 +0000)]
* call.c (standard_conversion): Fix multi-level ptr conversions.

From-SVN: r17999

26 years agoBump for snapshot
Jeffrey A Law [Sat, 14 Feb 1998 11:23:14 +0000 (04:23 -0700)]
Bump for snapshot

From-SVN: r17976

26 years agot-semi (STMP_FIXPROTO): Define to nothing.
Richard Earnshaw [Sat, 14 Feb 1998 05:16:58 +0000 (05:16 +0000)]
t-semi (STMP_FIXPROTO): Define to nothing.

* arm/t-semi (STMP_FIXPROTO): Define to nothing.
* arm/t-semiaof (STMP_FIXPROTO): Likewise.

From-SVN: r17975

26 years agoarm.md (movsfcc): Also validate operands[3] when compiling hard float.
Richard Earnshaw [Sat, 14 Feb 1998 05:14:13 +0000 (05:14 +0000)]
arm.md (movsfcc): Also validate operands[3] when compiling hard float.

* arm.md (movsfcc): Also validate operands[3] when compiling hard float.
(movdfcc): Only accept fpu_add_operand for operands[3].

From-SVN: r17974

26 years agovarasm.c (output_constant_pool): Bring back 'done' label inside an appropriate #ifdef.
Jeffrey A Law [Sat, 14 Feb 1998 01:13:58 +0000 (01:13 +0000)]
varasm.c (output_constant_pool): Bring back 'done' label inside an appropriate #ifdef.

        * varasm.c (output_constant_pool): Bring back 'done' label inside
        an appropriate #ifdef.
        * bitmap.c (bitmap_element_allocate): Wrap variable 'i' in an
        appropriate #ifdef.
        (bitmap_copy, bitmap_operation): Likewise.
        * combine.c (combinable_i3pat): Similarly for 'src'.
        * function.c (fixup_var_refs_1): Similarly for 'outerdest'.
        (locate_and_pad_parm): Similarly for 'reg_parm_stack_space'.
        * regclass.c (copy_cost): Similarly for 'secondary_class'.
        * reload.c (make_memloc): Simliarly for 'i'.
        (find_reloads_address_1): Similarly for 'link'.
        * reload1.c (reload): Similarly for 'previous_frame_pointer_needed'.
        (emit_reload_insns): Similarly for 'second_reloadreg'.
        * unroll.c (iteration_info): Similarly for 'v'.
        * caller-save.c (insert_save_restore): Remove unused variable 'i'.
        * calls.c (expand_call): Similarly for 'i'.
        (emit_library_call, emit_library_call_value): Similarly for 'mode'.
        * fold-const.c (strip_compund_expr): Similarly for 'type'.
        * function.c (fixup_var_refs_1): Similarly  for 'width'.
        (fixup_memory_subreg): Similarly for 'saved'.
        (locate_and_pad_parm): Similarly for 'boundary_in_bytes.'
        (setjmp_protect): Similarly for 'sub'.
        (thread_prologue_and_epilogue_insns): Similarly for 'insn'.
        * loop.c (record_giv): Similarly for 'p'.
        (combine_givs): Similarly for 'temp_iv'.
        (indirect_jump_in_function_p): Similarly for 'is_indirect_jump'.
        * recog.c (validate_replace_rtx_1): Similarly for 'width'.
        * tree.c (get_set_constructor_bytes): Similarly for 'vals'.
        * unroll.c (unroll_loop): Similarly for 'copy'.
        (iteration_info): Similarly for 'b'.
        * varasm.c (assemble_string): Similarly for 'i'.
        * i386.h (LEGITIMIZE_ADDRESS): Similarly for 'orig_x'.

From-SVN: r17973

26 years agodisable
Jason Merrill [Fri, 13 Feb 1998 17:53:55 +0000 (12:53 -0500)]
disable

From-SVN: r17972

26 years ago* pt.c (determine_specialization): Give better errors.
Jason Merrill [Fri, 13 Feb 1998 14:44:00 +0000 (14:44 +0000)]
* pt.c (determine_specialization): Give better errors.

From-SVN: r17970

26 years agoFix C++ irix6 -g compiler abort.
Jim Wilson [Fri, 13 Feb 1998 14:40:09 +0000 (14:40 +0000)]
Fix C++ irix6 -g compiler abort.

* dwarf2out.c (decl_scope_node): New type.
(decl_scope_table): Change type to use it.
(decl_scope_table_allocated, decl_scope_depth): Change type to int.
(push_decl_scope): Use new type.  New locals containing_scope, i.
Add code to handle setting previous field.
(scope_die_for): Change type of local i to int.  Add code to use
previous field.
(dwarf2out_init): Use new type.

From-SVN: r17969

26 years ago* init.c (build_new): Propagate error_mark_node up.
Mike Stump [Fri, 13 Feb 1998 14:07:32 +0000 (14:07 +0000)]
* init.c (build_new): Propagate error_mark_node up.

From-SVN: r17968

26 years agoparse.y (simple_stmt): If the condition isn't a declaration, start the controlled...
Jason Merrill [Fri, 13 Feb 1998 13:59:10 +0000 (13:59 +0000)]
parse.y (simple_stmt): If the condition isn't a declaration, start the controlled block after the test.

* parse.y (simple_stmt): If the condition isn't a declaration,
start the controlled block after the test.

From-SVN: r17967

26 years ago* except.c (emit_throw): Lose throw_used.
Jason Merrill [Fri, 13 Feb 1998 13:44:12 +0000 (13:44 +0000)]
* except.c (emit_throw): Lose throw_used.

From-SVN: r17966

26 years agotweak message
Jason Merrill [Fri, 13 Feb 1998 13:35:02 +0000 (08:35 -0500)]
tweak message

From-SVN: r17965

26 years agotweak comments
Jason Merrill [Fri, 13 Feb 1998 13:34:53 +0000 (08:34 -0500)]
tweak comments

From-SVN: r17964

26 years agosched.c (update_flow_info, REG_WAS_0): Ignore if setting insn was deleted.
J"orn Rennecke [Fri, 13 Feb 1998 12:40:29 +0000 (12:40 +0000)]
sched.c (update_flow_info, REG_WAS_0): Ignore if setting insn was deleted.

* sched.c (update_flow_info, REG_WAS_0): Ignore if setting insn
was deleted.
* haifa-sched.c (update_flow_info, REG_WAS_0): Likewise.

From-SVN: r17963

26 years ago* genextract.c (main): Fix typo.
Jeffrey A Law [Fri, 13 Feb 1998 11:17:14 +0000 (11:17 +0000)]
* genextract.c (main): Fix typo.

From-SVN: r17904

26 years agoChange timestamp of my last entry to reflect checkin time, not submission
Robert Lipe [Fri, 13 Feb 1998 06:43:13 +0000 (06:43 +0000)]
Change timestamp of my last entry to reflect checkin time, not submission
time.

From-SVN: r17903

26 years agoRats. Forgot to change copyrights on the first commit.
Robert Lipe [Fri, 13 Feb 1998 05:40:34 +0000 (05:40 +0000)]
Rats.   Forgot to change copyrights on the first commit.

From-SVN: r17902

26 years agoc-lang.c (finish_file): Bracket declaration of static_ctors, static_dtors.
Robert Lipe [Fri, 13 Feb 1998 05:30:56 +0000 (05:30 +0000)]
c-lang.c (finish_file): Bracket declaration of static_ctors, static_dtors.

* c-lang.c (finish_file): Bracket declaration of static_ctors,
static_dtors.
* calls.c (expand_call): Bracket declaration of 'rtx_before_call',
'old_stack_arg_under_construction'
(emit_library_call): Bracket declaration of 'upper_bound',
'lower_bound', 'i', 'reg_parm_stack_space'
(emit_library_call_value): Likewise.
(store_one_arg):
* collect2.c: include <unistd.h> when appropriate.
Bracket declaration of 'exportf' and 'full_real_ld_suffix'.
* emit-rtl.c (prev_cc0_setter): Remove unused variable 'link'.
* explow.c (plus_constant_for_output_wide): Remove unused variable
'code'.
(memory_address): Remove unused variable 'orig_x'.
* genattrtab.c (make_canonical): Remove unreferenced label 'cond:'.
(write_const_num_delay_slots): Remove unused variable 'i'.
* genopinit.c (main): Remove unused variables 'dummy', 'insn_ptr'.
(gen_insn): Remove unused variable 'obstack_ptr'.
        * libgcc2.c (__bb_exit_func): Remove unused variables 'ret',
        'j', 'tmp', 'i'.
(__bb_exit_trace_func): Remove unused variable 'e'.
* optabs.c (expand_binop): remove unused variables 'lhs', 'rhs',
'funexp'.
(expand_unop): Remove unused variable 'funexp'.
(expand_complex_abs): Remove unused variable 'funexp'.
(init_optabs): Bracket declaration of 'j'.
(init_complex_libfuncs): Deleted.  Dead static function.
* profile.c (branch_prob): Remove unused variables 'insn', 'dest'.
* reg-stack.c: Fix typo in proto for 'get_asm_operand_lengths'
(reg_to_stack): 'initialized', 'before_function_beg'
explictly type as ints instead of defaulting.
(emit_swap_insn): Remove unused variable 'i2'.
(compare_for_stack_reg): Remove unused variable 'src_note'.
* rtlanal.c (computed_jump_p): Remove unused variable 'computed_jump'.
* sched.c (actual_hazard): Bracket declaration of 'this_cost'.
* stmt.c (add_case_node): Add parens for assignment used as truth.
(all_cases_count):  Remove unused variable 'count_high'.
(mark_seen_cases): Remove unused variable 'i'.
(check_for_full_enumeration_handling): Remove unused variable 't'.
Bracket declaration of  'all_values', 'l'.
* tlink.c: Include <stdlib.h>, <unistd.h>, <string.h>/<strings.h>.
* varasm.c (assemble_string): Remove unused variable 'i'.
(immed_double_const): Remove unused variable 'in_current_obstack'.
(immed_real_const_1): Likewise.
(output_constant_pool): Remove unreferenced label 'done'.
(output_constant): Remove unused variable 'x'.
        * i386/i386.h (ENCODE_SECTION_INFO): TREE_PUBLIC is an int, not
        a string.
        * i386/sco5.h (ASM_OUTPUT_ASCII): Add parens for assignment used
        as truth.

From-SVN: r17901

26 years agocall.c (build_over_call): Convert builtin abs, labs and fabs to tree-codes.
Andreas Schwab [Fri, 13 Feb 1998 02:26:35 +0000 (02:26 +0000)]
call.c (build_over_call): Convert builtin abs, labs and fabs to tree-codes.

* call.c (build_over_call): Convert builtin abs, labs and fabs to
tree-codes.
* decl.c (init_decl_processing): Reenable abs, labs and fabs as
builtins.

From-SVN: r17900

26 years ago* combine.c (can_combine_p): Handle USEs in PARALLELs.
J"orn Rennecke [Fri, 13 Feb 1998 02:26:25 +0000 (02:26 +0000)]
* combine.c (can_combine_p): Handle USEs in PARALLELs.

From-SVN: r17899

26 years ago* call.c (standard_conversion): A BASE_CONV replaces an RVALUE_CONV.
Jason Merrill [Fri, 13 Feb 1998 01:37:30 +0000 (01:37 +0000)]
* call.c (standard_conversion): A BASE_CONV replaces an RVALUE_CONV.

From-SVN: r17898

26 years agolinux.h (LIB_SPEC): Add -lc for -shared if USE_GNULIBC_1 is not defined.
H.J. Lu [Fri, 13 Feb 1998 00:33:05 +0000 (00:33 +0000)]
linux.h (LIB_SPEC): Add -lc for -shared if USE_GNULIBC_1 is not defined.

        * config/linux.h (LIB_SPEC): Add -lc for -shared if
        USE_GNULIBC_1 is not defined.
        * config/sparc/linux.h; Ditto.
        * config/sparc/linux64.h (LIB_SPEC): Add -lc for -shared.
        * config/alpha/linux-elf.h (LIB_SPEC): New. Defined if
        USE_GNULIBC_1 is not defined.

From-SVN: r17895

26 years agocp-tree.h: Add access_protected_virtual_node.
Jason Merrill [Fri, 13 Feb 1998 00:30:37 +0000 (00:30 +0000)]
cp-tree.h: Add access_protected_virtual_node.

* cp-tree.h: Add access_protected_virtual_node.
* class.c (init_class_processing): Initialize it.
* decl.c (xref_basetypes): Use it.
* parse.y (base_class_access_list): Likewise.
* Make-lang.in (DEMANGLER_PROG): Add $(exeext).
(c++.install-common): Install c++filt.

From-SVN: r17894

26 years agosysv4.h (ENDFILE_SPEC): add missing %(endfile_linux) for -mcall-linux
Franz Sirl [Fri, 13 Feb 1998 00:28:23 +0000 (17:28 -0700)]
sysv4.h (ENDFILE_SPEC): add missing %(endfile_linux) for -mcall-linux

        * rs6000/sysv4.h (ENDFILE_SPEC): add missing %(endfile_linux)
        for -mcall-linux

From-SVN: r17892

26 years agosystem.h: New file to get common systems includes and various definitions and...
Kaveh R. Ghazi [Fri, 13 Feb 1998 00:22:24 +0000 (00:22 +0000)]
system.h: New file to get common systems includes and various definitions and...

* system.h: New file to get common systems includes and various
definitions and declarations based on autoconf macros.

From-SVN: r17891

26 years agofileops.c: #include <unistd.h>.
Jeff Law [Thu, 12 Feb 1998 23:56:20 +0000 (16:56 -0700)]
fileops.c: #include <unistd.h>.

        * fileops.c: #include <unistd.h>.
        * ioprims.c: Likewise.

From-SVN: r17890

26 years agofileops.c: #include <unistd.h>.
Krister Walfridsson [Thu, 12 Feb 1998 23:56:19 +0000 (16:56 -0700)]
fileops.c: #include <unistd.h>.

(
        * fileops.c: #include <unistd.h>.
        * ioprims.c: Likewise.

From-SVN: r17889

26 years agofileops.c: #include <unistd.h>.
Krister Walfridsson [Thu, 12 Feb 1998 23:56:18 +0000 (16:56 -0700)]
fileops.c: #include <unistd.h>.

f
        * fileops.c: #include <unistd.h>.
        * ioprims.c: Likewise.

From-SVN: r17888

26 years ago* cccp.c (new_include_prefix): Correctly handle -I./.
Jeffrey A Law [Thu, 12 Feb 1998 23:45:20 +0000 (23:45 +0000)]
* cccp.c (new_include_prefix): Correctly handle -I./.

From-SVN: r17886

26 years ago* gcc.dg/ifelse-1.c: New test.
Jeffrey A Law [Thu, 12 Feb 1998 23:34:52 +0000 (23:34 +0000)]
* gcc.dg/ifelse-1.c: New test.

From-SVN: r17885

26 years agocom.c (type_for_mode): Add explicit braces to avoid ambiguous `else'.
Kaveh R. Ghazi [Thu, 12 Feb 1998 23:18:26 +0000 (23:18 +0000)]
com.c (type_for_mode): Add explicit braces to avoid ambiguous `else'.

        * com.c (type_for_mode): Add explicit braces to avoid ambiguous `else'.
        * expr.c (ffeexpr_type_combine): Likewise.
        (ffeexpr_reduce_): Likewise.
        (ffeexpr_declare_parenthesized_): Likewise.
        * src.c (ffesrc_strcmp_1ns2i): Likewise.
        (ffesrc_strcmp_2c): Likewise.
        (ffesrc_strncmp_2c): Likewise.
        * stb.c (ffestb_halt1_): Likewise.
        (ffestb_R90910_): Likewise.
        (ffestb_R9109_): Likewise.
        * stc.c (ffestc_R544_equiv_): Likewise.
        * std.c (ffestd_subr_copy_easy_): Likewise.
        (ffestd_R1001dump_): Likewise.
        (ffestd_R1001dump_1005_1_): Likewise.
        (ffestd_R1001dump_1005_2_): Likewise.
        (ffestd_R1001dump_1005_3_): Likewise.
        (ffestd_R1001dump_1005_4_): Likewise.
        (ffestd_R1001dump_1005_5_): Likewise.
        (ffestd_R1001dump_1010_2_): Likewise.
        * ste.c (ffeste_R840): Likewise.
        * sts.c (ffests_puttext): Likewise.
        * symbol.c (ffesymbol_check_token_): Likewise.
        * target.c (ffetarget_real1): Likewise.
        (ffetarget_real2): Likewise.

From-SVN: r17884

26 years ago
Benjamin Kosnik [Thu, 12 Feb 1998 18:20:08 +0000 (18:20 +0000)]

testcase for g++/14837

From-SVN: r17882

26 years agodecl.c (shadow_tag): Give error for typedef-ing built-in types Fixes g++/14837
Benjamin Kosnik [Thu, 12 Feb 1998 18:18:51 +0000 (18:18 +0000)]
decl.c (shadow_tag): Give error for typedef-ing built-in types Fixes g++/14837

d
Thu Feb 12 12:46:51 1998  Benjamin Kosnik  <bkoz@rhino.cygnus.com>
* decl.c (shadow_tag): Give error for typedef-ing built-in types
Fixes g++/14837

From-SVN: r17881

26 years agodecl.c (shadow_tag): Give error for typedef-ing built-in types Fixes g++/14837
Benjamin Kosnik [Thu, 12 Feb 1998 18:18:49 +0000 (18:18 +0000)]
decl.c (shadow_tag): Give error for typedef-ing built-in types Fixes g++/14837

a
Thu Feb 12 12:46:51 1998  Benjamin Kosnik  <bkoz@rhino.cygnus.com>
* decl.c (shadow_tag): Give error for typedef-ing built-in types
Fixes g++/14837

From-SVN: r17880

26 years agoReplace gen_rtx (CONST_INT...) calls with GEN_INT calls
Michael Meissner [Thu, 12 Feb 1998 17:18:51 +0000 (17:18 +0000)]
Replace gen_rtx (CONST_INT...) calls with GEN_INT calls

From-SVN: r17879

26 years agoexpr.c (expand_assignment): Correct typo exposed by -Wall.
Robert Lipe [Thu, 12 Feb 1998 14:59:57 +0000 (14:59 +0000)]
expr.c (expand_assignment): Correct typo exposed by -Wall.

        * expr.c (expand_assignment):  Correct typo exposed by -Wall.
        offset should have been a truth value, not an assignment.

From-SVN: r17876

26 years agocall.c (reference_binding): Use comptypes when comparing TYPE_MAIN_VARIANTS to handle...
Mark Mitchell [Thu, 12 Feb 1998 14:55:02 +0000 (14:55 +0000)]
call.c (reference_binding): Use comptypes when comparing TYPE_MAIN_VARIANTS to handle non-canonical...

* call.c (reference_binding): Use comptypes when comparing
TYPE_MAIN_VARIANTS to handle non-canonical array/index types.

From-SVN: r17875

26 years agotypeck.c (build_ptrmemfunc): Typecheck pointer-to-member conversions.
Mark Mitchell [Thu, 12 Feb 1998 14:51:57 +0000 (14:51 +0000)]
typeck.c (build_ptrmemfunc): Typecheck pointer-to-member conversions.

* typeck.c (build_ptrmemfunc): Typecheck pointer-to-member
conversions.

From-SVN: r17874

26 years agocse.c (delete_dead_from_cse): If a libcall produces a constant result and that result...
Jeffrey A Law [Thu, 12 Feb 1998 14:26:47 +0000 (14:26 +0000)]
cse.c (delete_dead_from_cse): If a libcall produces a constant result and that result can be substituted into...

        * cse.c (delete_dead_from_cse): If a libcall produces a constant
        result and that result can be substituted into SET_SRC of the
        insn with the REG_RETVAL note, then perform the substitution
        and delete the libcall.

From-SVN: r17871

26 years agomips.md (trucndihi2,truncdiqi2): Change these to support mips16.
Gavin Koch [Thu, 12 Feb 1998 11:06:08 +0000 (11:06 +0000)]
mips.md (trucndihi2,truncdiqi2): Change these to support mips16.

* mips.md (trucndihi2,truncdiqi2): Change these to support
mips16.

From-SVN: r17868

This page took 0.34433 seconds and 5 git commands to generate.