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
Jason Merrill
440a6c2a4e
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
1998-02-13 08:59:10 -05:00
Jason Merrill
442f0a304a
* except.c (emit_throw): Lose throw_used.
...
From-SVN: r17966
1998-02-13 08:44:12 -05:00
Jason Merrill
b43f43dbb8
tweak message
...
From-SVN: r17965
1998-02-13 08:35:02 -05:00
Jason Merrill
9605fb4417
tweak comments
...
From-SVN: r17964
1998-02-13 08:34:53 -05:00
J"orn Rennecke
fcdc0d6e61
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
1998-02-13 12:40:29 +00:00
Jeffrey A Law
b7673cdb66
* genextract.c (main): Fix typo.
...
From-SVN: r17904
1998-02-13 04:17:14 -07:00
Robert Lipe
9e4767cadf
Change timestamp of my last entry to reflect checkin time, not submission
...
time.
From-SVN: r17903
1998-02-13 06:43:13 +00:00
Robert Lipe
2e6a59892b
Rats. Forgot to change copyrights on the first commit.
...
From-SVN: r17902
1998-02-13 05:40:34 +00:00
Robert Lipe
69d4ca36f4
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
1998-02-13 05:30:56 +00:00