Commit Graph

15567 Commits

Author SHA1 Message Date
Dave Love
9f842786a0 (dnrm2): Avoid uninitialized (and
possibly uninitialized) variables and declare dnrm2.

From-SVN: r18069
1998-02-18 12:00:51 +00:00
Brendan Kehoe
3dc888ad51 * cp-tree.h (strip_attrs): Remove decl.
From-SVN: r18067
1998-02-18 06:00:03 -05:00
Brendan Kehoe
53f2361306 add doc for -fsquangle/-fno-squangle
From-SVN: r18066
1998-02-18 05:49:56 -05:00
Brendan Kehoe
d9525bec09 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
1998-02-18 05:38:57 -05:00
Jeffrey A Law
f9a366acb5 Remove this change until we can fix it correctly.
* collect2.c: Bracket declaration of 'exportf' and
        'full_real_ld_suffix'.

From-SVN: r18062
1998-02-18 01:07:59 -07:00
Bernd Schmidt
206ae7cf59 * Makefile.in (STAGESTUFF): Add genrtl.c, genrtl.h and gengenrtl.
From-SVN: r18061
1998-02-18 00:42:20 -07:00
Dave Love
ce0d965c12 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
1998-02-17 17:18:26 -07:00
Dave Love
9992b2e1f1 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
1998-02-17 16:52:39 -07:00
Kaveh R. Ghazi
2fde567ece 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
1998-02-17 15:43:25 -07:00
Bernd Schmidt
0a7ed33c87 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
1998-02-17 15:28:23 -07:00
Robert Lipe
68c9728ad1 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
1998-02-17 22:02:42 +00:00
Richard Henderson
15941d29c8 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
1998-02-17 14:54:24 -07:00
Jeff Law
d84a12e2de New testcase for x86 XFmode problems.
From-SVN: r18051
1998-02-17 14:50:10 -07:00
Jeff Law
979c1a1757 Remove unwanted CYGNUS LOCAL marker.
From-SVN: r18050
1998-02-17 14:44:09 -07:00
Kaveh R. Ghazi
8e85ff2c50 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
1998-02-17 14:37:55 -07:00
Kaveh R. Ghazi
5835e573cd 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
1998-02-17 14:35:43 -07:00
Jeffrey A Law
b1a0c81697 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
1998-02-17 14:30:22 -07:00
Jeff Law
c03f75435d New alpha test from HJ.
From-SVN: r18046
1998-02-17 14:24:02 -07:00
Jeff Law
a5d3469c49 Various minor tweaks.
From-SVN: r18045
1998-02-17 14:21:20 -07:00
H.J. Lu
3c1493a855 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
1998-02-17 13:54:12 -07:00
Gavin Koch
365ca18bf0 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
1998-02-17 18:31:03 +00:00
Mark Mitchell
153305b05c 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
1998-02-17 14:13:09 +00:00
J"orn Rennecke
feb60352fb Fix problems with last patch.
From-SVN: r18033
1998-02-17 13:21:01 +00:00
Jason Merrill
beb31faa5b * parse.y (simple_stmt): Use getdecls() to check for decl.
From-SVN: r18032
1998-02-17 06:54:56 -05:00
Joern Rennecke
a11759a38c 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
1998-02-17 10:26:44 +00:00
J"orn Rennecke
93f83bd58d * i386.md (adddi3): Add =!r,0,0,X alternative.
From-SVN: r18030
1998-02-17 02:23:03 +00:00
Richard Henderson
c30ddbc9da Update documentation for builtin_setjmp related patterns.
From-SVN: r18029
1998-02-16 09:19:13 -08:00
David Edelsohn
ecf0ad276b bump copyright date
From-SVN: r18028
1998-02-16 08:20:12 -05:00
David Edelsohn
b9af8fb088 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
1998-02-16 08:17:50 -05:00
Gavin Koch
a4dee8a5d1 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
1998-02-16 06:26:59 +00:00
Gavin Koch
8898f8a182 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
1998-02-16 06:14:01 +00:00
John Carr
9ba7a303aa 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
1998-02-16 05:26:05 +00:00
Jason Merrill
b7f6588dd2 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
1998-02-15 23:52:31 -05:00
Manfred Hollstein
f75778a8d6 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
1998-02-16 04:20:13 +00:00
Manfred Hollstein
3acd1fd020 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
1998-02-16 04:20:12 +00:00
Jeffrey A Law
8e7336f849 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
1998-02-15 15:28:33 -07:00
Kaveh R. Ghazi
17248a6b14 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
1998-02-15 13:41:09 -07:00
Kaveh R. Ghazi
79e1184485 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
1998-02-15 13:36:23 -07:00
Jim Wilson
c9b4de0677 Fix Irix6 EH failures, was broken by mips16 patch.
* mips/mips.h (INITIAL_ELIMINATION_OFFSET): Readd Jun 6 change.

From-SVN: r18013
1998-02-15 09:07:31 -08:00
John Carr
9f8f10de39 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
1998-02-15 12:26:06 +00:00
Manfred Hollstein
5b47722461 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
1998-02-14 10:56:38 -05:00
Jason Merrill
798eed5ebb * call.c (standard_conversion): Fix multi-level ptr conversions.
From-SVN: r17999
1998-02-14 10:49:20 -05:00
Jeffrey A Law
d757d1410f Bump for snapshot
From-SVN: r17976
1998-02-14 04:23:14 -07:00
Richard Earnshaw
99e9043802 t-semi (STMP_FIXPROTO): Define to nothing.
* arm/t-semi (STMP_FIXPROTO): Define to nothing.
* arm/t-semiaof (STMP_FIXPROTO): Likewise.

From-SVN: r17975
1998-02-14 05:16:58 +00:00
Richard Earnshaw
7a0a1f09c4 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
1998-02-14 05:14:13 +00:00
Jeffrey A Law
29a820586a 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
1998-02-13 18:13:58 -07:00
Jason Merrill
bfd5e22089 disable
From-SVN: r17972
1998-02-13 12:53:55 -05:00
Jason Merrill
6bc7be5f89 * pt.c (determine_specialization): Give better errors.
From-SVN: r17970
1998-02-13 09:44:00 -05:00
Jim Wilson
e3e7774eb1 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
1998-02-13 06:40:09 -08:00
Mike Stump
8017079182 * init.c (build_new): Propagate error_mark_node up.
From-SVN: r17968
1998-02-13 09:07:32 -05:00