]> gcc.gnu.org Git - gcc.git/blob - gcc/ChangeLog
* invoke.texi (-Wtraditional): Update WRT function macros.
[gcc.git] / gcc / ChangeLog
1 2000-05-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2
3 * invoke.texi (-Wtraditional): Update WRT function macros.
4
5 Tue May 30 09:57:32 2000 Philippe De Muyter <phdm@macqel.be>
6
7 * except.c (free_exception_table): Do not free NULL.
8
9 2000-05-29 Zack Weinberg <zack@wolery.cumb.org>
10
11 * cpplib.c (do_if): Don't save and restore only_seen_white here.
12 * cppexp.c (_cpp_parse_expr): Save and restore only_seen_white
13 and skipping here.
14
15 2000-05-29 Richard Earnshaw (rearnsha@arm.com)
16
17 * flow.c (mark_used_reg): If a register is unconditionally live,
18 remove any conditional death information.
19
20 2000-05-29 Richard Henderson <rth@cygnus.com>
21
22 * final.c (current_output_insn): New.
23 (final_scan_insn): Set it.
24 * output.h: Declare it.
25
26 2000-05-29 Richard Henderson <rth@cygnus.com>
27
28 * stor-layout.c (finalize_record_size): Fix typo.
29
30 * jump.c (redirect_jump): Don't emit NOTE_INSN_FUNCTION_END
31 if nlabel is null.
32
33 2000-05-29 Zack Weinberg <zack@wolery.cumb.org>
34
35 * cpplib.h (cpp_reader): Remove if_stack. Change
36 potential_control_macro to a cpp_hashnode *. Add skipping flag.
37 * cpphash.h (struct ihash): Change control_macro to a
38 cpp_hashnode * and shorten name to cmacro.
39 Add NEVER_REINCLUDE constant.
40
41 * cppfiles.c (redundant_include_p): Drop cpp_reader argument.
42 Examine the cmacro node directly, no need to call cpp_defined.
43 (_cpp_execute_include, read_include_file): Set cmacro to
44 NEVER_REINCLUDE, not U"".
45 * cpplex.c (cpp_push_buffer): Don't set new->if_stack.
46 (cpp_get_token): If pfile->skipping is true, discard text and
47 keep scanning until we hit a directive; don't expand macros.
48
49 * cpplib.c (struct if_stack): Remove if_succeeded, add
50 was_skipping. Change control_macro to a cpp_hashnode * and
51 shorten name to cmacro. Remove typedef IF_STACK.
52 (parse_ifdef), detect_if_not_defined): Return a cpp_hashnode *.
53 (conditional_skip, skip_if_group,
54 consider_directive_while_skipping): Delete.
55 (push_conditional): New.
56 (_cpp_handle_directive): Don't process directives other than
57 conditionals if we are skipping.
58
59 (do_ifdef, do_ifndef, do_if, do_else, do_elif, do_endif):
60 Update to new scheme.
61 (validate_else): Skip rest of line here, unconditionally.
62 (_cpp_unwind_if_stack): The stack is per-buffer. Force
63 pfile->skipping off.
64
65 (all): Remove `scare quotes' from error messages.
66
67 2000-05-29 Richard Henderson <rth@cygnus.com>
68
69 * function.c (emit_return_into_block): New line_note arg; emit it.
70 (thread_prologue_and_epilogue_insns): Attempt to locate a line note
71 for the close brace to accompany HAVE_return. Move all line notes
72 following the epilogue to before the NOTE_INSN_EPILOGUE_BEG.
73
74 2000-05-29 Richard Henderson <rth@cygnus.com>
75
76 * longlong.h [__alpha] (count_leading_zeros): New.
77 (count_trailing_zeros): New.
78 (COUNT_LEADING_ZEROS_0): New.
79
80 * config/alpha/alpha.c (alpha_zero_comparison_operator): New.
81 (alpha_split_conditional_move): New.
82 * config/alpha/alpha-protos.h: Prototype them.
83 * config/alpha/alpha.h (PREDICATE_CODES): Update.
84 (CPP_CPU_DEFAULT_SPEC): Fix typo for EV67.
85 * config/alpha/alpha.md: Update ffs cix commentary.
86 (*ze_and_ne): New.
87 (*nabssf2, *nabsdf2): New.
88 (*mov[qhsd]icc_internal): Use add_operand.
89 (if_then_else constant splitters): New.
90 (*cmp_sadd_di, *cmp_sadd_si, *cmp_sadd_sidi): New.
91 (*cmp_ssub_di, *cmp_ssub_si, *cmp_ssub_sidi): New.
92
93 2000-05-29 Richard Henderson <rth@cygnus.com>
94
95 * combine.c (force_to_mode) [MINUS]: Convert subtraction from
96 a constant to NEG or NOT when conditions allow.
97
98 * combine.c (combine_simplify_rtx): Don't create an if_then_else
99 unless both args are general_operand. Don't canonicalize plus
100 to ior unless it helps.
101
102 * toplev.c (rest_of_compilation): Set no_new_pseudos after flow1;
103 instead track register_life_up_to_date. Toggle no_new_pseudos
104 around if_convert.
105
106 2000-05-28 Geoff Keating <geoffk@cygnus.com>
107
108 * config/rs6000/rs6000.c (output_cbranch): Escape '%' characters
109 so output_operand doesn't see them.
110
111 Sun May 28 18:37:07 2000 Clinton Popetz <cpopetz@cygnus.com>
112
113 * lcm.c (make_preds_opaque): Fix comment.
114 (optimize_mode_switching): Use NORMAL_MODE instead of
115 MODE_USES_IN_EXIT_BLOCK. Change leftover instance of
116 FP_MODE_NONE to no_mode. Rename MODE_AT_ENTRY to NORMAL_MODE.
117 Handle insertions before an existing NOTE_INSN_BASIC_BLOCK.
118 * tm.texi (OPTIMIZE_MODE_SWITCHING): Refer to NORMAL_MODE.
119 (MODE_USES_IN_EXIT_BLOCK): Delete.
120 (MODE_AT_ENTRY) Rename to NORMAL_MODE.
121 * sh.h (MODE_USES_IN_EXIT_BLOCK): Delete.
122 (MODE_AT_ENTRY): Rename to NORMAL_MODE.
123 (MODE_NEEDED): Don't look for USE.
124 (EPILOGUE_USES): Define.
125
126 Sun May 28 23:26:59 2000 Philippe De Muyter <phdm@macqel.be>
127
128 * mklibgcc.in (all): Variable initialised to `libgcc'.
129
130 2000-05-28 Gabriel Dos Reis <gdr@codesourcery.com>
131
132 * toplev.h (skip_leading_substring): New macro.
133 * toplev.c (decode_f_option): Use skip_leading_substring instead
134 of strncmp.
135 (decode_W_option): Likewise.
136
137 2000-05-28 Nick Clifton <nickc@cygnus.com>
138
139 * tm.texi (CONDITIONAL_REGISTER_USAGE): Document that it can
140 modify reg_names.
141
142 2000-05-28 Richard Henderson <rth@cygnus.com>
143
144 * regclass.c (record_operand_costs): Protect reg_changes_size
145 with CLASS_CANNOT_CHANGE_SIZE.
146
147 * loop.c (instrument_loop_bct): Set JUMP_LABEL on the new insn.
148
149 2000-05-28 Richard Henderson <rth@cygnus.com>
150
151 * function.c (diddle_return_value): A pcc-style struct return
152 returns a pointer.
153
154 2000-05-27 Zack Weinberg <zack@wolery.cumb.org>
155
156 * cppfiles.c: Read files in, using mmap if possible, then
157 prescan them separately.
158 (read_file, read_with_read): New functions.
159 * cpplex.c: Don't define UCHAR_MAX.
160 (_cpp_read_and_prescan): Rename to _cpp_prescan. Don't read
161 the file here.
162
163 * cppinit.c (handle_option): Automatically define __cplusplus,
164 __OBJC__, __ASEEMBLER__, _LANGUAGE_FORTRAN here when we see
165 the respective -lang switch.
166
167 * cpphash.h (enum node_type, struct hashnode, _cpp_lookup
168 prototype): Move to...
169 * cpplib.h: ... here. Rename struct hashnode to struct
170 cpp_hashnode and give it a typedef. Rename _cpp_lookup to
171 cpp_lookup. Add 'fe_value' slot, a union tree_node *.
172
173 2000-05-27 Geoffrey Keating <geoffk@cygnus.com>
174
175 * config/rs6000/rs6000.md (movsi): Constify 'name'.
176
177 * regclass.c [CLASS_CANNOT_CHANGE_SIZE]
178 (class_can_change_size): New variable.
179 (reg_changes_size): New variable.
180 (init_reg_sets_1): Initialise class_can_change_size.
181 (record_operand_costs): Remove subreg_changes_size.
182 Don't pass it around. Instead update reg_changes_size.
183 (regclass): Initialise and free reg_changes_size. If a register
184 changes size, don't preference it to a class that contains
185 registers that can't change size.
186 (record_reg_classes): Don't look at subreg_changes_size.
187
188 2000-05-27 Richard Henderson <rth@cygnus.com>
189
190 * print-rtl.c (reg_names): Remove const.
191 * regclass.c (reg_names): Likewise.
192 * regs.h (reg_names): Likewise.
193 * hard-reg-set.h (reg_names): Likewise.
194
195 2000-05-27 Richard Henderson <rth@cygnus.com>
196
197 * config/rs6000/rs6000.md (untyped_call): Use GEN_CALL.
198
199 2000-05-27 Richard Henderson <rth@cygnus.com>
200
201 * config/alpha/alpha.c (alpha_does_function_need_gp): Test
202 TARGET_PROFILING_NEEDS_GP in the if, instead of with an ifdef.
203 (alpha_expand_prologue): Emit prologue_mcount if needed.
204 * config/alpha/alpha.h (TARGET_PROFILING_NEEDS_GP): Default to 0.
205 * config/alpha/alpha.md (prologue_mcount): New.
206 * config/alpha/linux.h (FUNCTION_PROFILER): Remove.
207 (TARGET_PROFILING_NEEDS_GP): Undef before redefining.
208 * config/alpha/netbsd.h: Likewise.
209
210 2000-05-27 Richard Henderson <rth@cygnus.com>
211
212 * config/alpha/elf.h (SELECT_SECTION): Mirror Kenner's May 19
213 change to config/elfos.h.
214
215 2000-05-27 Richard Henderson <rth@cygnus.com>
216
217 * Makefile.in (resource.o): Depend on except.h.
218 * except.h (output_exception_table_data): Prototype.
219 * genconfig.c (gen_peephole2): Prototype.
220 * genemit.c (main): Include ggc.h.
221 * genoutput.c: Revert parts of last change: include errors.h
222 (main): Set progname.
223 * recog.c: Include hard-reg-set.h before recog.h.
224 * resource.c: Include except.h.
225
226 * config/alpha/alpha-protos.h (alpha_arg_info_reg_val): Protect
227 with RTX_CODE.
228 (alpha_write_linkage): Protect with BUFSIZ.
229 (alpha_need_linkage): Update prototype.
230 * config/alpha/alpha.c (function_arg): Move VMS code here.
231 (alpha_links_base): Remove.
232 (alpha_links): New.
233 (mark_alpha_links_node, mark_alpha_links): New.
234 (alpha_write_one_linkage): New.
235 (alpha_need_linkage): Use a splay tree. Build the linkage symbol.
236 (alpha_write_linkage): Use splay_tree_foreach.
237 * config/alpha/alpha.md (call_vms): Use alpha_need_linkage
238 to get the linkage symbol.
239 (call_value_vms): Likewise.
240 * config/alpha/elf.h (output_file_directive): Remove decl.
241 (ctors_section, dtors_section): Prototype.
242 (sbss_section, sdata_section): Prototype.
243 * config/alpha/vms.h (FUNCTION_ARG): Remove.
244 (readonly_section, link_section, literals_section): Prototype.
245 (ctors_section, dtors_section): Prototype.
246 (vms_valid_decl_attribute_p): Remove decl.
247 (alpha_arg_type, alpha_arg_info_reg_val): Likewise.
248
249 2000-05-27 Geoff Keating <geoffk@cygnus.com>
250
251 * reload.c (get_secondary_mem): Don't widen floating-point modes.
252
253 * combine.c (subst): Honour CLASS_CANNOT_CHANGE_SIZE when
254 substituting the REG in a (subreg:X (reg:Y ...)).
255
256 2000-05-28 Neil Booth <NeilB@earthling.net>
257
258 * cpplex.c (_cpp_lex_line): Merge vertical space. Flag
259 first token of a line BOL. Update EOF code for this.
260 Remove illegal directive check - it appears in the (not
261 yet committed) caller.
262 * cpplib.h (BOL): New flag.
263
264 2000-05-28 Neil Booth <NeilB@earthling.net>
265
266 * cpplex.c (_cpp_init_toklist): No comment space to initialise.
267 (_cpp_free_toklist): No comment space to free.
268 (expand_comment_space): Remove.
269 (save_comment_space): Place the comment in the current token and
270 not in a separate comment space.
271 (_cpp_lex_line): Save comments during plain code and #define
272 directives only.
273 * cpplib.h (struct _cpp_toklist): Remove comment space.
274
275 2000-05-28 Neil Booth <NeilB@earthling.net>
276
277 * cppexp.c (parse_assertion): Supply extra argument to
278 _cpp_init_toklist.
279 * cpplib.c (do_assert, do_unassert): Similarly.
280 * cpphash.h (_cpp_init_toklist) Update.
281 (_cpp_expand_token_space): New.
282 (DUMMY_TOKEN, NO_DUMMY_TOKEN): New.
283 * cpplex.c (_cpp_init_toklist): New argument.
284 (parse_string2): New argument multiline_ok.
285 (spell_token): Take a const cpp_token *.
286 (INIT_NAME): Replace with INIT_TOKEN_NAME. Update tokens_used.
287 (SPELL_ macros): Replace with enum.
288 (expand_token_space): Replace with _cpp_expand_token_space.
289 Take COUNT argument.
290 (IS_DIRECTIVE): Update.
291 (_cpp_lex_line): Update token structure before parsing number.
292 Don't assume start at beginning of token list.
293 (save_comment): Use INIT_TOKEN_NAME.
294
295 2000-05-27 Zack Weinberg <zack@wolery.cumb.org>
296
297 * configure.in (stage1_warn_cflags): Add -Wstrict-prototypes
298 -Wmissing-prototypes.
299 * configure: Regenerate.
300 * gcc.texi: Remove explanation of MD_CALL_PROTOTYPES.
301
302 * builtins.c, calls.c: Change all instances of gen_call_* or
303 gen_sibcall_* to GEN_CALL_* and GEN_SIBCALL_*.
304 * calls.c (struct_value_size_rtx): Separate definition from
305 initialization to avoid unused variable warning.
306
307 * genflags.c (gen_macro): New function.
308 (gen_proto): Call it for gen_call_* and gen_sibcall_*.
309 (gen_nonproto): Delete.
310 (gen_insn): Put all insns on the same obstack.
311 (main): Generate prototypes for everything unconditionally.
312
313 * configure.in: Add AC_CHECK_TYPE(ssize_t). Remove commented
314 out check for wchar_t.
315 * acconfig.h: Add template for ssize_t. Remove @TOP@.
316 * system.h: Add infrastructure for defining missing
317 TYPE_MAX/TYPE_MIN macros. Use it to provide fallback
318 definitions of UCHAR_MAX and SSIZE_MAX.
319 * configure: Regenerate.
320 * config.in: Regenerate.
321
322 * Makefile.in (libgcc2.ready): Rename to libgcc.ready.
323 Depend on $(LANGUAGES) as well as $(GCC_PATCHES) and fixed
324 headers.
325 (clean): No need to delete libgcc1.a, libgcc1-asm.a,
326 libgcc2.a, or libgcc1.null.
327
328 2000-05-27 Richard Henderson <rth@cygnus.com>
329
330 * Makefile.in (recog.o): Don't depend on resource.h.
331 * recog.c: Don't include resource.h.
332 (recog_last_allowed_insn): Remove.
333 (recog_next_insn): Remove.
334 (struct peep2_insn_data): New.
335 (peep2_insn_data, peep2_current): New.
336 (peep2_next_insn): New.
337 (peep2_regno_dead_p, peep2_reg_dead_p): New.
338 (peep2_find_free_register): New.
339 (peephole2_optimize): Track life information by insn as we go.
340 * recog.h: Update declarations.
341 * resource.c (find_free_register, reg_dead_p): Remove.
342 * resource.h: Remove their declarations.
343 * toplev.c: Include hard-reg-set.h before recog.h.
344
345 * genconfig.c (max_insns_per_peep2): New.
346 (gen_peephole2): New.
347 (main): Call it.
348 * genemit.c (output_peephole2_scratches): Generate calls to
349 peep2_find_free_register; adjust surrounding code.
350 (main): Have insn-emit.c include hard-reg-set.h before recog.h.
351 * genrecog.c (change_state): Don't track last_insn.
352 (write_action): Write into *_pmatch_len before accepting.
353 (write_tree): Adjust peephole2_insns and subroutines to match.
354
355 * config/i386/i386.md (all peepholes): Use peep2_regno_dead_p.
356
357 * config/alpha/alpha.c (hard_fp_register_operand): Mind the mode.
358 (hard_int_register_operand): New.
359 * config/alpha/alpha-protos.h: Declare it.
360 * config/alpha/alpha.h (PREDICATE_CODES): Update.
361 * config/alpha/alpha.md (peep2 patterns): Use hard_int_register_operand
362 as needed; use peep2_reg_dead_p instead of dead_or_set_p.
363
364 2000-05-27 Richard Henderson <rth@cygnus.com>
365
366 * function.c (thread_prologue_epilogue_insns): Don't move the
367 line note at the head of the chain. Only force a lineno note
368 before the end of block 0.
369
370 2000-05-27 Richard Henderson <rth@cygnus.com>
371
372 * gensupport.c (collect_insn_data): Record the maximum number
373 of alternatives, not the last seen.
374
375 * genoutput.c: Don't include errors.h.
376 (struct data): Add lineno member.
377 (have_error): New.
378 (scan_operands): Use message_with_line instead of error.
379 (validate_insn_alternatives): Likewise.
380 (gen_insn): Accept and store the pattern's line number.
381 (gen_peephole, gen_expand, gen_split): Likewise.
382 (main): Don't set progname. Pass line_no to gen_foo.
383
384 2000-05-27 Richard Henderson <rth@cygnus.com>
385
386 * config/d30v/d30v.c (d30v_print_operand): Handle ':'.
387 * config/d30v/d30v.h (PRINT_OPERAND_PUNCT_VALID_P): Accept ':'.
388 * config/d30v/d30v.md (attr predicable): New.
389 (all insn patterns): Mark non-predicable patterns; use %: on the rest.
390 (andsi3*): Unify into one pattern.
391 (iorsi3*, xorsi3*): Likewise.
392 (peephole2 patterns): Use peep2_reg_dead_p; verify not a
393 conditional return.
394 (old cond_exec patterns): Remove.
395 (define_cond_exec): New.
396
397 Sat May 27 11:01:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
398
399 * tree.h (TREE_CODE_LENGTH): New macro.
400 * c-common.c (c_find_base_decl): Use it.
401 * expr.c (safe_from_p): Likewise.
402 * print-tree.c (print_node): Likewise.
403 * tree.c (make_node, copy_node, get_identifier): Likewie.
404 (first_rtl_op, contains_placeholder_p, substitute_in_expr): Likewise.
405 (build, build_nt, build_parse_node, simple_cst_equal): Likewise.
406 * fold-const.c (make_range): Likewise.
407 (fold): Likewise; also use first_rtl_op.
408 * c-iterate.c (collect_iterators): Use first_rtl_op.
409 * calls.c (calls_function_1): Likewise; also rename TYPE to CLASS.
410 Use IS_EXPR_CODE_CLASS.
411 (preexpand_calls): Likewise.
412 * ggc-common.c (ggc_mark_trees): Rework to use first_rtl_op
413 and TREE_CODE_LENGTH.
414 * stmt.c (warn_if_unused_value): If no operands, no unused value.
415
416 2000-05-26 Geoffrey Keating <geoffk@cygnus.com>
417
418 * config/rs6000/rs6000.md (movsi_internal1): Use '%a1' rather
419 than '%1(%*)'.
420 (movdi_internal64): Likewise.
421
422 * config/rs6000/rs6000.md: Correct order of operands for DImode
423 boolean patterns.
424
425 * config/rs6000/rs6000.c (boolean_or_operator): New function.
426 * config/rs6000/rs6000-protos.h (boolean_or_operator): Prototype it.
427 * config/rs6000/rs6000.h (PREDICATE_CODES): Add boolean_or_operator.
428 * config/rs6000/rs6000.md: Use boolean_or_operator instead of
429 boolean_operator for the boolean patterns without NOTs.
430
431 * config/rs6000/rs6000.c (reg_or_logical_cint_operand): Rename
432 from reg_or_u_cint_operand. Change comment and behaviour.
433 (logical_operand): Clean up, add assertion.
434 (non_logical_cint_operand): Also check for
435 reg_or_logical_cint_operand.
436 * config/rs6000/rs6000.h (PREDICATE_CODES): Update.
437 * config/rs6000/rs6000.md (iorsi3): Use reg_or_logical_cint_operand
438 in the expander.
439 (xorsi3): Likewise.
440 (iordi3): Likewise.
441 (xordi3): Likewise.
442
443 2000-05-26 Mark Mitchell <mark@codesourcery.com>
444
445 * tree.h (struct record_layout_info): Rename to (struct
446 record_layout_info_s).
447 * stor-layout.c (start_record_layout): Replace
448 `record_layout_info' with `record_layout_info_s'.
449
450 2000-05-26 Richard Earnshaw <rearnsha@arm.com>
451
452 * flow.c (find_label_refs): New function.
453 (find_basic_blocks_1): Call it for each alternative of a call
454 placeholder.
455
456 2000-05-26 Richard Earnshaw <rearnsha@arm.com>
457
458 * ifcvt.c (cond_exec_get_condition): Set test_if to the SET_SRC
459 of get_pc.
460
461 2000-05-25 Richard Henderson <rth@cygnus.com>
462
463 * config/alpha/alpha.c (alpha_comparison_operator): Don't be
464 so strict about DImode.
465 (alpha_swapped_comparison_operator): Likewise.
466 * config/alpha/alpha.md (*setne_internal): Name it. Allow
467 any integer output mode.
468 (*setcc_internal): Likewise.
469 (*setcc_swapped_internal): Likewise.
470 (*movdicc_internal, *movdicc_lbc, *movdicc_lbs): Name them.
471 (*mov[qhs]icc_internal): New.
472 (*mov[qhs]icc_lbc, *mov[qhs]icc_lbs): New.
473
474 2000-05-25 J. David Anglin <dave@hiauly1.hia.nrc.ca>
475
476 * vax.h (CPP_SPEC): Define __GFLOAT and GFLOAT when -mg is specified.
477
478 2000-05-25 Richard Henderson <rth@cygnus.com>
479
480 * bb-reorder.c (reorder_block_def): Reorder elements for size.
481 Remove add_jump; add next; replace flags with visited.
482 (rbd_init): Remove.
483 (REORDER_BLOCK_HEAD, REORDER_BLOCK_VISITED): Remove.
484 (REORDER_BLOCK_FLAGS, REORDER_BLOCK_INDEX): Remove.
485 (REORDER_BLOCK_ADD_JUMP, REORDER_BLOCK_EFF_HEAD): Remove.
486 (REORDER_BLOCK_EFF_END, REORDER_BLOCK_SCOPE): Remove.
487 (RBI): New.
488 (reorder_index, reorder_last_visited): Remove.
489 (skip_insns_after_block): Rewrite to use a switch.
490 (get_common_dest): Remove.
491 (chain_reorder_blocks): Remove.
492 (record_effective_endpoints): Split out from reorder_basic_blocks.
493 (make_reorder_chain): Likewise. Loop until all blocks are placed.
494 (make_reorder_chain_1): Renamed from old make_reorder_chain.
495 Only construct the reorder chain, do not move insns. Try harder
496 to tail recurse.
497 (label_for_bb, emit_jump_to_block_after): New.
498 (fixup_reorder_chain): Use them. Do bulk block movement. Examine
499 and adjust the jump insns appropriately. Fixup basic_block_info.
500 (verify_insn_chain): Always define.
501 (relate_bbs_with_scopes): Call xmalloc, not xcalloc. Fix thinko
502 in allocation size.
503 (make_new_scope): Don't write zeros to calloc'd space.
504 (build_scope_forest): Rely on xrealloc to DTRT.
505 (reorder_basic_blocks): Don't build loop nest. Don't fail if
506 profile_arc_flag. Streamline EH test.
507
508 * flow.c (redirect_edge_succ, redirect_edge_pred): New.
509 * basic-block.h: Declare them.
510
511 2000-05-25 Alexandre Oliva <aoliva@cygnus.com>
512
513 * emit-rtl.c (reset_used_decls): New function.
514 (unshare_all_rtl_again): Call it.
515
516 2000-05-25 Zack Weinberg <zack@wolery.cumb.org>
517
518 * cpplex.c (maybe_macroexpand): Warn about function-like
519 macros used in non-function context, if -Wtraditional.
520
521 2000-05-25 Mark Mitchell <mark@codesourcery.com>
522
523 * recog.c (peephole2_optimize): Use INSN_P.
524
525 2000-05-25 Richard Henderson <rth@cygnus.com>
526
527 * ifcvt.c (seq_contains_jump): New.
528 (noce_try_store_flag_constants): Use it to fail conversion.
529 (noce_try_store_flag_inc, noce_try_store_flag_mask): Likewise.
530
531 2000-05-25 Mark Mitchell <mark@codesourcery.com>
532
533 * except.h (can_throw): Declare it.
534 * except.c (can_throw): Give it external linkage.
535 * resource.c (find_dead_or_set_registers): Use can_throw.
536
537 2000-05-25 Richard Henderson <rth@cygnus.com>
538
539 * flow.c (mark_set_1): Don't record conditionally dead memory.
540
541 2000-05-25 Jan Hubicka <jh@suse.cz>
542
543 * combine.c (try_combine): Use any_condjump_p, any_uncondjump_p
544 and pc_set at the place of simplejump_p and condjump_p.
545 * cse.c (record_jump_equiv): Likewise.
546 * emit-rtl.c (emit): Likewise.
547 * explow.c (find_next_ref): Likewise.
548 * flow.c (tidy_fallthru_edge): Likewise.
549 (init_propagate_block_info): Likewise.
550 * gcse.c (delete_null_pointer_checks): Likewise.
551 * ifcvt.c (cond_exec_get_condition, noce_get_condition,
552 dead_or_predicable): Likewise.
553 * integrate.c (copy_insn_list): Likewise.
554 * loop.c (scan_loop, verify_dominator, find_and_verify_loops,
555 for_each_insn_in_loop, check_dbra_loop, get_condition,
556 insert_bct, load_mems): Likewise.
557 * resource.c (find_dead_or_set_registers): Likewise.
558 * sibcalls.c (simplejump_p): Likewise.
559 * unroll.c (copy_loop_body, reg_dead_after_loop): Likewise.
560
561 2000-05-25 David Edelsohn <edelsohn@gnu.org>
562
563 * rs6000.c (expand_block_move): Add 64-bit PowerPC doubleword move
564 to STRING case. Use doubleword STRING move for TARGET_POWERPC64
565 when unaligned.
566 * rs6000.h (CONST_OK_FOR_LETTER_P, 'J'): unsigned HOST_WIDE_INT.
567 (RETURN_ADDR_RTX): Use COUNT and FRAME, not count and frame.
568 (LEGITIMIZE_RELOAD_ADDRESS): unsigned HOST_WIDE_INT high.
569 * rs6000.md: Name various internal patterns.
570
571 2000-05-25 Jan Hubicka <jh@suse.cz>
572
573 * jump.c (invert_exp_1): Remove first argument, use pc_set
574 to get the expression.
575 (redirect_exp): Make static; redirect only the pc_set expression,
576 remove first argument.
577 (invert_exp): Remove first argument, make static.
578 (jump_optimize): Use any_condjump_p, any_uncondjump_p and
579 any_onlyjump at most places where we originaly did condjump_p
580 and simplejump_p.
581 (jump_back_p, follow_jumps, thread_jumps): Likewise.
582 (delete_barrier_succesors): Use pc_set.
583 (invert_jump_1, invert_jump, redirect_jump_1, redirect_jump): Update
584 calls of invert_exp and redirect_exp.
585 * rtl.h (redirect_exp, invert_exp): Remove.
586 * unroll.c (copy_loop_body): Use invert_jump and redirect_jump.
587
588 2000-05-25 Richard Henderson <rth@cygnus.com>
589
590 * stmt.c (expand_end_bindings): Fix thinko last change.
591
592 2000-05-25 Andrew MacLeod <amacleod@cygnus.com>
593 Andrew Haley <aph@cygnus.com>
594
595 * except.c (func_eh_entry): Add emitted field.
596 (new_eh_region_entry): Set emitted field to 0;
597 (output_exception_table_entry): Only emit previously un-emitted data,
598 and send it to the eh_data section.
599 (output_exception_table): Break out common parts. Output
600 exception table for entire compilation unit to eh_data section.
601 (output_exception_table_data): Common parts of output_exception_table.
602 Send output to eh_data section.
603 (output_function_exception_table): Output exception table data for
604 a single function to eh_data section.
605 (free_exception_table): New external to free the table.
606 * except.h (free_exception_table): Add prototype.
607 (output_function_exception_table): Add prototype.
608 * final.c (final_end_function): Output function exception table
609 for IA64_UNWIND_INFO.
610 (final_scan_insn): Emit any unwind directives for an insn.
611
612 * frame-dwarf2.c: New file containing all DWARF 2 specific code
613 from frame.c.
614 * frame.c: Remove all DWARF 2 specific code.
615 * config/ia64/frame-ia64.c: New file.
616 (gthread_stuff): Make all gthread available with
617 IA64_UNWIND_INFO.
618 (dwarf_fde): Define an IA64 struct for dwarf_fde.
619 (__register_frame_info, __register_frame): Move to common area of file.
620 (__register_frame_info_table, __register_frame_table): Move to common i
621 area.
622 (__deregister_frame_info, __deregister_frame): Move to common area.
623 (__frame_init, find_fde): New versions for IA64_UNWIND_INFO.
624 (read_uleb128): New version for ia64.
625 (get_unwind_record): Read the next IA-64 unwind record.
626 (read_R_record): Read a region header record.
627 (process_a_b_reg_code): X record helper.
628 (read_X_record): Read an X format record.
629 (read_B_record): Read a B format record.
630 (P3_record_types): List of record types matching the P3 format.
631 (P7_record_types): List of record types matching the P7 format.
632 (P8_record_types): List of record types matching the P8 format.
633 (read_P_record): Read a P format record.
634 (init_ia64_reg_loc): Set default fields for a register.
635 (init_ia64_unwind_frame): Set defaults for all register records.
636 (execute_one_ia64_descriptor): Execute one descriptor record.
637 (rse_address_add): Calculate the position of a local reg in memory.
638 (normalize_reg_loc): Turn a location descriptor into a memory address.
639 (maybe_normalize_reg_loc): Only normalize a descriptor if it falls
640 within a specified PC offset range.
641 (get_real_reg_value): Given a register location, retrieve its value.
642 (set_real_reg_value): Change the value of a register location.
643 (copy_reg_value): Copy reg values, if needed.
644 (copy_saved_reg_state): Copy all registers that need to be copied.
645 (process_state_between): Normalize all frame register records that
646 fall within the specified PC range.
647 (frame_translate): Take a processed frame description, and turn
648 everything into addresses.
649 (build_ia64_frame_state ): Find and create frame state record for a PC.
650 (get_personality): Get the personality routine for a given frame.
651 (get_except_table): Get the exception table for a given frame.
652 (record_name): Unwind record names for debugging.
653 (print_record): Print and unwind record.
654 (print_all_records): Print an entire unwind image.
655 (__ia64_backtrace): Print a backtrace.
656 (ia64_backtrace_helper): New function.
657 (__register_frame_info_aux): New function.
658 * config/ia64/crtend.asm (__do_frame_setup_aux): New function.
659
660 * frame.h (enum unw_record_type): New unwind record types.
661 (struct unw_p_record, unw_b_record, unw_x_record) : New unwind records.
662 (struct unw_r_record, unwind_record): New unwind record structs.
663 (struct unwind_info_ptr): Unwind information layout.
664 (IA64_UNW_LOC_TYPE_*): Macros for different types for location
665 descriptors.
666 (struct ia64_reg_loc): Register location description.
667 (struct ia64_frame_state): Location of all registers in a frame.
668 (struct object): Add pc_base and fde_end for IA64_UNWIND_INFO.
669 * libgcc2.c (__ia64_personality_v1): Personality routine.
670 (__calc_caller_bsp): Calculate the bsp register for the caller's
671 frame.
672 (ia64_throw_helper): Figure out who to return to and set up the
673 registers.
674 (__throw): Throw routine.
675
676 * output.h (assemble_eh_align, assemble_eh_label): New functions
677 to generate EH info where we want it.
678 (assemble_eh_integer): New function.
679 * toplev.c (compile_file): Output module level exception table for
680 non-ia64 targets.
681 (main): Set exceptions_via_longjump and flag_new_exceptions based
682 on IA64_UNWIND_INFO too.
683
684 * varasm.c (assemble_eh_label): Generate a label via
685 ASM_OUTPUT_EH_LABEL if it has been specified.
686 (assemble_eh_align): Generate an alignment directive via
687 ASM_OUTPUT_EH_ALIGN if it has been specified.
688 (assemble_eh_label): Generate an integer value via
689 ASM_OUTPUT_EH_type if they have been specified.
690 * config/ia64/ia64.c (rtx_needs_barrier): Add flushrs.
691 (ia64_init_builtins): Add __builtin_ia64_bsp
692 and __builtin_ia64_flushrs.
693 (ia64_expand_builtin): Add IA64_BUILTIN_BSP and
694 IA64_BUILTIN_FLUSHRS.
695 * config/ia64/ia64.h (ia64_builtins): Add IA64_BUILTIN_BSP and
696 IA64_BUILTIN_FLUSHRS.
697
698 * config/ia64/ia64.md (flushrs): New insn to flush the register
699 stack. Add to unspec list.
700
701 * config/ia64/crtbegin.asm (frame_object): Change size.
702 (__do_frame_setup_aux): New function.
703 * config/ia64/crtend.asm: call __do_frame_setup_aux.
704 * config/ia64/t-ia64 (LIB2ADDEH): Add.
705 * Makefile.in (LIB2ADDEH): Add.
706 (LIB2ADD): Use LIB2ADDEH.
707
708 2000-05-24 Richard Henderson <rth@cygnus.com>
709
710 * recog.c (offsettable_address_p): If mode size is zero, assume
711 BIGGEST_ALIGNMENT.
712
713 2000-05-24 J. David Anglin <dave@hiauly.hia.nrc.ca>
714
715 * configure.in: Check for -Wno-long-long option support and improve
716 handling of warning CFLAGS for stages 1 and 2.
717 * Makefile.in (WARN_CFLAGS): Move definition to configure.in.
718 * configure: Regenerate.
719
720 Wed May 24 19:37:53 2000 Jeffrey A Law (law@cygnus.com)
721
722 * gcc.texi: Remove contributor list. Instead include contrib.texi.
723 * contrib.texi: New file.
724
725 Thu May 25 02:27:22 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
726
727 * loop.c (basic_induction_var): Avoid double recording of an increment.
728
729 Thu May 25 02:19:27 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
730
731 * Back out this patch:
732 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
733 * loop.h (struct induction): Add multi_insn_incr.
734 * loop.c (basic_induction_var): New multi_insn_incr argument.
735 Set it if we search back through previous insns for the biv.
736 (record_biv): New multi_insn_incr argument; fill in struct induction.
737 (strength_reduce): Discard an iv with multiple bivs, any of
738 which require multiple insns to increment.
739
740 * loop.c (check_insn_for_bivs): Remove bits copied from above patch.
741
742 Thu May 25 02:09:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
743
744 * rtl.h (loc_mentioned_in_p): Declare.
745 * reload.c (loc_mentioned_in_p): Moved from here...
746 * rtlanal.c (loc_mentioned_in_p): to here. No longer static.
747 Fix loop increment for 'E' handling.
748 * loop.c (strength_reduce): When doing biv->giv conversion,
749 take multi-insn biv increments into account.
750
751 2000-05-24 Jason Merrill <jason@casey.soma.redhat.com>
752
753 * stmt.c (expand_end_bindings): Look through NOTEs to find a
754 BARRIER.
755
756 2000-05-24 Mark Mitchell <mark@codesourcery.com>
757
758 * calls.c (expand_call): Handle cleanups in tail-recursion
759 arguments analagously to cleanups in sibling calls.
760
761 2000-05-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
762
763 * simplify-rtx.c: Rename macro SIGN_EXTEND to HWI_SIGN_EXTEND.
764 All callers changed.
765
766 2000-05-24 Alexandre Oliva <aoliva@cygnus.com>
767
768 * expr.c (expand_assignment, store_expr, expand_expr,
769 expand_expr_unaligned): Set in_check_memory_usage while emitting
770 chkr_check_addr libcall.
771
772 2000-05-24 Nick Clifton <nickc@cygnus.com>
773
774 * fold-const.c (extract_muldiv): When constructing a
775 multiplier/divisor, do not expect const_binop to correctly
776 determine if overflow has occured, so check explicitly.
777
778 2000-05-24 Alexandre Oliva <aoliva@cygnus.com>
779
780 * c-decl.c (build_enumerator): Don't modify the value's type,
781 convert it.
782
783 2000-05-24 Andreas Jaeger <aj@suse.de>
784
785 * mips.h (LINKER_ENDIAN_SPEC): Pass -EL to linker by default.
786
787 2000-05-24 Eric Christopher <echristo@cygnus.com>
788
789 * configure.in: Redefine inhibit_libc conditions.
790 * libgcc2.c: Remove inhibit_libc conditional define.
791 * configure: Regenerate.
792
793 2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
794
795 * configure.in: For --enable-languages=LIST, check for empty LIST.
796 * configure: Regenerate.
797
798 2000-05-24 Lars Brinkhoff <lars@nocrew.org>
799
800 * pdp11.h (STACK_BOUNDARY): Define.
801
802 2000-05-24 Jakub Jelinek <jakub@redhat.com>
803
804 * ifcvt.c (if_convert): Update life info globally.
805
806 2000-05-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
807
808 * emit-rtl.c (unshare_all_decls): New function.
809 (unshare_all_rtl): Call it.
810
811 2000-05-23 Nick Clifton <nickc@cygnus.com>
812
813 * configure.in: Treat 'strongarm' as if it were 'arm' when
814 determining cpu type.
815
816 * configure: Regenerate.
817
818 * config/arm/arm.c: Change 'char *' to 'const char *' for cases
819 where constant strings are involved.
820
821 * config/arm/arm.h (arm_condition_codes): Change type to 'const
822 char *'.
823
824 * config/arm/arm-protos.h: Change 'char *' to 'const char *' for
825 cases where constant strings are involved.
826
827 Tue May 23 15:08:31 2000 Clinton Popetz <cpopetz@cygnus.com>
828
829 * config/sh/sh.c (gen_far_branch, split_branches): Update
830 to reflect new prototypes for redirect_jump and invert_jump.
831 (sh_insn_length_adjustment): Get rid of const warnings.
832
833 2000-05-23 Kazu Hirata <kazu@hxi.com>
834
835 * invoke.texi (Options for Debugging Your Program or GCC): Update
836 the names of dump files.
837
838 Tue May 23 13:58:52 2000 Philippe De Muyter <phdm@macqel.be>
839
840 * configure.in (NO_MINUS_C_MINUS_O): Fix thinko in previous fix.
841 * configure: Regenerated.
842
843 2000-05-23 Zack Weinberg <zack@wolery.cumb.org>
844
845 * simplify-rtx.c (SIGN_EXTEND): New macro.
846 (simplify_unary_operation, simplify_binary_operation,
847 simplify_relational_operation): Use SIGN_EXTEND. Make low
848 halves of (low, high) pairs unsigned if they weren't already.
849 (simplify_ternary_operation): Cast INTVAL to unsigned before
850 comparing to a MODE_BITSIZE.
851
852 2000-05-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
853
854 * aclocal.m4 (gcc_AC_CHECK_DECL, gcc_AC_CHECK_DECLS): New macros
855 rewritten from the internals of gcc_AC_NEED_DECLARATION{S}.
856
857 * configure.in (gcc_AC_CHECK_DECLS): Call this instead of
858 gcc_AC_NEED_DECLARATIONS.
859
860 * dwarfout.c: Don't prototype time().
861
862 * gcc.c: Check HAVE_DECL_* instead of NEED_DECLARATION_*.
863
864 * system.h: Likewise.
865
866 * toplev.c: Likewise.
867
868 2000-05-23 Zack Weinberg <zack@wolery.cumb.org>
869
870 * c-decl.c (pushdecl): Invert sense of test for non-global types.
871
872 Tue May 23 18:11:42 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
873
874 * reload1.c (reload_cse_move2add): Honor TRULY_NOOP_TRUNCATION.
875
876 2000-05-23 Jonathan Larmour <jlarmour@redhat.co.uk>
877
878 * config/mips/elf64.h (CTOR_LISTS_DEFINED_EXTERNALLY): Define
879
880 Tue May 23 06:50:29 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
881
882 * config/alpha/alpha.c: Remove #ifdef HAIFA since now only scheduler.
883 (alpha_start_function): Never write ..ng label if VMS or NT.
884 (alpha_align_insns): Remove GP_IN_USE arg.
885 Alignment now unsigned.
886 (alpha_reorg): Don't pass GP_IN_USE arg to alpha_align_insns.
887 * config/alpha/alpha.md (prologue_ldgp): Split into one define_expand
888 and two define_insn's.
889
890 2000-05-22 Richard Henderson <rth@cygnus.com>
891
892 * combine.c (simplify_comparison): Use trunc_int_for_mode.
893
894 2000-05-22 Richard Henderson <rth@cygnus.com>
895
896 * stor-layout.c (place_field): Change rli->size to rli->offset.
897
898 2000-05-22 Richard Henderson <rth@cygnus.com>
899
900 * function.c (thread_prologue_and_epilogue_insns): Make sure
901 existing line number notes appear after the prologue.
902
903 Mon May 22 21:49:00 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
904
905 * config/alpha/alpha.c (alpha_fnname): New static variable.
906 (print_operand, case '~'): New case.
907 (alpha_expand_prologue): Emit prologue_ldgp insn if needed.
908 (alpha_start_function): Set alpha_fnname.
909 Write "ng" label if no ldgp; don't write ldgp insn.
910 * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): New case '~'.
911 * config/alpha/alpha.md (prologue_ldgp): New define_insn.
912
913 Mon May 22 11:30:48 2000 Clinton Popetz <cpopetz@cygnus.com>
914
915 * jump.c (jump_optimize_1): Don't increment LABEL_NUSES
916 on deleted labels.
917
918 2000-05-22 Zack Weinberg <zack@wolery.cumb.org>
919
920 * varasm.c (eh_frame_section): Revert change to argument list.
921
922 Mon May 22 13:14:03 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
923
924 * optabs.c (can_extend_p): Allow unsignedp to have any nonzero value.
925 (gen_extend_insn, can_fix_p, can_float_p): Likewise.
926
927 * final.c (final_scan_insn, case NOTE_INSN_FUNCTION_BEG): Remove
928 dangling "else" that causes "break" to be conditional.
929 Also remove unneeded code at start.
930
931 Mon May 22 17:31:35 2000 Philippe De Muyter <phdm@macqel.be>
932
933 * m68k/m68k.h (STORE_FLAG_VALUE): Macro set to (-1), not -1.
934 * fx80/fx80.h, i370/i370.h, m88k/m88k.h (STORE_FLAG_VALUE): Ditto.
935 * gmicro/gmicro.h, we32k/we32k.h (STORE_FLAG_VALUE): Ditto.
936
937 2000-05-22 Jakub Jelinek <jakub@redhat.com>
938
939 * config/sparc/sparc.md (movdf_insn_v9only_vis): fzero has
940 just one argument.
941
942 Mon May 22 06:57:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
943
944 * alias.c (record_component_aliases): New function.
945 * tree.h: Clean up some declarations and comments.
946 (record_component_aliases): New declaration.
947 * tree.c (get_alias_set): If type and has alias set, use it.
948
949 2000-05-22 Richard Henderson <rth@cygnus.com>
950
951 * simplify-rtx.c (simplify_ternary_operation): Try to simplify
952 IF_THEN_ELSE to a setcc form.
953 * jump.c (can_reverse_comparison_p): Be prepared for insn null.
954
955 2000-05-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
956
957 * fixinc/inclhack.def (sun_malloc): Handle `calloc'.
958 (sun_malloc, sysz_stdtypes_for_sun): Add test_text.
959
960 Sun May 21 16:42:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
961
962 * combine.c (try_combine): Handle i3_subst_into_i2 case when I2 is
963 not a PARALLEL.
964
965 2000-05-20 Alexandre Oliva <aoliva@cygnus.com>
966
967 * config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up.
968 * config/mn10300/mn10300.c (print_operand): Likewise.
969
970 * final.c (split_double): Right shift of negative values is not
971 portable.
972
973 * ifcvt.c (if_convert): Scan and kill dead code.
974
975 * emit-rtl.c (unshare_all_rtl): Store the copied rtx.
976
977 2000-05-20 Zack Weinberg <zack@wolery.cumb.org>
978
979 * diagnostic.c: Eliminate implicit int.
980 * except.c, gcc.c: Add static prototypes.
981 * final.c (final_end_function): Mark file arg ATTRIBUTE_UNUSED.
982 * gensupport.c (process_rtx): Use XVEC to initialize vector
983 slot of 'split'.
984
985 * print-rtl.c: If DEBUG_REGISTER_NAMES, define static
986 debug_reg_names instead of static reg_names. If not, define
987 global reg_names.
988 * regclass.c: Don't define global reg_names unless
989 DEBUG_REGISTER_NAMES is defined.
990
991 * reload1.c (order_regs_for_reload): Remove unused variable.
992 * varasm.c: Include output.h after defaults.h. Define
993 eh_frame_section as function of no args, not of unspecified args.
994
995 * gcc.c: Constify argbuf; arguments to store_arg,
996 process_command, main; elements of struct command and struct
997 switchstr; local variables in execute, process_command, main.
998
999 2000-05-20 Bruce Korb <bkorb@gnu.org>
1000
1001 * fixinc/inclhack.def: many applications of c_fix=format + tests
1002 * fixinc/check.diff: regenerated
1003 * fixinc/fixincl.x: regenerated
1004
1005 Sat May 20 09:30:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1006
1007 * alias.c: Clarify some comments.
1008 (record_base_value): REGNO is unsigned.
1009 * rtl.h (record_base_value): Likewise.
1010
1011 * alias.c (aliases_everything_p): Don't special-case QImode here.
1012 * c-common.c (c_get_alias_set): Do it here.
1013 Handle BIT_FIELD_REF by getting alias info for arg.
1014 Use POINTER_TYPE_P.
1015
1016 2000-05-20 Alexandre Oliva <aoliva@cygnus.com>
1017
1018 * mklibgcc.in: Restore rule to create ${dir}.
1019
1020 Sat May 20 08:45:41 2000 H.J. Lu <hjl@gnu.org>
1021
1022 * Makefile.in (libgcc.mk): Depend on xgcc$(exeext) for
1023 GCC_FOR_TARGET used by MULTILIBS.
1024 * mklibgcc.in: Make sure each .o file depends on the
1025 directory it will be in.
1026 Make the multilib directory depends libgcc.
1027
1028 Sat May 20 08:29:28 2000 H.J. Lu <hjl@gnu.org>
1029
1030 * Makefile.in (bootstrap): Unset LANG_LIB2FUNCS for stage 1.
1031
1032 Sat May 20 07:27:35 2000 Alexandre Oliva <aoliva@cygnus.com>
1033
1034 * fold-const.c (make_range): Handle degenerated intervals.
1035 Fixes c-torture/execute/991221-1.c
1036
1037 Fri May 19 18:16:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1038
1039 * cse.c (cse_basic_block): Only call find_reg_note if REG_NOTES not 0.
1040 * reload.c (find_equiv_reg): Likewise.
1041 * alias.c (init_alias_analysis): Likewise.
1042 Only call prologue_epilogue_contains on insns.
1043 * basic-block.h (REG_SET_TO_HARD_REG_SET): Call new function.
1044 * bb-reorder.c (hard-reg-set.h): Include earlier.
1045 * haifa-sched.c (hard-reg-set.h): Likewise.
1046 * ifcvt.c (hard-reg-set.h): Likewise.
1047 * local-alloc.c (hard-reg-set.h): Likewise.
1048 * loop.c (hard-reg-set.h): Likewise.
1049 * predict.c (hard-reg-set.h): Likewise.
1050 * regrename.c (hard-reg-set.h): Likewise.
1051 * flow.c (hard-reg-set.h): Likewise.
1052 (reg_set_to_hard_reg_set): New function.
1053 * bitmap.c (regs.h, basic-block.h): No longer include.
1054 (bitmap.h): Now include.
1055 * conflict.c (hard-reg-set.h): Include.
1056 * profile.c (hard-reg-set.h): Likewise.
1057 * print-rtl.c (hard-reg-set.h): Likewise.
1058 * sbitmap.c (hard-reg-set.h): Likewise.
1059 * toplev.c (hard-reg-set.h): Likewise.
1060 * unroll.c (hard-reg-set.h, basic-block.h): Likewise.
1061 * hard-reg-set.h (reg_names): Now constant.
1062 * regs.h (reg_names): Likewise.
1063 * regclass.c (reg_names): Likewise.
1064 * loop.h (basic-block.h): No longer include.
1065 (bitmap.h): Now include.
1066 * reload1.c (order_regs_for_reload): Avoid loop over reg sets.
1067 * Makefile.in (LOOP_H, sbitmap.o, profile.o): Reflect above changes.
1068 (toplev.o, print-rtl.o, conflict.o, unroll.o, bitmap.o): Likewise.
1069
1070 2000-05-19 Jan Hubicka <jh@suse.cz>
1071 Richard Henderson <rth@cygnus.com>
1072
1073 * basic-block.h (struct edge_def): New field "count".
1074 (struct basic_block_def): Likewise.
1075 * flow.c (entry_exit_blocks): Add count fileds.
1076 (split_edge): Keep count information up-to-date.
1077 (dump_edge_info, dump_flow_info): Dump count fields.
1078
1079 * final.c (count_instrumented_edges): Rename to edge from arc.
1080 (end_final): Update users.
1081 * profile.c: Include expr.h, basic-block.h.
1082 (struct adj_list, ARC_TARGET, ARC_SOURCE, ARC_COUNT): Kill.
1083 (struct bb_info, label_to_bb, label_to_bb_size, bb_graph): Kill.
1084 (ignore_next_note, return_label_execution_count): Kill.
1085 (bbg_file_name, da_file_name): Kill.
1086 (edge_info, bb_info): New structures.
1087 (EDGE_INFO, BB_INFO, GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX): New macros.
1088 (count_instrumented_edges, total_num_edges): Rename to edge from arc.
1089 (total_num_edges_instrumented): Likewise.
1090 (init_arc, expand_spanning_tree): Kill.
1091 (fill_spanning_tree, tablejump_entry_p): Kill.
1092 (instrument_edges): Rewrite from instrument_arcs to use
1093 commit_edge_insertions infrastructure.
1094 (compute_branch_probabilities): Remove arguments; rewrite for
1095 CFG infrastructure; use rtl_dump_file directly.
1096 (branch_prob, find_spanning_tree): Likewise.
1097 (union_groups, find_group): New.
1098 (init_branch_prob): Make bbg_file_name and da_file_name local.
1099 (end_branch_prob): Use rtl_dump_file directly.
1100 (init_edge_profiler): Rename to edge from arc.
1101 (output_arc_profiler): Kill.
1102 (gen_edge_profiler): New.
1103 (output_func_start_profiler): Turn off profiling. Make the
1104 constructor static when we can.
1105 * rtl.h (branch_prob, end_branch_prob): Update prototypes.
1106
1107 * toplev.c (DFI_flow): Remove.
1108 (DFI_cfg, DFI_life): New.
1109 (dump_file): Update accordingly.
1110 (compile_file): Call end_branch_prob if profile_arc_flag too.
1111 (rest_of_compilation): Move flow1 cfg creation to DFI_cfg. Do edge
1112 profiling after the CFG is built. Move flow1 life analysis to
1113 DFI_life. Always estimate remaining probabilities.
1114
1115 2000-05-19 Richard Henderson <rth@cygnus.com>
1116
1117 * ifcvt.c (find_if_case_2): Don't allow THEN to be EXIT.
1118
1119 * flow.c (make_edges): The sibling call edge to exit is abnormal.
1120
1121 2000-05-19 Richard Henderson <rth@cygnus.com>
1122
1123 * jump.c (redirect_jump): Add delete_unused argument. Don't
1124 remove labels and code following when LABEL_NUSES goes to zero.
1125 (invert_jump): Likewise.
1126 (jump_optimize_1): Fix redirect/invert arguments.
1127 (do_cross_jump, thread_jumps): Likewise.
1128 * flow.c (split_edge): Likewise.
1129 * reorg.c (optimize_skip): Likewise.
1130 (reorg_redirect_jump, relax_delay_slots, dbr_schedule): Likewise.
1131 * profile.c (instrument_arcs): Likewise.
1132 * loop.c (find_and_verify_loops): Likewise. Fix indentation.
1133 * rtl.h: Update prototypes.
1134
1135 Fri May 19 12:05:13 2000 Clinton Popetz <cpopetz@cygnus.com>
1136
1137 * ssa.c (convert_from_ssa): Tell life_analysis we need death
1138 notes.
1139 (make_regs_equivalent_over_bad_edges): Only look at abnormal
1140 critical edges.
1141
1142 2000-05-19 Zack Weinberg <zack@wolery.cumb.org>
1143
1144 * cpphash.c (funlike_macroexpand): Make sure not to walk p1
1145 past l1 when deleting whitespace and markers.
1146
1147 * cpplex.c (_cpp_scan_until): Clear AUX field of tokens.
1148 * cpplib.c (do_unassert): Put the list to compare against on
1149 the stack.
1150
1151 2000-05-19 Bruce Korb <bkorb@gnu.org>
1152
1153 * fixinc/README: cleaned up old documentation
1154 * fixinc/check.diff: regenerated & verified on OSR5 on ix86
1155 * fixinc/check.tpl: compute the list of needed directories
1156 emit "#if defined(name)" because of conflict
1157 omit machine name differences from output differences
1158 * fixinc/inclhack.def( m88k_multi_incl ): Use `wrap' function
1159 (machine_name): change test text to use `sed' markers
1160 * fixinc/fixincl.x: regen
1161
1162 Fri May 19 06:49:35 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1163
1164 * config/elfos.h (SELECT_SECTION): Don't access DECL_INITIAL of
1165 a CONSTRUCTOR.
1166
1167 2000-05-18 Chris Demetriou <cgd@sibyte.com>
1168
1169 * gcc.texi (MULTILIB_EXCEPTIONS): Correct example and update
1170 it to match the current practice.
1171
1172 2000-05-18 Mark Mitchell <mark@codesourcery.com>
1173
1174 * Makefile.in (STAGESTUFF): Fix typo in spelling of s-under.
1175
1176 2000-05-18 Richard Henderson <rth@cygnus.com>
1177
1178 * rtlanal.c (insn_dependant_p, insn_dependant_p_1): New.
1179 * rtl.h (insn_dependant_p): Declare it.
1180 * loop.c (strength_reduce): Use it.
1181
1182 2000-05-18 Alexandre Oliva <aoliva@cygnus.com>
1183
1184 * config/mn10300/mn10300.c (expand_prologue, expand_epilogue):
1185 16-bit and 64-bit clean-up.
1186
1187 2000-05-18 Mark Elbrecht <snowball3@bigfoot.com>
1188
1189 * configure.in (*-pc-msdosdjgpp): Set float_format to none.
1190 * configure: Rebuilt.
1191
1192 2000-05-18 Zack Weinberg <zack@wolery.cumb.org>
1193
1194 * genopinit.c: Use $ for escape sequences in optab patterns.
1195 Remove backslashes from optab patterns. Change $A, $B, $C to
1196 expand to (int) whatever instead of just whatever; remove
1197 explicit (int) from all optab patterns.
1198
1199 * gensupport.c (xmalloc, xrealloc, xstrdup): Provide.
1200 * genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c,
1201 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
1202 genrecog.c: Remove private copies of xmalloc, xrealloc, and
1203 xstrdup.
1204
1205 2000-05-18 Richard Henderson <rth@cygnus.com>
1206
1207 * jump.c (jump_optimize_1): Base minimum insn count during
1208 find_cross_jump on BRANCH_COST.
1209
1210 2000-05-18 Jakub Jelinek <jakub@redhat.com>
1211
1212 * print-rtl.c (print_rtx): Only print note line number as string
1213 if between NOTE_INSN_BIAS and NOTE_INSN_MAX.
1214 * final.c (final_scan_insn): Do nothing for note line number 0.
1215
1216 2000-05-18 Jakub Jelinek <jakub@redhat.com>
1217
1218 * gcc-common.c (ggc_mark_rtx_children): Mark NOTE_EXPECTED_VALUE
1219 from NOTE_INSN_EXPECTED_VALUE notes and NOTE_SOURCE_FILE from
1220 NOTE_INSN_DELETED_LABEL.
1221
1222 2000-05-18 Nick Clifton <nickc@cygnus.com>
1223
1224 * config/arm/unknown-elf.h (UNIQUE_SECTION): Place constant,
1225 uninitialised data in .rodata not .bss, and do not interpret an
1226 error in the initialisation value as meaning that the variable
1227 should be placed in the .bss section.
1228
1229 Thu May 18 12:10:18 2000 Philippe De Muyter <phdm@macqel.be>
1230
1231 * configure.in (NO_MINUS_C_MINUS_O): Test `$ac_cv_prog_cc_${ac_cc}_c_o',
1232 not `$ac_cv_prog_cc_cc_c_o'.
1233 * configure: Regenerated.
1234
1235 2000-05-18 Chris Demetriou <cgd@sibyte.com>
1236 Richard Henderson <rth@cygnus.com>
1237
1238 * c-common.h (enum c_tree_index): Add g77 type entries.
1239 (g77_integer_type_node, g77_uinteger_type_node): New.
1240 (g77_longint_type_node, g77_ulongint_type_node): New.
1241 * c-decl.c (init_decl_processing): Initialize them.
1242
1243 2000-05-18 Richard Henderson <rth@cygnus.com>
1244
1245 * config/h8300/h8300.md (subs patterns): Use %G to negate.
1246
1247 * config/h8300/h8300.c (ok_for_bclr): Take a HOST_WIDE_INT.
1248 (small_power_of_two): Likewise; use exact_log2.
1249 (adds_subs_operand, one_insn_adds_subs_operand): Remove.
1250 (output_adds_subs): Remove.
1251 (two_insn_adds_subs_operand): New.
1252 (split_adds_subs): New.
1253 * config/h8300/h8300-protos.h: Update.
1254 * config/h8300/h8300.h (CONST_OK_FOR_J): Cast to uns HOST_WIDE_INT.
1255 (CONST_OK_FOR_L): Match strict adds operands.
1256 (CONST_OK_FOR_N): Match struct subs operands.
1257 * config/h8300/h8300.md (adds_subs insns): Remove.
1258 (addhi patterns): Output adds/subs directly.
1259 (addsi_h8300h): Likewise.
1260 (addhi/addsi splitters): New. Decompose two_insn_adds_subs_operand.
1261
1262 2000-05-18 Zack Weinberg <zack@wolery.cumb.org>
1263
1264 * cppexp.c (parse_assertion): New.
1265 (lex): Call it for CPP_HASH. Remove CPP_ASSERTION case.
1266 (_cpp_parse_expr): Remove case '#'. Don't set
1267 parsing_if_directive.
1268 * cpphash.c (collect_objlike_expansion,
1269 collect_funlike_expansion, collect_params,
1270 _cpp_create_definition): The list no longer has a trailing
1271 VSPACE token.
1272 * cpphash.h (enum node_type): Add T_ASSERTION.
1273 (struct hashnode): Remove aschain, add pred.
1274 (struct predicate): New.
1275 Update prototypes.
1276
1277 * cpplex.c (expand_token_space): Handle both offset and
1278 nonoffset lists.
1279 (init_token_list, _cpp_free_token_list, _cpp_parse_assertion): Delete.
1280 (_cpp_init_toklist, _cpp_clear_toklist, _cpp_free_toklist,
1281 _cpp_slice_toklist, _cpp_squeeze_toklist, _cpp_equiv_tokens,
1282 _cpp_equiv_toklists): New.
1283 (_cpp_scan_line): Rename to _cpp_scan_until; add ability to
1284 stop at any single-character token, not just newline.
1285 (_cpp_lex_token): Remove special cases for #define and #if.
1286 (cpp_get_token): Expect # as a separate token type. Remove
1287 DIRECTIVE case.
1288 (_cpp_get_directive_token): Remove DIRECTIVE case.
1289 (_cpp_lex_line, _cpp_lex_file, _cpp_init_input_buffer): Update.
1290
1291 * cpplib.c (_cpp_check_directive): Set dirno and
1292 SYNTAX_INCLUDE bit of flags, not dir_handler and dir_flags.
1293 (_cpp_handle_directive): Run # <number> through the same logic
1294 as normal directives.
1295 (do_define): Don't set parsing_define_directive. Use
1296 _cpp_scan_until. The list does not have a VSPACE at the end.
1297 (do_if): Save, clear, and restore only_seen_white around
1298 _cpp_parse_expr.
1299 (skip_if_group): s/CPP_DIRECTIVE/CPP_HASH/
1300 (do_assert, do_unassert): Rewrite.
1301
1302 * cpplib.h (TTYPE_TABLE): Remove CPP_ASSERTION.
1303 (LIST_OFFSET): New flag.
1304 (struct cpp_toklist): Replace dir_handler and dir_flags with
1305 dirno and flags.
1306 (struct cpp_reader): Remove parsing_if_directive and
1307 parsing_define_directive.
1308
1309 2000-05-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1310
1311 * fixinc/inclhack.def (broken_cabs): Update fix to handle comments
1312 following the cabs decl which terminate on the following line.
1313 Add the corresponding test_text case.
1314
1315 2000-05-18 Neil Booth <NeilB@earthling.net>
1316
1317 * cppinit.c (cpp_reader_init): Initialise col_adjust and
1318 default tab stop size.
1319 (no_num, OPT_ftabstop): New.
1320 (handle_option): Handle "ftabstop=" command-line option.
1321 (print_help): Document it.
1322 * cpplex.c (COLUMN): Remove.
1323 (handle_newline): Reset col_adjust.
1324 (skip_whitespace): Update col_adjust as tabs encountered.
1325 (_cpp_lex_line): Update to use col_adjust. Call
1326 skip_whitespace for all whitespace.
1327 * cpplib.h (struct cpp_options): New member tabstop.
1328 (struct cpp_reader): New member col_adjust.
1329 (CPP_BUF_COL): Update.
1330 (CPP_BUF_COLUMN): New.
1331 * cpp.texi: Document "-ftabstop=" command line option.
1332
1333 Wed May 17 18:19:41 2000 Philippe De Muyter <phdm@macqel.be>
1334
1335 * configure.in (NO_MINUS_C_MINUS_O): Macro made availabe for AC_OUTPUT
1336 files.
1337 * configure: Rebuilt.
1338
1339 Wed May 17 18:06:12 2000 John David Anglin <dave@hiauly1.hia.nrc.ca>
1340
1341 * mklibgcc.in Add missing -DL$name when compiling modules in libgcc1.c.
1342
1343 * tree.c (build_common_tree_nodes): Do not build TI nodes unless
1344 HOST_BITS_PER_WIDE_INT is >= 64.
1345
1346 2000-05-17 Richard Henderson <rth@cygnus.com>
1347
1348 * jump.c (jump_optimize_1): Remove inactive but real insns
1349 in jump-to-next-insn optimization.
1350
1351 2000-05-17 Richard Henderson <rth@cygnus.com>
1352
1353 * toplev.c (rest_of_compilation): Don't call optimize_mode_switching
1354 unless OPTIMIZE_MODE_SWITCHING. Conditionally set no_new_pseudos.
1355 Don't call recompute_reg_usage if no_new_pseudos is true.
1356 * lcm.c (optimize_mode_switching): Move ifdefs outside function.
1357 Return true if we did work; update global life information.
1358 * basic-block.h (optimize_mode_switching): Update decl.
1359
1360 2000-05-17 Neil Booth <neilb@earthling.net>
1361
1362 * cpplex.c (expand_name_space): Don't use ptrdiff_t.
1363
1364 2000-05-17 Zack Weinberg <zack@wolery.cumb.org>
1365
1366 * cpplib.c: New feature, #pragma system_header.
1367 * cpp.texi: Document special treatment of system headers, and
1368 the various mechanisms to get a header that special treatment.
1369
1370 2000-05-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1371
1372 * system.h (offsetof): Define at the very end, to ensure we prefer
1373 the platform's definition if available.
1374
1375 2000-05-16 Bruce Korb <bkorb@gnu.org>
1376
1377 * fixinc/fixincl.c: improve the debug displays, ignore SIGPIPE
1378 * fixinc/server.c: likewise
1379 * fixinc/fixfixes.c( char_macro_def_fix ): fix regex
1380 + #ifdef debugging code + use #def constant for
1381 sub-pattern count
1382 * fixinc/inclhack.def( hpux11_fabsf ): Keep HP-UX 11 from stomping
1383 on C++ math namespace
1384
1385 2000-05-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1386
1387 * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
1388 Don't check the return value of sprintf. Use asprintf to avoid
1389 buffer overflows.
1390
1391 Wed May 17 17:27:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
1392
1393 * flags.h (warn_unused_function, warn_unused_label,
1394 warn_unused_parameter, warn_unused_variable, warn_unused_value):
1395 Replace ``warn_unused''.
1396 (set_Wunused): Add declaration.
1397 * toplev.c (set_Wunused): New function.
1398 (warn_unused_function, warn_unused_label, warn_unused_parameter,
1399 warn_unused_variable, warn_unused_value): New variables.
1400 (W_options): Add -Wunused-function, -Wunused-function,
1401 -Wunused-label, -Wunused-parameter, -Wunused-variable and
1402 -Wunused-value. Delete -Wunused. Handled in decode_W_option.
1403
1404 * toplev.c (decode_W_option): Update -Wunused flags by calling
1405 set_Wunused.
1406 * c-decl.c (c_decode_option): Ditto for -Wall.
1407
1408 * stmt.c (expand_expr_stmt, expand_expr_stmt,
1409 warn_about_unused_variables): Replace warn_unused with more
1410 explicit warn_unused_value et.al.
1411 * function.c (expand_function_end): Ditto.
1412 * c-typeck.c (internal_build_compound_expr,
1413 internal_build_compound_expr): Ditto.
1414 * c-decl.c (poplevel, pop_label_level): Ditto.
1415 * toplev.c (check_global_declarations): Replace warn_unused with
1416 check for either warn_unused_function or warn_unused_variable.
1417
1418 * gcc.1, invoke.texi (Warning Options): Document
1419 -Wunused-function, -Wunused-function, -Wunused-label,
1420 -Wunused-parameter, -Wunused-variable and -Wunused-value options.
1421
1422 Wed May 17 10:28:12 2000 Philippe De Muyter <phdm@macqel.be>
1423
1424 * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Find libgcc1.c in
1425 $(srcdir), not in the current directory.
1426
1427 2000-05-16 Richard Henderson <rth@cygnus.com>
1428
1429 * config/ia64/crtbegin.asm (__dso_handle): Mark hidden if the
1430 assembler supports it.
1431 (.fini, .init): Use a gp-relative indirect call.
1432 (__do_global_dtors_aux): Preserve the gp; rebundle.
1433 (__do_frame_setup): Likewise.
1434 * config/ia64/crtend.asm (.IA_64.unwind): Don't terminate with -1.
1435 (.init): Use a gp-relative indirect call.
1436 (__do_global_ctors_aux): Preserve the gp.
1437
1438 2000-05-16 Richard Henderson <rth@cygnus.com>
1439
1440 * flow.c (commit_one_edge_insertion): Be prepared for a return
1441 insn to be inserted on the edge with a normal jump.
1442 * jump.c (jump_optimize_1): Don't look to create return isns.
1443
1444 * flow.c (flow_delete_insn): Don't adjust reference count of notes.
1445 * jump.c (jump_optimize_1): Likewise.
1446 (returnjump_p): Verify the argument is a JUMP_INSN.
1447 * rtl.def (NOTE): Add 5th element for NOTE_INSN_DELETED_LABEL.
1448
1449 2000-05-16 Nick Clifton <nickc@cygnus.com>
1450
1451 * config/m32r/m32r.c (small_insn_p): Use INSN_P() to replace
1452 GET_RTX_CLASS (GET_CODE ()) == 'i'.
1453 (large_insn_p): Ditto.
1454 (m32r_is_insn): New function: Return true if the insn contains
1455 an executable instruction.
1456 (m32r_adjust_insn): Use m32r_is_insn.
1457 (m32r_sched_reorder): Use m32r_is_insn.
1458 (m32r_sched_variable_issue): Use m32r_is_insn.
1459
1460 2000-05-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1461
1462 * rs6000/rs6000.c (rs6000_select_section): Treat CONSTRUCTOR like
1463 VAR_DECL.
1464
1465 * rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Delete unused variable.
1466
1467 * rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux
1468 according to given options.
1469
1470 Tue May 16 12:17:31 2000 Jeffrey A Law (law@cygnus.com)
1471
1472 * mn10200.h (PREFERRED_RELOAD_CLASS): Do not prefer DATA_REGS
1473 if X has VOIDmode either.
1474 (LIMIT_RELOAD_CLASS): Similarly.
1475
1476 * mn10200.md (indirect_jump, tablejump): Use "register_operand",
1477 not "general_operand" to match the processor's capabilities.
1478
1479 2000-05-16 Bruce Korb <bkorb@gnu.org>
1480
1481 * fixinc/README: corrected return address
1482 * fixinc/check.diff: regenerate, now that test works
1483 * fixinc/fixfixes.c(format_fix,format_write): reformatted
1484 (char_macro_def_fix,char_macro_use_fix): corrected and
1485 rewrote to use regex to parse the text
1486 * fixinc/inclhack.def: more testing
1487 * fixinc/fixincl.x: regenerated
1488
1489 * fixinc/inclhack.def: added several "test_text" attributes
1490 changed several fixes to use `c_fix = format'
1491 re-alphabetized the fixes
1492
1493 * fixinc/check.diff: regenerate
1494 * fixinc/fixincl.x: regenerate
1495 * fixinc/check.tpl: added `sparc' and `netinet' to the list
1496 of created dirs
1497
1498
1499 2000-05-16 Alexandre Oliva <aoliva@cygnus.com>
1500
1501 * config/mn10300/mn10300.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Remove.
1502
1503 2000-05-15 Richard Henderson <rth@cygnus.com>
1504
1505 * toplev.c (rest_of_compilation): Run full jump pass before
1506 find_basic_blocks of flow2.
1507
1508 2000-05-15 Richard Henderson <rth@cygnus.com>
1509
1510 * jump.c: Fix typos and clarify commentary from last change.
1511 (any_condjump_p): Verify SET_SRC is an IF_THEN_ELSE.
1512 (safe_to_remove_jump_p): Remove.
1513 (condjump_label): Use pc_set.
1514
1515 2000-05-15 Richard Henderson <rth@cygnus.com>
1516
1517 * ifcvt.c (cond_exec_process_insns): Drop USE and CLOBBER insns
1518 that get in the way after reload.
1519 (cond_exec_process_if_block): Skip a label heading THEN block.
1520
1521 2000-05-15 Richard Henderson <rth@cygnus.com>
1522
1523 * varasm.c (output_constant_pool): Abort instead of converting
1524 (improperly) deleted labels to zero.
1525
1526 2000-05-16 Neil Booth <NeilB@earthling.net>
1527
1528 * cpplex.c (parse_string2): Update comment.
1529 (cpp_lex_line): No special assertion treatment for '('.
1530 * cpplib.c (DIRECTIVE_TABLE): Remove SYNTAX_ASSERT.
1531 * cpplib.h (SYNTAX_ASSERT): Remove.
1532
1533 Mon May 15 21:45:36 MET DST 2000 Jan Hubicka <jh@suse.cz>
1534
1535 * jump.c (condjump_p): Mark as depreached.
1536 (any_condump_p): New.
1537 (any_uncondump_p): New.
1538 (pc_set): New.
1539 (safe_to_remove_jump_p): New.
1540 * rtl.h (any_condump_p, any_uncondjump_p, pc_set
1541 safe_to_remove_jump_p): Declare.
1542
1543 Mon May 15 21:07:20 MET DST 2000 Jan Hubicka <jh@suse.cz>
1544
1545 * calls.c: Re-install both patches reverted by last patch.
1546 (struct arg_data): New field tail_call_reg.
1547 (initialize_argument_information): Initialize tail_call_reg
1548 (load_register_parameters): New argument flags, use
1549 tail_call_reg when emiting tail call sequence.
1550 (expand_call): Update call of load_register_parameters;
1551 copy unadjusted_args_size to adjusted_args_size.
1552
1553 Mon May 15 19:01:42 MET DST 2000 Jan Hubicka <jh@suse.cz>
1554
1555 * loop.c (scan_loop, strength_reduce, loop_optimize): Change unroll_p
1556 and bct_p parameters to flags.
1557 * loop.h (LOOP_UNROLL, LOOP_BCT): New constants.
1558 * rtl.h (loop_optimize): Update prototype.
1559 * toplev.c (rest_of_compilation): Update call of loop_optimize.
1560
1561 2000-05-15 Jakub Jelinek <jakub@redhat.com>
1562
1563 * calls.c (expand_call): Move expand_start_target_temps call after
1564 start_sequence().
1565
1566 2000-05-15 Neil Booth <NeilB@earthling.net>
1567
1568 * cpphash.c (trad_stringify, warn_trad_stringify,
1569 collect_params): Make some pointers pointers to const.
1570 * cpplex.c (auto_expand_name_space) Guaranteed to always
1571 expand by at least one character.
1572 (SPELL_CHAR, SPELL_NONE): Temporarily reverse order.
1573 (struct token_spelling): Use const U_CHAR * rather than PTR.
1574 (expand_name_space): Fix up token pointers if name space
1575 is moved when expanding.
1576 (INIT_NAME, cpp_scan_line, parse_name, parse_number,
1577 parse_string2, save_comment, spell_token, cpp_output_list):
1578 Update so the routines handle tokens with a direct pointer to
1579 their text, rather than an offset into the token's list's namebuf.
1580 (_cpp_lex_line): Rearrange for clarity.
1581
1582 * cpplib.c (_cpp_check_directive): Similarly.
1583 (do_define): Make SYM a pointer to const.
1584 * cpplib.h (struct cpp_name): Replace offset with direct pointer.
1585 (CPP_INT, CPP_FLOAT): Spelling type should be SPELL_IDENT.
1586 (TOK_OFFSET): Delete.
1587 (TOK_NAME): Update.
1588
1589 2000-05-14 Geoffrey Keating <geoffk@cygnus.com>
1590
1591 * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Correct for
1592 64-bit ABI.
1593
1594 * config/rs6000/rs6000.c (logical_operand): Rewrite to take MODE
1595 into account.
1596 (logical_u_operand): Delete.
1597 (non_logical_cint_operand): Rewrite to take MODE into account.
1598 (non_logical_u_cint_operand): Delete.
1599 (boolean_operator): New function.
1600 (print_operand): Add new %q operand.
1601 * config/rs6000/rs6000.h (PREDICATE_CODES): Add boolean_operator,
1602 remove logical_u_operand and non_logical_u_cint_operand,
1603 update logical_operand and non_logical_cint_operand.
1604 * config/rs6000/rs6000.md: Rewrite the patterns for performing
1605 logical operations to use %q.
1606
1607 * config/rs6000/rs6000.md (movsi): Don't modify RTL in-place.
1608 (movdi): Make similar to movsi.
1609 * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): There
1610 is no such thing as a DImode CONST_DOUBLE.
1611 * config/rs6000/rs6000.c (output_toc): Likewise.
1612
1613 * config/rs6000/rs6000.c (output_cbranch): Don't output prediction
1614 codes when old mnemonics are in use. Print register names
1615 for cc registers when requested.
1616
1617 * optabs.c (expand_float): Don't allow mode widening that causes
1618 double rounding.
1619
1620 * invoke.texi (RS/6000 and PowerPC Options): Update -m64/-m32
1621 flags to their current names -maix64 and -maix32.
1622
1623 2000-05-14 Bruce Korb <bkorb@gnu.org>
1624
1625 * fixinc/fixfixes.c(wrap_fix): new fix - inserts text before
1626 and/or after current text of file
1627 * fixinc/fixlib.c(must_malloc):
1628 * fixinc/fixlib.h(must_malloc): + reformatting
1629 * fixinc/inclhack.def: replace the "1i" and "$a" sed commands
1630 with usages of ``c_fix = wrap;''
1631 Add several tests and use the ``c_fix = format'' fixer more.
1632 * fixinc/fixincl.x: regen
1633 * fixinc/check.diff: regen
1634 * fixinc/check.tpl: emit the associated header with the missing
1635 test message
1636
1637 Sun May 14 17:58:59 2000 Hans-Peter Nilsson <hp@axis.com>
1638
1639 * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Do not use unset
1640 variables $src and $dst.
1641
1642 2000-05-13 Gabriel Dos Reis <gdr@codesourcery.com>
1643
1644 * diagnostic.h (DIAGNOSTICS_SHOW_PREFIX_ONCE): New macro.
1645 (DIAGNOSTICS_SHOW_PREFIX_NEVER): Likewise.
1646 (DIAGNOSTICS_SHOW_PREFIX_EVERY_LINE): Likewise.
1647 (struct output_buffer: emitted_prefix_p, prefixing_rule): New
1648 fields.
1649 (set_message_prefixing_rule): Declare.
1650
1651 * diagnostic.c: (current_prefixing_rule): New variable.
1652 (set_message_prefixing_rule): Define.
1653 (output_set_prefix): Adjust buffer->emitted_prefix_p.
1654 (init_output_buffer): Adjust Initialization.
1655 (output_emit_prefix): Rewrite. Take prefixing rules into account.
1656
1657 Sat May 13 11:05:47 2000 Philippe De Muyter <phdm@macqel.be>
1658
1659 * ifcvt.c (if_convert): Do not free NULL.
1660
1661 2000-05-12 Nick Clifton <nickc@cygnus.com>
1662
1663 * config/fr30/fr30.c (fr30_move_double): New function: Emit code
1664 to move a double word value.
1665 (di_operand): New function: Return true if the operand is suitbale
1666 for a double word move operation.
1667 (nonimmediate_di_operand): New function: Return true if the
1668 operand is a DImode register or MEM.
1669
1670 * config/fr30/fr30.h (PREDICATE_CODES): Add di_operand and
1671 nonimmediate_di_operand.
1672
1673 * config/fr30/fr30-protos.h Add fr30_move_double, di_operand, and
1674 nonimmediate_di_operand.
1675
1676 * config/fr30/fr30.md (movdi): New pattern. Required because
1677 other patterns generate DImode results.
1678 (movdi_insn): New pattern.
1679
1680 2000-05-12 Richard Henderson <rth@cygnus.com>
1681
1682 * config/alpha/alpha.c (struct shadow_summary): Define
1683 bitfields as type unsigned int.
1684
1685 Sat May 13 00:09:59 2000 Denis Chertykov <denisc@overta.ru>
1686
1687 * config/avr/t-avr: Added definition of FLOAT while generates
1688 fp-bit.c
1689
1690 * config/avr/avr.md: `NEXT_INSN (insn)' substituted to `insn' in
1691 peepholes for tst+jump = sbrs/sbrc optimization.
1692
1693 Fry May 12 20:03:00 CEST 2000 Jan Hubicka <jh@suse.cz>
1694
1695 * expr.c (emit_push_insn): Do not adjust stack pointer when
1696 preallocating.
1697
1698 Fri May 12 19:03:58 2000 Philippe De Muyter <phdm@macqel.be>
1699
1700 * ggc-simple.c (offsetof): Macro fallback definition moved from here ..
1701 * system.h (offsetof): ... to here.
1702
1703 2000-05-12 Richard Henderson <rth@cygnus.com>
1704
1705 * Makefile.in (final.o): Depend on BASIC_BLOCK_H.
1706 * final.c (final_end_function): Use app_disable. Rearrange note
1707 handling into a switch. Emit deleted labels.
1708 (output_asm_label): Generate label strings for deleted labels.
1709 * flow.c (tail_recursion_label_list): New.
1710 (find_basic_blocks_1): Set label_value_list directly. Collect list
1711 of tail recursion labels from call_placeholders. Don't add deleted
1712 labels to the label value list.
1713 (cleanup_cfg): Use free_EXPR_LIST_list.
1714 (flow_delete_insn_chain): Turn non-removable labels into notes.
1715 (flow_delete_block): Don't disable deleting the block because of
1716 a non-removable label.
1717 (tail_recursion_label_p): New.
1718 (merge_blocks_move_predecessor_nojumps): Don't disable the merge
1719 because of a label.
1720 (merge_blocks_move_successor_nojumps): Likewise. Also move a
1721 jump table.
1722 (merge_blocks): Disable a merge because of tail recursion labels.
1723 * ifcvt.c (merge_if_block): Don't disable a merge because of a label.
1724 Use a more accurate measure of not merging the join block.
1725 (find_if_block): Don't disable conversion because of a label.
1726 (find_if_case_1, find_if_case_2): Likewise.
1727 * jump.c (duplicate_loop_exit_test): Preserve the kind of list
1728 element when copying.
1729 (squeeze_notes): Also leave EH notes.
1730 (mark_jump_label): Ignore deleted labels. Use an INSN_LIST for
1731 REG_LABEL notes.
1732 (delete_insn): Preserve LABEL_NAME in NOTE_SOURCE_FILE when
1733 deleting a label.
1734 * print-rtl.c (print_rtx): Print NOTE_SOURCE_FILE for
1735 NOTE_INSN_DELETED_LABEL. Print `[# deleted]' for a label_ref
1736 referring to a deleted label. Convert tail handling to a switch.
1737 * rtl.def (CODE_LABEL): Rearrange elements to be compatible with NOTE
1738 for NOTE_INSN_DELETED_LABEL.
1739 (NOTE): Fix commentary.
1740 * rtl.h (REG_LABEL): Update commentary wrt INSN_LIST.
1741 (REG_CC_SETTER, REG_CC_USER, REG_LIBCALL): Likewise.
1742 (CODE_LABEL_NUMBER, LABEL_NAME): Update index.
1743 (LABEL_NUSES, LABEL_REFS): Likewise.
1744 * unroll.c (copy_loop_body): Don't copy NOTE_INSN_DELETED_LABEL.
1745
1746 2000-05-12 Bruce Korb <bkorb@gnu.org>
1747
1748 * fixinc/fixfixes.c(format_write): buglet & relaxed rules
1749 * fixinc/check.diff: updated
1750 * fixinc/inclhack.def: corrected & added some test_text-s
1751 * fixinc/genfixes: removed unneeded options to autogen invocation
1752 * fixinc/fixincl.tpl: Specified the output file
1753 * fixinc/fixfixes.c: visual appearance
1754 * fixinc/fixincl.x: regenerate
1755
1756 2000-05-12 Zack Weinberg <zack@wolery.cumb.org>
1757
1758 * fixinc/fixfixes.c (IO_use_fix, IO_defn_fix, CTRL_use_fix,
1759 CTRL_defn_fix): Delete.
1760 (fix_char_macro_defines, fix_char_macro_uses): Rename to
1761 char_macro_def_fix and char_macro_use_fix, respectively. Put
1762 them into the FIXUP_TABLE. Get the string to search for from
1763 a c_fix_arg.
1764
1765 (format_write): New function.
1766 (format_fix): Use it.
1767
1768 (FIX_PROC_HEAD): Constify text parameter.
1769 (machine_name_fix): Constify all char *s.
1770 * fixtests.c (skip_quote): Remove double static.
1771
1772 * inclhack.def (io_def_quotes, io_use_quotes, ctrl_def_quotes,
1773 ctrl_use_quotes): Update for new scheme.
1774 * fixincl.x: Regenerate.
1775
1776 2000-05-12 Alexandre Oliva <aoliva@cygnus.com>
1777
1778 * config/mn10300/mn10300.h (PREFERRED_DEBUGGING_TYPE): Redefine as
1779 DWARF2_DEBUG.
1780 (DWARF2_ASM_LINE_DEBUG_INFO): Define.
1781 (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
1782
1783 2000-05-11 Robert Lipe <robertlipe@usa.net>
1784
1785 * fixinc/inclhack.def (hpux8_bogus_inlines): Delete bypass for SCO.
1786 * fixincl.x: Regenerate.
1787
1788 2000-05-11 Richard Henderson <rth@cygnus.com>
1789
1790 * calls.c: Revert both 05-09 patches.
1791
1792 2000-05-11 Alexandre Oliva <aoliva@cygnus.com>
1793
1794 * config/mn10300/mn10300.c (print_operand): Print FP constants in
1795 hexadecimal.
1796 * config/mn10300/mn10300.md (movsf, movdf): Use the `F' constraint
1797 for FP values.
1798
1799 * mklibgcc.in (EQ): Define it to an equal sign in the Makefile,
1800 and replace any occurrences of `=' in multilib dirs with `$(EQ)'.
1801
1802 2000-05-11 Jason Merrill <jason@casey.cygnus.com>
1803
1804 * fixinc/fixincl.c (run_compiles): Don't crash on null pz_machine.
1805
1806 2000-05-11 Zack Weinberg <zack@wolery.cumb.org>
1807
1808 * fixinc/fixfixes.c, fixinc/fixtests.c: Update commentary.
1809
1810 Thu May 11 22:28:05 2000 Denis Chertykov <denisc@overta.ru>
1811
1812 * config/avr/avr-protos.c (jump_over_one_insn_p): New declaration.
1813 * config/avr/avr.c (jump_over_one_insn_p): New function.
1814 * config/avr/avr.md: New peepholes added. Output test and
1815 conditional jump to "sbrc" or "sbrs" command.
1816
1817 2000-05-11 Mark Elbrecht <snowball3@bigfoot.com>
1818
1819 * cppmain.c (main): Use IS_DIR_SEPARATOR.
1820
1821 2000-05-11 Jakub Jelinek <jakub@redhat.com>
1822
1823 * except.c (find_exception_handler_labels_1): New function.
1824 (find_exception_handler_labels): Split into two functions, dive
1825 into CALL_PLACEHOLDERs when looking for exception handler labels.
1826
1827 2000-05-11 Stan Cox <scox@cygnus.com>
1828
1829 * regrename.c (replace_reg_in_block): Improve REG_DEAD handling.
1830 * timevar.def (TV_RENAME_REGISTERS): Move before TV_SCHED2.
1831 * toplev.c (rest_of_compilation): Call regrename_optimize before sched2.
1832
1833 2000-05-11 Bruce Korb <bkorb@gnu.org>
1834
1835 * fixinc/fixfixes.c (double_slash_fix): obsolete
1836 (else_endif_label_fix): obsolete
1837 (format_fix): new, unused as yet
1838 (main): obsolete
1839 * fixinc/fixlib.h: added fix description struct for use by format_fix
1840 * fixinc/fixincl.c: removed the struct & test for SIGIOT befure using
1841 * fixinc/Makefile.in: compile fixfixes.c and fixtests.c as separate
1842 modules. Removed the vestiges of the script version.
1843 Added support for "make check".
1844 * fixinc/check.diff: base diff file (needs work!!)
1845 * fixinc/check.tpl: quiet the fixup output
1846 * fixinc/fixtests.c (main): obsolete
1847 * fixinc/fixincl.sh: don't bother copying fixincl to ..
1848 * fixinc/fixincl.tpl: provide for arguments to c_fix routines
1849
1850 Thu May 11 11:57:02 MET DST 2000 Jan Hubicka <jh@suse.cz>
1851
1852 * toplev.c (rest_of_compilation): Remove dead code after
1853 combine.
1854
1855 2000-05-11 Zack Weinberg <zack@wolery.cumb.org>
1856
1857 * cpphash.c (collect_funlike_expansion): Make "# is not
1858 followed by a macro argument name" a pedwarn, not an error.
1859 Preserve the # in the output. Suppress the warning if lang_asm.
1860
1861 Thu May 11 01:19:31 2000 Jeffrey A Law (law@cygnus.com)
1862
1863 * configure.in (hppa*64*-*-hpux11*): New target for PA64 support.
1864 * configure: Rebuilt.
1865
1866 2000-05-10 Laurynas Biveinis <lauras@softhome.net>
1867
1868 * i386/xm-djgpp.h (XREF_FILE_NAME): Add mising brace.
1869
1870 2000-05-10 Kazu Hirata <kazu@hxi.com>
1871
1872 * combine.c (try_combine): Fix a typo.
1873
1874 Wed May 10 21:31:44 2000 Jim Wilson <wilson@cygnus.com>
1875
1876 * config/ia64/ia64.md (insv): Add comment.
1877
1878 2000-05-10 Richard Henderson <rth@cygnus.com>
1879
1880 * Makefile.in (libgcc.a, stmp-multilib): Depend on FPBIT and DPBIT.
1881 * mklibgcc.in: Rewrite to not use functions. Don't shortcut
1882 dependancies on FPBIT and DPBIT.
1883
1884 2000-05-10 Nick Clifton <nickc@redhat.com>
1885
1886 * flow.c (find_auto_inc): Do not bias REG_N_REFS by loop_depth
1887 when optimising for size.
1888 (mark_used_regs:) Ditto.
1889 (try_pre_increment_1): Ditto.
1890
1891 2000-05-10 Zack Weinberg <zack@wolery.cumb.org>
1892
1893 * cppexp.c (lex): Use %.*s to print non-NUL-terminated string.
1894 Make error message friendlier.
1895
1896 * cpphash.h (struct hashnode): Use struct hack for name
1897 member.
1898 * cpphash.c (struct hashdummy): New.
1899 (eq_HASHNODE): Second argument is a hashdummy, not a HASHNODE.
1900 (make_HASHNODE): No need to set ->name pointer. Correct
1901 setting of p.
1902 (cpp_lookup): Make 'dummy' a struct hashdummy. Tidy up a bit.
1903
1904 2000-05-10 Richard Henderson <rth@cygnus.com>
1905
1906 * flow.c (find_basic_blocks_1): Remove any spare bb_note
1907 after completion.
1908
1909 2000-05-10 Bruce Korb <bkorb@gnu.org>
1910
1911 * fixinc/gnu-regex.c: reg_syntax_t re_syntax_options must be static
1912
1913 2000-05-10 Eric Schweitz <schweitz@nortelnetworks.com>
1914
1915 * dwarfout.c (dwarfout_finish): Call retry_incomplete_types
1916 after we enter .debug.
1917
1918 2000-05-10 Jason Merrill <jason@casey.cygnus.com>
1919
1920 * dwarf2out.c (gen_subprogram_die): Fixup die_parent for the
1921 abstract instance of a nested inline function.
1922
1923 * stor-layout.c (finish_record_layout): finalize_type_size
1924 before laying out the pending_statics.
1925
1926 Wed 10 May 09:36:47 2000 Neil Booth <NeilB@earthling.net>
1927
1928 * cpplex.c (spell_token): New function.
1929 (spell_string, spell_comment, spell_name): fold into
1930 spell_token.
1931 (I, S): Add macros.
1932 (E, H): Remove macros.
1933 (save_comment): Save comment opening characters too.
1934 (_cpp_lex_file): Update to use spell_token. Tidy up comment
1935 handling.
1936 * cpplib.h (I, S): Add macros.
1937 (E, H): Remove macros.
1938 (TTYPE_TABLE): Update entries for new speller.
1939 (SYNTAX_ASSERT): Remove.
1940
1941 Wed 10 May 09:08:30 2000 Neil Booth <NeilB@earthling.net>
1942
1943 * cpplex.c (_cpp_lex_line): Maintain PREV_WHITESPACE flag
1944 when removing escaped newlines. Reverse sense of test for
1945 escaped newline.
1946
1947 2000-05-09 Richard Henderson <rth@cygnus.com>
1948
1949 * flow.c (find_basic_blocks_1): Do not delete the first
1950 bb_note we run across.
1951 (create_basic_block): Use reorder_insns to move an existing
1952 bb_note to the correct place.
1953
1954 2000-05-09 Richard Henderson <rth@cygnus.com>
1955
1956 * calls.c (expand_call): Increment currently_expanding_call
1957 before calling optimize_tail_recursion.
1958
1959 Tue May 9 18:54:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1960
1961 * reload1.c (reload_combine): Fix errors in last change.
1962
1963 2000-05-09 Zack Weinberg <zack@wolery.cumb.org>
1964
1965 * gcc.c (used_arg): Skip over a semicolon at the end of the
1966 split-up loop; don't break out of it.
1967
1968 * Makefile.in (WARN_CFLAGS): Add -Wwrite-strings.
1969 (tree.o): Depend on output.h.
1970
1971 * c-decl.c (pending_invalid_xref_file,
1972 current_function_prototype_file): Constify.
1973 (pushdecl): Constify a local char *.
1974 (define_label): Constify filename parameter.
1975 * c-lex.c (init_parse): Constify parameter and return value.
1976 * c-typeck.c (c_expand_asm_operands): Constify filename parameter.
1977 * c-tree.h: Update prototypes.
1978 * c-parse.in: Constify filename member of %union, and if_stmt_file.
1979 * c-parse.y, c-parse.c, c-parse.h, objc/objc-parse.y,
1980 objc/objc-parse.c: Regenerate.
1981
1982 * dwarfout.c (dwarfout_init): Constify main_input_filename parameter.
1983 * dwarfout.h: Update prototypes.
1984 * expr.c (expand_expr): Constify a local char *.
1985 * flags.h: Constify main_input_filename.
1986 * function.c (expand_function_end): Constify filename parameter.
1987 * genrecog.c (make_insn_sequence): Use a character array for
1988 c_test_pos.
1989 (main): Remove unused variables.
1990 * input.h: Constify input_filename, main_input_filename, and
1991 file_stack.name. Update prototypes.
1992 * output.h: Declare first_global_object_name and
1993 weak_global_object_name here, as const char *.
1994 * stmt.c (expand_asm_operands): Constify filename parameter.
1995 * toplev.c (compile_file, push_srcloc, debug_start_source_file):
1996 Constify filename parameter.
1997 (input_filename, main_input_filename): Constify.
1998 * toplev.h: Update prototypes.
1999 * tree.c: Include output.h. Don't declare
2000 first_global_object_name or weak_global_object_name. Clean up string
2001 bashing in get_file_function_name_long.
2002 * tree.h (struct tree_decl): Constify filename member.
2003 (input_filename): Constify.
2004 Update prototypes.
2005 * varasm.c (first_global_object_name, weak_global_object_name):
2006 Constify.
2007 (assemble_start_function, assemble_variable): Clean up string bashing.
2008
2009 * gcc.c: Constify all spec-related strings initialized,
2010 transitively, from string constants. Constify all strings
2011 and string variables related to multilibs.
2012 (set_spec, read_specs): Cast argument to free to PTR.
2013 (used_arg): Do not modify multilib_matches. Use strncmp plus
2014 length comparison to compare multilib switches.
2015 * genmultilib: Constify everything declared in multilib.h.
2016
2017 Tue May 9 22:28:03 2000 Denis Chertykov <denisc@overta.ru>
2018
2019 * flow.c (flow_delete_insn): Use INSN_DELETED_P for marking insn
2020 as deleted.
2021
2022 Tue May 9 20:52:43 2000 Denis Chertykov <denisc@overta.ru>
2023
2024 * config/avr/avr-protos.h (extra_constraint): change a type of
2025 second argument from char to int to avoid warnings.
2026 (asm_output_byte): Likewise.
2027
2028 * config/avr/avr.c (MAX_LD_OFFSET) New macro.
2029 (initial_elimination_offset): Handle elimination from
2030 FRAME_POINTER_REGNUM to STACK_POINTER_REGNUM.
2031 (legitimate_address_p): Use MAX_LD_OFFSET.
2032 (legitimize_address): Likewise.
2033 (out_movqi_r_mr): Likewise.
2034 (out_movhi_r_mr): Likewise, use `fatal_insn' instead of `fatal'.
2035 (out_movsi_r_mr): Use MAX_LD_OFFSET.
2036 (out_movsi_mr_r): Likewise.
2037 (out_movqi_mr_r): Likewise.
2038 (out_movhi_mr_r): Likewise.
2039 (notice_update_cc): Correct CC for the ashrqi3 with the shift
2040 count as CONST_INT != 6.
2041 (ashlqi3_out): Coding style modifications. Run `fatal_insn' if
2042 shift count is a CONSTANT_P, but not a CONST_INT.
2043 (ashlhi3_out): Coding style modifications.
2044 (ashlsi3_out): Likewise.
2045 (ashrhi3_out): Likewise.
2046 (ashrsi3_out): Likewise.
2047 (lshrhi3_out): Likewise.
2048 (lshrsi3_out): Likewise.
2049 (ashrqi3_out): Generate shift for any known constant count without
2050 scratch register. Run `fatal_insn' if shift count is a CONSTANT_P,
2051 but not a CONST_INT.
2052 (lshrqi3_out): Coding style modifications. Run `fatal_insn' if
2053 shift count is a CONSTANT_P, but not a CONST_INT.
2054 (extra_constraint): change a type of
2055 second argument from char to int to avoid warnings.
2056 (asm_output_byte): Likewise.
2057 (asm_file_end): Output size generated commands count as a hex
2058 number too.
2059
2060 * config/avr/avr.h (RETURN_ADDR_RTX): New macro.
2061
2062 * config/avr/avr.md (addhi3): Fragment commented by &&0 is
2063 removed.
2064 (ashlqi3): Values of "length" attribute changed. Shift count
2065 uses constraints 'n' instead of 'i'.
2066 (ashrqi3): Likewise. Values of "cc" attribute changed. Generate
2067 shifts without clobber register.
2068 (lshrqi3): Shift count uses constraints 'n' instead of 'i'.
2069 (call_insn): Correct test for which_alternative == 1 (was 0).
2070 (call_value_insn): Likewise.
2071
2072 * config/avr/t-avr: Remove definition of FLOAT while generates
2073 fp-bit.c
2074
2075 2000-05-09 Bruce Korb <bkorb@gnu.org>
2076
2077 * fixinc/check.tpl: Template for checking fixes
2078 * fixinc/inclhack.def: Added 'test_text' for many fixes
2079 disable hpux8_bogus_inlines on SCO
2080 * fixinc/fixinc.sco: Oh, yes, we don't need this any more.
2081
2082 Tue May 9 16:30:27 MET DST 2000 Jan Hubicka <jh@suse.cz>
2083
2084 * calls.c (expand_call): Reorganize somewhat in order
2085 to avoid unnecesary recalculation inside loop and make
2086 tail call failure code cleaner.
2087
2088 Tue May 9 06:30:20 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2089
2090 * alias.c (nonlocal_reference_p): Minor reformatting.
2091 * reload.c (find_equiv_reg): Simplify logic for
2092 CALL_INSN_FUNCTION_USAGE since can't have SUBREG or pseudos and
2093 some some reformatting.
2094 * reload1.c (reload_combine): Don't assume everything in
2095 CALL_INSN_FUNCTION_USAGE is a REG and clean up code a bit.
2096
2097 2000-05-08 Richard Henderson <rth@cygnus.com>
2098
2099 * final.c (current_insn_predicate): New.
2100 (final_scan_insn): Set it.
2101 * output.h (current_insn_predicate): Declare.
2102
2103 * ifcvt.c (cond_exec_process_insns): New argument prob_val.
2104 Attach it to call insns.
2105 (cond_exec_process_if_block): Track probability for true and
2106 false branches.
2107 (dead_or_predicable): Likewise.
2108
2109 * predict.c (PROB_NEVER, PROB_VERY_UNLIKELY): New.
2110 (PROB_UNLIKELY, PROB_EVEN, PROB_LIKELY): New.
2111 (PROB_VERY_LIKELY, PROB_ALWAYS): New.
2112 (estimate_probability, expected_value_to_br_prob): Use them.
2113
2114 * config/ia64/ia64-protos.h (ia64_expand_prediction): Declare.
2115 * config/ia64/ia64.c (ia64_print_operand_address): Handle 'j'.
2116 (ia64_expand_prediction): New.
2117 (emit_insn_group_barriers): Don't look at notes. Emit barriers
2118 as needed after calls.
2119 (ia64_epilogue_uses): Mark b0 used.
2120 * config/ia64/ia64.md (beq_true, beq_false): Remove.
2121 (bne_true, bne_false): Remove.
2122 (eq_return, eq_not_return, ne_return, ne_not_return): Remove.
2123 (br_true, br_false): New. Use predicate_operator and
2124 ia64_expand_prediction.
2125 (return_true, return_false): Likewise.
2126 (call_internal): Use ia64_expand_prediction. Don't emit stop bit.
2127 (call_internal1, call_value_internal): Likewise.
2128 (call_value_internal1, call_multiple_values_internal1): Likewise.
2129
2130 * config/ia64/ia64.c (ia64_direct_return): Require frame size zero.
2131
2132 * config/ia64/ia64.md (extendsfdf2): Split only after reload.
2133
2134 2000-05-08 Richard Henderson <rth@cygnus.com>
2135
2136 * rtlanal.c (may_trap_p): Consider old-style and volatile
2137 asms to trap.
2138
2139 Mon May 8 17:16:48 2000 Jim Wilson <wilson@cygnus.com>
2140
2141 * config/ia64/ia64.h (RETURN_ADDR_RTX): Use COUNT not count.
2142
2143 2000-05-08 Richard Henderson <rth@cygnus.com>
2144
2145 * config/ia64/ia64.h (predicate_operator): Declare.
2146
2147 * config/ia64/ia64.md (extendsfdf2): Split the nop case out
2148 of existance.
2149
2150 * gensupport.c (process_rtx): Copy and post-process each member
2151 of the define_insn rtvec individually.
2152
2153 Mon 8 May 22:17:35 2000 Neil Booth <NeilB@earthling.net>
2154
2155 * cpplex.c (spell_token): New function.
2156 (TOKEN_LEN): Add 1 for whitespace.
2157 (_cpp_lex_file): Update to use spell_token.
2158 * cpplib.h (E): Remove.
2159 (TTYPE_TABLE): Update CPP_VSPACE entry.
2160
2161 2000-05-08 Richard Henderson <rth@cygnus.com>
2162
2163 * flow.c (init_propagate_block_info): Watch out for conditional
2164 branch to next instruction, and thus one outgoing edge.
2165
2166 * config/ia64/ia64.c (ia64_encode_section_info): Exit early
2167 for global register variables; don't special case __[CD]TOR_LIST__;
2168 mind ggc_p for string allocation.
2169
2170 2000-05-08 Nick Clifton <nickc@cygnus.com>
2171
2172 * config/i386/i386.h (ELIMINABLE_REGS): Fix comment.
2173
2174 2000-05-08 Bruce Korb <bkorb@gnu.org>
2175
2176 * fixinc/mkfixinc.sh: fixinc.sco is no longer used
2177 i?86-*-msdosdjgpp* no longer uses fixincludes
2178 * fixinc/genfixes: inclhack.sh and fixincl.sh are no longer generated
2179 * fixinc/inclhack.sh: deleted
2180 * fixinc/hackshell.tpl: deleted
2181 * fixinc/inclhack.tpl: deleted
2182 * fixinc/Makefile.in: Remove dependencies on above
2183 * fixinc/fixincl.sh: "DO NOT EDIT" text modified
2184
2185 2000-05-08 Andreas Jaeger <aj@suse.de>
2186
2187 * config/mips/linux.h: Remove undefines which disabled .ctor/.dtor
2188 support.
2189
2190 2000-05-07 Zack Weinberg <zack@wolery.cumb.org>
2191
2192 * Makefile.in (LOOSE_CFLAGS): Add /g modifiers to both sed
2193 substitutions.
2194
2195 Sun 7 May 08:43:53 2000 Neil Booth <NeilB@earthling.net>
2196
2197 * cpplex.c: Move new lexer definitions and prototypes
2198 to top. Conditional include these and the code if
2199 NEW_LEXER is defined. Rename functions whose names
2200 clash if this code included.
2201
2202 Sun May 7 00:54:57 EDT 2000 John Wehle (john@feith.com)
2203
2204 * rtl.def (COND_EXEC): Clarify.
2205
2206 * i386.md (extendsidi2): Clobber (reg:CC 17) in the
2207 same fashion as zero_extendsidi2.
2208
2209 2000-05-06 Richard Henderson <rth@cygnus.com>
2210
2211 * config/ia64/ia64.c (predicate_operator): New.
2212 (ia64_print_operand): Handle 'J'.
2213 (rtx_needs_barrier): Handle COND_EXEC.
2214 * config/ia64/ia64.h (BRANCH_COST): Define.
2215 (PREDICATE_CODES): Update.
2216 * config/ia64/ia64.md: Docuement used unspec values.
2217 (attr predicable): New.
2218 (movxf, movxf_internal): New.
2219 (extendsfdf2): Don't comment out nop.
2220 (floatdidf2): Remove.
2221 (truncxfsf2, truncxfdf2, floatdixf2): New.
2222 (abssi2, absdi2): Put the neg in the "true" slot.
2223 (conditional branch instructions): Mark not predicable.
2224 (cmov*_internal): Use predicate_operator. Split to cond_exec.
2225 (abs*_internal): Likewise.
2226 (alloc, set_bsp): Mark not predicable.
2227 (barrier, insn_group_barrier, flush_cache): Likewise.
2228 (define_cond_exec): New.
2229
2230 2000-05-06 Richard Henderson <rth@cygnus.com>
2231
2232 * c-decl.c: Include "tm_p.h".
2233
2234 * config/ia64/ia64-protos.h: Rearrange decls to reduce ifdef madness.
2235 (fetchadd_operand, ia64_expand_fetch_and_op): Declare.
2236 (ia64_expand_op_and_fetch): Declare.
2237 * config/ia64/ia64.c: Include "toplev.h". Kill trailing whitespace.
2238 (setjmp_operand): Constify variables for XSTR.
2239 (ia64_encode_section_info): Likewise.
2240 (ia64_print_operand): Use %d for exact_log2; cast 32-bit printed
2241 values to int.
2242 (ia64_asm_output_external): Constify name.
2243 (process_set): Use HOST_WIDE_INT_PRINT_DEC for frame size.
2244 (process_for_unwind_directive): Provide switch default.
2245 (ia64_expand_compare_and_swap): Remove unused variables.
2246 (ia64_expand_builtin): Likewise.
2247 * config/ia64/ia64.h (ASM_OUTPUT_BYTE): Mask and cast value to int
2248 for printing.
2249
2250 * config/ia64/ia64.c (sdata_symbolic_operand): Mark unused args.
2251 (symbolic_operand, function_operand, setjmp_operand): Likewise.
2252 (shift_count_operand, shift_32bit_count_operand): Likewise.
2253 (shladd_operand, fetchadd_operand, ia64_function_prologue): Likewise.
2254 (ia64_function_epilogue, ia64_setup_incoming_varargs): Likewise.
2255 (ia64_function_arg_partial_nregs, ia64_function_value): Likewise.
2256 (ia64_print_operand_address, ia64_secondary_reload_class): Likewise.
2257 (ia64_expand_builtin): Likewise.
2258 (call_multiple_values_operation): Make dest_regno unsigned.
2259
2260 2000-05-06 Richard Henderson <rth@cygnus.com>
2261
2262 * rtl.def (DEFINE_COND_EXEC): New.
2263 * md.texi: Document it.
2264
2265 * gensupport.c (input_file): Remove.
2266 (struct queue_elem): Add lineno.
2267 (rtx_ready_queue): Remove.
2268 (errors): New.
2269 (predicable_default): New.
2270 (predicable_true, predicable_false): New.
2271 (define_attr_queue, define_attr_tail): New.
2272 (define_insn_queue, define_insn_tail): New.
2273 (define_cond_exec_queue, define_cond_exec_tail): New.
2274 (other_queue, other_tail): New.
2275 (queue_pattern): New.
2276 (process_rtx): Add patterns to the appropriate queues.
2277 (is_predicable, identify_predicable_attribute): New.
2278 (n_alternatives, collect_insn_data): New.
2279 (alter_predicate_for_insn, alter_test_for_insn): New.
2280 (shift_output_template, alter_output_for_insn): New.
2281 (process_one_cond_exec, process_define_cond_exec): New.
2282 (init_md_reader): Read the entire file. Process define_cond_exec.
2283 (read_md_rtx): Return elements from the queues.
2284
2285 2000-05-06 Richard Henderson <rth@cygnus.com>
2286
2287 * flow.c (mark_set_1): Don't update conditional life info
2288 if the register is not_dead.
2289
2290 2000-05-06 Zack Weinberg <zack@wolery.cumb.org>
2291
2292 * Makefile.in (STAGESTUFF): Add genrtl.c and genrtl.h.
2293 (mostlyclean): Also delete fixincl, fixinc.sh, and
2294 specs.ready, and make clean in the fixinc subdir.
2295
2296 2000-05-06 Richard Henderson <rth@cygnus.com>
2297
2298 * Makefile.in (gensupport.o): Compile for the host.
2299 (host-prefix gensuuprt.o): Remove.
2300 (genflags.o): Depend on gensupport.h and OBSTACK_H.
2301 (genattrtab.o): Likewise.
2302 (gencodes.o): Depend on gensupport.h.
2303 (genemit.o, genopinit.o, genrecog.o, genextract.o): Likewise.
2304 (genpeep.o, genattr.o, genoutput.o): Likewise.
2305
2306 * gensupport.c (obstack, rtl_obstack): New.
2307 (init_md_reader): Initialize rtl_obstack.
2308 * gensupport.h (rtl_obstack): Declare.
2309 (message_with_line): Declare.
2310
2311 * genattr.c: Remove all traces of obstack manipulation.
2312 * gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise.
2313 * genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.
2314
2315 * genattrtab.c (obstack, rtl_obstack): Remove.
2316 (main): Don't init rtl_obstack.
2317 * genflags.c: Likewise.
2318
2319 * genrecog.c (message_with_line): Move ...
2320 * gensupport.c: ... here.
2321
2322 2000-05-06 Richard Henderson <rth@cygnus.com>
2323
2324 * c-typeck.c (build_c_cast): Remove dead code.
2325
2326 2000-05-06 Richard Henderson <rth@cygnus.com>
2327
2328 * flow.c (split_edge): Don't allocate global_live_at_start for
2329 the new block unless the old blocks had them as well.
2330
2331 * flow.c (mark_set_1): Respect not_dead when updating reg_live.
2332
2333 * ifcvt.c (noce_process_if_block): Don't use an insn_b from
2334 test_bb if a or b uses x.
2335
2336 2000-05-06 Zack Weinberg <zack@wolery.cumb.org>
2337
2338 * cpphash.h: Remove conditional #define of __extension__.
2339 * rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2,
2340 RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros
2341 (ENABLE_RTL_CHECKING only).
2342 * tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK,
2343 CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros
2344 (ENABLE_TREE_CHECKING only).
2345 * varray.h: Add __extension__ to VARRAY_CHECK macro
2346 (ENABLE_CHECKING only).
2347
2348 2000-05-06 Richard Earnshaw (reanrsha@arm.com)
2349
2350 Use new tail-calling mechanism on ARM.
2351 * arm.md (sibcall, sibcall_value): New expands.
2352 (sibcall_insn, sibcall_value_insn, sibcall_epilogue): New insns.
2353 (tailcalling peepholes): Delete.
2354 (push_multi): Simplify.
2355 * arm.c (lr_save_eliminated): Delete definition.
2356 (pattern_really_clobbers_lr, function_really_clobbers_lr): Delete.
2357 (output_return_instruction): Remove checks on lr_save_eliminated.
2358 (output_arm_prologue): Remove old tail-calling code.
2359 (arm_output_epilogue): New parameter, really_return. All callers
2360 changed. Handle tail-calling epilogues.
2361 * arm.h (lr_save_eliminated): Delete declaration.
2362 (frame_pointer_needed): Delete declaration.
2363 * arm-protos.h (arm_output_epilogue): Adjust prototype.
2364
2365 * arm.md (is_thumb): Examine symbol thumb_code, not expression
2366 TARGET_ARM.
2367 * arm.c (thumb_code): Define it.
2368 (arm_override_options): Set it.
2369 * arm.h (thumb_code): Declare it.
2370
2371 2000-05-06 Richard Earnshaw (reanrsha@arm.com)
2372
2373 * arm-protos.h (arm_dllexport_name_p, arm_dllimport_name_p): Constify.
2374
2375 2000-05-06 Richard Earnshaw (reanrsha@arm.com)
2376
2377 * arm.c (arm_gen_load_multiple, arm_gen_store_mulitple): Don't add
2378 bogus clobber to insns.
2379 (load_multiple_operation, store_mulitple_operation): Don't check
2380 for it.
2381 * arm.md (ldmsi_postinc, stmsi_postinc): Adjust accordingly.
2382
2383 * arm.md (and_scc, ior_scc): Add missing mode.
2384
2385 * arm.md (call_value_symbol): Remove predicate from op2.
2386
2387 * arm.h (SPECIAL_MODE_PREDICATES): Define.
2388
2389 Sat May 6 06:25:56 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2390
2391 * expr.c (get_subtarget): New function.
2392 (force_operand, expand_expr, do_store_flag): Use it.
2393
2394 * toplev.c (compile_file): Don't take strlen of NAME if null.
2395
2396 2000-05-06 David Edelsohn <edelsohn@gnu.org>
2397
2398 * xcoffout.c (xcoff_current_include_file,
2399 xcoff_current_function_file, xcoff_lastfile): Constify char *.
2400 (xcoffout_source_file, xcoffout_source_line): Make filename 'const
2401 char *'.
2402 (xcoffout_declare_function): Make name 'const char *'.
2403 (xcoffout_end_epilogue): Make fname 'const char *'
2404 * xcoffout.h (xcoff_current_include_file, xcoff_lastfile,
2405 xcoffout_declare_function, xcoffout_source_line): Match above.
2406
2407 * aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -mpowerpc64 without
2408 -maix64 is error.
2409 * rs6000.c (print_operand): Fix lossage typo.
2410 (output_cbranch): Remove "cr" decoration for now.
2411 * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Make alias 'const char *'.
2412
2413 Sat May 6 06:55:32 2000 Denis Chertykov <denisc@overta.ru>
2414
2415 * config/avr/avr.c (out_shift_with_cnt): Bugfix for shift by
2416 constant count.
2417
2418 2000-05-05 Bruce Korb <bkorb@gnu.org>
2419
2420 * fixinc/genfixes: Improve the matching for make target names
2421
2422 2000-05-05 Catherine Moore <clm@cygnus.com>
2423
2424 * c-common.c (decl_attributes): For TYPE_DECLs attach the
2425 attribute to the decl.
2426 * c-decl.c (pushdecl): Propagate the USED attribute to the
2427 type copy.
2428
2429 2000-05-05 Richard Henderson <rth@cygnus.com>
2430
2431 * rtlanal.c (reg_overlap_mentioned_p): Treat parallels in the
2432 same way emit_group_load does.
2433
2434 2000-05-05 Mark Elbrecht <snowball3@bigfoot.com>
2435
2436 * gcc.c (set_input) [HAVE_DOS_STYLE_FILE_SYSTEM]: Skip drive name.
2437
2438 * toplev.c (output_file_directive): Use IS_DIR_SEPARATOR.
2439 (main): Likewise.
2440
2441 2000-05-05 Rodney Brown <RodneyBrown@mynd.com>
2442
2443 * pa.h (FUNCTION_ARG_ADVANCE): Warning removal.
2444
2445 Fri May 5 10:29:21 2000 Marc Espie <espie@cvs.openbsd.org>
2446
2447 * config/openbsd.h (LINK_SPEC): pass correct flags to ld
2448 to support -shared, on platforms with dynamic libraries.
2449
2450 Fri May 5 10:27:06 2000 Philippe De Muyter <phdm@macqel.be>
2451
2452 * system.h (S_ISBLK): Provide fallback definition.
2453
2454 2000-05-05 Geoff Berry <geoffb@bops.com>
2455
2456 * extend.texi (Extended Asm): Document inability to give asm
2457 statements access to condition codes.
2458
2459 2000-05-05 Marek Michalkiewicz <marekm@linux.org.pl>
2460
2461 * varasm.c (asm_emit_uninitialised): Use 0, not NULL
2462 as arg 2 of UNIQUE_SECTION.
2463
2464 Fri May 5 10:11:41 2000 Jeffrey A Law (law@cygnus.com)
2465
2466 * predict.c: Remove May 4 change.
2467 * bb-reorder.c (make_reorder_chain): Do not perform block movement
2468 if we have predicted the branch at 50-50 probability.
2469
2470 2000-05-05 Richard Henderson <rth@cygnus.com>
2471
2472 * flow.c (init_propagate_block_info): Fix merge error
2473 in HAVE_conditional_execution code.
2474
2475 Fri May 5 07:43:50 2000 Denis Chertykov <denisc@overta.ru>
2476
2477 * config/avr/avr.c (out_shift_with_cnt): Genetare a more optimal
2478 shift cycle for unknown shift count. Also generates dec + brpl.
2479 (ashlqi3_out): Don't generate dec + brpl which now generates by
2480 `out_shift_with_cnt'.
2481 (ashlhi3_out): Likewise.
2482 (ashlsi3_out): Likewise.
2483 (ashrqi3_out): Likewise.
2484 (ashrhi3_out): Likewise.
2485 (ashrsi3_out): Likewise.
2486 (lshrqi3_out): Likewise.
2487 (lshrhi3_out): Likewise.
2488 (lshrsi3_out): Likewise.
2489
2490 2000-05-04 Mark Elbrecht <snowball3@bigfoot.com>
2491
2492 * gcc.c (free_split_directories): Correct typo in explanation
2493 of make_relative_prefix.
2494
2495 2000-05-04 Geoff Keating <geoffk@cygnus.com>
2496
2497 * config/rs6000/rs6000.h (PREDICATE_CODES): Add floating-point
2498 comparison codes to branch_comparison_operator.
2499
2500 2000-05-04 Richard Henderson <rth@cygnus.com>
2501
2502 * ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
2503
2504 2000-05-04 Richard Henderson <rth@cygnus.com>
2505
2506 * Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.
2507 (DPBIT_FUNCS): Remove _sf_to_usi.
2508 (stmp-multilib): Pass LIB1ASMSRC to libgcc.mk.
2509
2510 * ifcvt.c (noce_process_if_block): Fail if A or B modified
2511 between condition and jump.
2512
2513 * libgcc2.c (near eh_context_specific): Comment #endif string.
2514 * longlong.h: Don't use strings with embedded newlines.
2515
2516 2000-05-04 Geoff Keating <geoffk@cygnus.com>
2517
2518 * config/rs6000/rs6000-protos.h: Add output_cbranch.
2519 * config/rs6000/rs6000.c (ccr_bit_negated_p): Delete.
2520 (print_operand): Delete %t and %T codes.
2521 (output_cbranch): New function. Support branch prediction.
2522 * config/rs6000/rs6000.md: Use output_cbranch for
2523 conditional branches and returns.
2524
2525 2000-05-04 Jason Merrill <jason@casey.cygnus.com>
2526
2527 * simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
2528 * stor-layout.c (place_field): Likewise.
2529 * integrate.h (struct inline_remap): Make regno_pointer_align unsigned.
2530 * expr.c (store_expr): Make align unsigned.
2531 * explow.c (plus_constant_wide): Make low words unsigned.
2532 * expmed.c (choose_multiplier): Likewise.
2533 * fold-const.c (fold): Likewise.
2534 * tree.h (build_int_2): Likewise.
2535 * tree.c (build_int_2_wide, tree_int_cst_msb): Likewise.
2536 * emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*.
2537 (init_emit): Change cast to unsigned char*.
2538 * varasm.c (compare_constant_1): Add cast to char*.
2539 * gcse.c (delete_null_pointer_checks): Change cast to unsigned int*.
2540 * reload1.c (reload): Likewise.
2541
2542 * rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0).
2543
2544 Thu May 4 14:37:23 2000 Jeffrey A Law (law@cygnus.com)
2545
2546 * predict.c (estimate_probability): If no prediction was found, then
2547 predict the successor that is the next physical block (if such a
2548 successor exists).
2549
2550 2000-05-04 Richard Henderson <rth@cygnus.com>
2551
2552 * config/alpha/t-alpha (LIB2FUNCS_EXTRA): Use qrrnd.asm in place.
2553
2554 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2555
2556 * system.h: Don't wrap <sys/types.h> with HAVE_SYS_TYPES_H.
2557
2558 2000-05-04 Mumit Khan <khan@xraylith.wisc.edu>
2559
2560 * i386/cygwin.h (CPP_PREDEFINES): Don't define __STDC__. Move
2561 attribute macros from here ...
2562 (CPP_SPEC): to here.
2563 * i386/mingw32.h (CPP_PREDEFINES): Likewise.
2564 (CPP_SPEC): Likewise.
2565 * i386/crtdll.h (CPP_PREDEFINES): Delete attribute macros.
2566
2567 * Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.
2568 (libgcc.a): Pass LIB1ASMSRC to libgcc.mk.
2569
2570 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2571
2572 * bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype.
2573
2574 * diagnostic (vbuild_message_string, build_message_string,
2575 build_location_prefix, output_get_prefix, init_output_buffer,
2576 output_notice, vline_wrapper_message_with_location,
2577 v_message_with_decl, default_print_error_function): De-constify.
2578 (set_real_maximum_length): Prototype.
2579
2580 * diagnostic.h (struct output_buffer, init_output_buffer,
2581 output_get_prefix, output_set_prefix): De-constify.
2582
2583 * function.c (init_function_start): Constify.
2584
2585 * gensupport.c (remove_constraints, process_rtx): Prototype.
2586
2587 * gthr-posix.h: Indent uses of #pragma.
2588
2589 * objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table):
2590 Prototype.
2591
2592 * predict.c (find_expected_value): Delete prototype.
2593 (expected_value_to_br_prob): Initialize variable `ev_reg'.
2594
2595 * sbitmap.h (debug_sbitmap): Prototype.
2596
2597 * ssa.c (compute_coalesced_reg_partition): Prototype.
2598
2599 * stor-layout.c (debug_rli): Prototype.
2600
2601 * tree.h (round_down): Prototype.
2602 (init_function_start): Constify.
2603
2604 2000-05-04 Zack Weinberg <zack@wolery.cumb.org>
2605
2606 * cpphash.h: #define __extension__ away if GCC_VERSION < 2095
2607 (overly conservative). Change extern inline wrappers to
2608 static inline, define them always, use PARAMS properly.
2609 * cpplex.c (_cpp_get_directive_token): Don't issue pedantic
2610 whitespace warnings for \f and \v at the beginning of a line.
2611
2612 Thu May 4 10:03:50 2000 Jeffrey A Law (law@cygnus.com)
2613
2614 * haifa-sched.c (schedule_insns): Free the flow edge list when it
2615 is no longer needed
2616
2617 2000-05-04 Bruce Korb <bkorb@gnu.org>
2618
2619 * fixincl/inclhack.def: added broken_cabs -
2620 Remove `extern double cabs' declarations from math.h
2621 * fixincl/inclhack.sh: regen
2622 * fixincl/fixincl.x: regen
2623 * fixincl/fixincl.c: Remove BOGOSITY code
2624 * fixincl/mkfixinc.sh: Remove code for installing "shell" version
2625
2626 Thu May 4 09:45:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2627
2628 * rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and
2629 MEM_ALIAS_SET.
2630 * alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET
2631 when calling MEM_COPY_ATTRIBUTES.
2632 * emit-rtl.c (operand_subword, change_address): Likewise.
2633 * explow.c (stabilize): Likewise.
2634 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
2635 * integrate.c (copy_rtx_and_substitute): Likewise.
2636 * combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P
2637 when calling MEM_COPY_ATTRIBUTES.
2638 (make_extraction, simplify_shift_const, gen_lowpart_for_combine):
2639 Likewise.
2640 * cse.c (gen_lowpart_if_possible): Likewise.
2641 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
2642 * optabs.c (gen_move_insn): Likewise.
2643 * recog.c (validate_replace_rtx_1): Likewise.
2644 * simplify-rtx.c (add_mem_for_addr): Likewise.
2645 * stmt.c (expand_anon_union_decl): Likewise.
2646 * config/arm/arm.md: Likewise.
2647 * config/h8300/h7300.c (fix_bit_operand): Likewise.
2648 * config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise.
2649 (block_move_no_loop, block_move_sequence): Likewise.
2650 * config/rs6000/rs6000.c (expand_block_move_mem): Likewise.
2651 * config/alpha/alpha.c (get_aligned_mem): Likewise.
2652 Clear MEM_ALIAS_SET.
2653 * final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling
2654 MEM_COPY_ATTRIBUTES.
2655
2656 2000-05-03 Robert Lipe <robertlipe@usa.net>
2657
2658 * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
2659 to suppress libgcc1.
2660 (i[34567]86-*-sco3.2v5*) Likewise.
2661 (i[34567]86-*-sco3.2v4*) Likewise.
2662 (i[34567]86-*-sco) Likewise.
2663 (i[34567]86-*-solaris2) Likewise.
2664 (i[34567]86-*-sysv5*) Likewise.
2665 (i[34567]86-*-sysv4*) Likewise.
2666 (i[34567]86-*-udk*) Likewise.
2667 (i[34567]86-*-sysv*) Likewise.
2668
2669 2000-05-03 Zack Weinberg <zack@wolery.cumb.org>
2670
2671 * cpphash.h (U): New define, to correct type of string constants.
2672 (ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper
2673 routines, to do casts when passing unsigned strings to libc.
2674 * cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them.
2675
2676 * cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *.
2677 * cpphash.c (_cpp_quote_string): Make string an U_CHAR *.
2678 * cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *.
2679 * cpplex.c (parse_ifdef, parse_include, validate_else): Make
2680 second argument an U_CHAR *.
2681
2682 * cppinit.c (builtin_array): Make name and value U_CHAR *, add
2683 length field, clean up initializer.
2684 (ISTABLE): Add __extension__ to designated-
2685 initializers version.
2686 * cpplex.c (CHARTAB): Likewise.
2687
2688 * mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS
2689 case so the file won't be empty.
2690
2691 Wed May 3 21:01:46 2000 Jason Eckhardt <jle@cygnus.com>
2692
2693 * bb-reorder.c (struct reorder_block_def): Member succ removed.
2694 (REORDER_BLOCK_SUCC): Removed.
2695 (enum reorder_skip_type): Removed.
2696 (skip_insns_between_block): Renamed to skip_insns_after_block.
2697 Removed second argument. Removed dead code and cleaned up.
2698 (make_reorder_chain): Removed use of REORDER_BLOCK_SUCC.
2699 (reorder_basic_blocks): Remove use of REORDER_SKIP_AFTER. Removed
2700 second parameter to skip_insns_after_block.
2701
2702 Wed May 3 13:29:54 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2703
2704 * tree.c (staticp, case LABEL_DECL): New case.
2705
2706 2000-05-03 Richard Henderson <rth@cygnus.com>
2707
2708 * Makefile.in (start.encap): Do not depend on LIBGCC1.
2709
2710 * mklibgcc1.in: Fix typo last change.
2711
2712 2000-05-03 Jason Merrill <jason@casey.cygnus.com>
2713
2714 * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
2715 (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
2716 (GCC_CFLAGS): Use it.
2717 (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
2718 * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
2719 objc/Make-lang.in: Use it.
2720
2721 2000-05-03 Jason R Thorpe <thorpej@zembu.com>
2722
2723 * config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.
2724
2725 2000-05-03 Richard Henderson <rth@cygnus.com>
2726
2727 * mklibgcc.in: Restrict OLDCC=GCC test to native. Equate
2728 LIBGCC1 empty with libgcc1.null.
2729
2730 Wed May 3 12:55:46 2000 Jim Wilson <wilson@cygnus.com>
2731
2732 * fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness
2733 change.
2734
2735 2000-05-03 Greg McGary <gkm@gnu.org>
2736
2737 * tree.h (tree_common): Add bounded_flag member. Remove
2738 inaccurate comment about number of remaining bits.
2739 (BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P,
2740 BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
2741 MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
2742 TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
2743 TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros.
2744 (TYPE_QUAL_BOUNDED): New constant.
2745 (TYPE_QUALS): Handle bounded qualifier.
2746 (TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros.
2747 (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
2748 TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
2749 TYPE_AMBIENT_BOUNDEDNESS): New macros.
2750 (MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants.
2751 (tree_type): Add pointer_depth member. Remove
2752 inaccurate comment about number of remaining bits.
2753 (DECL_POINTER_DEPTH): Add macro.
2754 (tree_decl): Add pointer_depth member.
2755
2756 Wed May 3 22:52:53 2000 Denis Chertykov <denisc@overta.ru>
2757
2758 * config/avr/avr-protos.h (test_hard_reg_class): Declared.
2759 * config/avr/avr.c (ashrhi3_out): optimized shift by 15.
2760 (lshrhi3_out): Likewise.
2761 (ashrsi3_out): bugfix in shift by 8.
2762 (test_hard_reg_class): New function.
2763 * config/avr/avr.md: Bugfix inside conditions in peepholes.
2764 (ashlhi3): removed define_expand of this pattern.
2765 (*ashlhi3_insn): renamed to ashlhi3.
2766 (ashlsi3): removed define_expand of this pattern.
2767 (*ashlsi3_insn): renamed to ashlsi3.
2768 (ashrqi3): removed define_expand of this pattern.
2769 (*ashrqi3_insn): renamed to ashrqi3.
2770 (ashrhi3): removed define_expand of this pattern.
2771 (*ashrhi3_insn): renamed to ashrhi3.
2772 (ashrsi3): removed define_expand of this pattern.
2773 (*ashrsi3_insn): renamed to ashrsi3.
2774 (lshrhi3): removed define_expand of this pattern.
2775 (*lshrhi3_insn): renamed to lshrhi3.
2776 (lshrsi3): removed define_expand of this pattern.
2777 (*lshrsi3_insn): renamed to lshrsi3.
2778
2779 2000-05-03 Rodney Brown <RodneyBrown@pmsc.com>
2780
2781 * config/mcore/mcore.c: Replacing inclusion of "stdio,h" with
2782 inclusion of "system.h".
2783
2784 Wed May 3 11:43:53 2000 Jim Wilson <wilson@cygnus.com>
2785
2786 * config/ia64/ia64.c (ia64_encode_section_info): Add check for
2787 TREE_ASM_WRITTEN.
2788
2789 2000-05-03 David Mosberger <davidm@hpl.hp.com>
2790
2791 * config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp
2792 if -mauto-pic is on.
2793 (ia64_epilogue_uses): Mark "gp" (r1) as used by the epilogue if
2794 -mconstant-gp is in effect and function-descriptors are being used
2795 to make indirect calls.
2796 * config/ia64/ia64.h (MASK_CONST_GP): New macro.
2797 (MASK_AUTO_PIC): Ditto.
2798 (TARGET_CONST_GP): Ditto.
2799 (TARGET_AUTO_PIC): Ditto.
2800 (TARGET_SWITCHES): Add -mconstant-gp and -mauto-pic options.
2801 (ASM_OUTPUT_DOUBLE_INT): Don't generate @fptr() if -mauto-pic or
2802 -mno-pic is in effect.
2803 (ASM_OUTPUT_XDATA_DOUBLE_INT): Ditto.
2804 * config/ia64/ia64.md (movdi): Use gen_load_gprel64() if
2805 -mauto-pic is in effect.
2806 (gprel64_offset): New pattern.
2807 (load_gprel64): Ditto.
2808 (call): Handle -mauto-pic like -mno-pic (don't use fptr). If
2809 -mconstant-gp is in effect, no need to preserve gp around direct
2810 calls.
2811 (call_value): Ditto.
2812 * config/ia64/linux.h (PROFILE_BEFORE_PROLOGUE): Define.
2813 (FUNCTION_PROFILER): Define.
2814 * config/ia64/sysv4.h (ASM_OUTPUT_CONSTRUCTOR): Don't generate
2815 @fptr() directive when -mno-pic or -mauto-pic is in effect.
2816 (ASM_OUTPUT_DESTRUCTOR): Ditto.
2817
2818 2000-05-03 Richard Henderson <rth@cygnus.com>
2819
2820 * Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
2821 (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets.
2822 (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets.
2823 (mklibgcc, libgcc.mk): New targets.
2824 (libgcc.a): Use libgcc.mk.
2825 (stmp-multilib): Likewise.
2826 (stmp-multilib-sub): Remove.
2827 (mostlyclean): Don't delete libgcc2 temp files.
2828 * configure.in (AC_PROG_CC_C_O): Add.
2829 (NO_MINUS_C_MINUS_O): Substitute it.
2830 (all_outputs): Add mklibgcc.
2831 * mklibgcc.in: New file.
2832
2833 2000-05-03 Jason Merrill <jason@casey.cygnus.com>
2834
2835 * cppexp.c (op_t): Make an int.
2836
2837 * rtlanal.c (dead_or_set_regno_p): Remove unused variable.
2838
2839 * varasm.c (initializer_constant_valid_p): Fix parenthesis.
2840
2841 * gensupport.c (process_rtx): Fix macros used.
2842
2843 2000-05-03 Richard Henderson <rth@cygnus.com>
2844
2845 * flow.c (propagate_one_insn): Also don't PROP_REG_INFO for
2846 call-clobbered registers of a call.
2847
2848 Wed May 3 12:40:53 2000 Clinton Popetz <cpopetz@cygnus.com>
2849
2850 * gensupport.c: New file.
2851 * gensupport.h: New file.
2852 * Makefile.in (HOST_RTL): Depend on gensupport.
2853 (gensupport.o) New rule.
2854 * genattr.c: Use gensupport for reading .md files.
2855 * genattrtab.c: Ditto.
2856 * gencodes.c: Ditto.
2857 * genconfig.c: Ditto.
2858 * genemit.c: Ditto.
2859 * genextract.c: Ditto.
2860 * genflags.c: Ditto.
2861 * genopinit.c: Ditto.
2862 * genoutput.c: Ditto.
2863 * genpeep.c: Ditto.
2864 * genrecog.c: Ditto.
2865 * rtl.def (define_insn_and_split): New DEF_RTL_EXPR.
2866 * md.texi (Insn Splitting): Document define_insn_and_split.
2867
2868 Tue May 2 00:20:30 2000 Jason Eckhardt <jle@cygnus.com>
2869
2870 * flow.c (verify_flow_info): Added two more sanity checks. The
2871 first checks that the blocks are numbered consecutively. The second
2872 checks that n_basic_blocks is actually equal to the number of
2873 basic blocks in the insn chain.
2874
2875 2000-05-03 Zack Weinberg <zack@wolery.cumb.org>
2876
2877 * cpplib.h: Add accessor macros for token lists.
2878 * cpplib.c, cpphash.c, cpplex.c: Use them.
2879
2880 Wed May 3 09:29:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2881
2882 * expr.c (expand_expr, case COMPONENT_REF): Don't check for checking
2883 memory usage if not in a function.
2884 * varasm.c (initializer_constant_valid_p, case ADDR_EXPR): Only
2885 return address if static.
2886
2887 Wed May 3 13:14:49 MET DST 2000 Jan Hubicka <jh@suse.cz>
2888
2889 * ifcvt.c (noce_try_cmove_arith): Use may_trap_p to thest
2890 whether address may trap.
2891
2892 Tue May 2 23:38:37 2000 Jason Eckhardt <jle@cygnus.com>
2893
2894 * bb-reorder (chain_reorder_blocks): Changed code to test for
2895 EDGE_FALLTHRU rather than making erroneous assumption that the
2896 first outgoing edge is the fall-through edge.
2897
2898 Tue May 2 18:20:31 2000 Donald Lindsay <dlindsay@hound.cygnus.com>
2899
2900 * config/mips/mips.c (mips_build_va_list,mips_va_start,mips_va_arg): new
2901 ABI for varargs, across all MIPS. This is incompatible because the
2902 va_list (__builtin_va_list) structure is different, so a compilation
2903 unit passing a va_list and a compilation unit being passed one, should
2904 both be compiled with the same ABI. (The old structure had two
2905 pointers, now it has three.)
2906
2907 Tue May 2 19:18:43 2000 Jason Eckhardt <jle@cygnus.com>
2908
2909 * bb-reorder.c (struct reorder_block_def): Remove members end,
2910 block_begin, and block_end.
2911 (REORDER_BLOCK_OLD_END): Delete.
2912 (REORDER_BLOCK_BEGIN): Delete.
2913 (REORDER_BLOCK_END): Delete.
2914 (chain_reorder_blocks): Remove dead code.
2915
2916 Tue May 2 17:06:53 2000 Jason Eckhardt <jle@cygnus.com>
2917
2918 * bb-reorder.c (remove_scope_notes): Check for both types of scope
2919 notes as the end of a basic block before deleting.
2920
2921 2000-05-02 Mumit Khan <khan@xraylith.wisc.edu>
2922
2923 * final.c (final_start_function): Fix spelling of "necessary".
2924
2925 2000-05-02 Jason Merrill <jason@casey.cygnus.com>
2926
2927 * toplev.c (debug_ignore_block): Return int.
2928 * dwarf2out.c (dwarf2out_ignore_block): Likewise.
2929 * toplev.h, dwarf2out.h: Adjust.
2930 * emit-rtl.c (remove_unnecessary_notes): Test return value.
2931
2932 * emit-rtl.c (remove_unnecessary_notes): Fix spelling of "necessary".
2933 * toplev.c, final.c, rtl.h: Adjust.
2934
2935 2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
2936
2937 * aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
2938 * configure.in: Look for makeinfo in the unified tree, then
2939 for a system makeinfo which is sufficiently new.
2940 * Makefile.in: If configure says makeinfo is too old, don't
2941 build or install Info documentation.
2942
2943 2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
2944
2945 * cpphash.c (collect_params): Fix off-by-one error.
2946 (dump_hash_helper): Dump all four macro nodetypes.
2947
2948 2000-05-02 Jakub Jelinek <jakub@redhat.com>
2949
2950 * cpphash.c (trad_stringify): Adjust p after stringification as
2951 well.
2952
2953 2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
2954
2955 * cpplib.h (CPP_POP, parse_cleanup_t): Delete.
2956 (cpp_buffer): Remove cleanup, seen_eof, manual_pop members.
2957
2958 * cppfiles.c (file_cleanup): Delete.
2959 * cpphash.c (macro_cleanup): Delete.
2960 (collect_objlike_expansion, collect_funlike_expansion,
2961 macarg, scan_arguments): Remove CPP_POP case.
2962
2963 * cpplex.c (null_cleanup): Delete.
2964 (cpp_pop_buffer): Do the work that was done in the cleanups
2965 here. Call _cpp_unwind_if_stack from here.
2966 (_cpp_expand_to_buffer, cpp_scan_buffer_nooutput,
2967 cpp_scan_buffer): Run until we see CPP_EOF and the top of
2968 stack is the buffer _below_ the one we stacked.
2969 (cpp_get_token): Always pop an exhausted buffer. Return
2970 CPP_EOF unless it's a macro buffer. Don't call _cpp_handle_eof.
2971 * cpplib.c (skip_if_group): Don't call cpp_get_token to
2972 increment the line number.
2973 (_cpp_handle_eof): Rename to _cpp_unwind_if_stack.
2974
2975 * fix-header.c (read_scan_file) [parsing getchar()]: Run until
2976 we see CPP_EOF and the top of stack is the buffer _below_ the
2977 one we stacked.
2978 * scan-decls.c: Likewise.
2979
2980 2000-05-02 Andrew Haley <aph@cygnus.com>
2981
2982 * config/ia64/ia64.c (ia64_encode_section_info): Handle the case
2983 where this function is called for the second time on a decl that
2984 has had its section info changed in such a way as to move it out
2985 of small data/bss.
2986 * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition.
2987
2988 2000-05-01 Richard Henderson <rth@cygnus.com>
2989
2990 * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
2991 the sequence we're moving, not to merge_bb->head.
2992
2993 2000-05-01 Richard Henderson <rth@cygnus.com>
2994
2995 * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
2996 reference to alpha/t-linux.
2997 (alpha*-*-linux-gnu*): Likewise.
2998 * configure: Rebuild.
2999
3000 * calls.c (expand_call): Don't emit reg notes for a sibcall.
3001
3002 * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
3003 if not in SSA form.
3004
3005 * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
3006
3007 2000-05-01 Jason Merrill <jason@casey.cygnus.com>
3008
3009 * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
3010 TREE_THIS_VOLATILE.
3011
3012 2000-05-01 Richard Henderson <rth@cygnus.com>
3013
3014 * ifcvt.c (noce_emit_cmove): Conditionally compile call to
3015 emit_conditional_move.
3016
3017 2000-05-01 Jakub Jelinek <jakub@redhat.com>
3018
3019 * config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
3020 as the dynamic linker.
3021
3022 2000-05-01 Zack Weinberg <zack@wolery.cumb.org>
3023
3024 * cppfiles.c (open_include_file): Open file in blocking mode.
3025 (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
3026 Only exclude block devices and directories.
3027
3028 * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
3029 static. Allocate the hashnode and its string in the same
3030 block of memory.
3031 (del_HASHNODE): Don't free h->name.
3032 (_cpp_lookup): If there is no entry for this string, create
3033 one, of type T_VOID.
3034 (_cpp_lookup_slot): Delete.
3035 * cpphash.h: Update prototypes.
3036
3037 * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
3038 not hp == NULL.
3039 * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
3040 do_unassert, cpp_defined): Use _cpp_lookup. Don't create a
3041 node here, just fill in the value field properly. "Delete"
3042 entries by setting the value field to T_VOID. Check for
3043 hp->type == T_VOID, not hp == NULL.
3044
3045 * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
3046 * cpperror.c, cppexp.c, cpplex.c, cpplib.c: Don't include
3047 hashtab.h.
3048
3049 2000-05-01 Alexandre Oliva <aoliva@cygnus.com>
3050
3051 * config/mn10300/mn10300.c (print_operand_address): Do not add
3052 zero to SP.
3053
3054 * config/mn10300/mn10300.c (expand_epilogue): If SP is to be
3055 adjusted by less than 256 bytes, use ret regardless of having any
3056 callee-saved register to restore.
3057
3058 2000-05-01 Laurynas Biveinis <lauras@softhome.net>
3059
3060 * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
3061
3062 2000-05-01 Mark Elbrecht <snowball3@bigfoot.com>
3063
3064 * config/i386/djgpp.h (INT_ASM_OP): Define.
3065 (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
3066 (ASM_WEAKEN_LABEL): Define.
3067 (MASK_BNU210): Define.
3068 (SUBTARGET_SWITCHES): Define.
3069 (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
3070 (MAKE_DECL_ONE_ONLY): Define.
3071 (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.
3072
3073 2000-05-01 Mumit Khan <khan@xraylith.wisc.edu>
3074
3075 * i386/cygwin.h (INT_ASM_OP): Define.
3076
3077 Mon May 1 18:20:06 2000 Denis Chertykov <denisc@overta.ru>
3078
3079 * config/avr/avr.c (address_cost): renamed to avr_address_cost.
3080 * config/avr/avr.h (ADDRESS_COST): use avr_address_cost.
3081
3082 Mon May 1 17:50:44 2000 Denis Chertykov <denisc@overta.ru>
3083
3084 * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
3085 __tmp_reg__ and __zero_reg__ initialization.
3086
3087 2000-04-30 Richard Henderson <rth@cygnus.com>
3088
3089 * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
3090
3091 * ifcvt.c (noce_process_if_block): Fail the conversion if X is
3092 referenced bewteen the condition and the jump. Don't delete
3093 anything but the jump.
3094
3095 Sun Apr 30 22:48:24 2000 Jason Eckhardt <jle@cygnus.com>
3096
3097 * bb-reorder.c (scope_def): New struct.
3098 (scope_forest_info): New struct.
3099 (struct reorder_block_def): New member "scope".
3100 (REORDER_BLOCK_SCOPE): New macro.
3101 (relate_bbs_with_scopes): New function and prototype.
3102 (make_new_scope): Likewise.
3103 (build_scope_forest): Likewise.
3104 (remove_scope_notes): Likewise.
3105 (insert_intra_1): Likewise.
3106 (insert_intra_bb_scope_notes): Likewise.
3107 (insert_inter_bb_scope_notes): Likewise.
3108 (rebuild_scope_notes): Likewise.
3109 (free_scope_forest_1): Likewise.
3110 (free_scope_forest): Likewise.
3111 (dump_scope_forest): Likewise.
3112 (dump_scope_forest_1): Likewise.
3113 (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
3114 Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
3115 block.
3116 (reorder_basic_blocks): Added calls to build_scope_scope_forest
3117 and remove_scope_notes before reordering is done. Added calls to
3118 rebuild_scope_notes, free_scope_forest, and reorder_blocks after
3119 after reordering is done.
3120
3121 2000-40-30 Bruce Korb <bkorb@gnu.org>
3122
3123 * fixinc/inclhack.def: Added definitions needed by OSR5,
3124 removed two stale entries (defined away with OLD_CPP).
3125 * fixinc/inclhack.sh: regen
3126 * fixinc/fixincl.x: regen
3127
3128 2000-04-30 Richard Henderson <rth@cygnus.com>
3129
3130 * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
3131 from the last insn in the sequence.
3132
3133 2000-04-30 Zack Weinberg <zack@wolery.cumb.org>
3134
3135 * cpplex.c (cpp_idcmp): New function.
3136 * cpplib.h: Prototype it.
3137 * scan_decls.c (scan_decls): Use it to inspect token names.
3138 * fix-header.c (read_scan_file): Likewise. Set system_header_p on
3139 the file being run through the preprocessor.
3140 (check_macro_names): Provide length of token to cpp_defined.
3141
3142 * Makefile.in: Remove stale warning message.
3143
3144 * cppfiles.c (redundant_include_p): Provide length of token to
3145 cpp_defined.
3146 * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
3147 values are unsigned int.
3148 (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
3149 (_cpp_lookup_slot): Do not calculate the hash, either.
3150 * cpphash.h: Update prototypes.
3151 * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
3152 Hashes are unsigned int. Calculate hash here, pass by value
3153 to _cpp_lookup_slot.
3154
3155 2000-04-30 Bernd Schmidt <bernds@cygnus.co.uk>
3156
3157 * simplify-rtx.c (check_value_useless): Delete function.
3158 (discard_useless_locs): Don't call it; manage N_USELES_VALUES counter
3159 by hand.
3160 (cselib_invalidate_regno): Likewise.
3161 (cselib_invalidate_mem_1): Likewise.
3162 (references_value_p): Recognize useless values by the fact that they
3163 have no locations.
3164 (discard_useless_values): Likewise.
3165 (cselib_record_set): This may turn a useless value
3166 into a useful one.
3167
3168 2000-04-30 Richard Henderson <rth@cygnus.com>
3169
3170 * config/d30v: New port.
3171
3172 * configure.in (d30v-*): Set fp format.
3173 * configure: Rebuild.
3174
3175 2000-04-30 Richard Henderson <rth@cygnus.com>
3176
3177 * ifcvt.c: New file.
3178 * Makefile.in (OBJS): Add it.
3179 (ifcvt.o): New target.
3180 * jump.c (jump_optimize_1): Remove all code related to if-conversion,
3181 and conditional arithmetic.
3182 (find_insert_position): Remove.
3183 * timevar.def (TV_IFCVT, TV_IFCVT2): New.
3184 * toplev.c (DFI_ce, DFI_ce2): New.
3185 (dump_file): Add ce and ce2 dumps.
3186 (rest_of_compilation): Run if_convert a couple o times. Set
3187 cse_not_expected after cse2. Don't set no_new_pseudos until
3188 after sched1 or recompute_reg_usage.
3189
3190 2000-04-30 Richard Henderson <rth@cygnus.com>
3191
3192 * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
3193 (crtend.o, crtbeginS.o, crtendS.o): Likewise.
3194
3195 2000-04-30 Richard Henderson <rth@cygnus.com>
3196
3197 * flow.c (struct reg_cond_life_info): New.
3198 (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
3199 (init_propagate_block_info): Initialize them.
3200 (free_propagate_block_info): Destruct them.
3201 (mark_set_1): Consider conditional life before killing a register.
3202 (mark_regno_cond_dead): New.
3203 (free_reg_cond_life_info): New.
3204 (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
3205 (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
3206 (mark_used_reg): Record conditional life.
3207
3208 * haifa-sched.c (schedule_insns): Disable death counting
3209 sanity check for HAVE_conditional_execution.
3210
3211 2000-04-30 Richard Henderson <rth@cygnus.com>
3212
3213 * Makefile.in (TIMEVAR_H): New.
3214 (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
3215 (timevar.h): Remove rule.
3216
3217 2000-04-29 Richard Henderson <rth@cygnus.com>
3218
3219 * config/alpha/crtend.asm: Use C comments instead of #.
3220 * config/alpha/crtbegin.asm: Likewise. Mark __dso_handle hidden.
3221
3222 * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.
3223
3224 2000-04-29 Zack Weinberg <zack@wolery.cumb.org>
3225
3226 * cpphash.h (enum node_type: Take out T_MCONST.
3227 (union hashval): Move into struct hashnode.
3228 (struct hashnode): Pack tighter. Remove file, line, col
3229 members.
3230 * cpphash.c: Constify most of the macro-definition structures.
3231 (struct definition): Replace by struct object_defn
3232 and struct funct_defn. Put file, line, column information
3233 here. All users updated to match.
3234 (_cpp_create_definition, _cpp_macroexpand): Remove special
3235 case for #define WORD OTHERWORD.
3236 * cpplib.c (do_undef): Remove T_MCONST case.
3237
3238 * cpphash.h: Move struct reflist, struct definition, and the
3239 DEFINITION typedef to cpphash.c. Use 'struct definition *' in
3240 union hashval. _cpp_free_definition takes a HASHNODE pointer.
3241 * cpphash.c (_cpp_free_definition): Free data pointed to by
3242 MCONST, XCONST, MACRO, and FMACRO nodes properly.
3243 (_cpp_create_definition, del_HASHNODE): Just call
3244 _cpp_free_definition to clear out a hashnode.
3245 * cpplib.c (do_pragma_poison): Likewise.
3246
3247 Sat Apr 29 12:25:17 2000 Alexandre Oliva <aoliva@cygnus.com>
3248
3249 * config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
3250 LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
3251 FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
3252 (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
3253 (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
3254 REGNO_AM33_P): Redefine in terms of the new macros.
3255 (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
3256 (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
3257 STRUCT_VALUE): Likewise.
3258 (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
3259 ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise. Moved.
3260
3261 Sat Apr 29 01:18:45 MET DST 2000 Jan Hubicka <jh@suse.cz>
3262
3263 * regmove.c (struct record_stack_memrefs_data): New.
3264 (record_stack_memrefs): New function.
3265 (combine_stack_adjustments_for_block): Use it.
3266
3267 Sat Apr 29 01:15:27 MET DST 2000 Jan Hubicka <jh@suse.cz>
3268
3269 * calls.c (calls_function_1): Propertly handle TREE_LIST expressions;
3270 use special_function_p to detect alloca.
3271
3272 Fri Apr 28 16:30:33 2000 Marc Espie <espie@cvs.openbsd.org>
3273
3274 * gcc.texi: Fixes for makeinfo 4.0 --html.
3275
3276 2000-04-28 Zack Weinberg <zack@wolery.cumb.org>
3277
3278 * pcp.h: Delete file.
3279
3280 2000-04-28 Kazu Hirata <kazu@hxi.com>
3281
3282 * h8300.c (function_epilogue): Clean up flags when the last insn
3283 in a function is a barrier.
3284
3285 2000-04-28 Chris Demetriou <cgd@sibyte.com>
3286
3287 * configure.in (sparc-hal-solaris2*): protect [] glob from
3288 my expansion.
3289 (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
3290 rather than hard-coded constants in target_cpu_default2.
3291 * configure: Regenerate.
3292
3293 2000-04-28 Jason Merrill <jason@casey.cygnus.com>
3294
3295 * tree.c (get_callee_fndecl): Extract the initial value from
3296 a readonly decl.
3297
3298 2000-04-28 Richard Henderson <rth@cygnus.com>
3299
3300 * varasm.c (record_constant_1): Record the CODE_LABEL when
3301 taking the address of a LABEL_REF.
3302
3303 2000-04-28 Richard Henderson <rth@cygnus.com>
3304 Jan Hubicka <jh@suse.cz>
3305
3306 * calls.c (combine_pending_stack_adjustment_and_call): Return the
3307 adjustment; don't do the stack adjust.
3308 (expand_call): Call compute_argument_block_size right before
3309 allocating the block; update comment; don't do alignment sanity
3310 checking for sibling call; use args_size instead of
3311 unadjusted_args_size before args_size is adjusted. Use
3312 combine_pending_stack_adjustment_and_call to compute stack adjust
3313 for must_preallocate case.
3314
3315 * expr.c (push_block): Remove shadow `temp' in inner scope.
3316
3317 2000-04-28 Jason Merrill <jason@casey.cygnus.com>
3318
3319 * toplev.c (rest_of_compilation): Call
3320 note_deferral_of_defined_inline_function even if the function
3321 can't be inlined.
3322
3323 2000-04-28 Scott Bambrough <scottb@netwinder.org>
3324
3325 * cpplex.c (_cpp_scan_line): Fix buffer overwrite.
3326
3327 2000-04-28 Richard Henderson <rth@cygnus.com>
3328
3329 * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
3330
3331 2000-04-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3332
3333 * timevar.c (init_timevar): DeANSIfy function definition.
3334
3335 2000-04-27 Alex Samuel <samuel@codesourcery.com>
3336
3337 * Makefile.in (timevar.o): Depend on flags.h.
3338 * timevar.c (unused_stack_instances): New variable.
3339 (timevar_push): Take a timevar_stack_def from
3340 unused_stack_instances if available.
3341 (timevar_pop): Push the popped timevar_stack_def onto
3342 unused_stack_instances.
3343 (TIMEVAR_ENABLE): New macro.
3344 (timevar_def): Make standalone a 1-bit field. Add field used.
3345 (get_time): Rename parameter to now. Return after clearing it if
3346 not TIMEVAR_ENABLE.
3347 (init_timevar): Do nothing if not TIMEVAR_ENABLE.
3348 (timevar_pop): Likewise.
3349 (timevar_stop): Likewise.
3350 (timevar_push): Likewise. Mark the timing variable as used.
3351 (timevar_start): Likewise.
3352 (timevar_print): Do nothing if not TIMEVAR_ENABLE. Don't print
3353 timevars that were never used.
3354
3355 2000-04-27 Mark Mitchell <mark@codesourcery.com>
3356
3357 * c-common.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
3358 always TREE_READONLY.
3359
3360 2000-04-27 Ulrich Drepper <drepper@cygnus.com>
3361
3362 * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
3363 for call instruction with mode QImode.
3364
3365 2000-04-27 Alex Samuel <samuel@codesourcery.com>
3366
3367 * Makefile.in (OBJS): Add timevar.o.
3368 (toplev.o): Depend on timevar.h.
3369 (ggc-simple.o): Likewise.
3370 (ggc-page.o): Likewise.
3371 (timevar.o): New rule.
3372 (timevar.h): New rule.
3373
3374 * timevar.h: New file.
3375 * timevar.c: Likewise.
3376 * timevar.def: Likewise.
3377
3378 * toplev.h (gc_time, parse_time, varconst_time): Remove.
3379 * toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
3380 throughout.
3381 (TIMEVAR): Remove macro.
3382 (gc_time, parse_time, varconst_time, integration_time, jump_time,
3383 cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
3384 flow_time, combine_time, regmove_time, sched_time,
3385 local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
3386 sched2_time, dbr_sched_time, reorder_blocks_time,
3387 rename_registers_time, shorten_branch_time, stack_reg_time,
3388 to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
3389 all_time): Remove.
3390 (compile_file): Don't initialize time variables. Call
3391 init_timevar and start TV_TOTAL timer. Call timevar_print instead
3392 of many calls to print_time.
3393 (rest_of_compilation): Add timing for reload_cse_regs.
3394 (get_run_time): Removed to timevar.c.
3395 (print_time): Likewise.
3396 (get_run_time): Implement using TV_TOTAL time variable.
3397 (print_time): Get total run time from get_run_time.
3398 * ggc-page.c (ggc_collect): Push and pop TV_GC instead of
3399 computing elapsed time explicitly.
3400 * ggc-simple.c (ggc_collect): Likewise.
3401 (gc_time): Remove declaration.
3402
3403 2000-04-27 Mark Mitchell <mark@codesourcery.com>
3404
3405 * calls.c (combine_pending_stack_adjustment_and_call): New function.
3406 (expand_call): Use it.
3407
3408 2000-04-27 Jan Hubicka <jh@suse.cz>
3409
3410 * flow.c (mark_set_1): Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
3411 fields.
3412
3413 Thu Apr 27 12:47:00 2000 Alexandre Oliva <aoliva@cygnus.com>
3414
3415 * config/mn10300/mn10300.md (movhi): Simplify. Prefer data
3416 registers.
3417
3418 Thu Apr 27 17:33:05 MET DST 2000 Jan Hubicka <jh@suse.cz>
3419
3420 * function.c (epilogue_done): Pass whole insn to record_insns.
3421
3422 Thu Apr 27 16:55:28 MET DST 2000 Jan Hubicka <jh@suse.cz>
3423
3424 * cse.c (CSE_ADDRESS_COST): Remove.
3425 (find_best_addr): Add new parameter "MODE", use address_cost instead
3426 of CSE_ADDRESS_COST
3427 (address_cost): New.
3428 (fold_rtx): Update call of find_best_addr.
3429 * rtl.h (address_cost): Declare.
3430 * loop.c (general_induction_var): Add new parameter "MODE", use
3431 address_cost instead of ADDRESS_COST
3432 (init_loop): Use address_cost instead of ADDRESS_COST.
3433 (check_insn_for_givs): Update call of general_induction_var.
3434 (find_mem_givs): Likewise.
3435 (consec_sets_giv): Likewise.
3436 * config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
3437 * i386.c (ix86_address_cost): New.
3438 * i386-protos.h (ix86_address_cost): Declare.
3439
3440 Thu Apr 27 11:45:16 2000 Alexandre Oliva <aoliva@cygnus.com>
3441
3442 * config/mn10300/mn10300.md (movqi): Simplify. Prefer data
3443 registers.
3444
3445 Thu Apr 27 16:11:00 MET DST 2000 Jan Hubicka <jh@suse.cz>
3446
3447 * expr.c (store_expr): Use clear_storage instead of direct memset
3448 libcall.
3449
3450 Thu Apr 27 10:36:51 2000 Alexandre Oliva <aoliva@cygnus.com>
3451
3452 * config/mn10300/mn10300.c (mn10300_address_cost): Test
3453 ASHIFT, AND and LABEL_REF.
3454
3455 Thu Apr 27 15:08:46 MET DST 2000 Jan Hubicka <jh@suse.cz>
3456
3457 * invoke.texi (-foptimize-sibling-calls): Fix.
3458
3459 Thu Apr 27 14:54:22 MET DST 2000 Jan Hubicka <jh@suse.cz>
3460
3461 * loop.c (load_mems) Don't use hard registers for the hoisting.
3462
3463 * unroll.c (unroll_loop): Avoid overflow in the n_iterations
3464 calculation; rename const_equiv array in the preconditioning code
3465 from loop_unroll to loop_unroll_precondition
3466
3467 2000-04-27 Richard Henderson <rth@cygnus.com>
3468
3469 * flow.c (struct propagate_block_info): Remove new_dead, new_live;
3470 add new_set.
3471 (propagate_one_insn): Clear it. Don't update reg_live here.
3472 (init_propagate_block_info): Update for pbi member changes.
3473 (free_propagate_block_info): Likewise.
3474 (mark_set_1): Know that zero_extract, sign_extract, and
3475 strict_low_part don't kill their argument. Alter hard subregs.
3476 Update new_set for non-CLOBBER sets. Update reg_live.
3477 (find_auto_inc): Update reg_live, not new_dead.
3478 (mark_used_reg): Update reg_live, not new_live. Examine new_set
3479 to determine if the reg in question was set this insn. Only update
3480 reg info with PROP_REG_INFO.
3481
3482 2000-04-26 Richard Henderson <rth@cygnus.com>
3483
3484 * flow.c (allocate_reg_life_data): Set max_regno here ...
3485 (life_analysis): ... not here.
3486
3487 * flow.c (calculate_global_regs_live): Force stack pointer
3488 live at end.
3489
3490 2000-04-26 Richard Henderson <rth@cygnus.com>
3491
3492 * jump.c (redirect_exp_1): Rework from old redirect_exp. Never
3493 commit change group changes.
3494 (invert_exp_1): Similarly.
3495 (redirect_exp, invert_exp): Use them.
3496 (redirect_jump_1): New.
3497 (invert_jump_1): New.
3498 (jump_optimize_1): Remove code subsumed by condexec.c.
3499 * rtl.h (invert_jump_1, redirect_jump_1): Declare.
3500
3501 2000-04-26 Richard Henderson <rth@cygnus.com>
3502
3503 * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
3504
3505 * genconfig.c (main): Set all HAVE_foo to 1.
3506
3507 * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.
3508
3509 2000-04-26 Alex Samuel <samuel@codesourcery.com>
3510
3511 * invoke.texi: Document -fssa flag.
3512
3513 2000-04-26 Richard Henderson <rth@cygnus.com>
3514
3515 * flow.c (count_reg_sets_1): Remove.
3516 (count_reg_sets, count_reg_references): Remove.
3517 (recompute_reg_usage): Implement with update_life_info.
3518 Reallocate life data.
3519
3520 2000-04-26 Richard Henderson <rth@cygnus.com>
3521
3522 * flow.c (update_life_info): Consider blocks null to mean the
3523 universal set.
3524 (calculate_global_regs_live): Likewise.
3525 (life_analysis): Do that instead of collecting all_blocks.
3526
3527 2000-04-26 Richard Henderson <rth@cygnus.com>
3528
3529 * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
3530 a still-valid conditional jump.
3531
3532 2000-04-26 Richard Henderson <rth@cygnus.com>
3533
3534 * jump.c (invert_jump): Always invert REG_BR_PROB. Do it correctly.
3535
3536 * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
3537 * flow.c (calculate_loop_depth): Remove.
3538 * output.h (calculate_loop_depth): Don't declare.
3539 * toplev.c (rest_of_compilation): Expand calculate_loop_depth
3540 inline; run estimate_probability at the same time.
3541
3542 2000-04-26 Neil Booth <NeilB@earthling.net>
3543
3544 * cpplib.h: "~=" is not a single pp-token.
3545 * cpplex.c: Correct commentary.
3546
3547 2000-04-26 Richard Henderson <rth@cygnus.com>
3548
3549 * flow.c (mark_set_1): New arguments code and flags; update all
3550 callers. Track regno_first and regno_last; do HARD_REGNO_NREGS
3551 test in one place. Tidy flags tests. Don't bias REG_N_REFS by
3552 loop_depth when optimizing for size. Do new_dead update after
3553 emitting REG_UNUSED notes. Merge mark_set_reg code.
3554 (mark_set_reg): Remove.
3555 (propagate_one_insn): Use mark_set_1 for call-clobbered registers;
3556 arrange to not emit REG_UNUSED notes.
3557
3558 2000-04-26 Richard Henderson <rth@cygnus.com>
3559
3560 * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
3561 * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.
3562
3563 2000-04-26 Richard Henderson <rth@cygnus.com>
3564
3565 * flow.c (propagate_one_insn): Break out from propagate_block.
3566 (init_propagate_block_info): Likewise.
3567 (free_propagate_block_info): Likewise.
3568 (propagate_block): Use them. Export.
3569 * basic-block.h: Declare them all.
3570
3571 2000-04-26 Richard Henderson <rth@cygnus.com>
3572
3573 * basic-block.h (life_analysis): Declare here ...
3574 * output.h: ... not here.
3575 * flow.c (life_analysis): Remove nregs parameter; replace
3576 remove_dead_code with flags. Remove ssa dead code check.
3577 Only init alias analysis if we'll use it.
3578 * reg-stack.c (reg_to_stack): Update life_analysis arguments.
3579 * ssa.c (convert_to_ssa): Likewise.
3580 (convert_from_ssa): Likewise.
3581 * toplev.c (rest_of_compilation): Likewise.
3582
3583 2000-04-26 Richard Henderson <rth@cygnus.com>
3584
3585 * flow.c (flow_delete_block): Rename from delete_block. Export.
3586 * basic-block.h (flow_delete_block): Declare.
3587
3588 2000-04-26 David S. Miller <davem@redhat.com>
3589
3590 * optabs.c (emit_libcall_block): Verify insns with INSN_P before
3591 taking a PATTERN of it.
3592
3593 2000-04-26 <NeilB@earthling.net>
3594
3595 * cpplex.c (spell_other, spell_char): Remove.
3596 (SPELL_CHAR): New.
3597 (token_spelling, trigraph_map): Use unsigned chars.
3598 (_cpp_lex_line): Tidy up the switch statement.
3599 * cpplib.h: Implement spell_char with spell_string.
3600 (C): New.
3601
3602 2000-04-26 <RodneyBrown@pmsc.com>
3603
3604 * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.
3605 * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal.
3606
3607 2000-04-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3608
3609 * dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
3610 reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
3611 dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
3612 dwarf2out_return_save, dwarf2out_return_reg,
3613 dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
3614 add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
3615 gen_compile_unit_die, dwarf2out_init): Constify a char*.
3616
3617 * dwarf2out.h (dwarf2out_init): Likewise.
3618
3619 * dwarfout.c (filename_entry, primary_filename, last_filename,
3620 type_tag, output_compile_unit_die, dwarfout_init): Likewise.
3621
3622 * tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
3623 dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
3624 dwarf2out_return_reg): Likewise.
3625
3626 2000-04-26 Andreas Jaeger <aj@suse.de>
3627
3628 * extend.texi (Function Attributes): Fix description of pure
3629 attribute.
3630
3631 2000-04-26 Jason Merrill <jason@casey.cygnus.com>
3632
3633 * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
3634 before calling rest_of_compilation.
3635
3636 2000-04-26 Andreas Jaeger <aj@suse.de>
3637
3638 * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
3639 last patch.
3640
3641 2000-04-25 Richard Henderson <rth@cygnus.com>
3642
3643 * cse.c (cse_insn): Emit barrier after unconditional jump.
3644
3645 * calls.c (expand_call): Disable tail call generation once
3646 rtx_equal_function_value_matters is false.
3647
3648 * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges
3649 like EDGE_EH edges.
3650
3651 2000-04-25 Jason Merrill <jason@casey.cygnus.com>
3652
3653 * dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
3654
3655 * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
3656
3657 * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
3658 is the primary DIE for a member function.
3659 (gen_decl_die): Call set_decl_origin_self here.
3660 * dwarfout.c (output_decl): And here.
3661 * integrate.c (output_inline_function): Not here.
3662 Don't clear DECL_INLINE until after calling rest_of_compilation.
3663 (set_decl_origin_self): No longer static.
3664 * tree.h: Add prototype.
3665 * toplev.c (note_deferral_of_defined_inline_function): Only write
3666 out abstract instance for actual inlines.
3667
3668 2000-04-25 Alexandre Oliva <aoliva@cygnus.com>
3669
3670 * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return
3671 EXTENDED_REGS only if TARGET_AM33.
3672 * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing
3673 SP_REGS to register allocation and reloading unless absolutely
3674 necessary.
3675 (movsi3): Remove special-case of adding non-constants to SP.
3676
3677 2000-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3678
3679 * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
3680 INCLUDES to search and does not provide any of its own. Also it
3681 now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
3682 parameters. Also it does not call AC_DEFINE.
3683 (gcc_AC_NEED_DECLARATIONS): Likewise. Also this macro now calls
3684 AC_DEFINE and provides for automatic entries for autoheader.
3685 (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.
3686
3687 * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
3688 so we can pass -I flags and include gansidecl.h/system.h in this
3689 test.
3690
3691 * acconfig.h: Delete all NEED_DECLARATION_* entries.
3692
3693 2000-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3694
3695 * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
3696 ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
3697 ENABLE_GC_ALWAYS_COLLECT): Delete entries.
3698
3699 * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
3700 ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
3701 ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
3702 for these macros. Clean up spacing and linewraps.
3703
3704 2000-04-26 Jason Merrill <jason@casey.cygnus.com>
3705
3706 * calls.c (expand_call): Use get_callee_fndecl.
3707
3708 * print-tree.c (print_node): Print the chain of an _EXPR.
3709
3710 Tue Apr 25 16:16:04 2000 Andrew MacLeod <amacleod@cygnus.com>
3711 Jim Wilson <wilson@cygnus.com>
3712 Andrew Haley <aph@cygnus.com>
3713
3714 * config/ia64/crtbegin.asm: Add IA-64 unwind support. Correct alloc
3715 and gp save/restore problems.
3716 * config/ia64/crtend.asm: Add IA-64 unwind support.
3717 * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
3718 in fr_pad_size calculation.
3719 (save_restore_insns): Move PR save area. Correct uses of
3720 RTX_FRAME_RELATED_P.
3721 (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
3722 (ia64_expand_epilogue): Add eh_epilogue support.
3723 (ia64_function_prologue): Emit .prologue directive.
3724 (ia64_init_machine_status, ia64_mark_machine_status): New functions.
3725 (ia64_override_options): Set init_machine_status and
3726 mark_machine_status.
3727 (rtx_needs_barrier): Handle bsp reads and writes.
3728 (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved):
3729 New static variables.
3730 (process_set, process_for_unwind_directive): New functions.
3731 * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT,
3732 ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR,
3733 ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New
3734 macros.
3735 (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section.
3736 (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define.
3737 (struct machine_function): Define.
3738 * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns.
3739
3740 2000-04-25 Bruce Korb <bkorb@gnu.org>
3741
3742 * fixinc/Makefile.in: make the removal of old programs more
3743 robust
3744 * fixinc/mkfixinc.sh: use the two new targets in the Makefile:
3745 install-bin and install-sh
3746
3747 2000-04-25 Nick Clifton <nickc@cygnus.com>
3748
3749 * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not
3750 defined, define to return zero.
3751 (function_cannot_inline_p): If a function has any target
3752 specific attributes, then use the macro
3753 FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide
3754 whether it can be inlined. If it cannot, issue a suitable
3755 explanation.
3756
3757 * tm.texi: Add a new node 'Inlining' to document the new macro
3758 FUNCTION_ATTRIBUTE_INLINABLE_P.
3759
3760 2000-04-25 Zack Weinberg <zack@wolery.cumb.org>
3761
3762 * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
3763 commentary.
3764
3765 2000-04-25 Neil Booth <NeilB@earthling.net>
3766
3767 Restore previous patch, plus the following fixes:
3768
3769 * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
3770 flags, not CPP_OPEN_PAREN.
3771 * cpplex.c (expand_token_space, init_token_list,
3772 cpp_free_token_list): Put the dummy token at list->tokens[-1].
3773 (_cpp_lex_line, _cpp_lex_file): token list is 0-based.
3774
3775 Tue Apr 25 14:06:40 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3776
3777 * config/i386/freebsd.h (INT_ASM_OP): Define.
3778
3779 Tue Apr 25 14:51:07 MET DST 2000 Jan Hubicka <jh@suse.cz>
3780
3781 * loop.c (strength_reduce): Fix typo in the last checkin.
3782
3783 Tue Apr 25 07:33:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3784
3785 * stor-layout.c (finalize_record_size): Simplify to use existing
3786 functions.
3787 (compute_record_mode): No longer static.
3788 * tree.h (compute_record_mode): New declaration.
3789
3790 2000-04-25 Neil Booth <NeilB@earthling.net>
3791
3792 * Revert my patch below until cause of build failures
3793 determined.
3794
3795 2000-04-25 Richard Henderson <rth@cygnus.com>
3796
3797 * combine.c (combine_instructions): Add missing argument
3798 to try_combine.
3799
3800 * toplev.c (rest_of_compilation): Delay sibcall optimization
3801 until after emit_eh_context.
3802
3803 2000-04-24 Nick Clifton <nickc@redhat.com>
3804
3805 * combine.c (combine_instructions): Do not try to combine a
3806 sequence of insns when the second insn has been replaced by a
3807 note.
3808
3809 Mon Apr 24 17:34:18 2000 Mumit Khan <khan@xraylith.wisc.edu>
3810
3811 * gcc.c (load_specs): New static function.
3812 (read_specs): Use it.
3813
3814 * gcc.c (lookup_compiler): Make multiple passes for case
3815 insensitive filesystems.
3816
3817 2000-04-24 Neil Booth <NeilB@earthling.net>
3818
3819 * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
3820 * cpphash.h (_cpp_check_directive): new.
3821 * cpplex.c (handle_newline, cpp_free_token_list,
3822 init_trigraph_map, trigraph_ok, trigraph_replace,
3823 backslash_start, skip_block_comment, skip_line_comment,
3824 skip_whitespace, parse_name, parse_number, parse_string,
3825 copy_comment, _cpp_lex_line, spell_char, spell_string,
3826 spell_comment, spell_name, spell_other, _cpp_lex_file,
3827 _cpp_output_list): new.
3828 (expand_name_space): take length argument.
3829 (init_token_list): add comment list initialisation.
3830 (cpp_scan_line): use auto_expand_name_space. PREV_WHITESPACE
3831 instead of HSPACE_BEFORE.
3832
3833 * cpplib.c (_cpp_check_directive): new
3834 * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
3835 DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
3836 (HSPACE_BEFORE): delete.
3837 (TTYPE_TABLE): rearrange.
3838 (struct cpp_toklist): update.
3839
3840 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3841
3842 * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
3843 gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
3844 argument form of AC_DEFINE.
3845
3846 * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
3847 HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
3848 WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
3849 HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
3850 HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
3851
3852 * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
3853
3854 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3855
3856 * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
3857 deduced.h): Use -isystem, not -I, for including system headers.
3858
3859 2000-04-24 Nick Clifton <nickc@cygnus.com>
3860
3861 * config/fr30/fr30.md (addsi3): Do not use small add instruction if
3862 the source register is the frame pointer or arg pointer.
3863 (addsi3_small_int): Disallow if source register is the frame
3864 pointer or arg pointer.
3865
3866 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3867
3868 * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
3869 call to AC_MSG_RESULT.
3870
3871 2000-04-24 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3872
3873 * invoke.texi: Correct grammatical errors, document
3874 -fno-gnu-keywords as identical to -fno-asm for C++.
3875
3876 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3877
3878 * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
3879 GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
3880 GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
3881 AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
3882 EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
3883
3884 * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
3885 GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
3886 GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
3887 GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
3888 new macros names.
3889
3890 2000-04-24 Mumit Khan <khan@xraylith.wisc.edu>
3891
3892 * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
3893 (pop_alignment): Likewise.
3894 (handle_pragma_token): Likewise.
3895
3896 2000-04-24 Robert Lipe <robertlipe@usa.net>
3897
3898 * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
3899
3900 2000-04-24 Hiroyuki Machida <machida@sm.sony.co.jp>
3901
3902 * combine.c (try_combine): Update reg_nonzero_bits of
3903 newi2pat before newpat.
3904
3905 Mon Apr 24 10:19:48 MET DST 2000 Jan Hubicka <jh@suse.cz>
3906
3907 * loop.c (strength_reduce): Simplify test to INSN_P.
3908 (record_giv): Attempt to simplify the add value, use CONSTANT_P
3909 expressions instead of CONST_INT.
3910 (express_from_1): Likewise.
3911
3912 2000-04-24 Mark Mitchell <mark@codesourcery.com>
3913
3914 * regs.h (reg_n_max): Don't declare.
3915 * flow.c (reg_n_max): Don't define.
3916 * regclass.c (renumber): Don't initialize to zero.
3917 (regno_allocated): Likewise.
3918 (reg_n_max): Define.
3919 (allocate_reg_info): Don't initialize unnecessarily.
3920
3921 Mon Apr 24 00:21:36 2000 Jeffrey A Law (law@cygnus.com)
3922
3923 * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
3924 and blockage_p in the newly allocated attribute.
3925
3926 Sun Apr 23 20:16:49 2000 Alexandre Oliva <aoliva@cygnus.com>
3927
3928 * config/mn10300/mn10300.md (addsi): `inc4' on address
3929 registers does not modify cc, but `inc' on an extended
3930 register does.
3931
3932 Sun Apr 23 16:24:35 2000 Denis Chertykov <denisc@overta.ru>
3933
3934 * reload.c (find_equiv_reg): Checks all valueno regs
3935 as a reload_reg_p regs.
3936
3937 2000-04-23 Zack Weinberg <zack@wolery.cumb.org>
3938
3939 * cpphash.c (collect_objlike_expansion): Add sanity check.
3940 (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST. If
3941 the buffer is the empty string, return. Mark __DATE__ and
3942 __TIME__ as XCONST nodes, not MCONST.
3943 (_cpp_macroexpand): Avoid pushing an empty buffer.
3944 (funlike_macroexpand): Don't pop token_buffer here.
3945
3946 Sun Apr 23 18:37:53 2000 Alexandre Oliva <aoliva@cygnus.com>
3947
3948 * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
3949 (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
3950 (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
3951 (REGNO_OK_FOR_BASE_P): Define in terms of them.
3952 (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
3953 (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
3954 (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
3955
3956 Sun Apr 23 22:23:08 MET DST 2000 Jan Hubicka <jh@suse.cz>
3957
3958 * loop.c (simplify_giv_expr): Be more agressive on simplifying
3959 constant MULT givs.
3960
3961 2000-04-23 Zack Weinberg <zack@wolery.cumb.org>
3962
3963 * cpphash.h (struct definition): Move file, line, col members...
3964 (struct hashnode): ... here. Also add 'disabled' flag.
3965 (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
3966 T_IDENTITY. Remove T_DISABLED.
3967 Update prototypes.
3968
3969 * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.
3970 (collect_expansion): Split into collect_objlike_expansion and
3971 collect_funlike_expansion.
3972 (_cpp_macroexpand): Split out scan_arguments, stringify, and
3973 funlike_macroexpand.
3974 (_cpp_compare_defs): Rename compare_defs, make static.
3975 (_cpp_make_hashnode): Initialize hp->disabled.
3976 (macro_cleanup): Adjust for new token types. Clear
3977 m->disabled.
3978 (_cpp_create_definition): Move code here to determine what
3979 sort of macro it is, and code to check for redefinitions, from
3980 do_define. Implement a few simple cases without creating a
3981 full DEFINITION.
3982 (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
3983 Handle the simple cases.
3984 (push_macro_expansion): Set buf->has_escapes and hp->disabled
3985 here.
3986
3987 * cppinit.c (builtin_array): Change MCONST to XCONST
3988 everywhere.
3989 * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
3990 fix check for disabled and function-like macros.
3991 * cpplib.c (do_define): Move most logic to
3992 _cpp_create_definition.
3993 (do_undef): Handle new special token types.
3994
3995 Sun Apr 23 14:27:44 MET DST 2000 Jan Hubicka <jh@suse.cz>
3996
3997 * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
3998 of CONSTANT_P for mult_val; always use validate_change to update insn.
3999
4000 2000-04-22 Zack Weinberg <zack@wolery.cumb.org>
4001
4002 * cpphash.c (trad_stringify, add_pat): New functions.
4003 (collect_expansion): Restore support for -traditional syntax.
4004 Use trad_stringify and add_pat.
4005 (_cpp_macroexpand): Restore support for -traditional semantics.
4006 * cpplex.c (_cpp_scan_line): Don't change space_before if we
4007 get a COMMENT token.
4008 (_cpp_lex_token): Provide COMMENT tokens to caller if
4009 traditional and parsing_define_directive.
4010 (skip_comment): Warn about // comments if -Wtraditional.
4011 * cpplib.c (do_define): Fix typo. Create EMPTY nodes with
4012 proper node type.
4013 (do_undef): Don't warn about undefining EMPTY nodes.
4014
4015 Sat Apr 22 22:35:38 MET DST 2000 Jan Hubicka <jh@suse.cz>
4016
4017 * loop.c (strength_reduce): Fix biv removal code.
4018
4019 2000-04-22 Richard Henderson <rth@cygnus.com>
4020
4021 * predict.c (estimate_probability): Examine both sides of
4022 a branch for no exits. Use 90% not 50% for predict taken.
4023 Reorg for one copy of note generation code.
4024
4025 2000-04-22 Richard Henderson <rth@cygnus.com>
4026
4027 * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
4028
4029 2000-04-22 Richard Henderson <rth@cygnus.com>
4030
4031 * diagnostic.c (init_output_buffer): Don't initialize format_args.
4032 (output_clear): Likewise.
4033 (output_printf): Use va_copy.
4034 (vline_wrapper_message_with_location): Likewise.
4035 (v_message_with_decl): Likewise.
4036 (line_wrapper_printf): VA_START infor buffer.format_args directly.
4037 * system.h (va_copy): Provide default implementation.
4038
4039 2000-04-22 Richard Henderson <rth@cygnus.com>
4040
4041 * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
4042 the collected condition is not a constant.
4043
4044 2000-04-22 Gabriel Dos Reis <gdr@codesourcery.com>
4045
4046 * diagnostic.h: New file.
4047
4048 * Makefile.in (diagnostic.o): Depends on diagnostic.h
4049
4050 * diagnostic.c: Tweak. Rationalize the output logic. Adjust
4051 various function prototypes.
4052 (diagnostic.h): #include.
4053 (struct output_buffer): Move into diagnostic.h.
4054 (get_output_prefix): Rename to output_get_prefix. Export.
4055 (init_output_buffer): Export. Break out. Ajust intialization.
4056 (output_space_left, output_append): Export.
4057 (output_newline): Rename to output_add_newline. Export.
4058 (output_clear): Nullify additional output_buffer fields.
4059 (output_puts): Rename to output_add_string. Export.
4060 (dump_output): Rename to output_flush_on. Export.
4061 (build_location_prefix): Constify return-type.
4062 (emit_output_prefix): Rename to output_emit_prefix. Export.
4063 (set_real_maximum_length): New function.
4064 (output_set_maximum_length): Ditto
4065 (output_clear): Ditto.
4066 (output_add_character): Ditto.
4067 (output_add_integer): Ditto.
4068 (output_add_space): Ditto.
4069 (output_format): Ditto.
4070 (output_printf): Adjust buffer initialization.
4071 (vline_wrapper_message_with_location): Ditto.
4072 (v_message_with_decl): Ditto. Adjust call to output_puts
4073 and get_output_prefix.
4074 (default_print_error_function): Adjust buffer intialization.
4075
4076 Sat Apr 22 06:45:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4077
4078 * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
4079 of VOID_TYPE.
4080
4081 Fri Apr 21 18:33:09 2000 Alexandre Oliva <aoliva@cygnus.com>
4082
4083 * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
4084 of explicit 0.
4085
4086 Fri Apr 21 18:30:00 2000 Alexandre Oliva <aoliva@cygnus.com>
4087
4088 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
4089 accurate data about SP moves.
4090
4091 Fri Apr 21 18:28:28 2000 Alexandre Oliva <aoliva@cygnus.com>
4092
4093 * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
4094 aliases to AM33 registers.
4095
4096 Fri Apr 21 18:26:17 2000 Alexandre Oliva <aoliva@cygnus.com>
4097
4098 * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
4099 to all EXTENDED bitmaps.
4100
4101 Fri Apr 21 18:17:12 2000 Alexandre Oliva <aoliva@cygnus.com>
4102
4103 * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
4104 * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
4105 * config/mn10300/mn10300.c (mn10300_address_cost): New function.
4106
4107 Fri Apr 21 18:11:56 2000 Alexandre Oliva <aoliva@cygnus.com>
4108
4109 * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
4110 the operand is not constant.
4111
4112 Fri Apr 21 14:58:29 2000 Denis Chertykov <denisc@overta.ru>
4113
4114 * reload.c (find_equiv_reg): Checks all valueno and regno regs
4115 as a call-clobbered regs.
4116
4117 Fri Apr 21 13:30:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4118
4119 * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
4120 * rtl.h: Likewise.
4121 * rtl.def: Update comment.
4122 * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
4123 * integrate.c (expand_inline_function): Likewise.
4124 * profile.c (branch_prob): Likewise.
4125 * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
4126 * print-rtl.c (print_rtx): Likewise.
4127 * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
4128 (reemit_notes): Likewise; also use enum insn_note.
4129
4130 * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
4131 (place_field): Properly compute know and actual alignment.
4132
4133 * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
4134 in proper format.
4135
4136 * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
4137 note for REG1.
4138
4139 2000-04-21 Zack Weinberg <zack@wolery.cumb.org>
4140
4141 * cpphash.c (struct arg, struct arglist): Const-ify strings.
4142 (warn_trad_stringify, duplicate_arg_p): New helper functions.
4143 (collect_expansion): Rewrite to scan over a token list.
4144 Remove -traditional support.
4145 (collect_formal_parameters): Rename to collect_params; rewrite
4146 to scan over a token list.
4147 (_cpp_create_definition): Adjust to scan a token list.
4148 (_cpp_macroexpand): Remove -traditional support.
4149 (_cpp_compare_defs): Whitespace is now canonicalized.
4150 (comp_def_part): Delete function.
4151
4152 * cpphash.h: Update prototypes.
4153 * cpplex.c (init_token_list): Don't set lineno if there is no
4154 buffer.
4155 (pedantic_whitespace): New function.
4156 (_cpp_scan_line): Mark tokens that had hspace before. Don't
4157 consume a newline. Use pedantic_whitespace.
4158 (_cpp_lex_token): Remove support for -traditional macros.
4159 (_cpp_get_define_token): Delete.
4160 (_cpp_get_directive_token): Do the real work here. Use
4161 pedantic_whitespace.
4162 (_cpp_init_input_buffer): Initialize pfile->directbuf.
4163
4164 * cpplib.c (get_macro_name): Delete.
4165 (do_define): Read the entire line into pfile->directbuf, then
4166 feed the token list to _cpp_create_definition.
4167 * cpplib.h (HSPACE_BEFORE): new define.
4168 (struct cpp_reader): Add a toklist member, "directbuf".
4169
4170 * predict.c (estimate_probability): New heuristic: if a jump
4171 branches around a block with no successors, predict it taken.
4172 Disentangle control flow.
4173
4174 2000-04-20 Richard Henderson <rth@cygnus.com>
4175
4176 * loop.c (emit_iv_add_mult): Revert last change.
4177
4178 2000-04-20 Zack Weinberg <zack@wolery.cumb.org>
4179
4180 * cpplib.h (enum cpp_ttype): Add token types for all
4181 punctuators. Distinguish pp-numbers from valid C numbers.
4182 Give some tokens better names. Initialize from macro.
4183 (struct cpp_name, cpp_token, cpp_toklist): New data
4184 structures.
4185 Update prototypes.
4186 * cpplex.c (bump_column, expand_name_space,
4187 expand_token_space, init_token_list, cpp_output_list,
4188 _cpp_scan_line): New functions.
4189 (output_line_command): Add third argument, new line number.
4190 * cpphash.h: Update prototypes.
4191 * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
4192 token names.
4193
4194 2000-04-20 Richard Henderson <rth@cygnus.com>
4195
4196 * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
4197
4198 2000-04-20 Zack Weinberg <zack@wolery.cumb.org>
4199
4200 * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
4201 object pointed to.
4202
4203 Thu Apr 20 14:19:18 MET DST 2000 Jan Hubicka <jh@suse.cz>
4204
4205 * loop.c (emit_iv_add_mult): Simplify it's input and emit
4206 REG_EQUAL note explaining the calculated value.
4207
4208 * calls.c (expand_call): Avoid unnecesary precalculation
4209 and outgoing parameters space guarding for sibling calls.
4210 (store_one_arg): Likewise.
4211
4212 Thu Apr 20 08:01:07 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4213
4214 * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
4215 (rest_of_compilation): Write sibling dump file and account
4216 for time as jump time.
4217 * invoke.texi: Update documentation on dump flags.
4218
4219 2000-04-19 Marek Michalkiewicz <marekm@linux.org.pl>
4220
4221 * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
4222
4223 2000-04-19 Zack Weinberg <zack@wolery.cumb.org>
4224
4225 * cpphash.c (special_symbol): Represent an empty macro with
4226 "\r \r " not just "\r ".
4227 (_cpp_macroexpand): Correct condition for the foo ( ) special
4228 case.
4229 (unsafe_chars): Handle EOF as second argument.
4230 (push_macro_expansion): Simplify test for removing escape at
4231 end. Do not trim both escapes if there is no text in between.
4232
4233 2000-04-19 Jim Blandy <jimb@redhat.com>
4234
4235 * dwarf2out.c (DWARF2_ADDR_SIZE): New macro. Use it instead
4236 of PTR_SIZE, when appropriate.
4237
4238 2000-04-19 Mark Mitchell <mark@codesourcery.com>
4239
4240 * system.h (ONLY_INT_FIELDS): Make sure it is defined.
4241 (USE_ENUM_BITFIELDS): Fix typo.
4242
4243 Wed Apr 19 12:14:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4244
4245 * stor-layout.c (place_field): Set rli->offset_align properly.
4246
4247 2000-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4248
4249 * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
4250 INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
4251 PARM_BOUNDARY): Remove unnecessary casts.
4252
4253 Wed Apr 19 12:02:37 MET DST 2000 Jan Hubicka <jh@suse.cz>
4254
4255 * calls.c (precompute_arguments): Remove must_preallocate and
4256 args_size calls.
4257 (expand_call): Update call of precompute_arguments.
4258
4259 * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
4260 check_insn_for_givs): Break out from ...
4261 (strength_reduce) ... here; use for_every_insn_in_loop to call
4262 check_insn_for_givs.
4263 * loop.h (for_every_insn_in_loop): Declare.
4264 (loop_insn_callback): New type.
4265
4266 2000-04-18 Zack Weinberg <zack@wolery.cumb.org>
4267
4268 * cpplib.c (do_pragma_poison): Strings in the token buffer are
4269 not nul-terminated.
4270
4271 Tue Apr 18 16:04:12 2000 Jim Wilson <wilson@cygnus.com>
4272
4273 * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
4274 flag_pic and RELOC.
4275
4276 2000-04-18 Zack Weinberg <zack@wolery.cumb.org>
4277
4278 * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
4279
4280 * configure.in: Delete --disable-cpplib option and all
4281 references to cpp_main.
4282 * configure: Regenerate.
4283 * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
4284 @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
4285 cccp.o, cccp, or cppmain. Link cppmain.o straight to
4286 cpp$(exeext). Add --no-headers to makeinfo command line when
4287 generating INSTALL. Install and uninstall cpp.1 manpage, not
4288 cccp.1.
4289 * install.texi: Delete all references to cexp.y/cexp.c.
4290 Delete ancient instructions for compiling GCC on 3b1.
4291 * INSTALL: Regenerate.
4292
4293 * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
4294 mips/t-elf, mips/t-r3900: Remove references to cccp.c.
4295 * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
4296 cexp.c/cexp.y.
4297 * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
4298 which is no longer tested anywhere.
4299
4300 * cppinit.c (handle_option): Don't run error message through
4301 gettext twice.
4302
4303 Tue Apr 18 14:16:47 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4304
4305 * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
4306 * cpperror.c (hashtab.h): Now include.
4307 * cppexp.c (hashtab.h): Likewise.
4308 * cpplex.c (hashtab.h): Likewise.
4309 * cppfiles.c (hashtab.h): Likewise.
4310 (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
4311 to htab_find_slot_with_hash.
4312 * cpphash.c (hashtab.h): Now include.
4313 (_cpp_lookup_slot): INSERT is now enum insert_option.
4314 * cpphash.h (_cpp_lookup_slot): Likewise.
4315 * cppinit.c (hashtab.h): Include earlier.
4316 (initialize_builtins): Pass enum to htab_find_slot.
4317 * cpplib.c (hashtab.h): Now include.
4318 (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
4319 (do_pragma_poison, do_assert): Likewise.
4320 * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
4321 htab_find_slot_with_hash.
4322 * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
4323 * tree.c (type_hash_add): Likewise.
4324 (build1): Minor cleanup.
4325
4326 * ggc-common.c: Add missing blanks.
4327 * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
4328 * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
4329
4330 * stmt.c (mark_case_node): New function.
4331 (mark_case_nesting): Call it.
4332
4333 * expmed.c (emit_store_flag): If comparing two-word integer
4334 with zero, can optimize NE, EQ, GE, and LT.
4335
4336 * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
4337 * conflict.c: Minor cleanups.
4338 * optabs.c: Add blank line
4339 * simplify-rtx.c: Minor cleanups.
4340
4341 2000-04-18 Stan Cox <scox@cygnus.com>
4342
4343 * gengenrtl.c (genlegend): Fix misspelling.
4344
4345 2000-04-18 Robert Lipe <robertlipe@usa.net>
4346
4347 * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added. Check that
4348 bitfields of the host compiler are not signed quantities.
4349 * config.in: Regenerate.
4350 * configure: Regenerate.
4351 * system.h (USE_ENUM_BITFIELDS): Added.
4352 (ENUM_BITFIELDS): Added.
4353 * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
4354 (SHORT_ENUM_BUG): Deleted.
4355 * tree.h (tree_common): Members `code', `mode', `built_in_class',
4356 now ENUM_BITFIELD.
4357 * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
4358 (CODE_FIELD_BUG): Likewise.
4359 * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
4360 (OLD_CC): Likewise.
4361 * config/m68k/x-ccur (X_CFLAGS): Likewise.
4362
4363 2000-04-18 Mark Mitchell <mark@codesourcery.com>
4364
4365 * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
4366 mark is active.
4367
4368 2000-04-17 Zack Weinberg <zack@wolery.cumb.org>
4369
4370 * cppexp.c (lex): Don't assume tokens are NUL terminated.
4371 * cpplib.c (do_include, do_import, do_include_next,
4372 read_line_number, detect_if_not_defined): Likewise.
4373 * cpphash.c (collect_expansion): Likewise.
4374 (special_symbol, _cpp_macroexpand): Check return from
4375 cpp_file_buffer.
4376 * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
4377 macros. Delete all uses.
4378
4379 * gcc.dg/cpp-mi.c: Add two more test cases.
4380 * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
4381
4382 2000-04-17 Richard Henderson <rth@cygnus.com>
4383
4384 * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
4385 (reorder_basic_blocks): If no epilogue in rtl, force last block last.
4386
4387 2000-04-17 Mark Mitchell <mark@codesourcery.com>
4388
4389 * function.c (expand_function_start): Use hard_function_value to
4390 compute the RTL to use for DECL_RESULT.
4391
4392 Mon Apr 17 23:35:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
4393
4394 * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
4395 (x86_integer_DFmode_moves, x86_partial_reg_dependency,
4396 x86_memory_mismatch_stall): New global variables.
4397 (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
4398 alloved; fix load penalties for Athlon.
4399 * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
4400 x86_memory_mismatch_stall): Declare.
4401 (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
4402 TARGET_MEMORY_MISMATCH_STALL): New.
4403 * i386.md (athlon scheduling parameters): Fix latencies according to
4404 Athlon Optimization Manual.
4405 (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
4406 vector.
4407 (fsqrt instruction patterns): Set athlon_decode to direct.
4408 (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
4409 PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
4410 (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
4411 and TARGET_PARTIAL_REGISTER_STALL machines.
4412 (pushdf_nointeger): New pattern.
4413 (pushdf_integer): Rename from pushdf.
4414 (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
4415 (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
4416
4417 2000-04-17 Richard Henderson <rth@cygnus.com>
4418
4419 * loop.c (canonicalize_condition): Add WANT_REG argument.
4420 Stop the search if we match it.
4421 * expr.h (canonicalize_condition): Update decl.
4422 * predict.c (expected_value_to_br_prob): Use it. Track last
4423 expected value note.
4424 (find_expected_value): Remove.
4425
4426 * reorg.c (mostly_true_jump): Always use BR_PROB if present.
4427
4428 2000-04-17 Zack Weinberg <zack@wolery.cumb.org>
4429
4430 * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
4431 (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
4432 a plain file.
4433 * configure.in: Call AC_FUNC_MMAP_FILE.
4434 * configure: Regenerate.
4435 * config.in: Regenerate.
4436
4437 * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
4438 * fixinc/fixincl.c: Likewise.
4439
4440 2000-04-17 Richard Henderson <rth@cygnus.com>
4441
4442 * builtins.c (expand_builtin_expect): New.
4443 (expand_builtin): Call it.
4444 * builtins.def (BUILT_IN_EXPECT): New.
4445 * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
4446 * extend.texi: Document it.
4447
4448 * predict.c (expected_value_to_br_prob): New.
4449 (find_expected_value): New.
4450 * basic-block.h (expected_value_to_br_prob): Declare.
4451 * toplev.c (rest_of_compilation): Invoke it.
4452
4453 * rtl.h (NOTE_EXPECTED_VALUE): New.
4454 (NOTE_INSN_EXPECTED_VALUE): New.
4455 * rtl.c (note_insn_name): Update.
4456 * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
4457 cases; handle NOTE_INSN_EXPECTED_VALUE.
4458
4459 2000-04-17 Jakub Jelinek <jakub@redhat.com>
4460
4461 * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
4462 leaf sibcall delay slot if flag_pic.
4463 (output_sibcall): Always emit call for leaf sibcall if flag_pic.
4464
4465 2000-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4466
4467 * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
4468
4469 * fixproto: If fix-header fails, exit with an error.
4470
4471 Mon Apr 17 14:59:36 MET DST 2000 Jan Hubicka <jh@suse.cz>
4472
4473 * cse.c (struct check_depdendence_data): New.
4474 (check_dependence): New function.
4475 (invalidate): Use check_depdenence.
4476
4477 2000-04-16 Mark Mitchell <mark@codesourcery.com>
4478
4479 * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
4480 UNITS_PER_WORD is unsigned.
4481
4482 * tree.h (struct tree_common): Remove misleading comment.
4483
4484 2000-04-16 Dave Pitts <dpitts@cozx.com>
4485
4486 * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
4487 message in quotes. Otherwise, IBM's make program treats the '#' as the
4488 start of a comment and ignores the remainder of the line.
4489
4490 * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
4491 upper case.
4492 * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
4493 * cexp.y (initialize_random_junk): Likewise.
4494 * cppfiles.c (find_include_file): Cast alloca return value.
4495 * cppinit.c (initialize_standard_includes): Likewise.
4496 * cpplib.c (cpp_define, cpp_undef): Likewise.
4497 * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
4498 * final.c (output_asm_insn): Allow for holes in EBCDIC.
4499 * fold-const.c (CHARMASK): New.
4500 (real_hex_to_f): Use it.
4501 * real.c (CHARMASK): New.
4502 (etoasc, asctoeg): Use it.
4503 (asctoeg): EBCDIC lower case characters preceed upper case.
4504
4505 * i370.c (mvs_add_label): Change spacing for coding conventions.
4506 * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
4507 outputing case vectors.
4508 (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
4509 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
4510 since vector in in the data CSECT.
4511 (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
4512 * i370.md (Many patterns): Put the length in the XL directives.
4513 (movdi): Put back STM and MVC in definition.
4514 (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
4515 pattern using the TCA.
4516 * oe.h (CPP_SPEC): Added to allow trigraphs.
4517 * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
4518 not support the "long long" type.
4519
4520 2000-04-16 Mark Mitchell <mark@codesourcery.com>
4521
4522 * config/mips/mips-protos.h (mips_legitimate_address_p): New
4523 function.
4524 (mips_reg_mode_ok_for_base_p): Likewise.
4525 * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
4526 (REG_OK_FOR_INDEX_P): Define unconditionally.
4527 (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
4528 (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
4529 * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
4530 that GET_MODE_SIZE is unsigned.
4531 (mips_reg_mode_ok_for_base_p): Define.
4532 (mips_legitimate_address_p): Likewise. Adjust now
4533 that GET_MODE_SIZE is unsigned.
4534 (block_move_loop): Make the number of bytes unsigned.
4535 (expand_block_move): Likewise.
4536 (function_arg): Make the loop counter unsigned to match the
4537 boundary condition.
4538
4539 2000-04-16 Richard Henderson <rth@cygnus.com>
4540
4541 * rtl.h (enum insn_note): New enumeration. Subsume
4542 NOTE_INSN_DELETED and friends.
4543 (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
4544 * rtl.c (note_insn_name): Tweak string order.
4545
4546 2000-04-15 Zack Weinberg <zack@wolery.cumb.org>
4547
4548 * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
4549 to offset * 2.
4550
4551 * cpplex.c (output_line_command): Remove debugging prints.
4552 (cpp_output_tokens): Don't write out a zero-length buffer or
4553 try to see if it has a newline in it.
4554 (_cpp_expand_to_buffer): Copy the source buffer before pushing.
4555 (_cpp_read_and_prescan): Move shift-down of pushback bytes to
4556 the end of the loop. Use memmove. Don't read past the end of
4557 the buffer. Remove trailing newlines from error messages.
4558
4559 2004-04-16 Neil Booth <NeilB@earthling.net>
4560
4561 * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
4562 * cpplib.c: Add new syntax flags to directive table, and
4563 supporting macros.
4564
4565 2000-04-15 Ulrich Drepper <drepper@redhat.com>
4566
4567 * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
4568 using ret $N.
4569
4570 2000-04-15 David Edelsohn <edelsohn@gnu.org>
4571
4572 * toplev.c (display_help): Prefix "f" to "sched-verbose=".
4573 * haifa-sched.c: Update -fsched-verbose comments to use "=".
4574
4575 Sat Apr 15 10:59:19 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4576
4577 * Makefile.in (ggc-page.o): Now includes toplev.h.
4578 * ggc-page.c (toplev.h): Now included.
4579 (gc_time): Remove declaration.
4580 (ggc_collect): TIME now long.
4581 * toplev.c (parse_time, varasm_time, gc_time): Still global; all
4582 others static.
4583 * toplev.h (gc_time, parse_time, gc_time): New declarations.
4584
4585 * toplev.c: Make *_time variable long to reduce chance of overflow.
4586 (TIMEVAR): Likewise for `otime'.
4587 (print_time): Arg is now long; compute percentage in FP and round.
4588 * toplev.h (print_time): Arg is long.
4589
4590 * tree.c: Minor whitespace changes.
4591
4592 * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
4593 * configure: Rebuilt.
4594 * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
4595 (__fixunsxfDI): Renamed from __fixunsxfdi.
4596 (__fixunsdfDI): Renamed from __fixunsdfdi.
4597 (__fixunssfDI): Renamed from __fixunssfdi.
4598 (__floatdisf): Use proper type in REP_BIT macro.
4599 (__fixunsxfSI): Renamed from __fixunsxfsi.
4600 (__fixunsdfSI): Renamed from __fixunsdfsi.
4601 (__fixunssfSI): Renamed from __fixunssfsi.
4602 * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
4603 Change location of macros and upper-case some names as above.
4604 * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
4605 * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
4606
4607 * varasm.c (assemble_variable): Add cast to remove warning.
4608 (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
4609
4610 * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
4611 * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
4612 region number to -1.
4613
4614 2000-04-15 Richard Earnshaw (rearnsah@arm.com)
4615
4616 * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
4617 call unshare_all_rtl.
4618
4619 * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
4620
4621 Fri Apr 14 16:58:45 2000 Jim Wilson <wilson@cygnus.com>
4622
4623 * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
4624 Use .s1 not .s0 for all FP instructions.
4625
4626 2000-04-14 Zack Weinberg <zack@wolery.cumb.org>
4627
4628 * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
4629 interfaces.
4630 (safe_fwrite, output_line_command): New static functions.
4631 (cpp_expand_to_buffer): Now private to cpplib.
4632 (cpp_scan_buffer): Take a printer.
4633
4634 * cpphash.h: Update prototypes.
4635 * cpplib.h: Update prototypes.
4636 (cpp_printer): New.
4637 (cpp_buffer): Remove last_nominal_fname.
4638 (cpp_reader): Remove lineno.
4639
4640 * cppmain.c: Use a cpp_printer.
4641 * fix-header.c: No need to inhibit line commands. Call
4642 cpp_start_read with no printer.
4643
4644 * cpperror.c (cpp_notice_from_errno): Provide default name.
4645 * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
4646 (find_include_file, cpp_read_file): Use make_IHASH.
4647 (file_cleanup): Set control_macro and clear
4648 input_stack_listing_current here.
4649 (_cpp_execute_include): Don't output entering-file marker.
4650 * cpphash.c (special_symbol): Look for the line number in the
4651 buffer, not the reader.
4652 (_cpp_macroexpand): No need to disable line commands.
4653 (_cpp_dump_definition): No need to generate line commands.
4654 (dump_hash_helper): Remove excess newline from output.
4655 * cppinit.c (dump_special_to_buffer): No need to generate line
4656 commands.
4657 (cpp_printer_init): New.
4658 (cpp_start_read): Take a printer, and start it up if it's not
4659 NULL. No need to generate line commands.
4660 (cpp_finish): Expect no buffers stacked at all. Take a
4661 printer argument, and flush the output buffer if it's not
4662 NULL.
4663 * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
4664 Don't put two hashes at the beginning of an assertion.
4665 (cpp_get_token): Don't increment pfile->lineno or emit line
4666 commands here. Return EOF if there's no buffer when we get
4667 EOF.
4668 * cpplib.c (do_define, skip_if_group):
4669 No need to disable line commands.
4670 (_cpp_output_line_command): Delete function.
4671 (do_line): Don't emit line commands here, but set things up so
4672 they will be emitted if necessary. Use _cpp_fake_ihash to
4673 make unique nominal_fnames if necessary.
4674 (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
4675 with 0 for column, not -1.
4676 (_cpp_handle_eof): Don't set the control macro here. Don't
4677 clear input_stack_listing_current here. Don't emit line
4678 commands.
4679
4680 2000-04-14 Geoff Keating <geoffk@cygnus.com>
4681
4682 * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
4683 always, use the default SVR4 start address.
4684
4685 * config/rs6000/linux.h (LINK_SPEC): Don't define.
4686 (LINK_SHLIB_SPEC): Define.
4687 (LINK_START_DEFAULT_SPEC): Define.
4688 (LINK_OS_DEFAULT_SPEC): Define.
4689
4690 * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
4691
4692 * config/rs6000/eabi.asm (__eabi): Call __init rather than
4693 __do_global_ctors to handle constructors.
4694 * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
4695 (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
4696 (STARTFILE_MVME_SPEC): Likewise.
4697 (STARTFILE_SIM_SPEC): Likewise.
4698 (ENDFILE_ADS_SPEC): Use crtend.
4699 (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
4700 (ENDFILE_MVME_SPEC): Likewise.
4701 (ENDFILE_SIM_SPEC): Likewise.
4702 (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
4703 (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
4704 (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
4705 (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
4706 * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
4707 (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
4708 (CRTSTUFF_T_CFLAGS_S): Define.
4709 * config/rs6000/eabi-ctors.c: Delete.
4710
4711 * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
4712 boundary.
4713 (__fini): Likewise.
4714 * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
4715 boundary.
4716 (__fini): Likewise.
4717
4718 Fri Apr 14 16:09:02 2000 Jim Wilson <wilson@cygnus.com>
4719
4720 * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
4721 plus mask size is smaller or equal to the mode size.
4722
4723 Fri Apr 14 18:07:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4724
4725 * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
4726 not yet set.
4727
4728 * expr.c (reload.h): Now included.
4729 (emit_block_move): Set volatile_ok when checking for movstr.
4730 (emit_move_1): Check for replacements in addresses in multi-word case.
4731 * Makefile.in (expr.o): Now includes reload.h.
4732
4733 * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
4734 Never have a LIBCALL end a basic block.
4735 (find_basic_blocks_1): Likewise.
4736 Reorganize CALL_INSN cases.
4737
4738 * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
4739
4740 Fri Apr 14 10:54:22 2000 Jim Wilson <wilson@cygnus.com>
4741
4742 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
4743 completers from mov.ret instruction.
4744
4745 2000-04-14 Richard Henderson <rth@cygnus.com>
4746
4747 * fold-const.c (extract_muldiv): Don't distribute and widen
4748 multiply across plus for non-sizetype unsigned types.
4749
4750 2000-04-14 Richard Henderson <rth@cygnus.com>
4751
4752 * flow.c (find_auto_inc): Don't autoinc eliminable registers.
4753 If the original source is dead in the incr insn, it's dead now.
4754
4755 Fri Apr 14 07:40:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4756
4757 * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
4758 see if DECL_BIT_FIELD needs to still be set.
4759
4760 * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
4761
4762 * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
4763 print_int_cst_octal with something that's not an INTEGER_CST.
4764
4765 * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
4766 and not a SUBREG to a FLOAT rtl.
4767
4768 Thu Apr 13 19:39:56 2000 Clinton Popetz <cpopetz@cygnus.com>
4769
4770 * emit-rtl.c (try_split): Avoid infinite loop if the split
4771 results in a sequence that contains the original insn.
4772
4773 2000-04-13 Andreas Jaeger <aj@suse.de>
4774
4775 * config/mips/mips.c (expand_block_move): Pass alignment
4776 argument to move_by_pieces in bits, not bytes.
4777
4778 * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
4779 __pic__ for little endian.
4780
4781 2000-04-13 Andreas Jaeger <aj@suse.de>
4782
4783 * config/i386/i386-protos.h: Add prototype for
4784 uno_comparison_operator.
4785
4786 Thu Apr 13 15:55:08 MET DST 2000 Jan Hubicka <jh@suse.cz>
4787
4788 * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
4789 * calls.c (ECF_PURE): New flag.
4790 (emit_call_1): Handle ECF_PURE calls.
4791 (initialize_argument_information): Unset ECF_PURE flag too.
4792 (precompute_arguments): Precompute for ECF_PURE too.
4793 (expand_call): Handle ECF_PURE calls too.
4794 (emit_library_call_value_1): Rename no_queue argument to fn_type,
4795 accept value of 2 as pure function.
4796 (emit_library_call_value, emit_library_call): Rename no_queue argument
4797 to fn_type.
4798 * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
4799
4800 * tree.h (DECL_IS_PURE): New macro.
4801 (struct tree_decl): Add pure_flag.
4802 * c-common.c (enum attrs): Add attribute "pure".
4803 (init_attributes): Initialize attribute "pure"
4804 (decl_attributes): Handle attribute "pure".
4805 * extend.texi (Attribute "pure"): Document.
4806 * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
4807 in pure function.
4808 (flags_from_decl_or_type): Support attribute "pure".
4809
4810 2000-04-13 Jason Merrill <jason@casey.cygnus.com>
4811
4812 * cpplex.c (_cpp_lex_token): Handle digraphs. Don't null-terminate
4813 the token except for numbers and identifiers.
4814
4815 Thu Apr 13 00:09:16 EDT 2000 John Wehle (john@feith.com)
4816
4817 * i386.c (ix86_expand_binary_operator,
4818 ix86_expand_unary_operator): Check no_new_pseudos
4819 instead of reload_in_progress and reload_completed.
4820 (ix86_split_ashldi, ix86_split_ashrdi,
4821 ix86_split_lshrdi): Check no_new_pseudos instead
4822 of reload_completed.
4823
4824 2000-04-12 Jeffrey A Law (law@cygnus.com)
4825
4826 * function.c (purge_addressof): Unshare any shared rtl created by
4827 purge_addressof and its children.
4828
4829 2000-04-12 Mark Mitchell <mark@codesourcery.com>
4830
4831 * function.c (aggregate_value_p): VOID_TYPE nodes are never
4832 aggregates.
4833
4834 2000-04-05 Andreas Jaeger <aj@suse.de>
4835
4836 * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
4837 not compiling PIC code, add flags for mabi=64.
4838 (SUBTARGET_CPP_SIZE_SPEC): New.
4839 (SUBTARGET_CPP_SPEC): New.
4840 (CPP_PREDEFINES): Define __PIC__ and __pic__. PIC code is default
4841 for MIPS/Linux and lots of code needs these defines.
4842
4843 Wed Apr 12 22:44:11 2000 Hans-Peter Nilsson <hp@axis.com>
4844
4845 * reorg.c (fill_slots_from_thread): Check side_effects_p when
4846 trying the "opposite arithmetic" approach.
4847
4848 Wed Apr 12 20:51:20 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4849
4850 * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
4851 (struct sh_args): Add new field force_mem.
4852 (INIT_CUMULATIVE_ARGS): Initialize it.
4853 (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
4854
4855 Wed Apr 12 17:20:41 MET DST 2000 Jan Hubicka <jh@suse.cz>
4856
4857 * calls.c (expand_call): Do not reverse args in "equal from" field.
4858 (emit_library_call_value_1): Emit_libcall_block for const and pure
4859 function.
4860
4861 Wed Apr 12 16:00:25 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4862
4863 * reload1.c (reload_combine): Don't enable optimization for fixed
4864 registers when encountering a BARRIER.
4865
4866 Wed Apr 12 15:54:11 MET DST 2000 Jan Hubicka <jh@suse.cz>
4867
4868 * builtins.c (expand_builtin_memcmp): Do expansion even with
4869 !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
4870
4871 * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
4872 stack is propertly aligned; add sanity checking for aligned
4873 stack pointer.
4874 (expand_library_call_value_1): Add sanity checking for aligned
4875 stack pointer.
4876
4877 Wed Apr 12 07:51:54 2000 Catherine Moore <clm@cygnus.com>
4878
4879 * calls.c (emit_library_call_value_1): Change 3rd arg to
4880 locate_and_pad_parm to disregard the setting of partial.
4881
4882 Wed Apr 12 08:47:38 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4883
4884 * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
4885
4886 * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
4887 CALL_INSN from the normal case.
4888
4889 Fri Apr 7 12:23:04 MET DST 2000 Jan Hubicka <jh@suse.cz>
4890
4891 * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
4892 New global variables.
4893 (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
4894 adjustment.
4895 * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
4896 Declare,
4897 (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
4898 TARGET_ADD_ESP_8): New macros.
4899 * i386.md: Add peep2s to convert esp adjustments to push and pop
4900 instructions.
4901 (pushsi_prologue, popsi_epilogue): New patterns.
4902
4903 2000-04-12 Jakub Jelinek <jakub@redhat.com>
4904
4905 * real.c (toe64): Remove stale #endif from the last change.
4906
4907 2000-04-12 Stephen L Moshier <moshier@mediaone.net>
4908
4909 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
4910 * real.c (toe64): Revert previous change.
4911
4912 2000-04-12 Jakub Jelinek <jakub@redhat.com>
4913
4914 * objc/objc-act.c: Include ggc.h.
4915 (objc_tree_index, objc_global_trees): Convert most of the
4916 static tree variables into a static array with previous names
4917 as defines.
4918 (objc_ellipsis_node): New variable.
4919 (lang_init): Call objc_act_parse_init and c_parse_init.
4920 Create objc_ellipsis_node.
4921 (build_selector_translation_table): Use objc_ellipsis_node instead
4922 of (tree)1.
4923 (hack_method_prototype): Likewise.
4924 (get_arg_type_list): Likewise.
4925 (start_method_def): Likewise.
4926 (continue_method_def): Likewise.
4927 (gen_method_decl): Likewise.
4928 (ggc_mark_imp_list): New function.
4929 (ggc_mark_hash_table): New function.
4930 (objc_act_parse_init): New function.
4931 * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
4932 * c-parse.in (c_parse_init): For objc add roots of objc specific
4933 local tree variables.
4934 * objc/objc-parse.y: Rebuilt.
4935 * objc/objc-parse.c: Rebuilt.
4936 (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
4937
4938 Wed Apr 12 01:00:44 EDT 2000 John Wehle (john@feith.com)
4939
4940 * cse.c (delete_trivially_dead_insns): Also delete insns
4941 that copy a register to itself where the destination is
4942 a strict_low_part.
4943
4944 2000-04-11 Richard Henderson <rth@cygnus.com>
4945
4946 * flow.c (struct propagate_block_info): Add new_dead, new_live.
4947 (propagate_block): Initialize them. Use them in parallel instead
4948 of one tmp variable, ie revert much of the 0408 and 0407 functional
4949 changes, but keep the structural changes.
4950 (mark_set_regs): Take new_dead from propagate_block_info instead.
4951 (mark_set_1, mark_set_reg): Likewise.
4952 (mark_used_regs): Likewise with new_live.
4953 (mark_used_reg): Likewise. Revert 0408 change.
4954
4955 2000-04-11 Nick Clifton <nickc@cygnus.com>
4956
4957 * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
4958 restriction.
4959 (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
4960
4961 2000-04-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4962
4963 * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
4964 const section to output a CONSTRUCTOR based on the same conditions
4965 used for VAR_DECLs.
4966
4967 Tue Apr 11 09:55:59 2000 Jeffrey A Law (law@cygnus.com)
4968
4969 * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
4970 * pa/pa-protos.h (output_call): Add additional argument indicating
4971 if the call is a sibling/tail call.
4972 (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
4973 (compute_64bit_ior, cmpib_comparison_operator): Likewise.
4974 (function_arg, function_arg_partial_nregs): Likewise
4975 * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
4976 (emit_move_sequence): Zero extend certain constants as needed
4977 for TARGET_64BIT.
4978 (compute_zdepdi_operands, output_64bit_and): New functions.
4979 (output_64bit_ior, function_arg): Likewise.
4980 (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
4981 (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
4982 (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
4983 (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
4984 (output_bvb): Likewise.
4985 (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
4986 (output_call): New argument 'sibcall'. Generate sibcall sequences
4987 as needed.
4988 (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT. For
4989 (ouput_arg_descriptor): Do not emit argument descriptors for
4990 TARGET_64BIT.
4991 * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
4992 defined.
4993 (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
4994 (FUNCTION_OK_FOR_SIBALL): Define.
4995 (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
4996 (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
4997 (CPP_SPEC): Use new spec infrastructure.
4998 (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
4999 (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
5000 (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
5001 (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
5002 (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
5003 (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
5004 (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
5005 (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
5006 (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
5007 (FUNCTION_ARG); Call out to C code.
5008 (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
5009 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
5010 (MIN_UNITS_PER_WORD): Likewise.
5011 * pa/pa.md (cmpdi): New expander.
5012 (scc patterns, movstrsi): Not available for TARGET_64BIT.
5013 (64bit conditional arithmetic): New patterns.
5014 (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
5015 (movsicc): Not available if modes on all the operands to not match.
5016 (movdicc): New expander and associated patterns.
5017 (64bit branches): New patterns.
5018 (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
5019 (pre_ldd, post_std): New patterns.
5020 (64bit addil, load low part): New patterns.
5021 (special movsf constant): Not available for TARGET_64BIT.
5022 (movsf, movdf expanders): Force constants into memory.
5023 (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
5024 (64bit movdf/movdi patterns): New patterns.
5025 (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
5026 for TARGET_64BIT.
5027 (extendqidi2, extendhidi2, extendsidi2): Similarly.
5028 (adddi3 expander): Allow "arith_operand" for second input.
5029 (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
5030 (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
5031 (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
5032 (muldi3): New expander for TARGET_64BIT.
5033 (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
5034 for TARGET_64BIT.
5035 (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
5036 patterns for TARGET_64BIT.
5037 (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
5038 patterns for TARGET_64BIT.
5039 (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
5040 (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
5041 (sibcall_epilogue): New expander.
5042 (casesi): Tweak for TARGET_64BIT.
5043 (call expanders): Set & use the outgoing argument pointer. Use the
5044 64bit call patterns as needed. Add additional arg to output_call.
5045 (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
5046 (sibcall, sibcall_internal_symref): New expanders.
5047 (sibcall_value, sibcall_value_internal_symref
5048 (interspace_jump): Turn into an expander + matching patterns.
5049 (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
5050 * pa/pa64-regs.h: Eliminate trigraph sequences.
5051 * pa/pa64-start.h (TARGET_PA_20): Fix typo.
5052
5053 2000-04-11 Zack Weinberg <zack@wolery.cumb.org>
5054
5055 * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
5056 cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
5057 cpp_token with cpp_ttype everywhere.
5058 * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
5059 Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
5060 CPP_BUF_COL. Line and column numbers are unsigned int, not
5061 long.
5062 * cpplex.c (cpp_buf_line_and_col): Delete.
5063 * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
5064 'long lineno' to 'unsigned int lineno'.
5065 (CPP_BUF_LINE, CPP_BUF_COL): New macros.
5066
5067 2000-04-11 Martin v. Löwis <loewis@informatik.hu-berlin.de>
5068
5069 * extend.texi: ISO C99 is not a draft anymore.
5070 * invoke.texi: ISO C++ is not a draft anymore.
5071 * cpp.texi: __cplusplus is required by the ISO standard.
5072
5073 * extend.texi (-fthis-is-variable): Undocument.
5074 * flags.h (warn_template_debugging): Remove declaration.
5075 * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
5076 -Wenum-clash, -Wtemplate-debugging): Undocument.
5077
5078 2000-04-10 Nick Clifton <nickc@cygnus.com>
5079
5080 * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
5081 integer.
5082 (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
5083 integer.
5084 (ARM_SIGN_EXTEND): Use HOST_UINT.
5085 (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
5086 (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
5087 (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
5088 (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
5089
5090 * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
5091 (arm_gen_constant): Use HOST_UINT.
5092 (arm_canonicalize_constant): Use HOST_UINT.
5093 (arm_reload_in_hi): Use HOST_UINT.
5094 (arm_reload_out_hi): Use HOST_UINT.
5095 (output_multi_immediate): Use HOST_UINT.
5096 (int_log2): Use HOST_UINT.
5097 (arm_poke_function_name): Use HOST_UINT.
5098 (arm_output_epilogue): Use arm_volatile_func().
5099 (output_thumb_prologue): Use arm_strip_name_encoding().
5100
5101 Mon Apr 10 15:40:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5102
5103 * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
5104 of sequence point problems.
5105
5106 2000-04-10 Nathan Sidwell <nathan@codesourcery.com>
5107
5108 * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
5109 Recomment.
5110 * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
5111
5112 Mon Apr 10 07:21:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5113
5114 * sbitmap.h: Whitespace changes and use upper-case macro args.
5115 (struct simple_bitmap_def): All sizes now unsigned.
5116 (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
5117 * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
5118 (sbitmap_vector_alloc): Parms and local vars now unsigned.
5119 (sbitmap_zero): Cast bzero arg to PTR.
5120 (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
5121 (sbitmap_union_of_diffs): Change loop index to unsigned and rework
5122 loop to make structure clearer.
5123 (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
5124 (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
5125 (sbitmap_a_and_b_or_c): Likewise.
5126 (sbitmap_intersection_of_succs): Minor cleanups.
5127 (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
5128 (sbitmap_union_of_preds): Likewise.
5129 (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
5130 (debug_sbitmap): New function.
5131
5132 * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
5133 * c-typeck.c (convert_for_assignment): Likewise.
5134
5135 * expmed.c (init_expmed): Don't free objects we make.
5136 * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
5137
5138 * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
5139 (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
5140
5141 * gcse.c (expr_hash_table_size): Now unsigned.
5142 (compute_ae_gen): Local variable `i' now unsigned.
5143 (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
5144 (compute_transout, hoist_code): Likewise.
5145 (compute_local_properties): Likewise, also hash_table_size.
5146 (alloc_expr_hash_table): N_INSNS now unsigned.
5147 (delete_null_pointer_checks): Mark arg F as unused.
5148
5149 * regrename.c: Minor cleanups, including chang some variables
5150 to unsigned int.
5151
5152 2000-04-10 Neil Booth <NeilB@earthling.net>
5153
5154 * cpplex.c (skip_block_comment): Use pointer arithmetic rather
5155 than GETC ().
5156 * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
5157
5158 2000-04-10 Martin v. Löwis <loewis@informatik.hu-berlin.de>
5159
5160 * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
5161 __classof__, and __headof__ from the list of gnu keywords.
5162 (-ansi): Remove -foperator-names from list of implied options.
5163 Do not call it ANSI C++.
5164 (-foperator-names): Document as -fno-operator-names.
5165
5166 2000-04-09 Zack Weinberg <zack@wolery.cumb.org>
5167
5168 * cpphash.c (timestamp): Delete.
5169 (del_HASHNODE): If type is T_MCONST, free value.cpval.
5170 (special_symbol): Remove unnecessary braces. Remove
5171 T_VERSION. Treat T_STDC like T_CONST unless
5172 STDC_0_IN_SYSTEM_HEADERS. Render both __DATE__ and __TIME__
5173 when one is encountered, then convert them into T_MCONST
5174 nodes.
5175 * cppinit.c (builtin_array): version_string is T_MCONST.
5176 __STDC__ has a "1" in its cpval. Don't have a terminator
5177 entry. Clean up which entries are dumped.
5178 (initialize_builtins): Only __STDC__ gets the special
5179 -traditional treatment. Count the length of builtin_array.
5180 Render version_string here.
5181 * cpphash.h: Remove T_VERSION. Add T_MCONST.
5182 * cpplib.h (struct cpp_reader): Remove timebuf.
5183
5184 2000-04-09 Richard Henderson <rth@cygnus.com>
5185
5186 * genrecog.c (pred): Update comparison_operator for the unordered
5187 operators.
5188
5189 * config/i386/i386.c (no_comparison_operator): Disallow unordered
5190 operators.
5191 (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
5192 (uno_comparison_operator): New.
5193 (put_condition_code): Handle UNORDERED/ORDERED.
5194 (unsigned_comparison): Likewise.
5195 (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
5196 (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
5197 (ix86_expand_fp_compare): Use them. Take scratch as argument,
5198 update all callers. Handle all 8 unordered operators.
5199 (ix86_expand_setcc): Lose the unordered argument, update all callers.
5200 (ix86_expand_branch): Likewise. Don't fully expand fp branches.
5201 * config/i386/i386.h (PREDICATE_CODES): Update.
5202 * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
5203 (ix86_expand_branch, ix86_expand_setcc): Update.
5204 * config/i386/i386.md (sunordered, sordered): New.
5205 (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
5206 (bunordered, bordered): New.
5207 (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
5208 (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
5209 (*fp_jcc_5, *fp_jcc_6, and splitters): New.
5210
5211 2000-04-09 Philip Blundell <philb@gnu.org>
5212
5213 * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
5214
5215 Sun Apr 9 15:16:14 EDT 2000 John Wehle (john@feith.com)
5216
5217 * i386.md (fix_truncsfhi2, fix_truncdfhi2,
5218 fix_truncxfhi2): New patterns.
5219 * i386.c (output_fix_trunc): Handle converting to HImode.
5220
5221 2000-04-08 Alex Samuel <samuel@codesourcery.com>
5222
5223 * ssa.c (convert_to_ssa): Eliminate dead code when calling
5224 life_analysis.
5225 (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
5226 (for_each_successor_phi): Change parameter to basic_block.
5227 (coalesce_regs_in_successor_phi_nodes): Likewise.
5228 (coalesce_regs_in_copies): Likewise.
5229 (compute_coalesced_reg_partition): Use basic_block instead of index.
5230 * rtl.h (convert_to_ssa): Delete.
5231 (convert_from_ssa): Likewise.
5232 (successor_phi_fn): Likewise.
5233 (for_each_successor_phi): Likewise.
5234 (in_ssa_form): Likewise.
5235 * basic-block.h (convert_to_ssa): Moved from rtl.h.
5236 (convert_from_ssa): Likewise.
5237 (successor_phi_fn): Likewise.
5238 (in_ssa_form): Likewise.
5239 (for_each_successor_phi): Likewise. Change parameter to basic_block.
5240 * flow.c (calculate_global_regs_live): Pass a basic_block to
5241 for_each_successor_phi.
5242
5243 2000-04-08 Richard Henderson <rth@cygnus.com>
5244
5245 * flow.c (mark_used_reg): Use reg_set_p to determine if a register
5246 was modified in the current insn.
5247
5248 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
5249
5250 * arm/thumb.md: Delete.
5251 * arm/thumb-protos.h: Delete.
5252
5253 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
5254
5255 Merge changes from merged-arm-thumb-backend-branch onto trunk.
5256
5257 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
5258
5259 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
5260 into branch.
5261
5262 * arm.md (nop): Use the standard RTL expression. Don't code as a
5263 define_expand.
5264 (*arm_nop, *thumb_nop): Delete.
5265
5266 * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
5267 constants. Use casts instead.
5268 (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
5269 output_multi_immediate, arm_poke_function_name): Likewise.
5270 * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
5271 MASK_RETURN_ADDDR): Likewise.
5272
5273 2000-03-31 Richard Earnshaw (rearnsha@arm.com)
5274
5275 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
5276 into branch.
5277
5278 * arm.md (eh_epilogue): New function.
5279 * arm.h (struct machine_function): Move to here ...
5280 * arm.c: ... from here.
5281 (arm_output_epilogue): Support epilogues for __builtin_eh_return.
5282 (thumb_exit): Extra parameter eh_ofs. All callers changed.
5283 Handle epilogues for __builtin_eh_return. Make bit-fields unsigned.
5284
5285 2000-03-30 Nick Clifton <nickc@cygnus.com>
5286
5287 * config/arm/semi.h (ASM_SPEC): Restore definition.
5288 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
5289
5290 * config/arm/elf.h (ASM_SPEC): Restore definition.
5291 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
5292
5293 * config/arm/arm.h (ASM_SPEC): Remove definition.
5294 (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
5295
5296 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
5297
5298 * config/arm/arm.c: Disable -fschedule-insns for Thumb.
5299
5300 2000-03-24 Nick Clifton <nickc@cygnus.com>
5301
5302 Various formating tidyups, elimination of compile time
5303 warnings and synchronisation with internal sources:
5304
5305 * config/arm/arm-protos.h (assemble_align): Add prototype.
5306 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
5307 (gen_comapre_reg): Rename to arm_gen_compare_reg.
5308 (arm_return_addr_rtx): Rename to arm_return_addr.
5309
5310 * config/arm/arm.c: Include except.h.
5311 Define shorter typenames for strict minipool_node and struct
5312 minipool_fix.
5313 (arm_return_in_memory): For WinCE return all structures <= 32 bits
5314 in memory.
5315 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
5316 (gen_comapre_reg): Rename to arm_gen_compare_reg.
5317
5318 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
5319 already defined.
5320 (ASM_SPEC): Define if not already defined.
5321 (ASM_OUTPUT_DEF_FROM_DECLS): Define.
5322
5323 * config/arm/arm.md: Rename references to gen_rotated_half_load to
5324 arm_gen_rotated_half_load, and references to gen_comapre_reg to
5325 arm_gen_compare_reg.
5326 (indirect_jump): Only accept register operands.
5327 (load_indirect_jump): Keep this pattern since combine can generate
5328 it.
5329
5330 * config/arm/coff.h: Include aout.h.
5331 (MULTILIB_DEFAULTS): Only define if not already defined.
5332
5333 * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
5334 into arm.h (so that COFF ports can support thumb based aliases).
5335 (ASM_SPEC): Move definition into arm.h
5336
5337 * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
5338 redundant apcs spec.
5339 (ASM_SPEC): Move definition to arm.h
5340
5341 * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
5342
5343 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
5344 for entries in the .bss section
5345
5346 2000-03-23 Nick Clifton <nickc@cygnus.com>
5347
5348 * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
5349 to thumb_far_jump_used_p.
5350
5351 * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
5352 single integer parameter.
5353
5354 * config/arm/arm.c (struct machine_function): Add two new
5355 fields, 'far_jump_used' and 'arg_pointer_live'.
5356 (thumb_far_jump_used_p): Once the decision has been made that
5357 far jumps might be used, always return true.
5358 If being called from the initial elimination offset macro then
5359 do not bother to perform the test if the arg pointer is not
5360 being used.
5361 (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
5362 (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
5363
5364 2000-03-23 Richard Earnshaw (rearnsha@arm.com)
5365
5366 * arm.c (output_return_instruction): Handle more cases where we can
5367 return from a function with an ldr instruction.
5368 (arm_output_epilogue): Likewise.
5369
5370 * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
5371 if we need to push a large stack frame and there are no callee-saved
5372 registers.
5373
5374 * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
5375 in ARM code if the frame pointer has been eliminated.
5376
5377 * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
5378 unspec_volatile arguments to avoid duplicates.
5379 (consttable_1, consttable_2): Fixes for big-endian mode.
5380
5381 * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
5382 as appropriate.
5383
5384 Re-write constant pool code.
5385 * arm.c (minipool_node, minipool_fix): New types.
5386 (minifix): Delete type.
5387 (arm_add_minipool_constant): Delete.
5388 (arm_compute_minipool_offsets, arm_find_barrier,
5389 arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
5390 (get_jump_table_size): Now returns HOST_WIDE_INT.
5391 (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
5392 functions.
5393 (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
5394 (assign_minipool_offsets, arm_print_value): Likewise.
5395 (dump_minipool): Rewrite.
5396 (arm_barrier_cost): New function.
5397 (create_fix_barrier): New function.
5398 (push_minipool_barrier): New function.
5399 (push_minipool_fix): Record additional information about the fixup
5400 required.
5401 (note_invalid_constants): Remove push for (UNSPEC 3). Don't
5402 check the mode of what needs fixing.
5403 (arm_reorg): Rewrite.
5404
5405 2000-03-08 Nick Clifton <nickc@cygnus.com>
5406
5407 * config/arm/arm.md (indirect_jump): Force constant addresses into
5408 a register.
5409
5410 2000-03-01 Bernd Schmidt <bernds@cygnus.co.uk>
5411
5412 * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
5413
5414 2000-02-24 Nick Clifton <nickc@cygnus.com>
5415
5416 * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
5417 adjust is word aligned.
5418 (thumb_expand_epilogue): Make sure that stack adjust is word
5419 aligned.
5420
5421 * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
5422
5423 2000-02-24 Bernd Schmidt <bernds@cygnus.com>
5424
5425 * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
5426 pointer relative addresses.
5427
5428 2000-02-10 Richard Earnshaw <rearnsha@arm.com>
5429
5430 * arm.c (find_barrier): Find the last barrier within the allowed
5431 range.
5432
5433 2000-02-09 Nick Clifton <nickc@cygnus.com>
5434
5435 * config/arm/arm-protos.h: Replace PROTO with PARAMS.
5436
5437 2000-02-09 Nick Clifton <nickc@cygnus.com>
5438
5439 * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
5440 ARM_FUNCTION_PROFILER.
5441
5442 * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
5443 ARM_FUNCTION_PROFILER.
5444
5445 * config/arm/linux-oldld.h: Imported from mainline sources.
5446
5447 2000-02-07 Nick Clifton <nickc@cygnus.com>
5448
5449 * config/arm/lib1funcs.asm: Merge in thumb functions from
5450 lib1thumb.asm.
5451
5452 * config/arm/lib1thumb.asm: Delete.
5453
5454 2000-02-04 Nick Clifton <nickc@cygnus.com>
5455
5456 * config/arm/arm.c: Sychronised with current Red hat local
5457 sources.
5458 * config/arm/arm.h: Ditto.
5459 * config/arm/arm-protos.h: Ditto.
5460
5461 2000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
5462
5463 * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
5464
5465 * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
5466 byte stores.
5467
5468 2000-02-02 Nick Clifton <nickc@cygnus.com>
5469
5470 * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
5471
5472 * config/arm/arm.md (epilogue): Fix rtl checking abort because
5473 (return) was emited using an emit_insn() call.
5474
5475 2000-01-31 Nick Clifton <nickc@cygnus.com>
5476
5477 * config/arm/arm.c (output_thumb_prologue): Fix bug generating
5478 thumb stack frame.
5479 (thumb_exit): Move frame pointer back into hard frame pointer
5480 register if backtracing is being used.
5481
5482 2000-01-13 Richard Earnshaw (rearnsha@arm.com)
5483
5484 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
5485 into branch.
5486
5487 1999-12-15 Bernd Schmidt <bernds@cygnus.co.uk>
5488
5489 * config/arm/arm.md (neg_pool_offset): Provide default for new
5490 attribute.
5491 (arm_movsi_insn): Add neg_pool_offset attribute.
5492 * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
5493 rtx for the insn that starts the scan and an unsigned long for its
5494 address. Add MIN_OFFSET and PINSERTED args. All callers changed.
5495 Change scan to ignore insns before MIN_OFFSET. Store size of inserted
5496 instructions in *PINSERTED.
5497 (struct minipool_fixup): Add MIN_ADDRESS elt.
5498 (sort_fixups): Compute it.
5499 (arm_reorg): Changes to support inserting pools before the insn to be
5500 fixed up.
5501
5502 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
5503
5504 * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
5505 * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
5506 * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
5507
5508 Wed Nov 3 10:04:07 1999 Nick Clifton <nickc@cygnus.com>
5509
5510 * config/arm/semi.h (TARGET_VERSION): Do not define if already
5511 defined.
5512 (TARGET_DEFAULT): Do not define if already defined.
5513
5514 Tue Nov 2 10:37:25 1999 Nick Clifton <nickc@cygnus.com>
5515
5516 * config/arm/arm.md (anddi3): Allow disjoint source operands.
5517 (iordi3): Allow disjoint source operands.
5518 (xordi3): Allow disjoint source operands.
5519 (negdi2): Permit construction for ARM and Thumb.
5520 (arm_negdi2): Renamed version of old negdi2 pattern.
5521 (thumb_negdi2): New pattern: Only permit non-overlapping
5522 source and destination.
5523
5524 Fri Oct 29 18:52:38 1999 Nick Clifton <nickc@cygnus.com>
5525
5526 * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
5527 scratch low register so that it will not be deleted.
5528
5529 Fri Oct 29 15:23:48 1999 Nick Clifton <nickc@cygnus.com>
5530
5531 * config/arm/pe.h (ARM_PE): Define.
5532
5533 * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
5534 interfacearm attribute if this is a PE toolchain.
5535 (output_return_instruction): Do not emit anything if the function
5536 has the naked attribute set.
5537 (is_called_in_ARM_mode): If the function has the interfacearm
5538 attribute then return true.
5539 (thumb_expand_prologue): Do not generate a prologue for naked
5540 functions.
5541 (thumb_expand_epilogue): Do not generate an epilogie for a naked
5542 function.
5543 (output_thumb_prologue): Do not bother if the function is naked.
5544 Strip PE encoding from function name before emitting.
5545
5546 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
5547
5548 * arm.md (pic_load_addr): Fix constraints.
5549
5550 * arm.md (casesi_insn): Fix mis-applied patch.
5551
5552 * arm.md ("core" function unit): Add rules for single- and
5553 multi-cycle insns.
5554 (All TARGET_THUMB patterns): Add "type" attribute information
5555 where needed.
5556 * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
5557 the following insn is a CALL.
5558
5559 * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
5560 pointer.
5561 * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
5562 ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
5563 (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
5564
5565 Wed Oct 27 14:40:48 1999 Nick Clifton <nickc@cygnus.com>
5566
5567 * config/arm/linux-gas.h: oops - this file was missed out when the
5568 branch was created...
5569
5570 Tue Oct 26 17:07:38 1999 Richard Earnshaw <rearnsha@arm.com>
5571
5572 * thumb.c: Deleted. Move contents to ...
5573 * arm.c: ... here.
5574 * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
5575 rule for thumb.o
5576 * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
5577 * configure: Regen.
5578
5579 * arm-protos.h: Use RTX_CODE and tidy up long lines. Don't
5580 declare a prototype for asm_output_align();
5581
5582 * arm.c (thumb_condition_code): Delete.
5583 (arm_print_operand): Always use arm_condition_code array.
5584
5585 * arm.c (thumb_return_addr_rtx): Delete.
5586 (arm_save_machine_status, arm_restore_machine_status): Delete.
5587 (arm_init_machine_status, arm_mark_machine_status): New functions.
5588 (arm_init_expanders): Update accordingly.
5589 (arm_return_addr): Renamed from arm_return_addr_rtx. Rewrite.
5590 (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
5591 * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
5592
5593 Tue Oct 26 13:24:16 1999 Nick Clifton <nickc@cygnus.com>
5594
5595 * configure.in : Fix arm-*-aout target to use new t-arm-aout
5596 script.
5597 * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
5598 targets.
5599
5600 Tue Oct 26 11:27:12 1999 Nick Clifton <nickc@cygnus.com>
5601
5602 * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
5603 stack backtrace structure.
5604
5605 * config/arm/arm-protos.h: Add prototypes for functions defined in
5606 arm/pe.h.
5607
5608 * config/arm/arm.c (arm_override_options): Fix selection of
5609 attributes of default processor.
5610
5611 * config/arm/coff.h: Delete needless #include.
5612
5613 * config/arm/pe.c: Delete unused code.
5614
5615 * config/arm/pe.h (CPP_DEFINES): Delete
5616 (SUBTARGET_CPP_SPEC): Define.
5617 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
5618
5619 * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
5620
5621 Mon Oct 25 15:42:09 1999 Richard Earnshaw (rearnsha@arm.com)
5622
5623 * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
5624 updated.
5625 (CAN_DEBUG_WITHOUT_FP): Define.
5626 (FIXED_REGISTERS): Make r11 call-saved.
5627 (CALL_USED_REGISTERS): Likewise.
5628 (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
5629 (FRAME_POINTER_REQUIRED): Correct logic for determining when a
5630 frame-pointer is required.
5631 (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
5632 * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
5633 if the target normally needs a stack frame in non-leaf functions.
5634 (use_return_insn): Correct logic for determining when a return
5635 instruction can be used.
5636 (output_return_instruction): Handle the frame-pointer register as
5637 a normal register when not TARGET_APCS_FRAME.
5638 (arm_output_prologue): Likewise.
5639 (arm_output_epilogue): Likewise.
5640 (output_func_epilogue): Likewise.
5641 (arm_expand_prologue): Likewise.
5642 * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
5643
5644 * arm.c (use_return_insn): No need to check floating point regs if
5645 TARGET_SOFT_FLOAT.
5646 (arm_find_minipool_constant): Correct typo; use GET_CODE to get
5647 the code of value stored in the minipool array.
5648 (arm_add_minipool_constant): Likewise.
5649
5650 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5651
5652 * basic-block.h (conflict_graph_enum_fn): K&R fix.
5653
5654 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5655
5656 * tree.c (tree_expr_nonnegative_p): New function.
5657
5658 * tree.h (tree_expr_nonnegative_p): Declare.
5659
5660 * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
5661 elide some sign_compare warnings.
5662 (build_conditional_expr): Likewise.
5663
5664 Sat Apr 8 00:21:51 EDT 2000 John Wehle (john@feith.com)
5665
5666 * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
5667
5668 * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
5669 * i386.c (print_operand): Use the proper suffix for a 387 HImode
5670 operand. Abort if a 387 operand has an unsupported size.
5671
5672 2000-04-08 Neil Booth <NeilB@earthling.net>
5673
5674 * cppexp.c (parse_charconst): Null does not end character
5675 constants.
5676 * cppinit.c (ISTABLE): Null character handled as whitespace.
5677 * cpplex.c (null_warning): new function.
5678 (skip_string): Emit warning if nulls encountered.
5679 (_cpp_skip_hspace): Emit warning if nulls encountered.
5680 (_cpp_lex_token): Emit warning if nulls encountered. Drop
5681 them.
5682 * cpp.texi: Update.
5683
5684 2000-04-07 Richard Henderson <rth@cygnus.com>
5685
5686 * flow.c (loop_depth): Remove.
5687 (reg_next_use, cc0_live, mem_set_list): Replace with ...
5688 (struct propagate_block_info): New.
5689 (life_analysis): Don't allocate reg_next_use.
5690 (propagate_block_delete_insn): Break out of propagate_block.
5691 Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
5692 (propagate_block_delete_libcall): Likewise.
5693 (propagate_block): Create a propagate_block_info struct to pass
5694 to subroutines. Allocate one not two temporary regsets. Don't
5695 clobber memory for const calls. Look for clobbers in
5696 CALL_INSN_FUNCTION_USAGE.
5697 (mark_set_regs): Recognize COND_EXEC.
5698 (mark_set_reg): Break out of mark_set_1.
5699 (mark_used_reg): Break out of mark_used_regs.
5700 (mark_used_regs): Recognize COND_EXEC.
5701 (insn_dead_p): Use propagate_block_info struct.
5702 (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
5703 (find_auto_inc, try_pre_increment_1): Likewise.
5704 (print_rtl_with_bb): Dump regs live at end too.
5705 (count_reg_sets_1): Pass in loop_depth.
5706 (count_reg_sets, count_reg_references): Likewise.
5707 (recompute_reg_usage): Provide it.
5708
5709 2000-04-07 Richard Henderson <rth@cygnus.com>
5710
5711 * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
5712 not the raw files.
5713
5714 2000-04-07 Zack Weinberg <zack@wolery.cumb.org>
5715
5716 * cpplib.c (do_elif): Skip the rest of the line if we're
5717 not going to bother evaluating it.
5718 (skip_if_group): Clear pfile->only_seen_white. Reorder loop
5719 to avoid pointless calls to the lexer.
5720
5721 Fri Apr 7 11:50:54 2000 Jim Wilson <wilson@cygnus.com>
5722
5723 * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
5724
5725 2000-04-07 Jason Merrill <jason@casey.cygnus.com>
5726
5727 * calls.c (expand_call): emit_queue if we're trying a sibcall.
5728
5729 2000-04-07 Jakub Jelinek <jakub@redhat.com>
5730
5731 * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
5732
5733 2000-04-06 Geoff Keating <geoffk@cygnus.com>
5734
5735 * Makefile.in: Build crtbeginS and crtendS like crtbegin and
5736 crtend so they can be multilibbed.
5737 (STAGESTUFF): Remove s-crt and s-crtS.
5738
5739 2000-04-07 Richard Henderson <rth@cygnus.com>
5740
5741 * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
5742 if we discover we need a pseudo and no_new_pseudos is true.
5743 * config/alpha/alpha.md (ne:DI insn): New.
5744 (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
5745
5746 2000-04-07 Richard Henderson <rth@cygnus.com>
5747
5748 * rtl.def (COND_EXEC): New.
5749 * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
5750 * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
5751
5752 * genconfig.c (have_cond_arith_flag): Remove.
5753 (have_cond_exec_flag): New.
5754 (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
5755 (main): Print HAVE_conditional_execution.
5756
5757 * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
5758 (sched_analyze_insn, print_pattern): Likewise.
5759 * reload.c (find_equiv_reg): Likewise.
5760 * rtlanal.c (reg_referenced_p): Likewise.
5761 (note_stores, dead_or_set_regno_p): Likewise.
5762 (reg_overlap_mentioned_p): Rewrite to use a switch.
5763
5764 * ggc.h (struct rtx_def): Forward declare.
5765
5766 * print-rtl.c (debug_rtx_range): New.
5767 * rtl.h (debug_rtx_range): Declare.
5768
5769 * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
5770
5771 * gcse.c (gcse_main): Don't rebuild the CFG here.
5772 (delete_null_pointer_checks): Likewise.
5773 * ssa.c (convert_to_ssa): Likewise.
5774 * toplev.c (rest_of_compilation): Do it here instead. Combine
5775 sequential calls to TIMEVAR. Consistently use `insns' instead of
5776 `get_insns()'. Always split insns after reload when optimizing.
5777
5778 * basic-block.h (merge_blocks_nomove): Declare.
5779 (tidy_fallthru_edge): Declare.
5780 * flow.c (merge_blocks_nomove): Document as merging into previous
5781 blocks. Remove cruft from between blocks; remove all edges out of A.
5782 (tidy_fallthru_edge): Export.
5783
5784 2000-04-06 Alex Samuel <samuel@codesourcery.com>
5785
5786 * ssa.c (compute_conservative_reg_partition): Declare with
5787 void arguments.
5788 * toplev.c (clean_dump_file): Remove previously-deleted function
5789 inadvertantly merged back in.
5790 * conflict.c (conflict_graph_add): Use a single call to
5791 htab_find_slot to look up and insert.
5792
5793 2000-04-06 Richard Henderson <rth@cygnus.com>
5794
5795 * genrecog.c (*): Rename _last_insn to last_insn.
5796 (make_insn_sequence): Set the position of the peephole2 C test
5797 to be at the last insn.
5798
5799 2000-04-06 Richard Henderson <rth@cygnus.com>
5800
5801 * flow.c (compute_flow_dominators): Free worklist.
5802
5803 2000-04-06 Michael Matz <matzmich@cs.tu-berlin.de>
5804
5805 * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
5806
5807 2000-04-06 Alex Samuel <samuel@codesourcery.com>
5808
5809 * rtl.h (INSN_P): New macro.
5810 (successor_phi_fn): New typedef.
5811 (for_each_successor_phi): New prototype.
5812 (in_ssa_form): New variable.
5813 (PHI_NODE_P): Likewise.
5814 * flow.c (calculate_global_regs_live): Add to new_live_at_end from
5815 phi nodes in successors.
5816 (mark_used_regs): Add PHI case.
5817 (set_phi_alternative_reg): New function.
5818 (life_analysis): Assert that dead code elimination is not selected
5819 when in SSA form.
5820 * toplev.c (to_ssa_time): New variable.
5821 (from_ssa_time): Likewise.
5822 (compile_file): Zero to_ssa_time and from_ssa_time.
5823 Print time to convert to and from SSA.
5824 (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
5825 (print_time): Compute percent fraction as integer.
5826 * ssa.c (PHI_NODE_P): Moved to rtl.h.
5827 (convert_to_ssa): Check if we're already in SSA.
5828 Don't eliminate dead code in life_analysis.
5829 Rerun flow and life analysis at bottom.
5830 (eliminate_phi): Use canonical regnos when adding nodes.
5831 (mark_reg_in_phi): New function.
5832 (mark_phi_and_copy_regs): Likewise.
5833 (convert_from_ssa): Rerun life analysis at top.
5834 Use coalesced partition.
5835 Check for removing a phi node at the end of the block.
5836 (compute_coalesced_reg_partition): New function.
5837 (coalesce_regs_in_copies): Likewise.
5838 (coalesce_reg_in_phi): Likewise.
5839 (coalesce_regs_in_sucessor_phi_nodes): Likewise.
5840 (for_each_successor_phi): Likewise.
5841 (rename_context): New struct.
5842 (rename_block): Use a rename_context with rename_insn_1. When
5843 renaming sets of a subreg, emit a copy of the entire reg first.
5844 (rename_insn_1): Treat data as a rename_context *. Save current
5845 insn in set_data.
5846 (rename_set_data): Add field set_insn.
5847 * Makefile.in (HASHTAB_H): Move up in file.
5848 (OBSTACK_H): New macro.
5849 (collect2.o): Use OBSTACK_H in dependencies.
5850 (sdbout.o): Likewise.
5851 (emit-rtl.o): Likewise.
5852 (simplify-rtx.o): Likewise.
5853 (fix-header.o): Likewise.
5854 (OBJS): Add conflict.o.
5855 (conflict.o): New rule.
5856 * basic-block.h: Include partition.h.
5857 (conflict_graph): New typedef.
5858 (conflict_graph_enum_fn): Likewise.
5859 (conflict_graph_new): New prototype.
5860 (conflict_graph_delete): Likewise.
5861 (conflict_graph_add): Likewise.
5862 (conflict_graph_conflict_p): Likewise.
5863 (conflict_graph_enum): Likewise.
5864 (conflict_graph_merge_regs): Likewise.
5865 (conflict_graph_print): Likewise.
5866 (conflict_graph_compute): Likewise.
5867 * conflict.c: New file.
5868
5869 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
5870
5871 * tlink.c (read_repo_files): Don't look for .rpo info for
5872 linker flags.
5873
5874 Thu Apr 6 20:39:26 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5875
5876 * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
5877
5878 Thu Apr 6 19:34:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5879
5880 * config/sh/lib1funcs.asm (___udivsi3_i4):
5881 ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
5882 only depends on FMOVD_WORKS.
5883
5884 Thu Apr 6 19:11:47 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5885
5886 * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
5887 make double constant 8-byte aligned.
5888
5889 2000-04-06 Jakub Jelinek <jakub@redhat.com>
5890
5891 * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
5892 movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
5893 movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
5894 (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
5895 Accept storing GENERAL_REGS into offsetable memory.
5896 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
5897 building a TFmode constant other than 0.0L into GENERAL_REGS.
5898
5899 2000-04-06 Clinton Popetz <cpopetz@cygnus.com>
5900
5901 * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
5902
5903 2000-04-06 Zack Weinberg <zack@wolery.cumb.org>
5904
5905 * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
5906 (macro_cleanup): No need to cast pbuf->macro.
5907 (collect_expansion): Use _cpp_get_define_token. Goto done if
5908 it returns VSPACE. Remove check for trailing space after
5909 CPP_COMMENT.
5910 (_cpp_create_definition): Don't diddle flags here. Return
5911 directly on error.
5912 (unsafe_chars): Handle c1 being EOF.
5913 (push_macro_expansion): Use unsafe_chars for both accidental-paste
5914 checks. Don't push the buffer till after we're done with
5915 them.
5916 * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
5917 (PEEKN, FORWARD, GETC, PEEKC): Use them.
5918 (cpp_push_buffer): Don't set new->alimit. Set new->mark
5919 appropriately.
5920 (_cpp_parse_assertion): Don't NUL terminate.
5921 (_cpp_lex_token): Fix -traditional macro handling. Don't skip
5922 hspace before calling _cpp_parse_assertion. Remove all sets
5923 of only_seen_white. Treat '\f' as hspace. Don't do anything
5924 special with '\n' here.
5925 (maybe_macroexpand): Handle T_EMPTY hash entries without
5926 pushing a buffer at all.
5927 (cpp_get_token): Handle clearing only_seen_white here. Handle
5928 incrementing the line number here. Clear
5929 potential_control_macro as well as only_seen_white, if
5930 appropriate.
5931 (cpp_get_non_space_token): Don't eat CPP_POP tokens.
5932 (_cpp_get_define_token): New function, basically like
5933 _cpp_get_directive_token was but doesn't eat horizontal space.
5934 Don't do anything with only_seen_white here.
5935 (_cpp_get_directive_token): Just call _cpp_get_define_token
5936 repeatedly till it returns non-hspace.
5937
5938 * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
5939 (conditional_skip, skip_if_group): Return int.
5940 (DIRECTIVE_TABLE): Change origin of all conditional directives
5941 to "COND".
5942 (TRAD_DIRECT_P): New macro.
5943 (_cpp_handle_directive): Use _cpp_get_directive_token. Issue
5944 an error for a bogus directive, unless -lang-asm. Use
5945 TRAD_DIRECT_P. Loop calling handler functions till one returns
5946 zero.
5947 (get_macro_name): Don't diddle flags here.
5948 (do_define): Diddle flags here. Use _cpp_get_directive_token.
5949 Create T_EMPTY nodes for #define macro /* nothing */.
5950 (do_undef): Don't copy the name. Use _cpp_get_directive_token.
5951 Use hp->name when calling pass_thru_directive.
5952 (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
5953 Return the result of conditional_skip and/or skip_if_group.
5954 Don't call _cpp_output_line_command.
5955 (consider_directive_while_skipping): Use _cpp_get_directive_token.
5956 Issue -Wtraditional warnings as appropriate. Don't complain
5957 about unrecognized directives. If we are to stop skipping,
5958 return the number of the directive that ended the skip.
5959 (skip_if_group): Use _cpp_get_directive_token. Turn off macro
5960 expansion and line commands while skipping. Return the result
5961 of consider_directive_while_skipping, if nonzero.
5962 (do_endif): Just set potential_control_macro here.
5963 (validate_else): Use _cpp_get_directive_token.
5964 (do_assert, do_unassert): Don't save pointers into the
5965 token_buffer across calls to the lexer. Use
5966 _cpp_get_directive_token.
5967
5968 * cpplib.h (cpp_buffer): Remove alimit and colno. Make mark a
5969 pointer, not an offset. Replace 'data', which was a generic
5970 pointer, with 'macro', which points to a struct hashnode.
5971 (cpp_reader): Add 'potential_control_macro' pointer.
5972 * cpphash.h (T_UNUSED): Replace with T_EMPTY.
5973 (CPP_BUF_GET, CPP_FORWARD): Delete.
5974 (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
5975 (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
5976 ACTIVE_MARK_P): Update.
5977 (_cpp_get_define_token): New internal function.
5978 * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
5979
5980 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
5981
5982 * configure.in: And here.
5983 * configure: Regenerate.
5984 * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
5985 --enable-libstdcxx-v3 is passed at configure time.
5986 * config.h.in: Regenerate.
5987
5988 2000-04-05 Mark Mitchell <mark@codesourcery.com>
5989
5990 * final.c (final): Use xcalloc to allocate line_note_exists.
5991 * function.c (free_after_compilation): Free the temp_slots.
5992 (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
5993 (combine_temp_slot): Free temp_slots when they get combined.
5994 (purge_addressof): Fix typo in comment.
5995 * stmt.c (mark_goto_fixup): Mark the fixup itself.
5996 (expand_fixup): Allocate the fixup with ggc_alloc_obj.
5997
5998 * ggc.h: Include varray.h.
5999 (ggc_pending_trees): Declare.
6000 (ggc_mark_tree_children): Remove declaration.
6001 (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
6002 * ggc-common.c (ggc_pending_trees): New variable.
6003 (ggc_mark_roots): Call ggc_mark_trees.
6004 (ggc_mark_tree_children): Rename to ggc_mark_trees. Process all
6005 the ggc_pending_trees.
6006 * Makefile.in (GGC_H): New variable. Use it throughout in place
6007 of ggc.h.
6008
6009 Thu Apr 6 00:30:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6010
6011 * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
6012 GET_MODE_SIZE.
6013
6014 Wed Apr 5 23:17:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6015
6016 * sh.c (sh_insn_length_adjustment): New function.
6017 * sh-protos.h (sh_insn_length_adjustment): Declare.
6018 * sh.h (ADJUST_INSN_LENGTH): Use it.
6019
6020 Wed Apr 5 12:35:18 2000 Hans-Peter Nilsson <hp@axis.com>
6021
6022 * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
6023 from the insn where REG_RETVAL is added.
6024 (emit_no_conflict_block): Ditto.
6025
6026 * md.texi (Standard Names): Clarify when movX is needed.
6027
6028 * combine.c (simplify_comparison) [MINUS]: Do not replace
6029 all (op (minus A B) 0) with (op A B).
6030
6031 Wed Apr 5 18:03:31 2000 Toshiyasu Morita (toshi.morita@sega.com)
6032 J"orn Rennecke <amylaar@cygnus.co.uk>
6033
6034 * sh.md (block_lump_real_i4): Add missing clobber of T_REG
6035 (block_lump_real): Likewise.
6036
6037 2000-04-05 Chris Demetriou <cgd@netbsd.org>
6038
6039 * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
6040 remaining non-zero debugging masks.
6041
6042 Wed Apr 5 09:44:07 2000 Jeffrey A Law (law@cygnus.com)
6043
6044 * basic-block.h (verify_flow_info): Declare.
6045 (flow_loop_outside_edge_p): Declare.
6046 * flow.c (verify_flow_info): Remove declaration.
6047 (clear_log_links, flow_loop_outside_edge_p): Likewise.
6048
6049 Wed Apr 5 09:34:26 2000 Philippe De Muyter <phdm@macqel.be>
6050
6051 * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
6052 not C++ comments.
6053
6054 2000-04-05 Jakub Jelinek <jakub@redhat.com>
6055
6056 * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
6057 snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
6058 seqdi_zero_trunc+1): Allow splits only if registers are
6059 different.
6060
6061 2000-04-04 Ulrich Drepper <drepper@cygnus.com>
6062
6063 * acconfig.h: Add HAVE_GAS_HIDDEN.
6064 * config.in: Regenerated.
6065 * configure.in: Add test for .hidden pseudo-op in gas.
6066 * configure: Regenerated.
6067 * crtstuff.c: Include auto-host.h.
6068 Emit additional .hidden pseudo-op for __dso_handle if the
6069 assembler knows about it.
6070
6071 2000-04-04 Philippe De Muyter <phdm@macqel.be>
6072
6073 * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
6074 before freeing argnames.
6075 * cpplib.c (do_ifndef): Cast return value of xstrdup.
6076
6077 2000-04-05 Michael Meissner <meissner@redhat.com>
6078
6079 * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
6080 Walton <jonboy@gordian.com> to make memory references with update
6081 work wtih -mregnames.
6082
6083 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6084
6085 * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
6086 (regrename_optimize): Rename variables `def_uses' and
6087 `ext_basic_blocks' to avoid conflicts with similarly named
6088 typedefs in traditional C.
6089
6090 * calls.c (initialize_argument_information): Fix typo in previous
6091 change.
6092
6093 2000-04-04 Richard Henderson <rth@cygnus.com>
6094
6095 * regrename.c (consider_available): Test fixed_regs not
6096 PIC_OFFSET_TABLE_REGNUM.
6097
6098 2000-04-04 Geoff Keating <geoffk@cygnus.com>
6099
6100 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
6101 crtend.
6102 (CRTSTUFF_T_CFLAGS_S): Delete definition.
6103 * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
6104 (ENDFILE_LINUX_SPEC): Always use crtend.
6105 * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
6106 (powerpc-*-linux-gnu): Likewise.
6107 * configure: Regenerate.
6108
6109 * config/rs6000/eabi.h: Don't include sysv4.h.
6110 (MULTILIB_DEFAULTS): Don't define.
6111 * config/rs6000/eabiaix.h: Don't include eabi.h.
6112 * config/rs6000/eabile.h: Delete.
6113 * config/rs6000/eabilesim.h: Delete.
6114 * config/rs6000/eabisim.h: Don't include eabi.h.
6115 * config/rs6000/linux.h: Don't include sysv4.h.
6116 (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
6117 (MULTILIB_DEFAULTS): Don't redefine.
6118 * config/rs6000/rtems.h: Don't include eabi.h.
6119 * config/rs6000/sol2.h: Don't include sysv4le.h.
6120 * config/rs6000/sysv4le.h: Don't include sysv4.h.
6121 * config/rs6000/t-ppc: Delete.
6122 * config/rs6000/t-ppcgas: Correct comment.
6123 * config/rs6000/t-ppcos: Correct comment. Don't build
6124 multilibs for -fPIC, rather use -fPIC -mstrict-align
6125 as default.
6126 * config/rs6000/t-ppc: Delete.
6127 * config/rs6000/vxppc.h: Don't include sysv4.h.
6128 * config/rs6000/vxppcle.h: Delete.
6129 * configure.in: Use multiple header files for p2pc ELF targets
6130 powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
6131 powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
6132 powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
6133 powerpc-vxworks, powerpcle-vxworks. Assume GAS functionality is
6134 always available for these platforms.
6135
6136 2000-04-04 Richard Henderson <rth@cygnus.com>
6137
6138 * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
6139
6140 2000-04-04 Stan Cox <scox@cygnus.com>
6141
6142 * Makefile.in: Add rules for regrename.o
6143 * regrename.c: New file.
6144 * rtl.h (regrename_optimize): Add prototype.
6145 * toplev.c (rename_registers_dump, flag_rename_registers): New variables
6146 (compile_file, decode_d_option): Add support for -frename-registers.
6147 (rest_of_compilation): Call regrename_optimize.
6148 * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
6149 New macros.
6150
6151 2000-04-04 Martin v. Löwis <loewis@informatik.hu-berlin.de>
6152
6153 * Makefile (gccbug): New target.
6154 (doc): Depend on it.
6155 * gcc.texi (Bugs): Link subnodes.
6156 (gccbug): New node.
6157 * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
6158 Document severities, priorities, and classes in bug form.
6159
6160 2000-04-04 Zack Weinberg <zack@wolery.cumb.org>
6161
6162 * cpplex.c (trigraph_map, speccase): Combine into single
6163 table, chartab.
6164 (NORMAL, NONTRI): New macros.
6165 (_cpp_read_and_prescan): Change to use unified table. Use
6166 is_hspace to test for whitespace.
6167
6168 * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
6169 definition that doesn't provoke the "empty body in an
6170 if-statement" warning.
6171
6172 2000-04-04 Clinton Popetz <cpopetz@cygnus.com>
6173
6174 * builtins.c (expand_builtin_strlen): Force the source to
6175 be a memory address.
6176
6177 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6178
6179 * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
6180
6181 Tue Apr 4 19:17:20 MET DST 2000 Jan Hubicka <jh@suse.cz>
6182
6183 * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
6184 ECF_LONGJMP, ECF_FORK_OR_EXEC): New constants.
6185 (ECF_IS_CONST): Rename to ECF_CONST.
6186 (special_function_p): Make static, change interface.
6187 (flags_from_decl_or_type, try_to_integrate): Break out from ...
6188 (expand_call) ... here; convert number of variables to flags.
6189 (emit_library_call_vlue_1): Likewise.
6190 (setjmp_call_p): New function.
6191 (initialize_argument_information): Accepts flags as argument;
6192 return flags.
6193 (precompute_arguments): Likewise.
6194 * tree.h (special_function_p): Remove.
6195 (setjmp_call_p): Add prototype.
6196
6197 2000-04-04 Jakub Jelinek <jakub@redhat.com>
6198
6199 * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
6200 so that addresses are offsetable by up to 16 bytes.
6201 (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
6202 non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
6203 offsetable.
6204
6205 * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
6206 (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
6207 (movsf): Don't force any constant to memory if target is integer
6208 hard register.
6209 Move fp_zero_operand check below the const0_rtx check.
6210 (movtf): Likewise. Also allow fp_zero_operand for stores into
6211 memory.
6212 (movdf): Likewise. Also allow fp_zero_operand for stores into
6213 memory and into integer hard registers.
6214 (clear_df, clear_dfp, movdf_const_intreg_sp32,
6215 movdf_const_intreg_sp64): Remove.
6216 (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
6217 conditions.
6218 (movdf_no_e_insn_v9_sp32): New pattern.
6219 (movdf_insn_v9only): Remove.
6220 (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
6221 (movdf_insn_sp64): Remove.
6222 (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
6223 (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
6224 (following splits): Rewrite conditions. Add two new splits
6225 for storing 0.0 into memory and registers.
6226 (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
6227 (movtf_insn_sp32): Redo constraints and conditions.
6228 (movtf_insn_vis_sp32): New pattern.
6229 (movtf_no_e_insn_sp32): Redo constraints and conditions.
6230 (movtf_insn_hq_sp64): Likewise.
6231 (movtf_insn_hq_vis_sp64): New pattern.
6232 (movtf_insn_sp64): Redo constraints and conditions.
6233 (movtf_insn_vis_sp64): New pattern.
6234 (movtf_no_e_insn_sp64): Redo constraints and conditions.
6235 (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
6236 or memory.
6237 * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
6238 -mvis or -m64 to take down the number of various reload patterns.
6239
6240 Tue Apr 4 00:41:53 2000 Jeffrey A Law (law@cygnus.com)
6241
6242 * pa/pa-64.h: New file.
6243 * pa/pa64-regs.h: New file.
6244 * pa/pa64-start.h: New file.
6245 * pa/t-pa64: New file.
6246 * pa/xm-pa64hpux.h: New file.
6247
6248 2000-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6249
6250 * sparc.c (output_restore_regs): Prototype.
6251 (sparc_emit_float_lib_cmp): Constification.
6252
6253 * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
6254
6255 * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
6256 Prototype.
6257
6258 * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
6259 (get_value_hash, hash_rtx): Likewise.
6260
6261 * ssa.c (compute_conservative_reg_partition): Prototype.
6262
6263 * tree.c (mark_hash_entry): Prototype.
6264
6265 2000-04-03 Zack Weinberg <zack@wolery.cumb.org>
6266
6267 * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
6268 * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
6269 * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
6270
6271 * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
6272 * objc/lang-specs.h: Likewise.
6273
6274 2000-04-03 Neil Booth <NeilB@earthling.net>
6275
6276 * cppexp.c: wrap long lines. New macros CPP_ICE, SYNTAX_ERROR
6277 and SYNTAX_ERROR2. Replace `' in messages with ''.
6278 (op_to_str): Make re-entrant.
6279 (_cpp_parse_expr): Implement new error macros. Use | rather
6280 than || to logically or 2 boolean integers. Simply expression
6281 checking we have a left operand iff needed.
6282
6283 2000-04-03 Nick Clifton <nickc@cygnus.com>
6284
6285 * Makefile.in (diagnostic.o): Depend upon diagnostic.c
6286
6287 2000-04-03 Philip Blundell <philb@gnu.org>
6288
6289 * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
6290
6291 2000-04-03 Felix Lee <flee@cygnus.com>
6292
6293 * fixinc/server.c (find_shell): New function. Avoid $SHELL.
6294 (run_shell): Use it.
6295
6296 2000-04-03 Jonathan Larmour <jlarmour@redhat.co.uk>
6297
6298 * Makefile.in (stmp-int-hdrs): Make include subdir here...
6299 (stmp-fixproto): ...rather than here.
6300
6301 Mon Apr 3 00:50:06 2000 Jason Eckhardt <jle@cygnus.com>
6302
6303 * pa.c (print_operand): Compute 'base' only inside the code paths
6304 that use it.
6305
6306 2000-04-03 Geoffrey Keating <geoffk@cygnus.com>
6307
6308 * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
6309 CEIL_DIV_EXPR.
6310
6311 2000-04-03 Philipp Thomas <pthomas@suse.de>
6312
6313 * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
6314
6315 Mon Apr 3 00:02:59 2000 Brad Lucier <lucier@math.purdue.edu>
6316
6317 * Makefile.in (alias.o): Depend on $(TREE_H).
6318
6319 2000-04-02 Zack Weinberg <zack@wolery.cumb.org>
6320
6321 * cppinit.c (cpp_start_read): Turn off -Wtraditional if
6322 processing C++.
6323 * cpplib.c (_cpp_handle_directive): Improve warnings for
6324 traditional C and indented directives.
6325
6326 * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
6327 fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
6328 fixinc/inclhack.def: Indent the # of #include_next one space.
6329 * cp/rtti.c: Un-indent #if and #endif.
6330
6331 * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
6332 syntax error, but an error has already been printed.
6333 * cpplex.c (_cpp_parse_assertion): Give a more specific error
6334 message when called with nothing remaining on the line.
6335 (_cpp_lex_token): If _cpp_parse_assertion fails, return an
6336 OTHER token, not an ASSERTION.
6337 * cpplib.c (do_assert): When we create a 'base' node, clear
6338 its aschain pointer.
6339
6340 2000-04-02 Neil Booth <NeilB@earthling.net>
6341
6342 * cppexp.c: New typedef op_t. struct operation and struct
6343 token updated to use it.
6344 (op_to_str): New function.
6345 (_cpp_parse_expr): Error messages modified to use op_to_str.
6346
6347 2000-04-02 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6348
6349 * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
6350 before checking MUST_PASS_IN_STACK.
6351
6352 2000-04-02 Neil Booth <NeilB@earthling.net>
6353
6354 * cppexp.c: New FINISHED dummy token. Combine operator initial
6355 flags and initial priority into a single constant. New
6356 EQUALITY macro. New operator flag SHORT_CIRCUIT.
6357 (_parse_cpp_expr): Implement new constants. Take left operand
6358 checks out of reduction loop. Handle SHORT_CIRCUIT. End of
6359 parse indicated by reducing FINISHED token. Remove new lines
6360 from cpp_error messages.
6361
6362 2000-04-01 Mark Mitchell <mark@codesourcery.com>
6363
6364 * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
6365 permanent obstack.
6366
6367 2000-04-01 Zack Weinberg <zack@wolery.cumb.org>
6368
6369 * cpplib.c: Include symcat.h. Add 'origin' field to struct
6370 directive. Add origin values to DIRECTIVE_TABLE. Generate
6371 the strings and function names on the fly. Take the #sccs
6372 entry out of the table if SCCS_DIRECTIVE is not defined.
6373 (_cpp_handle_directive): Decide if the # was at the beginning
6374 of the line here. Issue -pedantic warnings for extended
6375 directives here. Warn about K+R directives with the #
6376 indented, and C89/extended directives with the # not indented,
6377 here.
6378 (do_import, do_include_next, do_warning, do_ident, do_sccs,
6379 do_assert, do_unassert): Don't issue pedantic warning here.
6380
6381 * cpphash.h: Add CPP_WTRADITIONAL macro.
6382 * cpplib.h (struct cpp_options): Rename warn_stringify to
6383 warn_traditional; update comments.
6384 * cppinit.c (handle_option): Set warn_traditional not
6385 warn_stringify.
6386 * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
6387 CPP_WTRADITIONAL (pfile).
6388 * cpplex.c (_cpp_lex_token): Don't decide if directives should
6389 be ignored in -traditional mode here.
6390
6391 * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
6392 to initialize speccase[] and trigraph_map[]. Delete all
6393 references to pfile->input_speccase. Always treat '?' as a
6394 special character. Remove table-initialization code from
6395 _cpp_init_input_buffer.
6396
6397 * cpplib.h (struct cpp_reader): Remove input_speccase field.
6398 * cppinit.c (cpp_cleanup): Don't free input_speccase.
6399
6400 2000-04-01 Richard Henderson <rth@cygnus.com>
6401
6402 * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
6403 (mostlyclean): Likewise.
6404
6405 * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
6406 (struct dump_file_info, enum dump_file_index, dump_file): New.
6407 (open_dump_file): Take a dump_file_index not a suffix, and a decl
6408 not a string. Clean out file if we havn't yet done so. Do nothing
6409 if the dump isn't enabled.
6410 (close_dump_file): Do nothing if the dump isn't open. Dump
6411 graph data if requested.
6412 (dump_rtl, clean_dump_file): Remove.
6413 (compile_file): Don't clean the dump files. Only finalize .bp dump
6414 if flag_test_coverage or flag_branch_probabilities. Only finalize
6415 .combine dump if optimizing. Iterate over dump_file to finalize the
6416 graph dumps.
6417 (rest_of_compilation): Update for open_dump_file/close_dump_file.
6418 Convert all uses of dump_rtl.
6419 (decode_d_option): Iterate over dump_file to implement 'a' and to
6420 locate pass-specific dumps.
6421
6422 2000-04-01 Neil Booth <NeilB@earthling.net>
6423
6424 * cppexp.c: Redefine priority constants.
6425 (_cpp_parse_expr): Replace left and right priority scheme with
6426 single priority logic. Move LOGICAL to same place as COMPARE.
6427 Remove bogus check for multiple unary +/- operators.
6428
6429 2000-04-01 Neil Booth <NeilB@earthling.net>
6430
6431 * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
6432 within the switch statement. Binary operations break out of
6433 the switch naturally. '(' tokens handled by forcing
6434 immediate shift. ')' handled by forcing immediate reduce to
6435 the previous '('. New error messages.
6436
6437 2000-03-31 Geoff Keating <geoffk@cygnus.com>
6438
6439 * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
6440 part', it's already in use. Use %K instead. Add a return at the
6441 end of what is now %K.
6442 * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
6443
6444 Sat Apr 1 02:05:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
6445
6446 * builtins.c (expand_builtin_apply): Pass proper parameters to
6447 allocate_dynamic_stack_space.
6448 * calls.c (emit_call_1): Do not adjust stack pointer for SIB,
6449 update stack_pointer_delta; do not update arg_size_so_far.
6450 (compute_argument_block_size): Use stack_delta instead of
6451 stack_pointer_pending and arg_size_so_far.
6452 (expand_call): Add sanity checking for stack_pointer_delta;
6453 save and restore stack_pointer_delta for SIB, use
6454 stack_pointer_delta for alignment; do not update arg_space_so_far.
6455 (emit_library_call_value): Use stack_pointer_delta for alignment.
6456 (store_one_arg): Do not update arg_space_so_far.
6457 * explow.c (adjust_stack, anti_adjust_stack): Update
6458 stack_pointer_delta.
6459 (allocate_dynamic_stack_space): Add sanity checking for
6460 stack_pointer_delta.
6461 * expr.c (init_expr, clear_pending_stack_adjust): Clear
6462 stack_pointer_delta.
6463 (emit_push_insn): Update stack_pointer_delta.
6464 * function.h (struct expr_status): Add x_stack_pointer_delta;
6465 remove x_arg_space_so_far.
6466 (arg_space_so_far): Remove.
6467 (stack_pointer_delta): New macro.
6468
6469 2000-03-31 Zack Weinberg <zack@wolery.cumb.org>
6470
6471 * cpplib.h: Merge struct cpp_options into struct cpp_reader.
6472 Reorder struct cpp_options and struct cpp_reader for better
6473 packing. Replace CPP_OPTIONS macro with CPP_OPTION which
6474 takes two args. Change all 'char' flags to 'unsigned char'.
6475 Move show_column flag into struct cpp_options. Don't
6476 prototype cpp_options_init.
6477 * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
6478 cppinit.c, cpplex.c, cpplib.c:
6479 Replace CPP_OPTIONS (pfile)->whatever with
6480 CPP_OPTION (pfile, whatever), and likewise for
6481 opts = CPP_OPTIONS (pfile); ... opts->whatever;
6482
6483 * cppinit.c (merge_include_chains): Take a cpp_reader *.
6484 Extract CPP_OPTION (pfile, pending) and work with that
6485 directly.
6486 (cpp_options_init): Delete.
6487 (cpp_reader_init): Turn on on-by-default options here.
6488 Allocate the pending structure here.
6489 (cl_options, enum opt_code): Define these from the same table,
6490 kept in a large macro. Add -fshow-column and -fno-show-column
6491 options.
6492
6493 * cpperror.c (v_message): If show_column is off, don't print
6494 the column number.
6495
6496 * cppmain.c: Update for new interface.
6497 * fix-header.c: Likewise.
6498
6499 2000-03-30 Geoff Keating <geoffk@cygnus.com>
6500
6501 * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
6502 definition.
6503 * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
6504 are passed to any invocation of AR_FOR_TARGET.
6505 (AR_CREATE_FOR_TARGET): New macro.
6506 (AR_EXTRACT_FOR_TARGET): New macro.
6507 (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
6508 AR_EXTRACT_FOR_TARGET.
6509 (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
6510 in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
6511 `$(AR_FOR_TARGET) x'. Pass AR_CREATE_FOR_TARGET and
6512 AR_EXTRACT_FOR_TARGET to sub-makes.
6513
6514 2000-03-31 Neil Booth <NeilB@earthling.net>
6515
6516 * cppexp.c: Delete SKIP_OPERAND. Correct priority
6517 PAREN_INNER_PRIO.
6518 (_cpp_parse_expr): Check for multiple unary +/- operators.
6519 Correct priorities of ':' and '?'. Treat ')' as having a
6520 value. Ensure conditional expression is not void.
6521
6522 2000-03-31 Mark Mitchell <mark@codesourcery.com>
6523
6524 * alias.c (canon_rtx): Make it global.
6525 (rtx_equal_for_memref_p): CONST_INT equality is now pointer
6526 equality.
6527 * cse.c (struct table_elt): Add canon_exp.
6528 (insert): Clear it.
6529 (invalidate): Canonicalize expressions only once.
6530 * rtl.h (canon_rtx): Declare.
6531
6532 2000-03-30 Mark Mitchell <mark@codesourcery.com>
6533
6534 * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
6535 * alias.c (reg_known_value): Add comments.
6536 (init_alias_analysis): Likewise.
6537 * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
6538 address.
6539 (cse_basic_block): Fix typo in comment.
6540 * emit-rtl.c: Include hashtab.h.
6541 (const_int_htab): New variable.
6542 (const_int_htab_hash): New function.
6543 (const_int_htab_eq): Likewise.
6544 (rtx_htab_mark_1): Likewise.
6545 (rtx_htab_mark): Likewise.
6546 (gen_rtx_CONST_INT): Cache all CONST_INTs.
6547 (unshare_all_rtx): Fix formatting.
6548 (init_emit_once): Initialize const_int_htab.
6549 * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
6550 address.
6551 * rtl.texi: Document the fact that all CONST_INTs with the same
6552 value are shared.
6553
6554 2000-03-30 Richard Henderson <rth@cygnus.com>
6555
6556 * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
6557
6558 2000-03-30 Zack Weinberg <zack@wolery.cumb.org>
6559
6560 * configure.in: Comment out --enable-c-cpplib stanza.
6561 * configure: Regenerate.
6562
6563 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6564
6565 * expr.c (store_constructor): Properly compute displacement and
6566 alignment when offset is variable.
6567
6568 * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
6569 cases of alignment in bytes.
6570
6571 Thu Mar 30 13:30:40 2000 Jeffrey A Law (law@cygnus.com)
6572
6573 * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
6574 since it is used to generate c-parse.y.
6575 * objc-parse.c, objc-parse.y: Regenerated.
6576
6577 * function.c (expand_function_end): Pass alignment argument to
6578 emit_block_move in bits, not bytes.
6579
6580 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6581
6582 * expr.c (move_by_pieces_ninsns): Fix one more missing align
6583 correction.
6584
6585 * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
6586
6587 * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
6588 * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
6589 * function.c (assign_parms): Likewise.
6590 * integrate.c (expand_inline_function): Likewise.
6591 * stmt.c (expand_decl): Likewise.
6592 (copy_rtx_and_substitute): Likewise.
6593 * expr.c (expand_expr, expand_expr_unaligned): Likewise.
6594 (clear_by_pieces): Fix error in last change.
6595 * emit-rtl.c (init_emit): Set known registers alignment in bits.
6596 * function.h (regno_pointer_align): Now unsigned.
6597 * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
6598 is in bits.
6599 * config/i386/i386.c (aligned_operand): Likewise.
6600 * config/sparc/sparc.c (mem_min_alignment): Likewise.
6601 * config/alpha/alpha.c (aligned_memory_operand): Likewise.
6602 (unaligned_memory_operand): Likewise.
6603 (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
6604 Also make alignments and sizes unsigned and some whitespace cleanup.
6605 (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
6606
6607 * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
6608 (expand_builtin_apply): Pass alignment to emit_block_move in bits.
6609 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
6610 (expand_builtin_memset): Likewise, but to clear_storage.
6611 * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
6612 (restore_fixed_argument_area): Likewise.
6613 (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
6614 (load_register_parameters): Likewise, to emit_group_load.
6615 (expand_call): Likewise, to emit_group_store and emit_block_move.
6616 (emit_library_call_value_1): Likewise, to emit_block_move.
6617 (store_one_arg): Likewise, and to emit_push_insn.
6618 * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
6619 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
6620 * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
6621 (emit_block_move, emit_group_load, emit_group_store): Likewise.
6622 (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
6623 (expand_assigment, store_expr, store_constructor_field): Likewise.
6624 (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
6625 (store_constructor, store_field, get_inner_reference): Likewise.
6626 Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
6627 (expand_expr, case COMPONENT_REF): Likewise.
6628 (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
6629 and positions; reindent code.
6630 * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
6631 * function.c (purge_addressof_1): Pass bit align to store_bit_field.
6632 (assign_parms): Likewise to emit_group_store.
6633 * optabs.c (prepare_cmp_insn): Alignment is in bits.
6634 (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
6635 * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
6636 (expand_return): Likewise to {extract,store}_bit_field.
6637 * stor-layout.c (get_mode_alignment): Minor cleanup.
6638 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
6639 * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
6640
6641 2000-03-29 Nick Clifton <nickc@cygnus.com>
6642
6643 * config/arm/arm.h: Undo effects of previous delta:
6644 (ASM_SPEC): Do not define.
6645 (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
6646
6647 * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
6648 typo.
6649
6650 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
6651
6652 * cppinit.c (cpp_start_read): Call initialize_dependency_output
6653 only after reading in the primary source file.
6654
6655 2000-03-29 Geoff Keating <geoffk@cygnus.com>
6656
6657 * c-common.c (c_common_nodes_and_builtins): The first parameter to
6658 __builtin_va_start and __builtin_va_copy is now either a 'va_list'
6659 or a reference to a va_list.
6660 * builtins.c (stabilize_va_list): Simplify now we don't have to
6661 work around C array address decay.
6662 * c-typeck.c (convert_for_assignment): Handle assignment to
6663 a reference parameter by taking the address of the RHS.
6664 * ginclude/stdarg.h (va_start): Don't take address of first parameter.
6665 (va_copy): Likewise.
6666 (__va_copy): Likewise.
6667 * ginclude/varargs.h (va_start): Likewise.
6668 (__va_copy): Likewise.
6669
6670 Wed Mar 29 15:44:53 2000 Jeffrey A Law (law@cygnus.com)
6671
6672 * i386/djgpp.h: Remove extraneous "+".
6673
6674 * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
6675
6676 * calls.c (expand_call): Fix typo in last change.
6677
6678 2000-03-29 Jason Merrill <jason@casey.cygnus.com>
6679
6680 * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
6681 been expanded.
6682
6683 Wed Mar 29 15:39:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6684
6685 * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
6686 (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
6687 (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
6688 * tree.c (bit_position, byte_position): Likewise.
6689 * tree.h: Declare new functions.
6690
6691 2000-03-29 Nick Clifton <nickc@cygnus.com>
6692
6693 * config/arm/arm.c: Minor formatting changes/
6694 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
6695 already defined.
6696 (ASM_SPEC): Define if not already defined.
6697
6698 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
6699
6700 * cppfiles.c (cpp_read_file): Don't pass zero-length string to
6701 _cpp_calc_hash.
6702
6703 2000-03-29 Jakub Jelinek <jakub@redhat.com>
6704
6705 * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
6706 value, don't output it as unsigned.
6707
6708 Wed Mar 29 10:53:49 2000 Jeffrey A Law (law@cygnus.com)
6709
6710 * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
6711
6712 2000-03-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6713
6714 * c-common.c (c_common_nodes_and_builtins): Don't special case
6715 cplus_mode when declaring builtin bzero/bcmp, always avoid
6716 prototype arguments.
6717
6718 2000-03-29 Bruce Korb <bkorb@gnu.org>
6719
6720 * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
6721 to a non-file
6722
6723 Wed Mar 29 15:08:01 MET DST 2000 Jan Hubicka <jh@suse.cz>
6724
6725 Convert ACCUMULATE_OUTGOING_ARGS to an expression.
6726 * calls.c (PUSH_ARGS_REVERSED) Change to expression.
6727 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
6728 (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
6729 (save_fixed_argument_area, restore_fixed_argument_area):
6730 conditionize by #ifdef REG_PARM_STACK_SPACE only.
6731 (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
6732 to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
6733 (precompute_register_parameters): Avoid #ifdefs on
6734 ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
6735 (stire_one_args): Likewise.
6736 (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
6737 (emit_library_call_value_1): Likewise.
6738 (compute_argument_block_size): Align to STACK_BOUNDARY only for
6739 ACCUMULATE_OUTGOING_ARGS.
6740 * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
6741 value.
6742 (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
6743 (use_crosses_set_p): Likewise.
6744 * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
6745 #define ACCUMULATE_OUTGOING_ARGS 1.
6746 * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
6747 frames.
6748 * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
6749 constants.
6750 (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
6751 (TARGET_SWITCHES): Add push-args, no-push-args,
6752 accumulate-outgoing-args and no-accumulate-outgoing-args.
6753 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
6754 * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
6755 (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
6756 and PUSH_ROUNDING.
6757 (emit_push_insn): Likewise.
6758 * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
6759 (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
6760 * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
6761 (STACK_DYNAMIC_OFFSET): Define correctly for both
6762 ACCUMULATE_OUTGOING_ARGS and normal mode.
6763 * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
6764 * tm.texi (PUSH_ARGS): Document.
6765 (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
6766
6767 Wed Mar 29 11:51:13 MET DST 2000 Jan Hubicka <jh@suse.cz>
6768
6769 * flags.h (flag_optimize_sibling_calls): Declare.
6770 * calls.c (expand_call): Fail sibcall when
6771 !flag_optimize_sibling_calls
6772 * invoke.texi (flag_optimize_sibling_calls): Document.
6773 * toplev.c (flag_optimize_sibling_calls): New global variable.
6774 (f_options): Add flag_optimize_sibling_calls.
6775 (rest_of_compilation): Conditionize
6776 optimize_sibling_and_tail_recursive_calls by
6777 flag_optimize_sibling_calls.
6778 (main): Set flag_optimize_sibling_calls for -O2.
6779 * stmt.c (expand_return): Conditionize tail recursion by
6780 flag_optimize_sibling_calls.
6781
6782 2000-03-29 Richard Henderson <rth@cygnus.com>
6783
6784 * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
6785 (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
6786
6787 2000-03-29 Nathan Sidwell <nathan@codesourcery.com>
6788
6789 * except.c (add_eh_table_entry): Mark type_info's as referenced.
6790
6791 2000-03-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6792
6793 * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
6794 is given.
6795 * config/rs6000/aix43.h (CPP_SPEC): Likewise.
6796 * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
6797 * config/rs6000/aix.h: then modified likewise.
6798
6799 2000-03-28 Richard Henderson <rth@cygnus.com>
6800
6801 * rtl.h: Redistribute enum reg_note documentation.
6802 Kill trailing whitespace.
6803 * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
6804 Kill trailing whitespace.
6805
6806 2000-03-28 Zack Weinberg <zack@wolery.cumb.org>
6807
6808 * cppfiles.c (hash_IHASH): Just return i->hash.
6809 (cpp_included): Set dummy.hash using _cpp_calc_hash. Use
6810 htab_find_with_hash.
6811 (cpp_read_file): Likewise.
6812 (find_include_file): Likewise. Properly initialize
6813 ih->nshort. Share ih->name and ih->nshort if possible.
6814 * cpphash.c (_cpp_calc_hash): New function.
6815 (hash_HASHNODE): Just return h->hash.
6816 (_cpp_lookup): Set dummy.hash using _cpp_calc_hash. Use
6817 htab_find_with_hash.
6818 * cpphash.h: Prototype _cpp_calc_hash.
6819 * cppinit.c (initialize_builtins): Provide a valid hash
6820 to _cpp_make_hashnode, using _cpp_calc_hash.
6821
6822 * cpphash.c (collect_expansion): # is not a special character
6823 in object-like macros. In -traditional mode, /**/ is not
6824 token paste at the beginning or end of the line.
6825 * cpplib.c (do_include, do_import, do_include_next): If
6826 parse_include fails, return immediately.
6827
6828 2000-03-28 Jason Merrill <jason@casey.cygnus.com>
6829
6830 * config/arm/arm.md (return peepholes): Update to reflect the new
6831 call insn patterns.
6832 * config/arm/arm.c (arm_volatile_func): Also check
6833 current_function_nothrow.
6834 (output_return_instruction, output_func_prologue): Use it.
6835 (arm_output_epilogue, arm_expand_prologue): Likewise.
6836
6837 2000-03-27 Tom Tromey <tromey@cygnus.com>
6838
6839 * gcc.c (handle_braces): In {x*...} case, break out of loop if
6840 switch is found.
6841
6842 Tue Mar 28 11:55:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6843
6844 * expr.c (store_constructor): SIZE now signed.
6845 For EXPR_SIZE, don't evaluate size; just needed if constant.
6846 * fold-const.c (fold): Fix a number of cases when folded tree is
6847 wrong type.
6848 * function.c (flush_addressof): Reenable.
6849 * tree.h (flush_addressof): Likewise.
6850 * toplev.c (independent_decode_option): Look at strings_processed.
6851 * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
6852
6853 Tue Mar 28 08:29:46 2000 Jan Hubicka <jh@suse.cz>
6854
6855 * sibcall.c (indentify_call_return_value): Find last call in the chain;
6856 Allow stack adjustment after function call.
6857
6858 * regmove.c (struct csa_memlist): Make mem field rtx *.
6859 (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
6860 (try_apply_stack_adjustment): Replace whole MEM rtx.
6861 (combine_stack_adjustments_for_block): Update calls
6862 to record_one_stack_ref.
6863
6864 2000-03-28 Neil Booth <NeilB@earthling.net>
6865
6866 * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
6867 '\\' rather than a null character, so nulls are not special. Fix
6868 "\\\n" handling in end-of-buffer conditions. Use trigraph map to
6869 speed trigraph conversion.
6870 (_cpp_init_input_buffer): Initialize trigraph map.
6871
6872 2000-03-27 Alan Modra <alan@linuxcare.com.au>
6873
6874 * config/i386/i386.c (output_387_binary_op): Correct intel
6875 mode assembly output, and add spaces after commas in AT&T
6876 output. Correct Unixware assembler comment. Document input
6877 constraints. Comment fp operations. Reduce profligate buffer
6878 size. Remove extraneous abort. Localize temp var.
6879 (SYSV386_COMPAT): Define. Add !SYSV386_COMPAT code.
6880 (output_fix_trunc): Add spaces after commas in assembly output.
6881
6882 2000-03-27 Richard Henderson <rth@cygnus.com>
6883
6884 * i386-protos.h (ix86_match_ccmode): Declare.
6885 * i386.c (ix86_match_ccmode): New.
6886 (ix86_expand_fp_compare): Update for pattern renames.
6887 (ix86_expand_strlensi_unroll_1): Likewise.
6888 * i386.h (EXTRA_CC_MODES): Add CCZ.
6889 (SELECT_CC_MODE): Use it for EQ/NE zero.
6890 * i386.md (cmpsi_ccz_1): New.
6891 (cmpqi_ccz_1): New.
6892 (*testsi_ccz_1): New.
6893 (testqi_ccz_1): New.
6894 (cmpsi_ccno_1): Rename from cmpsi_0.
6895 (testsi_ccno_1): Rename from testsi_1.
6896 (testqi_ccno_1): Rename from testqi_1.
6897 (*testqi_ext_ccz_0): Rename from testqi_ext_0.
6898 (testqi_ext_ccno_0): Rename from *testqi_ext_1.
6899 (*cmphi_0): Use ix86_match_ccmode.
6900 (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
6901 (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
6902 (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
6903 (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
6904 (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
6905 (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
6906 (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
6907 (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
6908 (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
6909 (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
6910 (appropriate peepholes): Likewise.
6911 (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
6912 (*subsi_3, *subhi_3, *subqi_3): Remove.
6913 (*negdi2_1+1 splitter): Use CCZ for neg patterns.
6914 (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
6915 (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
6916 (*neghi2_cmpz, *negqi2_cmpz): Similarly.
6917 (x86_shift_adj_1): Use CCZ.
6918 (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
6919
6920 2000-03-27 Stan Cox <scox@cygnus.com>
6921
6922 * resource.h (mark_resource_type): New.
6923 * resource.c (find_dead_or_set_registers, mark_target_live_regs,
6924 find_free_register): Use mark_resource_type.
6925 (mark_set_resources): Change include_delayed_effects
6926 to mark_resource_type.
6927 * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
6928 redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
6929 Use mark_resource_type.
6930
6931 2000-03-27 Richard Henderson <rth@cygnus.com>
6932
6933 * i386.md (call_pop_0, call_value_pop_0): New.
6934 (call_pop_1): Remove constraint from unused arg. Support sibcalls.
6935 (call_value_pop_1): Likewise.
6936 (call_0, call_value_0): New.
6937 (call_1, call_value_1): Remove constraint from unused arg.
6938
6939 2000-03-27 Nick Clifton <nickc@cygnus.com>
6940
6941 * invoke.texi (Spec Files): Document new spec % command created by
6942 Tom Tromey's recent patch.
6943
6944 2000-03-27 Jakub Jelinek <jakub@redhat.com>
6945
6946 * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
6947 if not defined.
6948
6949 Mon Mar 27 06:04:22 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6950
6951 * expr.c (expand_assignment): Fix typo in last change.
6952
6953 * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
6954
6955 Sun Mar 26 20:15:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6956
6957 * c-convert.c (convert): Return if output or input type is ERROR_MARK.
6958 * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
6959 and DECL_INLINE if FUNCTION_DECL.
6960 (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
6961 (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
6962 Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
6963 (combine_parm_decls): Likewise.
6964 * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
6965 * print-tree.c (print_node): Likewise.
6966 Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
6967 DECL_TRANSPARENT_UNION on proper decl types.
6968 Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
6969 * stor-layout.c (layout_decl): Only check DECL_PACKED and
6970 DECL_BIT_FIELD of FIELD_DECL.
6971 * tree.h (DECL_RESULT_FLD): New macro.
6972
6973 * expr.c (expand_assignment): Add code to handle variable-sized
6974 BLKmode case.
6975
6976 2000-03-26 Richard Henderson <rth@cygnus.com>
6977
6978 * calls.c (expand_call): Pass parms not original exp to
6979 optimize_tail_recursion. Mind return value instead of looking
6980 for a barrier.
6981 * stmt.c (optimize_tail_recursion): Take parameter list, not entire
6982 call_expr. Move checks for call_expr and current_function_decl ...
6983 (expand_return): ... here.
6984
6985 2000-03-26 Tom Tromey <tromey@cygnus.com>
6986
6987 * gcc.c (handle_braces): Recognize `%{<S}' construct.
6988 (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
6989 defines.
6990 (process_command): Use them.
6991 (check_live_switch): Likewise.
6992 (give_switch): Skip ignored switches.
6993
6994 2000-03-26 Jan Hubicka <jh@suse.cz>
6995
6996 * jump.c (jump_optimize_1): Fix typo in elide optimizations
6997 for minimal jump pass test.
6998
6999 2000-03-26 Mark Mitchell <mark@codesourcery.com>
7000
7001 * integrate.c (function_cannot_inline_p): Do inline functions that
7002 return `void'.
7003
7004 Sun Mar 26 11:37:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7005
7006 * stor-layout.c (layout_type, set_sizetype): early_type_list is
7007 now a list of TREE_LIST entries, not types.
7008 * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
7009
7010 * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
7011 * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
7012 int_bit_position.
7013 * config/mips/mips.c (function_arg): Likewise; also remove cast
7014 and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
7015 (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
7016 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
7017 * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
7018 (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
7019 (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
7020 (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
7021 (struct mips_arg): arg_number, arg_words, fp_arg_words, and
7022 num_adjusts now unsigned.
7023 (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
7024 * config/sparc/sparc.c (struct function_arg_record_value_parms):
7025 NREGS now unsigned.
7026 (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
7027 as is BITPOS variable; use host_integerp and int_bit_position.
7028 (function_arg_record_value_2): Likewise.
7029 (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
7030 Variable REGNO now unsigned.
7031 (function_arg_record_value): NREGS now unsigned.
7032
7033 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
7034
7035 * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
7036
7037 Sat Mar 25 09:12:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7038
7039 * Rework fields used to describe positions of bitfields and
7040 modify sizes to be unsigned and use HOST_WIDE_INT.
7041 * alias.c (reg_known_value_size): Now unsigned.
7042 * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
7043 (really_start_incremental_init): Use bitsize_zero_node.
7044 (push_init_level, pop_init_level, output_init_element): Likewise.
7045 Use bitsize_unit_node and bitsize_one_node.
7046 (output_pending_init_elements, process_init_element): Likewise.
7047 * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
7048 (make_extraction): Position and length HOST_WIDE_INT and unsigned
7049 HOST_WIDE_INT, respectively.
7050 (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
7051 (num_sign_bit_copies): Returns unsigned.
7052 BITWIDTH now unsigned; rework arithmetic.
7053 Remove recursive call from arg to MAX.
7054 (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
7055 (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
7056 REGNO now unsigned.
7057 (set_nonzero_bit_and_sign_copies): NUM now unsigned.
7058 (find_split_point, expand_compound_operation, make_extraction): LEN
7059 now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
7060 (make_field_assignment): Likewise.
7061 (combine_simplify_rtx): Add cast.
7062 (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
7063 (force_to_mode): WIDTH now unsigned; add cast.
7064 (if_then_else_cond): SIZE now unsigned.
7065 (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
7066 (extended_count): Now returns unsigned.
7067 (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
7068 Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
7069 (simplify_comparison): MODE_WIDTH now unsigned.
7070 (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
7071 (mark_used_regs_combine): Likewise; rework arithmetic.
7072 (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
7073 (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
7074 (record_promoted_value): REGNO now unsigned.
7075 (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
7076 (get_last_value): REGNO now unsigned.
7077 (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
7078 (reg_dead_regno, reg_dead_endregno): Now unsigned.
7079 (remove_death): Arg REGNO now unsigned.
7080 (move_deaths): REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
7081 (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
7082 now unsigned.
7083 * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
7084 * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
7085 (struct cse_reg_info): REGNO now unsigned.
7086 (cached_regno): Now unsigned.
7087 (REGNO_QTY_VALID_P): Add cast.
7088 (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
7089 (remove_invalid_regs): Likewise.
7090 (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
7091 as are variables END and I.
7092 (get_cse_reg_info, insert): Likewise.
7093 (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
7094 (canon_hash): Likewise.
7095 (insert_regs, lookup_for_remove): REGNO now unsigned.
7096 (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
7097 New variable RN.
7098 * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
7099 * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
7100 * emit-rtl.c (subreg_realpart_p): Add cast.
7101 (operand_subword): Arg I is now unsigned as is var PARTWORDS.
7102 (operand_subword_force): Arg I is now unsigned.
7103 * except.c (eh_regs): Variable I is now unsigned.
7104 * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
7105 * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
7106 length is unsigned HOST_WIDE_INT; likewise for internal variables.
7107 (store_split_bit_field, extract_fixed_bit_field): Likewise.
7108 (extract_split_bit_field, store_bit_field, extract_bit_field):
7109 Likewise.
7110 * expr.c (store_constructor_fields, store_constructor, store_field):
7111 Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
7112 (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
7113 (do_jump): Likewise.
7114 (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
7115 MAX_SIZE is now unsigned.
7116 (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
7117 (emit_group_store): Likewise.
7118 (emit_move_insn): I now unsigned.
7119 (store_constructor): Use host_integerp, tree_low_cst, and
7120 bitsize_unit_node.
7121 (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
7122 Rework all calculations to use trees and new fields.
7123 * expr.h (promoted_input_arg): Regno now unsigned.
7124 (store_bit_field, extract_bit_field): Adjust types of pos and size.
7125 (mark_seen_cases): Arg is HOST_WIDE_INT.
7126 * flow.c (verify_wide_reg_1): REGNO now unsigned.
7127 * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
7128 precisions and alignments are unsigned.
7129 (optimize_bit_field_compare, fold_truthop): Likewise.
7130 (int_const_binop): Adjust threshold for size_int_type_wide call.
7131 (fold_convert): Likewise.
7132 (size_int_type_wide): Make table larger and fix thinko that only
7133 had half of table used.
7134 (all_ones_mask_p, fold): Precisions are unsigned.
7135 * function.c (put_reg_info_stack): REGNO is unsigned.
7136 (instantiate_decl): Size is HOST_WIDE_INT.
7137 (instantiate_virtual_regs): I is unsigned.
7138 (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
7139 (promoted_input_arg): REGNO is unsigned.
7140 * function.h (struct function): x_max_parm_reg is now unsigned.
7141 * gcse.c (max_gcse_regno): Now unsigned.
7142 (struct null_pointer_info): min_reg and max_reg now unsigned.
7143 (lookup_set, next_set): REGNO arg now unsigned.
7144 (compute_hash_table): REGNO and I now unsigned.
7145 (handle_avail_expr): regnum_for_replacing now unsigned.
7146 (cprop_insn): REGNO now unsigned.
7147 (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
7148 * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
7149 * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
7150 * hard-reg-set.h (reg_class_size): Now unsigned.
7151 * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
7152 * jump.c (mark_modified_reg): I now unsigned; add cast.
7153 (rtx_equal_for_thread_p): Add cast.
7154 * loop.c (max_reg_before_loop): Now unsigned.
7155 (struct_movable): REGNO now unsigned.
7156 (try_copy_prop): REGNO arg unsigned.
7157 (regs_match_p): XN and YN now unsigned.
7158 (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
7159 (strength_reduce): Likewise; NREGS also unsigned.
7160 (first_increment_giv, last_increment_giv unsigned): Now unsigned.
7161 * loop.h (struct iv_class): REGNO now unsigned.
7162 (max_reg_before_loop, first_increment_giv, last_increment_giv):
7163 Now unsigned.
7164 * machmode.h (mode_size, mode_unit_size): Now unsigned.
7165 (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
7166 * optabs.c (expand_binop): I and NWORDS now unsigned.
7167 (expand_unop): I now unsigned.
7168 * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
7169 print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
7170 * real.c (significand_size): Now returns unsigned.
7171 * real.h (significand_size): Likewise.
7172 * regclass.c (reg_class_size): Now unsigned.
7173 (choose_hard_reg_mode): Both operands now unsigned.
7174 (record_reg_classes): REGNO and NR now unsigned.
7175 (reg_scan): NREGS now unsigned.
7176 (reg_scan_update): old_max_regno now unsigned.
7177 (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
7178 * reload.c (find_valid_class): BEST_SIZE now unsigned.
7179 (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
7180 (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
7181 Likewise for variable R.
7182 (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
7183 as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
7184 (find_equiv_reg): Add casts.
7185 (regno_clobbered_p): Arg REGNO now unsigned.
7186 * reload.h (struct reload): NREGS now unsigned.
7187 (refers_to_regno_for_reload_p): Regno args are unsigned.
7188 (regno_clobbered_p): Likewise.
7189 * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
7190 (compute_use_by_pseudos): REGNO now unsigned.
7191 (find_reg): I and J now unsigned, new variable K, and change loop
7192 variables accordingly; THIS_NREGS now unsigned.
7193 (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
7194 (spill_hard_reg): REGNO arg now unsigned; add casts.
7195 (forget_old_reloads_1): REGNO, NR, and I now unsigned.
7196 (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
7197 (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
7198 END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
7199 (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
7200 (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
7201 (emit_reload_insns): REGNO now unsigned.
7202 (reload_cse_move2add): Add cast.
7203 (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
7204 and rework loop.
7205 * resource.c (mark_referenced_resources, mark_set_resources): New
7206 variable R; REGNO and LAST_REGNO now unsigned.
7207 (mark_target_live_regs): J and REGNO now unsigned.
7208 * rtl.c (mode_size, mode_unit_size): Now unsigned.
7209 * rtl.h (union rtunion_def): New field rtuint.
7210 (XCUINT): New macro.
7211 (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
7212 (operand_subword, operand_subword_force): Word number is unsigned.
7213 (choose_hard_reg_mode): Operands are unsigned.
7214 (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
7215 (find_regno_note, find_regno_fusage, replace_regs): Likewise.
7216 (regno_use_in, combine_instructions, remove_death): Likewise.
7217 (reg_scan, reg_scan_update): Likewise.
7218 (extended_count): Return is unsigned.
7219 * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
7220 INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
7221 (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
7222 (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
7223 (reg_reg_last_1): FIRS and LAST now unsigned.
7224 (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
7225 (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
7226 now unsigned.
7227 (find_regno_note, regno_use_in): Arg REGNO now unsigned.
7228 (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
7229 (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
7230 (replace_regs): Arg NREGS now unsigned.
7231 * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
7232 * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
7233 (simplify_binary_operation): Likewise.
7234 (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
7235 THIS_LAST now unsigned.
7236 (cselib_record_set): Add cast.
7237 * ssa.c (ssa_max_reg_num): Now unsigned.
7238 (rename_block): REGNO now unsigned.
7239 * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
7240 sizes now unsigned.
7241 (all_cases_count): Just return -1 not -2.
7242 COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
7243 Rework tests to use trees whenever possible.
7244 Use host_integerp and tree_low_cst.
7245 (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
7246 Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
7247 (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
7248 * stor-layout.c (mode_for_size): SIZE arg now unsigned.
7249 (smallest_mode_for_size): Likewise.
7250 (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
7251 KNOWN_ALIGN is now an alignment, so simplify code.
7252 Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
7253 (start_record_layout): Renamed from new_record_layout_info.
7254 Update to new fields.
7255 (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
7256 New functions.
7257 (place_union_field): Renamed from layout_union_field.
7258 Update to use new fields in rli.
7259 (place_field): Renamed from layout_field.
7260 Major rewrite to use new fields in rli; pass alignment to layout_decl.
7261 (finalize_record_size): Rework to use new fields in rli and handle
7262 union.
7263 (compute_record_mode): Rework to simplify and to use new DECL fields.
7264 (finalize_type_size): Make rounding more consistent.
7265 (finish_union_layout): Deleted.
7266 (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
7267 (layout_type, case RECORD_TYPE): Call new function names.
7268 (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
7269 (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
7270 (get_best_mode): UNIT is now unsigned; remove casts.
7271 * tree.c (bit_position): Compute from new fields.
7272 (byte_position, int_byte_position): New functions.
7273 (print_type_hash_statistics): Cast to remove warning.
7274 (build_range_type): Use host_integerp and tree_low_cst to try to hash.
7275 (build_index_type): Likewise; make subtype of sizetype.
7276 (build_index_2_type): Pass sizetype to build_range_type.
7277 (build_common_tree_nodes): Use size_int and bitsize_int to
7278 initialize nodes; add bitsize_{zero,one,unit}_node.
7279 * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
7280 (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
7281 (DECL_PACKED, DECL_BIT_FIELD): Likewise.
7282 (DECL_FIELD_BITPOS): Deleted.
7283 (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
7284 (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
7285 (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
7286 (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
7287 (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
7288 (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
7289 (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
7290 (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
7291 (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
7292 (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
7293 (DECL_ALIGN): Adjust to new field in union.
7294 (DECL_OFFSET_ALIGN): New field.
7295 (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
7296 (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
7297 (union tree_decl): Add struct for both aligns.
7298 (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
7299 (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
7300 (struct record_layout_info): Rework fields to have offset
7301 alignment and byte and bit position.
7302 (start_record_layout, place_field): Renamed from old names.
7303 (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
7304 (byte_position, int_byte_position): Likewise.
7305 (get_inner_reference): Change types of position and length.
7306 * unroll.c (unroll_loop): New variable R; use for some loops.
7307 MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
7308 (calculate_giv_inc): Arg REGNO now unsigned.
7309 (copy_loop_body): REGNO and SRC_REGNO now unsigned.
7310 * varasm.c (assemble_variable): Clean up handling of size using
7311 host_integerp and tree_low_cst.
7312 (decode_addr_const): Use byte, not bit, position.
7313 (output_constructor): bitpos and offsets are HOST_WIDE_INT;
7314 use tree_low_cst and int_bit_position.
7315 * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
7316
7317 Fri Mar 24 20:13:49 2000 Jason Eckhardt <jle@cygnus.com>
7318
7319 * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
7320 (reorder_block_def): New members eff_head and eff_end.
7321 (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
7322 (verify_insn_chain): New function.
7323 (skip_insns_between_block): Add code to skip deleted insns.
7324 Check for note before using.
7325 (chain_reorder_blocks): Replace calls to skip_insns_between_block
7326 with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
7327 Check for note before using.
7328 (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
7329 (fixup_reorder_chain): Restructure, clean up, defect removal.
7330 (reorder_basic_blocks): Remove last_insn and references to it.
7331 Moved insn chain verification code into a new function (see above).
7332 Delete defective code that sets last insn.
7333 Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
7334 all blocks.
7335
7336 2000-03-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7337
7338 * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
7339
7340 2000-03-24 Richard Henderson <rth@cygnus.com>
7341
7342 * tree.c (lang_safe_for_unsave): Remove.
7343 (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
7344 allowing for two levels of unsafeness. Remove lang hook.
7345 * tree.h: Update declarations.
7346 * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
7347 Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
7348 Always fail sibcalls when there are pending cleanups.
7349
7350 2000-03-24 Geoff Keating <geoffk@cygnus.com>
7351
7352 * flow.c (propagate_block): When we delete an ADDR_VEC,
7353 also delete the BARRIER following it if there is one.
7354
7355 2000-03-24 Richard Henderson <rth@cygnus.com>
7356
7357 * builtins.c (expand_builtin_bzero): Convert `length' argument
7358 to sizetype.
7359
7360 2000-03-24 Jakub Jelinek <jakub@redhat.com>
7361
7362 * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
7363 comparison if regno's are equal.
7364 * calls.c (initialize_argument_informat): Add ecf_flags argument.
7365 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
7366 (expand_call): Update caller.
7367 Avoid making a sibling call if argument size of the callee is larger
7368 than argument size of the caller.
7369 Call hard_function_value with outgoing set if in sibcall pass.
7370 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
7371
7372 * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
7373 Change LEAF_REGISTERS from an array initializer to actual array
7374 identifier. Move static global variable into the function.
7375 (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
7376 sequences for leaf functions.
7377 * global.c (global_alloc): Likewise.
7378 * tm.texi (LEAF_REGISTERS): Update documentation.
7379
7380 * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
7381 TARGET_FLAT leaf disabling hack.
7382 (LEAF_REGISTERS): Changed from an array initializer to actual array
7383 identifier to avoid duplication and remove the above hack.
7384 (FUNCTION_OK_FOR_SIBCALL): Define.
7385 * config/sparc/sparc.md (sibcall): New attr type. Use it almost
7386 always like call attribute.
7387 (eligible_for_sibcall_delay): New attribute.
7388 (sibcall): New delay type.
7389 (sibcall, sibcall_value, sibcall_epilogue): New expands.
7390 (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
7391 sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
7392 * config/sparc/sparc.c (sparc_leaf_regs): New array.
7393 (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
7394 New functions.
7395 (output_function_epilogue): Move part of the code into
7396 output_restore_regs.
7397 (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
7398 TYPE_SIBCALL.
7399 * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
7400 prototypes.
7401
7402 * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
7403 until infrastructure is finished.
7404
7405 Fri Mar 24 13:49:45 2000 Jeffrey A Law (law@cygnus.com)
7406
7407 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
7408 (save_parm_insns): Not here.
7409
7410 2000-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7411
7412 * builtins.c (expand_builtin_bzero): New function.
7413 (expand_builtin): Handle bzero.
7414
7415 * builtins.def: Add BUILT_IN_BZERO.
7416
7417 * c-common.c (c_common_nodes_and_builtins): Provide builtin
7418 prototype & function for bzero.
7419
7420 2000-03-23 Michael Meissner <meissner@redhat.com>
7421
7422 * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
7423 change adding TARGET_FP to the TF floating point insns, except for
7424 trunctfsf2, which generates direct calls to truncdfsf2.
7425
7426 2000-03-23 Geoff Keating <geoffk@cygnus.com>
7427
7428 * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
7429 try to protect against middle-end changes that break binary
7430 compatibility.
7431 (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
7432
7433 2000-03-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7434
7435 * config/c4x/c4x.md (load_immed_address): Add DP reg clobber.
7436
7437 Thu Mar 23 17:10:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7438
7439 * calls.c (expand_call): If TARGET is passed by reference and
7440 is readonly, write a CLOBBER.
7441
7442 2000-03-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7443
7444 * builtins.c (expand_builtin): Handle bcmp.
7445
7446 * builtins.def: Add BUILT_IN_BCMP.
7447
7448 * c-common.c (c_common_nodes_and_builtins): Provide builtin
7449 prototype & function for bcmp.
7450
7451 Thu Mar 23 11:34:39 2000 Jim Wilson <wilson@cygnus.com>
7452
7453 * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
7454 (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
7455 * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
7456
7457 Thu Mar 23 16:04:40 2000 Andrew Haley <aph@cygnus.com>
7458
7459 * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
7460 alternative when using -fp64 -gp32.
7461
7462 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
7463
7464 * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
7465 * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
7466 * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
7467
7468 * frame.h (frame_state): Revert last change.
7469 * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
7470 * libgcc2.c (throw_helper): Revert last change.
7471
7472 2000-03-22 Richard Henderson <rth@cygnus.com>
7473
7474 * stmt.c (expand_asm_operands): Don't promote the temporary.
7475
7476 2000-03-22 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
7477
7478 * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
7479 * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
7480 c_get_alias_set): Likewise.
7481 * c-decl.c (duplicate_decls): Likewise.
7482 * c-typeck.c (default_conversion,build_unary_op): Likewise.
7483 * calls.c (initialize_argument_information): Likewise.
7484 * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
7485 Likewise.
7486 * dwarfout.c (decl_class_context,output_type): Likewise.
7487 * expr.c (get_inner_reference): Likewise.
7488 * fold-const.c (simple_operand_p,fold): Likewise.
7489 * function.c (aggregate_value_p): Likewise.
7490 * stmt.c (expand_asm_operands): Likewise.
7491 * varasm.c (named_section): Likewise.
7492
7493 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
7494
7495 Implement dwarf2 exception handling for the ARM.
7496 * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
7497 (DWARF_FRAME_RETURN_COLUMN): Define.
7498 * config/arm/arm.c (emit_multi_reg_push): Return rtx. Attach
7499 REG_FRAME_RELATED_EXPR note.
7500 (emit_sfm): Likewise.
7501 (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
7502 * dwarf2out.c (reg_save): Handle saving a register to itself.
7503 (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
7504 * except.c (eh_regs): Don't use the static chain reg if it's
7505 callee-saved.
7506 * frame.h (frame_state): Add cfa_saved field.
7507 * frame.c (execute_cfa_insn): Set it.
7508 * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
7509 the epilogue.
7510 * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
7511 Now takes a parm.
7512 (instantiate_virtual_regs): Adjust.
7513 * tm.texi: Adjust.
7514 * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
7515 * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
7516 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
7517
7518 * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
7519 (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
7520
7521 2000-03-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7522
7523 * builtins.def: New file.
7524
7525 * Makefile.in (TREE_H): Depend on builtins.def.
7526
7527 * builtins.c (built_in_names): Use builtins.def.
7528
7529 * tree.h (built_in_function): Likewise.
7530
7531 2000-03-22 Mark Mitchell <mark@codesourcery.com>
7532
7533 * tree.c (size_in_bytes): Return size_zero_node, not
7534 integer_zero_node.
7535
7536 2000-03-22 Geoff Keating <geoffk@cygnus.com>
7537
7538 * config/fp-bit.c (pack_d): Correct the case when a denormal
7539 is rounded up and stops being denormal.
7540
7541 2000-03-21 Richard Henderson <rth@cygnus.com>
7542
7543 * config/alpha/alpha.c (function_arg): Check for void_type_node
7544 before using MUST_PASS_IN_STACK.
7545
7546 2000-03-21 Stephane Carrez <stcarrez@worldnet.fr>
7547
7548 * regmove.c (combine_stack_adjustments_for_block): Check that
7549 the stack pointer is a valid memory address.
7550
7551 Wed Mar 22 11:44:50 MET 2000 Jan Hubicka <jh@suse.cz>
7552
7553 * calls.c: re-install Mar 16 emit_library_call merge.
7554
7555 2000-03-21 Jakub Jelinek <jakub@redhat.com>
7556
7557 * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
7558 we cannot be sure that if reload_completed base register will
7559 be properly aligned.
7560
7561 2000-03-21 Richard Henderson <rth@cygnus.com>
7562
7563 * flow.c (delete_block): Fix typo last change.
7564
7565 2000-03-21 Mark Mitchell <mark@codesourcery.com>
7566
7567 * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
7568 not COMPLETE_TYPE_P, to check the type of the expression.
7569
7570 2000-03-21 Michael Meissner <meissner@redhat.com>
7571
7572 * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
7573 all floating point insns that just tested the macro
7574 TARGET_HAS_XFLOATING_LIBS.
7575 (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
7576 used to only use the gprs.
7577
7578 2000-03-21 Nathan Sidwell <nathan@codesourcery.com>
7579
7580 * tree.h (COMPLETE_TYPE_P): New macro.
7581 (COMPLETE_OR_VOID_TYPE_P): New macro.
7582 (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
7583 * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
7584 * c-aux-info.c (gen_type): Use them.
7585 * c-common.c (c_expand_expr_stmt): Likewise.
7586 * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
7587 grokdeclarator, grokparms, finish_struct, start_function,
7588 store_parm_decls, combine_parm_decls): Likewise.
7589 * c-parse.y (cast_expr): Likewise.
7590 * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
7591 c_size_in_bytes, c_alignof, build_component_ref,
7592 build_indirect_ref, build_array_ref, convert_arguments,
7593 build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
7594 * calls.c (initialize_argument_information): Likewise.
7595 * convert.c (convert_to_integer): Likewise.
7596 * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
7597 * dwarfout.c (location_or_const_value_attribute,
7598 output_enumeration_type_die, output_structure_type_die,
7599 output_union_type_die, output_type): Likewise.
7600 * expr.c (safe_from_p, expand_expr): Likewise.
7601 * function.c (assign_parms): Likewise.
7602 * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
7603 * tree.c (build_array_type, build_function_type,
7604 build_method_type, build_offset_type, build_complex_type): Likewise.
7605 * c-parse.c, c-parse.h: Regenerated.
7606
7607 2000-03-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7608
7609 * config/c4x/rtems.h: Include config/rtems.h.
7610
7611 Tue Mar 21 09:24:00 2000 Denis Chertykov <denisc@overta.ru>
7612
7613 * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
7614 decl is a FUNCTION_DECL
7615
7616 Mon Mar 20 19:53:53 2000 Jim Wilson <wilson@cygnus.com>
7617
7618 * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
7619 function uses output registers. Don't save RP for leaf functions.
7620 Do save RP even if no epilogue.
7621 * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
7622 (CALL_USED_REGISTERS): Unmark in registers.
7623 (REG_ALLOC_ORDER): Move out regs up, to near the top. Move in regs up,
7624 to near the middle.
7625
7626 2000-03-20 Geoff Keating <geoffk@cygnus.com>
7627
7628 * config/rs6000/rs6000.md (bunordered): New expander.
7629 (bordered): New expander.
7630 (buneq): New expander.
7631 (bunge): New expander.
7632 (bungt): New expander.
7633 (bunle): New expander.
7634 (bunlt): New expander.
7635 (bltgt): New expander.
7636
7637 * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
7638 (ccr_bit_negated_p): New function.
7639 (print_operand): For %C, generate appropriate cror for UNEQ,
7640 UNLT, UNGT, and LTGT. For %T and %t, use ccr_bit_negated_p.
7641
7642 2000-03-20 Andreas Jaeger <aj@suse.de>
7643
7644 * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
7645 warning.
7646
7647 * tree.h (safe_for_unsave): Prototype.
7648
7649 2000-03-20 Richard Henderson <rth@cygnus.com>
7650
7651 * regmove.c (stack_memref_p): Fix typo, reorg for readability.
7652 (combine_stack_adjustments_for_block): Don't allow sp references
7653 in the side of a set we're not fixing up.
7654 * toplev.c (rest_of_compilation): Run combine_stack_adjustments
7655 after life_analysis.
7656
7657 2000-03-20 Richard Henderson <rth@cygnus.com>
7658
7659 * calls.c (expand_call): Don't bother generating tail call
7660 sequences if there are pending cleanups. Use
7661 expand_start_target_temps/expand_end_target_temps to elide
7662 cleanups created during sibcall expansion.
7663
7664 2000-03-20 Geoff Keating <geoffk@cygnus.com>
7665
7666 * configure.in: Set $IFS to a value if it doesn't already have one
7667 in the --enable-checking handling.
7668 * configure: Regenerate.
7669
7670 2000-03-20 Martin v. Löwis <loewis@informatik.hu-berlin.de>
7671
7672 * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
7673 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
7674 Regenerated.
7675
7676 Mon Mar 20 11:43:15 MET 2000 Jan Hubicka <jh@suse.cz>
7677
7678 * jump.c (delete_noop_moves): Remove code attempting to
7679 combine stack adjustments.
7680
7681 2000-03-19 Martin v. Löwis <loewis@informatik.hu-berlin.de>
7682
7683 * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
7684 * except.c (emit_cleanup_handler): Use them.
7685 (expand_end_all_catch): Likewise.
7686 * function.c (fixup_var_refs): Likewise.
7687 (expand_function_end): Clear catch_clauses_last.
7688 * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
7689 * except.h (struct eh_status): New field x_catch_clauses_last.
7690 (catch_clauses_last): New define.
7691
7692 * Makefile.in (tree.o): Depend on HASHTAB_H.
7693 * tree.c: Include hashtab.h.
7694 (struct type_hash): Remove next field.
7695 (TYPE_HASH_SIZE): Remove.
7696 (TYPE_HASH_INITIAL_SIZE): New define.
7697 (type_hash_table): Change type to htab_t.
7698 (type_hash_eq, type_hash_hash, print_type_hash_statistics,
7699 mark_hash_entry): New functions.
7700 (init_obstacks): Allocate type hash.
7701 (type_hash_lookup): Use htab functions.
7702 (type_hash_add, mark_type_hash): Likewise.
7703 (dump_tree_statistics): Call print_type_hash_statistics.
7704
7705 2000-03-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7706
7707 * rs6000/t-aix41: New file.
7708
7709 * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
7710
7711 Sun Mar 19 13:27:30 2000 Hans-Peter Nilsson <hp@axis.com>
7712
7713 * tm.texi (Driver): Fix typos and tweak entry for
7714 INCLUDE_DEFAULTS.
7715 Move misplaced STRUCT_FORCE_BLK entry ...
7716 (Storage Layout): ... to here.
7717 (Run-time Target): Recommend having TARGET_MASK_... helper macros.
7718
7719 2000-03-19 Richard Henderson <rth@cygnus.com>
7720
7721 * flow.c (delete_block): Delete the addr_vec along with the block.
7722 (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
7723 reference labels.
7724
7725 * fold-const.c (extract_muldiv): Apply type check for defined
7726 overflow to multiply as well as divide.
7727
7728 * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
7729
7730 2000-03-18 Mark Mitchell <mark@codesourcery.com>
7731
7732 * emit-rtl.c (remove_unncessary_notes): Check that all
7733 NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
7734 associated NOTE_BLOCK.
7735 * function.h (identify_blocks): Update comments.
7736 (reorder_blocks): Declare.
7737 * function.c (identify_blocks): Don't take paramters.
7738 (reorder_blocks): Don't take parameters.
7739 * loop.h (find_loop_tree_blocks): Remove.
7740 (unroll_block_trees): Likewise.
7741 * loop.c (loop_optimize): Don't call find_loop_tree_blocks. Use
7742 reorder_blocks instead of unroll_block_trees.h
7743 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
7744 * stmt.c (find_loop_tree_blocks): Remove.
7745 (unroll_block_trees): Likewise.
7746 * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
7747 in whole-function mode.
7748 * tree.h (reorder_blocks): Remove declaration.
7749
7750 * expr.c: Include intl.h.
7751 * Makefile.in (expr.o): Depend on intl.h.
7752
7753 2000-03-18 Richard Henderson <rth@cygnus.com>
7754
7755 * expr.c (emit_move_insn_1): Clarify cannot_inline message.
7756
7757 2000-03-18 Mark Mitchell <mark@codesourcery.com>
7758
7759 * tree.h (tree_index): Remove enumerals for integer types.
7760 (integer_type_kind): New type.
7761 (integer_types): New variable.
7762 (char_type_node): Adjust.
7763 (signed_char_type_node): Likewise.
7764 (unsigned_char_type_node): Likewise.
7765 (short_integer_type_node): Likewise.
7766 (short_unsigned_type_node): Likewise.
7767 (integer_type_node): Likewise.
7768 (unsigned_type_node): Likewise.
7769 (long_integer_type_node): Likewise.
7770 (long_unsigned_type_node): Likewise.
7771 (long_long_integer_type_node): Likewise.
7772 (long_long_unsigned_type_node): Likewise.
7773 * tree.c (integer_types): New variable.
7774 (init_obstacks): Register it as a root.
7775
7776 Sat Mar 18 14:38:00 2000 Jason Eckhardt <jle@cygnus.com>
7777
7778 * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
7779 NEXT_INSN. Update last insn in chain.
7780
7781 2000-03-17 Jason Merrill <jason@casey.cygnus.com>
7782
7783 * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
7784 with TYPE_DECL_SUPPRESS_DEBUG set.
7785
7786 2000-03-18 Richard Henderson <rth@cygnus.com>
7787
7788 * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
7789
7790 2000-03-18 Richard Henderson <rth@cygnus.com>
7791
7792 * i386.c (call_insn_operand): Always allow SYMBOL_REF,
7793 care for HALF_PIC_P.
7794 (expander_call_insn_operand): Remove.
7795 (ix86_expand_epilogue): New arg `emit_return' to control return insn.
7796 * i386.h (PREDICATE_CODES): Update.
7797 * i386.md (all call expanders): Remove predicates, remove special
7798 handling for half-pic.
7799 (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
7800 (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
7801 (sibcall_epilogue): New.
7802
7803 2000-03-17 Richard Henderson <rth@cygnus.com>
7804
7805 * rtlanal.c (single_set): Reject if the parallel has anything
7806 except SET or USE or CLOBBER.
7807
7808 2000-03-17 Jeff Law <law@cygnus.com>
7809 Richard Henderson <rth@cygnus.com>
7810
7811 * Makefile.in (OBJS): Add sibcall.o.
7812 (sibcall.o): New.
7813 * sibcall.c: New file.
7814 * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
7815 (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
7816 (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
7817 Emit sibcall patterns when requested. Update all callers.
7818 (expand_call): Generate CALL_PLACEHOLDER insns when tail call
7819 elimination seems feasable.
7820 * final.c (leaf_function_p): Sibling calls don't discount being
7821 a leaf function.
7822 * flow.c (HAVE_sibcall_epilogue): Provide default.
7823 (find_basic_blocks_1): Sibling calls don't throw.
7824 (make_edges): Make edge from sibling call to EXIT.
7825 (propagate_block): Don't remove sibcall_epilogue insns.
7826 * function.c (prologue, epilogue): Turn into varrays. Update all uses.
7827 (sibcall_epilogue): New.
7828 (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
7829 (identify_blocks_1): Likewise. Break out from ...
7830 (identify_blocks): ... here.
7831 (reorder_blocks_1): Scan CALL_PLACEHOLDER. Break out from ...
7832 (reorder_blocks): ... here.
7833 (init_function_for_compilation): Zap prologue/epilogue as varrays.
7834 (record_insns): Extend a varray instead of mallocing new memory.
7835 (contains): Read a varray not array of ints.
7836 (sibcall_epilogue_contains): New.
7837 (thread_prologue_and_epilogue_insns): Emit and record
7838 sibcall_epilogue patterns.
7839 (init_function_once): Allocate prologue/epilogue varrays.
7840 * genflags.c (gen_insn): Treat sibcall patterns as calls.
7841 * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
7842 Broken out from ...
7843 (save_for_inline_nocopy): ... here.
7844 (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
7845 Broken out from ...
7846 (expand_inline_function): ... here.
7847 (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
7848 (subst_constants): Handle 'n' formats.
7849 * jump.c (jump_optimize_minimal): New.
7850 (jump_optimize_1): New arg `minimal'; update callers. Elide most
7851 optimizations if it's set.
7852 * rtl.c (copy_rtx): Do copy jump & call for insns.
7853 * rtl.h (struct rtx_def): Document use of jump and call for insns.
7854 (SIBLING_CALL_P): New.
7855 (sibcall_use_t): New.
7856 * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
7857 Invoke optimize_sibling_and_tail_recursive_calls.
7858 * tree.c (lang_safe_for_unsave): New.
7859 (safe_for_unsave): New.
7860 * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
7861
7862 * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
7863 * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
7864 (*sibcall_osf_1, *sibcall_value_osf_1): New.
7865
7866 2000-03-17 Mark Mitchell <mark@codesourcery.com>
7867
7868 * objc/objc-act.c (encode_method_prototype): Pass types, not
7869 PARM_DECLs, to int_size_in_bytes.
7870
7871 Fri Mar 17 11:51:34 2000 Jim Wilson <wilson@cygnus.com>
7872
7873 * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
7874
7875 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
7876 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
7877
7878 Fri Mar 17 08:09:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7879
7880 * Clean up usages of TREE_INT_CST_LOW.
7881 * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
7882 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
7883 Regenerated.
7884 * c-tree.h (min_precision): Move declaration to here.
7885 * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
7886 (build_unary_op, add_pending_init): Use bit_position.
7887 (pending_init_member, process_init_element): Likewise.
7888 (really_start_incremental_init, push_init_level, pop_init_level):
7889 Don't make copies of nodes or modify them in place, use consistent
7890 types when tracking positions, and use tree routines computations.
7891 (set_init_index, output_init_element): Likewise.
7892 (output_pending_init_elements, process_init_element): Likewise.
7893 * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
7894 tree_low_cst and int_bit_position; also minor cleanup.
7895 (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
7896 (print_cst_octal): Precision is unsigned.
7897 (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
7898 * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
7899 (simple_type_align_in_bits): Result is unsigned int.
7900 Use tree_int_low_cst and host_integerp.
7901 (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
7902 (field_byte_offset): Result is HOST_WIDE_INT.
7903 Change types of internal variables so alignments are unsigned int,
7904 offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
7905 Use host_integerp, tree_low_cst, and int_bit_position.
7906 (add_bit_offset_attribute): Likewise.
7907 (add_data_member_location_attribute): Use tree_cst_low.
7908 (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
7909 (add_bit_size_attribute): Use tree_low_cst.
7910 (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
7911 * dwarfout.c: Similar changes to dwarf2out.c.
7912 * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
7913 * genoutput.c (n_occurences): Return -1 for null string.
7914 (strip_whitespace): Accept null string and make into function.
7915 (scan_operands): Reflect above changes.
7916 * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
7917 (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
7918 * ssa.c (rename_registers): Add missing cast of arg to bzero.
7919 * tree.c (int_size_in_bytes): Check for too big to represent.
7920 (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
7921 * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
7922 New declarations.
7923 (min_precision): Delete from here.
7924 * varasm.c (decode_addr_const): Use host_integerp, bit_position,
7925 and int_bit_position.
7926 * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
7927 (encode_method_def): Likewise.
7928 (build_ivar_list_initializer): Use int_bit_position.
7929 (generate_shared_structures): Convert size.
7930 (encode_type, encode_complete_bitfield): Use integer_zerop.
7931 (encode_bitfield): Use tree_low_cst and int_bit_position.
7932
7933 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7934
7935 * config/c4x/c4x.h (CPP_SPEC): Fix typo.
7936
7937 2000-03-17 Martin v. Löwis <loewis@informatik.hu-berlin.de>
7938
7939 * call.c (special_function_p): It is only malloc if it returns
7940 Pmode.
7941
7942 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7943
7944 * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
7945 (C33_FLAG, TARGET_C3X): Add macros.
7946 (TARGET_SWITCHES): Add -m33 option.
7947 * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
7948
7949 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7950
7951 * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
7952 (PARALLEL_PACK_FLAG): Delete.
7953 (TARGET_SWITCHES): Update.
7954 (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
7955
7956 Thu Mar 16 18:52:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7957
7958 * fold-const.c (fold): Fix a few cases when the returned result
7959 is not of the same type as the input.
7960
7961 2000-03-16 Nick Clifton <nickc@cygnus.com>
7962
7963 * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
7964 warning.
7965
7966 2000-03-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7967
7968 * libgcc2.h: Move prototypes above macros with the same name.
7969 Wrap some function prototypes in the conditional which indicates
7970 whether they are supported, i.e. "BITS_PER_UNIT == 8".
7971
7972 2000-03-16 Richard Henderson <rth@cygnus.com>
7973
7974 * calls.c: Revert last two changes.
7975
7976 2000-03-16 Bernd Schmidt <bernds@cygnus.co.uk>
7977
7978 * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
7979 has exponent 0 is a zero.
7980
7981 * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
7982 HASH may already be nonzero. Add code/mode into hash value
7983 immediately after repeat label.
7984 (cselib_lookup): Don't leave the hash table in an inconsistent
7985 state before a hash lookup operation.
7986
7987 Thu Mar 16 17:03:10 MET 2000 Jan Hubicka <jh@suse.cz>
7988
7989 * i386.md (all HI and QI mode non-move patterns): Conditionize
7990 by TARGET_[HQ]IMODE_MATH.
7991 * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
7992 x86_promote_qi_regs): Declare.
7993 (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
7994 TARGET_PROMOTE_QI_REGS): New macros.
7995 (PROMOTE_MODE): New macro.
7996 * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
7997 x86_promote_qi_regs): New global variables.
7998
7999 Thu Mar 16 16:50:44 MET 2000 Jan Hubicka <jh@suse.cz>
8000
8001 * calls.c (emit_library_call_value_1): Break out from ...; handle
8002 VOIDmode function calls too.
8003 (emit_library_call_value): ... here.
8004 (emit_library_call): Implement by calling emit_library_call_value_1.
8005
8006 Thu Mar 16 16:01:30 MET 2000 Jan Hubicka <jh@suse.cz>
8007
8008 * calls.c (expand_call): Do sanity checking on arg_space_so_far.
8009 Update arg_space_so_far on stack adjustments.
8010 (emit_library_call, emit_library_call_value): Likewise; take into
8011 account arg_space_so_far and pending_stack_adjust when calculcating
8012 the boundary.
8013
8014 Thu Mar 16 09:02:19 2000 Jason Eckhardt <jle@cygnus.com>
8015
8016 * flow.c: Move all basic block reordering code into its own file.
8017 (create_basic_block): Externalize.
8018 * bb-reorder.c: New file. Copy all basic block reordering code from
8019 flow.c to this file.
8020 (reorder_basic_blocks): Fix fencepost error in for-loop.
8021 (reorder_basic_blocks): Remove braces from single statement for-loops.
8022 * basic-block.h: Add declaration for create_basic_block.
8023 * Makefile.in: Add rules for bb-reorder.o.
8024
8025 2000-03-16 Neil Booth <NeilB@earthling.net>
8026
8027 * cppinit.c (handle_option): Implement #unassert directive
8028 as -A- command line option.
8029 (print_help): Update.
8030 * cpptexi.c: Update.
8031
8032 Thu Mar 16 02:14:16 2000 Hans-Peter Nilsson <hp@bitrange.com>
8033
8034 * md.texi (Standard Names): Document `jump'.
8035
8036 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
8037
8038 * calls.c (emit_call_1): Nothrow functions can still have nonlocal
8039 gotos.
8040
8041 2000-03-15 Geoff Keating <geoffk@cygnus.com>
8042
8043 Merge changes from newppc-branch onto trunk.
8044
8045 2000-03-15 Geoff Keating <geoffk@cygnus.com>
8046
8047 * rs6000.c (toc_hash_table): Update for new hash table functions.
8048 (toc_hash_function): Likewise.
8049 (toc_hash_eq): Likewise.
8050 (toc_hash_mark_entry): Likewise.
8051 (toc_hash_mark_table): Likewise.
8052 (output_toc): Likewise.
8053 (rs6000_add_gc_roots): Likewise.
8054
8055 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8056
8057 * t-aix43 (AR_FOR_TARGET): Deleted. Moved `-X32_64'...
8058 (AR_FLAGS_FOR_TARGET): here. New macro.
8059
8060 2000-03-05 Clinton Popetz <cpopetz@cygnus.com>
8061
8062 * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
8063 fpmem_operand) Delete.
8064 (xer_operand) New.
8065 (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
8066 (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
8067 (rs6000_save_machine_status, rs6000_restore_machine_status,
8068 rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
8069 references to above variables.
8070 (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
8071 * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
8072 DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
8073 (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
8074 (XER_REGNO_P, XER_REGNO): New.
8075 (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
8076 (PREDICATE_CODES): Change fpmem_operand to xer_operand.
8077 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
8078 XER_REGNO_P.
8079 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
8080 REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS, and remove FLOAT_OR_FPMEM_REGS.
8081 (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
8082
8083 2000-02-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8084
8085 * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
8086 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
8087 * rs6000.h: from here.
8088
8089 * rs6000-protos.h (rs6000_select_section): Provide prototype.
8090 (rs6000_select_rtx_section): Likewise.
8091 (rs6000_encode_section_info): Likewise.
8092 (sdata_section): Likewise.
8093 (sdata2_section): Likewise.
8094 (sbss_section): Likewise.
8095 * sysv4.h (rs6000_select_section): Delete prototype.
8096 (rs6000_select_rtx_section): Likewise.
8097 (rs6000_encode_section_info): Likewise.
8098 (sdata_section): Likewise.
8099 (sdata2_section): Likewise.
8100 (sbss_section): Likewise.
8101 (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
8102
8103 * sysv4.h: Delete various unnecessary #undef's and put a comment
8104 on the remaining ones.
8105 Change various comments according to coding standard.
8106
8107 2000-02-29 Clinton Popetz <cpopetz@cygnus.com>
8108
8109 * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
8110 CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
8111 (CR0_REGNO_P) Remove.
8112 * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
8113 setup_incoming_varargs, mtcrf_operation, print_operand,
8114 rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
8115 Use the above macros.
8116
8117 2000-02-24 Clinton Popetz <cpopetz@cygnus.com>
8118
8119 * config/rs6000/rs6000.md: Added a new alternative for each
8120 pattern that had a 'x' alternative but no 'y' alternative.
8121 Added a new split for each of the above patterns.
8122
8123 2000-02-18 Geoff Keating <geoffk@cygnus.com>
8124
8125 * aix41.h (ASM_CPU_SPEC): Delete.
8126 (CPP_CPU_SPEC): Delete.
8127
8128 * aix.h (RS6000_OUTPUT_BASENAME): Define.
8129 (ASM_OUTPUT_LABEL): Define.
8130 (ASM_GLOBALIZE_LABEL): Define.
8131 (STRIP_NAME_ENCODING): Define.
8132 * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
8133 (STRIP_NAME_ENCODING): Don't define.
8134 (ASM_OUTPUT_LABEL): Don't define.
8135 (ASM_GLOBALIZE_LABEL): Don't define.
8136 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
8137 names, and ASM_OUTPUT_LABEL to output labels, rather than
8138 asm_fprintf.
8139 (ASM_OUTPUT_LABEL): Define.
8140 (ASM_OUTPUT_INT): Use assemble_name.
8141 (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
8142 (STRIP_NAME_ENCODING): Don't undefine first.
8143 (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
8144 ELF.
8145 (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
8146 specified with 'asm' even with -fleading-underscore.
8147 * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
8148 (output_epilog): Likewise.
8149 (output_toc): Likewise.
8150 * tramp.asm: Handle -fleading-underscore correctly.
8151
8152 * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
8153 -mminimal-toc.
8154 (nonlocal_goto_receiver): Delete.
8155 * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
8156
8157 * rs6000.h (ASM_OUTPUT_DEF): Don't define.
8158 (SET_ASM_OP): Define.
8159 * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
8160
8161 * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
8162 (ASM_LONG): Define.
8163
8164 * rs6000.c (rs6000_dll_import_ref): Delete, not used.
8165 * rs6000-protos.h (rs6000_dll_import_ref): Delete.
8166
8167 * rs6000.h: Add 'u' to more constants.
8168
8169 2000-02-18 David Edelsohn <edelsohn@gnu.org>
8170
8171 * rs6000.md (mfcr+shift): Delete PowerPC64 version.
8172
8173 2000-02-15 David Edelsohn <edelsohn@gnu.org>
8174
8175 * rs6000.c (reg_or_u_cint_operand): New function.
8176 (logical_operand): Handle 64-bit hosts.
8177 (logical_u_operand): New function.
8178 (non_logical_cint_operand): Handle 64-bit hosts.
8179 (non_logical_u_cint_operand): New function.
8180 * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
8181 (PREDICATE_CODES): Define new functions.
8182 * rs6000-protos.h: Declare new functions.
8183 * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
8184 (movdi_64): Bracket code intended for 64-bit hosts. Create
8185 CONST_DOUBLE for 32-bit values.
8186 (scc insns): Generate DImode compares.
8187 (mfcr insns): Create DImode versions.
8188 (sge matchers): New patterns.
8189
8190 2000-02-15 Gabriel Paubert <paubert@iram.es>
8191
8192 * rs6000.md: Correct instructions length attributes and
8193 constraints on unsigned compare instructions.
8194 (*ne0): Disable for PowerPC64.
8195
8196 2000-02-11 Geoff Keating <geoffk@cygnus.com>
8197
8198 * rs6000.c (output_function_profiler): Use .long for a 32-bit
8199 quantity, fix profile1.C test failure under -fPIC.
8200
8201 * rs6000.c: Add 'u' to many constants to suppress warnings.
8202 (constant_pool_expr_1): Make static.
8203 (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
8204 * rs6000.h: Add 'u' to many constants to suppress warnings.
8205
8206 * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
8207 for the start of the TOC, instead of LCTOC..0.
8208 * aix.h (toc_section): Use LCTOC..1 under AIX for the start
8209 of the TOC.
8210 * rs6000.md (load_toc_aix_si): Use LCTOC..1.
8211 (load_toc_aix_di): Use LCTOC..1.
8212
8213 * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
8214 * rs6000.c (rs6000_legitimize_address): New function from
8215 LEGITIMIZE_ADDRESS. Only use create_TOC_reference on
8216 symbols in the constant pool that really are TOC references.
8217 (print_operand_address): For ELF, write TOC offsets under
8218 -fPIC as subtractions in the insn.
8219 (output_toc): For ELF, define symbols in TOC as normal labels,
8220 to match RTL.
8221 (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
8222 * rs6000-protos.h (rs6000_legitimize_address): Prototype.
8223 (create_TOC_reference): Prototype only when RTX_CODE is defined.
8224 * rs6000.md (movsi): Only use create_TOC_reference on
8225 symbols in the constant pool that really are TOC references.
8226
8227 * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
8228 * rs6000.c (rs6000_reorg): Delete.
8229 * rs6000-protos.h (rs6000_reorg): Delete.
8230
8231 2000-02-09 Geoff Keating <geoffk@cygnus.com>
8232
8233 * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
8234
8235 * aix.h (SETUP_FRAME_ADDRESSES): Define.
8236 * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
8237 [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
8238 [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
8239 * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
8240 rs6000_aix_emit_builtin_unwind_init.
8241 * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
8242 rs6000_emit_eh_toc_restore on AIX.
8243 (return_eh_si): Use r2.
8244 (return_eh_di): Use r2.
8245
8246 * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
8247 since we're breaking binary compatibility anyway.
8248
8249 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
8250
8251 * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
8252 constant_pool_expr_p): Declare them.
8253 (constant_pool_expr_p): Declare it.
8254 * config/rs6000/rs6000.c (toc_label_name): Define.
8255 (rs6000_override_options): Set toc_label_name.
8256 (input_operand): Allow any TOC_RELATIVE_EXPR_P.
8257 (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
8258 uses_TOC): New functions.
8259 (print_operand): Delete old '*' case.
8260 (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
8261 and strip off rtl for TOC before calling output_addr_const.
8262 (rs6000_emit_load_toc_table): Use toc_label_name.
8263 * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
8264 the default.
8265 (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
8266 (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
8267 (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
8268 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
8269 into explicit TOC_REGISTER offsets.
8270 (TOC_REGISTER): New macro.
8271 * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
8272 TARGET_TOC to reference TOC_REGISTER.
8273 (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
8274 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
8275 uses_TOC before emitting label references.
8276
8277 2000-02-05 Geoff Keating <geoffk@cygnus.com>
8278
8279 * rs6000.md (stack_tie): Fix warning.
8280
8281 * eabi-ctors.c: Use 'asm' names for the start/end variables,
8282 to handle -fleading-underscore.
8283 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
8284 (USER_LABEL_PREFIX): New macro.
8285 (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
8286 (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
8287 * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
8288 call-linux can use the same multilibs.
8289 * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
8290 and call-linux multilibs. Do multilib with -fleading-underscore.
8291 (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
8292 (MULTILIB_EXCEPTIONS): Remove call-linux exceptions. Add restrictions
8293 to call-aix.
8294
8295 * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
8296 have MASK_SOFT_FLOAT set.
8297 (CPP_FLOAT_DEFAULT_SPEC): New macro.
8298 (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
8299 CPP_FLOAT_DEFAULT_SPEC.
8300
8301 * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
8302 * rs6000.md: Whitespace change.
8303 * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
8304 * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
8305
8306 2000-02-05 Geoff Keating <geoffk@cygnus.com>
8307
8308 * rs6000.md (eh_epilogue): New expander.
8309 (eh_reg_restore): New expand/split/insn combination.
8310 (return_eh_si): New insn.
8311 (return_eh_di): New insn.
8312
8313 * eabi-ci.asm: Put a label at the start of the .eh_frame section.
8314 * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
8315 * eabi-ctors.c (__do_global_ctors): Register this object's
8316 frame. Clean up. Call atexit() after the constructors.
8317 (__do_global_dtors): Deregister this object's frame. Clean up.
8318 Allow for recursive calls to exit().
8319 * rs6000.c (fixuplabelno): New variable.
8320 * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
8321 TARGET_RELOCATABLE, it slows down exec() under linux.
8322 (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
8323
8324 * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
8325 (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
8326 (ASM_OUTPUT_DWARF_DELTA2): New macro.
8327 (ASM_OUTPUT_DWARF_DELTA4): New macro.
8328 (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
8329 (ASM_OUTPUT_DWARF_ADDR): New macro.
8330 (ASM_OUTPUT_DWARF_DATA4): New macro.
8331 (ASM_OUTPUT_DWARF_DATA2): New macro.
8332 (ASM_OUTPUT_DWARF_OFFSET4): New macro.
8333 (ASM_OUTPUT_DWARF_OFFSET): New macro.
8334 (UNALIGNED_INT_ASM_OP): New macro, fake definition.
8335
8336 2000-02-03 Geoff Keating <geoffk@cygnus.com>
8337
8338 * rs6000.c (rs6000_sr_alias_set): New variable.
8339 (rs6000_override_options): Initialise rs6000_sr_alias_set.
8340 (rs6000_emit_stack_tie): New function.
8341 (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
8342 in a way that dwarf2out can understand.
8343 (rs6000_frame_related): New function.
8344 (rs6000_emit_prologue): Use rs6000_sr_alias_set. Specify
8345 RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
8346 Use rs6000_emit_stack_tie when needed.
8347 (rs6000_emit_epilogue): Use rs6000_sr_alias_set. Don't set
8348 RTX_FRAME_RELATED_P. Use rs6000_emit_stack_tie when needed.
8349 * rs6000.md (stack_tie): New insn.
8350 (return_internal_si): Allow return value to be in the count
8351 register.
8352 (return_internal_di): Likewise.
8353
8354 * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
8355
8356 2000-02-03 Geoff Keating <geoffk@cygnus.com>
8357
8358 * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
8359
8360 2000-01-31 Geoff Keating <geoffk@cygnus.com>
8361
8362 * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
8363
8364 * rs6000.md (stmw): Use the right POWER opcode.
8365 (lmw): Likewise.
8366
8367 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8368
8369 * rs6000-protos.h: New file.
8370
8371 * rs6000.c: Include tm_p.h. Fix compile time warnings.
8372
8373 * rs6000.h: Move prototypes to rs6000-protos.h. Fix compile time
8374 warnings.
8375
8376 * sysv4.h: Likewise.
8377
8378 2000-01-28 Geoff Keating <geoffk@cygnus.com>
8379
8380 * ../../configure.in: Delete powerpcle-*-winnt*
8381 and powerpcle-*-pe|powerpcle-*-cygwin*.
8382 * ../../configure: Regenerated.
8383 * cygwin.h: Delete.
8384 * rs6000.h (OBJECT_WINDOWS_NT): Delete.
8385 (TARGET_WINDOWS_NT): Delete.
8386 (ABI_NT): Delete.
8387 (CALL_NT_DLLIMPORT): Delete.
8388 Delete NT-specific code.
8389 * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
8390 * win-nt.h: Delete.
8391 * t-winnt: Delete.
8392 * nt-ci.asm: Delete.
8393 * nt-cn.asm: Delete.
8394 * ntstack.asm: Delete.
8395
8396 2000-01-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8397
8398 * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
8399 (ASM_FILE_START): Likewise.
8400 (ASM_DECLARE_FUNCTION_NAME): Likewise.
8401 (ASM_OUTPUT_LABELREF): Likewise.
8402 (ASM_OUTPUT_SKIP): Likewise.
8403 (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
8404 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
8405 (ASM_OUTPUT_CASE_LABEL): Likewise.
8406 (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
8407 (ASM_OUTPUT_ASCII): Likewise.
8408
8409 2000-01-27 Clinton Popetz <cpopetz@cygnus.com>
8410
8411 * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
8412 reload_toc_labelno for non-prologue TOC reloads. Also, don't
8413 increment rs6000_pic_labelno here.
8414 (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
8415 and increment rs6000_pic_labelno here.
8416
8417 2000-01-24 Geoffrey Keating <geoffk@cygnus.com>
8418
8419 * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
8420 rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
8421 allocation knows (reg) is dead before the insn.
8422
8423 2000-01-21 Geoff Keating <geoffk@cygnus.com>
8424
8425 * rs6000.md (movsi_to_cr): Correct typo in output template.
8426
8427 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
8428
8429 * rs6000.c (rs6000_pic_labelno): Always define.
8430 (rs6000_pic_func_labelno): Delete.
8431 (lmw_operation): Check for a zero base register,
8432 which doesn't mean what we want.
8433 (stmw_operation): New function.
8434 (print_operand): Define new 'l' modifier.
8435 (rs6000_stack_info): We must save all 64 bits of the registers
8436 if TARGET_POWERPC64.
8437 (rs6000_output_load_toc_table): Delete.
8438 (rs6000_emit_load_toc_table): New function.
8439 (rs6000_allocate_stack_space): Delete.
8440 (rs6000_emit_allocate_stack): New function.
8441 (rs6000_emit_prologue): New function.
8442 (output_prolog): Use rs6000_emit_prologue.
8443 (rs6000_emit_epilogue): Change a few variable names to be
8444 more accurate. Restore all 64 bits of the registers if
8445 TARGET_POWERPC64. Only restore the FP registers which were used
8446 if they are being saved/restored one-at-a-time.
8447 (output_mi_thunk): Delete inefficient code generation.
8448 (output_function_profiler): Don't use rs6000_output_load_toc_table.
8449 * rs6000.h: Declare rs6000_emit_load_toc_table,
8450 rs6000_allocate_stack_space, stmw_operation. Don't declare
8451 rs6000_output_load_toc_table.
8452 * rs6000.md (elf_high): Allow register 0, but discourage it
8453 heavily.
8454 (elf_low): Support loading into register 0.
8455 (load_toc_aix_si): New pattern.
8456 (load_toc_aix_di): New pattern.
8457 (load_toc_v4_pic_si): New pattern.
8458 (load_toc_v4_pic_di): New pattern.
8459 (load_toc_v4_PIC_1): New pattern.
8460 (load_toc_v4_PIC_1b): New pattern.
8461 (load_toc_v4_PIC_2): New pattern.
8462 (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
8463 (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
8464 (prologue): New expander.
8465 (movesi_from_cr): New pattern.
8466 (stmw): New pattern.
8467 (save_fpregs_si): New pattern.
8468 (save_fpregs_di): New pattern.
8469
8470 2000-01-19 Geoff Keating <geoffk@cygnus.com>
8471
8472 * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
8473 (movdi): Likewise.
8474 (movhi): Likewise.
8475 (movqi): Likewise.
8476
8477 2000-01-19 Geoff Keating <geoffk@cygnus.com>
8478
8479 * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
8480 at present.
8481 (movsi_got_internal): Likewise.
8482 (movsi_got_internal+1): Likewise.
8483 (set_sp): 'unspec 7' does a SImode clobber.
8484
8485 2000-01-19 Geoff Keating <geoffk@cygnus.com>
8486
8487 * rs6000.md (floatsidf2): Don't use the fpmem "register", just
8488 allocate a stack temporary.
8489 (floatsidf2_internal): Likewise.
8490 (floatsidf2_internal+1): Likewise. Don't do bizzare hacks
8491 with unspec.
8492 (floatunssidf2): Don't use the fpmem "register", just
8493 allocate a stack temporary.
8494 (floatunssidf2_internal): Likewise.
8495 (floatunssidf2_internal+1): Likewise. Don't do bizzare hacks
8496 with unspec.
8497 (floatsidf2_loadaddr): Delete.
8498 (floatsidf2_store1): Delete.
8499 (floatsidf2_store2): Delete.
8500 (floatsidf2_load): Delete.
8501 (fix_truncdfsi2): Don't use the fpmem "register", just
8502 allocate a stack temporary.
8503 (fix_truncdfsi2_internal_si): Delete.
8504 (fix_truncdfsi2_internal_di): Delete.
8505 (fix_truncdfsi2_internal): New insn.
8506 (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
8507 (fix_truncdfsi2_store): Delete.
8508 (fix_truncdfsi2_load): Delete.
8509 (fctiwz): Produce gen_fctiwz.
8510
8511 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
8512
8513 * eabi.h (INVOKE__main): Define.
8514 * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
8515 specially.
8516 (rs6000_emit_prologue): Likewise.
8517 * rs6000.h (struct rs6000_stack): Don't keep track of whether
8518 this is the main program.
8519
8520 2000-01-19 Geoff Keating <geoffk@cygnus.com>
8521
8522 * rs6000.c (rs6000_va_arg): Delete some unused variables.
8523
8524 2000-01-19 Geoff Keating <geoffk@cygnus.com>
8525
8526 * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
8527 goes after the argument.
8528
8529 2000-01-12 Geoff Keating <geoffk@cygnus.com>
8530
8531 * rs6000.md: Document 'unspec' values used.
8532 (epilogue): New expander.
8533 (movesi_to_cr_one): New expander.
8534 (movesi_to_cr and following): New pattern.
8535 (lmw): New pattern.
8536 (return_internal_si): New pattern.
8537 (return_internal_di): New pattern.
8538 (return_and_restore_fpregs_si): New pattern.
8539 (return_and_restore_fpregs_di): New pattern.
8540 * rs6000.h: Declare new functions.
8541 * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
8542 rather than rs6000_calls_p.
8543 (rs6000_makes_calls): Delete.
8544 (lmw_operation): New function.
8545 (mtcrf_operation): New function.
8546 (rs6000_emit_epilogue): New function.
8547 (output_epilog): Call rs6000_emit_epilogue and final if
8548 !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
8549
8550 2000-01-12 Geoff Keating <geoffk@cygnus.com>
8551
8552 * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
8553 * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
8554 * aix.h (SUBTARGET_SWITCHES): Document switches.
8555 * rs6000.h: (TARGET_SWITCHES): Don't print options twice. Make
8556 sched-prolog and sched-epilog the same. Document all the
8557 switches.
8558 (TARGET_OPTIONS): No longer allow -mdebug-.
8559
8560 2000-01-12 Geoff Keating <geoffk@cygnus.com>
8561
8562 * rs6000.h (ASM_FILE_END): Move to aix.h.
8563 (EXTRA_SECTIONS): Move to aix.h.
8564 (READONLY_DATA_SECTION): Move to aix.h.
8565 (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
8566 (SELECT_SECTION): Move to aix.h.
8567 (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
8568 (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
8569 (LINK_REGISTER_REGNUM): New definition.
8570 (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
8571 (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
8572 AIX and SVR4.
8573 * sysv4.h: Delete the code between the inclusion of rs6000.h
8574 and svr4.h.
8575 (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
8576 (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
8577 (RS6000_REG_SAVE): Move generic definition to rs6000.h.
8578 (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
8579 * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
8580 (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
8581 (fix_truncdfsi2_internal_di): New pattern.
8582 (fix_truncdfsi2_store): The second arg here is Pmode too.
8583 (fix_truncdfsi2_load): The second arg here is Pmode too.
8584 (tablejumpdi): Now that switch tables hold only SImode values,
8585 gcc needs to know how to add them to the pc which is DImode.
8586 * rs6000.c (rs6000_stack_info): Use symbolic name for
8587 LINK_REGISTER_REGNUM.
8588 (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
8589 (output_toc): Delete unused variables s1 and s2.
8590 (output_ascii): Use fputs not fprintf on a variable string.
8591
8592 2000-01-07 David Edelsohn <edelsohn@gnu.org>
8593
8594 * rs6000.c (processor_target_table): Add power3 as alias for 630.
8595 * aix43.h: Revert Aug 2 change.
8596 (HAS_INIT_SECTION): Define, not visible yet.
8597 (LD_INIT_SWITCH): Define, not visible yet.
8598 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
8599
8600 2000-01-04 Joel Sherrill (joel@OARcorp.com>
8601
8602 * config/rs6000/rtems.h: Include config/rtems.h.
8603
8604 2000-01-04 David Edelsohn <edelsohn@gnu.org>
8605
8606 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
8607 (SLOW_UNALIGNED_ACCESS): Define.
8608 (CASE_VECTOR_MODE): Always use 32-bit offsets.
8609 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
8610 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
8611 (toc_section): Likewise and .toc pseudo-op.
8612 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
8613 64-bit mode.
8614 (TEXT_SECTION_ASM_OP): Likewise.
8615 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
8616 32-bit offsets.
8617
8618 1999-12-17 Jakub Jelinek <jakub@redhat.com>
8619
8620 * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
8621 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
8622 compiling libgcc2.
8623
8624 2000-01-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8625
8626 * rs6000.h: Move more stuff from here...
8627 * aix.h: to here.
8628 * sysv4.h: Cleanup accordingly.
8629 * netware.h: Likewise
8630
8631 2000-01-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8632
8633 * rs6000.h: Continue cleanup.
8634 * aix.h: Likewise.
8635 * lynx.h: Likewise.
8636 * netware.h: Likewise.
8637 * sol2.h: Likewise.
8638 * sysv4.h: Likewise.
8639 * win-nt.h: Likewise.
8640
8641 * rs6000.h (TARGET_SWITCHES): Add descriptions.
8642 (TARGET_OPTIONS): Likewise.
8643
8644 * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
8645 (SUBTARGET_OPTIONS): Likewise.
8646
8647 * rs6000.md: Fix compile time warnings.
8648
8649 2000-01-04 Geoff Keating <geoffk@cygnus.com>
8650
8651 vxworks patches from the Cygnus tree originally by
8652 Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
8653 <vmakarov@cygnus.com>.
8654 * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
8655 (ENDFILE_SPEC): Likewise.
8656 (LIB_VXWORKS_SPEC): New macro.
8657 (STARTFILE_VXWORKS_SPEC): New macro.
8658 (ENDFILE_VXWORKS_SPEC): New macro.
8659 (LINK_START_VXWORKS_SPEC): New macro.
8660 (LINK_OS_VXWORKS_SPEC): New macro.
8661 (CPP_OS_VXWORKS_SPEC): New macro.
8662 (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
8663 * vxppc.h: Rewrite to use proper configuration method.
8664 * vxppcle.h: New file.
8665 * ../../configure.in: Add powerpcle-wrs-vxworks*.
8666 * ../../configure: Rebuilt.
8667
8668 2000-01-04 Geoff Keating <geoffk@cygnus.com>
8669
8670 Lots of changes to rs6000.h, sysv4.h, aix.h,
8671 aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
8672 with the aim that rs6000.h is the first header
8673 included and the others override it.
8674 * aix.h: New file.
8675
8676 * x-aix41-gld: Remove.
8677 * x-aix43: Remove.
8678 * x-aix41: Remove target-specific switches, and don't specify
8679 -Wl,-bbigtoc as we don't need it any more.
8680 * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
8681 Use t-aix43 for AIX 4.3 and above.
8682 * ../../configure: Regenerated.
8683
8684 * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
8685 options, that don't do anything yet.
8686 (MASK_SCHED_PROLOG): New macro.
8687 (MASK_SCHED_EPILOG): New macro.
8688 (TARGET_SCHED_PROLOG): New macro.
8689 (TARGET_SCHED_EPILOG): New macro.
8690
8691 2000-01-04 Geoff Keating <geoffk@cygnus.com>
8692
8693 * rs6000.c: Correct comment, the `minimal' TOCs are actually
8694 one per translation unit, not one per function.
8695 (output_toc): Also do duplicate constant elimination
8696 for per-translation-unit TOCs.
8697
8698 * rs6000.md (nonlocal_goto_receiver): Put it back as before. Add
8699 a comment explaining _exactly_ when this pattern gets used.
8700 (builtin_setjmp_receiver): New pattern for better clarity.
8701 (init_v4_pic): Move it into a section dealing with TOC registers.
8702
8703 1999-12-30 Geoff Keating <geoffk@cygnus.com>
8704
8705 * rs6000.c (toc_hash_table): New variable.
8706 (rs6000_hash_constant): New function.
8707 (toc_hash_function): New function.
8708 (toc_hash_eq): New function.
8709 (toc_hash_mark_entry): New function.
8710 (toc_hash_mark_table): New function.
8711 (output_toc): Don't output duplicate TOC entries in
8712 a single file.
8713 (rs6000_add_gc_roots): Add the hash table as a GC root.
8714 * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
8715 where they clearly shouldn't be. This may need to be fixed
8716 later when there is a GNU ar for AIX.
8717 * x-aix43: Don't define CLIB or AR_FOR_TARGET.
8718 Don't define BOOT_LDFLAGS as it is now not necessary.
8719
8720 1999-12-29 Geoff Keating <geoffk@cygnus.com>
8721
8722 * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
8723 for va_list on AIX. Use unsigned_char_type_node rather than
8724 constructing our own version on svr4.
8725
8726 1999-12-17 Geoff Keating <geoffk@cygnus.com>
8727
8728 * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
8729 since patently it's not.
8730
8731 1999-12-08 Geoff Keating <geoffk@cygnus.com>
8732
8733 * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
8734 define_expand/define_insn pair, and handle restore of the
8735 SVR4 -fpic register.
8736
8737 Wed Mar 15 15:43:38 2000 Jeffrey A Law (law@cygnus.com)
8738
8739 * acconfig.h (HAVE_GAS_WEAK): New define.
8740 * configure.in (assembler weak support): Check for .weak support.
8741 * config.in, configure: Rebuilt.
8742 * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
8743 HAVE_GAS_WEAK is defined.
8744
8745 2000-03-15 Nick Clifton <nickc@cygnus.com>
8746
8747 * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
8748 asm_fprintf().
8749
8750 2000-03-15 Zack Weinberg <zack@wolery.cumb.org>
8751
8752 * cppfiles.c (open_include_file): New function.
8753 (find_include_file, cpp_read_file): Use it.
8754
8755 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
8756
8757 * cpphash.c (dump_hash_helper): Take the slot, not the element.
8758
8759 Wed Mar 15 14:28:54 2000 Jason Eckhardt <jle@cygnus.com>
8760
8761 * flow.c (verify_flow_info): Check for unconditional return.
8762
8763 Wed Mar 15 11:34:27 2000 Jim Wilson <wilson@cygnus.com>
8764
8765 * config/ia64/ia64.md (restore_stack_nonlocal): New.
8766 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
8767 (__ia64_restore_stack_nonlocal): New.
8768 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
8769
8770 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8771
8772 * cpphash.c (collect_formal_parameters): Do not complain about
8773 parameter names that just start with `__VA_ARGS__'.
8774
8775 Wed Mar 15 13:26:58 MET 2000 Jan Hubicka <jh@suse.cz>
8776
8777 * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
8778 movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
8779 * i386.c (pentiumpro_cost): Set mul cost to 4.
8780 (x86_use_movx): Set for PPro.
8781
8782 Wed Mar 15 13:07:05 MET 2000 Jan Hubicka <jh@suse.cz>
8783
8784 * i386.md (ix86_compute_frame_size): stack_alignment_needed is
8785 STACK_BOUNDARY for empty frames now.
8786
8787 2000-03-14 Mark Mitchell <mark@codesourcery.com>
8788
8789 * stor-layout.c (layout_union): Remove.
8790 (layout_union_field): New function, split out from layout_union.
8791 (finish_union_layout): Likewise.
8792 (layout_field): Handle unions by calling layout_union_field.
8793 (finish_record_layout): Handle unions.
8794 (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
8795 QUAL_UNION_TYPE handling.
8796
8797 Wed Feb 23 13:00:06 CET 2000 Jan Hubicka <jh@suse.cz>
8798
8799 * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
8800 end of basic block is jump_insn, not barrier; use create_basic_block
8801 instead of creating basic block by hand.
8802
8803 2000-03-14 Jason Eckhardt <jle@cygnus.com>
8804
8805 * flow.c (reorder_basic_blocks): Account for barriers when writing
8806 over NEXT_INSN (last_bb->end).
8807 (verify_flow_info): Add check for missing barriers.
8808
8809 2000-03-14 Greg McGary <gkm@gnu.org>
8810
8811 * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
8812 * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
8813 * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
8814 __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
8815 __unbounded, __unbounded__): New keywords.
8816 * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
8817 * c-parse.y, c-parse.c, c-parse.h: Regenerate.
8818 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
8819
8820 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
8821
8822 * cselib.h: New file.
8823 * alias.c: Include "cselib.h".
8824 (fixed_scalar_and_varying_struct_p): Accept the addresses of the
8825 MEMs as two new arguments.
8826 (get_addr): New static function.
8827 (find_base_term): Handle VALUEs.
8828 (memrefs_conflict_p): Likewise.
8829 (true_dependence): Call get_addr on the addresses.
8830 Call fixed_scalar_and_varying_struct_p with addresses that have been
8831 passed through get_addr and canon_rtx.
8832 (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
8833 with true_dependence.
8834 Call get_addr on the addresses; don't call canon_rtx on the MEMs.
8835 * loop.c: Include "cselib.h".
8836 (load_mems): Process extended basic block that enters the loop with
8837 cselib. Use that information to change initialization of the shadow
8838 register so that a constant equivalence is seen by later passes.
8839 * reload1.c: Include "cselib.h".
8840 (reload_cse_invalidate_regno): Delete function.
8841 (reload_cse_mem_conflict_p): Likewise.
8842 (reload_cse_invalidate_mem): Likewise.
8843 (reload_cse_invalidate_rtx): Likewise.
8844 (reload_cse_regno_equal_p): Likewise.
8845 (reload_cse_check_clobber): Likewise.
8846 (reload_cse_record_set): Likewise.
8847 (reg_values): Delete static variable.
8848 (invalidate_regno_rtx): Likewise.
8849 (reload_cse_delete_noop_set): New static function.
8850 (reload_cse_simplify): New static function, broken out of
8851 reload_cse_regs_1.
8852 (reload_cse_noop_set_p): Delete unused argument INSN.
8853 Just call rtx_equal_for_cselib_p on set source and destination.
8854 (reload_cse_regs_1): Break out some code into reload_cse_simplify and
8855 reload_cse_delete_noop_set. Delete code to keep track of values; use
8856 cselib functions instead. Delete code to push/pop obstacks.
8857 (reload_cse_simplify_set): Use cselib to find equivalent values.
8858 Delete code to push/pop obstacks.
8859 (reload_cse_simplify_operands): Likewise.
8860 * rtl.def (VALUE): New rtx code.
8861 * rtl.h (union rtunion_def): New elt rt_cselib.
8862 (X0CSELIB, CSELIB_VAL_PTR): New macros.
8863 * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
8864 (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
8865 unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
8866 discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
8867 hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
8868 cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
8869 cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
8870 cselib_record_set, cselib_record_sets): New static functions.
8871 (cselib_lookup, cselib_update_varray_sizes, cselib_init,
8872 cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
8873 references_value_p): New functions.
8874 (MAX_USELESS_VALUES, REG_VALUES): New macros.
8875 (table, cselib_current_insn, next_unknown_value, cselib_nregs,
8876 n_useless_values, reg_values, callmem, cselib_obstack,
8877 cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
8878 New static variables.
8879 * varray.h (union varray_data_tag): New elt te.
8880 (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
8881 * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
8882 dependencies.
8883
8884 2000-03-14 Nick Clifton <nickc@cygnus.com>
8885
8886 * gcc.c (do_spec_1): Catch the case where %* is used in a
8887 substitution pattern, but it has not been initialised.
8888 Issue a meaningful error message if an unrecognised operator
8889 is encountered in a spec string.
8890
8891 2000-03-14 Richard Earnshaw <rearnsha@arm.com>
8892
8893 * function.c (prepare_function_start): Correctly initialize
8894 cfun->stack_alignment_needed.
8895
8896 2000-03-14 Zack Weinberg <zack@wolery.cumb.org>
8897
8898 * cppfiles.c (find_include_file): Don't assume nshort is a
8899 substring of name.
8900
8901 Tue Mar 14 08:42:21 2000 Jeffrey A Law (law@cygnus.com)
8902
8903 * configure.in (hppa configurations): Add pa32-regs.h to the
8904 list of tm files as appropriate.
8905 * configure: Rebuilt.
8906 * pa.c (compute_frame_size): Remove explicit knowledge about FP
8907 register numbering.
8908 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
8909 (fmpyaddoperands, fmpysuboperands): Likewise.
8910 * pa.h: Remove various definitions which depend on knowing
8911 how registers are numbered.
8912 * pa32-regs.h: New file with PA32 register numbering specific
8913 definitions.
8914
8915 2000-03-14 Richard Henderson <rth@cygnus.com>
8916
8917 * regmove.c (combine_stack_adjustments): New.
8918 (stack_memref_p, single_set_for_csa): New.
8919 (free_csa_memlist, record_one_stack_memref): New.
8920 (try_apply_stack_adjustment): New.
8921 (combine_stack_adjustments_for_block): New.
8922 * rtl.h (combine_stack_adjustments): Declare.
8923 * toplev.c (rest_of_compilation): Call it.
8924
8925 * i386.md: Revert 2000-01-16 change.
8926
8927 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
8928
8929 * gccbug.in: Add web category, gcc specific classes.
8930
8931 2000-03-14 Nathan Sidwell <nathan@codesourcery.com>
8932
8933 * stor-layout.c (finalize_record_size): Fix typo.
8934
8935 2000-03-14 Stan Shebs <shebs@apple.com>
8936
8937 * c-typeck.c (c_alignof): Error on incomplete types.
8938 * extend.texi (Alignment): Document this.
8939
8940 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
8941
8942 * cppfiles.c: Include mkdeps.h.
8943 (find_include_file, read_include_file): Remove _cpp_ prefix
8944 from name, make static.
8945 (_cpp_execute_include): New function, broken out of
8946 do_include.
8947
8948 * cpplib.c: Don't include mkdeps.h.
8949 (struct directive): Remove type field. Reorder entries. The
8950 function takes only one argument.
8951 (struct if_stack): Make type field an int.
8952 (directive_table): Rename to dtable. Generate it, the
8953 prototypes of the directive handlers, and the enum for the
8954 directive numbers, from a template macro.
8955 (do_ifndef, do_include_next, do_import): New functions.
8956 (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
8957 do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
8958 do_ident, do_assert, do_unassert, do_sccs): Take only one
8959 argument.
8960 (do_sccs): Define always, but alter behavior based on
8961 SCCS_DIRECTIVE.
8962 (_cpp_handle_directive, consider_directive_while_skipping):
8963 Restructure for new directive table layout.
8964
8965 (pass_thru_directive): Take a directive number, not a pointer
8966 to a struct directive.
8967 (parse_include): New function, broken out of do_include.
8968 (do_include, do_import, do_include_next): Use parse_include
8969 and _cpp_execute_include.
8970 (do_elif, do_else): Test for T_ELSE specifically when checking
8971 for #elif/#else after #else.
8972 (parse_ifdef): New function, broken out of do_ifdef.
8973 (validate_else): Expect a name arg without a leading #.
8974 (if_directive_name): Delete.
8975 (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
8976 directive handlers with only one argument.
8977
8978 * cpphash.h: Update prototypes.
8979 (enum node_type): Remove entries for directives.
8980 * Makefile.in: Update dependencies.
8981
8982 * cpphash.c (dump_hash_helper): Only dump nodes of type
8983 T_MACRO. Emit a newline after each definition.
8984
8985 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
8986
8987 * gccbug.in: New file.
8988 * configure.in (all_outputs): Add gccbug.
8989 * Makefile.in (install-common): Install gccbug.
8990 (GCCBUG_INSTALL_NAME): New variable.
8991 * configure: Rebuilt.
8992
8993 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
8994
8995 * function.c (put_var_into_stack): Use type_for_mode to calculate
8996 part_type. Use MEM_SET_IN_STRUCT_P.
8997 * expr.c (store_field): Handle CONCAT.
8998 (store_constructor): Use fields_length.
8999 * tree.c (fields_length): New fn.
9000 * tree.h: Declare it.
9001
9002 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
9003
9004 * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
9005 (cpplex.o): New target.
9006 * po/POTFILES.in: Add cpplex.c.
9007
9008 * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
9009 cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
9010 cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
9011 skip_block_comment, skip_line_comment, skip_comment,
9012 copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
9013 _cpp_parse_name, skip_string, parse_string,
9014 _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
9015 _cpp_get_directive_token, find_position,
9016 _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
9017 (maybe_macroexpand, _cpp_lex_token): New functions.
9018
9019 * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
9020 parse_goto_mark): Delete.
9021 (_cpp_handle_eof): New function.
9022 (_cpp_handle_directive): Rename from handle_directive.
9023 (_cpp_output_line_command): Rename from output_line_command.
9024 (do_if, do_elif): Call _cpp_parse_expr directly.
9025 * cppfiles.c (_cpp_read_include_file): Don't call
9026 init_input_buffer here.
9027 * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
9028 * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
9029 here; pop the token_buffer and skip the rest of the line here.
9030 * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
9031 here.
9032
9033 * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
9034 Define here.
9035 (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
9036 CPP_GOTO_MARK): New macros.
9037 (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
9038 _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
9039 _cpp_read_and_prescan, _cpp_init_input_buffer,
9040 _cpp_grow_token_buffer, _cpp_get_directive_token,
9041 _cpp_handle_directive, _cpp_handle_eof,
9042 _cpp_output_line_command): Prototype them here.
9043 * cpplib.h (enum cpp_token): Add CPP_MACRO.
9044 (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
9045 quote_string, output_line_command): Remove.
9046
9047 2000-03-13 Bernd Schmidt <bernds@cygnus.co.uk>
9048
9049 * stmt.c (expand_end_case): RANGE may be signed, and when checking
9050 whether it is too large we must also verify that it isn't negative.
9051
9052 2000-03-13 Jakub Jelinek <jakub@redhat.com>
9053
9054 * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
9055 (movsi_zero_liveg0): Remove.
9056 (movsf_insn_novis_liveg0): Remove.
9057 (negsi2): Remove.
9058 (negsi2_not_liveg0): Rename to negsi2.
9059 (one_cmplsi2): Remove.
9060 (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
9061 (one_cmplsi2_liveg0): Remove.
9062 * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
9063 MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
9064 (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
9065 (PREDICATE_CODES): Remove zero_operand.
9066 * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
9067 TARGET_BROKEN_SAVERESTORE.
9068 (zero_operand): Remove.
9069 * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
9070 -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
9071 options.
9072 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
9073 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
9074 TARGET_BROKEN_SAVERESTORE): Remove.
9075 * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
9076 Remove.
9077 * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
9078 Remove.
9079 * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
9080 Remove.
9081
9082 * config/sparc/sparc.md (return_df_no_fpu): New pattern.
9083
9084 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
9085
9086 * cpplib.c (do_pragma_implementation): Fix off-by-one error
9087 truncating a string. Don't assume tokens are nul terminated.
9088 Problem noted by Andreas Jaeger <aj@suse.de>
9089
9090 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
9091
9092 * dwarf2out.c (add_name_and_src_coords_attributes): Only add
9093 DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
9094 (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
9095
9096 2000-03-13 Richard Earnshaw <rearnsha@arm.com>
9097
9098 * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
9099 STRUCTURE_SIZE_BOUNDARY.
9100
9101 2000-03-13 Mark Mitchell <mark@codesourcery.com>
9102
9103 * tree.h (record_layout_info_s): New structure.
9104 (record_layout_info): New type.
9105 (new_record_layout_info): New function.
9106 (layout_field): Likewise.
9107 (finish_record_layout): Likewise.
9108 * stor-layout.c (layout_record): Remove.
9109 (new_record_layout_info): New function.
9110 (layout_field): New function, broken out from layout_record.
9111 (finalize_record_size): Likewise.
9112 (compute_record_mode): Likewise.
9113 (finalize_type_size): New function, broken out from layout_type.
9114 (finish_record_layout): Likewise.
9115 (layout_type): Use them.
9116
9117 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
9118
9119 * cpphash.c: Don't include version.h.
9120 (special_symbol) [case T_VERSION]: Look for the string in
9121 hp->value.cpval; don't use version_string.
9122 * cppinit.c (initialize_builtins): Set hp->value.cpval for
9123 __VERSION__ to version_string.
9124 * Makefile.in (cpphash.o): Update deps.
9125
9126 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
9127
9128 Convert cpplib to use libiberty/hashtab.c.
9129
9130 * cpplib.h (struct cpp_reader): Make hashtab and
9131 all_include_files of type 'struct htab *'. Delete HASHSIZE
9132 and ALL_INCLUDE_HASHSIZE macros.
9133
9134 * cpphash.h: Update prototypes.
9135 (struct hashnode): Remove next, prev, and bucket_hdr members.
9136 Make length a size_t. Add hash member.
9137 (struct ihash): Remove next member. Add hash member. Make
9138 name a flexible array member.
9139
9140 * cppfiles.c: Include hashtab.h.
9141 (include_hash): Delete.
9142 (IHASHSIZE): New macro.
9143 (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
9144 (cpp_included): Do the hash lookup here.
9145 (_cpp_find_include_file): Rewrite.
9146 (cpp_read_file): Put the "fake" hash entry into the hash
9147 table. Honor the control_macro, if it turns out we've seen
9148 the file before. Don't push the buffer here.
9149 (_cpp_read_include_file): Push the buffer here.
9150 (OMODES): New macro. Use it whenever we call open(2).
9151
9152 * cpphash.c: Include hashtab.h.
9153 (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
9154 _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
9155 _cpp_lookup_slot): New functions.
9156 (HASHSIZE): new macro.
9157 (hashf, _cpp_install, _cpp_delete_macro): Delete.
9158 (_cpp_lookup): Use hashtab.h routines.
9159
9160 * cppinit.c: Include hashtab.h.
9161 (cpp_reader_init): Call _cpp_init_macro_hash and
9162 _cpp_init_include_hash. Don't allocate hashtab directly.
9163 (cpp_cleanup): Just call htab_delete on pfile->hashtab and
9164 pfile->all_include_files.
9165 (initialize_builtins): Use _cpp_make_hashnode and
9166 htab_find_slot to add hash entries.
9167 (cpp_finish): Just call _cpp_dump_macro_hash.
9168 * cpplib.c: Include hashtab.h.
9169 (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
9170 create hash entries.
9171 (do_pragma_poison, do_assert): Likewise.
9172 (do_include): Don't push the buffer here. Don't increment
9173 system_include_depth unless _cpp_read_include_file succeeds.
9174 (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
9175 or htab_remove_elt.
9176 (do_pragma_implementation): Use alloca to create copy.
9177
9178 * Makefile.in: Update dependencies.
9179
9180 2000-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9181
9182 * cppinit.c (cl_directive_handler): More K&R fixing.
9183
9184 Sat Mar 11 23:54:26 2000 Jim Wilson <wilson@cygnus.com>
9185
9186 * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
9187 STACK_BOUNDARY.
9188 * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
9189
9190 2000-03-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9191
9192 * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
9193 Change from char[] to macros.
9194
9195 2000-03-12 Neil Booth <NeilB@earthling.net>
9196
9197 * cppinit.c (cpp_start_read): Update indirect function
9198 call to K&R C.
9199
9200 Sat Mar 11 16:18:12 2000 Jim Wilson <wilson@cygnus.com>
9201
9202 * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
9203 entry.
9204
9205 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
9206 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
9207
9208 2000-03-11 Neil Booth <NeilB@earthling.net>
9209
9210 * cppinit.c (struct pending option): Replace undef with a
9211 pointer to a directive handling routine.
9212 (struct cpp_pending): Replace separate assert_ and define_
9213 lists with one directive_ list.
9214 (new_pending_define): Rename new_pending_directive. Extra
9215 argument is the directive's handling routine.
9216 (handle_option): Update to use new_pending_directive.
9217
9218 2000-03-11 Neil Booth <NeilB@earthling.net>
9219
9220 * cppfiles.c (file_cleanup, _cpp_find_include_file,
9221 remap_filename, _cpp_read_include_file, actual_directory,
9222 hack_vms_include_specification): Replace bcopy(), index() etc
9223 calls. Add casts to some allocations. Make some variables
9224 pointers to const [unsigned] char.
9225 * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
9226 collect_formal_parameters): Similarly.
9227 * cppinit.c (struct pending_option, append_include_chain,
9228 cpp_options_init, cpp_reader_init, initialize_standard_includes,
9229 cpp_start_read, new_pending_define, handle_option): Similarly.
9230 * cpplib.c (cpp_define, copy_comment, do_define, do_include,
9231 do_undef, do_error, do_warning, do_pragma, do_pragma_once,
9232 do_pragma_implementation, detect_if_not_defined,
9233 do_ifdef, skip_if_group, cpp_get_token, parse_string,
9234 do_assert, do_unassert): Similarly.
9235 * cpplib.h (cpp_buffer, cpp_options): Update types. Update
9236 function prototypes.
9237 * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
9238
9239 2000-03-10 Richard Henderson <rth@cygnus.com>
9240
9241 * builtins.c (expand_builtin_strlen): Revert last change.
9242 Use emit_insn_before if we're at the beginning of a sequence.
9243
9244 2000-03-10 Jason Merrill <jason@casey.cygnus.com>
9245
9246 * builtins.c (expand_builtin_strlen): Make sure that we have something
9247 at the beginning of the sequence.
9248
9249 * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
9250 deferred inlines.
9251
9252 * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
9253
9254 2000-03-10 Richard Henderson <rth@cygnus.com>
9255
9256 * except.c (can_throw): Use INTVAL on a CONST_INT.
9257 (reachable_handlers): Likewise.
9258 * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
9259
9260 2000-03-10 Andreas Jaeger <aj@suse.de>
9261
9262 * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
9263 MD_STARTFILE_PREFIX since those are not needed on linux.
9264 (ASM_FILE_START): New, from mips/gnu.h.
9265
9266 2000-03-09 Richard Henderson <rth@cygnus.com>
9267 Alex Samuel <samuel@codesourcery.com> and others
9268
9269 * Makefile.in (ssa.o): New rule.
9270 (OBJS): Add ssa.o.
9271 (STAGESTUFF): Add *.ssa and *.ussa.
9272 (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
9273 * rtl.def (PHI): New RTL expression.
9274 * rtl.h (clear_log_links): New declaration.
9275 (convert_to_ssa): Likewise.
9276 (convert_from_ssa): Likewise.
9277 * flow.c (split_edge): If the entry node falls through to the
9278 split edge's source block, split the entry edge.
9279 (clear_log_links): New function.
9280 * toplev.c (ssa_dump): New variable.
9281 (flag_ssa): Likewise.
9282 (f_options): Add "ssa".
9283 (compile_file): Create SSA dump files.
9284 (rest_of_compilation): Go to and from SSA if enabled.
9285 (decide_d_option): Handle -de for SSA dump files.
9286 * ssa.c: New file.
9287
9288 Thu Mar 9 20:01:38 2000 Jim Wilson <wilson@cygnus.com>
9289
9290 * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
9291 same as VAR_DECL.
9292
9293 2000-03-09 Benjamin Kosnik <bkoz@cygnus.com>
9294
9295 * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
9296
9297 Thu Mar 9 18:10:02 2000 Jeffrey A Law (law@cygnus.com)
9298
9299 * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
9300 (MD_STARTFILE_PREFIX_1): New macro.
9301
9302 2000-03-09 Robert Lipe <robertl@sco.com>
9303
9304 * config/ia64/ia64.c: Include system.h.
9305
9306 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
9307
9308 * except.c (nothrow_function_p): If -fno-exceptions, just return.
9309 (init_eh_nesting_info): Likewise.
9310
9311 * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
9312 (TREE_NOTHROW): Rename from TREE_RAISES.
9313 * toplev.c (rest_of_compilation): Set it.
9314 * print-tree.c (print_node): Adjust.
9315 * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
9316 (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
9317 * calls.c (emit_call_1): Add 'nothrow' parm. Add
9318 REG_EH_REGION note as appropriate.
9319 (libfunc_nothrow): New fn.
9320 (emit_library_call, emit_library_call_value): Use it.
9321 (expand_call): Check TREE_NOTHROW.
9322
9323 * varasm.c (make_decl_rtl): Skip initial '*' when setting
9324 DECL_ASSEMBLER_NAME.
9325
9326 2000-03-09 Andreas Jaeger <aj@suse.de>
9327
9328 * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
9329 (TARGET_MEM_FUNCTIONS): Define.
9330
9331 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
9332
9333 * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
9334
9335 * except.c (can_throw): See through a SEQUENCE.
9336 (nothrow_function_p): New fn.
9337 * except.h: Declare it.
9338 * function.c (current_function_nothrow): New var.
9339 (prepare_function_start): Initialize it.
9340 * output.h: Declare it.
9341 * toplev.c (rest_of_compilation): Set it.
9342 * dwarf2out.c (dwarf2out_begin_prologue): Use it.
9343
9344 2000-03-09 Zack Weinberg <zack@wolery.cumb.org>
9345
9346 * cpphash.c (collect_formal_parameters): strncmp returns 0 for
9347 match. (cpp_compare_defs): Count the nul separator when
9348 advancing over argument names.
9349
9350 2000-03-09 Bernd Schmidt <bernds@cygnus.co.uk>
9351
9352 * recog.c (preprocess_constraints): Matching constraints affect
9353 same alternative/different operand, not same operand/different
9354 alternative.
9355
9356 * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
9357 register and a constant specially.
9358
9359 2000-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9360
9361 * libgcc2.h: New file.
9362 * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
9363
9364 Wed Mar 8 16:19:42 2000 Jim Wilson <wilson@cygnus.com>
9365
9366 * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
9367 * configure: Regenerate.
9368 * config/ia64: New.
9369
9370 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
9371
9372 * Makefile.in (LIBCPP_DEPS): New macro.
9373 (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
9374 it to declare deps.
9375 * cpperror.c: Include cpphash.h.
9376 * cppexp.c: Include cpphash.h. Remove MULTIBYTE_CHARS
9377 dingleberry.
9378 (lex): Don't use CPP_WARN_UNDEF.
9379 (_cpp_parse_expr): Return an int, the truth value.
9380 * cppfiles.c: Include cpphash.h.
9381 (_cpp_merge_include_chains): Move to cppinit.c and make static.
9382 * cppinit.c (include_defaults_array): Disentangle.
9383 (cpp_cleanup): Don't free the if stack here.
9384 (cpp_finish): Pop off all buffers, not just one.
9385 * cpplib.c (eval_if_expr): Return int.
9386 (do_xifdef): Rename do_ifdef.
9387 (handle_directive): Don't use CPP_PREPROCESSED.
9388 (cpp_get_token): Don't use CPP_C89.
9389 * fix-header.c: Don't use CPP_OPTIONS.
9390
9391 * cpplib.h: Move U_CHAR, enum node_type, struct
9392 file_name_list, struct ihash, is_idchar, is_idstart,
9393 is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
9394 CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
9395 CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
9396 CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
9397 CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
9398 of _cpp_simplify_pathname, _cpp_find_include_file,
9399 _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
9400 Move struct if_stack to cpplib.c. Move struct cpp_pending to
9401 cppinit.c.
9402 Change all uses of U_CHAR to be unsigned char instead.
9403 Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
9404
9405 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
9406
9407 * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
9408 (dwarf2out_begin_prologue): Set it.
9409 (output_call_frame_info): Don't emit EH unwind info for leaves.
9410
9411 * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
9412 can occur outside of an EH region.
9413 * except.c: Correct comments about rethrow behavior.
9414 (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
9415
9416 2000-03-08 Andrew MacLeod <amacleod@cygnus.com>
9417
9418 * flow.c (make_edges): Always call make_eh_edge for calls.
9419
9420 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
9421
9422 * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
9423 (struct cpp_buffer): Remove fname and underflow fields.
9424 (struct cpp_reader): Remove get_token field.
9425 (struct include_hash): Rename to struct ihash. Add typedef to
9426 IHASH.
9427 (struct if_stack): Remove fname field.
9428 (IF_STACK_FRAME): Rename to IF_STACK.
9429
9430 * cpperror.c (print_containing_files): Trust that there are no
9431 macro buffers below the top file buffer.
9432 * cppfiles.c: Replace all references to 'struct include_hash'
9433 with 'IHASH'. Rename initialize_input_buffer to
9434 init_input_buffer. Don't set or reference cpp_buffer->fname,
9435 use buffer->ihash->name instead.
9436 * cpphash.c (special_symbol): Use cpp_file_buffer. Use NULL
9437 not CPP_NULL_BUFFER.
9438 * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
9439 IF_STACK_FRAME, IHASH not struct include_hash.
9440 * cpplib.c: Rename eval_if_expression to eval_if_expr. Remove
9441 null_underflow. Use IF_STACK not IF_STACK_FRAME, IHASH not
9442 struct include_hash, NULL not CPP_NULL_BUFFER. Remove all
9443 references to cpp_buffer->fname (delete entirely, or use
9444 ->ihash->name instead) and IF_STACK->fname.
9445 (cpp_push_buffer): Don't set new->underflow.
9446 (do_include): Use cpp_file_buffer.
9447
9448 * cpphash.c (collect_formal_parameters): Remove duplicate
9449 increment of argslen. Pedwarn in C99 mode if __VA_ARGS__ is
9450 used as a macro argument name. Don't append "..." to namebuf
9451 for varargs macros. After we're done scanning, go through
9452 namebuf and make it NUL separated, not comma separated.
9453 (_cpp_compare_defs): Remove register tag from variables.
9454 Expect defn->argnames to be NUL separated.
9455 (_cpp_dump_definition): Expect defn->argnames to be NUL
9456 separated and in forward order.
9457 * cpphash.h: Update documentation of argnames field.
9458
9459 2000-03-08 Richard Henderson <rth@cygnus.com>
9460
9461 * builtins.c (expand_builtin_strlen): Be prepared for strlensi
9462 to fail. Don't pre-expand the source operand.
9463
9464 * i386.md (strlensi): Initialize eoschar and align before use.
9465
9466 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
9467
9468 * expr.c (expand_expr, case ARRAY_REF): Still check for missing
9469 CONSTRUCTOR element.
9470
9471 2000-03-08 Gavin Romig-Koch <gavin@cetus.cygnus.com>
9472
9473 * mips.c (mips_expand_prologue): If the last
9474 named argument is the vararg marker "va_list", treat it as
9475 an unnamed argument.
9476
9477 2000-03-08 Clinton Popetz <cpopetz@cygnus.com>
9478
9479 * dbxout.c (dbxout_parms): When correcting for promoted
9480 big-endian parameters, use the mode of the DECL_RTL rather
9481 than UNITS_PER_WORD.
9482
9483 2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
9484
9485 * c-common.h (make_fname_decl): Declare.
9486 * c-common.c (make_fname_decl): Define.
9487 (declare_hidden_char_array): Remove.
9488 (declare_function_name): Use make_fname_decl.
9489 * c-decl.c (c_make_fname_decl): New function.
9490 (init_decl_processing): Set make_fname_decl.
9491
9492 Tue Mar 7 23:50:31 2000 Jeffrey A Law (law@cygnus.com)
9493
9494 * cccp.c (handle_directive): Initialize backslash_newlines_p.
9495
9496 2000-03-07 Philipp Thomas <pthomas@suse.de>
9497
9498 * po/POTFILES.in: Remove cppalloc.c from file list.
9499
9500 2000-03-07 Steve Chamberlain <sac@pobox.com>
9501
9502 * pj.c (pj_expand_prologue): current_function->args_info is
9503 now current_function_args_info.
9504
9505 * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
9506 LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
9507 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
9508
9509 2000-03-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9510
9511 * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
9512 output as hexadecimal rather than the default octal.
9513
9514 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
9515
9516 * cpphash.c (special_symbol): Fix thinko in previous commit.
9517
9518 2000-03-07 Neil Booth <NeilB@earthling.net>
9519
9520 * cppexp.c (struct operation, left_shift, right_shift,
9521 cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
9522 "int"s to "unsigned int"s.
9523 * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
9524 Similarly.
9525 * cpplib.h: Update for above.
9526 * mkdeps.c (deps_init, deps_calc_target): Cast pointers
9527 returned from allocations.
9528
9529 * cppinit.c (opt_comp, parse_options): New functions.
9530 (handle_option): Use parse_option to parse a single command
9531 line option, that possibly takes an argument.
9532 (cpp_handle_options): Sort the array of command line options on
9533 first invocation (non-ASCII hosts only).
9534 (print_help): Update.
9535
9536 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
9537
9538 * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
9539 backslash counting loops. Problem noted by Matt Kraai <kraai@ghs.com>.
9540
9541 * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
9542 initialized.
9543 * cppinit.c (cpp_cleanup): Free imp->nshort also.
9544
9545 * cpperror.c (cpp_print_containing_files,
9546 cpp_print_file_and_line, v_cpp_message): Rename to
9547 print_containing_files, print_file_and_line, and v_message.
9548 * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
9549 to _cpp_parse_expr, parse_escape, and lex.
9550 (parse_charconst): Remove broken multibyte support.
9551 * cppfiles.c (include_hash): Make static.
9552 (cpp_included): New function.
9553 (merge_include_chains, find_include_file, finclude,
9554 simplify_pathname): Rename to _cpp_merge_include_chains,
9555 _cpp_find_include_file, _cpp_read_include_file, and
9556 _cpp_simplify_pathname.
9557 * cpphash.c (cpp_lookup, free_definition, delete_macro,
9558 cpp_install, create_definition, macroexpand, compare_defs,
9559 dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
9560 _cpp_delete_macro, _cpp_install, _cpp_create_definition,
9561 _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
9562 * cppinit.c (cpp_handle_option): Rename to handle_option, make
9563 static.
9564 * cpplib.c: Remove extern prototype of cpp_parse_expr.
9565
9566 * cpphash.h: Update prototypes.
9567 * cpplib.h: Likewise. Prototype _cpp_parse_expr here.
9568
9569 2000-03-07 Andrew Haley <aph@cygnus.com>
9570
9571 * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
9572 PTRDIFF_TYPE should be based solely on Pmode.
9573 (SIZE_TYPE): ditto.
9574
9575 2000-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9576
9577 * rtl.h (rtunion_def): Constify member `rtstr'.
9578 (emit_line_note_after, emit_line_note, emit_line_note_force,
9579 emit_note, decode_asm_operands): Constify.
9580
9581 * cse.c (canon_hash): Likewise.
9582
9583 * dbxout.c (dbxout_block): Likewise.
9584
9585 * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
9586 v_warning_for_asm): Likewise.
9587
9588 * dwarfout.c (function_start_label): Likewise.
9589
9590 * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
9591 emit_line_note_force): Likewise.
9592
9593 * final.c (last_filename, asm_insn_count, final_scan_insn,
9594 output_source_line): Likewise.
9595
9596 * function.h (struct emit_status): Likewise.
9597
9598 * gcse.c (hash_expr_1): Likewise.
9599
9600 * genattr.c (gen_attr, main): Likewise.
9601
9602 * genattrtab.c (struct function_unit, current_alternative_string,
9603 write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
9604 attr_numeral, check_attr_test, check_attr_value,
9605 convert_set_attr_alternative, convert_set_attr,
9606 compute_alternative_mask, simplify_by_exploding, gen_attr,
9607 gen_unit): Likewise.
9608
9609 * genflags.c (gen_insn): Likewise.
9610
9611 * gengenrtl.c (type_from_format): Likewise.
9612
9613 * genopinit.c (gen_insn): Likewise.
9614
9615 * genoutput.c (n_occurrences, process_template, process_template):
9616 Likewise.
9617
9618 * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
9619 Likewise.
9620
9621 * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
9622 Likewise.
9623
9624 * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
9625 ggc_set_mark, ggc_get_size): Likewise.
9626
9627 * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
9628
9629 * optabs.c (init_one_libfunc): Likewise.
9630
9631 * output.h (assemble_start_function): Likewise.
9632
9633 * recog.c (decode_asm_operands): Likewise.
9634
9635 * toplev.c (rest_of_compilation): Likewise.
9636
9637 * tree.h (emit_line_note_after, emit_line_note,
9638 emit_line_note_force): Likewise.
9639
9640 * varasm.c (asm_output_bss, asm_output_aligned_bss,
9641 asm_emit_uninitialised, assemble_start_function,
9642 assemble_variable, const_hash, compare_constant_1,
9643 find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
9644
9645 * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
9646
9647 * alpha/alpha.md (call_vms, call_value_vms): Likewise.
9648
9649 * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
9650
9651 * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
9652
9653 * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
9654 arm_dllimport_name_p): Likewise.
9655
9656 * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
9657 Likewise.
9658
9659 * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
9660
9661 * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9662
9663 * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
9664 arm_mark_dllexport, arm_mark_dllimport,
9665 arm_pe_encode_section_info): Likewise.
9666
9667 * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
9668 ASM_FINISH_DECLARE_OBJECT): Likewise.
9669
9670 * arm/thumb.c (thumb_function_prologue): Likewise.
9671
9672 * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
9673
9674 * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9675
9676 * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
9677
9678 * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
9679
9680 * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
9681
9682 * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9683
9684 * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
9685 ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
9686
9687 * i386/i386-protos.h (asm_output_function_prefix): Likewise.
9688
9689 * i386/i386.c (asm_output_function_prefix): Likewise.
9690
9691 * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
9692
9693 * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9694
9695 * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
9696
9697 * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
9698 ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
9699 ASM_OUTPUT_SECTION_NAME): Likewise.
9700
9701 * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
9702
9703 * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
9704
9705 * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
9706
9707 * m32r/m32r.c (m32r_encode_section_info): Likewise.
9708
9709 * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9710
9711 * mcore/mcore.c (mcore_encode_section_info): Likewise.
9712
9713 * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9714
9715 * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9716
9717 * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9718
9719 * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
9720
9721 * mips/mips.md (movdi, movsi): Likewise.
9722
9723 * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9724
9725 * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9726
9727 * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
9728
9729 * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
9730 ASM_OUTPUT_ASCII): Likewise.
9731
9732 * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
9733 output_mi_thunk, output_toc): Likewise.
9734
9735 * rs6000/rs6000.md (movsi): Likewise.
9736
9737 * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
9738
9739 * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
9740
9741 * v850/v850.c (print_operand, print_operand_address,
9742 v850_encode_data_area): Likewise.
9743
9744 2000-03-07 Clinton Popetz <cpopetz@cygnus.com>
9745
9746 * config/mips/mips.md (zero_extendsidi2): Always force operand
9747 one to memory for mips16.
9748
9749 Mon Mar 6 15:22:29 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9750
9751 * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
9752 (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
9753 (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
9754 (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
9755 (min_precision): Result is unsigned.
9756 (add_double, neg_double, mul_double): Low word is unsigned.
9757 (lshift_double, rshift_double, lrotate_double): Likewise.
9758 (rrotate_double, div_and_round_double): Likewise.
9759 (tree_floor_log2, compare_tree_int): New functions.
9760 (preserve_rtl_expr_temps): New declaration.
9761 * c-common.c (declare_hidden_char_array): Use compare_tree_int.
9762 (decl_attributes): Use tree_log2 to find alignment.
9763 Check for TREE_INT_CST_HIGH for format args.
9764 (min_precision): Now unsigned.
9765 Use tree_floor_log2.
9766 (truthvalue_conversion): Delete long-disabled code.
9767 * c-decl.c (finish_struct): Clean up tests on field width.
9768 (finish_function): Use compare_tree_int.
9769 * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
9770 * c-typeck.c (comptypes): Use tree_int_cst_equal.
9771 (default_conversion, digest_init): Use compare_tree_int.
9772 (build_binary_op): Use integer_all_onesp and compare_tree_int.
9773 Fix type errors in forming masks.
9774 * calls.c (initialize_argument_information): Use compare_tree_int.
9775 * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
9776 * except.c (expand_eh_region_start_tree): Use compare_tree_int.
9777 * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
9778 (store_field): Use compare_tree_int.
9779 (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
9780 (expand_expr, case ARRAY_REF): Use compare_tree_int.
9781 (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
9782 (do_store_flag): Use compare_tree_int.
9783 * fold-const.c (encode, decode): Low part is always unsigned.
9784 (force_fit_type, add_double, neg_double, mul_double): Likewise.
9785 (lshift_double, rshift_double, lrotate_double): Likewise.
9786 (rrotate_double, div_and_round_double, int_const_binop): Likewise.
9787 (fold_convert): Use compare_tree_int.
9788 (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
9789 (invert_truthvalue, case INTEGER_CST): Likewise.
9790 (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
9791 * mkdeps.c (deps_dummy_targets): Make I unsigned.
9792 * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
9793 (lshift_double, rshift_double, lrotate_double, rrotate_double):
9794 Likewise.
9795 * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
9796 (expand_end_case): Use compare_tree_int.
9797 (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
9798 * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
9799 (layout_decl): Likewise.
9800 (layout_record, layout_union): Make sizes unsigned.
9801 (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
9802 (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
9803 * tree.c (struct type_hash): hashcode is unsigned.
9804 (build_type_attribute_variant, type_hash_list): Likewise.
9805 (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
9806 (attribute_hash_list, build_array_type, build_method_type): Likewise.
9807 (build_complex_type): Likewise.
9808 (real_value_from_int_cst): Remove unneeded casts.
9809 (integer_all_onesp): Add casts.
9810 (tree_floor_log2, compare_tree_int): New functions.
9811 (build_index_type): Use tree_int_cst_sgn.
9812 * varasm.c (assemble_variable): Use compare_tree_int.
9813
9814 2000-03-06 Jason Merrill <jason@casey.cygnus.com>
9815
9816 * cpphash.c (collect_expansion): Also catch ## at start of macro.
9817
9818 * varasm.c (make_decl_rtl): Don't add a number to members of
9819 local classes.
9820 (make_function_rtl): Likewise.
9821
9822 2000-03-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9823
9824 * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
9825 patch from 2000-01-28.
9826
9827 2000-03-06 Clinton Popetz <cpopetz@cygnus.com>
9828
9829 * config/sh/sh.c: (barrier_align): Handle a delay slot that is
9830 filled with an insn from the jump target.
9831
9832 2000-03-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9833
9834 * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
9835 (c4x_external_ref): Likewise.
9836 * config/c4x/c4x.c (struct name_list): Likewise.
9837
9838 1999-12-16 Ben Collins <bcollins@debian.org>
9839
9840 * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
9841 argument to genmultilib.
9842 * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
9843 the contents into the multilib.h header.
9844 * gcc.c: Declare multilib_exclusions for the specs file.
9845 (set_multilib_dir): Use it.
9846 (print_multilib_info): Likewise.
9847 * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
9848 to pass to genmultilib.
9849
9850 2000-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9851
9852 * builtins.c (built_in_class_names, built_in_names): Constify a
9853 char*.
9854
9855 * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
9856 int.
9857 (_mcleanup): Ensure value matches format specifier in sprintf.
9858
9859 * cpphash.c (special_symbol): Don't needlessly cast away
9860 const-ness.
9861
9862 * cppinit.c (base_name): Delete unused prototype.
9863
9864 * mkdeps.c (deps_init): Make definition K&R safe.
9865
9866 * tree.h (built_in_class_names, built_in_names): Constify a
9867 char*.
9868
9869 2000-03-06 Jakub Jelinek <jakub@redhat.com>
9870
9871 * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
9872 floating point instructions for epilogue delay.
9873
9874 * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
9875 to gas if it supports .register pseudo.
9876
9877 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
9878 LONG_DOUBLE_TYPE_SIZE if not defined.
9879 Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
9880 LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
9881 * real.c: Likewise.
9882 * gengenrtl.c: Likewise.
9883 * print-rtl.c: Likewise.
9884 * rtl.c: Likewise.
9885 * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
9886 MASK_LONG_DOUBLE_128.
9887 * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
9888 * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
9889 * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
9890 (SUBTARGET_SWITCHES): Define.
9891 (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
9892 with -mlong-double-128.
9893 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
9894 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
9895 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
9896 (CC1_SPEC): Include -mlong-double-{64,128} as needed.
9897 * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
9898 (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
9899 with -mlong-double-128.
9900 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
9901 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
9902 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
9903 * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
9904 TARGET_LONG_DOUBLE_128): Define.
9905 * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
9906 * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
9907 long double on TARGET_ARCH64.
9908
9909 2000-03-06 Mark Mitchell <mark@codesourcery.com>
9910
9911 * function.c (free_temps_for_rtl_expr): Don't free slots
9912 that have been pushed into a higher level.
9913
9914 Revert this patch:
9915 2000-03-05 Mark Mitchell <mark@codesourcery.com>
9916
9917 2000-03-05 Mark Mitchell <mark@codesourcery.com>
9918
9919 * basic-block.h (ALLOCA_REG_SET): Remove.
9920 (INITIALIZE_REG_SET): New macro.
9921 * flow.c (update_life_info): Use it.
9922 (calculate_global_regs_live): Likewise.
9923 (propagate_block): Likewise.
9924 * global.c (build_insn_chain): Likewise.
9925 * haifa-sched.c (schedule_region): Likewise.
9926
9927 2000-03-05 Stephane Carrez <stcarrez@worldnet.fr>
9928
9929 * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
9930 (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
9931 (DWARF_ARANGES_PAD_SIZE): New define.
9932 (output_aranges): Use it to pad the address range header.
9933 (DWARF_ROUND): Fix for non power of 2 rounding.
9934
9935 2000-03-05 Jason Merrill <jason@casey.cygnus.com>
9936
9937 * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
9938
9939 2000-03-05 Mark Mitchell <mark@codesourcery.com>
9940
9941 * tree.def (RTL_EXPR): Update documentation.
9942 * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
9943 * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
9944 * function.c (preserve_rtl_expr_temp): New function.
9945 (preserve_rtl_expr_temps): Likewise.
9946 (preserve_rtl_expr_result): Use it.
9947
9948 Revert this patch:
9949 2000-03-04 Mark Mitchell <mark@codesourcery.com>
9950
9951 2000-03-04 Thomas Schuster <Thomas.Schuster@gmx.net>
9952
9953 * regmove.c (copy_src_to_dest) Do not create src->dest move
9954 for unchanging destination.
9955
9956 2000-03-04 Mark Mitchell <mark@codesourcery.com>
9957
9958 * function.h (struct sequence_stack): Remove rtl_expr.
9959 (struct emit_staus): Likewise.
9960 (seq_rtl_expr): Remove.
9961 * tree.h (free_temps_for_rtl_expr): Don't declare.
9962 (start_sequence_for_rtl_expr): Likewise.
9963 * rtl.h (preserve_rtl_expr_result): Likewise.
9964 * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
9965 (start_sequence_for_rtl_expr): Remove.
9966 (push_topmost_sequence): Don't save sequence_rtl_expr.
9967 (pop_topmost_sequence): Remove comment about not restoring it.
9968 (end_sequence): Don't set seq_rtl_expr.
9969 (init_emit): Don't initialize it.
9970 (mark_sequence_stack): Don't mark it.
9971 (mark_emit_status): Likewise.
9972 * except.c (protect_with_terminate): Use
9973 start_sequence_for_rtl_expr, not start_sequence.
9974 * expr.c (expand_expr, case RTL_EXPR): Don't call
9975 preserve_rtl_expr_result or free_temps_for_rtl_expr.
9976 * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
9977 (preserve_rtl_expr_result): Remove.
9978 (free_temps_for_rtl_expr): Likewise.
9979 (pop_temp_slots): Likewise.
9980 (mark_temp_slot): Don't mark the rtl_expr.
9981 * stmt.c (expand_start_stmt_expr): Use start_sequence, not
9982 start_sequence_for_rtl_expr.
9983
9984 2000-03-04 Zack Weinberg <zack@wolery.cumb.org>
9985
9986 * mkdeps.c, mkdeps.h: New files.
9987 * po/POTFILES.in: Add them.
9988 * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
9989 (cpplib.o, cppinit.o): Depend on mkdeps.h.
9990 (mkdeps.o): New target.
9991
9992 * cppfiles.c: Delete deps_output.
9993 * cppinit.c: Include mkdeps.h. Delete known_suffixes,
9994 OBJECT_SUFFIX, and base_name.
9995 (cpp_cleanup): Use deps_free. Free ihash->name when clearing
9996 the include hash.
9997 (initialize_dependency_output): Use deps_init,
9998 deps_add_target, deps_calc_target, and deps_add_dep. Remove
9999 all the unnecessary string bashing.
10000 (cpp_finish): Use deps_write. Remove an unnecessary nesting
10001 level.
10002 * cpplib.c (do_include): Use deps_add_dep.
10003 * cpplib.h (struct cpp_reader): Replace deps_buffer,
10004 deps_allocated_size, deps_size, deps_column members with
10005 single pointer to a struct deps. Delete prototype of
10006 deps_output.
10007
10008 * cppinit.c: Fix thinko in previous patch.
10009
10010 Sat Mar 4 11:32:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10011
10012 * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
10013 * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
10014 (mode_for_size_tree): New function.
10015 (layout_decl, layout_type): Call it and clean up BLKmode checks.
10016 * tree.h (mode_for_size_tree): New declaration.
10017
10018 * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
10019
10020 2000-03-04 Jason Merrill <jason@casey.cygnus.com>
10021
10022 * stmt.c (is_body_block): Move...
10023 * dwarfout.c, dwarf2out.c: ...from here.
10024 * tree.h: Declare it.
10025 * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
10026 * final.c (final_start_function): Do call remove_unnecessary_notes
10027 when scheduling.
10028
10029 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
10030
10031 * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
10032
10033 * cpplib.h (_dollar_ok): New macro.
10034 (is_idchar, is_idstart): Use it.
10035 (IStable): Rename to _cpp_IStable. Declare it const if
10036 gcc >=2.7 or C99. Delete all references to FAKE_CONST.
10037 (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
10038 is_space): Update for renamed IStable.
10039
10040 * cppinit.c: Delete all references to FAKE_CONST and CAT
10041 macros. Define init_IStable as empty macro if gcc >=2.7 or
10042 C99. Change TABLE() to ISTABLE and hardcode name of table.
10043 (cpp_start_read): Don't change the IStable based on
10044 dollars_in_ident.
10045
10046 * cpphash.c (unsafe_chars): Add pfile argument. All callers
10047 changed. Handle '$' for char1 correctly.
10048 * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
10049
10050 * cppexp.c (tokentab2): Make const.
10051 (cpp_lex): Make toktab const.
10052 * cppinit.c (include_defaults_array): Make const.
10053 (initialize_standard_includes): Make default_include const.
10054
10055 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
10056
10057 * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
10058 (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
10059 (gen_decl_die): Likewise.
10060 * dwarfout.c (dwarfout_file_scope_decl): Likewise.
10061 (output_decl): Likewise.
10062
10063 * varasm.c (make_function_rtl): If we change the name used in the
10064 rtl, update DECL_ASSEMBLER_NAME accordingly.
10065 (make_decl_rtl): Likewise.
10066
10067 * toplev.c (rest_of_compilation): Tweak formatting.
10068
10069 * toplev.c (rest_of_compilation): find_loop_tree_blocks before
10070 remove_unnecessary_notes.
10071 (debug_ignore_block): New fn.
10072 * toplev.h: Declare it.
10073 * emit-rtl.c (remove_unncessary_notes): Call it.
10074 * dwarf2out.c (dwarf2out_ignore_block): New fn.
10075 * dwarf2out.h: Declare it.
10076 * final.c (final_start_function): Don't call remove_unnecessary_notes
10077 if we did insn scheduling.
10078
10079 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
10080
10081 * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
10082 * cpplib.h: Delete SET_CPP_PEDANTIC.
10083
10084 Fri Mar 3 14:56:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10085
10086 * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
10087 result is a RECORD_TYPE.
10088
10089 2000-03-03 Jonathan Larmour <jlarmour@cygnus.co.uk>
10090
10091 * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
10092
10093 2000-03-03 Richard Henderson <rth@cygnus.com>
10094
10095 * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
10096 addition over compliments over shifts.
10097
10098 Fri Mar 3 12:49:28 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10099
10100 * reload1.c (reload_combine_note_use): Handle return register USEs.
10101 REG case: Handle multi-hard-register hard regs.
10102
10103 Fri Mar 3 07:38:34 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10104
10105 * md.texi: Document use of '*' in insn pattern name.
10106
10107 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
10108
10109 * calls.c (special_function_p): operator new may not be malloc-like.
10110
10111 * gcse.c (dump_hash_table): Really fix error in last change.
10112
10113 2000-03-02 Denis Chertykov <denisc@overta.ru>
10114
10115 * avr.c (print_operand): Use print_operand_address instead of
10116 output_addr_const.
10117 * avr/libgcc.S: Cleanup code.
10118
10119 2000-03-02 Richard Henderson <rth@cygnus.com>
10120
10121 * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
10122
10123 2000-03-02 Mark Mitchell <mark@codesourcery.com>
10124
10125 * tree.h (TYPE_ALIGN_UNIT): New macro.
10126
10127 2000-03-02 Clinton Popetz <cpopetz@cygnus.com>
10128
10129 * i386.c: (constant_call_address_operand): Reject CONST_INT.
10130
10131 2000-03-02 Jason Merrill <jason@casey.cygnus.com>
10132
10133 * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
10134 for the buffer.
10135 (SET_CPP_PEDANTIC): New macro.
10136 * cpplib.c (do_include): Don't bother checking system_header_p.
10137 (do_warning, do_ident, do_assert, do_unassert): Likewise.
10138 * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
10139
10140 * function.h (struct expr_status): Add x_arg_space_so_far.
10141 (arg_space_so_far): New macro.
10142 * expr.c (init_expr): Initialize it.
10143 * calls.c (emit_call_1): Reset it.
10144 (compute_argument_block_size, expand_call): Use it.
10145 (expand_call, store_one_arg): Increment it.
10146
10147 Thu Mar 2 17:27:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10148
10149 * varasm.c (output_constant): Strip off a CONVERT_EXPR to
10150 a UNION_TYPE.
10151
10152 2000-03-02 Zack Weinberg <zack@wolery.cumb.org>
10153
10154 * cppfiles.c (cpp_read_file): New function.
10155
10156 * cpphash.c (collect_expansion): Make sure to reset last_token
10157 to NORM when we hit a string. Handle trailing whitespace
10158 properly when the expansion is empty.
10159 (create_definition): Disable line commands while parsing the
10160 directive line.
10161 (dump_definition): If pfile->lineno == 0, output a line
10162 command ahead of the dump, and add a trailing newline.
10163
10164 * cppinit.c (append_include_chain): Add fifth argument, which
10165 indicates whether or not system headers are C++ aware.
10166 (initialize_standard_includes): New function,
10167 broken out of read_and_prescan. Pass 'cxx_aware' value from
10168 the include_defaults_array on to append_include_chain.
10169 (dump_special_to_buffer): Const-ify char array.
10170 (builtin_array): Don't dump __BASE_FILE__.
10171 (cpp_start_read): Use cpp_read_file. Reorder code for
10172 clarity. Don't output line commands here for -D/-A/-U
10173 switches. Don't call deps_output for files included with
10174 -include or -imacros.
10175
10176 * cpplib.c (do_define): Don't pay any attention to the second
10177 argument.
10178 (cpp_expand_to_buffer): Disable line commands while scanning.
10179 (output_line_command): Work in the file buffer.
10180 * cpplib.h: Remove no_record_file flag from struct cpp_reader.
10181 Fix formatting of comments. Prototype cpp_read_file.
10182
10183 Thu Mar 2 13:29:46 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10184
10185 * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
10186 reference the language-equivalent of sizetype.
10187 * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
10188 * fold-const.c (size_binop, size_diffop): Put back checks.
10189 * gcse.c (dump_hash_table): Fix minor error in last change.
10190 * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
10191 Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
10192 all sizetypes.
10193
10194 Thu Mar 2 12:48:45 MET 2000 Jan Hubicka <jh@suse.cz>
10195
10196 * calls.c (expand_call) Do not attempt to combine stack adjustments
10197 with inhibit_defer_pop set.
10198
10199 2000-03-01 Mark Mitchell <mark@codesourcery.com>
10200
10201 * stor-layout.c (layout_decl): Allow front-ends to explicitly set
10202 the DECL_SIZE for a FIELD_DECL.
10203
10204 2000-03-01 Bruce Korb <bkorb@gnu.org>
10205
10206 * fixinc/inclhack.tpl: remove unused symlinks
10207 * fixinc/README: GCC Maintainer info
10208 * fixinc/inclhack.sh: regen
10209 * fixinc/fixincl.sh: regen
10210
10211 2000-03-01 Zack Weinberg <zack@wolery.cumb.org>
10212
10213 * cpphash.c (collect_expansion): Trim trailing white space
10214 from macro definitions, but don't go past the last insertion
10215 point.
10216
10217 Wed Mar 1 12:14:31 MET 2000 Jan Hubicka <jh@suse.cz>
10218
10219 * i386.md (mulqi3): New pattern.
10220
10221 2000-02-29 Zack Weinberg <zack@wolery.cumb.org>
10222
10223 * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
10224 token types.
10225 (struct cpp_reader): Add parsing_if_directive and
10226 parsing_define_directive flags.
10227 (struct cpp_options): Remove output_conditionals flag.
10228 (check_macro_name): Delete prototype.
10229
10230 * cpphash.h (struct macrodef): Delete.
10231 (struct reflist): Separate from struct definition.
10232 (struct definition): Remove unused fields. Add column number.
10233 (create_definition): Returns a DEFINITION *. Takes a
10234 cpp_reader * and an int.
10235
10236 * cpphash.c (SKIP_WHITE_SPACE): Delete.
10237 (PEEKC): Copy defn from cpplib.c.
10238 (rest_extension, REST_EXTENSION_LENGTH): Delete.
10239 (struct arg): New.
10240 (struct arglist): Simplify.
10241 (collect_expansion): Rewrite. Get tokens by calling
10242 cpp_get_token. Add more error checking.
10243 (collect_formal_parameters): New function, broken out of
10244 create_definition and reworked to use get_directive_token.
10245 (create_definition): All real work is now in collect_expansion
10246 and collect_formal_parameters. do_define handles finding the
10247 macro name. Return a DEFINITION, not a MACRODEF.
10248 (macroexpand): Replace bcopy with memcpy throughout. Replace
10249 character-at-a-time copy loop with memcpy and pointer increments.
10250 (compare-defs): d1->argnames / d2->argnames might be null.
10251
10252 * cpplib.c (copy_rest_of_line): Delete function.
10253 (skip_rest_of_line): Do all the work ourselves.
10254 (skip_string): New function.
10255 (parse_string): Use skip_string.
10256 (get_macro_name): New function.
10257 (check_macro_name): Delete.
10258 (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
10259 (cpp_skip_hspace): Use CPP_BUMP_LINE.
10260 (handle_directive): ICE if we're called on a macro buffer.
10261 (do_define): Determine macro name and type (funlike/objlike)
10262 here. Expunge all uses of MACRODEF.
10263 (cpp_push_buffer): Set line_base to NULL.
10264 (do_undef, read_line_number): Don't worry about getting a POP token.
10265 (eval_if_expression): Set/reset parsing_if_directive around
10266 cpp_parse_expr. Don't clear only_seen_white.
10267 (skip_if_group): Remove output_conditionals logic. Use
10268 skip_rest_of_line.
10269 (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
10270 tokens under appropriate conditions.
10271 (cpp_unassert): Call do_unassert not do_assert. Oops.
10272
10273 * cppexp.c (parse_defined): New function, break out of
10274 cpp_lex.
10275 (cpp_lex): We now get CPP_ASSERTION tokens and can check them
10276 ourselves, with cpp_defined.
10277 * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
10278
10279 * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
10280 * gcc.dg/strpaste-2.c: New.
10281
10282 2000-02-29 Mark Mitchell <mark@codesourcery.com>
10283
10284 * fold-const.c (size_binop): Don't asert inputs are the same and
10285 have TYPE_IS_SIZETYPE set.
10286 (size_diffop): Likewise.
10287
10288 2000-02-29 Jason Merrill <jason@casey.cygnus.com>
10289
10290 * dwarfout.c (output_block): Output abstract blocks even if they
10291 don't have TREE_ASM_WRITTEN set.
10292
10293 * calls.c (emit_library_call): Check for null REG.
10294
10295 2000-03-01 Martin von Loewis <loewis@informatik.hu-berlin.de>
10296
10297 * c-decl.c (current_function_decl): Move to toplev.c.
10298 (init_decl_processing): Don't add current_function_decl as a ggc
10299 root here.
10300 * dbxout.c (dbxout_symbol): Change return type to int.
10301 (dbxout_symbol_location, dbxout_syms): Likewise.
10302 (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
10303 any locals. Use current_function_func_begin_label if set.
10304 * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
10305 * dwarf2out.c (dwarf2out_begin_prologue): Set
10306 current_function_func_begin_label.
10307 * final.c (final_start_function): Reset it.
10308 * toplev.c (current_function_decl): Define it here.
10309 (current_function_func_begin_label): New variable.
10310 (main): Add both as ggc roots.
10311 * tree.h (current_function_func_begin_label): Declare.
10312
10313 Tue Feb 29 14:07:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10314
10315 * gcse.c: Cleanups throughout: mostly white-space, but also
10316 some minor rearrangement of code.
10317
10318 Tue Feb 29 10:45:59 2000 Jeffrey A Law (law@cygnus.com)
10319
10320 * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
10321 returns a PARALLEL. Use emit_group_load and use_group_regs
10322 as needed.
10323 (emit_library_call_value): Similarly.
10324
10325 * pa/t-pa: Use quadlib.c instead of quadlib.asm.
10326 * pa/quadlib.asm: Remove.
10327 * pa/quadlib.c: New file.
10328
10329 * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
10330 * configure: Rebuilt.
10331
10332 2000-02-29 Philip Blundell <pb@futuretv.com>
10333
10334 * config/arm/conix-elf.h: New file.
10335 * configure.in (arm*-*-conix*): New configuration.
10336 * configure: Regenerate.
10337
10338 2000-02-28 Jason Merrill <jason@casey.cygnus.com>
10339
10340 * dwarf2out.c (gen_block_die): Output abstract blocks even if they
10341 don't have TREE_ASM_WRITTEN set.
10342
10343 Mon Feb 28 21:07:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10344
10345 * Eliminate DECL_FIELD_SIZE.
10346 * builtins.c (built_in_class_names, built_in_names): New variables.
10347 * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
10348 * expr.c (expand_expr, case COMPONENT_REF): Get field size from
10349 DECL_SIZE, not DECL_FIELD_SIZE.
10350 * print-tree.c (print_node): Remove code that prints extra blank
10351 lines in some cases.
10352 Properly handle inline and builtin function cases.
10353 * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
10354 * tree.h (built_in_class_named, built_in_names): New declarations.
10355 (union tree_decl): Rename internal unions to u1 and u2 and change
10356 some of their components.
10357 Add new field built_in_class.
10358 (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
10359 Reflect above changes.
10360 (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
10361 (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
10362 * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
10363 (encode_field_decl): Likewise; also remove obsolete test for bitfield.
10364
10365 2000-02-28 Dmitri Makarov <dim@windriver.com>
10366
10367 * extend.texi: Document ARM's support for long/short calls.
10368
10369 * invoke.texi: Document ARM's -mlong-calls command line switch.
10370
10371 * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
10372 (arm_encode_call_attribute): Add prototype.
10373 (arm_set_default_type_attribute): Add prototype.
10374 (arm_strip_name_encoding): Add prototype.
10375
10376 * config/arm/arm.c (arm_init_cumulative_args): replace
10377 initialisation og 'long_calls' field with initialisation of
10378 'call_cookie' field.
10379 (enum arm_pragma_enum): New enum.
10380 (arm_pragma_long_calls): New static variable.
10381 (arm_process_pragma): Also process "#pragma long_calls_off".
10382 (arm_valid_type_attribute_p): Accept short_call attribute.
10383 (arm_comp_type_attributes): Check long/short call attributes.
10384 (arm_encode_call_attribute): New function: Encode long_call
10385 or short_call attribute in function name.
10386 (arm_set_default_type_attributes): New function: Assign
10387 default attributes to newly defined type.
10388 (current_file_function_operand): New function: Return true if
10389 the symbol is a function which has already been compiled.
10390 (arm_is_longcall_p): New function: Return true if the
10391 indicated function should be called via a long call.
10392 (arm_get_strip_length): New function. Returns number of
10393 prefix characters to be stripped from a function's name.
10394 (arm_strip_name_encoding): New function. Strip prefix characters
10395 from a function's name.
10396
10397 * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
10398 with 'call_cookie'.
10399 (SHORT_CALL_FAG_CHAR): Define.
10400 (LONG_CALL_FAG_CHAR): Define.
10401 (ENCODED_SHORT_CALL_ATTR_P): Define.
10402 (ENCODED_LONG_CALL_ATTR_P): Define.
10403 (ARM_NAME_ENCODING_LENGTHS): Define.
10404 (STRIP_NAME_ENCODING): Define.
10405 (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
10406 (ARM_ENCODE_CALL_TYPE): Define.
10407 (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
10408 (ARM_DECLARE_FUNCTION_SIZE): Define.
10409 (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
10410
10411 * config/arm/arm.md (call): Call arm_is_longcall_p to decide
10412 if a long call is needed.
10413 (call_value): Ditto.
10414 (call_symbol): Ditto.
10415
10416 * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
10417 ARM_DECLARE_FUNCTION_SIZE.
10418
10419 * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
10420 (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
10421 (ARM_STRIP_NAME_ENCODING): Undefine.
10422 (STRIP_NAME_ENCODING): Undefine.
10423 (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
10424 (ASM_DECLARE_FUNCTION_NAME): Ditto.
10425 (ASM_OUTPUT_COMMON): Ditto.
10426 (ASM_DECLARE_OBJECT_NAME): Ditto.
10427
10428 * config/arm/pe.c (arm_dllexport_name_p): Check for
10429 ARM_PE_FLAG_CHAR.
10430 (arm_dllimport_name_p): Ditto.
10431 (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
10432 (arm_mark_dllimport): Ditto.
10433
10434 Mon Feb 28 22:11:12 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10435
10436 * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
10437
10438 2000-02-28 Mark Mitchell <mark@codesourcery.com>
10439
10440 * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
10441
10442 2000-02-28 Zack Weinberg <zack@wolery.cumb.org>
10443
10444 * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
10445 * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
10446 NO_BUILTIN_WCHAR_TYPE is not defined.
10447 (CPP_WCHAR_TYPE): Delete.
10448 * cccp.c (main): Don't change wchar_type if cplusplus.
10449 (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
10450
10451 2000-02-28 Nick Clifton <nickc@cygnus.com>
10452
10453 * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
10454
10455 Mon Feb 28 14:21:15 2000 Catherine Moore <clm@cygnus.com>
10456
10457 * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
10458 (ASM_WEAKEN_LABEL): Define.
10459
10460 Mon Feb 28 13:07:19 MET 2000 Jan Hubicka <jh@suse.cz>
10461
10462 * expr.c (store_constructor): Do not emit USE.
10463 * rtl.h (stupid_life_analysis): Remove.
10464
10465 Mon Feb 28 07:03:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10466
10467 * function.c (number_blocks): Reset next_block_index based on
10468 what debugging format is used, not what is defined.
10469
10470 * lcm.c: Minor reformatting throughout.
10471 (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
10472
10473 * toplev.c (rest_of_compilation): Account for time in
10474 optimize_mode_switching.
10475
10476 * jump.c (jump_optimize_1): Don't call delete_barrier_successors
10477 if only marking labels.
10478
10479 Mon Feb 28 12:53:57 MET 2000 Jan Hubicka <jh@suse.cz>
10480
10481 * calls.c (expand_call): Attempt to combine stack adjustments with
10482 pending stack adjustments.
10483
10484 Mon Feb 28 11:34:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10485
10486 * loop.c (reg_in_basic_block_p): Don't abort when falling through
10487 to the end of the function.
10488
10489 2000-02-27 Mark Mitchell <mark@codesourcery.com>
10490
10491 * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
10492 blocks.
10493 * final.c (next_block_index): Remove.
10494 (max_block_depth): Likewise.
10495 (pending_blocks): Likewise.
10496 (init_final): Don't initialize them.
10497 (final_start_function): Don't set next_block_index. Set up
10498 BLOCK_NUMBER.
10499 (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
10500 * function.h (number_blocks): New function.
10501 * function.c (get_block_vector): New function.
10502 (identify_blocks): Use it.
10503 (reorder_blocks): Set NOTE_BLOCK.
10504 (number_blocks): New function.
10505 * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
10506 * tree.h (BLOCK_NUMBER): New macro.
10507 (tree_block): Add block_num field.
10508 * dbxout.c (next_block_number): Remove.
10509 (dbxout_init): Don't set it.
10510 (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
10511 set. Use BLOCK_NUMBER, rather than next_block_num, to determine
10512 block numbers.
10513 * toplev.c (rest_of_compilation): Always call
10514 find_loop_tree_blocks. Fix indentation.
10515 * dwarf2out.c (next_block_number): Remove.
10516 (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
10517 to determine block numbers.
10518 (gen_inlined_subroutine_die): Likewise.
10519 (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
10520 (decls_for_scope): Don't increment next_block_number.
10521 * dwarfout.c (next_block_number): Remove.
10522 (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
10523 to determine block numbers.
10524 (output_inlined_subroutine_die): Likewise.
10525 (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
10526 (output_decls_for_scope): Don't increment next_block_number.
10527 * sdbout.c (next_block_number): Remove.
10528 (sdbout_block): Use BLOCK_NUMBER.
10529 (sdbout_begin_block): Simplify.
10530 * xcoffout.c (next_block_number): Remove.
10531 (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
10532 (xcoffout_begin_block): Don't set next_block_number.
10533 (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
10534 next_block_number.
10535
10536 Sun Feb 27 16:40:33 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10537
10538 * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
10539 (expand_builtin_strcpy): Pass correct type to size_binop.
10540 (expand_builtin_strcmp): Likewise.
10541 Clean up conditional structure.
10542 * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
10543 (complete_array_type): Don't use size_binop for MAXINDEX.
10544 * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
10545 (c_sizeof_nowarn, c_size_in_bytes): Likewise.
10546 (c_alignof): Use size_one_node.
10547 (build_unary_op): Pass arg of proper type to size_binop.
10548 (really_start_incremental_init, push_init_level): Use sizetype for
10549 constructor{,_bit,_unfilled}_index.
10550 (pop_init_label, output_init_element): Likewise.
10551 (output_pending_init_elements, process_init_element): Likewise.
10552 * calls.c (compute_argument_block_size): Field VAR is ssizetype.
10553 * expr.c (store_expr): Use size_int.
10554 (store_constructor): Use proper types for size_binop args.
10555 (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
10556 (expand_expr_unaligned): Likewise.
10557 (string_contant): Return object of sizetype.
10558 * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
10559 (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
10560 (ARGS_SIZE_TREE): Pass proper types to size_binop.
10561 * fold-const.c (int_const_binop): Refine when size_int is called.
10562 (fold_convert): Likewise.
10563 (size_int_wide): Rework to take KIND as arg, only take low order
10564 bits, handle new sizetype_tab datatype, and chain entries in
10565 size_table.
10566 (size_int_type_wide): New function.
10567 (size_binop): Validate types of arguments.
10568 (ssize_binop): Deleted.
10569 (size_diffop): New function.
10570 (extract_muldiv): Only fold division into multiplication for sizetypes.
10571 * function.c (assign_parms): Use size_diffop and make sure
10572 VAR field is of ssizetype; also pass proper type to size_binop.
10573 (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
10574 (round_down): Deleted from here.
10575 * store-layout.c (sizetype_tab): Now an array.
10576 (sizetype_set, early_root_list): New variables.
10577 (variable_size): Use size_one_node.
10578 (round_up): Pass proper type to size_binop.
10579 (round_down): Moved to here and corrected as above.
10580 (layout_record): Pass proper arg types to size_binop.
10581 (layout_type): Likewise.
10582 If sizetype_set is zero, record the type just laid out.
10583 (make_unsigned_type): Don't call set_sizetype;
10584 (make_signed_type): Likewise; also, call fixup_signed_type.
10585 (initialize_sizetypes): New function.
10586 (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
10587 set name of bitsizetype to "bit_size_type".
10588 Fix up type of sizes of all types made before call.
10589 * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
10590 * tree.c (fix_sizetype): Deleted.
10591 (build_common_tree_nodes): Call initialize_sizetypes.
10592 (build_common_tree_nodes_2): Don't call fix_sizetype.
10593 * tree.h (TYPE_IS_SIZETYPE): New macro.
10594 (initialize_sizetype): New declaration.
10595 (enum size_type_kind): New type.
10596 (struct sizetype_tab): Deleted.
10597 (sizetype_tab): Now array; adjust sizetype macros.
10598 (size_diffop, size_int_type_wide): New functions.
10599 (size_int_wide): Change number of args and type; access macros changed.
10600 (ssize_int, sbitsize_int): New macros.
10601 * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
10602 (ROUND_TYPE_SIZE_UNIT): New macro.
10603
10604 2000-02-27 Zack Weinberg <zack@wolery.cumb.org>
10605
10606 * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
10607
10608 Sun Feb 27 07:44:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10609
10610 * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
10611 Mark as possibly unused.
10612
10613 * cse.c (cse_insn): Delete dead code involving tablejump.
10614 Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
10615
10616 * Makefile.in (libcpp.a): Start by deleting it.
10617
10618 2000-02-27 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10619
10620 * cpplib.h (enum file_change_code): Added rename_file.
10621 * cpplib.c (do_line): If a filename is given, set file_change to
10622 rename_file.
10623 (output_line_command): If file_change is rename_file, always
10624 output a # directive with the file name.
10625
10626 * cpplib.c (do_pragma): Accept #pragma without consecutive token.
10627
10628 2000-02-26 Mark Mitchell <mark@codesourcery.com>
10629
10630 * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
10631 when copying a PARM_DECL or RESULT_DECL.
10632
10633 2000-02-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10634
10635 * fix-header.c (recognized_function): Also fix prototypes for
10636 functions taking "void".
10637
10638 2000-02-26 Geoff Keating <geoffk@cygnus.com>
10639
10640 * reload1.c (do_output_reload): Check reg_reloaded_valid before
10641 looking at reg_reloaded_contents.
10642
10643 2000-02-26 Zack Weinberg <zack@wolery.cumb.org>
10644
10645 * Makefile.in (STMP_FIXINC): New toggle.
10646 (LIBGCC2_DEPS): Delete all references.
10647 (stmp-headers): Delete target. All references either deleted
10648 or changed to stmp-int-headers.
10649 (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
10650 (LIBCPP_OBJS): Take out cppalloc.o.
10651 (cppalloc.o): Delete target.
10652 (stmp-int-hdrs): Depend on $(STMP_FIXINC).
10653 (gen-protos, fix-header): Link with libiberty.a.
10654 * build-make: Don't change FIXINCLUDES. Override STMP_FIXINC
10655 to empty.
10656
10657 * configure.in: Remove refs to strerror.
10658 * acconfig.h: Take out NEED_DECLARATION_STRERROR.
10659 * system.h: Take out strerror stanza.
10660
10661 * cpperror.c (my_strerror): Delete function.
10662 (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
10663 * cppmain.c (main): Call xmalloc_set_program_name first thing.
10664 * cppalloc.c: Delete file.
10665 * gen-protos.c: Don't provide xrealloc.
10666
10667 * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
10668 xstrerror throughout.
10669
10670 2000-02-26 Bruce Korb <bkorb@gnu.org>
10671
10672 * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
10673 match for DOS headers, too.
10674 * fixinc/inclhack.sh,fixincl.x: Regenerate.
10675
10676 2000-02-26 Geoff Keating <geoffk@cygnus.com>
10677
10678 * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define. The default
10679 is right for most ELF targets.
10680 * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
10681 Let the default file use %U properly.
10682 * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define. Use the
10683 default.
10684
10685 * config/fp-bit.c (pack_d): Properly handle rounding of denormal
10686 numbers.
10687
10688 Sat Feb 26 09:39:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10689
10690 * toplev.c (documented_lang_options): Correct spelling error.
10691 (decode_d_option, decode_f_option, main): Likewise.
10692
10693 * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
10694
10695 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
10696 to tell assembler it is permitted to expand large constants.
10697
10698 2000-02-25 Mumit Khan <khan@xraylith.wisc.edu>
10699
10700 * protoize.c: (AUX_INFO_SUFFIX): New macro.
10701 (aux_info_suffix): Use.
10702 (SAVE_SUFFIX): New macro.
10703 (save_suffix): Use.
10704 (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
10705 (gen_aux_info_file): Use aux_info_suffix instead of ".X".
10706 (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
10707
10708 * invoke.texi (Running Protoize): Update documentation.
10709
10710 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
10711
10712 * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
10713
10714 2000-02-25 John Wehle (john@feith.com)
10715
10716 * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
10717
10718 2000-02-25 Anthony Green <green@cygnus.com>
10719
10720 * toplev.c (rest_of_compilation): Rebuild jump labels if
10721 combine_instructions has created a new direct jump.
10722 * combine.c (try_combine): Add new_direct_jump_p argument. Set it
10723 when appropriate.
10724 (combine_instructions): Call try_combine with new argument.
10725 Return non-null value when new direct jump instruction is created.
10726 * rtl.h: combine_instructions returns an int.
10727
10728 Fri Feb 25 19:49:08 2000 Jeffrey A Law (law@cygnus.com)
10729
10730 * cse.c (cse_insn): Replace the PATTERN of the insn with an new
10731 jump when changing a computed jump into a jump to a known
10732 target.
10733
10734 Fri Feb 25 19:22:44 2000 Graham Stott <grahams@rcp.co.uk>
10735
10736 * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
10737 to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
10738
10739 * i386.md (define_expand "clrstrsi"): Fix typo.
10740
10741 Fri Feb 25 18:49:39 2000 "K. Richard Pixley" <rich@microunity.com>
10742
10743 * rtl.texi: Fix typo.
10744
10745 Fri Feb 25 20:02:35 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10746
10747 * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
10748 UNITS_PER_WORD. Change caller initial_elimination_offset.
10749 (rounded_frame_size): Take into account that argument pushed has
10750 changed. Fix TARGET_ALIGN_DOUBLE problem.
10751
10752 2000-02-25 Geoff Keating <geoffk@cygnus.com>
10753
10754 * haifa-sched.c (schedule_block): Explain the real reason
10755 we delete REG_SAVE_NOTEs on the first insn of a block.
10756 Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
10757
10758 2000-02-24 Mark Mitchell <mark@codesourcery.com>
10759
10760 * input.h (push_srcloc): New function.
10761 (pop_srcloc): Likewise.
10762 * toplev.c (push_srcloc): Define it.
10763 (pop_srcloc): Likewise.
10764
10765 2000-02-24 Richard Henderson <rth@cygnus.com>
10766
10767 * flow.c (life_analysis): When collecting reg info, clear
10768 regs_ever_live.
10769
10770 Thu Feb 24 22:06:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10771
10772 Fix bug exposed by reload.c no longer rounding the frame
10773 size to BIGGEST_ALIGNMENT:
10774 * sh.c (rounded_frame_size): New function.
10775 (sh_expand_prologue, sh_expand_epilogue): Use it.
10776 (initial_elimination_offset): Likewise.
10777
10778 Thu Feb 24 20:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10779
10780 Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
10781 * sh-protos.h (sh_need_epilogue): Declare.
10782 * sh.c (sh_need_epilogue_known): New static variable.
10783 (sh_need_epilogue): New function.
10784 (function_epilogue): Clear need_epilogue_known.
10785 * sh.md (return): Split into expander / insn pattern.
10786 Make the expander conditional on ! sh_need_epilogue ().
10787
10788 2000-02-24 Nathan Sidwell <nathan@codesourcery.com>
10789
10790 * machmode.h (get_mode_alignment): Declare.
10791 (GET_MODE_ALIGNMENT): Call it.
10792 * stor-layout.c (get_mode_alignment): New function. Make
10793 sure alignment is always power of 2.
10794
10795 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
10796
10797 * i386.h: Remove useless definition of "I386" and misleading
10798 comment above it.
10799
10800 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
10801
10802 * tree.h (TREE_SET_PERMANENT): New macro. Document conditions
10803 under which TREE_PERMANENT will be set.
10804 * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
10805 build1): Use TREE_SET_PERMANENT.
10806 * print-tree.c (print_node): Don't report value of
10807 TREE_PERMANENT if ggc_p is true.
10808
10809 * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
10810 decide whether to give a type a new alias set.
10811 * objc/objc-act.c (build_objc_string_object): Never copy the string.
10812 * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
10813 of value of 'obstack'.
10814
10815
10816 2000-02-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10817
10818 * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
10819
10820 2000-02-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10821
10822 * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
10823 * cpplib.c (cpp_get_token): Produce them.
10824 * cppexp.c (cpp_lex): Handle them.
10825
10826 2000-02-23 Nick Clifton <nickc@cygnus.com>
10827
10828 * config/arm/arm.c (arm_comp_type_attributes): Simply and
10829 comment tests on type attributes.
10830
10831 Wed Feb 23 16:42:21 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10832
10833 * final.c (shorten_branches): Make value passed to LOOP_ALIGN
10834 conform to documentation.
10835 * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
10836 to check for special cases.
10837 * sh-protos.h (sh_loop_align): Declare.
10838 * sh.c (sh_loop_align): Define.
10839
10840 2000-02-22 Andrew Haley <aph@cygnus.com>
10841
10842 * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
10843 (SIZE_TYPE): Is 32 bits when using -mgp32.
10844 (PTRDIFF_TYPE): Ditto.
10845
10846 Wed Feb 23 07:26:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10847
10848 * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
10849
10850 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
10851
10852 * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
10853 BIGGEST_FIELD_ALIGNMENT a constant.
10854
10855 2000-02-21 Jason Merrill <jason@casey.cygnus.com>
10856
10857 * dwarf2out.c (output_line_info): Put the marker for the end of
10858 the line number info at the actual end.
10859 (gen_struct_or_union_type_die): Use decl_function_context
10860 to check for local classes.
10861 * dwarfout.c (output_type): Likewise.
10862
10863 Tue Feb 22 01:38:57 2000 Jeffrey A Law (law@cygnus.com)
10864
10865 * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
10866 for arguments with a mode, but no type.
10867 (FUNCTION_ARG_CALLEE_COPIES): Similarly.
10868 * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
10869 * pa/long_double.h: New file.
10870 * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
10871 both have 128bit wide long doubles.
10872 * configure: Rebuilt.
10873
10874 2000-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10875
10876 * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
10877
10878 * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
10879 fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
10880 (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
10881
10882 * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
10883
10884 * integrate.c (compare_blocks, find_block): Likewise.
10885
10886 * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
10887
10888 * rtl.h (set_file_and_line_for_stmt): Constify a char*.
10889
10890 * stmt.c (stmt_status, set_file_and_line_for_stmt,
10891 expand_asm_operands): Likewise.
10892
10893 Mon Feb 21 17:06:27 2000 Jason Eckhardt <jle@cygnus.com>
10894
10895 * predict.c (estimate_probability): Added the pointer heuristic to
10896 the collection of static branch predictors.
10897
10898 2000-02-21 Catherine Moore <clm@cygnus.com>
10899
10900 * config/mips/mips.h (ASM_SPEC): Add -mfix700.
10901 * invoke.texi (-mfix7000): Document.
10902
10903 2000-02-21 Gabriel Dos Reis <gdr@codesourcery.com>
10904
10905 * diagnostic.c (init_output_buffer): Make it possible to output at
10906 least 32 characters if we're given a too long prefix.
10907
10908 2000-02-20 Mark Mitchell <mark@codesourcery.com>
10909
10910 * varasm.c (initializer_constant_valid_p): Call
10911 lang_expand_constant to simplify the constant.
10912
10913 2000-02-20 Bruce Korb <bkorb@gnu.org>
10914
10915 * fixinc/inclhack.def(stdio_va_list):
10916 typedef needs to be disabled.
10917 * fixinc/inclhack.sh: regen
10918 * fixinc/fixincl.x: regen
10919
10920 2000-02-20 Geoff Keating <geoffk@cygnus.com>
10921
10922 * print-rtl.c (print_rtx): Don't print addresses when
10923 flag_dump_unnumbered.
10924
10925 2000-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10926
10927 * sparc.c (sparc_output_scratch_registers): Mark parameter with
10928 ATTRIBUTE_UNUSED.
10929 (sparc_va_arg, sparc_flat_output_function_prologue,
10930 sparc_flat_output_function_epilogue): Cast value to unsigned in
10931 comparison.
10932 (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
10933
10934 * sparc.md: Add default case in switch.
10935
10936 2000-02-19 Richard Henderson <rth@cygnus.com>
10937
10938 * c-typeck.c (add_pending_init): Don't abort for multiple
10939 fields at the same offset.
10940 (pending_init_member): Test the correct member.
10941
10942 2000-02-19 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10943
10944 * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
10945 instead of SImode.
10946 (start_catch_handler) : Same.
10947
10948 2000-02-19 Brad Lucier (lucier@math.purdue.edu)
10949
10950 * Makefile.in: Have flow.o depend on $(EXPR_H)
10951
10952 Sat Feb 19 18:43:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10953
10954 * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
10955 * c-decl.c (duplicate_decls, finish_enum): Likewise.
10956 (finish_decl): Remove -Wlarger-than code from here.
10957 * flags.h (id_clash_len): Now int.
10958 (larger_than_size): Now HOST_WIDE_INT.
10959 * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
10960 Clean up checking to see if in table.
10961 (make_bit_field_ref): Remove extra parm to bitsize_int.
10962 * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
10963 * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
10964 * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
10965 and for computing size of decl.
10966 * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
10967 Move -Wlarger-than code to here.
10968 (layout_record): Remove extra arg to bitsize_int.
10969 Set TYPE_BINFO_SIZE_UNIT.
10970 (layout_union): Remove extra arg to bitsize_int.
10971 Use proper type for size of QUAL_UNION.
10972 (layout_type): Remove extra arg to bitsize_int.
10973 * toplev.c (id_clash_len): Now int.
10974 (larger_than_size): Now HOST_WIDE_INT.
10975 (decode_W_option): Clean up id-clash and larger-than- cases.
10976 * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
10977 (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
10978 * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
10979 (struct tree_decl): New field size_unit.
10980 (size_int_wide): No HIGH operand; NUMBER is now signed.
10981 (size_int_2): Deleted.
10982 (size_int, bitsize_int): Don't use it and rework args.
10983 * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
10984
10985 Fri Feb 18 20:01:58 2000 Jeffrey A Law (law@cygnus.com)
10986
10987 * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
10988
10989 2000-02-18 Geoff Keating <geoffk@cygnus.com>
10990
10991 * invoke.texi (Warning Options): Add an explanation of why
10992 you might want the -Wfloat-equal flag.
10993
10994 Fri Feb 18 20:08:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10995
10996 * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
10997 * cppinit.c (new_pending_define): Add cast to avoid warning.
10998 * expmed.c (extract_bit_field): Likewise.
10999 * flow.c (enum reorder_skip_type): New type.
11000 (skip_insns_between_blcok): New it.
11001 Rework to avoid warning about possibly undefined variable.
11002 * function.c (assign_parms): Make thisparm_boundary unsigned.
11003 * genrecog.c (write_switch): Cast XWINT result to int.
11004 * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
11005 * mips-tfile.c (init_file): Make two versions of FDR intializer:
11006 one for MIPS and one for Alpha.
11007 (get_tag, copy_object): Add casts to avoid warnings.
11008 * optabs.c (init_one_libfunc): Cast NAME to (char *).
11009 * reload.c (find_reloads): Make TYPE enum reload_type.
11010 * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
11011 * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
11012 * varasm.c (compare_constant_1): Add cast to avoid warning.
11013 * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
11014 to (char *).
11015 (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
11016 Cast switch operand of size to int.
11017 (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
11018 * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
11019 in unhandled case.
11020
11021 2000-02-18 Nick Clifton <nickc@cygnus.com>
11022
11023 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
11024 anything for an alignment of zero.
11025
11026 * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
11027 anything for an alignment of zero.
11028
11029 2000-02-18 Martin von Loewis <loewis@informatik.hu-berlin.de>
11030
11031 * gcc.texi (Bug Reporting): Refer to bugs.html.
11032 (Bug Lists): Likewise.
11033 * system.h (GCCBUGURL): New preprocessor define.
11034 * rtl.c (fancy_abort): Use it.
11035 * gcc.c (main): Likewise.
11036
11037 2000-02-18 Richard Henderson <rth@cygnus.com>
11038
11039 * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
11040 (life_analysis_1): Subsume into ...
11041 (life_analysis): ... here. Force PROP_REG_INFO off after reload.
11042 Use update_life_info for the relaxation.
11043 (update_life_info): Update REG_BASIC_BLOCK for registers live on
11044 entry and regs_live_at_setjmp.
11045 (set_noop_p): Simplify.
11046 (notice_stack_pointer_modification_1): Renamed from s/_1//.
11047 (record_volatile_insns): Split into ...
11048 (delete_noop_moves): ... here,
11049 (notice_stack_pointer_modification): ... here,
11050 (insn_dead_p): ... and here.
11051 (propagate_block): Don't query INSN_VOLATILE.
11052 (mark_used_regs): Mind !PROP_REG_INFO.
11053 * toplev.c (rest_of_compilation): Call mark_constant_function here,
11054 not in life_analysis.
11055
11056 Fri Feb 18 01:29:22 EST 2000 John Wehle (john@feith.com)
11057
11058 * loop.c (canonicalize_condition): New function,
11059 broken out of get_condition.
11060 (get_condition): Use it.
11061 * expr.h (canonicalize_condition): Prototype it.
11062
11063 * tree.h (tree_int_cst_msb): Declare.
11064 * tree.c (tree_int_cst_msb): New function.
11065
11066 2000-02-17 Mark Mitchell <mark@codesourcery.com>
11067
11068 * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
11069 isn't set.
11070
11071 * invoke.texi (-fmessage-length=n): Document.
11072
11073 2000-02-17 Jason Merrill <jason@casey.cygnus.com>
11074
11075 * bitmap.c (bitmap_operation): Don't leak bitmap elements.
11076
11077 2000-02-17 Mark Mitchell <mark@codesourcery.com>
11078
11079 * function.c (thread_prologue_and_epilogue_insns): Put a line note
11080 after the prologue.
11081
11082 2000-02-17 Nick Clifton <nickc@cygnus.com>
11083
11084 * config/arm/thumb.c: Replace includes of system headers with
11085 #include "system.h".
11086
11087 2000-02-16 Richard Henderson <rth@cygnus.com>
11088
11089 * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
11090 Add crtbeginS.o and crtendS.o.
11091 * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
11092 (ENDFILE_SPEC): Use crtendS.o.
11093 * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
11094
11095 * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
11096 (__do_global_dtors_aux): ... here. Call __cxa_finalize if
11097 shared and present.
11098 (__dso_handle): New variable.
11099 * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
11100 bias to __CTOR_END__.
11101
11102 2000-02-16 Richard Henderson <rth@cygnus.com>
11103
11104 * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
11105
11106 Wed Feb 16 21:40:04 2000 Hans-Peter Nilsson <hp@bitrange.com>
11107
11108 * longlong.h (__clz_tab): Declare as static to match definition.
11109
11110 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
11111
11112 * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
11113 (XREF_FILE_NAME): Define.
11114
11115 * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
11116 (EH_FRAME_SECTION_ASM_OP): Define.
11117 (IDENT_ASM_OP): Define.
11118 (TEXT_SECTION_ASM_OP): Define.
11119 (CPP_SPEC): Define.
11120 (CTORS_SECTION_ASM_OP): Define.
11121 (CTOR_SECTION_FUNCTION): Use it.
11122 (DTORS_SECTION_ASM_OP): Define.
11123 (DTOR_SECTION_FUNCTION): Use it.
11124
11125 2000-02-16 Zack Weinberg <zack@wolery.cumb.org>
11126
11127 * reg-stack.c (emit_swap_insn): Do not put a new insn before a
11128 NOTE_BASIC_BLOCK.
11129
11130 * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
11131 debug_bb_n): New functions.
11132 (dump_flow_info, print_rtl_with_bb): Use dump_regset.
11133 * basic-block.h: Prototype new functions.
11134
11135 Wed Feb 16 21:07:53 2000 Denis Chertykov <denisc@overta.ru>
11136
11137 * configure.in: Add support for avr target.
11138 * configure: Rebuilt.
11139
11140 * invoke.texi: Add AVR invocation docs.
11141 * install.texi: Add information about AVR.
11142 * md.texi: Add AVR constraint letters description.
11143 * extend.texi: Add description for AVR specific attributes.
11144
11145 2000-02-16 Jason Merrill <jason@casey.cygnus.com>
11146
11147 * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
11148
11149 2000-02-16 Nick Clifton <nickc@cygnus.com>
11150
11151 * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
11152 (make_insn_raw): Move RTL check here.
11153
11154 2000-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11155
11156 * version.c: Include gansidecl.h and version.h.
11157
11158 * version.h: Wrap entire file in macro __GCC_VERSION_H__.
11159
11160 * configure.in (gcc_version): When setting, narrow search to
11161 lines containing `version_string'.
11162
11163 * Makefile.in (mainversion): Likewise.
11164 (GCC_H): New variable.
11165 (gcc.h): Delete target.
11166 (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
11167 (version.o): Depend on version.h.
11168 (dbxout.o): Don't depend on gcc.h.
11169
11170 Wed Feb 16 15:04:49 2000 Hans-Peter Nilsson <hp@bitrange.com>
11171 Michael Meissner <meissner@cygnus.com>
11172
11173 * md.texi (Simple Constraints): Add item about whitespace.
11174 * genoutput.c (strip_whitespace): New.
11175 (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
11176 strip_whitespace for constraints.
11177 Test pointer using NULL, not 0.
11178
11179 2000-02-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11180
11181 * cpplib.c (do_line): Pedwarn for #line > 32767.
11182
11183 * c-lex.c (readescape): Warn about '\x', but do not reject it.
11184
11185 2000-02-15 Jonathan Larmour <jlarmour@redhat.co.uk>
11186
11187 * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
11188 to default cpp spec.
11189 (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
11190 * cpp.texi: Document __GNUC_PATCHLEVEL__.
11191 * cpp.1: Likewise.
11192
11193 * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
11194 default spec.
11195
11196 2000-02-15 Denis Chertykov <denisc@overta.ru>
11197
11198 * configure.in: Add support for avr target.
11199
11200 Wed Feb 16 03:21:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11201
11202 * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
11203 (sh_addr_diff_vec_mode): Don't declare.
11204 * sh.c (sh_addr_diff_vec_mode): Delete.
11205
11206 Wed Feb 16 01:27:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11207
11208 * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
11209
11210 Wed Feb 16 00:58:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11211
11212 * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
11213 (smulsi3_highpart_i): Name.
11214 (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
11215 (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
11216 (smulsi3_highpart, umulsi3_highpart): Likewise.
11217
11218 (mulsidi3_i, umulsidi3_i): Make rtl describe operation
11219 correctly independent of endianness.
11220 (mulsidi3, umulsidi3): Now define_insn. Hide details that
11221 confuse the optimizers.
11222 (mulsidi3+1, umulsidi3+1): New define_split.
11223
11224 Tue Feb 15 23:22:26 2000 Andrew Haley <aph@cygnus.com>
11225
11226 * config/sh/sh.md: Guard insn splits against illegal registers.
11227 * config/sh/sh.h: Correct comment about macros.
11228
11229 Tue Feb 15 22:30:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11230 Andrew MacLeod <amacleod@cygnus.com>
11231
11232 * Makefile.in (lcm.o): Depend on insn-attr.h.
11233 * basic-block.h (optimize_mode_switching): Declare.
11234 * lcm.c (tm_p.h, insn-attr.h): #include.
11235 (seginfo, bb_info): New structs.
11236 (antic, transp, comp, delete, insert) : New file-scope static variables.
11237 (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
11238 (reg_becomes_live, optimize_mode_switching): Likewise.
11239 * tm.texi: Add description of mode switching macros.
11240 * toplev.c (rest_of_compilation): Call optimize_mode_switching.
11241
11242 * sh-protos.h (remove_dead_before_cse): Remove prototype.
11243 (fldi_ok, fpscr_set_from_mem): New prototypes.
11244 * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
11245 (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
11246 Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
11247 (sh_flag_remove_dead_before_cse): Remove declaration.
11248 (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
11249 (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
11250 (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
11251 * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
11252 (barrier_align): Allow for JUMP_INSNS containing a parallel.
11253 (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
11254 (fldi_ok): New function.
11255 (get_fpscr_rtx): Add fpscr_rtx as GC root.
11256 (emit_sf_insn): Only generate fpu switches when optimize < 1.
11257 (emit_df_insn): Likewise.
11258 (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
11259 (sh_flag_remove_dead_before_cse): Delete.
11260 (get_free_reg, fpscr_set_from_mem): New functions.
11261 * sh.md (movdf, movsf): Remove no_new_pseudos code.
11262 (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
11263
11264 2000-02-15 Loren Rittle <ljrittle@acm.org>
11265
11266 * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
11267
11268 2000-02-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11269
11270 * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
11271 cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
11272
11273 * cccp.c: Include version.h and/or don't declare `version_string'.
11274 * collect2.c: Likewise.
11275 * alpha.c: Likewise.
11276 * arm/aof.h: Likewise.
11277 * arm/coff.h: Likewise.
11278 * arm/elf.h: Likewise.
11279 * arm/pe.h: Likewise.
11280 * arm/tcoff.h: Likewise.
11281 * arm/telf.h: Likewise.
11282 * arm/tpe.h: Likewise.
11283 * arm/vxarm.h: Likewise.
11284 * convex/convex.c: Likewise.
11285 * i386/dgux.c: Likewise.
11286 * i386/sun386.h: Likewise.
11287 * m88k/m88k.c: Likewise.
11288 * mcore/mcore-pe.h: Likewise.
11289 * mips/mips.h: Likewise.
11290 * romp/romp.h: Likewise.
11291 * sh/sh.c: Likewise.
11292 * cpphash.c: Likewise.
11293 * cppinit.c: Likewise.
11294 * dwarf2out.c: Likewise.
11295 * dwarfout.c: Likewise.
11296 * gcc.c: Likewise.
11297 * gcc.h: Likewise.
11298 * mips-tfile.c: Likewise.
11299 * protoize.c: Likewise.
11300 * toplev.c: Likewise.
11301 * tree.h: Likewise.
11302
11303 * version.c (version_string): Constify a char*.
11304
11305 * version.h: New file.
11306
11307 2000-02-14 Nick Clifton <nickc@cygnus.com>
11308
11309 * configure.in: Add mcore-elf and mcore-pe targets.
11310 * configure: Regenerate.
11311
11312 * NEWS: Add note that MCore port has been contributed.
11313
11314 * invoke.texi: Document command line switches for MCore port.
11315 * install.texi: Add MCore to list of supported targets.
11316
11317 2000-02-14 Geoff Keating <geoffk@cygnus.com>
11318
11319 * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
11320 then we will need to import the frame handling functions.
11321 (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
11322 to import the frames themselves.
11323
11324 Mon Feb 14 13:31:01 2000 Stan Cox <scox@cygnus.com>
11325 Jason Eckhardt <jle@cygnus.com>
11326
11327 * basic_block.h: Added prototype for reorder_basic_blocks.
11328 * toplev.c: Changes to add -freorder-blocks and graph dump after
11329 block reordering is done.
11330 * flow.c (reorder_block_def): New structure for use during block
11331 reordering.
11332 (REORDER_BLOCK_*): New macros to access members of above structure.
11333 (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
11334 make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
11335 functions for block reordering.
11336
11337 Mon Feb 14 11:24:44 2000 Hans-Peter Nilsson <hp@bitrange.com>
11338
11339 * gcc.texi (Passes): Fix typo.
11340 * md.texi (Standard Names): Ditto.
11341 * tm.texi (Storage Layout): Ditto.
11342
11343 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
11344
11345 * cpplib.c (do_define): Only free the old definition if it
11346 actually had one.
11347
11348 2000-02-13 Neil Booth <NeilB@earthling.net>
11349
11350 * cppfiles.c (read_and_prescan): When emitting deferred
11351 newlines, test speccase[] again instead of checking each
11352 possible whitespace character in turn. When we encounter \r,
11353 look behind for \n first, then ahead.
11354
11355 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
11356
11357 * cse.c (cse_altered): New internal flag.
11358 (cse_insn): Set it if we changed an insn.
11359 (cse_main): Clear cse_altered before each basic block.
11360 Only garbage collect if cse_altered is true afterward.
11361
11362 Sun Feb 13 14:12:28 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11363
11364 * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
11365
11366 Sun Feb 13 13:21:55 2000 Jeffrey A Law (law@cygnus.com)
11367
11368 * combine.c (simplify_comparison): Fix typo.
11369
11370 Sun Feb 13 12:57:52 2000 Neil Booth <NeilB@earthling.net>
11371
11372 * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
11373 consistently.
11374
11375 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11376
11377 * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
11378 previously inserted node instead of root node. Caller changed.
11379
11380 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11381
11382 * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
11383
11384 2000-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11385
11386 * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
11387 __dereg_frame_dtor): Add prototype argument.
11388
11389 * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
11390
11391 * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
11392
11393 * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
11394
11395 * gthr-vxworks.h (__gthread_once): Likewise.
11396
11397 * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
11398
11399 Sat Feb 12 01:44:26 MET 2000 Jan Hubicka <jh@suse.cz>
11400
11401 * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
11402 (ix86_expand_epilogue): ... here. Use mov instead of add to restore
11403 stack pointer in functions w/o saved registers, output LEAVE more often
11404 on TARGET_USE_LEAVE machines.
11405
11406 2000-02-07 Dmitri Makarov <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
11407
11408 * config/arm/arm.c (arm_init_cumulative_args); New function:
11409 Initlaise the CUMULATIE_ARGS strcuture for a function
11410 defintion.
11411 (arm_function_arg): New function: Determine where to place a
11412 function's argument. Also handles deciding the function's
11413 call cookie.
11414 (current_file_function_operand): New function: Return true if
11415 the symbol is a function which has already been compiled.
11416 (arm_is_long_call_p): New function: Return true if the
11417 indicated function should be called via a long call.
11418 (arm_valid_type_attribute_p): New function: Return true if the
11419 attribute is a valid, arm specific, attribute.
11420 (arm_comp_type_attribute): New function: Return true if the
11421 two types have compatable, arm specific, attributes.
11422
11423 * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
11424 structure.
11425 (FUNCTION_ARG): Redefine to call arm_function_arg.
11426 (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
11427 structure field.
11428 (INIT_CUMULATIVE_ARGS): Redefine to call
11429 arm_init_cumulative_args.
11430 (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
11431 field.
11432 (SETUP_INCOMING_VARARGS): Redefine to use correct structure
11433 field.
11434 (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
11435 functions.
11436 (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
11437 (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
11438 (COMP_TYPE_ATTRIBUTES): Define.
11439
11440 * config/arm/arm.md (call): Call arm_is_long_call_p to decide
11441 if a long call is needed.
11442 (call_value): Call arm_is_long_call_p to decide if a long call
11443 is needed.
11444 (call_symbol): Call arm_is_long_call_p to decide if a long call
11445 is needed.
11446
11447 * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
11448
11449 2000-02-11 Denis Chertykov <denisc@overta.ru>
11450
11451 * README.AVR: New file with information about the avr ports.
11452 * config/avr: New directory with avr port files.
11453
11454 2000-02-11 Andreas Jaeger <aj@suse.de>
11455
11456 * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
11457
11458 2000-02-11 Zack Weinberg <zack@wolery.cumb.org>
11459
11460 * cpphash.c: Fix formatting, update commentary.
11461 (dump_definition): Take three separate arguments instead of a
11462 MACRODEF structure argument.
11463 * cpphash.h: Update prototype of dump_definition.
11464 * cppinit.c (cpp_finish): Update call of dump_definition.
11465
11466 * cpplib.c (do_define): Always create new hash entry with
11467 T_MACRO type. Remove redundant check for redefinition of
11468 poisoned identifier. Update call of dump_definition.
11469 (do_undef): Don't call check_macro_name. Rename sym_length to
11470 len.
11471 (do_error, do_warning): Don't use copy_rest_of_line or
11472 SKIP_WHITE_SPACE.
11473 (do_warning): Don't use pedwarn for the actual warning,
11474 only the notice about its not being in the standard. (Fixes
11475 bug with #warning in system headers.)
11476 (do_ident): Stricter argument checking - accept only a single
11477 string after #ident. Also, macro-expand the line.
11478 (do_xifdef): Use cpp_defined. De-obfuscate.
11479
11480 (do_pragma): Split out specific pragma handling to separate
11481 functions. Use get_directive_token. Update commentary. Do
11482 not pass on #pragma once or #pragma poison to the front end.
11483 (do_pragma_once, do_pragma_implementation, do_pragma_poison,
11484 do_pragma_default): New.
11485
11486 Feb 11 12:30:53 2000 Jeffrey A Law (law@cygnus.com)
11487
11488 * jump.c (jump_optimize_1): The first operand in a relational
11489 can be a CONST_INT.
11490 * optabs.c (emit_conditional_move): Handle relationals which
11491 have a known true/false result.
11492
11493 2000-02-11 Geoff Keating <geoffk@cygnus.com>
11494
11495 * function.c (thread_prologue_and_epilogue_insns): Don't insert
11496 a RETURN insn into a block which already ends with a jump.
11497
11498 2000-02-11 Geoff Keating <geoffk@cygnus.com>
11499
11500 * haifa-sched.c (BUF_LEN): Increase a lot.
11501
11502 2000-02-11 Nick Clifton <nickc@cygnus.com>
11503
11504 * configure.in: Add tm_p_file specification for thumb targets.
11505 * configure: Regenerate.
11506
11507 * config/arm/thumb-protos.h: New file: Prototypes for exported
11508 functions defined in thumb.c.
11509
11510 2000-02-11 Robert Lipe <robertl@sco.com>
11511
11512 * Makefile.in (bootstrap-lean): Remove additional files.
11513 (bootstrap2-lean): Likewise.
11514 (VOL_FILES): List of files for above.
11515
11516 2000-02-11 Nathan Sidwell <nathan@acm.org>
11517
11518 * cpphash.c (special_symbol): Remove spurious argument to
11519 cpp_lookup.
11520
11521 2000-02-11 Joel Sherrill (joel@OARcorp.com>
11522
11523 * configure.in: (i*86-*-rtems*): Swapped elf and coff
11524 stanzas.
11525 * configure: Rebuilt.
11526
11527 2000-02-11 Rodney Brown <RodneyBrown@pmsc.com>
11528
11529 * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
11530
11531 Fri Feb 11 02:59:05 2000 Jeffrey A Law (law@cygnus.com)
11532
11533 * pa.c, pa.h: Remove trigraph sequences within comments.
11534
11535 Fri Feb 11 02:51:56 2000 Pavel Roskin <pavel_roskin@geocities.com>
11536
11537 * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
11538
11539 Fri Feb 11 02:48:30 2000 Brad Lucier (lucier@math.purdue.edu)
11540
11541 * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
11542
11543 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11544
11545 * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
11546
11547 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11548
11549 * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
11550 (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
11551 (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
11552 (ASM_FILE_END): Use c4x_file_end.
11553 * config/c4x/c4x.c (c4x_global_label): New function.
11554 (c4x_external_ref, c4x_file_end): Likewise.
11555
11556 * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
11557 (c4x_external_ref, c4x_end_file): Likewise.
11558
11559 2000-02-10 Zack Weinberg <zack@wolery.cumb.org>
11560
11561 * cppexp.c: Don't include cpphash.h.
11562 (parse_charconst, cpp_lex): Use cpp_defined.
11563 (cpp_lex): Use get_directive_token throughout. Remove
11564 unnecessary cases from switch. Move assertion-handling code
11565 down to OTHER case.
11566 (cpp_parse_expr): If we see '+' or '-', check the context to
11567 determine if they are unary or binary operators. Streamline
11568 the jumps a bit. Do not call skip_rest_of_line.
11569
11570 * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
11571 static. Export get_directive_token. Update commentary.
11572 (cpp_defined): New function.
11573 (do_define): Remove reference to T_PCSTRING. Call
11574 free_definition to release memory for old definition, when
11575 redefining a macro.
11576 (eval_if_expression): Set only_seen_white to 0 before calling
11577 cpp_parse_expr. Call skip_rest_of_line after it returns.
11578 (cpp_read_check_assertion): Don't preserve a pointer into the
11579 token buffer across a call to cpp_get_token.
11580
11581 * Makefile.in (cppexp.o): Don't depend on cpphash.h.
11582 * cppfiles.c (redundant_include_p): Use cpp_defined.
11583 * cpphash.c (free_definition): New function.
11584 (delete_macro): Use it. Update commentary.
11585 * cpphash.h: Typedef HASHNODE here. Prototype cpp_lookup and
11586 free_definition.
11587 * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
11588 from enum node_type. Prototype cpp_defined and get_directive_token.
11589 Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
11590
11591 * fix-header.c (check_macro_names): Use cpp_defined.
11592 (read_scan_file): Set inhibit_warnings and inhibit_errors in
11593 the options structure.
11594
11595 2000-02-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
11596
11597 * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
11598
11599 2000-02-10 Jason Merrill <jason@casey.cygnus.com>
11600
11601 * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
11602 rather than die->die_tag.
11603
11604 Thu Feb 10 16:26:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11605
11606 * combine.c (make_extraction, force_to_mode): Avoid warning on
11607 mixed-signedness conditionals.
11608 (make_field_assignment, nonzero_bits): Likewise.
11609 * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
11610 (store_split_bit_field, extract_split_bit_field): Likewise.
11611 (extract_fixed_bit_field, store_bit_field,
11612 * expr.c: Change alignment to be unsigned everywhere.
11613 (move_by_pieces, store_constructor_field, store_constructor):
11614 Alignment parm is unsigned.
11615 (emit_block_move, emit_group_load, emit_group_store): Likewise.
11616 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
11617 (do_compare_rtx_and_jump): Likewise.
11618 (move_by_pieces_ninsns, clear_by_pieces): Likewise.
11619 Compare align with GET_MODE_ALIGNMENT.
11620 (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
11621 (get_inner_reference): Likewise.
11622 (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
11623 (expand_assignment): Local vars for alignment now unsigned.
11624 (store_constructor, store_field, expand_expr, do_jump): Likewise.
11625 (do_compare_and_jump): Likewise.
11626 (store_field): Call new function expr_align.
11627 * expr.h (emit_block_move, emit_group_load, emit_group_store):
11628 Alignment arg now unsigned.
11629 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
11630 (do_compare_rtx_and_jump, store_bit_field): Likewise.
11631 (extract_bit_field): Likewise.
11632 * fold-const.c (add_double): Add cast to eliminate signedness warning.
11633 * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
11634 (get_best_mode): Alignment arg is unsigned.
11635 * rtl.h (move_by_pieces): Likewise.
11636 * store-layout.c (maximum_field_alignment, set_alignment):
11637 Now unsigned.
11638 (layout_decl): Alignment arg is now unsigned.
11639 Remove unneeded casts.
11640 (layout_record, layout_union, layout_type): Remove unneeded casts.
11641 Local alignment variables now unsigned.
11642 (get_best_mode): Alignment arg now unsigned.
11643 * tree.c (expr_align): New function.
11644 * tree.h (expr_align): Likewise.
11645 (maximum_field_alignment, set_alignment): Now unsigned.
11646 (get_inner_reference): Alignment argument is now pointer to unsigned.
11647 * varasm.c (assemble_variable): Add cast to eliminate warning.
11648
11649 Thu Feb 10 12:56:47 2000 Jim Wilson <wilson@cygnus.com>
11650
11651 * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
11652 then store directly into op0.
11653
11654 * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
11655 the CALL_INSN, and emit the note immediately after it.
11656
11657 2000-02-10 Nick Clifton <nickc@cygnus.com>
11658
11659 * config/arm/thumb.md (epilogue): Include a (return) in the
11660 generated insn, and emit it using emit_jump_insn not
11661 emit_insn.
11662
11663 Thu Feb 10 18:28:59 MET 2000 Jan Hubicka <jh@suse.cz>
11664
11665 * function.c (assign_temp): Change zero-sized arrays to size 1.
11666 * integrate.c (expand_inline_function): Do not update
11667 stack_alignment_needed
11668 * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
11669 add some sanity checking, remove optimization for function with
11670 zero frame size.
11671
11672 2000-02-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11673
11674 * flow.c (mark_regs_live_at_end): Delete unused variables.
11675
11676 * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
11677
11678 * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
11679 in macro FRAME_GROWS_DOWNWARD.
11680
11681 * stmt.c (expand_end_bindings): Delete unused variable.
11682
11683 * unroll.c (iteration_info): Mark parameter `loop' with
11684 ATTRIBUTE_UNUSED.
11685
11686 2000-02-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11687
11688 * fixinc/server.c (load_data): Return NULL if the marker line is
11689 not found.
11690 (run_shell): If load_data returns NULL, retry the command once, in
11691 a new shell.
11692
11693 * configure: Rebuilt.
11694
11695 2000-02-09 Bruce Korb <bkorb@gnu.org>
11696
11697 * gcc/fixincludes: ** DELETED **
11698 * gcc/fixcpp: ** DELETED **
11699 * gcc/fixinc-nt.sed: ** DELETED **
11700 * gcc/just-fixinc: ** DELETED **
11701 * gcc/Makefile.in: Removed out-dated commentary
11702 * gcc/configure.in: Removed fast-fixincludes disablement.
11703 * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
11704
11705 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
11706 * function.c (thread_prologue_and_epilogue_insns): Uncomment
11707 last change.
11708
11709 2000-02-09 Richard Henderson <rth@cygnus.com>
11710
11711 * jump.c (delete_insn): Don't delete user labels at -O0.
11712
11713 2000-02-09 Robert Lipe <robertl@sco.com>
11714
11715 * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
11716 Don't link with HOST_LIBS.
11717
11718 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
11719
11720 * configure.in: Correct --help text for --with-dwarf2.
11721 Put tm-dwarf2.h after other tm files, if it's requested.
11722 * configure: Regenerate.
11723 * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
11724 defining it.
11725
11726 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
11727
11728 * cpplib.h: Provide HASHNODE typedef and forward decl of
11729 struct hashnode only. Kill cpp_hashnode typedef. MACRODEF,
11730 DEFINITION, struct hashnode, struct macrodef, struct
11731 definition, scan_decls prototype, default defn of
11732 INCLUDE_LEN_FUDGE moved elsewhere.
11733
11734 * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
11735 definition, and struct hashnode moved here. Remove the unused
11736 'predefined' field from struct definition. Replace the 'args'
11737 union with its sole member. All users updated (cpphash.c).
11738 Delete HASHSTEP and MAKE_POS macros, and hashf prototype. Add
11739 multiple include guard.
11740
11741 * cpphash.c (hashf): Make static; use better algorithm; drop
11742 HASHSIZE parameter; return an unsigned int.
11743 (cpp_lookup): Drop HASH parameter. PFILE parameter is
11744 used. Calculate HASHSIZE modulus here.
11745 (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
11746 here.
11747 (create_definition): Drop PREDEFINITION parameter.
11748 * cpplib.c (do_define): Don't calculate a hash value here.
11749 Don't pass (keyword == NULL) to create_definition.
11750
11751 * scan.h: Prototype scan_decls here.
11752 * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
11753 * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
11754 callers of cpp_lookup and cpp_install updated.
11755
11756 * cpphash.c (macarg): Hoist all the flag diddling out of the
11757 function...
11758 (macroexpand): ... and out of the loop that calls macarg.
11759 Skip over the initial paren before macro arguments with
11760 cpp_get_non_space_token; point may be some distance before
11761 that paren. Abort if it's not there.
11762
11763 * cpplib.c (parse_clear_mark): Delete function.
11764 (parse_set_mark, parse_goto_mark): Make static.
11765 (ACTIVE_MARK_P): New macro.
11766 (skip_block_comment, skip_line_comment): Do not bump the line
11767 if ACTIVE_MARK_P is true.
11768 (cpp_pop_buffer): The buffer to be popped may not have an
11769 active mark.
11770 (cpp_get_token): When looking for the initial paren before
11771 macro arguments, only set a mark in a file buffer, Always
11772 return to that mark before proceeding to call macroexpand or
11773 return a NAME token.
11774
11775 * cpplib.h: Remove prototypes of parse_set_mark,
11776 parse_clear_mark, parse_goto_mark.
11777 (struct cpp_options): Rename 'put_out_comments' to
11778 'discard_comments' and invert its sense.
11779 * cppinit.c, cpphash.c, cpplib.c: All users of
11780 put_out_comments changed to use discard_comments, with
11781 opposite sense.
11782
11783 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
11784
11785 * function.c (thread_prologue_and_epilogue_insns): Don't delete
11786 the edge from a block that both jumps and falls through to the
11787 fallthru block.
11788
11789 2000-02-09 Scott Bambrough <scottb@netwinder.org>
11790
11791 * config/arm/arm.md (movsi): In PIC mode, make sure that a
11792 constant source address is legitimate.
11793
11794 2000-02-09 Philip Blundell <pb@futuretv.com>
11795
11796 * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
11797 correctly.
11798
11799 * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
11800 generating PIC.
11801 (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
11802
11803 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
11804
11805 * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
11806 ends with a newline and a NUL. Don't be so clever manipulating
11807 strings.
11808
11809 Wed Feb 9 14:18:08 MET 2000 Jan Hubicka <jh@suse.cz>
11810
11811 * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
11812 not to BIGGEST_ALIGNMENT.
11813
11814 2000-02-08 Geoff Keating <geoffk@cygnus.com>
11815
11816 * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
11817 * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
11818 (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
11819 (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
11820 * frame.c (execute_cfa_insn): Handle
11821 DW_CFA_GNU_negative_offset_extended.
11822
11823 2000-02-08 Richard Henderson <rth@cygnus.com>
11824
11825 * flow.c (tidy_fallthru_edges): Split out from ...
11826 (delete_unreachable_blocks): ... here.
11827 (find_basic_blocks): Use it.
11828
11829 Tue Feb 8 15:51:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11830
11831 * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
11832
11833 2000-02-08 Zack Weinberg <zack@wolery.cumb.org>
11834
11835 * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
11836 (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
11837 (fix-header.o): Don't depend on cpphash.h.
11838
11839 * scan.c (hashstr): New function.
11840 * scan.h: Prototype it.
11841 * fix-header.c: Don't include cpphash.h. Use hashstr.
11842 * gen-protos.c: Don't include cpphash.h or cpplib.h. Use
11843 hashstr. Report hash table statistics. Add private
11844 definition of xrealloc.
11845
11846 2000-02-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11847
11848 * i386.h (TARGET_SWITCHES): Fix typo in option name.
11849
11850 2000-02-08 Clinton Popetz <cpopetz@cygnus.com>
11851
11852 * function.c (thread_prologue_and_epilogue_insns): Don't replace
11853 jumps with returns unless they are jumps to the fallthru block.
11854
11855 Tue Feb 8 07:53:55 2000 Jan Hubicka <jh@suse.cz>
11856
11857 * i386.md (addqi3_cc): Fix contraints.
11858
11859 Tue Feb 8 01:39:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
11860
11861 * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
11862
11863 2000-02-07 Mark Mitchell <mark@codesourcery.com>
11864
11865 * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
11866 carriage return after a macro name.
11867
11868 2000-02-07 Fred Fish <fnf@be.com>
11869
11870 * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
11871 so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
11872
11873 2000-02-07 Zack Weinberg <zack@wolery.cumb.org>
11874
11875 * cppfiles.c (deps_output): Count spacers in deps_column.
11876
11877 2000-02-07 Neil Booth <NeilB@earthling.net>
11878
11879 * cppinit.c (initialize_dependency_output): If there is no
11880 suffix, don't try to look for known suffixes. Use strrchr.
11881 (cpp_start_read): Remove duplicate initialization.
11882
11883 Mon Feb 7 18:36:41 MET 2000 Jan Hubicka <jh@suse.cz>
11884
11885 * calls.c (compute_argument_block_size): New argument
11886 preferred_stack_boundary.
11887 (expand_call): update cfun->preferred_stack_boundary, update call of
11888 compute_argument_block_size
11889 (emit_library_call): Increate cfun->preferred_stack_boundary
11890 to PREFERRED_STACK_BOUNDARY
11891 (emit_library_call_value): Likewise.
11892 * explow.c (allocate_dynamic_stack_spave): Likewise.
11893 * function.c (prepare_function_start): Set
11894 cfun->preferred_stack_boundary
11895 * function.h (struct function): Add preferred_stack_boundary field.
11896 * integrate.c (expand_inline_function): Update
11897 cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
11898 (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
11899 * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
11900
11901 2000-02-06 Zack Weinberg <zack@wolery.cumb.org>
11902
11903 * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
11904 cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
11905 cpp_pedwarn, cpp_pedwarn_with_line,
11906 cpp_pedwarn_with_file_and_line): Move to cpperror.c.
11907 (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
11908 v_cpp_error_with_line, v_cpp_warning_with_line,
11909 cpp_message_from_errno, cpp_perror_with_name): Delete.
11910
11911 * cpperror.c (cpp_print_containing_files): Take starting
11912 buffer as argument.
11913 (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
11914 (v_cpp_message): Now called directly by all entry points.
11915 Remove -1 case.
11916 (cpp_pfatal_with_name, cpp_message): Delete.
11917 (cpp_notice_from_errno, cpp_ice): New functions.
11918 (cpp_notice): Is now for reporting error conditions, just
11919 without an associated file.
11920 (cpp_error, cpp_error_with_line): Don't do anything if
11921 opts->inhibit_errors is on.
11922 (cpp_pedwarn_with_file_and_line): Take column argument also.
11923
11924 * cpplib.h: Update prototypes of exported functions.
11925 (struct cpp_options): Add inhibit_errors.
11926
11927 * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
11928 non-error messages. Include intl.h.
11929
11930 * cppinit.c, cppmain.c: Likewise. Also, use
11931 cpp_notice_from_errno instead of cpp_perror_with_name or
11932 cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
11933
11934 * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
11935 report internal errors.
11936
11937 * cpplib.c (do_define): Switch bcopy to memcpy.
11938 Give cpp_pedwarn_with_file_and_line a dummy column argument.
11939
11940 * cpplib.c (copy_rest_of_line): Revert previous change: don't
11941 bail out early if we hit a line comment.
11942
11943 2000-02-06 Richard Henderson <rth@cygnus.com>
11944
11945 * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
11946 * basic-block.h: Declare them.
11947 * emit-rtl.h (active_insn_p): New.
11948 (next_active_insn, prev_active_insn): Use it.
11949 * rtl.h: Declare it.
11950 * function.c (emit_return_into_block): New.
11951 (thread_prologue_and_epilogue_insns): Insert return insns instead
11952 of epilogues when possible.
11953 * jump.c (jump_optimize_1): Remove code to insert a return insn
11954 on the fallthru to the exit block.
11955
11956 * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
11957 and for non-empty stack frames.
11958 * i386.md (return): Expand to return-pop as needed.
11959
11960 2000-02-06 Richard Henderson <rth@cygnus.com>
11961
11962 * simplify-rtx.c (simplify_relational_operation): Canonicalize
11963 constant to op1 for testing.
11964
11965 2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11966
11967 * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
11968 (fixuns_truncqfqi2): Use it.
11969
11970 2000-02-06 Richard Henderson <rth@cygnus.com>
11971
11972 * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
11973 as a TYPE_LEA insn.
11974
11975 * i386.md (widening and peepholes): Mask the constant instead of
11976 using gen_lowpart.
11977
11978 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
11979
11980 * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
11981 input pointer before possibly branching off to the backslash
11982 code.
11983 * cpphash.c (macroexpand): Correctly delete \r escapes when
11984 stringifying parameters.
11985 * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
11986 if we can; bail out early if we hit a line comment.
11987 (handle_directive): Treat '# 123' in an .S file just like
11988 '# <punctuation>'. Discard the shifted '#' if we hit '#\n'.
11989 Return 1 for '# not_a_directive'.
11990 (get_directive_token): Pop macro buffers here, so that
11991 cpp_get_token can't sneakily move past a newline.
11992 Add sanity checks.
11993 (cpp_get_token): goto randomchar if handle_directive returns 0.
11994
11995 * cppalloc.c: Update copyright.
11996 * cpplib.c: Merge all the static function prototypes into one
11997 block.
11998 * cpplib.h: Remove #if 0 block.
11999
12000 * cpperror.c: Remove #ifdef EMACS block.
12001 * cppmain.c: Likewise.
12002 * cpphash.c: Remove #if 0 blocks.
12003 * cppinit.c: Remove #if 0 blocks, and the -lint option.
12004 * cpplib.c: Remove #if 0 blocks and code referencing
12005 pcp_inside_if or for_lint. Remove duplicate error message.
12006 Fix error messages for #else after #else or #elif. Reformat.
12007 Remove archaic TODO list.
12008 * cpplib.h: Remove pcp_inside_if and for_lint flags.
12009
12010 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
12011
12012 * i386/osf1elf.h: Add missing backslash to multiline string.
12013
12014 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12015
12016 * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
12017
12018 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12019
12020 * Makefile.in (c-common.o): Depend on $(EXPR_H).
12021
12022 * c-common.c: Include expr.h.
12023
12024 * c-pragma.c (mark_align_stack): Add prototype.
12025
12026 * caller-save.c (add_stored_regs): Likewise.
12027
12028 * combine.c (record_promoted_value): Likewise.
12029
12030 * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
12031 Likewise.
12032
12033 * cppinit.c (new_pending_define): Likewise.
12034
12035 * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
12036
12037 * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
12038 AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
12039 AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
12040 class_scope_p): Likewise.
12041
12042 * dwarf2out.h (dwarf2out_set_demangle_name_func,
12043 dwarf2out_add_library_unit_info): Likewise.
12044
12045 * ggc.h (ggc_page_print_statistics): Likewise.
12046
12047 * haifa-sched.c (propagate_deps): Likewise.
12048
12049 * reg-stack.c (next_flags_user, record_label_references): Likewise.
12050
12051 * rtl.h (set_stack_check_libfunc): Likewise.
12052
12053 * toplev.h (set_fatal_function): Likewise.
12054
12055 * toplev.c (set_fatal_function): Delete prototype.
12056
12057 * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
12058
12059 2000-02-05 Geoff Keating <geoffk@cygnus.com>
12060
12061 * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
12062 (FUNC_END): Likewise.
12063
12064 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12065
12066 * caller-save.c: Include tm_p.h.
12067
12068 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12069
12070 * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
12071
12072 2000-02-04 Neil Booth <NeilB@earthling.net>
12073
12074 * cccp.c (main): Check 'dir' for a NULL pointer before passing
12075 it to strcmp.
12076
12077 2000-02-04 Zack Weinberg <zack@wolery.cumb.org>
12078
12079 * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
12080 * genflags.c: Use the max_operand_1 logic from genemit.c to
12081 calculate how many arguments gen_insn prototypes have. Remove
12082 NO_MD_PROTOTYPES ifdefs from the generated file.
12083 * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
12084 file. Cast gen_insn initializers to insn_gen_fn.
12085 * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
12086 * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
12087
12088 2000-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12089
12090 * fixinc/Makefile.in (HDR): Add machname.h.
12091 (clean): Likewise.
12092
12093 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12094
12095 * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
12096 (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
12097 (c4x_cpu_version): Ditto.
12098 * config/c4x/c4x-protos.h: ... here.
12099
12100 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
12101
12102 * dwarf2out.c (add_abstract_origin_attribute): Don't call
12103 gen_abstract_function on our context if we're a nested function.
12104
12105 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12106
12107 * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
12108 * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
12109
12110 2000-02-04 Bruce Korb <bkorb@gnu.org>
12111
12112 * fixinc/genfixes(machname.h):
12113 Move the functionality from gen-machine.h into this file.
12114 UNdef MN_NAME_PAT if there are no names to change.
12115 Also, be a little kinder when AutoGen is not present.
12116
12117 * fixinc/Makefile.in(machname.h):
12118 Change the generation rule to use genfixes.
12119
12120 * fixinc/fixfixes.c(machine_name):
12121 machine_name_fix's functionality now dependent upon whether
12122 MN_NAME_PAT is defined.
12123
12124 * fixinc/fixtests.c(machine_name):
12125 ditto.
12126
12127 * fixinc/fixlib.c(mn_get_regexps): conditional on definition
12128 of MN_NAME_PAT.
12129
12130 * fixinc/fixlib.h(mn_get_regexps):
12131 ditto
12132
12133 * fixinc/gen-machine.h: DELETED
12134
12135 2000-02-04 Jan Hubicka <jh@suse.cz>
12136 Richard Henderson <rth@cygnus.com>
12137
12138 * i386.c (SAVE_REGS_FIRST): Remove.
12139 (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
12140 (ix86_compute_frame_size): Likewise.
12141 (ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack.
12142 (ix86_emit_restore_regs): Remove.
12143 (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
12144 when a frame pointer is in use.
12145 (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov
12146 instead of pop to restore a register when profitable; emit leave
12147 when profitable.
12148 (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
12149 as a TYPE_LEA insn.
12150 (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
12151 * i386.md (prologue_allocate_stack): Remove.
12152 (epilogue_deallocate_stack): Remove.
12153 (pro_epilogue_adjust_stack): New.
12154
12155 2000-02-04 Richard Henderson <rth@cygnus.com>
12156
12157 * function.c (diddle_return_value): Rework to use a callback function.
12158 Use current_function_return_rtx if it's been set up.
12159 (do_clobber_return_reg, clobber_return_register): New.
12160 (do_use_return_reg, use_return_register): New.
12161 (expand_function_end): Use them.
12162 * stmt.c (expand_null_return): Likewise.
12163 * function.h: Declare them.
12164 * flow.c (mark_regs_live_at_end): Use diddle_return_value.
12165 (mark_reg): Change arguments as appropriate for callback.
12166 * integrate.c (expand_inline_function): Revert 19 Jan change.
12167
12168 Fri Feb 4 20:25:42 2000 Hans-Peter Nilsson <hp@bitrange.com>
12169
12170 * tm.texi (Values in Registers): Fix typo: "fo" "for".
12171 (Misc): Say the scheduler, not the Haifa scheduler.
12172
12173 2000-02-04 Clinton Popetz <cpopetz@cygnus.com>
12174
12175 * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
12176 when in_mem is set. Update all callers.
12177
12178 2000-02-04 Richard Henderson <rth@cygnus.com>
12179
12180 * i386/openbsd.h (INT_ASM_OP): Define.
12181
12182 Fri Feb 4 10:51:30 2000 Hans-Peter Nilsson <hp@bitrange.com>
12183
12184 * tm.texi: Fix various typos.
12185
12186 Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
12187
12188 * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
12189 (MD_STARTFILE_PREFIX_1): New macro.
12190
12191 Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
12192
12193 * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
12194 destination when needed.
12195 (strmovsi, strsetsi): New expander.
12196 (strmovsi_1, strsetsi_1): New pattern.
12197 * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
12198 TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
12199 (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
12200 * invoke.texi (align-stringops, inline-all-stringops): Document.
12201
12202 Wed Feb 2 23:04:47 2000 Krister Walfridsson <cato@df.lth.se>
12203
12204 * i386/netbsd.h (INT_ASM_OP): Define.
12205
12206 2000-02-02 Zack Weinberg <zack@wolery.cumb.org>
12207
12208 * cpplib.h (cpp_reader): Add new flag, no_directives.
12209 * cpphash.c (macarg): Set it.
12210 * cpplib.c (handle_directive): If no_directives is on and we
12211 find a directive, issue an error and discard the line.
12212
12213 Wed Feb 2 13:07:10 2000 Jim Wilson <wilson@cygnus.com>
12214
12215 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
12216 FP constants. Add ! TARGET_FPU check for FP constants.
12217
12218 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
12219
12220 * flow.c (find_basic_blocks): Don't kill label_value_list
12221 here.
12222 (cleanup_cfg): Kill it here.
12223
12224 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12225
12226 * expr.c (store_field): Ensure ALIGN is no stricter than the
12227 alignment of EXP.
12228
12229 2000-02-02 Richard Henderson <rth@cygnus.com>
12230
12231 * jump.c (delete_insn): Partially revert 19 Jan change;
12232 don't convert unused code labels to notes at -O0.
12233
12234 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12235
12236 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
12237 split_all_insns to recreate REG_LABEL notes for flow2 pass.
12238
12239 2000-02-01 Richard Henderson <rth@cygnus.com>
12240
12241 * i386.c (general_no_elim_operand): New.
12242 (nonmemory_no_elim_operand): New.
12243 (ix86_expand_move): Copy eliminable operands before a push.
12244 * i386-protos.h: Declare new functions.
12245 * i386.h (CAN_ELIMINATE): Simplify.
12246 (PREDICATE_CODES): Update.
12247 * i386.md (push insns): Don't allow eliminable register operands.
12248
12249 2000-02-01 Richard Henderson <rth@cygnus.com>
12250
12251 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
12252 replace BLKmode with DECL_RTL's mode.
12253
12254 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
12255
12256 * frame.c (find_fde): Convert for loop to do-while so compiler
12257 sees it's always executed at least once.
12258 * libgcc2.c (BBINBUFSIZE): Kill.
12259 (__bb_init_prg): Use fgets.
12260 (__bb_exit_trace_func): Don't paste strings.
12261 * unroll.c (unroll_loop): Initialize unroll_type, not
12262 unroll_number, and tweak logic to match.
12263
12264 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
12265 all failure paths.
12266 (ix86_flags_dependant): Likewise. Disentangle control flow.
12267 (ix86_sched_reorder): Break guts out to
12268 ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
12269 (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
12270 any possible use.
12271
12272 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
12273 use string concatenation. Don't save and restore esi.
12274
12275 * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
12276 (machname.h): Remove script to separate file. Use two-step
12277 sequence so target is not created if script fails.
12278 * fixinc/gen-machname.h: New file. Handle case where no non-reserved
12279 identifiers are defined.
12280 * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
12281 an empty string, machine_name doesn't need to do anything at
12282 all.
12283 (is_cxx_header): Add more cases to regexp.
12284 * fixinc/fixlib.h: Update prototype.
12285 * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
12286 mn_get_regexps.
12287 * fixinc/fixincl.c: Define NO_BOGOSITY.
12288
12289 * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
12290 (hp_sysfile): Add missing comma.
12291 (math_exception): Put the wrapper ifdefs at the beginning and
12292 the end of the file.
12293 * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
12294
12295 2000-02-01 Richard Henderson <rth@cygnus.com>
12296
12297 * sparc.c (fp_zero_operand): Turn into a normal predicate.
12298 Use CONST0_RTX. Update all callers.
12299 * sparc.h, sparc-protos.h: Update accordingly.
12300 * sparc.md (fp mov insns): Use fp_zero_operand directly
12301 where applicable.
12302
12303 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
12304
12305 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
12306 example.
12307
12308 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12309
12310 * Makefile.in (specs.ready): New target.
12311 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
12312
12313 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12314
12315 * fixinc.irix: Use unique filenames for writing into /tmp,
12316 * fixinc.ptx: Likewise.
12317 * fixinc.sco: Likewise.
12318 * fixinc.svr4: Likewise.
12319 * fixinc.winnt: Likewise.
12320
12321 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12322
12323 * tsystem.h: New file.
12324
12325 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
12326 s-crtS): Depend on tsystem.h.
12327
12328 * crtstuff.c: Include tsystem.h.
12329 * frame.c: Likewise.
12330 * libgcc2.c: Likewise.
12331
12332 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
12333
12334 * builtins.c (expand_builtin_memset): Expand for variable sized
12335 lengths too.
12336
12337 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
12338
12339 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
12340 on ABI.
12341
12342 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
12343
12344 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
12345
12346 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
12347
12348 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
12349
12350 * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
12351 case 3->2 combining (combining with splitting) in which 2 is CC0
12352 setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
12353 checked at the begining of the function with the aid of calling
12354 function 'can_combine_p'.
12355
12356 2000-01-31 Dave Brolley <brolley@redhat.com>
12357
12358 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
12359
12360 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
12361
12362 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
12363 new label.
12364
12365 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12366
12367 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
12368
12369 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
12370 PROTO -> PARAMS.
12371
12372 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
12373
12374 * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
12375 i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
12376 i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
12377 i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
12378 i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
12379 i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
12380 i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
12381 i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
12382 i386/vxi386.h, i386/win-nt.h, i386/win32.h:
12383 Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
12384
12385 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
12386 Add %(cpp_cpu) to CPP_SPEC.
12387
12388 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
12389 Add %(cc1_cpu) to CC1_SPEC.
12390
12391 2000-01-28 Ulrich Drepper <drepper@redhat.com>
12392
12393 * c-decl.c (c_decode_option): Accept optional numeric argument to
12394 -Wformat and set warn_format.
12395 * c-common.c: Don't emit warning about non-constant printf format
12396 string unless warn_format > 1.
12397
12398 2000-01-30 Richard Henderson <rth@cygnus.com>
12399
12400 * alpha.md (return_internal): Allow after reload only.
12401
12402 2000-01-30 Richard Henderson <rth@cygnus.com>
12403
12404 * i386.c (ix86_compute_frame_size): Omit padding1 if the
12405 local frame size is zero.
12406
12407 2000-01-30 Richard Henderson <rth@cygnus.com>
12408
12409 * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
12410 * alpha.h (EPILOGUE_USES): New. Mark $26 live.
12411 * alpha.md (return): Turn into an expander.
12412 (return_internal): Don't use $26.
12413 (epilogue): Emit the return insn.
12414
12415 2000-01-30 Richard Henderson <rth@cygnus.com>
12416
12417 * alpha.md (negtf2, abstf2): Fix word order thinko.
12418 (extendsftf2): New.
12419 (trunctfsf2): Avoid intermediate rounding errors.
12420
12421 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
12422
12423 * cppfiles.c (find_position): Drop 'colp' argument, return the
12424 new line base.
12425 (read_and_prescan): Adjust to match. Don't ever manipulate
12426 line or line_base except via find_position.
12427
12428 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
12429
12430 * c-parse.in: Apply Ulrich's changes from c-parse.y.
12431 * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
12432 Regenerate.
12433
12434 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
12435
12436 * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
12437 just print "<command line>". If 'filename' is null or an
12438 empty string, print "<stdin>" for the filename.
12439 * cpplib.c (do_define): Don't print the 'location of the
12440 previous definition' message if we're still parsing the
12441 command line.
12442 (cpp_pedwarn_with_file_and_line): Always call
12443 cpp_file_line_for_message.
12444
12445 2000-01-29 Mark Mitchell <mark@codesourcery.com>
12446
12447 * flow.c (mark_regs_live_at_end): Fix typo.
12448
12449 2000-01-28 Ulrich Drepper <drepper@redhat.com>
12450
12451 * c-common.c: Adjust variable names, comments, help strings to c99.
12452 * c-lex.c: Likewise.
12453 * c-parse.y: Likewise.
12454 * c-tree.h: Likewise.
12455 * cccp.c: Likewise.
12456 * cpplib.h: Likewise.
12457 * c-decl.c: Likewise. Recognize options with names "*99" as well.
12458 * cppinit.c: Likewise.
12459
12460 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12461
12462 * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
12463 * c4x.c: Define the optab rtx values.
12464 (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
12465 (c4x_emit_libcall): Use new optab rtx values.
12466 (c4x_emit_libcall3): Likewise.
12467 (c4x_emit_libcall_mulhi): Likewise.
12468 * c4x-protos.h: Add prototypes for optab rtx values and change
12469 prototypes for above c4x_emit_libcall functions.
12470
12471 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12472
12473 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
12474 syntax is used.
12475 (c4x_function_prologue): Use regnames intead of float_reg_names when
12476 TI syntax is used.
12477 (c4x_function_epilogue): Likewise.
12478 (c4x_print_operand): Likewise.
12479 * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
12480 * c4x.md (set_high): Disable for TARGET_TI.
12481
12482 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12483
12484 * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
12485 of framepointer + constant to ADDR_REGS class.
12486 * c4x.md (addqi3, addqi3_noclobber_reload): Update.
12487 * c4x.c (std_or_reg_operand): New function.
12488 * c4x-protos.h (std_or_reg_operand): Prototype it.
12489
12490 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12491
12492 * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
12493 object names as libgcc2.c.
12494 * libgcc.S: Use newly defined names.
12495
12496 Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
12497 * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
12498 function.
12499 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
12500 * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
12501 (FLOW_LOOP_LAST_BLOCK): Likewise.
12502
12503 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12504
12505 * basic-block.h (struct loop): New fields 'first' and 'last'.
12506 * flow.c (flow_loops_find): Compute loop->first and loop->last.
12507 (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
12508 and loop->last to check for NOTE_INSN_LOOP_END.
12509
12510 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
12511
12512 * predict.c (estimate_probability): Use the new FIRST and LAST fields
12513 of the loop descriptor rather than HEADER and LATCH. Also added
12514 missing break statements as well making some coding style modifications
12515 as suggested by Michael Hayes.
12516
12517 2000-01-28 Richard Henderson <rth@cygnus.com>
12518
12519 * flow.c (find_basic_blocks): Remove do_cleanup argument.
12520 Break out that code ...
12521 (cleanup_cfg): ... here.
12522 (commit_one_edge_insertion): Detect a return instruction being
12523 emitted to an edge. Emit a barrier following; clear fallthru.
12524 (commit_edge_insertions): Verify CFG consistency.
12525 * function.c (expand_function_start): Kill unused variable.
12526 (expand_function_end): Likewise.
12527 (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
12528 to insert the epilogue.
12529
12530 * gcse.c (gcse_main): Adjust for find_basic_blocks change.
12531 (delete_null_pointer_checks): Likewise.
12532 * output.h: Likewise.
12533 * reg-stack.c (reg_to_stack): Likewise.
12534 * toplev.c (rest_of_compilation): Likewise. Run
12535 thread_prologue_and_epilogue_insns after rebuilding the CFG.
12536
12537 2000-01-28 Richard Henderson <rth@cygnus.com>
12538
12539 * Makefile.in (flow.o): Revert 24 Jan change.
12540 * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
12541 FUNCTION_VALUE result to DECL_RESULT's mode.
12542
12543 * haifa-sched.c (schedule_insns): Don't recompute reg info
12544 after reload.
12545
12546 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
12547
12548 * configure.in: Make --enable-cpplib the default.
12549 * configure: Regenerate.
12550 * gcc.dg/990119-1.c: No longer expected to fail.
12551
12552 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
12553
12554 * jump.c (jump_optimize_1): Delete an optimization that is also done
12555 by merge_blocks in flow.
12556
12557 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12558
12559 * diagnostic.c (build_message_string, output_printf,
12560 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
12561 (build_location_prefix): Fix non-literal format string.
12562
12563 2000-01-27 Richard Henderson <rth@cygnus.com>
12564
12565 * alpha.md (trunctfsf2): New.
12566
12567 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
12568
12569 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
12570
12571 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
12572
12573 * cppinit.c (cpp_handle_option): Recognize C++ comments under
12574 -std=gnu89.
12575 * cpplib.c (skip_block_comment, skip_line_comment): Split code
12576 out of...
12577 (skip_comment) ... here. Permit C++ comments in system
12578 headers always. Warn about C++ comments in user code under
12579 -std=gnu89 -pedantic.
12580 (copy_comment): Use skip_comment.
12581 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
12582 return EOF.
12583 (consider_directive_while_skipping, do_else, do_endif): Call
12584 validate_else unconditionally.
12585 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
12586 text after the conditional in a system header.
12587 * cpplib.h (struct cpp_buffer): Add flag
12588 warned_cplusplus_comments.
12589
12590 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
12591
12592 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
12593 Use unshare_all_rtl_1.
12594 (unshare_all_rtl_again): New function.
12595 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
12596
12597 * function.c (purge_addressof_1): Use unshare_all_rtl_again
12598 rather than resetting the 'used' flags ourself.
12599
12600 * toplev.c (rest_of_compilation): Add current_function_decl
12601 to the unshare_all_rtl call.
12602 * tree.h: Prototype unshare_all_rtl.
12603 * rtl.h: Prototype unshare_all_rtl_again here.
12604
12605 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
12606
12607 * genoutput.c (output_prologue): Include ggc.h in generated
12608 files.
12609 * Makefile.in (insn-output.o): Depends on ggc.h.
12610
12611 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
12612 Hans-Peter Nilsson <hp@bitrange.com>
12613
12614 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
12615 Remove redundant include of xm-ns32k.h.
12616 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
12617 Remove redundant include of xm-ns32k.h.
12618 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
12619 Remove redundant include of xm-ns32k.h.
12620 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
12621
12622 * ns32k/ns32k.h: Update comment on multiply-add instructions.
12623 (TARGET_SWITCHES): Add documentation strings.
12624 (DWARF_FRAME_REGNUM): Override default definition.
12625 (REG_CLASS_CONTENTS): Add comments.
12626 (SUBSET_P): Format to reduce line length.
12627 (SMALL_REGISTER_CLASSES): Make a run time option.
12628 (GO_IF_NONINDEXED_ADDRESS): Reformat.
12629 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
12630 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
12631 (regclass_map): fix typo in comment.
12632 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
12633 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
12634 (trace, reg_or_mem_operand): Delete, unused function.
12635 (calc_address_cost): Small offsets are cheaper than large ones.
12636 (expand_block_move): Generate more efficient code when bytes is a
12637 known at compile time.
12638 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
12639 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
12640 instead of reg_or_mem_operand.
12641
12642 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
12643 not general_operand. Similarly use "=rm" or stricter, not "=g".
12644 For input operands, use stricter constraints than "g" if not
12645 general_operand. Similarly use stricter predicate than
12646 "general_operand" when stricter constraints than "g" are present,
12647 except for matching constraints.
12648 (movstrsi): Use "memory_operand" for operands 0 and 1.
12649 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
12650 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
12651 not reg_or_mem_operand.
12652 (udivmoddisi4): Ditto.
12653 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
12654 Use nonimmediate_operand for operand 3, not register_operand.
12655 (udivmoddiqi4_internal): Use register_operand for operand 1, not
12656 reg_or_mem_operand.
12657
12658 2000-01-27 Fred Fish <fnf@be.com>
12659
12660 * gthr-posix.h: Fix typo; compatibily -> compatibility.
12661 * gthr-single.h: Likewise.
12662 * gthr-solaris.h: Likewise.
12663 * gthr-vxworks.h: Likewise.
12664 * gthr-win32.h: Likewise.
12665 * gthr.h: Likewise.
12666
12667 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
12668
12669 * cppinit.c: Add " (cpplib)" to end of string printed by
12670 -v / --version.
12671
12672 2000-01-27 Richard Henderson <rth@cygnus.com>
12673
12674 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
12675 testing for a signed comparison.
12676 (alpha_emit_floatuns): New.
12677 * alpha-protos.h: Declare it.
12678 * alpha.md (floatunsdisf2, floatunsdidf2): New.
12679 (extendsfdf2): Tidy.
12680
12681 2000-01-27 Jakub Jelinek <jakub@redhat.com>
12682
12683 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
12684 no -g option specifying debugging format, default to -gstabs+.
12685
12686 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12687
12688 * calls.c (special_function_p): New argument fork_or_exec.
12689 (expand_call): When profile_arc_flag is set and the function
12690 is in the fork_or_exec group, call __bb_fork_func first.
12691 * libgcc2.c, _bb module (__bb_fork_func): New function.
12692 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
12693 output file.
12694 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
12695 * tree.h (special_function_p): Update prototype.
12696
12697 2000-01-26 Richard Henderson <rth@cygnus.com>
12698
12699 * alpha.c (alpha_split_tfmode_pair): New.
12700 * alpha-protos.h: Declare it.
12701 * alpha.md (abstf2, negtf2): New.
12702 (movtf insn): Add input G constraint.
12703 (movtf splitter): Use alpha_split_tfmode_pair.
12704
12705 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12706
12707 * i386/cygwin.h: PROTO -> PARAMS.
12708
12709 2000-01-26 Jakub Jelinek <jakub@redhat.com>
12710
12711 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
12712 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
12713 using _Qp_cmp/_Q_cmp and testing the return value.
12714 (print_operand): Call reverse_condition_maybe_unordered if
12715 we are handling CCFPmode or CCFPEmode.
12716 Handle ORDERED, UN* and LTGT comparisons.
12717 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
12718 if not TARGET_HARD_QUAD.
12719 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
12720 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
12721 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
12722 Adjust gen_b* calls so that they reflect return comparison of
12723 sparc_emit_float_lib_cmp.
12724
12725 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12726
12727 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
12728 incoming operands array is large enough for one more operand.
12729 (alpha_emit_xfloating_arith): Likewise.
12730
12731 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
12732
12733 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
12734 file with one line and no trailing newline.
12735 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
12736 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
12737 checking if the match is on the line.
12738 * fixinc/gnu-regex.c: Provide regerror not __regerror.
12739
12740 2000-01-25 Richard Henderson <rth@cygnus.com>
12741
12742 * sparc.c (output_cbranch): Fix accidental squashing of the
12743 fp branch pre-delay nop.
12744
12745 2000-01-25 Richard Henderson <rth@cygnus.com>
12746
12747 * tree.def (UNNE_EXPR): Remove.
12748 * c-typeck.c (build_binary_op): Don't handle it.
12749 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
12750
12751 * rtl.def (UNNE): Remove.
12752 (LTGT): Add.
12753 * jump.c (reverse_condition): Update accordingly.
12754 (swap_condition): Likewise.
12755 (comparison_dominates_p): Handle unordered comparisons.
12756 (reverse_condition_maybe_unordered): New.
12757 * rtl.h (reverse_condition_maybe_unordered): Declare.
12758
12759 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
12760 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
12761 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
12762 * sparc.md (bltgt): New.
12763
12764 2000-01-25 Nick Clifton <nickc@redhat.com>
12765
12766 * emit-rtl.c (emit_insn): Only check machine class insns for
12767 improper emission of a RETURN.
12768
12769 2000-01-25 Richard Henderson <rth@cygnus.com>
12770
12771 * Makefile.in (flow.o): Depend on $(EXPR_H).
12772 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
12773 duplicate the structure of diddle_return_value for keeping regs live.
12774
12775 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12776
12777 * loop.c (current_loop_info): Delete.
12778 (consec_sets_invariant_p): Add loop argument, update callers.
12779 (get_condition_for_loop): Likewise.
12780 (count_nonfixed_reads, update_giv_derive): Likewise.
12781 (simplify_giv_expr, general_induction_var): Likewise.
12782 (consec_sets_giv, recombine_givs): Likewise.
12783 (move_movables): Delete loop_start and loop_end arguments,
12784 add loop argument, and update callers.
12785 (find_mem_givs, check_final_value): Likewise.
12786 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
12787 (loop_invariant_p): Rename from invariant_p, add loop argument, and
12788 update callers.
12789 (basic_induction_var): Add loop argument, delete loop_level argument,
12790 and update callers.
12791 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
12792 add loop argument, and update callers.
12793 (find_splittable_regs, find_splittable_givs): Likewise.
12794 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
12795 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
12796 (biv_total_increment): Delete loop_start and loop_end arguments;
12797 update callers.
12798 (precondition_loop_p): Delete loop_start and loop_info arguments;
12799 update callers.
12800 * loop.h (get_condition_for_loop): Add loop argument.
12801 (biv_total_increment): Delete loop_start and loop_end arguments.
12802 (precondition_loop_p): Delete loop_start and loop_info arguments;
12803 add loop argument.
12804 (final_biv_value): Delete loop_start and loop_end arguments;
12805 add loop argument.
12806 (final_giv_value, back_branch_in_range_p): Likewise.
12807
12808 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
12809
12810 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
12811
12812 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
12813
12814 * Makefile.in (c-gperf.h) : Change the "See" pointer to
12815 point to the new "generated_files" doc.
12816
12817 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
12818
12819 * config/fp-bit.c (_unord_f2): Fix typo.
12820
12821 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
12822
12823 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
12824 c-typeck.c, objc/objc-act.c: Remove all references to obstack
12825 functions obsoleted by GC, such as push_obstacks_nochange,
12826 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
12827 and code which existed only to decide whether or not to call
12828 them. Remove now-unused NESTED argument from start_function;
12829 all callers changed. Do not change behavior based on ggc_p.
12830 The use of the ixp_obstack in c-iterate.c and the util_obstack
12831 in objc/objc-act.c remain; these are not obsoleted by garbage
12832 collection.
12833 * c-tree.h: Update prototype for start_function.
12834
12835 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
12836
12837 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
12838
12839 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
12840 mips16.
12841
12842 2000-01-25 Richard Henderson <rth@cygnus.com>
12843
12844 * sparc-protos.h (select_cc_mode): Declare.
12845 * sparc.c (select_cc_mode): New. Handle unordered compares.
12846 (output_cbranch): Always reverse via code change. Handle
12847 unordered compares. Factor tests and string updates.
12848 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
12849 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
12850 * sparc.md (bunordered, bordered): New.
12851 (bungt, bunlt, buneq, bunge, bunle): New.
12852
12853 2000-01-25 Richard Henderson <rth@cygnus.com>
12854
12855 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
12856 * ggc-common.c (ggc_add_rtx_varray_root): New.
12857 (ggc_mark_rtx_varray): New.
12858 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
12859 functions down below ggc_mark_foo.
12860 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
12861
12862 2000-01-25 Richard Henderson <rth@cygnus.com>
12863
12864 * alpha.c (secondary_reload_class): Don't allocate a secondary
12865 for integral mode memories into FLOAT_REGS. Rearrange the more
12866 complicated memory expression inward.
12867
12868 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
12869
12870 * inclhack.def: Fixes to play nicer with FreeBSD, and
12871 corrections to comments.
12872 (cxx_unready): Add select expression.
12873 (irix_sockaddr): Add bypass expression.
12874 (machine_ansi_h_va_list): New fix.
12875 (stdio_va_list): No need to edit _BSD_VA_LIST_.
12876 Split out addition of "#include <stdarg.h>" to...
12877 (stdio_stdarg_h): ... here.
12878 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
12879 to stdlib.h also. Do not munge _BSD_SIZE_T_.
12880 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
12881 size_t.
12882 (ultrix_ifdef): Tighten up select expression.
12883
12884 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
12885 re_ct and max_mach to avoid use of shell. Make printed names
12886 match names in inclhack.def. Use static copyright date.
12887 Don't count c_test and test expressions as requiring regex_t
12888 slots. Add some commentary.
12889 * inclhack.tpl: Do not include the 'This script contains N
12890 fixup scripts' line if PROGRAM is defined. Use static
12891 copyright date.
12892
12893 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
12894
12895 * dwarf2out.c: include "varray.h", not dyn-string.h.
12896 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
12897 (addr_const_to_string, addr_to_string): Lose.
12898 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
12899 (struct dw_val_struct): val_addr is now an rtx.
12900 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
12901 (used_rtx_varray): New varray.
12902 (dwarf2out_init): Initialize it.
12903 (save_rtx): New fn.
12904 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
12905 addr_to_string.
12906 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
12907 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
12908 * Makefile.in (dwarf2out.o): Update dependencies.
12909
12910 2000-01-24 Richard Henderson <rth@cygnus.com>
12911
12912 * i386.c (i386_dwarf_output_addr_const): New.
12913 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
12914
12915 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
12916 if defined.
12917 * dwarfout.c (output_mem_loc_descriptor): Likewise.
12918 * i386.c (i386_simplify_dwarf_addr): New.
12919 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
12920
12921 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
12922
12923 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
12924 TYPE_STUB_DECL is NULL.
12925
12926 2000-01-24 Richard Henderson <rth@cygnus.com>
12927
12928 * builtins.c (expand_tree_builtin): Move ...
12929 * c-common.c (expand_tree_builtin): ... here.
12930
12931 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12932
12933 * loop.h (LOOP_INFO): New accessor macro.
12934 * basic-block.h (struct loop): Rename field `info' to `aux'.
12935 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
12936 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
12937 * unroll.c (loop_iterations, unroll_loop): Likewise.
12938
12939 2000-01-24 Christopher Faylor <cgf@cygnus.com>
12940
12941 * config/i386/t-cygwin: Accomodate new winsup directory layout
12942 when searching for include files.
12943
12944 2000-01-24 Richard Henderson <rth@cygnus.com>
12945
12946 * rtl.def: Add unordered fp comparisions.
12947 * tree.def: Likewise.
12948 * tree.h: Add ISO C 9x unordered fp comparision builtins.
12949
12950 * builtins.c (expand_tree_builtin): New function.
12951 * c-typeck.c (build_function_call): Use it.
12952 (build_binary_op): Support unordered compares.
12953 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
12954
12955 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
12956 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
12957 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
12958 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
12959 * jump.c (reverse_condition): Don't abort for UNLE etc, but
12960 return UNKNOWN.
12961 (swap_condition): Handle unordered compares.
12962 (thread_jumps): Check can_reverse before reversing.
12963 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
12964 reversed for FP.
12965
12966 * optabs.c (can_compare_p): New argument CODE. Verify branch or
12967 setcc is present before acking for cmp_optab. Update all callers.
12968 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
12969 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
12970 * expr.c (expand_expr): Likewise. Support unordered compares.
12971 (do_jump, do_store_flag): Likewise.
12972 * expr.h (enum libfunc_index): Add unordered compares.
12973
12974 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
12975 (DPBIT_FUNCS): Add _unord_df.
12976 * config/fp-bit.c (_unord_f2): New.
12977 * fp-test.c (main): Try unordered compare builtins.
12978
12979 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
12980 * alpha.c (alpha_comparison_operator): Check mode properly.
12981 (alpha_swapped_comparison_operator): Likewise.
12982 (signed_comparison_operator): Likewise.
12983 (alpha_fp_comparison_operator): New.
12984 (alpha_emit_conditional_branch): Handle unordered compares.
12985 * alpha.h (PREDICATE_CODES): Update.
12986 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
12987 (bunordered, bordered): New.
12988
12989 2000-01-24 Richard Henderson <rth@cygnus.com>
12990
12991 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
12992 * alpha.md (movtf): New expander, insn, and splitter.
12993
12994 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
12995
12996 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
12997 dead registers.
12998
12999 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
13000
13001 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
13002 (FIXED_REGISTERS, CALL_USED_REGISTERS,
13003 REG_ALLOC_ORDER): Add frame pointer
13004 (FRAME_POINTER_REGNUM): Set to 20
13005 (HARD_FRAME_POINTER_REGNUM): New macro.
13006 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
13007 to HARD_FRAME_POINTER.
13008 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
13009 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
13010 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
13011 (HI_REGISTER_NAMES): Add "frame".
13012 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
13013 (debug_reg): Handle FRAME_POINTER_REGNUM.
13014 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
13015 GENERAL_REGS and INDEX_REGS.
13016 * i386.c (SAVED_REGS_FIRST): new macro.
13017 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
13018 (ix86_decompose_address, memory_address_length): Likewise.
13019 (regclass_map): Add frame pointer.
13020 (call_insn_operand): Handle frame_pointer_rtx.
13021 (reg_no_sp_operand): Likewise.
13022 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
13023 (print_operand, legitimize_pic_address): Fix formating.
13024 (ix86_compute_frame_size): Make static, update prototype, new
13025 parameters padding1, padding2, use ix86_nsaved_regs, use
13026 stack_alignment_needed.
13027 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
13028 to HARD_FRAME_POINTER_REGNUM conversions.
13029 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
13030 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
13031 (print_reg): Abort on FRAME_POINTER_REGNUM
13032
13033 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
13034
13035 * i386.h (PREDICATE_CODES): Add aligned_operand.
13036 * i386.c (aligned_operand): New function.
13037 (ix86_aligned_p): Kill.
13038 * i386.md (movhi_1): Emit mov for aligned operands.
13039 (promoting peep2s): Use aligned_operand.
13040
13041 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
13042
13043 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
13044 expression to allow underscores in macro names.
13045 (fix_char_macro_defines): Increment scanning pointer.
13046
13047 2000-01-23 Richard Henderson <rth@cygnus.com>
13048
13049 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
13050 * alpha/osf5.h: New file.
13051 * configure.in (alpha-*-osf5): Add it to tm_file.
13052
13053 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
13054
13055 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
13056 (alpha_emit_xfloating_cvt, function_arg): Declare.
13057 * alpha.c (alpha_emit_conditional_branch): Call
13058 alpha_emit_xfloating_compare for TFmode compares.
13059 (alpha_lookup_xfloating_lib_func): New.
13060 (alpha_compute_xfloating_mode_arg): New.
13061 (alpha_emit_xfloating_libcall): New.
13062 (alpha_emit_xfloating_arith): New.
13063 (alpha_emit_xfloating_compare): New.
13064 (alpha_emit_xfloating_cvt): New.
13065 (print_operand): Add default abort case.
13066 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
13067 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
13068 (BIGGEST_ALIGNMENT): Increase to 128 bits.
13069 (RETURN_IN_MEMORY): True for TF/TCmode.
13070 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
13071 (FUNCTION_ARG): Move to function_arg.
13072 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
13073 (ASM_OUTPUT_LONG_DOUBLE): New.
13074 (ASM_OUTPUT_DOUBLE): Always output bits.
13075 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
13076 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
13077 (extenddftf2, trunctfdf2): New.
13078
13079 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13080
13081 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
13082 * config/sparc/sol2.h: ... here.
13083
13084 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13085
13086 * basic-block.h (struct loops): New field `levels'.
13087 * flow.c (flow_loops_level_compute): Traverse all outer loops.
13088 (flow_loop_level_compute): Initialise level to 1.
13089 (flow_loops_find): Set loops->levels.
13090 (flow_loops_dump): Print loops->levels.
13091
13092 2000-01-23 Richard Henderson <rth@cygnus.com>
13093
13094 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
13095 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
13096
13097 2000-01-23 Richard Henderson <rth@cygnus.com>
13098
13099 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
13100 * i386.h (DBX_REGISTER_NUMBER): Use them.
13101 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
13102 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
13103 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
13104 * i386/sequent.h: Kill incorrect comment.
13105
13106 2000-01-23 Mark Mitchell <mark@codesourcery.com>
13107
13108 * ggc-page.c (struct page_entry): Make `context_depth' an
13109 `unsigned short'.
13110 (struct globals): Likewise.
13111
13112 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
13113
13114 * loop.c (check_dbra_loop): When checking a loop for
13115 reversability, check the source of any stores to ensure
13116 they don't depend on an initial value.
13117
13118 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13119
13120 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
13121
13122 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
13123
13124 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
13125 'pz_scan' into scope of entire function. Only affects
13126 compiles with -DDEBUG.
13127
13128 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
13129
13130 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
13131 section naming to that prior to 2000-01-07 patch.
13132 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
13133 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
13134 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
13135 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
13136 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
13137
13138 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
13139
13140 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
13141 constant.
13142
13143 2000-01-21 Jim Wilson <wilson@cygnus.com>
13144
13145 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
13146 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
13147
13148 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
13149
13150 * cpphash.c (change_newlines): Delete function.
13151 (struct argdata): Delete 'newlines' and 'use_count' fields.
13152 (macroexpand): Remove code referencing those fields.
13153
13154 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13155
13156 * loop.c (loops_info): New variable.
13157 (loop_optimize): Allocate loops->array and free it on exit.
13158 Allocate memory for loops_info and assign to each loop,
13159 replacing alloca.
13160 (find_and_verify_loops): Do not allocate loops->array.
13161
13162 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
13163
13164 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
13165
13166 2000-01-21 Jakub Jelinek <jakub@redhat.com>
13167
13168 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
13169 pseudos if expanded after first flow.
13170 (movdi_pic_label_ref): Likewise.
13171
13172 2000-01-20 Richard Henderson <rth@cygnus.com>
13173
13174 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
13175
13176 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
13177
13178 * Makefile.in (fixinc.sh): Depend on specs.
13179 * fixinc/Makefile.in: Add rule to create machname.h.
13180 (fixlib.o): Depend on machname.h.
13181 * fixinc/fixtests.c (machine_name): New test.
13182 * fixinc/fixfixes.c (machine_name): New fix.
13183 * fixinc/fixlib.c (mn_get_regexps): New helper function for
13184 the machine_name test and fix.
13185 * fixinc/fixlib.h: Prototype it.
13186 * fixinc/inclhack.def (machine_name): Use the C test and fix.
13187 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
13188
13189 * gcc.c (do_spec_1) [case P]: Take care not to create
13190 identifiers with three leading or trailing underscores.
13191
13192 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
13193 (fixincl): Don't specify libraries twice on link line.
13194 (gnu-regex.o): Remove special rule.
13195 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
13196 defined by config.h. Do not define _REGEX_RE_COMP.
13197 (regcomp): Allocate and initialize a fastmap.
13198 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
13199
13200 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
13201
13202 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
13203
13204 2000-01-19 Richard Henderson <rth@cygnus.com>
13205
13206 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
13207 arguments with BB. Update all callers. Tidy line wrapping.
13208
13209 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
13210
13211 * emit-rtl.c (try_split): Return last_insn if we split the
13212 last_insn.
13213
13214 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
13215
13216 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
13217 (ix86_initial_elimination_offset): Declare.
13218 * i386.c (ix86_nsaved_regs): Break out from ...
13219 (ix86_can_use_return_insn_p): ... here.
13220 (ix86_emit_save_regs): Break out from ...
13221 (ix86_expand_prologue): ... here.
13222 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
13223 out from ...
13224 (ix86_expand_epilogue): ... here.
13225 (ix86_compute_frame_size): Make static, add prototype.
13226 (ix86_initial_elimination_offset): Break out from ...
13227 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
13228
13229 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13230
13231 * recog.h (OUT_FCN): Delete.
13232
13233 * vax.md: Call `get_insn_template' instead of OUT_FCN.
13234
13235 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13236
13237 * cppalloc.c: PROTO -> PARAMS.
13238 * cpperror.c: Likewise.
13239 * cppfiles.c: Likewise.
13240 * cpplib.c: Likewise.
13241 * cpplib.h: Likewise.
13242
13243 * config/arm/arm-protos.h: PROTO -> PARAMS.
13244 * config/arm/arm.c: Likewise.
13245 * config/c4x/c4x.c: Likewise.
13246 * config/fr30/fr30-protos.h: Likewise.
13247 * config/nextstep.c: Likewise.
13248 * config/pa/pa.c: Likewise.
13249 * config/pj/pj.c: Likewise.
13250 * config/rs6000/rs6000.c: Likewise.
13251 * config/v850/v850-protos.h: Likewise.
13252 * config/v850/v850.c: Likewise.
13253
13254 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13255
13256 * i370-protos.h: New file.
13257
13258 * i370.c: Include tm_p.h. Fix compile time warnings.
13259
13260 * i370.h: Move prototypes to i370-protos.h. Fix compile time
13261 warnings.
13262
13263 * i370.md: Likewise.
13264
13265 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13266
13267 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
13268 (target_isinf, target_isnan, eisnan): Mark parameter with
13269 ATTRIBUTE_UNUSED.
13270 (eiisinf): Wrap in INFINITY.
13271 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
13272 (ibmtoe): Remove unused variable `rndsav'.
13273
13274 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
13275
13276 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
13277 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
13278
13279 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
13280
13281 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
13282 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
13283 (fix_char_macro_defines, fix_char_macro_uses): New functions.
13284
13285 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
13286 Recognize Emacs mode markers also.
13287 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
13288 C++ comments in C++ headers. Call is_cxx_header only if
13289 necessary.
13290
13291 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
13292 bypass for ncurses.
13293 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
13294 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
13295 ... these, which use the new C fixes.
13296 (math_exception): Escape literal '+' in bypass expression.
13297
13298 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
13299 Regenerate.
13300
13301 2000-01-19 Geoff Keating <geoffk@cygnus.com>
13302
13303 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
13304 inside the MEM.
13305
13306 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13307
13308 * loop.c (loop_optimize): Allocate loop_info structure for each loop
13309 prior to calling scan_loop.
13310
13311 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
13312
13313 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
13314 (split_branches, calc_live_regs): Likewise.
13315
13316 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
13317
13318 * sh.md (fpu_single, fp_mode): New attributes.
13319
13320 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13321
13322 * loop.c (current_loop_info): Renamed from loop_info_data
13323 and changed to a pointer.
13324 (loop_optimize): Allocate loop_info structure for each loop
13325 and initialise to zero.
13326 (scan_loop): Set current_loop_info.
13327
13328 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
13329 on iteration_var.
13330
13331 2000-01-19 Richard Henderson <rth@cygnus.com>
13332
13333 * stupid.c: Die die die.
13334 * Makefile.in (OBJS): Remove stupid.o.
13335 (stupid.o): Likewise.
13336
13337 * except.c (emit_eh_context): Don't emit USEs for stupid.
13338 * explow.c (probe_stack_range): Likewise.
13339 * flags.h (obey_regdecls): Remove.
13340 * flow.c (find_basic_blocks): Don't run try_merge_blocks
13341 when not optimizing.
13342 (life_analysis): Limit data collection when not optimizing.
13343 (mark_regs_live_at_end): Always mark the return value registers.
13344 (mark_used_regs): Remove dummy RETURN case.
13345 (print_rtl_with_bb): Don't consult obey_regdecls.
13346 * function.c (use_variable, use_variable_after): Remove.
13347 (assign_parms): Consult optimize not obey_regdecls.
13348 (expand_function_start): Don't emit USEs for stupid.
13349 (expand_function_end): Likewise.
13350 * global.c (build_insn_chain): Export.
13351 * integrate.c (expand_inline_function): Kill return-value USE
13352 handling code.
13353 * jump.c (jump_optimize_1): Do simple jump optimizations and
13354 dead code elimination.
13355 (calculate_can_reach_end): Remove check_deleted argument.
13356 (delete_insn): Patch out insns even when not optimizing.
13357 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
13358 * rtl.h (use_variable, use_variable_after): Remove declarations.
13359 (build_insn_chain): Declare.
13360 * stmt.c (expand_value_return): Don't emit USEs for stupid.
13361 (expand_end_bindings): Likewise.
13362 (expand_decl): Likewise. Consult optimize not obey_regdecls.
13363 * toplev.c (obey_regdecls): Remove.
13364 (rest_of_compilation): Don't set it. Kill stupid in favour of
13365 flow1, local-alloc, and reload.
13366 (main): Don't set obey_regdecls.
13367
13368 * config/nextstep.c (handle_pragma): Likewise.
13369
13370 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
13371
13372 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
13373
13374 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13375
13376 * alpha-protos.h: PROTO -> PARAMS.
13377 * alpha.c: Likewise.
13378 * elf.h: Likewise.
13379 * h8300.c: Likewise.
13380 * i386-protos.h: Likewise.
13381 * i386.c: Likewise.
13382 * m32r-protos.h: Likewise.
13383 * m32r.c: Likewise.
13384 * mips.c: Likewise.
13385 * mips.md: Likewise.
13386 * gmon-sol2.c: Likewise.
13387 * sparc.c: Likewise.
13388
13389 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13390
13391 * ns32k-protos.h: New file.
13392
13393 * ns32k.c: Fix compile time warnings.
13394
13395 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
13396 warnings.
13397
13398 * ns32k.md: Likewise.
13399
13400 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13401
13402 * vax-protos.h: New file.
13403
13404 * vax.c: Fix compile time warnings.
13405
13406 * vax.h: Move prototypes to vax-protos.h. Fix compile time
13407 warnings.
13408
13409 * vax.md: Likewise.
13410
13411 * vaxv.md: Likewise.
13412
13413 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13414
13415 * romp-protos.h: New file.
13416
13417 * romp.c: Fix compile time warnings.
13418
13419 * romp.h: Move prototypes to romp-protos.h. Fix compile time
13420 warnings.
13421
13422 * romp.md: Likewise.
13423
13424 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13425
13426 * we32k-protos.h: New file.
13427
13428 * we32k.c: Fix compile time warnings.
13429
13430 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
13431 warnings.
13432
13433 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13434
13435 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
13436
13437 * except.c (eh_regs): Likewise.
13438
13439 * final.c (output_operand): Likewise.
13440
13441 * fold-const.c (target_isinf, target_isnan): Likewise.
13442
13443 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
13444
13445 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
13446 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
13447
13448 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
13449 when optimize_size.
13450 (clrstrsi): Rewrite.
13451 (strsethi, strsetqi): New expanders.
13452 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
13453 (cmpstrsi): Emit compare insn before cmpstrsi_1
13454 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
13455 (strlensi_1): Likewise.
13456 (cmpstrsi_1): Likewise; do not output compare.
13457 (strlen expander): Do not unroll when optimizing for size.
13458 (*subsi3_carry): Rename to subsi3_carry
13459 (addqi3_cc): New pattern.
13460 * i386.h (processor_costs): Add move_ratio field.
13461 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
13462 * i386.c (*_cost): Set move_ratio.
13463 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
13464 (x86_expand_strlensi_1): Rewrite the main loop.
13465
13466 2000-01-17 Richard Henderson <rth@cygnus.com>
13467
13468 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
13469 * cse.c (find_comparison_args, fold_rtx): Likewise.
13470 * integrate.c (subst_constants): Likewise.
13471 * loop.c (get_condition): Likewise.
13472
13473 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
13474
13475 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
13476
13477 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
13478
13479 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
13480 (RESTORE_WARN_FLAGS): Unpack it.
13481 Change semantic type of extension to ttype.
13482 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
13483 * c-parse.y, c-parse.c, objc/objc-parse.y,
13484 objc/objc-parse.c: Regenerate.
13485
13486 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
13487
13488 * fixinc/fixlib.c: Add copyright notice.
13489 (compile_re): New function.
13490 * fixinc/fixlib.h: Prototype compile_re.
13491
13492 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
13493 Use compile_re to compile regular expressions.
13494
13495 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
13496 where the pattern matched.
13497
13498 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
13499 use 'replace'.
13500 (ultrix_ansi_compat): Likewise.
13501 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
13502 add egrep test.
13503 (interactv_add2, interactv_add3): Delete.
13504 (x11_sprintf): Don't use filename glob.
13505 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
13506 Regenerate.
13507
13508 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13509
13510 * print-rtl.c: PROTO -> PARAMS.
13511 * real.c: Likewise.
13512 * reg-stack.c: Likewise.
13513 * resource.c: Likewise.
13514 * sdbout.h: Likewise.
13515 * simplify-rtx.c: Likewise.
13516 * stor-layout.c: Likewise.
13517 * stupid.c: Likewise.
13518 * xcoffout.c: Likewise.
13519 * xcoffout.h: Likewise.
13520
13521 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13522
13523 * toplev.c: PROTO -> PARAMS.
13524 * toplev.h: Likewise.
13525 * tree.c: Likewise.
13526 * tree.h: Likewise.
13527 * unroll.c: Likewise.
13528 * varasm.c: Likewise.
13529 * varray.c: Likewise.
13530 * varray.h: Likewise.
13531
13532 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13533
13534 * reload.c: PROTO -> PARAMS.
13535 * reload.h: Likewise.
13536 * reload1.c: Likewise.
13537 * reorg.c: Likewise.
13538 * resource.h: Likewise.
13539 * rtl.c: Likewise.
13540 * rtl.h: Likewise.
13541 * rtlanal.c: Likewise.
13542 * sbitmap.h: Likewise.
13543 * sdbout.c: Likewise.
13544 * stack.h: Likewise.
13545 * stmt.c: Likewise.
13546 * system.h: Likewise.
13547
13548 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13549
13550 * machmode.h: PROTO -> PARAMS.
13551 * mbchar.h: Likewise.
13552 * mips-tdump.c: Likewise.
13553 * mips-tfile.c: Likewise.
13554 * optabs.c: Likewise.
13555 * output.h: Likewise.
13556 * prefix.c: Likewise.
13557 * profile.c: Likewise.
13558 * protoize.c: Likewise.
13559 * real.h: Likewise.
13560 * recog.c: Likewise.
13561 * recog.h: Likewise.
13562 * regclass.c: Likewise.
13563 * regmove.c: Likewise.
13564 * regs.h: Likewise.
13565
13566 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13567
13568 * ggc-common.c: PROTO -> PARAMS.
13569 * ggc-page.c: Likewise.
13570 * ggc-simple.c: Likewise.
13571 * ggc.h: Likewise.
13572 * global.c: Likewise.
13573 * graph.c: Likewise.
13574 * gthr-win32.h: Likewise.
13575 * haifa-sched.c: Likewise.
13576 * halfpic.h: Likewise.
13577 * integrate.c: Likewise.
13578 * integrate.h: Likewise.
13579 * jump.c: Likewise.
13580 * lcm.c: Likewise.
13581 * local-alloc.c: Likewise.
13582 * loop.c: Likewise.
13583 * loop.h: Likewise.
13584
13585 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13586
13587 * genattr.c: PROTO -> PARAMS.
13588 * genattrtab.c: Likewise.
13589 * gencheck.c: Likewise.
13590 * gencodes.c: Likewise.
13591 * genconfig.c: Likewise.
13592 * genemit.c: Likewise.
13593 * genextract.c: Likewise.
13594 * genflags.c: Likewise.
13595 * gengenrtl.c: Likewise.
13596 * genopinit.c: Likewise.
13597 * genoutput.c: Likewise.
13598 * genpeep.c: Likewise.
13599 * genrecog.c: Likewise.
13600
13601 2000-01-16 Mark Mitchell <mark@codesourcery.com>
13602
13603 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
13604
13605 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13606
13607 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
13608 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
13609 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
13610 * configure, config.in: Rebuilt.
13611
13612 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
13613
13614 * config/i386/i386.md: Add peephole to merge successive stack
13615 adjusts.
13616
13617 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
13618
13619 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
13620 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
13621 when walking backwards to find all the parameter loads when
13622 the basic block ends in a call.
13623
13624 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13625
13626 * loop.c (this_loop_info): Delete.
13627 (uid_loop): Add in place of uid_loop_num. All uses updated.
13628 (loop_number_exit_count): Delete and replace with entry in loop
13629 structure. All uses updated.
13630 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
13631 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
13632 (loop_outer_loop): Likewise.
13633 (loop_invalid, loop_number_exit_labels): Likewise.
13634 (loop_used_count_register): Delete and replace with entry in
13635 loop_info structure.
13636 (find_and_verify_loops): Add loops argument.
13637 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
13638 loop_end, etc. arguments with loop structure pointer. All callers
13639 changed.
13640 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
13641 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
13642 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
13643 (insert_bct): Likewise.
13644 (basic_induction_var): New argument level.
13645 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
13646 vtop, and cont. Add used_count_register.
13647 (uid_loop): Delete declaration.
13648 (loop_number_exit_count): Likewise.
13649 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
13650 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
13651 (loop_outer_loop, loop_used_count_register): Likewise.
13652 (loop_invalid, loop_number_exit_labels): Likewise.
13653 (unroll_loop): Replace loop_start and loop_end arguments
13654 with loop structure pointer.
13655 (loop_precondition_p, loop_iterations): Likewise.
13656 Include basic-block.h.
13657 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
13658 with loop structure pointer.
13659 (loop_precondition_p, loop_iterations): Likewise.
13660 * basic-block.h (struct loop): New entries vtop, cont,
13661 cont_dominator, start, end, top, scan_start, exit_labels,
13662 exit_count.
13663 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
13664
13665 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
13666
13667 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
13668
13669 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
13670
13671 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
13672
13673 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13674
13675 * pdp11-protos.h: New file.
13676
13677 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
13678 time warnings.
13679
13680 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
13681 warnings.
13682
13683 * pdp11.md: Likewise.
13684
13685 * 2bsd.h: Likewise.
13686
13687 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13688
13689 * mn10300-protos.h: New file.
13690
13691 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
13692 time warnings.
13693
13694 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
13695 warnings.
13696
13697 * mn10300.md: Likewise.
13698
13699 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13700
13701 * mn10200-protos.h: New file.
13702
13703 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
13704 time warnings.
13705
13706 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
13707 warnings.
13708
13709 * mn10200.md: Likewise.
13710
13711 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13712
13713 * h8300-protos.h: New file.
13714
13715 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
13716 time warnings.
13717
13718 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
13719 warnings.
13720
13721 * h8300.md: Likewise.
13722
13723 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13724
13725 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
13726 (asm_emit_uninitialised): Likewise.
13727
13728 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
13729
13730 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
13731 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
13732
13733 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
13734
13735 * config/mips/mips.c (override_options): Don't turn on extra
13736 alignment for mips16.
13737
13738 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
13739
13740 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
13741 eabi, and make sure queued POSTINCREMENT rtl is emitted at
13742 the right point.
13743
13744 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
13745
13746 * builtins.c (PAD_VARARGS_DOWN): Define.
13747 (std_expand_builtin_va_arg): Use the above macro.
13748 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
13749 * tm.texi (Register Arguments): Document the above macro.
13750
13751 2000-01-14 Nick Clifton <nickc@cygnus.com>
13752
13753 * emit-rtl.c (emit_insn): If checking is enabled, make sure
13754 that this function has not been used to emit a jump
13755 instruction.
13756
13757 * jump.c (return_jump_1): Cope with being passed a null rtx.
13758
13759 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13760
13761 * eh-common.h: PROTO -> PARAMS.
13762 * emit-rtl.c: Likewise.
13763 * errors.c: Likewise.
13764 * errors.h: Likewise.
13765 * except.c: Likewise.
13766 * except.h: Likewise.
13767 * explow.c: Likewise.
13768 * expmed.c: Likewise.
13769 * expr.c: Likewise.
13770 * expr.h: Likewise.
13771 * final.c: Likewise.
13772 * fix-header.c: Likewise.
13773 * flow.c: Likewise.
13774 * fold-const.c: Likewise.
13775 * function.c: Likewise.
13776 * function.h: Likewise.
13777 * gcc.c: Likewise.
13778 * gcov-io.h: Likewise.
13779 * gcov.c: Likewise.
13780 * gcse.c: Likewise.
13781
13782 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13783
13784 * sh-protos.h: New file.
13785
13786 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
13787 Add static prototypes. Fix compile time warnings.
13788
13789 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
13790 * sh.md: Likewise.
13791 * elf.h: Likewise.
13792
13793 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13794
13795 * arc-protos.h: New file.
13796
13797 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
13798 time warnings.
13799
13800 * arc.h: Move prototypes to arc-protos.h. Fix compile time
13801 warnings.
13802
13803 * arc.md: Likewise.
13804
13805 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13806
13807 * dsp16xx-protos.h: New file.
13808
13809 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
13810 time warnings.
13811
13812 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
13813 warnings.
13814
13815 * dsp16xx.md: Likewise.
13816
13817 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13818
13819 * convex-protos.h: New file.
13820
13821 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
13822 time warnings.
13823
13824 * convex.h: Move prototypes to convex-protos.h. Fix compile time
13825 warnings.
13826
13827 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13828
13829 * elxsi-protos.h: New file.
13830
13831 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
13832 time warnings.
13833
13834 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
13835 warnings.
13836
13837 * elxsi.md: Likewise.
13838
13839 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
13840
13841 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
13842 case for moving from HI/LO/HI_LO_REG. This makes the behavior
13843 match the comment for MIPS16.
13844
13845 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
13846
13847 * flow.c (split_edge): Do not call set_block_for_insn if we
13848 do not have a basic_block_for_insn structure.
13849
13850 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
13851 and destination functions are 32bit aligned within the trampoline.
13852 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
13853 (TRAMPOLINE_ALIGNMENT): Define.
13854
13855 * cse.c (cse_insn): When changing (set (pc) (reg)) to
13856 (set (pc) (label_ref)), verify the change creates a valid insn.
13857
13858 * fr30.c (call_operand): Tighten and rework to match rules for
13859 call RTL expressions.
13860 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
13861 * fr30.md (call patterns): Improve constraints.
13862
13863 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
13864
13865 * fr30.c (fr30_expand_epilogue): Revert last change.
13866 Use emit_jump_insn for the return insn.
13867
13868 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
13869 Stan Cox <scox@cygnus.com>
13870
13871 * predict.c: New file. Preliminary infrastructure work for static
13872 branch prediction and basic block reordering.
13873 * basic-block.h: Add prototype for estimate_probability.
13874 * Makefile.in: Add rules for predict.o.
13875
13876 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
13877
13878 * fixincludes (va_list): Use __not_va_list__ for the dummy.
13879 * fixinc/*: Likewise.
13880
13881 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13882
13883 * cccp.c: PROTO -> PARAMS.
13884 * cexp.y: Likewise.
13885 * collect2.c: Likewise.
13886 * combine.c: Likewise.
13887 * convert.h: Likewise.
13888 * cse.c: Likewise.
13889 * dbxout.c: Likewise.
13890 * dbxout.h: Likewise.
13891 * diagnostic.c: Likewise.
13892 * doprint.c: Likewise.
13893 * dwarf2out.c: Likewise.
13894 * dwarf2out.h: Likewise.
13895 * dwarfout.c: Likewise.
13896 * dwarfout.h: Likewise.
13897 * dyn-string.h: Likewise.
13898
13899 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13900
13901 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
13902 macro conditionals guarding use.
13903
13904 * dwarf2out.c: Include "tm_p.h".
13905
13906 * function.c (locate_and_pad_parm): Mark parameter with
13907 ATTRIBUTE_UNUSED.
13908 (expand_function_end): Likewise for variable `context'.
13909
13910 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
13911
13912 2000-01-13 Nick Clifton <nickc@cygnus.com>
13913
13914 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
13915 register to prevent compile time warnings.
13916
13917 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
13918
13919 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
13920 to avoid -Wtraditional warning.
13921
13922 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13923
13924 * 1750a-protos.h: New file.
13925
13926 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
13927 time warnings.
13928
13929 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
13930 warnings.
13931
13932 * 1750a.md: Likewise.
13933
13934 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13935
13936 * a29k-protos.h: New file.
13937
13938 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
13939 time warnings.
13940
13941 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
13942 warnings.
13943
13944 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13945
13946 * clipper-protos.h: New file.
13947
13948 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
13949 time warnings.
13950
13951 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
13952 warnings.
13953
13954 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
13955
13956 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
13957
13958 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
13959
13960 * configure.in (--enable-new-gxx-abi): New option.
13961 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
13962 * Makefile.in (GXX_ABI_FLAG): New variable.
13963 * configure: Regenerate.
13964
13965 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13966
13967 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
13968 * tm.texi (FORCE_STRUCT_BLK): Document.
13969 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
13970
13971 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
13972
13973 * config/ns32k/ns32k.md: Revert Jan 9 change.
13974
13975 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
13976 to a mode-test, if the predicate is address_operand.
13977
13978 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
13979
13980 * combine.c (if_then_else_cond): Be careful about what kinds
13981 of RTL expressions are passed to operand_subword.
13982
13983 * flow.c (split_edge): If we have to insert a new jump, make
13984 sure to associate it with a basic block.
13985
13986 * flow.c (commit_one_edge_insertion): A block with one successor
13987 can end in a JUMP_INSN that is not a simplejump.
13988
13989 2000-01-12 Robert Lipe <robertl@sco.com>
13990
13991 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
13992 (BUILD_VA_LIST_TYPE): Define.
13993 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
13994 with crtstuff.c.
13995
13996 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
13997
13998 * cccp.c (do_pragma): Add cast to (char *).
13999
14000 2000-01-12 Richard Henderson <rth@cygnus.com>
14001 Fred Fish <fnf@be.com>
14002 Jason Merrill <jason@cygnus.com>
14003
14004 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
14005 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
14006 * i386/beos-elf.h, i386/beos-pe.h: New files.
14007
14008 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
14009 * cross-make (SYSTEM_HEADER_DIR): Define using
14010 CROSS_SYSTEM_HEADER_DIR.
14011
14012 * gcc.c (LIBRARY_PATH_ENV): Provide default.
14013 (process_command): Use it.
14014 (main): Likewise. Kill trailing = from env vars.
14015 (build_search_list): Put it back.
14016 * collect2.c (main): Use LIBRARY_PATH_ENV.
14017
14018 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
14019 * toplev.c: Use NEED_DECLARATION_ENVIRON.
14020
14021 * tm.texi (Frame Layout): Document SMALL_STACK.
14022 * c-common.c (c_common_nodes_and_builtins): Check it.
14023
14024 * system.h: Undef alloca after including glibc's <stdlib.h>,
14025 if USE_C_ALLOCA is defined.
14026
14027 * gcc.c (set_input): New fn.
14028 (main): After all input files are compiled, reset the input file
14029 info to the first.
14030
14031 * aclocal.m4 (rindex, index): If already defined, don't attempt
14032 to redefine.
14033
14034 * ginclude/varargs.h: (__va_list__): Define ifndef.
14035 * ginclude/stdarg.h: Likewise.
14036
14037 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
14038 instead of unsigned char.
14039
14040 * hash.h (true, false, boolean): Undef before enum.
14041
14042 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
14043 proper type of "HOST_WIDE_INT *", rather than their natural type of
14044 "unsigned HOST_WIDE_INT *".
14045
14046 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14047
14048 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
14049
14050 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
14051
14052 * regclass.c (choose_hard_reg_mode): Likewise.
14053
14054 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
14055
14056 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
14057
14058 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14059
14060 * c-common.c: PROTO -> PARAMS.
14061 * c-common.h: Likewise.
14062 * c-decl.c: Likewise.
14063 * c-iterate.c: Likewise.
14064 * c-lang.c: Likewise.
14065 * c-lex.c: Likewise.
14066 * c-lex.h: Likewise.
14067 * c-parse.in: Likewise.
14068 * c-pragma.c: Likewise.
14069 * c-pragma.h: Likewise.
14070 * c-tree.h: Likewise.
14071 * c-typeck.c: Likewise.
14072 * objc/objc-act.c: Likewise.
14073 * objc/objc-act.h: Likewise.
14074
14075 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14076
14077 * m88k-protos.h: New file.
14078
14079 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
14080 time warnings.
14081
14082 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
14083
14084 * m88k.md: Likewise.
14085
14086 * tekXD88.h: Likewise.
14087
14088 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14089
14090 * m68k-protos.h: New file.
14091
14092 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
14093 time warnings.
14094
14095 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
14096
14097 * mot3300.h: Likewise.
14098
14099 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
14100
14101 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
14102 extract_bitlst.
14103 (extract_bitlist): Declare bitlen.
14104
14105 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
14106
14107 * cccp.c: Accept and ignore -lang-fortran.
14108
14109 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
14110 qualifiers don't match at any level of pointerness.
14111
14112 2000-01-12 Robert Lipe <robertl@sco.com>
14113
14114 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
14115
14116 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
14117
14118 * reload1.c (reload_reg_unavailable): New static variable.
14119 (reload_reg_free_p): Test it.
14120 (reload_reg_free_for_value_p): Test it instead of
14121 reload_reg_used.
14122 (choose_reload_regs_init): Compute it.
14123
14124 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
14125
14126 * reorg.c (fill_slots_from_thread): Check modified_in_p
14127 before replacing.
14128
14129 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
14130
14131 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
14132 these nodes even if INTERNALS is not set.
14133
14134 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
14135
14136 * gcse.c (delete_null_pointer_checks_1): Cope when
14137 get_condition cannot determine the condition.
14138
14139 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
14140
14141 * toplev.h (set_message_length): Declare.
14142
14143 * diagnostic.c (obstack_chunk_alloc): Define macro.
14144 (obstack_chunk_free): Likewise.
14145 (struct output_buffer): New data structure.
14146 (vmessage): Remove.
14147 (output_maximum_width): New variable.
14148 (doing_line_wrapping, set_message_length, init_output_buffer,
14149 get_output_prefix, output_space_left, emit_output_prefix,
14150 output_newline, output_append, output_puts, dump_output,
14151 vbuild_message_string, build_message_string, build_location_prefix,
14152 voutput_notice, output_printf, line_wrapper_printf,
14153 vline_wrapper_message_with_location): New functions. Implement
14154 automatic line wrapping.
14155 (v_message_with_decl): Make it handle automatic line wrapping.
14156 (v_error_with_file_and_line): Likewise.
14157 (v_warning_with_file_and_line): Likewise.
14158 (announce_function): Likewise.
14159 (default_print_error_function): Likewise.
14160
14161 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
14162
14163 * cpplib.h (struct cpp_options): Change lang_asm to char.
14164 Add lang_fortran.
14165 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
14166 done in cpp_handle_option now.
14167 (initialize_builtins): Take out special case code used only by
14168 __STDC_VERSION__.
14169 (cpp_handle_option): Turn off trigraphs and trigraph warnings
14170 if -traditional. Recognize -lang-fortran and set
14171 lang_fortran, also turn off cplusplus_comments.
14172 (print_help): Document -lang-fortran.
14173 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
14174 lang_asm. Ignore all directives other than `# 123 "file"' if
14175 CPP_PREPROCESSED.
14176 (cpp_get_token): If -traditional, don't recognize directives
14177 unless the # is in column 1.
14178 (parse_string): If lang_fortran or lang_asm, silently
14179 terminate strings ('' or "") at end of line.
14180 Remove unnecessary braces.
14181
14182 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
14183 Richard Henderson <rth@cygnus.com>
14184
14185 * resource.c (mark_referenced_resources): Mark a set strict_low_part
14186 as used.
14187 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
14188 strict_low_part when possible.
14189
14190 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14191
14192 * alias.c: PROTO -> PARAMS.
14193 * basic-block.h: Likewise.
14194 * bitmap.c: Likewise.
14195 * bitmap.h: Likewise.
14196 * builtins.c: Likewise.
14197 * c-aux-info.c: Likewise.
14198 * caller-save.c: Likewise.
14199 * calls.c: Likewise.
14200
14201 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14202
14203 * Makefile.in (toplev.o): Depend on regs.h.
14204
14205 * output.h (tdesc_section): Prototype.
14206
14207 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
14208
14209 * sdbout.c: Include "tm_p.h".
14210
14211 * toplev.c: Include "regs.h".
14212
14213 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
14214
14215 * unroll.c (unroll_loop): Add EH support.
14216
14217 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14218
14219 * pa-protos.h: New file.
14220
14221 * pa.c: Include recog.h and tm_p.h.
14222 (compute_zdepwi_operands, compute_movstrsi_length,
14223 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
14224 find_addr_reg, import_milli): Add static prototypes.
14225 (pa_cpu_string, pa_arch_string): Constify a char*.
14226 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
14227 (read_only_operand): Add argument `mode'.
14228 (singlemove_string, output_move_double, output_fp_move_double,
14229 output_block_move, output_and, output_ior, output_ascii,
14230 remove_useless_addtr_insns, milli_names, output_mul_insn,
14231 output_div_insn, output_mod_insn, output_arg_descriptor,
14232 output_cbranch, output_bb, output_bvb, output_dbra, ,
14233 output_millicode_call, output_call, hppa_encode_label,
14234 output_parallel_movb, output_parallel_addb): Constify a char*.
14235 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
14236 (output_parallel_addb): Remove extra arg to `constrain_operands'
14237
14238 * pa.h: Move all prototypes to pa-protos.h.
14239 (pa_cpu_string, pa_arch_string): Constify a char*.
14240 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
14241
14242 * pa.md: Call `function_label_operand' with mode argument.
14243 Likewise for `read_only_operand'.
14244 Fix nesting of parens in call to `symbolic_operand'.
14245
14246 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14247
14248 * i860-protos.h: New file.
14249
14250 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
14251 time warnings.
14252
14253 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
14254
14255 * i860.md: Likewise.
14256
14257 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
14258
14259 * i386.md (movstrsi expander): Rewrite.
14260 (movstrsi_1 insn): Deleted.
14261 (strmovhi, strmovqi expander): New expanders.
14262 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
14263 * i386.c (x86_single_stringop): New global variable.
14264 * i386.h (x86_single_stringop): Declare.
14265 (TARGET_SINGLE_STRINGOP): New macro.
14266
14267 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
14268
14269 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
14270 integer vararg POSTINCREMENT before the destination of the jump
14271 for the hard fp case.
14272 (function_arg_pass_by_reference): Pass a copy of CUM to
14273 FUNCTION_ARG.
14274
14275 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
14276 for CONSTANT_ADDRESS_P above while loop for subreg.
14277
14278 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
14279
14280 * flow.c (propagate_block): When a prologue/epilogue insn
14281 is marked dead, unconditionally clear libcall_is_dead and
14282 insn_is_dead, and only dump rtl if warnings aren't being
14283 suppressed.
14284
14285 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
14286
14287 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
14288 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
14289 (FIXED_REGISTERS): Set dirflag as fixed.
14290 (CALL_USED_REGISTERS): Set dirflag as used.
14291 (REG_ALLOC_ORDER): Set dirflag as last one.
14292 (DIRFLAG_REG): New macro.
14293 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
14294 (HI_REGISTER_NAMES): Add dirflag.
14295 (DEBUF_PRINT_REG): Handle dirflag.
14296 * i386.md (type attribute): New cld and str types.
14297 (length_opcode attribute): Set cld and str to 1.
14298 (memory attribute): Set str to unknown - it is not clear from the
14299 patterns.
14300 (pent_np function unit): Prefixed string operations takes 12 cycles
14301 minimally; cld takes 2 cycles.
14302 (ppro_uops attribute): Str is "many" and cld is "few".
14303 (ppro_p0 unit): Handle cld here.
14304 (k6_alux unit): Handle cld and str types.
14305 (k6_load unit): It is ocupied by str opcodes.
14306 (k6_store unit): It is ocupied by str opcodes.
14307 (athlon_decode): Str is vector decoded.
14308 (athlon_ieu): Handle str and cld.
14309 (cld pattern): New.
14310 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
14311 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
14312 cmpstrsi_nz_1 insn): Do not output cld instruction
14313
14314 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
14315
14316 * gcc.texi (G++ and GCC): Add Java and Chill.
14317 (Bug Critera): Don't list languages.
14318
14319 * gcc.texi (Incompatibilities): No longer claim most C compilers
14320 are K&R.
14321
14322 * gcc.texi (G++ and GCC): Update other front-ends list.
14323
14324 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
14325
14326 * i386.c (ix86_expand_setcc): Fix typo.
14327 (ix86_expand_movcc): Similarly.
14328
14329 * Band-aid until haifa's bitset implementation is nuked.
14330 * haifa-sched.c (extract_bitlst): New parameter for size of the
14331 bitset in bits. All callers changed. Avoid looking at undefined
14332 bits in the bitset.
14333 (edgeset_bitsize): New variable.
14334 (schedule_region): Initialize edgeset_bitsize.
14335
14336 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14337
14338 * Makefile.in (optabs.o): Depend on real.h
14339 (resource.o): Depend on insn-attr.h
14340
14341 * builtins.c (result_vector): Wrap prototype in macro conditions
14342 governing definition and use.
14343
14344 * c-common.c: Include tm_p.h.
14345
14346 * c-lex.c: Likewise.
14347
14348 * elfos.h: Constify a char*.
14349
14350 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
14351 (get_attr_length, shorten_branches, profile_after_prologue): Mark
14352 parameter with ATTRIBUTE_UNUSED.
14353
14354 * fold-const.c (exact_real_inverse): Wrap variable `i' in
14355 CHECK_FLOAT_VALUE.
14356
14357 * haifa-sched.c (schedule_insns): Mark parameter with
14358 ATTRIBUTE_UNUSED.
14359
14360 * optabs.c: Include real.h.
14361
14362 * real.h (ereal_atof): Add prototype arguments.
14363
14364 * resource.c: Include insn-attr.h.
14365
14366 * sdbout.c (sdbout_queue_anonymous_type,
14367 sdbout_dequeue_anonymous_types): Wrap in macro
14368 SDB_ALLOW_FORWARD_REFERENCES.
14369 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
14370 ATTRIBUTE_UNUSED.
14371
14372 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
14373
14374 * stupid.c: Include tm_p.h.
14375
14376 * tree.c (real_value_from_int_cst): Mark parameter with
14377 ATTRIBUTE_UNUSED.
14378
14379 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14380
14381 * i960-protos.h: New file.
14382
14383 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
14384 time warnings.
14385
14386 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
14387
14388 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
14389
14390 * combine.c (expand_field_assignment): Do not discard SUBREGs
14391 while computing nonzero_bits.
14392
14393 2000-01-09 Nick Clifton <nickc@cygnus.com>
14394
14395 * config/arm/arm.c: Fix compile time warnings about signed vs
14396 unsigned constants.
14397 * config/arm/arm.h: Fix compile time warnings about signed vs
14398 unsigned constants.
14399
14400 2000-01-09 Philip Blundell <philb@gnu.org>
14401
14402 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
14403 than `ldm' with only one register.
14404 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
14405 only one register.
14406
14407 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
14408 clobbered.
14409
14410 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
14411
14412 * config/ns32k/ns32k.md (load or push effective address): Operand 1
14413 must have SImode.
14414
14415 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14416
14417 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
14418 assignment used as truth value.
14419
14420 * function.c (assign_temp): Mark parameter `dont_promote' with
14421 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
14422 PROMOTE_FOR_CALL_ONLY.
14423
14424 * genrecog.c (write_subroutine): Mark variable `operands' with
14425 ATTRIBUTE_UNUSED.
14426
14427 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
14428 ATTRIBUTE_UNUSED.
14429
14430 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
14431 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
14432
14433 * toplev.c (note_deferral_of_defined_inline_function): Likewise
14434 for `decl'.
14435
14436 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14437
14438 * config/c4x.h: Tidy up comments.
14439 * config/c4x.c: Likewise.
14440
14441 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
14442
14443 * fold-const.c (lshift_double, rshift_double): Handle
14444 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
14445
14446 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
14447
14448 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
14449 in prepare_function_start().
14450
14451 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
14452
14453 * config/v850/v850.c (expand_epilogue): Interrupt functions no
14454 longer allocate extra stack for function calls.
14455
14456 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14457
14458 * config/c4x/c4x.md (*subqf3_set): Fix typo.
14459
14460 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14461
14462 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
14463
14464 2000-01-07 David Edelsohn <edelsohn@gnu.org>
14465
14466 * rs6000.c (processor_target_table): Add power3 as alias for 630.
14467 * aix43.h: Revert Aug 2 change.
14468 (HAS_INIT_SECTION): Define, not visible yet.
14469 (LD_INIT_SWITCH): Define, not visible yet.
14470 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
14471
14472 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
14473
14474 * collect2.c (main): Expand ld2 size further.
14475 (export_object_lst): Cast assignment to avoid warning.
14476 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
14477 (scan_prog_file, COFF): Do not collect initialization or
14478 finalization functions generated for entire shared object if
14479 init/fini support present.
14480
14481 2000-01-07 Nick Clifton <nickc@cygnus.com>
14482
14483 * config/elfos.h: Tidy up formatting of marcos. Make sure
14484 that .section directives are always prefixed by a tab.
14485
14486 * config/svr4.h: Add #include "elfos.h" and remove duplicate
14487 definitions.
14488
14489 2000-01-07 Matt Austern <austern@sgi.com>
14490
14491 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
14492 expon.
14493
14494 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
14495
14496 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
14497 crtstuff.c.
14498 (crtbegin.o, s-crtS): Likewise.
14499
14500 2000-01-06 Richard Henderson <rth@cygnus.com>
14501
14502 * alpha.md (adddi_2+1): Limit offset such that it will be
14503 loadable with a single ldah+lda pair.
14504 (adddi_2+2): Explicitly fail split if we can't make it work.
14505
14506 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
14507
14508 * protoize.c: Conditionally include unistd.h.
14509 (IS_SAME_PATH_CHAR): New macro.
14510 (IS_SAME_PATH): New macro.
14511 (CPLUS_FILE_SUFFIX): New macro.
14512 (cplus_suffix): New static variable.
14513 (is_abspath): New static function.
14514 (in_system_include_dir): Handle DOS style pathnames.
14515 (file_could_be_converted): Likewise.
14516 (file_normally_convertible): Likewise.
14517 (directory_specified_p): Likewise.
14518 (file_excluded_p): Likewise.
14519 (abspath): Likewise.
14520 (shortpath): Likewise.
14521 (referenced_file_is_newer): Likewise.
14522 (save_def_or_dec): Likewise.
14523 (do_processing): Likewise.
14524 (main): Likewise.
14525 (edit_file): Likewise. Use rename instead of link.
14526 (rename_c_file): Likewise. Don't rename syscalls file.
14527 (munge_compile_params): Define null device for DOS based systems.
14528 (process_aux_info_file): Use binary mode if appliable.
14529 (edit_file): Likewise.
14530 * invoke.texi (Running Protoize): Document C++ suffixes used.
14531
14532 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
14533 IS_DIR_SEPARATOR macros.
14534 * collect2.c: Likewise.
14535 * cppinit.c: Likewise.
14536 * dwarf2out.c: Likewise.
14537 * gcc.c: Likewise.
14538 * gcov.c: Likewise.
14539 * prefix.c: Likewise.
14540 * rtl.c: Likewise.
14541 * toplev.c: Likewise.
14542 * system.h: And move to here.
14543
14544 * prefix.c (update_path): Fix typo in variable name.
14545
14546 2000-01-06 Richard Henderson <rth@cygnus.com>
14547
14548 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
14549 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
14550 (count_reg_sets_1, count_reg_references): Likewise.
14551 (flow_loops_level_compute): Start counting actual loop depth at 1.
14552 (flow_loops_find): Likewise.
14553 * local-alloc.c (update_equiv_regs): Likewise.
14554 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
14555
14556 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
14557
14558 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
14559 FIRST_PSEUDO_REGISTER
14560 * dwarf2out.c: Don't include frame.h
14561 * dwarfout.c: Likewise
14562 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
14563 frame.h
14564
14565 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
14566
14567 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
14568 dead registers.
14569
14570 * i386.c (movsf splitter): Fix typo in my last checkin.
14571
14572 2000-01-05 Nick Clifton <nickc@cygnus.com>
14573
14574 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
14575 own definition of this macro.
14576 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
14577 flag_data_sections or UNIQUE_SECTION_P are true.
14578
14579 * tm.texi (UNIQUE_SECTION): Document that it can be called for
14580 unitialised data decls.
14581
14582 * config/i386/winnt.c (i386_pe_unique_section): Cope with
14583 being called for uninitialised data.
14584
14585 * config/i386/interix.c (i386_pe_unique_section): Cope with
14586 being called for uninitialised data.
14587
14588 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
14589 for uninitialised data.
14590
14591 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
14592 for uninitialised data.
14593
14594 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
14595 for uninitialised data.
14596
14597 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
14598 (UNIQUE_SECTION_P): Always generate a unique section if
14599 flag_data_sections is true.
14600 (UNIQUE_SECTION): Also generate unique sections for
14601 uninitialised data.
14602 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
14603 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
14604 named_section().
14605
14606 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14607
14608 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
14609 SI, or DI.
14610
14611 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14612
14613 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
14614 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
14615 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
14616 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
14617 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
14618
14619 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
14620
14621 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
14622
14623 * c-decl.c (finish_enum): Simplify code to determine minimum and
14624 maximum values of the enum, and calculate the type. Remove check
14625 for FUNCTION_DECLs in the values list, which cannot happen. Replace
14626 the DECL_INITIAL of each enumeration constant with a copy converted
14627 to the enumeration type. When updating variant types, don't bother
14628 updating the type itself.
14629
14630 * c-typeck.c (build_binary_op): Simplify conditional expressions
14631 when weeding out spurious signed-unsigned warnings. Add new
14632 spurious warning category: if the unsigned quantity is an enum
14633 and its maximum value fits in signed_type(result_type). Update
14634 commentary.
14635 (build_conditional_expr): Warn here if one alternative is signed
14636 and the other is unsigned.
14637
14638 2000-01-05 Nick Clifton <nickc@cygnus.com>
14639
14640 * config/fr30/fr30.h: Remove extraneous comments.
14641
14642 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
14643
14644 * reload1.c (choose_reload_regs): When disabling a reload, also
14645 set reload_spill_index to -1.
14646
14647 2000-01-04 Joel Sherrill (joel@OARcorp.com>
14648
14649 * configure.in (m68*-*-rtemscoff*): New target, formal name for
14650 old m68*-*-rtems*.
14651 (m68*-*-rtemself*): New target.
14652 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
14653 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
14654 (sparc*-*-rtemself*): New target.
14655 (sparc*-*-rtems*): Now elf not a.out.
14656 * config/i386/rtems.h: Include config/rtems.h.
14657 * config/i386/rtemself.h: Include config/rtems.h.
14658 * config/i960/rtems.h: Include config/rtems.h.
14659 * config/m68k/rtems.h: Include config/rtems.h.
14660 * config/m68k/rtemself.h: Include config/rtems.h.
14661 * config/mips/rtems64.h: Include config/rtems.h.
14662 * config/pa/rtems.h: Include config/rtems.h.
14663 * config/rs6000/rtems.h: Include config/rtems.h.
14664 * config/sh/rtems.h: Include config/rtems.h.
14665 * config/sh/rtemself.h: Include config/rtems.h.
14666 * config/sparc/rtems.h: Include config/rtems.h.
14667 * config/sparc/rtemself.h: Include config/rtems.h
14668
14669 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
14670
14671 * final.c (shorten_branches): Correctly compute length of
14672 asms without operands.
14673
14674 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
14675
14676 * configure.in: Add pj target.
14677 * configure: Regenerate.
14678 * config/pj: New directory.
14679 * config/pj/lib1funcs.S: New file.
14680 * config/pj/linux.h: New file.
14681 * config/pj/pj.c: New file.
14682 * config/pj/pj.md: New file.
14683 * config/pj/pjl.h: New file.
14684 * config/pj/t-pj: New file.
14685 * config/pj/xm-pj.h: New file
14686
14687 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
14688
14689 * toplev.c (rest_of_compilation): Run shorten-branches before
14690 reg-stack for now.
14691
14692 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14693
14694 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
14695 macros so that they're consistent with their names.
14696 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
14697 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
14698
14699 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14700
14701 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
14702 modified inadvertently.
14703
14704 2000-01-04 Joel Sherrill <joel@OARcorp.com>
14705
14706 * configure.in (v850*-*-rtems*): New target.
14707 * configure: Regenerate.
14708 * config/v850/rtems.h: New file.
14709
14710 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
14711
14712 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
14713 (__gthread_key_create): Likewise.
14714 (__gthread_key_dtor): Likewise.
14715 (__gthread_once): Fix logic.
14716 (__gthread_key_delete): Cast away constness.
14717
14718 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
14719 * invoke.texi: Document.
14720 * i386/mingw32.h (CPP_SPEC): Use.
14721 (LIBGCC_SPEC): Likewise.
14722 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
14723
14724 2000-01-04 David Edelsohn <edelsohn@gnu.org>
14725
14726 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
14727 (HANDLE_PRAGMA_PACK): Undefine.
14728 (SLOW_UNALIGNED_ACCESS): Define.
14729
14730 2000-01-04 David Edelsohn <edelsohn@gnu.org>
14731
14732 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
14733 to default definition.
14734 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
14735 (store_fixed_bit_field): Call macro with word_mode and alignment.
14736 (extract_bit_field): Call macro with relevant mode and alignment.
14737 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
14738 to default definition.
14739 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
14740 and alignment.
14741 (move_by_pieces_ninsns): Likewise.
14742 (clear_by_pieces): Likewise.
14743 (emit_push_insn): Likewise.
14744 (store_field): Call macro with relevant mode and alignment.
14745 (expand_expr): Likewise.
14746 (expand_expr_unaligned): Likewise.
14747
14748 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
14749 (SLOW_UNALIGNED_ACCESS): Define.
14750 (CASE_VECTOR_MODE): Always use 32-bit offsets.
14751 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
14752 (EXTRA_SECTION_FUNCTIONS): Indent .csect pseudo-op.
14753 (toc_section): Likewise and .toc pseudo-op.
14754 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
14755 64-bit mode.
14756 (TEXT_SECTION_ASM_OP): Likewise.
14757 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
14758 32-bit offsets.
14759
14760 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
14761 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
14762 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
14763 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
14764 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
14765
14766 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
14767
14768 * regclass.c: Revert my Jan 4 change to loop cost computation.
14769
14770 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
14771
14772 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
14773 compilation.
14774
14775 2000-01-04 Stan Cox <scox@cygnus.com>
14776
14777 * haifa-sched.c (build_control_flow): Change unreachable simple
14778 loop test to check if current block has only one predecessor.
14779 (find_rgns): Initialize degree. Use dest as degree index, not src.
14780
14781 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14782
14783 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
14784
14785 * calls.c (expand_call): Likewise for
14786 `old_stack_arg_under_construction'.
14787
14788 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
14789
14790 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
14791 `save_constant'.
14792
14793 * gcc.c (execute): Likewise for `ut' and `st'.
14794
14795 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
14796
14797 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
14798
14799 * jump.c (jump_optimize_1): Likewise for `temp2'.
14800
14801 * local-alloc.c (block_alloc): Likewise for `r1'.
14802
14803 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
14804
14805 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
14806 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
14807
14808 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
14809 and `set2'.
14810
14811 * reload.c (find_reloads): Likewise for `goal_alternative_number'
14812 and `goal_earlyclobber'.
14813
14814 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
14815
14816 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
14817
14818 * stupid.c (stupid_life_analysis): Likewise for `chain'.
14819
14820 * unroll.c (copy_loop_body): Likewise for `copy'.
14821
14822 * varasm.c (output_constructor): Likewise for `byte'.
14823
14824 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
14825
14826 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
14827 all FP constants for constant->reg moves.
14828 (ix86_split_to_parts): Try to convert memory address into immediate
14829 when available in the constant pool.
14830 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
14831 moves.
14832 (LEGITIMATE_CONSTANT_P): Return 1.
14833 * i386.md (pushsf): New splitter to convert constant pool memory
14834 reference to immediate.
14835 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
14836 reload.
14837
14838 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
14839
14840 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
14841 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
14842 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
14843 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
14844 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
14845
14846 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
14847
14848 * ginclude/stdbool.h: Support compilation as C++.
14849
14850 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
14851
14852 * fold-const.c (make_range): Don't try to reverse an unbounded range.
14853
14854 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
14855
14856 * regclass.c (regclass): Properly compute loop_cost. Adjust
14857 comments.
14858
14859 * regclass.c: Fix minor whitespace problems.
14860
14861 2000-01-03 Anthony Green <green@cygnus.com>
14862
14863 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
14864 Restore the pic register if required.
14865
14866 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
14867
14868 * c-common.c (format_char_info): Update comment.
14869 (check_format_info): Recognize 'z' modifier in the same way 'Z'
14870 was recognized. Emit warning for formats new in ISO C99 only
14871 if flag_isoc9x is not set.
14872
14873 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
14874
14875 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
14876
14877 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
14878
14879 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
14880 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
14881 (make_compound_operation): Choose cheaper alternative between
14882 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
14883
14884 * regclass.c (op_costs): Remove global variable.
14885 (record_reg_classes): New parameter "op_costs" and "reg_pref".
14886 (record_operand_costs): Break out from ...
14887 (scan_one_insn): ... here.
14888 (dump_regclass): Make dumps nicer.
14889 (regclass): Dump preferrences choosed and changes done during passes.
14890
14891 2000-01-03 Jakub Jelinek <jakub@redhat.com>
14892
14893 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
14894
14895 2000-01-03 Jakub Jelinek <jakub@redhat.com>
14896
14897 * config/sparc/sparc.c (gen_df_reg): New function.
14898 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
14899 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
14900 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
14901 movtf_cc_reg_sp64+1): Use it.
14902
14903 2000-01-02 Mark Mitchell <mark@codesourcery.com>
14904
14905 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
14906 copied LABEL_DECLs.
14907
14908 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
14909
14910 * config/i386/i386.c (ix86_expand_unary_operator): Function
14911 definition made void.
14912 (ix86_expand_binary_operator): Update outdated preceding comment.
14913 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
14914 prototype.
14915
14916 * config/i386/i386.c (override_options): Fix option-name typo.
14917
14918 2000-01-02 Mark Mitchell <mark@codesourcery.com>
14919
14920 * system.h (CEIL): Define.
14921 * builtins.c (CEIL): Remove.
14922 * expmed.c (CEIL): Likewise.
14923 * expr.c (CEIL): Likewise.
14924 * stor-layout.c (CEIL): Likewise.
14925
14926 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14927
14928 * expr.c (store_constructor_field): Fix typo introduced with last
14929 gcc2 merge.
14930
14931 2000-01-01 Mark Mitchell <mark@codesourcery.com>
14932
14933 * tree.h (BINFO_N_BASETYPES): New macro.
14934
14935 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
14936
14937 * expmed.c (emit_store_flag): Prevent losing a pending stack
14938 adjust the same way we prevent losing queued increments.
14939
14940 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14941
14942 * function.c (update_temp_slot_address): Handle case where sum of
14943 temporary address plus offset in register is a valid address.
14944
14945 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14946
14947 * genrecog.c (change_state) Corrected typo.
14948
14949 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14950
14951 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
14952 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
14953 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
14954
14955 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
14956
14957 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
14958 case, expand GT comparisons correctly. Fix a comment before this
14959 part of the code.
14960
14961 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
14962
14963 * dwarfout.c: Include "frame.h"
14964 * dwarf2out.c: Likewise.
14965 * Makefile.in (dwarfout.o): Depend on frame.h
14966 (dwarf2out.o): Likewise.
14967
14968 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
14969
14970 Restore i386 binary compatibility in Dwarf EH info.
14971 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
14972 value of FIRST_PSEUDO_REGISTER.
14973 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
14974 (struct frame_state): Use DWARF_FRAME_REGISTERS.
14975 * dwarfout.c (output_reg_number): Ditto.
14976 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
14977 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
14978
14979 1999-12-29 Bruce Korb <autogen@linuxbox.com>
14980
14981 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
14982 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
14983 (<hack>_RE_CT): not needed
14984 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
14985 rewritten to scan the file text once only
14986 "template<..." test added
14987 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
14988 (is_cxx_header): declaration added
14989 * fixinc/fixtests.c(is_cxx_header): removed
14990 (apply_fix_p_t): removed
14991 (double_slash_test): is_cxx_header is only called once now
14992 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
14993 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
14994 within the templates.
14995 The borken spelling of "broken" was fixed.
14996 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
14997 The default level depends on FIXINC_DEBUG.
14998
14999 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15000
15001 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
15002 Otherwise provide a declaration for atexit.
15003 (init_dummy): Make sure dummy call to atexit is nevertheless
15004 called with correct number of args.
15005
15006 * frame.c: Update comments referring to other files.
15007
15008 * libgcc2.c: Likewise.
15009
15010 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15011
15012 * cse.c (free_element, get_element): Remove unused prototypes.
15013
15014 * fold-const.c (extract_muldiv): Initialize variables `op0' and
15015 `op1'.
15016
15017 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
15018 `else' clauses.
15019
15020 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
15021
15022 * configure.in,configure: case arm for mn10200-*-* now sets
15023 float_format=i32 so that float.h will correctly claim "double"
15024 to be 32 bits. Ran autoconf to generate configure from .in file.
15025
15026 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
15027
15028 * pa.md (conditional zero): If op1 is a register, force it into
15029 the same register as op0.
15030
15031 1999-12-28 Mark Mitchell <mark@codesourcery.com>
15032
15033 * tree.h (BINFO_BASETYPES): Improve documentation.
15034
15035 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15036
15037 * configure.in (--enable-checking): Use a more portable `for'
15038 loop syntax.
15039
15040 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15041
15042 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
15043 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
15044
15045 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
15046 Delete files.
15047
15048 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
15049 Delete descriptions.
15050
15051 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
15052 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
15053 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
15054 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
15055 xm-svr4.h: Remove all instances of sys_siglist handling.
15056
15057 1999-12-27 Jakub Jelinek <jakub@redhat.com>
15058
15059 * config/sparc/sparc.md (cmp_zero_qi,
15060 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
15061 cmp_zero_extendqidi2_andcc_set): New patterns.
15062
15063 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
15064
15065 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
15066 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
15067 (fpgnulib.c, xfgnulib.c): Add rules.
15068 * m68k/t-mot3300-gas: Likewise.
15069
15070 1999-12-27 Ian Lance Taylor <ian@zembu.com>
15071
15072 * configure.in: Avoid [[ by using test and changequote. Add
15073 changequote required by 1999-12-14 change.
15074 * configure: Rebuild.
15075
15076 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
15077
15078 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
15079
15080 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
15081
15082 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
15083 * flow.c (find_use_as_address): Likewise.
15084 * function.c (fixup_var_refs_1): Likewise.
15085 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
15086 * jump.c (invert_exp, redirect_exp): Likewise.
15087 * loop.c (replace_call_address): Likewise.
15088 (count_nonfixed_reads): Likewise.
15089 * rtlanal.c (modified_between_p): Likewise.
15090 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
15091 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
15092 * unroll.c (remap_split_bivs): Likewise.
15093
15094 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15095
15096 * diagnostic.c (v_message_with_decl): Use .* format specifier
15097 instead of building the format specifier width manually.
15098
15099 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
15100 determining whether to provide a prototype. Remove the
15101 sys_siglist clause in the conditional.
15102
15103 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
15104
15105 * fold-const.c (operand_equal_p): Use memcmp to compare string
15106 constants.
15107 Suggested by D. J. Bernstein
15108
15109 1999-12-17 Jakub Jelinek <jakub@redhat.com>
15110
15111 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
15112 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
15113 compiling libgcc2.
15114 * config/mips/mips.h (TARGET_64BIT): Likewise.
15115 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
15116 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
15117 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
15118 dsps. Give routines proper names if SI/DI modes are not used.
15119 * longlong.h: Use DWunion instead of DIunion.
15120
15121 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
15122
15123 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
15124 GC_CHECKING, GC_ALWAYS_COLLECT.
15125 * configure.in: Allow --enable-checking with an argument
15126 listing check modes to enable.
15127 * config.in, configure: Rebuilt.
15128 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
15129 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
15130 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
15131 ENABLE_GC_ALWAYS_COLLECT.
15132 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
15133 throughout.
15134 * tree.h, tree.c: Change ENABLE_CHECKING to
15135 ENABLE_TREE_CHECKING throughout.
15136
15137 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15138
15139 * fold-const.c (fold_truthop): Properly check for FP RHS.
15140
15141 1999-12-24 Mark Mitchell <mark@codesourcery.com>
15142
15143 * toplev.h (note_deferall_of_defined_inline_function): Declare.
15144 * toplev.c (note_deferral_of_defined_inline_function): New
15145 function, split out from ...
15146 (rest_of_compilation): ... here. Use it.
15147
15148 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15149
15150 * expr.c (store_constructor): Don't call clear_storage if size is
15151 variable.
15152
15153 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15154
15155 * Makefile.in (toplev.o): Depend on loop.h.
15156
15157 * dwarfout.c: Include tm_p.h.
15158
15159 * emit-rtl.c (restore_emit_status): Mark parameter with
15160 ATTRIBUTE_UNUSED.
15161
15162 * final.c (final_scan_insn): Likewise.
15163
15164 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
15165 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
15166 flow_depth_first_order_compute, flow_loop_pre_header_find,
15167 flow_loop_tree_node_add, flow_loops_tree_build,
15168 flow_loop_level_compute, flow_loops_level_compute,
15169 flow_loop_outside_edge_p): Add prototypes.
15170 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
15171
15172 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
15173 Mark with ATTRIBUTE_NORETURN.
15174
15175 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
15176
15177 * local-alloc.c (no_conflict_p): Likewise.
15178
15179 * loop.c (insert_bct): Hide definitions of variables with hidden
15180 usage.
15181 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
15182
15183 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
15184 with ATTRIBUTE_UNUSED.
15185 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
15186 (reg_scan): Likewise.
15187
15188 * reload.c (find_reloads): Remove unused variables `changed'.
15189
15190 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
15191 away const-ness.
15192 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
15193 Remove unused variable `insn'.
15194
15195 * toplev.c: Include loop.h.
15196 (report_file_and_line): Remove unnecessary prototype.
15197
15198 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
15199
15200 * unroll.c (biv_total_increment): Likewise.
15201
15202 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15203
15204 * reload1.c (emit_input_reload_insns): Restore old behaviour
15205 wrt. 'special' reloads.
15206
15207 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
15208
15209 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
15210 hash.h. (cse.c): Don't depend on hashtab.h.
15211
15212 * cse.c: Don't include hashtab.h.
15213 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
15214 of dead functions.
15215 * ggc-simple.c: Don't include hash.h.
15216
15217 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
15218
15219 * dwarf2out.c (add_abstract_origin_attribute): Call
15220 gen_abstract_function on our function context.
15221
15222 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
15223
15224 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
15225
15226 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15227
15228 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
15229 case in switch.
15230
15231 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15232
15233 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
15234 constraints to "a!r".
15235
15236 1999-12-21 Mark Mitchell <mark@codesourcery.com>
15237
15238 * Makefile.in (calls.o): Depend on function.h.
15239 (alias.o): Likewise.
15240
15241 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
15242
15243 * reload1.c (emit_reload_insns): Break out code and variables into...
15244 (input_reload_insns, other_input_address_reload_insns,
15245 other_input_reload_insns, input_address_reload_insns,
15246 inpaddr_address_reload_insns, output_reload_insns,
15247 output_address_reload_insns, outaddr_address_reload_insns,
15248 operand_reload_insns, other_operand_reload_insns,
15249 other_output_reload_insns): ... new static variables, and...
15250 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
15251 do_output_reload): ... new functions.
15252
15253 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15254
15255 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
15256
15257 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15258
15259 * md.texi: Add c4x constraints documentation.
15260
15261 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
15262
15263 * config/i386/dgux.c (struct option): Rename to
15264 lang_independent_option.
15265 (struct m_options): Add description field.
15266 (output_options): Rename option type, add sep declaration, output
15267 ix86_cpu_string and ix86_arch_string only if set.
15268 (output_file_start): Rename option type.
15269
15270 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
15271
15272 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
15273 stmp-int-hdrs.
15274 (libgcc2.a): Similarly.
15275
15276 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
15277
15278 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
15279 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
15280 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
15281
15282 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
15283
15284 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
15285 Remove redundant initialization of "frexpon" and "expon".
15286
15287 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15288
15289 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
15290
15291 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
15292 (store_constructor_field, expand_expr): Pass new arg.
15293
15294 1999-12-20 Mark Mitchell <mark@codesourcery.com>
15295
15296 * Makefile.in (explow.o): Depend on function.h.
15297
15298 * stor-layout.c (set_sizetype): Fix typo.
15299
15300 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
15301
15302 * function.c (cfun): Renamed from current_function. All users
15303 changed.
15304 * function.h (cfun): Rename declaration as well.
15305
15306 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
15307 to be of type regset_head, not regset. All users changed by adding
15308 address operator.
15309 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
15310
15311 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15312
15313 * config/c4x/rtems.h: New file.
15314
15315 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
15316
15317 * reload1.c (spill_failure): Take class of failed reload as argument
15318 and print it. Caller changed.
15319
15320 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15321
15322 * rs6000.h (SUBTARGET_DEFAULT): New macro.
15323 (TARGET_SWITCHES): Allow subtargets to default switches.
15324 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
15325
15326 1999-12-18 Mark Mitchell <mark@codesourcery.com>
15327
15328 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
15329 in a main program.
15330
15331 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
15332
15333 * cccp.c (main): Define __STDC_VERSION__ as necessary.
15334 * cppinit.c (cpp_handle_option): Likewise.
15335
15336 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
15337 determine when to define.
15338
15339 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
15340
15341 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
15342 cmove with mismatched test and data modes.
15343
15344 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
15345
15346 * c-typeck.c (c_expand_start_case): Don't warn for long switch
15347 in system headers.
15348
15349 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15350
15351 * alias.c: Minor reformatting.
15352 * flow.c: Likewise.
15353 * regs.h: Likewise.
15354 * stor-layout.c: Likewise.
15355 * fold-const.c: Likewise.
15356 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
15357 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
15358 not arg itself.
15359 (size_int_wide): Cache nodes even if garbage collecting.
15360 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
15361 of SAVE_EXPR has no side effects.
15362 * cse.c: Move a comment.
15363 * tree.c: Minor reformatting.
15364 (int_size_in_bytes): Return -1 if constant overflows.
15365
15366 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15367
15368 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
15369
15370 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
15371
15372 * objc/objc-parse.c: Regenerate. This file must be rebuilt
15373 after any change to c-parse.in, even if objc-parse.y didn't
15374 change. Oops.
15375
15376 1999-12-18 David S. Miller <davem@redhat.com>
15377
15378 * toplev.c (rest_of_compilation): Restore BLOCK tree
15379 reconstruction and branch shortening changes lost in
15380 December 18th change.
15381
15382 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
15383
15384 * config/arm/linux-elf.h: Change all instances of
15385 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
15386 * config/arm/uclinux-elf.h: Likewise.
15387
15388 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
15389
15390 * toplev.c (notice, vmessage, v_message_with_file_and_line,
15391 v_message_with_decl, file_and_line_for_asm,
15392 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
15393 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
15394 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
15395 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
15396 pfatal_with_name, fatal_io_error, need_error_newline,
15397 last_error_function, last_error_tick, announce_function,
15398 default_print_error_function, print_error_function,
15399 report_error_function, fnotice, error_with_file_and_line,
15400 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
15401 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
15402 warning_with_decl, warning_for_asm, warning, pedwarn,
15403 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
15404 diagnostic.c
15405 (compile_file): Use fnotice instead of notice. Adjust call.
15406
15407 * diagnostic.c: New file.
15408
15409 * Makefile.in (OBJS): Include diagnostic.o
15410 (diagnostic.o): Define dependence.
15411
15412 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15413
15414 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
15415 Tweak formatting.
15416
15417 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15418
15419 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
15420
15421 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
15422
15423 * fixtests.c (is_cxx_header): New fn, split out of
15424 double_slash_test.
15425 (else_endif_label): Allow "#endif // comment" in C++ headers,
15426 as determined by is_cxx_header.
15427 * fixfixes.c (else_endif_label_fix): Update comment.
15428 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
15429 a tty.
15430 * genfixes: Correct double thinko in commandline parsing.
15431 * hackshell.tpl: Generate correct sh syntax for bypass
15432 entries.
15433
15434 * inclhack.def (all): Whenever an inserted preprocessor
15435 conditional is split over multiple lines, use double
15436 backslashes in this file so the fixed header will be readable.
15437
15438 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
15439 and add bypass entry for correct version of this header.
15440 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
15441 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
15442
15443 (hpux8_bogus_inlines): New fix, split from...
15444 (ultrix_atof_param) ... here.
15445 (math_expression): Add bypass entry keyed to glibc comment
15446 indicating the problem has been dealt with; disable
15447 unnecessary sed operations; update commentary.
15448 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
15449 add select and bypass entries, simplify shell operation.
15450 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
15451
15452 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
15453 ultrix_atof_param): Add select entry.
15454 (stdio_va_list, sunos_mather_decl): Add bypass entry.
15455 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
15456 comments with the fixes they describe.
15457
15458 * c-parse.in (string action): Do not warn about ANSI string
15459 concatenation in system headers. Affects C parser only.
15460 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
15461
15462 1999-12-16 Jakub Jelinek <jakub@redhat.com>
15463
15464 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
15465 compiling libgcc2 the macro depends always on arch cpp defines.
15466
15467 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
15468
15469 * loop.c (insert_loop_mem): Don't record MEMs from inside
15470 EXPR_LISTs.
15471
15472 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
15473
15474 * regclass.c (regclass): Do not use flowgraph when not optimizing.
15475
15476 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
15477 notes too, create one when replacement failed, attempt to simplify
15478 resulting notes.
15479 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
15480 or REG_EQUIV notes.
15481
15482 1999-12-16 Mark Mitchell <mark@codesourcery.com>
15483
15484 * crtstuff.c (__dso_handle): Declare.
15485 (__cxa_finalize): Likewise.
15486 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
15487 non-NULL.
15488
15489 * invoke.texi: Document -fuse-cxa-atexit.
15490
15491 * tree.h (ptr_type_node): Document.
15492 (const_ptr_type_node): Likewise.
15493
15494 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15495
15496 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
15497 (optimize_reg_copy_2): Likewise.
15498 (optimize_reg_copy_3): Likewise.
15499 (fixup_match_2): Likewise.
15500 (regmove_optimize): Likewise.
15501 (fixup_match_1): Liekwise.
15502
15503 * i386.md (HI to SImode promoting splitters): Rewrite.
15504 (pushsf mem peep2): New.
15505 (testhi to andhi peep2): Remove.
15506 * i386.h (x86_promote_QImode): New.
15507 (TARGET_PROMOTE_QImode): New.
15508 (PREDICATE_CODES): Add promotable_binary_operator.
15509 * i386.c (x86_promote_QImode0: New.
15510 (promotable_binary_operator): New.
15511 * i386-protos.h (promotable_binary_operator): New.
15512
15513 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
15514 condition.
15515 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
15516
15517 1999-12-16 Mark Mitchell <mark@codesourcery.com>
15518
15519 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
15520 * function.c (insert_block_after_note): Remove.
15521 (retrofit_block): Likewise.
15522 (identify_blocks): Fix indentation.
15523 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
15524 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
15525 * function.h (insert_block_after_note): Remove prototype.
15526 (retrofit_block): Likewise.
15527 * integrate.c (expand_inline_function): Don't call
15528 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
15529 just expand_start_bindings. Use the block_map to remap old
15530 NOTE_BLOCKs to new ones.
15531 (integrate_decl_tree): Keep track of remapped blocks.
15532 * integrate.h (struct inline_remap): Add block_map.
15533 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
15534 NOTE_BLOCK on the notes.
15535 (expand_start_bindings): Rename to ...
15536 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
15537 (expand_end_bindings): Set NOTE_BLOCK.
15538 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
15539 reconstruct the BLOCK tree.
15540 * tree.h (expand_start_bindings): Macroize. Call ...
15541 (expand_start_bindings_and_block): New function.
15542
15543 1999-12-16 Jakub Jelinek <jakub@redhat.com>
15544
15545 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
15546 to match the format.
15547
15548 1999-12-16 David S. Miller <davem@redhat.com>
15549
15550 * expr.c (emit_move_insn_1): Only emit clobbers if one of
15551 the outputs is a SUBREG.
15552 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
15553 change.
15554
15555 * config/sparc/sparc.c (epilogue_renumber): Add default case
15556 to switch stmt.
15557
15558 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15559
15560 * toplev.c (rest_of_compilation): Run branch shortening after
15561 reg-stack.
15562
15563 * regclass.c (loop_depth): Remove
15564 (scan_one_insn): Do not handle LOOP_NOTE insns.
15565 (regclass): Go through basic blocks and set loop_cost
15566
15567 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
15568
15569 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
15570
15571 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15572
15573 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
15574 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
15575 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
15576
15577 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
15578
15579 * loop.c (insert_loop_mem): Ignore memory clobbers.
15580
15581 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
15582 to (OP A B).
15583
15584 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
15585
15586 * profile.c: Remove redundant #include "output.h".
15587
15588 * h8300.md (HImode preinc peephole): Fix typo.
15589
15590 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
15591
15592 * function.c (retrofit_block): Abort if we don't find a suitable insn.
15593 (insert_block_after_note): Abort if we don't have a previous block.
15594 Remove FN parameter.
15595 * function.h: Adjust.
15596
15597 1999-12-15 Mark Mitchell <mark@codesourcery.com>
15598
15599 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
15600 argument more than once.
15601
15602 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
15603
15604 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
15605
15606 1999-12-15 Jakub Jelinek <jakub@redhat.com>
15607
15608 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
15609
15610 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15611
15612 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
15613 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
15614 update stack_alignment_needed.
15615 (prepare_function_start): Initialize stack_alignment_needed
15616 * function.h (struct function): Add field stack_alignment_needed.
15617
15618 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15619
15620 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
15621 Handle live_throughout / dead_or_set instead of live_before /
15622 live_after.
15623 (save_call_clobbered_regs): Get register livenessinformation from
15624 chain->live_throughout.
15625 (add_stored_regs): New function.
15626 (insert_restore, insert_save): Add restored / saved registers to
15627 dead_or_set.
15628 * global.c (reg_dies): New parameter chain.
15629 (reg_becomes_live): Third parameter is regs_set now.
15630 Changed all callers.
15631 (reg_dies): New parameter chain. Changed all callers.
15632 (build_insn_chain): Set live_throughout instead of
15633 live_before / live_after.
15634 * reload.h (struct insn_chain): Replace members live_before /
15635 live_after with live_throughout / dead_or_set.
15636 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
15637 instead of live_before / live_after.
15638 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
15639 (order_regs_for_reload, find_reg, finish_spills): Likewise.
15640 (choose_reload_regs_init): Likewise.
15641 * stupid.c (current_chain, find_clobbered_regs): Delete.
15642 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
15643 instead of chain->live_before / chain->live_after.
15644 (mark_hard_ref): New function.
15645 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
15646
15647 1999-12-15 David S. Miller <davem@redhat.com>
15648
15649 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
15650
15651 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15652
15653 * flow.c (calculate_loop_depth): Make global, remove prototype,
15654 rewrite to use new loop infrastructure.
15655 (find_basic_block): Remove calculate_loop_depth call.
15656 * toplev.c (rest_of_compilation): Call find_basic_block.
15657 * output.h (calculate_loop_depth): Declare.
15658
15659 * flow.c (dump_flow_info): Dump loop_depth.
15660 (flow_loops_nodes_find): Increase loop_depth for basic block in the
15661 body.
15662 (flow_loops_find): Initialize the loop_depth for each basic block.
15663
15664 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
15665
15666 * tree.c (decl_function_context): Handle virtual functions.
15667
15668 * tlink.c (scan_linker_output): Don't look in demangled name when
15669 looking for linker output keywords.
15670
15671 * dwarfout.c (output_type): We can defer namespace-scope classes.
15672
15673 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
15674
15675 * regclass.c (record_reg_classes): Update comment for merging
15676 register class preferences in reg->reg copies. Tighten conditions
15677 for merging register class preferences in reg->reg copies.
15678
15679 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
15680
15681 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
15682
15683 1999-12-14 Geoff Keating <geoffk@cygnus.com>
15684
15685 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
15686 (INIT_SECTION_ASM_OP): Delete.
15687 (FINI_SECTION_ASM_OP): Delete.
15688 (STARTFILE_SPEC): Define to hold just crtbegin.o.
15689
15690 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
15691
15692 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
15693 the abstract origin wasn't emitted.
15694
15695 * dwarf2out.c (class_scope_p): New fn.
15696 (gen_subprogram_die): Use it.
15697 (gen_variable_die): Use it. Tweak logic.
15698 (gen_struct_or_union_type_die): Check context_die to determine
15699 if we're function-local.
15700 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
15701
15702 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
15703
15704 * loop.c (check_dbra_loop): Can't reverse a biv that has
15705 maybe_multiple set.
15706
15707 1999-12-14 Nick Clifton <nickc@cygnus.com>
15708
15709 * config/arm/arm.c: Add support for -mcpu=arm720 command line
15710 switch.
15711
15712 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15713
15714 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
15715 for givs made from biv increments.
15716
15717 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
15718
15719 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
15720 * alpha.c (override_options): Recognize -mcpu=ev67.
15721 * alpha.h (CPP_CPU_EV67_SPEC): New.
15722 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
15723 (EXTRA_SPECS): Update.
15724
15725 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
15726
15727 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
15728 appropriate for -lang-c89 and -std=*.
15729 * cppinit.c (cpp_handle_option): Likewise.
15730 (new_pending_define): New, split out from cpp_handle_option.
15731 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
15732 or enable trigraphs for -ansi/-std=*.
15733
15734 * ginclude/stdarg.h (__va_copy): New.
15735 (va_copy): Don't define for C89.
15736
15737 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
15738
15739 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
15740 for long long multiply-accumulate.
15741
15742 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15743
15744 * regclass.c (scan_one_insn): Set loop_cost to 1 when
15745 optimizing for size.
15746
15747 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
15748
15749 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
15750 if something changed. Back out that part of yesterday's changes.
15751
15752 * loop.c (loop_max_reg): New static variable.
15753 (loop_optimize): Initialize it. Eliminate one unnecessary call to
15754 max_reg_num.
15755 (scan_loop): Call reg_scan_update whenever we may have added new
15756 registers, and update loop_max_reg.
15757
15758 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15759
15760 * regclass.c (record_reg_classes): Do not do the copying preferrencing
15761 when source does not die.
15762
15763 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
15764
15765 1999-12-14 Jakub Jelinek <jakub@redhat.com>
15766
15767 * config/sparc/linux64.h (TARGET_LIVE_G0,
15768 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
15769 variants on Linux.
15770 * config/sparc/linux.h (TARGET_LIVE_G0,
15771 TARGET_BROKEN_SAVERESTORE): Likewise.
15772 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
15773 TARGET_BROKEN_SAVERESTORE): Likewise.
15774
15775 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
15776 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
15777 not %g2.
15778 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
15779 as sparc64 block profiling register.
15780 * config/sparc/sparc.c (sparc_override_options): Allow block
15781 profiling with -m32.
15782 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
15783 profiling register.
15784 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
15785 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
15786 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
15787
15788 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
15789 for sparc64.
15790 * config/sparc/sparc.h: Likewise.
15791 * config/sparc/xm-sysv4-64.h: Likewise.
15792 * config/float-sparc.h: Likewise.
15793 * glimits.h: Likewise.
15794 * longlong.h: Likewise.
15795
15796 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
15797 (ASM_IDENTIFY_GCC): Remove.
15798
15799 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
15800
15801 * combine.c (combine_simplify_rtx): Don't make shared rtl.
15802 (simplify_logical): Likewise.
15803
15804 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
15805
15806 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
15807 * cppfiles.c (INO_T_EQ): Likewise.
15808
15809 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
15810
15811 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
15812 * i386/mingw32.h (LIB_SPEC): Likewise.
15813 (STARTFILE_SPEC): Likewise.
15814 * i386/uwin.h (LIB_SPEC): Likewise.
15815 (STARTFILE_SPEC): Likewise.
15816
15817 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
15818 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
15819
15820 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
15821
15822 * combine.c (combine_simplify_rtx): Fix order of checks for
15823 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
15824
15825 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
15826
15827 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
15828 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
15829
15830 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
15831
15832 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
15833 defined.
15834 * regclass.c (inv_reg_alloc_order): New array.
15835 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
15836
15837 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
15838 counted_for_groups, counted_for_nongroups. Add fields rld and
15839 n_reloads.
15840 * reload.c (push_secondary_reload): Don't set nongroup field of
15841 new reloads.
15842 (push_reload): Likewise.
15843 (find_reloads): Delete code to compute nongroup fields.
15844 * reload1.c (reload_insn_firstobj): New static variable.
15845 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
15846 users changed.
15847 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
15848 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
15849 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
15850 functions.
15851 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
15852 functions.
15853 (struct hard_reg_n_uses): Deleted.
15854 (potential_reload_regs): Deleted.
15855 (init_reload): Initialize spilled_pseudos and pseudos_counted.
15856 (reload): Don't try to allocate reload registers if we already know
15857 we have to make another pass. Call select_reload_regs. Free memory
15858 starting with reload_firstobj when starting another pass.
15859 Don't allocate spilled_pseudos.
15860 (calculate_needs_all_insns): Call copy_reloads for an insn that
15861 needs reloads; don't call calculate_needs.
15862 (spill_cost): New static array.
15863 (used_spill_regs_local): New static variable.
15864 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
15865 to compute potential_reload_regs.
15866 (find_reload_regs): Completely rewritten to use find_reg.
15867 (allocate_reload_reg): Don't test counted_for_groups or
15868 counted_for_nongroups. Lose NOERROR arg and code to give an error;
15869 all cllers changed.
15870 (choose_reload_regs): Add fallback code that uses the existing
15871 register allocation from find_reload_regs.
15872
15873 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
15874
15875 * flow.c (create_edge_list): Cast xmalloc return value.
15876
15877 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
15878
15879 * doprnt.c: Remove incorrect comment closure.
15880
15881 * cse.c: Fix a few minor whitespace goofs.
15882
15883 1999-12-13 Don Bowman <don@pixstream.com>
15884
15885 * mips/vxworks.h: Fix problem with comment termination.
15886 (EXTRA_SECTIONS): Add in_sbss.
15887 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
15888
15889 1999-12-12 David S. Miller <davem@redhat.com>
15890
15891 * cse.c (struct cse_reg_info): Add hash_next member,
15892 reorder rest of struct for better packing on 64-bit
15893 hosts.
15894 (cse_reg_info_tree): Kill.
15895 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
15896 REGHASH_FN): New custom pow2 hash mechanism.
15897 (NBUCKETS): Kill.
15898 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
15899 use a pow2 hash table.
15900 (get_cse_reg_info): Rework to use new REGHASH.
15901 (new_basic_block): Likewise, use HASH_SIZE, and inline
15902 free_element call.
15903 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
15904 and inline free_element call.
15905 (lookup_as_function, insert, flush_hash_table, invalidate,
15906 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
15907 invalidate_for_call, use_related_value, find_comparison_args,
15908 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
15909 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
15910 get_element): Kill.
15911
15912 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
15913
15914 * cse.c (cse_basic_block): Free qty_table consistently.
15915
15916 1999-12-12 David S. Miller <davem@redhat.com>
15917 Jakub Jelinek <jakub@redhat.com>
15918
15919 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
15920 SUBREGs by hand, gen the appropriate hard reg directly.
15921 (movtf reg/mem split): Likewise and alter_subreg on destination
15922 if necessary.
15923 (movtf mem/reg split): Similarly.
15924 (movdf_cc_sp64): Rename from hidden pattern.
15925 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
15926 (movtf_cc_sp64, following split): New pattern and splitter.
15927 (movdf_cc_reg_sp64): Rename from hidden pattern.
15928 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
15929 TARGET_HARD_QUAD.
15930 (movtf_cc_reg_sp64, following split): New pattern and splitter.
15931
15932 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
15933
15934 * loop.c (load_mems): Don't hoist written floating point mem
15935 if -ffloat-store.
15936
15937 1999-12-12 Mark Mitchell <mark@codesourcery.com>
15938
15939 * except.h (struct eh_queue): Add `next' pointer.
15940 (struct eh_status): Make x_ehqueue a pointer.
15941 (push_ehqueue): Declare.
15942 (pop_ehqueue): Likewise.
15943 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
15944 pointer.
15945 (expand_fixup_region_end): Likewise.
15946 (expand_leftover_cleanups): Likewise.
15947 (push_ehqueue): Define.
15948 (pop_ehqueue): Likewise.
15949 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
15950 than doing it inline.
15951 (expand_start_all_catch): Adjust now that ehqueue is a
15952 pointer.
15953 (mark_eh_queue): Mark all level of the queue.
15954 (mark_eh_status): Adjust now that ehqueue is a
15955 pointer.
15956 (init_eh_for_function): Allocate ehqueue.
15957 (free_eh_status): Free it.
15958 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
15959 expansion for a fixup.
15960
15961 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15962
15963 * gthr-single.h (__gthread_active_p): Add prototype arguments.
15964
15965 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
15966 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
15967 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
15968 function_ptr, getpagesize, __enable_execute_stack,
15969 __enable_execute_stack, __clear_insn_cache,
15970 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
15971 _cleanup, _exit, __default_terminate, __terminate_func,
15972 __terminate, __empty, __throw, new_eh_context,
15973 eh_context_initialize, eh_context_static, eh_context_specific,
15974 get_eh_context, __get_eh_context, __get_eh_info,
15975 init_reg_size_table, eh_threads_initialize,
15976 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
15977 __unwinding_cleanup, throw_helper, __throw, __rethrow,
15978 __pure_virtual): Add prototype arguments.
15979 (__bb_exit_func): Cast a sizeof to long when comparing against one.
15980 Cast a signed value to unsigned long when comparing against one.
15981 (new_eh_context): Wrap in _GTHREADS macro.
15982 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
15983 declaration.
15984 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
15985 (throw_helper): Initialize variables `handler_p' and `pc_p'.
15986
15987 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15988
15989 * combine.c (record_promoted_value): Remove unused variable
15990 `links2'.
15991
15992 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
15993
15994 * global.c (record_conflicts): Likewise for `j'.
15995
15996 * genoutput.c (output_insn_data): Don't unnecessarily cast away
15997 const-ness.
15998
15999 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16000
16001 * i386-protos.h (output_387_binary_op, output_fix_trunc,
16002 output_fp_compare): Constify a char*.
16003
16004 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
16005 static prototypes.
16006 (override_options, ix86_comp_type_attributes, print_operand,
16007 output_387_binary_op, output_fix_trunc, output_fp_compare):
16008 Constify a char*.
16009 (ix86_sched_reorder): Mark parameter `clock_var' with
16010 ATTRIBUTE_UNUSED.
16011
16012 * i386.h (DEBUG_PRINT_REG): Constify a char*.
16013
16014 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
16015
16016 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
16017 operand, for use in the Java front-end.
16018
16019 1999-12-10 Ben Collins <bcollins@debian.org>
16020
16021 * configure.in: Fix typo for "-64" in 64bit as check.
16022 * configure: Rebuilt.
16023
16024 1999-12-10 Jakub Jelinek <jakub@redhat.com>
16025
16026 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
16027 appropriate.
16028
16029 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16030
16031 * c-parse.in (string): With -Wtraditional, warn if ANSI string
16032 concatenation is utilized.
16033
16034 * invoke.texi (-Wtraditional): Document it.
16035
16036 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16037
16038 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
16039 Cast a ptrdiff_t to long and pass it to printf with %ld.
16040
16041 1999-12-10 Geoff Keating <geoffk@cygnus.com>
16042
16043 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
16044 68881, we have no 68881 registers at all.
16045 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
16046 value in a 68881 register if it is available.
16047
16048 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
16049
16050 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
16051 for long long multiply-accumulate.
16052
16053 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
16054
16055 * loop.c (insert_loop_mem): Undo last change.
16056
16057 1999-12-10 David S. Miller <davem@redhat.com>
16058
16059 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
16060 New functions.
16061 * config/sparc/sparc-protos.h: Add them.
16062 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
16063 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
16064 constraints which use those helpers.
16065 (EXTRA_CONSTRAINT): Use this new macro.
16066 * md.texi: Update sparc target constraints documentation.
16067 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
16068 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
16069 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
16070 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
16071 (movsf high/lo_sum split): Rework for new patterns.
16072 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
16073
16074 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
16075
16076 * c-common.c (c_common_nodes_and_builtins):
16077 Create __builtin_ptrdiff_t and __builtin_size_t.
16078
16079 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
16080
16081 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
16082
16083 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16084
16085 * regclass.c (globalize_reg): Re-instate test that allows
16086 fixed registers to be declared as a variable even after functions
16087 are defined.
16088
16089 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
16090
16091 * i386.md (cpu attribute): Add "athlon".
16092 (athlon_decode): New attribute.
16093 (Athlon scheduling units definitions): New.
16094 (fcmp and shld patterns): Set athlon_decode to "vector".
16095 * i386.c (athlon_cost): New.
16096 (m_ATHLON): New.
16097 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
16098 x86_use_sahf): Set for Athlon.
16099 (x86_use_fiop): Unset for Athlon.
16100 (override_options): Define Athlon alignments and "athlon" name.
16101 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
16102 * i386.h (TARGET_ATHLON): New.
16103 (enum processor_type): Add PROCESSOR_ATHLON.
16104 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
16105 for CPU_DEFAULT==5
16106 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
16107
16108 1999-12-09 Andreas Jaeger <aj@suse.de>
16109
16110 * loop.c (record_biv): Declare parameter as int.
16111
16112 * config/i386/i386-protos.h: Declare long_memory_operand.
16113
16114 1999-12-09 Mark Mitchell <mark@codesourcery.com>
16115
16116 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
16117 EXPR_WITH_FILE_LOCATION.
16118
16119 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
16120
16121 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
16122 in expander.
16123
16124 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
16125
16126 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
16127 updating code.
16128
16129 1999-12-09 Jakub Jelinek <jakub@redhat.com>
16130
16131 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
16132 default on linux64 again.
16133 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
16134 models for multilibing.
16135 * genmultilib: Accept | as alternative separator within a set in
16136 MULTILIB_OPTIONS.
16137
16138 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
16139
16140 * calls.c (precompute_arguments): Make sure initial_value contains
16141 value pseudo which CSE expects.
16142 * cse.c (struct set): New entry orig_src.
16143 (cse_insn): Set it early on entry, use it for libcall EQUIV note
16144 replacement.
16145
16146 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
16147
16148 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
16149
16150 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
16151
16152 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
16153
16154 1999-12-08 Jakub Jelinek <jakub@redhat.com>
16155
16156 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
16157 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
16158
16159 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
16160 if TARGET_ARCH32.
16161
16162 * longlong.h: Merge in changes from glibc.
16163 Also don't clobber %g2 register in 32bit SPARC assembly, so that
16164 -mno-app-regs libgcc can be compiled.
16165 * libgcc2.c: Add defines so that the updated longlong.h
16166 can be used in libgcc2.a. Also, make sure on most architectures
16167 (at least on all which have optimized code in longlong.h defined
16168 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
16169
16170 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16171
16172 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
16173 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
16174 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
16175 is GNU ld.
16176 * configure: Rebuilt.
16177
16178 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
16179
16180 * alpha.c (secondary_reload_class): For !BWX, sub-simode
16181 outputs require a register.
16182
16183 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
16184
16185 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
16186 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
16187 functions like dptoul will be resolved.
16188 (libgcc2.a): Make sure that the object files from DPBIT are named
16189 differently (prefix `_dp') from those that would be coming from
16190 FPBIT.
16191
16192 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
16193
16194 * configure.in: When target is sparc* and tm_file contains 64,
16195 test for 64bit support in assembler. If not supported, remove
16196 sparc/t-sol2-64 from target-dependent Makefile fragments.
16197 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
16198 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
16199 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
16200 * acconfig.h (AS_SPARC64_FLAG): Added.
16201 * configure, config.in: Rebuilt.
16202 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
16203 support. Use AS_SPARC64_FLAG.
16204
16205 1999-12-07 Jakub Jelinek <jakub@redhat.com>
16206
16207 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
16208 suitable for holding OFmode values so that gcc works with complex
16209 quad long doubles.
16210 (hard_64bit_mode_classes): Likewise.
16211
16212 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
16213 so that it is actually matched.
16214 (sethi_di_medlow): Likewise.
16215
16216 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
16217 as legitimate constant if -mvis.
16218 * config/sparc/sparc.md (movtf): Likewise.
16219 (clear_sf): Use const_double_operand.
16220 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
16221
16222 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
16223 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
16224 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
16225 routines, _Qp_* cannot be handled like that now.
16226 (INIT_TARGET_OPTABS): Likewise.
16227 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
16228 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
16229 sparc_emit_float_lib_cmp if ARCH64 and soft float.
16230 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
16231 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
16232 divtf3, sqrttf3): New expanders.
16233 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
16234 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
16235 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
16236 non-_hq patterns.
16237
16238 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
16239 * configure: Rebuilt.
16240 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
16241 -mcpu is given and we're doing 64bit compiles.
16242
16243 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
16244
16245 * loop.h (struct induction): Add multi_insn_incr.
16246 * loop.c (basic_induction_var): New multi_insn_incr argument.
16247 Set it if we search back through previous insns for the biv.
16248 (record_biv): New multi_insn_incr argument; fill in struct induction.
16249 (strength_reduce): Discard an iv with multiple bivs, any of
16250 which require multiple insns to increment.
16251
16252 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
16253
16254 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
16255 documentation.
16256
16257 1999-12-06 David S. Miller <davem@redhat.com>
16258
16259 * combine.c (check_promoted_subreg): Do not conditionalize this upon
16260 PROMOTE_FUNCTION_RETURN.
16261
16262 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
16263
16264 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
16265 and handle REG_UNUSED note on insn.
16266
16267 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
16268 inner_mask instead of mask.
16269
16270 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
16271
16272 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
16273 zero if there was an error.
16274
16275 1999-12-06 Jakub Jelinek <jakub@redhat.com>
16276
16277 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
16278 output string.
16279
16280 * longlong.h: Fix clobbers in SPARC asm statements.
16281
16282 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
16283 valid sethi operations when TARGET_ARCH64.
16284
16285 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
16286 always use move_by_pieces to avoid infinite recursion.
16287 (restore_fixed_argument_area): Likewise.
16288
16289 * combine.c (check_promoted_subreg, record_promoted_value): New
16290 functions.
16291 (combine_instructions): Use them to retain nonzero and sign bit
16292 information after SUBREGs are eliminated by optimizations in
16293 this pass if PROMOTE_FUNCTION_RETURN.
16294
16295 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
16296 .register declaration. Don't use variables with __ prefixes.
16297
16298 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16299
16300 * fold-const.c (optimize_bit_field_compare): Only use one mode
16301 for both RHS and LHS in non-constant case.
16302
16303 1999-12-06 Nathan Sidwell <nathan@acm.org>
16304
16305 * frame.c (start_fde_sort): Only allocate erratic array, if
16306 linear one was allocated. Return allocated flag.
16307 (fde_insert): Only insert, if there's a valid array.
16308 (fde_end_sort): Split, sort and merge if linear and erratic
16309 arrays exist, else just sort linear one.
16310 (search_fdes): New function. Linear search through original fde
16311 structure.
16312 (frame_init): Permit multiple initializations. Cope with
16313 memory shortages.
16314 (find_fde): Fallback on linear search, if failed to sort array.
16315 (__deregister_frame_info): Only free sorted array, if we
16316 allocated it.
16317
16318 1999-12-06 Jakub Jelinek <jakub@redhat.com>
16319
16320 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
16321
16322 1999-12-05 Jakub Jelinek <jakub@redhat.com>
16323
16324 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
16325
16326 1999-12-05 Mark Mitchell <mark@codesourcery.com>
16327
16328 * tree.h (special_function_p): Declare.
16329 * calls.c (special_function_p): Make it global. Don't take `name'
16330 as a parameter. Fix typo in 1999-11-28 change.
16331 (expand_cal): Adjust.
16332
16333 1999-12-04 Mark Mitchell <mark@codesourcery.com>
16334
16335 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
16336 * tree.h (EXPR_WFL_FILENAME): Define in terms of
16337 EXPR_WFL_FILENAME_NODE.
16338 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
16339 the TREE_CHAIN.
16340 * print-tree.c (print_note): Print TREE_PRIVATE and
16341 TREE_PROTECTED.
16342
16343 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
16344 the original die cannot be found.
16345
16346 * varray.h (varray_head_tag): Add elements_used.
16347 (VARRAY_PUSH): New macro.
16348 (VARRAY_POP): Likewise.
16349 (VARRAY_TOP): Likewise.
16350 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
16351 types.
16352 * varray.c (varray_init): Initialize elements_used.
16353 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
16354 (INTEGRATE_H): New variable.
16355 (integrate.o): Depend on INTEGRATE_H.
16356 (unroll.o): Likewise.
16357
16358 * function.h (insert_block_after_note): Declare.
16359 * function.c (insert_block_after_note): Split out from ...
16360 (retrofit_block): ... here.
16361
16362 * stmt.c (expand_fixup): Fix typo in comment.
16363
16364 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
16365
16366 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
16367 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
16368 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
16369 (regmove_optimize, fixup_match_1): Likewise.
16370
16371 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16372
16373 * flow.c (flow_loops_dump): Add missing argument when calling
16374 flow_loop_nested_p.
16375
16376 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
16377 Greg McGary <gkm@gnu.org>
16378
16379 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
16380 (init_attributes): Add A_NO_LIMIT_STACK.
16381 (decl_attributes): Handle A_NO_LIMIT_STACK.
16382 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
16383 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
16384 Handle stack bounds checking.
16385 * flags.h (flag_stack_check): Use the word 'probe' rather than
16386 'check', because the flag doesn't actually cause any checking to
16387 be done.
16388 * function.c (expand_function_start): Set
16389 current_function_limit_stack.
16390 * function.h (struct function): Add limit_stack.
16391 (current_function_limit_stack): Define.
16392 * invoke.texi (Code Gen Options): Document new options.
16393 * rtl.h: Declare stack_limit_rtx.
16394 * toplev.c (stack_limit_rtx): New variable.
16395 (decode_f_option): Handle new options -fstack-limit-register=REG,
16396 -fstack-limit-symbol=IDENT, -fno-stack-limit.
16397 (main): Add stack_limit_rtx as GC root.
16398 * tree.h (DECL_NO_LIMIT_STACK): New macro.
16399 (struct tree_decl): New member no_limit_stack.
16400
16401 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
16402 stack_limit_rtx.
16403 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
16404 (conditional_trap+1): Get new mnemonic correct.
16405 (conditional_trap+2): New pattern for DImode traps.
16406
16407 * config/m68k/m68k.c (output_function_prologue): Handle
16408 stack_limit_rtx.
16409 * config/m68k/m68k.md (trap): New insn.
16410 (conditional_trap): New insn.
16411 * md.texi (Standard Names): Document `trap' and
16412 `conditional_trap'.
16413 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
16414 so a cc0 setter doesn't get emitted at some random place in the
16415 function.
16416
16417 * config/i960/i960.md (trap): New insn.
16418 (conditional_trap): New expander.
16419 (conditional_trap+1, conditional_trap+2): New insns for signed
16420 and unsigned cases.
16421 * config/i960/i960.c (i960_function_prologue): Use
16422 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
16423
16424 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
16425 Geoffrey Keating <geoffk@cygnus.com>
16426
16427 * flags.h (warn_padded, warn_packed): Add global var decls.
16428 * toplev.c (warn_padded, warn_packed): Add global var defns.
16429 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
16430 * stor-layout.c (layout_record): Add local variable `type'
16431 to hold often-used TREE_TYPE (field). Add local variable
16432 `unpacked_align' to hold alignment that would be in force
16433 if no `packed' attribute were present. Warn if `packed' attribute
16434 is unnecessary, or even harmful. Warn when gcc inserts padding
16435 to satisfy alignment requirements of members. Use NULL_TREE
16436 when checking whether var_size is set.
16437 * invoke.texi: Document new flags.
16438
16439 1999-12-03 Nathan Sidwell <nathan@acm.org>
16440
16441 * frame.c (fde_split): Reimplement to avoid variable sized array.
16442
16443 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16444
16445 * combine.c (try_combine): Before fixing up LOG_LINKS for the
16446 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
16447
16448 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
16449
16450 * invoke.texi: Document the mips option -mno-crt0
16451
16452 1999-12-02 Mike Karr <mkarr@mathworks.com>
16453
16454 * cccp.c (argdata): Added free_ptr member.
16455 (macroexpand): Initialize free_ptr of each argument. When an
16456 argument's buffers are freed, if the argument's free_ptr corresponds
16457 to a buffer on the input stack, then return the free_ptr to that stack
16458 frame, otherwise, free it.
16459 (macarg): If an argument begins and ends on the same input stack level,
16460 then transfer the free_ptr of that buffer to the argument in case
16461 the stack is popped during the processing of a subsequent argument.
16462
16463 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
16464
16465 * loop.c (note_reg_stored): New function.
16466 (struct note_reg_stored_arg): New structure.
16467 (try_copy_prop): Change to be more conservative; only replace within
16468 one extended basic block and stop replacing if a store to the
16469 replacement reg is seen.
16470
16471 1999-12-02 Nick Clifton <nickc@cygnus.com>
16472
16473 * config/fp-bit.c: Initialise all fields of the NAN
16474 constants.
16475
16476 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
16477 to HANDLE_PRAGMA.
16478
16479 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
16480
16481 * i386.md (extend?f?f2): Force the input into a register, not
16482 the output.
16483
16484 1999-12-01 Jakub Jelinek <jakub@redhat.com>
16485
16486 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
16487 regclass' sake.
16488 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
16489 alternative because setting up 64bit constant is usually costly,
16490 especially when reload is in progress or completed.
16491 (movdf_const_intreg_sp64): Likewise.
16492 (movdf_const_intreg split): Fix building up constants when
16493 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
16494
16495 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
16496
16497 * combine.c (if_then_else_cond): Use const_true_rtx instead of
16498 const1_rtx for return values in EQ/NE comparison against (const_int 0)
16499 case.
16500
16501 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
16502 (asm_file_start): Emit .am33 into assembly file when compiling for
16503 the AM33.
16504 (print_operand_address): Handle POST_INC addresses.
16505 (can_use_return_insn, initial_offset): Check AM33 registers too.
16506 (expand_prologue): Check & save AM33 registers too.
16507 (expand_epilogue): Similarly.
16508 (secondary_reload_class): Handle AM33 specific secondary reloads.
16509 (output_tst): Emit efficient code for the AM33 too.
16510 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
16511 (TARGET_SWITCHES): Add -mam33 switch.
16512 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
16513 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
16514 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
16515 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
16516 (enum reg_class, REG_CLASS_NAMES): Likewise.
16517 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
16518 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
16519 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
16520 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
16521 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
16522 (HAVE_POST_INCREMENT): Define.
16523 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
16524 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
16525 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
16526 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
16527 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
16528 (zero_extend to SI from QI/HI): Likewise.
16529 (sign_extend to SI from QI/HI): Likewise.
16530 (mulsidi3, umulsidi3): New patterns for the AM33.
16531 (tstsi with zero extension from QI/HI): Add AM33 variants.
16532 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
16533 (return_internal_regs, store_movm): Handle new AM33 registers.
16534 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
16535 (LIBGCC, INSTALL_LIBGCC): Likewise.
16536 * invoke.texi: Document new flags.
16537
16538 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
16539
16540 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
16541 (addsi3_carry): Likewise.
16542 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
16543 (sbbsi3_carry): Likewise.
16544 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
16545 (mulhi3): Likewise.
16546 (test?i_1): Ensure that only one operand is memory.
16547 (conditional move patterns): likewise.
16548 (shift and rotate patterns): Rewrite to expander, add
16549 "binary_operator_ok" to the condition.
16550
16551 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
16552 * i386.h (procesor_costs): Add movzbl_load field.
16553 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
16554 non-Q registers, accept DImode registers anywhere.
16555 (Q_CLASS_P): New.
16556 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
16557 * i386.c (*_cost): Set value for movxbl_load field.
16558
16559 * (addsi): New add to lea splitter.
16560 (ashlsi): Likewise.
16561 (lea to add/shift peep2): New.
16562
16563 1999-12-01 Mark Salter <msalter@cygnus.com>
16564
16565 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
16566 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
16567 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
16568
16569 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
16570
16571 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
16572 * i386.md (movsi_xor): New.
16573 (movsi_or): New.
16574 (movsi_1, movhi_1, movqi_1): Remove.
16575 (movsi_2): Rename to movsi_1.
16576 (movhi_2): Rename to movhi_1.
16577 (movqi_2): Rename to movqi_1.
16578 (movdi_1): Remove; remove splitter.
16579 (movdi_2): Rename to movdi_1.
16580 (divmodsi4 splitter): Do not emit clobbers for move patterns.
16581 (long move peep2): Do not create QI or HI mode mov0s
16582 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
16583
16584 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
16585 rewrite splitters.
16586
16587 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
16588 (abs?f2_if): Likewise.
16589
16590 1999-11-30 Alex Samuel <samuel@codesourcery.com>
16591
16592 * ggc.h (ggc_test_and_set_mark): New macro.
16593 (ggc_mark_rtx): Use ggc_test_and_set_mark.
16594 (ggc_mark_tree): Likewise.
16595 (ggc_mark_rtvec): Likewise.
16596 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
16597
16598 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
16599
16600 * dwarf2out.c (scope_die_for): Only handle types. Only search for
16601 containing types.
16602 (decl_scope_table): Just an array of trees now.
16603 (push_decl_scope): Simplify.
16604 (dwarf2out_init): Adjust.
16605 (local_scope_p): New fn.
16606 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
16607 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
16608 (gen_typedef_die): Likewise.
16609 (gen_lexical_block_die): Don't call push/pop_decl_scope.
16610 (gen_inlined_subroutine_die): Likewise.
16611 (gen_abstract_function): Set current_function_decl temporarily.
16612 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
16613 Handle block extern declarations. Don't call push/pop_decl_scope.
16614 (gen_decl_die): Fix logic for block externs.
16615
16616 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16617
16618 * calls.c (special_function_p): Remove `realloc' and add `strdup'
16619 to the list of functions which have attribute malloc by default.
16620
16621 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16622
16623 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
16624 integer constant does not match the traditional type, limit the
16625 warnings to cases where the base of the type is ten.
16626
16627 * invoke.texi (-Wtraditional): Document it.
16628
16629 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16630
16631 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
16632 * rs6000.md: Only access a CONST_INT with INTVAL
16633
16634 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
16635
16636 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
16637 (compute_nearerout): Likewise.
16638 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
16639 size_t to unsigned long for formatting.
16640
16641 1999-11-30 Jakub Jelinek <jakub@redhat.com>
16642
16643 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
16644 Allow the user to override call-used/fixed state of %g2-5
16645 registers from the command line (with the exception of %g4 for
16646 embedded model).
16647 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
16648 there is a higher chance of having a leaf function.
16649 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
16650 for ARCH64 which has %ccr register.
16651 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
16652 patterns.
16653 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
16654 insn accept into delay slot any insn which does not use %[ol]
16655 registers. Accept some LO_SUM and shift left by 1 for the normal
16656 restore case.
16657 (output_function_epilogue): Likewise.
16658 (epilogue_renumber): Added argument which inhibits any renumbering
16659 and just tests if the rtx does not use any %[ol] registers.
16660 (output_return): Reflect above change.
16661
16662 1999-11-30 Jakub Jelinek <jakub@redhat.com>
16663
16664 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
16665 aggregate passing for sizes <= 16 bytes.
16666
16667 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
16668
16669 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
16670 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
16671 * reload.c (find_dummy_reload): Likewise.
16672 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
16673 * reload1.c (reload_as_needed): Likewise.
16674 * stupid.c (stupid_find_reg): Likewise.
16675 * tm.texi (Obsolete Register Macros): Delete section.
16676 * gmicro.h: Remove all traces of the two macros.
16677 * i386.h: Likewise.
16678 * m88k.h: Likewise.
16679 * mips.h: Likewise.
16680
16681 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
16682
16683 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
16684 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
16685 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
16686 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
16687 units for the sparclite86x chip.
16688 (flush): Revert October 14th change; add SImode specifically.
16689 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
16690 * invoke.texi: Document it.
16691
16692 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
16693
16694 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
16695 psimode_truncation_operand.
16696
16697 * config/mn10200/mn10200.c (psimode_truncation_operand): New
16698 function. Return true if the operand is either a MEM valid
16699 for a PSImode address or not a MEM at all.
16700
16701 * config/mn10200/mn10200.md (truncsipsi2): Use
16702 psimode_truncation_operand.
16703
16704 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16705
16706 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
16707 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
16708 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
16709 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
16710 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
16711 (flow_loop_level_compute, low_loops_level_compute): Likewise.
16712 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
16713 * basic-block.h: Protect from multiple inclusion.
16714 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
16715 (struct loops, struct loop): Define structures.
16716 * sbitmap.c (sbitmap_a_subset_b_p): New function.
16717 * sbitmap.h: Protect from multiple inclusion.
16718 (sbitmap_a_subset_b_p): Add prototype.
16719 * Makefile.in (LOOP_H): New macro.
16720 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
16721
16722 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
16723
16724 * cppinit.c (CAT): The argument list of this macro may not contain
16725 spaces !
16726
16727 1999-11-29 David S. Miller <davem@redhat.com>
16728
16729 Move quantity tables and register equivalence chains into
16730 per-qty and per-register structure arrays respectively.
16731 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
16732 qty_const_insn, qty_comparison_code, qty_comparison_const,
16733 qty_comparison_qty): Delete, replace with...
16734 (qty_table): this structure table.
16735 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
16736 (reg_eqv_table): this structure table.
16737 (make_new_qty): Add argument MODE. Caller updated.
16738 Update to use qty_table and reg_eqv_table.
16739 (make_regs_eqv, delete_reg_equiv, insert_regs,
16740 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
16741 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
16742 cse_process_notes, cse_main, cse_basic_block): Likewise.
16743
16744 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16745
16746 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
16747 operation if C is negative.
16748 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
16749 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
16750 law for some divisions if constant is negative and change other
16751 divisions to the opposite rounding.
16752
16753 * expr.c (store_constructor_field): If bit position is not multiple
16754 of alignment of TARGET's mode, use BLKmode.
16755
16756 * expr.c (expand_expr_unaligned): Add more code from full case
16757 that is needed when OP0 is in a register.
16758
16759 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16760
16761 * dwarfout.c (field_byte_offset): Size can be zero if there was
16762 an error.
16763
16764 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
16765
16766 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
16767 (associate_trees): Delete unused var TEM.
16768 (extract_muldiv): Delete unused var CANCEL_P.
16769
16770 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
16771 (target_isinf, target_isnan, target_negative): Add return types to
16772 function definitions.
16773
16774 1999-11-29 Bruce Korb <autogen@linuxbox.com>
16775
16776 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
16777 * fixinc/hackshell.tpl: ditto
16778 * fixinc/fixtests.c(double_slash_test): more C++ header testing
16779 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
16780
16781 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
16782
16783 * reload.c (push_reload): When looking for a register to put into
16784 reg_rtx, make sure all hard regs in a multi-reg register are in the
16785 right class and nonfixed.
16786
16787 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
16788 pending_read_insns, pending_write_insns, pending_read_mems,
16789 pending_write_mems, pending_list_length, last_pending_memory_flush,
16790 last_function_call, sched_before_next_call): Move static variables
16791 into a structure.
16792 (bb_ prefixed versions): Replace with single array bb_deps.
16793 (struct deps): New structure.
16794 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
16795 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
16796 argument of type "struct deps *"; use that instead of global
16797 variables. All callers changed.
16798 (init_rgn_data_dependencies): Delete function.
16799 (init_rtx_vector): Delete function.
16800 (init_deps): New function.
16801
16802 (free_pending_lists): Simplify, we always use the bb_deps array even
16803 if only one basic block.
16804 (compute_block_backward_dependences): Likewise.
16805 (schedule_region): Likewise.
16806
16807 (propagate_deps): New function, broken out of
16808 compute_block_backward_dependences.
16809 (compute_block_backward_dependences): Use it.
16810
16811 * alpha.md: Delete useless patterns that tried to work around
16812 register elimination problems.
16813
16814 * unroll.c (loop_iterations): Don't abort if iteration variable
16815 was made by loop.
16816
16817 From Joern Rennecke:
16818 * reload1.c (reloads_conflict): Reverse test comparing operand
16819 numbers when testing for conflict between output/outaddr reloads.
16820
16821 1999-11-29 David S. Miller <davem@redhat.com>
16822
16823 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
16824 arg.
16825 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
16826
16827 1999-11-28 Robert Lipe <robertl@cygnus.com>
16828
16829 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
16830 table from .fini into .dtor.
16831
16832 1999-11-28 Anthony Green <green@cygnus.com>
16833
16834 * tree.h (struct tree_decl): Add malloc_flag.
16835 (DECL_IS_MALLOC): Define.
16836 * c-common.c (attrs): Add A_MALLOC attribute.
16837 (init_attributes): Add this attribute to the table.
16838 (decl_attributes): Handle malloc attribute.
16839 * calls.c (special_function_p): Check for the malloc attribute.
16840 * extend.texi (Function Attributes): Document malloc attribute.
16841
16842 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
16843
16844 * pa.md (reload shift-add patterns): Remove.
16845
16846 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16847
16848 * reorg.c (dbr_schedule) Print more statistics. Corrected
16849 problem when printing info when 3 delay slots are filled.
16850
16851 1999-11-28 Jakub Jelinek <jakub@redhat.com>
16852
16853 * combine.c (setup_incoming_promotions): Pass an outgoing
16854 regno to FUNCTION_ARG_REGNO_P which it expects.
16855
16856 1999-11-28 Andreas Jaeger <aj@suse.de>
16857
16858 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
16859
16860 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
16861
16862 * cccp.c (do_include): Avoid initialization of automatic variable.
16863
16864 * integrate.c (mark_stores): Function definition made void, to match
16865 previous declaration.
16866 * regclass.c (dump_regclass): Ditto.
16867 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
16868
16869 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16870
16871 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
16872 known to be multiple of divisor.
16873
16874 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
16875
16876 * combine.c (try_combine): Add code to try to merge a set of a
16877 two-word pseudo to a constant with a setting of one of those words
16878 to a constant.
16879
16880 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
16881 (split_tree): Completely rework to make more general.
16882 (make_range, fold): Call negate_expr.
16883 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
16884 (fold, associate): Call new split_tree and associate_trees.
16885 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
16886
16887 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
16888
16889 * loop.c (try_copy_prop): Avoid GNU C extension.
16890
16891 1999-11-25 Mark Mitchell <mark@codesourcery.com>
16892
16893 * except.c (init_eh_for_function): Still zero eh_return_context,
16894 eh_return_stack_adjust, and eh_return_handler.
16895
16896 * except.h (eh_status): Adjust documentation for x_protect_list.
16897 (begin_protect_partials): New function.
16898 * except.c (enqueue_eh_entry): Fix formatting.
16899 (get_first_handler): Add consistency check.
16900 (add_partial_entry): Adjust usage of protect_list.
16901 (emit_cleanup_handler): Save and restore ehqueue.
16902 (expand_start_all_catch): Add comment.
16903 (begin_protect_partials): New function.
16904 (end_protect_partials): Adjust usage of protect_list.
16905 (init_eh_for_function): Use xcalloc.
16906
16907 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16908
16909 * c-common.c (check_format_info): Don't call a variadic function
16910 with a non-literal format string.
16911
16912 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
16913
16914 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
16915 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
16916 Likewise.
16917
16918 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
16919 Likewise.
16920
16921 * collect2.c (collect_wait): Likewise.
16922
16923 * dbxout.c (dbxout_type): Likewise.
16924
16925 * gcc.c (do_spec_1): Likewise.
16926
16927 * genemit.c (gen_insn, gen_expand): Likewise.
16928
16929 * genrecog.c (write_switch, write_subroutine): Likewise.
16930
16931 * mips-tfile.c (catch_signal, botch): Likewise.
16932
16933 * print-rtl.c (print_rtx): Likewise.
16934
16935 * toplev.c (default_print_error_function, report_error_function,
16936 _fatal_insn): Likewise.
16937
16938 1999-11-25 Mark Mitchell <mark@codesourcery.com>
16939
16940 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
16941
16942 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
16943
16944 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
16945 operations when needed.
16946 * i386.md (fop_?f_comm): New.
16947 (fop_?f_1): Do not accept commutative operands.
16948
16949 1999-11-25 Andreas Jaeger <aj@suse.de>
16950
16951 * config/mips/mips.md (casesi_internal): Add missing brace.
16952
16953 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
16954
16955 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
16956 (splice_child_die): Handle moving a child DIE from the declaration
16957 DIE of a class to its specification.
16958 (gen_struct_or_union_type_die): Use 'complete' consistently.
16959 (gen_decl_die): Generate the virtual context DIE first.
16960 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
16961
16962 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
16963
16964 * config/mips/mips.md (call_value_multiple_interanal1): New.
16965
16966 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
16967
16968 * dwarf2out.c (free_AT, free_die): New fns.
16969 (remove_children): Call them.
16970 (output_line_info): Disable removal of duplicate notes.
16971
16972 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
16973 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
16974 means pretend the type isn't defined.
16975 Don't defer emitting types.
16976 (gen_type_die_for_member): New fn.
16977 (gen_decl_die): Call it.
16978 (splice_child_die): New fn.
16979 (gen_member_die): Call it rather than generate duplicate dies.
16980
16981 Defer emitting information for the abstract instance of an inline
16982 until we either inline it or emit an out-of-line copy.
16983 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
16984 from output_inline_function if DECL_ABSTRACT is also set.
16985 (block_ultimate_origin): Likewise.
16986 (gen_abstract_function): New fn.
16987 (gen_decl_die, gen_inlined_subroutine_die): Call it.
16988 (gen_subprogram_die): An abstract instance is not a declaration
16989 just because it doesn't match current_function_decl. Don't abort
16990 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
16991 has an abstract origin.
16992 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
16993 abstract instance here.
16994
16995 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
16996
16997 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
16998 where we need to reload fpul from a system register.
16999
17000 1999-11-24 Andreas Jaeger <aj@suse.de>
17001
17002 * config/mips/linux.h (CPP_PREDEFINES): Added.
17003 (LINK_SPEC): Remove -Y since this is only needed on sparc.
17004
17005 1999-11-24 Andreas Jaeger <aj@suse.de>
17006
17007 * config/mips/linux.h (TARGET_VERSION): Added.
17008 (HANDLE_SYSV_PRAGMA): Added.
17009 (DEFAULT_VTABLE_THUNKS): Added.
17010
17011 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
17012
17013 * local-alloc.c (qty): New structure and static variable.
17014 (qty_phys_reg): Remove, all references changed to qty.
17015 (qty_n_refs): Likewise.
17016 (qty_min_class): Likewise.
17017 (qty_birth): Likewise.
17018 (qty_death): Likewise.
17019 (qty_size): Likewise.
17020 (qty_mode): Likewise.
17021 (qty_n_calls_crossed): Likewise.
17022 (qty_alternate_class): Likewise.
17023 (qty_changes_size): Likewise.
17024 (qty_first_reg): Likewise.
17025 (alloc_qty): Rename variable QTY to QTYNO.
17026 (finf_free_reg): Likewise.
17027 (local_alloc): Allocate qty, do not allocate the removed variables.
17028
17029 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
17030
17031 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
17032 when -membedded-pic is passed.
17033
17034 * config/mips/mips.md (casesi): Handle 64-bit case too.
17035 (casesi_internal_di): New insn.
17036
17037 * config/mips/mips.c (embedded_pic_offset): Always make the
17038 embedded-pic subtractions relative to the name of the current
17039 function by use of the magic string "..CURRENT_FUNCTION".
17040 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
17041
17042 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
17043
17044 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
17045 of (const_int 0), when what we really care about is
17046 whether it's a zero constant anyway.
17047 (div_trap_mips16): Likewise.
17048
17049 1999-11-23 Mark Mitchell <mark@codesourcery.com>
17050
17051 * loop.c (loop_optimize): Always find_loop_tree_blocks and
17052 unroll_block_trees when generating debuggable code.
17053
17054 * tree.h (unsave_expr_1): New function.
17055 (lang_unsave): New variable.
17056 (get_callee_fndecl): New function.
17057 * tree.c (unsave_expr_now_r): New function.
17058 (lang_unsave): Define.
17059 (unsave_expr_1): Likewise.
17060 (unsave_expr_now_r): Split out from unsave_expr_now.
17061 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
17062 call unsave_expr_now_r.
17063 (get_callee_fndecl): Define.
17064
17065 * Makefile.in (gencheck): Don't depend on lang_tree_files.
17066 (gencheck.o): Do depend on lang_tree_files.
17067
17068 * integrate.h (copy_decl_for_inlining): New declaration.
17069 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
17070 (copy_decl_for_inlining): New function.
17071 (integrate_parm_decls): Use it.
17072 (integrate_decl_tree): Likewise.
17073
17074 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
17075
17076 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
17077 the second two from the first.
17078 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
17079 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
17080 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
17081 ISA_HAS_FP4.
17082 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
17083 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
17084 ISA_HAS_FP4.
17085
17086 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
17087
17088 * pa.md (call_internal_symref, call_value_internal_symref): No mode
17089 needed on the address operand.
17090 * pa.c (call_operand_address): Check for the correct mode.
17091
17092 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
17093
17094 * loop.c: Include "basic-block.h".
17095 (try_copy_prop, replace_loop_reg): New functions.
17096 (load_mems): Detect registers that just hold copies of the hoisted
17097 mem, and call try_copy_prop to eliminate them.
17098 * Makefile.in (loop.o): Update dependencies.
17099
17100 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
17101
17102 * Makefile.in (gencheck.o): Depend on gencheck.h.
17103 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
17104 (insn-peep.o): Depend on except.h and function.h.
17105 (insn-attrtab.o): Depend on RECOG_H.
17106 (insn-output.o): Depend on toplev.h and flags.h.
17107 (gengenrtl.o): Depend on real.h.
17108 (gen-protos.o): Depend on cpplib.h and cpphash.h.
17109 Unify all dependencies to be on RECOG_H rather than recog.h.
17110
17111 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
17112
17113 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
17114 * configure.in: Try building a bi-arch 32/64-bit compiler on
17115 sparc-*-solaris2.7 and higher.
17116 * configure: Rebuild.
17117
17118 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
17119
17120 * config/freebsd.h: New, FreeBSD architecture independent file.
17121 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
17122 independent pieces.
17123 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
17124 directly by i386/freebsd.h.
17125 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
17126 independent configuration file.
17127 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
17128 directly by i386/freebsd.h.
17129 * configure: Rebuilt.
17130
17131 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
17132 which is in the user's namespace.
17133 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
17134 `i386' which is not in our namespace.
17135
17136 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
17137
17138 * invoke.texi (ARM Options): Add in -mno-alignment-traps
17139
17140 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
17141
17142 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
17143 (add_dwarf_attr, add_child_die): Just push onto the front.
17144 (reverse_die_lists): New fn.
17145 (add_sibling_attributes): Use it.
17146 (push_decl_scope): Reorganize.
17147 (add_name_and_src_coords_attributes): Don't set file and line for
17148 an artificial decl.
17149 (gen_subprogram_die): An artificial function doesn't need to match
17150 file and line.
17151 (gen_compile_unit_die): Return the generated die. Only add
17152 AT_comp_dir if the filename is relative.
17153 (remove_AT): Simplify loop. Also free string values.
17154 (output_die): A DIE ref can't be null.
17155 (output_value_format, value_format): Take a dw_attr_ref.
17156 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
17157 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
17158 AT_addr, AT_lbl): New fns.
17159 (various): Use them.
17160 (various): Constify.
17161
17162 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17163
17164 * combine.c (combine_simplify_rtx): When handling a SUBREG,
17165 take SUBREG_WORD into account.
17166 (if_then_else_cond): Likewise.
17167
17168 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
17169
17170 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
17171 clause from BSD license, pursuant with
17172
17173 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
17174
17175 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
17176
17177 * loop.c (load_mems): Reformat slightly.
17178 * basic-block.h (regset_head): New typedef.
17179 (INIT_REG_SET): New macro.
17180
17181 1999-11-22 Bruce Korb <autogen@linuxbox.com
17182
17183 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
17184 (mips-dec-bsd*): non-functional code
17185 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
17186
17187 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
17188 added three replacement fixes
17189 (no_double_slash): removed comments that are not (any longer) pertinent
17190 (bad_lval): this fix currently runs against many files.
17191 The comment seems to indicate that we should select for files
17192 containing 'pragma extern_prefix'.
17193
17194 * fixinc/fixinc.x86-linux-gnu: deleted
17195 * fixinc/inclhack.sh: regen
17196 * fixinc/fixincl.x: regen
17197 * fixinc/fixincl.sh: regen
17198
17199 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
17200
17201 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
17202 its code is INSN and it has no notes.
17203
17204 1999-11-22 Andrew Haley <aph@cygnus.com>
17205
17206 * varasm.c (function_defined): Remove.
17207 (make_function_rtl): Don't set function_defined.
17208 (make_decl_rtl): Remove global register warning.
17209 * regclass.c (no_global_reg_vars): New variable.
17210 (globalize_reg): Warn if function has already been defined.
17211 (regclass_init): Set no_global_reg_vars.
17212
17213 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
17214
17215 * regclass.c (reg_pref): New structure and static variable
17216 (prefclass): Delete.
17217 (altclass): Delete.
17218 (all uses of prefclass and altclass): Use reg_pref instead.
17219
17220 1999-11-21 Nick Clifton <nickc@cygnus.com>
17221
17222 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
17223 -malignment-traps.
17224 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
17225 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
17226 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
17227
17228 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
17229
17230 * varasm.c (output_constructor): Solve problem with long long
17231 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
17232
17233 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
17234
17235 * global.c (allocno): New structure and static variable.
17236 (allocno_reg): Remove, all references replaced by allocno.
17237 (allocno_size): Likewise.
17238 (hard_reg_conflicts): Likewise.
17239 (hard_reg_preferences): Likewise.
17240 (hard_reg_copy_preferences): Likewise.
17241 (hard_reg_full_preferences): Likewise.
17242 (regs_someone_prefers): Likewise.
17243 (allocno_calls_crossed): Likewise.
17244 (allocno_n_refs): Likewise.
17245 (allocno_live_length): Likewise.
17246 (find_reg): Rename ALLOCNO to NUM.
17247
17248 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
17249 references updated.
17250 (may_move_out_cost): New variable.
17251 (init_reg_sets_1): Initialize may_move_out_cost.
17252 (record_reg_classes): Use may_move_out_cost.
17253
17254 * regclass.c (dump_regclass): New function.
17255 (regclass): New parameter DUMP, call DUMP_REGCLASS.
17256 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
17257 pass rtl_dump_file to regclass.
17258 * rtl.h (regclass): Update prototype.
17259
17260 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
17261
17262 * i386.md (neg, not and abs patterns): Revmap to use
17263 ix86_expand_unary_operator and ix86_unary_operator_ok.
17264 (add?f and sub?f expanders): Force operand 1 to register.
17265 * i386.c (ix86_expand_unary_operator): Rewrite.
17266 (ix86_unary_operator_ok): Ensure that memory operands
17267 match real opcode.
17268 (ix86_binary_operator_ok): Do not allow operand 1 to
17269 come into memory and operand 0 not.
17270 (ix86_expand_binary_operator): Ensure that
17271 src1 is not non-matching memory.
17272
17273 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
17274 to support integer registers and memory.
17275 (abss?2_integer): Likewise.
17276
17277 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
17278 (REG_CLASS_NAMES): Likewise.
17279 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
17280 and GENERAL_REGS.
17281 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
17282 (movsf): Likewise; unify 4th and 5th alternative.
17283 (pushdf): Likewise.
17284 (movdf_1): Likewise; rename to movdf_integer.
17285 (pushxf): Likewise; rename to pushxf_integer; fix output template;
17286 remove redundant splitter.
17287 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
17288 (movdf_nointeger): New.
17289 (movxf_nointeger): New.
17290 (pushxf_nointeger): New.
17291
17292 * i386.md (extend?f?f): Split to expander and pattern, refuse two
17293 memory operands in patterns.
17294 (fop*): Refuse two memory operands.
17295
17296 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
17297 on !TARGET_USE_CLTD CPUs.
17298
17299 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
17300
17301 * extend.texi: Document C++ restricted pointers and references.
17302
17303 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
17304
17305 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
17306 (invalidate_skipped_set): Call it unconditionally.
17307 (cse_set_around_loop): Likewise.
17308
17309 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
17310
17311 * rtl.texi (mem): Add documentation for alias-set argument
17312 to RTX `mem'.
17313
17314 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
17315
17316 * i386.h (struct_processor_costs): New fields int_load, int_store,
17317 fp_move, fp_load and fp_store
17318 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
17319 fp->int moves
17320 (MEMORY_MOVE_COST): New macro.
17321 * i386.c (386_cost): Define new fields.
17322 (i486_cost): Likewise.
17323 (pentium_cost): Likewise.
17324 (pentiumpro_cost): Likewise.
17325 (k6_cost): Likewise.
17326
17327 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
17328 Geoffrey Keating <geoffk@cygnus.com>
17329
17330 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
17331
17332 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
17333 MASK_ALIGN_INT.
17334
17335 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
17336 (TARGET_STRICT_ALIGNMENT): New macro.
17337 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
17338 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
17339 * invoke.texi (M680x0 Options): Document -mstrict-align.
17340
17341 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
17342 Richard Henderson <rth@cygnus.com>
17343
17344 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
17345 (ix86_split_long_move): Declare.
17346 * i386.c (split_xf, ix86_split_movdi): Remove.
17347 (ix86_split_to_parts, ix86_split_long_move): New.
17348 * i386.md (dimode move splitters): Use ix86_split_long_move.
17349 (dfmode move splitters): Likewise.
17350 (xfmode move splitters): Likewise.
17351 (movsf_1): Allow F->r.
17352 (movdf_1, movxf_1): Allow F->ro.
17353
17354 1999-11-17 Mark Mitchell <mark@codesourcery.com>
17355
17356 * except.h (struct eh_entry): Add goto_entry_p.
17357 (eh_region_from_symbol): Remove prototype.
17358 * except.c (find_func_region_from_symbol): New function.
17359 (emit_cleanup_handler): Likewise.
17360 (eh_region_from_symbol): Make it static.
17361 (add_new_handler): Verify the argument.
17362 (find_func_region): Update comment.
17363 (expand_eh_region_end): Expand handlers here, rater than waiting
17364 until expand_leftover_cleanups or start_all_catch.
17365 (expand_leftover_cleanups): Don't expand here.
17366 (expand_start_all_catch): Or here.
17367 (expand_rethrow): Check the return value from find_func_region.
17368 * function.c (expand_function_end): Emit the catch_clauses.
17369
17370 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
17371
17372 * integrate.c (expand_inline_function): Add necessary check for NULL.
17373
17374 1999-11-18 Nick Clifton <nickc@cygnus.com>
17375
17376 * toplev.c (main): Correctly detect an unrecognised option.
17377
17378 * cppinit.c (cpp_handle_option): Do not claim to have consumed
17379 a -f option if it has not been recognised.
17380
17381 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
17382
17383 * basic-block.h (update_life_extent): Remove trailing comma on
17384 enumeration type list.
17385
17386 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
17387
17388 * varasm.c (output_constructor) Solved problem with long long
17389 bitfields. Corrected calculating this_time and shift. Also
17390 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
17391
17392 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
17393
17394 * flow.c (split_edge): Take looping structure into account when
17395 determining where to put the new block note.
17396
17397 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
17398
17399 * Makefile.in (ggc-none.o): Provide host specific version if
17400 needed.
17401
17402 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
17403
17404 * cse.c (delete_trivially_dead_insns): Identify no-op insns
17405 containing subregs too.
17406
17407 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
17408
17409 * invoke.texi: Add documentation for -muninit-const-in-rodata.
17410 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
17411 (TARGET_UNINIT_CONST_IN_RODATA): Define.
17412 (text_section): Add switches -munint-const-in-rodata and
17413 -mno-uninit-const-in-rodata.
17414 (ASM_OUTPUT_COMMON): Remove.
17415 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
17416 const objects should be placed in read-only data. Otherwise declare
17417 them in common.
17418
17419 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
17420
17421 * jump.c (jump_optimize_1): Revert last change.
17422
17423 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
17424
17425 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
17426 test if optimizing for size.
17427
17428 1999-11-17 Mark Mitchell <mark@codesourcery.com>
17429
17430 * Makefile.in (toplev.o): Depend on except.h.
17431 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
17432
17433 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
17434
17435 * i386.md (divmodsi4): Rewrite to expander.
17436 (*divmodsi4_nocltd): New.
17437 (*divmodsi4_cltd): New.
17438 (divmodsi4 splitter): Handle the case when input comes in edx.
17439 (udivmodhi4): Do not use constraints in exander.
17440 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
17441
17442 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
17443
17444 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
17445 for the common case.
17446
17447 1999-11-16 Jakub Jelinek <jakub@redhat.com>
17448
17449 * explow.c (hard_function_value): Add outgoing argument.
17450 * expr.h (hard_function_value): Declare it.
17451 * calls.c (expand_call, emit_library_call_value): Update callers.
17452 * function.c (aggregate_value_p): Ditto.
17453 (diddle_return_value): Must look at the outgoing registers
17454 on archs with register windows.
17455
17456 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
17457
17458 * alpha.c (alpha_build_va_list): Use make_lang_type and
17459 initialize TYPE_NAME for the va_list record.
17460
17461 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
17462
17463 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
17464 for printing.
17465 * ggc.h (struct ggc_statistics): Rearrange elements for better
17466 packing on 64-bit hosts.
17467 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
17468 (compute_nearerout): Likewise.
17469
17470 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
17471
17472 * config/rs6000/rs6000.c (first_reg_to_save): Save
17473 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
17474
17475 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
17476
17477 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
17478 notion of nesting to find the DIE for a type or function.
17479 DIEs can go in limbo even if we got a context_die.
17480 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
17481 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
17482 for local type.
17483 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
17484 (gen_type_die): Writing out the context doesn't cause member class
17485 template instantiations to be written out as well.
17486
17487 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
17488
17489 * rs6000.h (ASM_OUTPUT_DEF): New.
17490 Based on proposed addition from David Edelsohn.
17491
17492 1999-11-15 Robert Lipe <RobertLipe@usa.net>
17493 Bruce Korb <autogen@linuxbox.com>
17494
17495 * fixinc/inclhack.def
17496 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
17497 (unixware7_byteorder_fix): added. Removes conflicts for new defs
17498 in net/inet.h.
17499 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
17500 (svr4_endian): enabled with SVR5
17501 (svr4_mkdev): simplified syntax and enabled with SVR5
17502
17503 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
17504
17505 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
17506 * configure: Rebuilt.
17507 * config/t-freebsd-thread: New file.
17508
17509 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
17510
17511 * i386.c (ix86_decompose_address): Verify the base is a REG
17512 before trying to examine its register number.
17513
17514 * basic-block.h: Remove all #defines and prototypes related to
17515 integer lists.
17516 (free_bb_mem, compute_preds_succs): Remove prototype.
17517 * rtl.h (free_bb_mem): Remove prototype.
17518 * flow.c (alloc_int_list_node); Remove function.
17519 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
17520 (compute_preds_succs, free_bb_mem): Likewise.
17521 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
17522 * toplev.c (rest_of_compilation): Likewise.
17523 * haifa-sched.c (build_control_flow): Use flow generated edge
17524 list to build the haifa specific edge list.
17525 (find_rgns): Use new CFG data structures instead of pred/succ lists.
17526 (schedule_insns): Do not build pred/succ lists anymore. Instead
17527 build the edge table.
17528
17529 * basic-block.h (dump_bb_data): Remove declaration.
17530 * flow.c (dump_bb_data): Remove function.
17531 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
17532 (sbitmap_union_of_predsucc): Likewise.
17533
17534 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
17535 argument. All callers changed.
17536 (delete_null_pointer_checks_1): No longer need to compute the
17537 pred/succ lists.
17538
17539 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
17540 All callers changed.
17541 (pre_expr_reaches_here_p_work): Likewise.
17542 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
17543 * lcm.c (compute_laterin): Fix initialization of LATER.
17544 (compute_nearerout): Similarly for NEARER.
17545
17546 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17547
17548 * cse.c (set_nonvarying_address_components): Delete unused function.
17549 (refers_to_p): Likewise.
17550
17551 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
17552
17553 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
17554 needed.
17555
17556 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17557
17558 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
17559 definition in do while (0).
17560
17561 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
17562
17563 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
17564
17565 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
17566
17567 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
17568
17569 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
17570
17571 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
17572 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
17573 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
17574 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
17575
17576 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
17577 saved on the stack. Output more accurate stack frame statistics
17578 into assembler file.
17579
17580 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
17581
17582 * genextract.c (record_insn_name): New function.
17583 (get_insn_name): No longer a stub.
17584 (main): Call record_insn_name for each insn. After each label
17585 written, print the insn name in a comment.
17586
17587 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17588
17589 * output.h (const_section, init_section, fini_section): Add
17590 prototypes.
17591
17592 * alpha/elf.h (const_section): Delete declaration.
17593
17594 * svr4.h (const_section): Likewise.
17595
17596 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
17597
17598 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
17599 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
17600 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
17601 expressions.
17602 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
17603 variable-sized array bounds.
17604
17605 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
17606
17607 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
17608 ASM_OUTPUT_LABEL.
17609
17610 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17611
17612 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
17613 addresses the same way GO_IF_LEGITIMATE_INDEX does.
17614
17615 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17616
17617 * cse.c (hash_arg_in_struct): Delete.
17618 (struct table_elt): Delete elt in_struct.
17619 (struct set): Delete elt src_in_struct.
17620 (merge_equiv_classes): Don't set either hash_arg_in_struct or
17621 the corresponding in_struct elts.
17622 (canon_hash): Likewise.
17623 (safe_hash): Likewise.
17624 (find_best_addr): Likewise.
17625 (record_jump_cond): Likewise.
17626 (cse_insn): Likewise.
17627
17628 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
17629
17630 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
17631
17632 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
17633 unsigned types.
17634
17635 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
17636
17637 * function.c (diddle_return_value): Put back check that the DECL_RTL
17638 for the function is a register.
17639
17640 * function.c (diddle_return_value): Use hard_function_value to
17641 get an rtx suitable for use in the USE/CLOBBER insn.
17642
17643 * global.c (global_conflicts): Update comments.
17644 (record_conflicts): No need to record conflicts between pseudos here.
17645
17646 1999-11-11 Bruce Korb <autogen@linuxbox.com>
17647
17648 * fixinc/fixincl.c: Added verbose levels for status messages
17649
17650 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17651
17652 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
17653 operand as argument to expand_and or expand_binop.
17654
17655 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
17656
17657 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
17658 gcc_add_string_root.
17659
17660 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
17661
17662 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
17663
17664 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
17665
17666 * flow.c (compute_flow_dominators): Initially put all blocks on
17667 the worklist.
17668 * lcm.c (compute_antinout_edge, compute_available): Similarly.
17669 * gcse.c (compute_cprop_avinout): Remove.
17670 (compute_cprop_data): Use compute_available.
17671 (delete_null_pointer_checks_1): Use compute_available.
17672
17673 * basic-block.h (compute_available): Returns a void now.
17674 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
17675 to return a value anymore.
17676 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
17677 worklists. Fix boundary cases. Compute maximal solutions.
17678 (compute_laterin, compute_nearerout): Similarly.
17679
17680 * dwarf2out.c (add_AT_location_description): Allow
17681 (mem (plus (pseudo) (...)) too.
17682
17683 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
17684
17685 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
17686
17687 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
17688 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17689
17690 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
17691
17692 * gansidecl.h: Likewise.
17693
17694 * rtl.c: Likewise.
17695
17696 * rtl.h: Likewise.
17697
17698 * toplev.h: Likewise.
17699
17700 * tree.c: Likewise.
17701
17702 * tree.h: Likewise.
17703
17704 * varray.c: Likewise.
17705
17706 * varray.h: Likewise.
17707
17708 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
17709
17710 * gcov.c (struct arcdata): Add hits and total, remove prob.
17711 (output_branch_counts): New.
17712 (process_args): Set output_branch_counts if -c.
17713 (calculate_branch_probs): Store hits and total instead of
17714 percentage.
17715 (output_data): Emit counts if output_branch_counts is true.
17716 * gcov.texi (Invoking Gcov): Document -c switch..
17717
17718 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
17719
17720 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
17721 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
17722
17723 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
17724
17725 * invoke.texi (C Dialect Options): Add missing builtins from
17726 c-common.c to list.
17727 * extend.texi (Other Builtins): Copy to this list.
17728
17729 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17730
17731 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
17732 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
17733 redundant bitmap.h.
17734
17735 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
17736
17737 * flow.c (compute_flow_dominators): No longer treat basic block 0
17738 or (n_basic_blocks - 1) specially. Clear the AUX field before
17739 starting computation of doms/pdoms. Fix initial state for pdoms.
17740
17741 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17742
17743 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
17744 match rtl.o's: added ggc.h and toplev.h
17745 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
17746 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
17747 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
17748
17749 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
17750
17751 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
17752 from HAVE_DOS_BASED_FILESYSTEM.
17753 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
17754 HAVE_DOS_BASED_FILESYSTEM.
17755 (main): Likewise.
17756 (split_directories): Only special-case DOS file names if
17757 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
17758 instead of explicit tests. Conditionalize on !VMS.
17759 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
17760 tests. Conditionalize on !VMS.
17761 (process_command): Only use make_relative_prefix if !VMS.
17762 (free_split_directories): Conditionalize on !VMS.
17763 (DIR_UP): Conditionalize on !VMS.
17764
17765 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
17766
17767 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
17768
17769 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
17770
17771 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
17772 case.
17773
17774 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
17775
17776 * invoke.texi (Environment Variables): Document relative path
17777 lookup.
17778 * gcc.c (DIR_UP): If not defined, define as "..".
17779 (standard_bindir_prefix): New static, holds target location to
17780 install binaries.
17781 (split_directories): New function to split a filename into
17782 component directories.
17783 (free_split_directories): New function, release memory allocated
17784 by split_directories.
17785 (make_relative_prefix): New function, make a relative pathname if
17786 the compiler is not in the expected location.
17787 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
17788 can figure out an appropriate prefix from argv[0].
17789 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
17790 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
17791 STANDARD_BINDIR_PREFIX.
17792
17793 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17794
17795 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
17796 in c4x.c.
17797 * config/c4x/c4x.h: Moved prototypes to c4x.h.
17798 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
17799 c4x_secondary_memory_needed) Delete.
17800 (fp_zero_operand): Add mode argument.
17801
17802 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
17803
17804 * reload1.c (reload_reg_free_for_value_p): Don't use a register
17805 that is in reload_reg_used.
17806
17807 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
17808
17809 * config/arm/arm-protos.h: New file: Prototypes for functions
17810 defined in arm.c and pe.c.
17811 * config/arm/arm.h: Fix compile time warnings.
17812 * config/arm/arm.c: Fix compile time warnings.
17813 * config/arm/pe.h: Fix compile time warnings.
17814 * config/arm/aout.h: Fix compile time warnings.
17815
17816 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
17817
17818 * config/m32r/m32r-protos.h: New file: Prototypes for functions
17819 defined in m32r.c
17820
17821 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
17822 Add support for subtargets.
17823 Add prototypes for new predicates.
17824 Add scheduling macros.
17825
17826 * config/m32r/m32r.c: Fix compile time warnings.
17827 (int8_operand): New predicate function.
17828 (reg_or_cmp_int16_operand): New predicate function.
17829 (extend_operand): New predicate function.
17830 (m32r_adjust_code): New scheduling function.
17831 (m32r_adjust_priorty): New scheduling function.
17832 (m32r_sched_init): New scheduling function.
17833 (m32r_sched_reorder): New scheduling function.
17834 (m32r_sched_variable_issue): New scheduling function.
17835 (direct_return): New codegen function.
17836 (m32r_not_same_reg): New rtl testsing function.
17837
17838 * config/m32r/m32r.md: Fix compile time warnings.
17839 Add support for pre decrement and post increment memory
17840 references.
17841 Add S<cc> patterns.
17842 Add fabs patterns.
17843
17844 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17845
17846 * global.c (EXECUTE_IF_CONFLICT): Don't define.
17847 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
17848 (find_reg): Likewise.
17849
17850 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
17851
17852 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
17853 to avoid assembler errors.
17854
17855 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
17856
17857 * config/v850/v850-protos.h: New file: Prototypes for functions
17858 defined in v850.c
17859 * config/v850/v850.h: Move prototypes to v850-protos.h
17860 * config/v850/v850.c: Move prototypes to v850-protos.h
17861 * config/v850/v850.md: Fix compile time warnings.
17862
17863 * config/fr30/fr30-protos.h: New file: Prototypes for functions
17864 defined in fr30.c
17865 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
17866 * config/fr30/fr30.c: Fix compile time warnings.
17867 * config/fr30/fr30.md: Fix compile time warnings.
17868
17869 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
17870
17871 * tree.h (get_containing_scope): Declare it.
17872 * tree.c (get_containing_scope): New fucntion.
17873 (decl_function_context): Use it.
17874 * toplev.c (rest_of_compilation): Use get_containing_scope.
17875
17876 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17877
17878 * Makefile.in (rtl.o): Depend on toplev.h.
17879
17880 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
17881
17882 * cse.c (delete_trivially_dead_insns): Replace alloca with
17883 xmalloc/xcalloc.
17884 * except.c (update_rethrow_references): Likewise.
17885 (init_eh_nesting_info): Likewise.
17886 * function.c (identify_blocks): Likewise.
17887 * gcse.c (dump_hash_table): Likewise.
17888 * graph.c (print_rtl_graph_with_bb): Likewise.
17889 * loop.c (combine_movables): Likewise.
17890 (move_movables): Likewise.
17891 (count_loop_regs_set): Likewise.
17892 (strength_reduce): Likewise.
17893 * profile.c (compute_branch_probabilities): New function, split
17894 out from ...
17895 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
17896 * regclass.c (regclass): Likewise.
17897 * regmove.c (regmove_optimize): Likewise.
17898 * toplev.c (compile_file): Likewise.
17899 (main): Don't mess with the stack rlimit.
17900
17901 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
17902
17903 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
17904 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
17905
17906 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
17907
17908 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
17909
17910 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
17911
17912 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
17913 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
17914 macro expansion.
17915
17916 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
17917
17918 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
17919
17920 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
17921
17922 * gcse.c (post_dominators): Kill.
17923 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
17924 (compute_code_hoist_data): Use compute_flow_dominators. Do not
17925 pass in a pdom array since we do not need pdoms.
17926 * haifa-sched.c (schedule_insns): Similarly.
17927 * flow.c (compute_dominators): Remove dead function.
17928 (compute_flow_dominators): Do not compute doms or pdoms if the
17929 caller does not request them. Split up loop to build doms and
17930 pdoms. Use a worklist to compute doms and pdoms.
17931 * basic-block.h (compute_dominators): Remove prototype.
17932
17933 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
17934
17935 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
17936 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
17937 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
17938 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
17939 (cant_move, fed_by_spec_load, is_load_insn): Remove.
17940 (schedule_region): Remove unused variable.
17941 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
17942
17943 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
17944
17945 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
17946 (update_equiv_regs): Likewise.
17947 (block_alloc): Likewise.
17948 * reg-stack.c (reg_to_stack): Likewise.
17949 (convert_regs_2): Likewise.
17950 * reload1.c (reload_as_needed): Likewise.
17951
17952 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
17953
17954 * Makefile.in (dbxout.o): Depend on ggc.h.
17955 (dwarf2out.o): Likewise.
17956 (xcoffout.o): Likewise.
17957 * dbxout.c: Include ggc.h.
17958 (dbxout_init): Register lastfile as a root.
17959 * dwarf2out.c: Include ggc.h.
17960 (dwarf2out_line): Register lastfile as a root.
17961 * xcoffout.c: Include ggc.h.
17962 (xcoffout_source_line): Register xcoff_lastfile as a root.
17963
17964 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
17965
17966 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
17967
17968 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
17969
17970 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
17971 defined.
17972 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
17973
17974 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17975
17976 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
17977 (EXECUTE_IF_CONFLICT): Likewise.
17978 (ALLOCNO_LIVE_P): Avoid signed division.
17979 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
17980 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
17981 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
17982
17983 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
17984
17985 * haifa-sched.c (schedule_block): Don't crash if there's no
17986 next insn for an interblock movement.
17987 (add_branch_dependences): Don't allow clobber insns to move either.
17988
17989 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
17990
17991 * i386.c (split_xf): New.
17992 * i386-protos.h: Declare it.
17993 * i386.md (movxf_1): Add general regs alternatives.
17994 (movxf_1+1): New splitter for same.
17995
17996 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
17997
17998 * function.c (purge_addressof_1): Add missing return values.
17999
18000 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
18001
18002 * function.c (is_addressof): New function. Returns true if
18003 the given piece of RTL is an ADDRESSOF.
18004 (purge_addressof_1): Make boolean. Return false if the
18005 ADDRESSOFs could not be purged.
18006 (purge_addressof): If ADDRESSOFs could not be purged from the
18007 notes attached to an insn, remove the offending note(s),
18008 unless they are attached to a libcall.
18009
18010 1999-11-05 Andreas Jaeger <aj@suse.de>
18011
18012 * genoutput.c (null_operand =): Initialize all fields.
18013
18014 * errors.h: Add extern to prototypes.
18015
18016 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
18017
18018 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
18019 * configure: Rebuilt.
18020
18021 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18022
18023 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
18024 (mirror_conflicts): New function.
18025 (global_alloc): Call it.
18026 (expand_preferences): Remove redundant CONFLICTP test.
18027 (find_reg, dump_conflicts): Likewise.
18028 (prune_preferences): Process conflicts one word at a time.
18029
18030 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
18031
18032 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
18033 instead of an explicit loop.
18034
18035 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
18036
18037 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
18038 if REG_RETVAL check succeeds, then put classp in src_elt.
18039
18040 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
18041
18042 * function.c (pad_to_arg_alignment): Only update argument_pad
18043 if the argument's alignment is greater than STACK_BOUNDARY.
18044
18045 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
18046
18047 * bitmap.h (BITMAP_XFREE): New.
18048 * flow.c (life_analysis): Use it.
18049 (life_analysis_1): Free blocks.
18050
18051 * combine.c (undo_commit): New.
18052 (try_combine): Use it. Don't zap undobuf.undos.
18053 (combine_instructions): Don't zap undobuf.undos; free the
18054 undobuf.frees list.
18055
18056 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
18057
18058 * stmt.c (cost_table_): New.
18059 (estimate_case_costs): Use it instead of xmalloc.
18060
18061 * toplev.c (compile_file): Reuse dumpname memory instead
18062 of strdup'ing it.
18063
18064 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
18065
18066 * reg-stack.c (convert_regs_1): Initialize target_stack->top
18067 after verifying an EH edge.
18068
18069 * haifa-sched.c (init_rgn_data_dependences): Correctly
18070 size bb_pending_lists_length when zeroing.
18071
18072 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
18073
18074 * function.c (diddle_return_value): New.
18075 (expand_function_end): Use it.
18076 * stmt.c (expand_null_return): Likewise.
18077 (expand_value_return): Likewise.
18078
18079 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
18080
18081 * reload1.c (reload): Don't remove return value clobbers.
18082
18083 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
18084
18085 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
18086
18087 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
18088
18089 * cse.c (cse_main): Use xmalloc, not alloca.
18090 (cse_basic_block): Likewise.
18091 * local-alloc.c (local_alloc): Likewise.
18092
18093 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
18094 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
18095
18096 * rtl.c: Include toplev.h.
18097 (fatal): Remove declaration.
18098
18099 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
18100
18101 * haifa-sched.c (schedule_block): Fix thinko.
18102
18103 1999-11-03 James McKelvey <mckelvey@fafnir.com>
18104
18105 * fixinc/fixincl.c(create_file): Allow for systems that do not have
18106 S_IR* defined values
18107
18108 1999-11-03 Philippe De Muyter <phdm@macqel.be>
18109
18110 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
18111 call `malloc' instead.
18112
18113 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
18114
18115 * flags.h (flag_renumber_insns): Declare.
18116 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
18117 renumbering table.
18118 * rtl.h (renumber_insns): Change prototype.
18119 * toplev.c (flag_renumber_insns): Define.
18120 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
18121
18122 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
18123
18124 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
18125 and fpsqrtd. Use them and create fdiv function unit to more
18126 accurately represent fpu sqrt pipeline semantics on UltraSparc.
18127 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
18128
18129 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
18130
18131 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
18132 3 on UltraSparc.
18133 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
18134 insn into ready list, do not use just a raw swap.
18135
18136 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
18137
18138 * rtl.h (renumber_insns): New function.
18139 (remove_unnecessary_notes): Likewise.
18140 * emit-rtl.c (renumber_insns): Define.
18141 (remove_unncessary_notes): Likewise.
18142 * toplev.c (rest_of_compilation): Remove dead code.
18143 Use renumber_insns and remove_unncessary_notes.
18144
18145 * gcse.c (struct null_pointer_info): New type.
18146 (get_bitmap_width): New function.
18147 (current_block): Remove.
18148 (nonnull_local): Likewise.
18149 (nonnull_killed): Likewise.
18150 (invalidate_nonnull_info): Take a null_pointer_info as input.
18151 (delete_null_pointer_checks_1): New function.
18152 (delete_null_pointer_checks): Use it.
18153
18154 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
18155 (split_edges): Likewise.
18156 (schedule_block): Likewise.
18157 (compute_block_backward_dependencies): Likewise.
18158 (schedule_region): Likewise.
18159 (schedule_insns): Likewise.
18160
18161 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
18162
18163 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
18164 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
18165 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
18166 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
18167 * jump.c (delete_unreferenced_labels): Don't delete if
18168 LABEL_ALTERNATE_NAME is set.
18169 * print-rtl.c (print_rtx): Dump alternate name.
18170 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
18171 * rtl.h (LABEL_ALTERNATE_NAME): Define.
18172 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
18173 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
18174
18175 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18176
18177 * fix-header.c (recognized_extern, recognized_function): Constify
18178 a char*.
18179
18180 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
18181 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
18182 (compute_available): Remove unused variable `last'.
18183 (compute_nearerout): Remove unused variable `temp_bitmap'.
18184 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
18185 Remove unused variable `x'.
18186
18187 * scan.h (recognized_function, recognized_extern): Constify a
18188 char*.
18189
18190 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
18191
18192 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18193
18194 * varasm.c (decode_rtx_const): Use XSTR to access the string
18195 of a SYMBOL_REF.
18196
18197 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
18198
18199 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
18200
18201 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18202
18203 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
18204
18205 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
18206
18207 * pa.c (ireg_operand): New function.
18208 * pa.h (PREDICATE_CODES): Handle ireg_operand.
18209 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
18210 Fix out of date comment.
18211
18212 * pa.md (negdi2): Turn into expander + anonymous pattern.
18213
18214 * reload.c (find_reloads): Fix typos in recent change.
18215
18216 * dwarf2out.c: Do not include ctype.h.
18217
18218 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18219
18220 * regclass.c (record_reg_classes): Always use may_move_cost when
18221 seeing how operand fits with various register classes.
18222
18223 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
18224
18225 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
18226 * toplev.c: Revert Nov 1 13:22 change.
18227
18228 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
18229
18230 * config/pa/pa.md (height reduction patterns): Add checks for
18231 overlapping operands to avoid semantic-destroying splits for
18232 height reduction patterns.
18233
18234 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
18235
18236 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
18237 have been an hyphen, fixed.
18238 * configure: Rebuilt.
18239
18240 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
18241
18242 * config/arm/tpe.h: Add prototypes for exported functions.
18243 * config/arm/pe.c: Fix compile time warnings.
18244 * config/arm/semi.h: Fix compile time warnings.
18245 * config/arm/arm.c: Fix compile time warnings.
18246 * config/arm/arm.h: Fix compile time warnings.
18247 * config/arm/arm.md: Fix compile time warnings.
18248 * config/arm/thumb.c: Fix compile time warnings.
18249 * config/arm/thumb.h: Fix compile time warnings.
18250 * config/arm/thumb.md: Fix compile time warnings.
18251
18252 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
18253
18254 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
18255 detection code
18256
18257 * unroll.c (unroll_loop): Remove LOOP notes when loop is
18258 completely unrolled.
18259
18260 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18261
18262 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
18263
18264 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
18265
18266 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
18267 * rtl.h (rtx_equal_p): Move prototype.
18268 * rtl.c (rtx_equal_function_value_matters): Move from
18269 rtlanal.c
18270 (rtx_equal_p): Likewise.
18271 * rtlanal.c (rtx_equal_function_value_matters): Delete.
18272 (rtx_equal_p): Likewise.
18273
18274 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
18275
18276 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
18277 ! HAS_INIT_SECTION.
18278
18279 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
18280
18281 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
18282
18283 * pa.h (ADDR_VEC_ALIGN): Define.
18284
18285 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
18286 notes when presented with "if (foo) break; end_of_loop" and
18287 the break sequence gets moved out of the loop.
18288
18289 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
18290 Remove explicit zero initializations of entries within MAP.
18291
18292 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
18293
18294 * reg-stack.c (convert_regs_1): Handle EH edges specially.
18295
18296 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
18297
18298 * bitmap.h (BITMAP_XMALLOC): New macro.
18299 * flow.c (CLEAN_ALLOCA): Remove.
18300 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
18301 (life_analysis): Likewise.
18302 (update_life_info): Don't use CLEAN_ALLOCA.
18303 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
18304 (calculate_global_regs_live): Likewise.
18305 (print_rtl_with_bb): Likewise.
18306 (verify_flow_info): Likewise.
18307 * global.c (global_alloc): Likewise.
18308 (global_conflicts): Likewise.
18309 * integrate.c (save_for_inline_nocopy): Likewise.
18310 (expand_inline_function): Likewise.
18311 * jump.c (jump_optimize_1): Likewise.
18312 (duplicate_loop_exit_test): Likewise.
18313 (thread_jumps): Likewise.
18314 * loop.c (loop_optimize): Likewise.
18315 (combine_givs): Likewise.
18316 (recombine_givs): Likewise.
18317 * reorg.c (dbr_schedule): Likewise.
18318 * unroll.c (unroll_loop): Likewise.
18319
18320 * combine.c (combine_instructions): Use xmalloc instead of alloca.
18321
18322 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
18323
18324 * toplev.c (rest_of_compilation): Don't optimize the CFG
18325 when rebuilding, just before dbr.
18326
18327 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18328
18329 * output.h (assemble_end_function, assemble_destructor,
18330 assemble_constructor, assemble_gc_entry, assemble_global,
18331 assemble_label, output_constant_pool) Constify a char*.
18332
18333 * varasm.c (assemble_destructor, assemble_constructor,
18334 assemble_gc_entry, assemble_end_function, assemble_global,
18335 assemble_label, output_constant_pool): Likewise.
18336
18337 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
18338
18339 * config/arm/thumb.c (thumb_expand_prologue): Add comments
18340 explaining what is goin on in this function.
18341
18342 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18343
18344 * regclass.c (record_reg_classes): In matching case, recompute
18345 costs since the direction of movement is different.
18346
18347 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
18348
18349 * resource.c (mark_target_live_regs): For unconditional branches,
18350 the resources found at the branch target should be added to the
18351 resources found so far, not intersected.
18352
18353 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
18354
18355 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
18356 old cpp's.
18357 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
18358 (sys/mman.h): Include this file only if #HAVE_MMAP.
18359 (run_compiles): Initialize `esac_fmt' with one old KR string, not
18360 with automatically concatenated ANSI strings.
18361
18362 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
18363
18364 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
18365 (DIV_ROUND_UP): Robustify.
18366 (ggc_recalculate_in_use_p): New function.
18367 (release_pages): Don't inline it.
18368 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
18369 outer contexts.
18370 (ggc_pop_context): Use ggc_recalculate_in_use_p.
18371 (clear_marks): Always save in_use_p.
18372 (sweep_pages): Use ggc_recalculate_in_use_p.
18373 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
18374 Release pages before counting statistics.
18375
18376 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
18377
18378 * toplev.c (rest_of_compilation): Fix thinko in this change:
18379
18380 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
18381
18382 (rest_of_compilation): If inside an inlined external function,
18383 pretend we are just being declared.
18384
18385 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
18386
18387 * flow.c (calculate_global_regs_live): Fix thinko.
18388
18389 * integrate.c (expand_inline_function): Fix bugs in previous
18390 change from Oct 28, 1999.
18391
18392 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
18393
18394 * stmt.c (expand_value_return): Fix typo in this change:
18395
18396 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18397 (expand_value_return): Correctly convert VAL when promoting function
18398 return; support RETURN_REG being a PARALLEL.
18399
18400 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
18401
18402 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
18403
18404 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18405
18406 * hard-reg-set.h (reg_names): Constify a char*.
18407
18408 * regclass.c (reg_names): Likewise.
18409
18410 * regs.h (reg_names): Likewise
18411
18412 * a29k/a29k.c (reg_names): Delete declaration.
18413
18414 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
18415
18416 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
18417 arc_output_function_epilogue): Likewise.
18418
18419 * elxsi/elxsi.c (reg_names): Likewise.
18420
18421 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
18422
18423 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
18424 Likewise.
18425
18426 * m88k/m88k.c (output_function_profiler): Likewise.
18427
18428 * sparc/sparc.c (sparc_flat_output_function_prologue,
18429 sparc_flat_output_function_epilogue): Likewise.
18430
18431 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
18432
18433 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
18434 warning from -Wuninitialized and put it under -W.
18435 * function.c (uninitialized_vars_warning): Warn only when the
18436 corresponding flag is set.
18437
18438 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
18439
18440 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
18441 is nonzero and the single set does not have an elt, then assign
18442 it an elt.
18443
18444 * simplify-rtx.c: New file.
18445 * Makefile.in (OBJS): Add simplify-rtx.o
18446 (simplify-rtx.o): Add dependencies.
18447 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
18448 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
18449 (cse_gen_binary, simplify_unary_operation): Delete.
18450 (simplify_binary_operation, simplify_plus_minus): Likewise.
18451 (check_fold_consts, simplify_relation_operation): Likewise.
18452 (simplify_ternary_operation): Likewise.
18453 (delete_trivially_dead_insns): Simplify the contents of the
18454 REG_EQUAL note before trying to substitute it into the source
18455 of the reg-reg copy at the end of a libcall sequence.
18456
18457 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
18458 references/callers changed.
18459
18460 * mn10200.c (mn10200_va_arg): Force the return value into a
18461 register.
18462
18463 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
18464
18465 * cccp.c (macroexpand): Avoid out of range accesses for omitted
18466 arguments.
18467
18468 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
18469
18470 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
18471
18472 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
18473
18474 * fold-const.c (fold): Fix thinko when optimizing comparisons
18475 against -0.0.
18476
18477 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
18478
18479 * gcc.texi (Passes): Update front-end files to their current
18480 location.
18481
18482 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
18483
18484 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
18485 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
18486 (PREDICATE_CODES): Add addition_operation.
18487 * alpha-protos.h (addition_operation): Declare.
18488 (secondary_reload_class): Likewise.
18489 * alpha.c (addition_operation): New.
18490 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
18491 * alpha.md (adddi3): Turn into expander.
18492 (*lda, *adddi_2): New.
18493 (movsf, movdf patterns): Don't preference integer regs.
18494 (movsi, movdi patterns): Don't preference fp regs.
18495
18496 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
18497
18498 * genrecog.c (write_switch): Check for duplicate CODE cases.
18499
18500 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
18501
18502 * ggc-common.c: Update pre-function commentary.
18503 * ggc-page.c: Likewise.
18504 (poison): Remove.
18505 (poison_pages): Use memset directly.
18506 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
18507 (ggc_collect): Poison before sweeping.
18508 * ggc-simple.c: Update pre-function commentary.
18509 (ggc_alloc_obj): Poison non-zeroed memory.
18510
18511 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
18512
18513 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
18514 match format string, even on 64-bit hosts.
18515 * gcc-page.c (ggc_page_print_statistics): Likewise.
18516
18517 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
18518
18519 * config/i386/i386.c (ix86_cpu): Revert last patch.
18520 * config/i386/i386.h (ix86_cpu): Ditto.
18521
18522 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
18523
18524 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
18525 TYPE_SIZE, convert type of result to sizetype.
18526
18527 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
18528
18529 * flow.c (count_or_remove_death_notes): Equate NULL with the
18530 universal set.
18531
18532 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
18533 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
18534 dbr_schedule.
18535
18536 * i386.c (pic_label_no): Delete.
18537 (ix86_attr_length_default): Don't use single_set to peek
18538 inside a parallel.
18539
18540 * recog.c (peephole2_optimize): Allow recog_next_insn to index
18541 the first insn after bb->end.
18542 * i386.md (push mem peeps): Scratch is live after evaluation
18543 of the memory.
18544 (cmp mem peep): Similarly.
18545
18546 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
18547
18548 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
18549 * function.c (pad_to_arg_alignment): Add missing braces.
18550
18551 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18552
18553 * alpha/alpha-protos.h (literal_section): Add prototype.
18554 (alpha_need_linkage, alpha_start_function,alpha_end_function):
18555 Constify a char*.
18556
18557 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
18558 prototype.
18559 (alpha_start_function, alpha_end_function, float_strings,
18560 alpha_need_linkage): Constify a char*
18561
18562 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
18563
18564 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
18565
18566 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
18567
18568 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
18569
18570 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18571
18572 * flow.c (debug_flow_info): Add prototype.
18573
18574 * gcc.c (main): Likewise.
18575
18576 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
18577 Likewise.
18578
18579 * reload1.c (failed_reload, set_reload_reg): Likewise.
18580
18581 * mips-tfile.c (main): Likewise.
18582 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
18583 with ATTRIBUTE_NORETURN.
18584
18585 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
18586
18587 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
18588 DECL is not a memory ref.
18589
18590 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
18591
18592 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
18593 * config/i386/i386.c (ix86_cpu): Add extern attribute.
18594
18595 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
18596
18597 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
18598 * config/mips/elf64.h: ditto.
18599
18600 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
18601
18602 * expr.c (emit_push_insn): New argument alignment_pad.
18603 Update all callers. Adjust stack pointer based on alignment pad.
18604 * function.c (pad_to_arg_alignment): New argument alignment_pad.
18605 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
18606 (locate_and_pad_parm): New argument alignment_pad. Update all
18607 callers.
18608 * expr.h (emit_push_insn): Update prototype.
18609 (locate_and_pad_parm): Update prototype.
18610 * calls.c (arg_data): Add new field alignment_pad.
18611 (initialize_argument_information): Initialize alignment_pad.
18612
18613 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
18614
18615 * except.c (free_eh_nesting_info): Free the info itself.
18616 * function.c (free_after_compilation): Don't free NULL.
18617 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
18618 (pre_edge_insert): Free inserted.
18619 * stmt.c (free_stmt_status): Don't free NULL.
18620
18621 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
18622
18623 * gcov.c (DIR_SEPARATOR): Provide default.
18624 (output_data): Add test for MS-DOS format absolute filename.
18625 (fancy_abort): Correct program name.
18626 (open_files): Open all files in binary mode.
18627 * libgcc2.c (__bb_exit_func): Likewise.
18628
18629 * profile.c (init_branch_prob): Specify binary when opening files.
18630
18631 * flags.h (flag_unwind_tables): New decl.
18632 * toplev.c (flag_unwind_table): New definition.
18633 (f_options): Add -funwind-tables.
18634 (decode_g_option): Clarify warning when unknown -g option is given.
18635 (rest_of_compilation): If inside an inlined external function,
18636 pretend we are just being declared.
18637
18638 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
18639 (dwarf2out_frame_finish): Likewise.
18640
18641 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
18642
18643 * fold-const.c (merge_ranges): If not in0, but in1, handle
18644 upper bounds equal like subset case.
18645
18646 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
18647
18648 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
18649 passed in a register but moved to the stack.
18650
18651 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
18652
18653 * gcc.c (pass_exit_codes, greatest_status): New variables.
18654 (struct option_map): Add entry for "--pass-exit-codes".
18655 (execute): Update greatest_status if error.
18656 (display_help): Add documentation for -pass-exit-codes.
18657 (process_command): Handle -pass-exit-codes.
18658 (main): Look at pass_exit_codes and greatest_status on call to exit.
18659
18660 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
18661
18662 * reload.c (find_reloads): Refine test for no input reload
18663 case to not includes reloads emitted after insn.
18664
18665 * function.c (find_temp_slots_from_address): Handle sum involving
18666 a register that points to a temp slot.
18667 (update_temp_slot_address): Make recursive call if both old and
18668 new are PLUS with a common operand.
18669 * calls.c (expand_call): Mark temp slot for result as having
18670 address taken.
18671
18672 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
18673
18674 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
18675 component as well as "BINUTILS".
18676
18677 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
18678 * integrate.c (copy_rtx_and_substitute): Likewise.
18679 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
18680 All callers changed.
18681 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
18682
18683 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
18684 gdb extensions, write size of type; also be more consistent
18685 in using references when this is a subtype.
18686
18687 * pa.md (extv, extzv, insv): Use define_expand to reject constant
18688 that is out of range.
18689
18690 * loop.c (unknown_constant_address_altered): New variable.
18691 (prescan_loop): Initialize it.
18692 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
18693 (invariant_p, case MEM): Remove handling for volatile and readonly;
18694 check new variable if readonly.
18695 (check_dbra_loop): Chdeck unknown_constant_address_altered.
18696
18697 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
18698 (addr_affects_sp_p): Removed from note_mem_written and only
18699 define #ifdef AUTO_INC_DEC.
18700
18701 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
18702
18703 * regclass.c (record_reg_classes): Properly handle register move
18704 directions.
18705
18706 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
18707 Don't think valid if both operands are invalid.
18708 (struct constant_descriptor): New field RTL.
18709 (mark_const_hash_entry): Mark it.
18710 (record_constant{,_rtx}): Initialize it.
18711 (output_constant_def): Allocate RTL in permanent obstack and
18712 save in table.
18713 ({record,compare}_constant_1): Modes must match for
18714 CONSTRUCTOR of ARRAY_TYPE.
18715
18716 * c-common.h (initializer_constant_valid_p): Delete decl from here.
18717 * output.h (initializer_constant_valid_p): Move decl to here.
18718 * c-common.c (initializer_constant_valid_p): Delete function from here.
18719 * varasm.c (initializer_constant_valid_p): Move function to here.
18720
18721 * tree.h (STRIP_SIGN_NOPS): New macro.
18722 * fold-const.c (optimize_minmax_comparison): New function.
18723 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
18724 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
18725 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
18726 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
18727 widening conversions.
18728 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
18729 to look at size of mode, not precision of type; also add missing cases.
18730 (optimize_bit_field_compare, decode_field_reference): Don't try to
18731 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
18732
18733 * dwarf2out.c (ctype.h): Include.
18734 (dwarf2out_set_demangle_name_func): New function.
18735 (size_of_line_info): Deleted.
18736 (output_line_info): Compute size of line info table from difference
18737 of labels.
18738 (base_type_die, add_name_attribute): Call demangle function, if any.
18739 (field_byte_offset): Use bits per word for variable length fields.
18740 (gen_array_type_die): Add array name.
18741 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
18742 (dwarf2out_add_library_unit_info): New function.
18743
18744 * explow.c (set_stack_check_libfunc): New function.
18745 (stack_check_libfunc): New static variable.
18746 (probe_stack_range): Allow front-end to set up a libfunc to call.
18747
18748 * combine.c (simplify_comparison): When making comparison in wider
18749 mode, check for having commuted an AND and a SUBREG.
18750 (contains_muldiv): New function.
18751 (try_combine): Call it when dividing a PARALLEL.
18752 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
18753 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
18754 a PLUS.
18755 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
18756 use one of the CLOBBERs instead.
18757 (if_then_else_cond): If comparing against zero, just return thing
18758 being compared.
18759
18760 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
18761 Don't generate shifts and subtract if have conditional arithmetic.
18762
18763 * rtl.h (delete_barrier): New declaration.
18764 * jump.c (jump_optimize): Set up to handle conditional call.
18765 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
18766 (delete_barrier): New function.
18767
18768 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
18769
18770 * recog.c (nonmemory_operand): Accept ADDRESSOF.
18771
18772 * tree.c (build_type_attribute_variant): Push to obstack of
18773 ttype around type_hash_canon call.
18774
18775 * expr.c (placeholder_list): Move decl to file scope.
18776 (expand_expr): Don't force access to volatile just because its
18777 address is taken.
18778 If ignoring reference operations, just expand the operands.
18779 (expand_expr, case COMPONENT_REF): Propagate
18780 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
18781 Refine test for using bitfield operations vs pointer punning.
18782 (expand_expr, case CONVERT_EXPR): If converting to
18783 BLKmode UNION_TYPE from BLKmode, just return inner object.
18784 Use proper mode in store_field call.
18785 Properly set sizes of object to store and total size in store_field
18786 call for convert to union.
18787 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
18788 memory (like for ADDR_EXPR). Also, don't put constant in register if
18789 we'll want it in memory.
18790 (readonly_fields_p): New function.
18791 (expand_expr, case INDIRECT_REF): Call it if LHS.
18792 (expand_assignment): Handle a RESULT_DECL where
18793 DECL_RTL is a PARALLEL.
18794 (do_jump, case WITH_RECORD_EXPR): New case.
18795 (get_inner_reference): Always go inside a CONVERT_EXPR
18796 and NOP_EXPR if both modes are the same.
18797 (store_field): Use bitfield operations if size of bitsize is not same
18798 as size of RHS's type.
18799 Check for bitpos not a multiple of alignment in BLKmode case.
18800 Do block move in largest possible alignment.
18801 (store_constructor): Set BITSIZE to -1 for variable size and properly
18802 in case of array of BLKmode.
18803 (expand_expr_unaligned): New function.
18804 (do_compare_and_jump): Call it.
18805
18806 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
18807 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
18808 does not include 'o'.
18809
18810 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
18811 both SET_DEST and SET_SRC reference a virtual register.
18812 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
18813
18814 * integrate.c (expand_inline_function): Handle case of setting
18815 virtual stack vars register (from built in setjmp); when parameter
18816 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
18817 (subst_constant): Add new parm, MEMONLY.
18818 (expand_inline_function, integrate_parm_decls): Pass new parm.
18819 (integrate_decl_tree): Likewise.
18820 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
18821 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
18822 (copy_rtx_and_substitute, case SET): Add explicit calls to
18823 copy_rtx_and_substitute for both sides.
18824
18825 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
18826 constraints.
18827 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
18828 within INDEX_TYPE, instead of before.
18829 (fixup_gotos): Use f->target_rtl, not the next insn,
18830 since latter may be from a later fixup.
18831 (expand_value_return): Correctly convert VAL when promoting function
18832 return; support RETURN_REG being a PARALLEL.
18833 (expand_return): When checking for result in regs and having
18834 cleanup, consider PARALLEL in DECL_RTL as being in regs.
18835
18836 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
18837
18838 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
18839 last_nominal_fname): Mark const.
18840 (struct include_hash: name, nshort, control_macro): Mark
18841 const.
18842 (struct macrodef: symnam): Mark const.
18843 (struct if_stack: fname): Mark const.
18844 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
18845 (IStable): New character-syntax array which encompasses all
18846 the old is_foo arrays.
18847 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
18848 is_space): New macros for interrogating IStable.
18849 (check_macro_name): Kill last argument. All callers changed.
18850
18851 * cppinit.c (initialize_char_syntax): Delete.
18852 (is_idchar, is_idstart, is_hor_space, is_space,
18853 trigraph_table): Delete.
18854 (IStable): New. Initialize with clever macros to avoid
18855 information duplication.
18856 (builtin_array): Table of builtins to get rid of explicit list
18857 in initialize_builtins.
18858 (initialize_builtins): Use builtins_array.
18859 (cpp_start_read): Call init_IStable, and set IStable['$'] if
18860 opts->dollars_in_ident.
18861
18862 * cppexp.c: Change all refs to is_xyz[] arrays to use new
18863 is_xyz() macros.
18864 (cpp_parse_expr): Avoid 'format string is not constant'
18865 warning. Use ISGRAPH to identify printable chars.
18866 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
18867 is_xyz() macros.
18868 (read_and_prescan): Map trigraphs to chars with open-coded
18869 if-else-if-... sequence, not a lookup table.
18870 * cpphash.c: Change all refs to is_xyz[] arrays to use new
18871 is_xyz() macros.
18872 * cpplib.c: Change all refs to is_xyz[] arrays to use new
18873 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
18874 (check_macro_name): Remove ability to report an invalid
18875 assertion name, which is never used.
18876 (do_line): Constify a couple of char *'s.
18877 * cppmain.c (main): Call cpp_cleanup before returning.
18878
18879 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
18880
18881 * ggc.h (struct ggc_statistics): New type.
18882 (ggc_get_size): New function.
18883 (ggc_print_statistics): Likewise.
18884 * ggc-common.c (ggc_stats): New variable.
18885 (ggc_mark_rtx_children): Keep statistics.
18886 (ggc_mark_tree_children): Likewise.
18887 (ggc_print_statistics): New function.
18888 * ggc-page.c (struct globals): Add bytes_mapped field.
18889 (alloc_anon): Update it.
18890 (release_pages): Likewise.
18891 (ggc_get_size): New function.
18892 (ggc_page_print_statistics): New function.
18893 * ggc-simple.c (ggc_get_size): New function.
18894
18895 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
18896
18897 * flow.c (propagate_block): When the last reference to a label
18898 before an ADDR_VEC is deleted because the reference is a dead
18899 store, delete the ADDR_VEC.
18900
18901 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
18902
18903 * resource.c (find_free_register): Don't use the frame pointer
18904 if frame_pointer_needed.
18905
18906 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
18907
18908 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
18909 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
18910
18911 * config/i960/i960.c (i960_va_start): New locals base, num.
18912 Use INDIRECT_REF instead of ARRAY_REF on valist.
18913 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
18914
18915 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
18916
18917 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
18918
18919 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
18920
18921 * tree.def (PLACEHOLDER_EXPR): Update comments.
18922
18923 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18924
18925 * c-common.c (check_format_info): Avoid non-literal format string
18926 warnings when `first_arg_num' is zero.
18927
18928 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18929
18930 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
18931
18932 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
18933
18934 * arm.md (casesi_insn): Add a clobber of the condition code
18935 register.
18936
18937 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
18938
18939 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
18940 used by both cc1 and cc1plus.
18941
18942 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
18943
18944 * config/arm/arm.c: Initialise arm_structure_size_boundary to
18945 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
18946 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
18947 to the value 32 if it has not already been defined.
18948 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
18949 Override definition in arm.h with a value of 8.
18950
18951 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
18952
18953 * c-pragma.c (push_alignment): Don't check the return value
18954 of xmalloc.
18955
18956 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
18957
18958 * sparc.h (ADJUST_COST): Fix thinko.
18959
18960 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
18961
18962 * cccp.c (rescan): Fixed obp pointer handling around call to
18963 check_expand subroutine.
18964
18965 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
18966
18967 * gcse.c (delete_null_pointer_checks): Only record non-null info
18968 for pseudos when examining stores.
18969
18970 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
18971 splitters for these patterns. Use "#" for output templates.
18972 (addsi3_carryin_shift): New pattern.
18973
18974 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
18975
18976 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
18977 of the function return register into a plain REG until
18978 after function inlining is done.
18979
18980 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
18981
18982 * jump.c (jump_optimize_1): If we did cross-jumping, and
18983 the data will matter, rebuild the CFG.
18984 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
18985 not optimizing. Don't run shorten_branches.
18986 * toplev.c (rest_of_compilation): Run shorten_branches after
18987 reg_to_stack.
18988
18989 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
18990
18991 * rtl.h (note_stores): Add additional paramter.
18992 * rtlanal.c (reg_set_p_1): Take additional paramter.
18993 (reg_set_last_1): Likewise.
18994 (reg_set_p): Adjust call to note_stores.
18995 (reg_set_last): Likewise.
18996 (note_stores): Pass data parameter to worker function.
18997 * alias.c (record_set): Take additional parameter.
18998 (init_alias_analysis): Pass it.
18999 * caller-save.c (mark_set_regs): Take additional parameter.
19000 (save_call_clobbered_regs): Pass NULL to note_stores.
19001 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
19002 parameter.
19003 (record_dead_and_set_regs_1): Likewise.
19004 (reg_dead_at_p_1): Likewise.
19005 (combine_instructions): Adjust calls to note_stores.
19006 (try_combine): Likewise.
19007 (record_dead_insn): Remove.
19008 (record_dead_and_set_regs): Adjust calls to note_stores.
19009 (reg_dead_at_p): Likewise.
19010 * cse.c (invalidate_skipped_set): Take additional parameter.
19011 (cse_check_loop_start): Likewise.
19012 (cse_check_loop_start_value): Remove.
19013 (cse_set_around_loop): Adjust calls to note_stores.
19014 * flow.c (notice_stack_pointer_modification): Take additional
19015 parameter. Remove duplicate declaration.
19016 (record_volatile_insns): Adjust calls to note_stores.
19017 * gcse.c (record_set_info): Take additional parameter.
19018 (record_last_set_info): Likewise.
19019 (invalidate_nonnull_info): Likewise.
19020 (record_set_insn): Remove.
19021 (compute_sets): Adjust calls to note_stores.
19022 (last_set_insn): Remove.
19023 (compute_hash_table): Adjust calls to note_stores.
19024 (insert_insn_end_bb): Likewise.
19025 (delete_null_pointer_checks): Likewise.
19026 * global.c (mark_reg_store): Take additional parameter.
19027 (mark_reg_clobber): Likewise.
19028 (reg_becomes_live): Likewise.
19029 (global_conflicts): Adjust calls to note_stores.
19030 (build_insn_chain): Likewise.
19031 * integrate.c (note_modified_parmregs): Take additional parameter.
19032 (mark_stores): Likewise. Make it static.
19033 (save_for_inline_nocopy): Adjust calls to note_stores.
19034 (try_constants): Likewise.
19035 * integrate.h (mark_stores): Remove declaration.
19036 * jump.c (mark_modified_reg): Take additional parameter.
19037 (thread_jumps): Adjust calls to note_stores.
19038 * local-alloc.c (validate_equiv_mem_from_store): Take additional
19039 parameter.
19040 (no_equiv): Likewise.
19041 (reg_is_set): Likewise.
19042 (validate_equiv_mem): Adjust calls to note_stores.
19043 (update_equiv_regs): Likewise.
19044 (block_alloc): Likewise.
19045 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
19046 (note_addr_stored): Take additional parameter.
19047 (note_set_pseudo_multiple_uses): Likewise.
19048 (record_initial): Likewise.
19049 (prescan_loop): Adjust calls to note_stores.
19050 (strength_reduce): Likewise.
19051 (check_dbra_loop): Likewise.
19052 * regmove.c (flags_set_1): Take additional paramter.
19053 (mark_flags_life_zones): Adjust calls to note_stores.
19054 * reload1.c (mark_not_eliminable): Take additional parameter.
19055 (forget_old_reloads_1): Likewise.
19056 (reload_cse_invalidate_rtx): Likewise.
19057 (reload_cse_check_clobber): Likewise.
19058 (reload_combine_note_store): Likewise.
19059 (move2add_note_store): Likewise.
19060 (reload): Adjust calls to note_stores.
19061 (reload_as_needed): Likewise.
19062 (emit_reload_insns): Likewise.
19063 (reload_cse_regs_1): Likewise.
19064 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
19065 (reload_combine): Adjust calls to note_stores.
19066 * resource.c (update_live_status): Take additional paramter.
19067 (mark_target_live_regs): Adjust calls to note_stores.
19068 * stupid.c (find_clobbered_regs): Take additional parameter.
19069 (stupid_life_analysis): Adjust calls to note_stores.
19070
19071 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
19072
19073 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
19074 definition.
19075
19076 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
19077 definition.
19078
19079 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
19080 of the variable arm_structure_size_boundary.
19081
19082 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
19083
19084 * alias.c (init_alias_analysis): Allocate reg_known_value and
19085 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
19086 and reg_seen.
19087 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
19088 * cse.c (cse_main): Call end_alias_analysis.
19089 * haifa-sched.c (schedule_insns): Likewise.
19090 * local-alloc. (update_equiv_regs): Likewise.
19091 * reload1.c (reload_cse_regs): Likewise.
19092
19093 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
19094
19095 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
19096 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
19097 mapping from MASK_FPU.
19098
19099 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
19100
19101 * sparc.md (call): Don't bound structure return size to 0xfff.
19102
19103 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
19104
19105 * resource.c (mark_target_live_regs): Check that the target
19106 insn wasn't created after compute_bb_for_insn.
19107
19108 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
19109
19110 * ggc-page.c (poison_pages): Don't be overzealous.
19111
19112 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
19113
19114 * alias.c: Update comments for ADDRESS.
19115 (nonlocal_reference_p): Look inside the ADDRESS to determine if
19116 it is a local memory reference.
19117
19118 * c-typeck.c (build_function_call): Check that the built-in
19119 function is of class BUILT_IN_NORMAL before trying to recongize
19120 it as BUILT_IN_ABS.
19121 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
19122 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
19123
19124 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
19125
19126 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
19127 of alloca.
19128 (pre_gcse): Likewise.
19129 (hoist_expr_reaches_here_p): Likewise.
19130 (hoist_code): Likewise.
19131 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
19132 code to ...
19133 (pre_expr_reaches_here_p_work): ... here.
19134 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
19135 code to ...
19136 (expr_reaches_here_p_work): ... here.
19137
19138 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
19139
19140 * resource.c (find_basic_block): Delete.
19141 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
19142 (init_resource_info): Call compute_bb_for_insn.
19143
19144 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
19145
19146 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
19147 with already adjacent blocks, but no fallthru.
19148 (merge_blocks_move_successor_nojumps): Simplify.
19149 (debug_flow_info): New.
19150
19151 * toplev.c (rest_of_compilation): Open jump1 dump file before
19152 jump and close after, as opposed to just using dump_rtl.
19153
19154 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19155
19156 * reload.h (earlyclobber_operand_p): Declare.
19157 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
19158 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
19159 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
19160 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
19161
19162 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
19163 Richard Henderson <rth@cygnus.com>
19164
19165 * emit-rtl.c (emit_block_insn_before): New.
19166 (emit_block_insn_after): New.
19167 * basic-block.h: Declare them.
19168
19169 * bitmap.h: Protect from multiple inclusion.
19170
19171 * recog.c (scratch_operand): Handle VOIDmode correctly.
19172
19173 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
19174
19175 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
19176 * function.c (assign_parms): Likewise.
19177 * global.c (global_conflicts): Clarify STACK_REGS commentary.
19178
19179 * reg-stack.c (max_uid): Remove.
19180 (blocks, block_begin, block_end, block_drops_in): Remove.
19181 (block_stack_in, block_out_reg_set, block_number): Remove.
19182 (struct block_info_def, BLOCK_INFO): New.
19183 (enum emit_where): New.
19184 (current_block): New.
19185 (BLOCK_NUM): Remove.
19186 (mark_regs_pat, record_label_references): Remove.
19187 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
19188 (nan): New.
19189 (goto_block_pat, print_blocks, dump_stack_info): Remove.
19190 (reg_to_stack): Simplified test for existance of fp code. Use
19191 flow.c code. Call shorten_branches after cross-jump opt.
19192 (check_asm_stack_operands): Renamed from record_asm_reg_life.
19193 Return false if the asm doesn't use stack regs. Don't do life
19194 analysis on the asm.
19195 (emit_pop_insn): Replace function pointer arg `when' with
19196 enum `where'. Update all callers.
19197 (change_stack): Likewise. Update basic block end.
19198 (emit_swap_insn): Use current_block->head to limit reverse search
19199 for start of block. Use emit_block_insn_after.
19200 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
19201 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
19202 structure assignment instead of bcopy.
19203 (print_stack): New.
19204 (convert_regs_entry, convert_regs_exit): New.
19205 (convert_regs_1, convert_regs_2): Split out from convert_regs.
19206 Work on basic blocks and the CFG.
19207 (convert_regs): Use them.
19208
19209 * i386.c (output_fix_trunc): Remove code for DImode input operand
19210 not at top-of-stack.
19211 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
19212 appropriate mode.
19213 (fix_truncdi_1): Allow any mode scratch.
19214
19215 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
19216
19217 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
19218 * linux.h, netbsd.h, vms.h: Not here.
19219
19220 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
19221
19222 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
19223 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
19224 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
19225 CONDITIONAL_REGISTER_USEAGE): Use them.
19226 * config/mips/mips.c (mips_move_1word,mips_move_2words,
19227 gen_conditional_branch,override_options) : Use them.
19228 * config/mips/mips.md : Use them.
19229
19230 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
19231
19232 * i386.md (zero_extendqihi2): Use SImode register name with andl.
19233
19234 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
19235
19236 * integrate.c (function_cannot_inline_p): Don't allow inlining
19237 if setjmp is used.
19238
19239 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19240
19241 * c-parse.in (cast_expr): Constify.
19242
19243 * cccp.c (special_symbol): Likewise.
19244
19245 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
19246
19247 * dwarf2out.c (base_type_die): Likewise.
19248
19249 * global.c (allocno_compare): Likewise.
19250
19251 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
19252
19253 * regclass.c (fix_register): Likewise.
19254
19255 * rtl.h (fix_register): Likewise.
19256
19257 * stupid.c (stupid_reg_compare): Likewise.
19258
19259 * toplev.c (decode_f_option): Likewise.
19260
19261 * tree.c (build_complex_type): Likewise.
19262
19263 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
19264
19265 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
19266
19267 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19268
19269 * reload.c (find_reloads): Compute mode and nregs fields of all
19270 reloads.
19271 * reload1.c (calculate_needs_all_insns): Simplify a bit.
19272 (calculate_needs): Use precomputed mode/nregs values.
19273 (allocate_reload_reg): Likewise.
19274 Break out two...
19275 (failed_reload, set_reload_reg): ... new functions.
19276 (choose_reload_regs_init): New function, mostly broken out from...
19277 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
19278 Also lose one #if 0 block.
19279
19280 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
19281
19282 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
19283 substitution.
19284
19285 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
19286
19287 * tree.h (BLOCK_TYPE_TAGS): Remove.
19288 (BLOCK_END_NOTE): Likewise.
19289 (BLOCK_LIVE_RANGE_FLAG): Likewise.
19290 (BLOCK_LIVE_RANGE_START): Likewise.
19291 (BLOCK_LIVE_RANGE_END): Likewise.
19292 (tree_block): Remove live_range_flag, live_range_var_flag, and
19293 type_tags. Remove end_note, live_range_start, and live_range_end.
19294 (remember_end_note): Remove prototype.
19295 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
19296 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
19297 remember_end_note.
19298 * ggc-common.c (ggc_mark_tree_children): Don't mark
19299 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
19300 * integrate.c (adjust_copied_decl_tree): Remove.
19301 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
19302 * stmt.c (last_block_end_note): Remove.
19303 (init_stmt): Don't add a GC root for it.
19304 (expand_fixup): Don't set it.
19305 (remember_end_note): Remove.
19306 (expand_end_bindings): Don't set last_block_end_note.
19307
19308 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19309
19310 * reload1.c (reload_reg_free_for_value_p): Show
19311 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
19312 reloads.
19313
19314 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
19315
19316 * expmed.c (extract_bit_field): Allow for the case of non-integer
19317 objects that are smaller than a word (like SFmode on a 64-bit
19318 machine).
19319
19320 * loop.c (basic_induction_var): A non-integer variable which is
19321 being set by a paradoxical subreg is probably not a biv.
19322
19323 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
19324
19325 * prefix.c (translate_name) Check for empty prefix string.
19326
19327 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
19328
19329 * Makefile.in (CPP_CROSS_NAME): New variable.
19330 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
19331 xcpp.
19332 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
19333 names of the files to be uninstalled.
19334
19335 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
19336
19337 * collect2.c (IS_DIR_SEPARATOR): Define.
19338 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
19339
19340 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
19341 functions too.
19342
19343 * haifa-sched.c (add_dependence): Update the true dependency
19344 cache the first time we add a true dependence to the LOG_LINKS chain.
19345
19346 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
19347
19348 * fold-const.c (fold): Fix comment.
19349
19350 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19351
19352 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
19353 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
19354 dbxout_start_new_source_file, dbxout_source_file,
19355 dbxout_source_line, dbxout_finish, dbxout_type_fields,
19356 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
19357 Constify a char*.
19358 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
19359 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
19360 (dbxout_block): Initialize variable `blocknum'.
19361
19362 * dbxout.h (dbxout_init, dbxout_finish,
19363 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
19364 dbxout_args, dbxout_source_line): Constify a char*.
19365
19366 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
19367 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
19368 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
19369 low_pc_attribute, high_pc_attribute, body_begin_attribute,
19370 body_end_attribute, comp_dir_attribute, sf_names_attribute,
19371 src_info_attribute, mac_info_attribute, producer_attribute,
19372 lookup_filename, generate_macinfo_entry, fundamental_type_code,
19373 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
19374 dwarfout_undef): Constify a char*.
19375 (add_incomplete_type, retry_incomplete_types): Add prototypes.
19376
19377 * dwarfout.h (dwarfout_define, dwarfout_undef,
19378 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
19379
19380 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
19381
19382 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
19383 (MULTILIB_ISA_DEFAULT): New.
19384 (MULTILIB_DEFAULTS): Use it.
19385 * config/mips/mips.c (): Remove the now unnecessary definition
19386 of MIPS_ISA_DEFAULT.
19387 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
19388 unnecessary definition.
19389
19390 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
19391
19392 * arm.md (pic_load_addr): Add constraints to operand 1.
19393
19394 1999-10-25 Bruce Korb <autogen@linuxbox.com>
19395
19396 * fixinc/genfixes: Provide a means for specifying -D options to
19397 AutoGen
19398
19399 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
19400
19401 * arm.c (arm_override_options): Correct initialization of
19402 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
19403 arm_is_strong, and arm_is_6_or_7.
19404
19405 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
19406 (note_set_pseudo_multiple_uses): New function.
19407 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
19408 if a pseudo set in the loop exit is used elsewhere.
19409
19410 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
19411
19412 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
19413
19414 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
19415
19416 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
19417 a single load-address pattern.
19418
19419 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
19420
19421 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
19422 depending on whether or not line-number notes are present.
19423
19424 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19425
19426 * cccp.c (progname, file_buf, default_include, include_file,
19427 macrodef, definition, hashval, wchar_type, user_label_prefix,
19428 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
19429 expand_to_temp_buffer, is_system_include, base_name,
19430 absolute_filename, read_name_map, open_include_file,
19431 record_control_macro, check_precompiled, check_preconditions,
19432 pcfinclude, pass_thru_directive, create_definition,
19433 check_macro_name, comp_def_part, collect_expansion,
19434 check_assertion, read_token_list, assertion_install,
19435 assertion_lookup, eval_if_expression, conditional_skip,
19436 validate_else, skip_quoted_string, quote_string, macarg1,
19437 error_from_errno, install, lookup, hashf, dump_defn_1,
19438 perror_with_name, pfatal_with_name, main, trigraph_pcp,
19439 check_white_space, rescan, handle_directive, monthnames,
19440 special_symbol, do_include, remap_include_file, write_output,
19441 arglist, do_assert, do_unassert, do_line, do_error, do_once,
19442 do_ident, do_sccs, do_xifdef, skip_if_group,
19443 output_line_directive, macroexpand, macarg, change_newlines,
19444 initialize_builtins, make_definition): Constify a char*.
19445
19446 * pcp.h (stringdef): Likewise.
19447
19448 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
19449
19450 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
19451 not of pattern.
19452
19453 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
19454 Richard Henderson <rth@cygnus.com>
19455
19456 * alias.c: Include ggc.h.
19457 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
19458 (record_set): Verify enough room in reg_base_value.
19459 (init_alias_analysis): Allocate reg_base_value with xcalloc.
19460 Register it as a GC root.
19461 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
19462 * Makefile.in (alias.o): Depend on ggc.h.
19463
19464 * unroll.c (unroll_loop): Verify the insn before a barrier
19465 is a JUMP_INSN before checking JUMP_LABEL.
19466
19467 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19468
19469 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
19470 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
19471 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
19472 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
19473 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
19474 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
19475
19476 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19477
19478 * output.h (ctors_section, dtors_section, bss_section): Prototype.
19479
19480 * alpha/alpha-interix.h (text_section): Delete prototype.
19481 * alpha/elf.h (text_section): Likewise.
19482 * arm/linux-elf.h (text_section): Likewise.
19483 * arm/linux-telf.h (text_section): Likewise.
19484 * c4x/c4x.h (text_section): Likewise.
19485 * dsp16xx/dsp16xx.h (bss_section): Likewise.
19486 * elfos.h (text_section): Likewise.
19487 * i386/aix386ng.h (text_section): Likewise.
19488 * i386/i386-interix.h (text_section): Likewise.
19489 * i386/sco5.h (text_section): Likewise.
19490 * i386/svr3gas.h (text_section): Likewise.
19491 * nextstep.h (text_section): Likewise.
19492 * psos.h (text_section): Likewise.
19493 * ptx4.h (text_section): Likewise.
19494 * svr3.h (text_section): Likewise.
19495 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
19496
19497 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19498
19499 * final.c (peephole): Delete prototype.
19500
19501 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
19502 (pre_insert_copies): Remove unused variable `bb'.
19503
19504 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
19505 prototypes.
19506
19507 * output.h (peephole): Add prototype.
19508
19509 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
19510
19511 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
19512 -O0.
19513
19514 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
19515
19516 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
19517 for inlined declarations.
19518
19519 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
19520
19521 * arm.c (logical_binary_operator): New fucntion.
19522 * arm.h (logical_binary_operator): Declare it.
19523 (PREDICATE_CODES): Handle logical_binary_operator.
19524 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
19525 output constraints. Add appropriate splitters.
19526 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
19527 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
19528 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
19529
19530 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19531
19532 * genoutput.c (struct operand_data): New elt eliminable.
19533 (output_operand_data): Write it.
19534 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
19535 (compare_operands): Take it into account.
19536 * recog.h (struct insn_operand_data): New elt eliminable.
19537 * reload1.c (check_eliminable_occurrences, elimination_effects): New
19538 functions.
19539 (old_asm_operands_vec, new_asm_operands_vec): Delete.
19540 (eliminate_regs): Move code that detects changes to elimination
19541 target regs into new function elimination_effects.
19542 Delete one #if 0 block.
19543 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
19544 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
19545 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
19546 Only call eliminate_regs for real operands of the insn, not for parts
19547 of its structure or parts matched by things like match_operator.
19548 Use elimination_effects and check_eliminable_occurrences. Use
19549 copy_insn to duplicate the pattern when not in the final pass.
19550
19551 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
19552
19553 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
19554 and fld.
19555
19556 1999-10-22 Bruce Korb <autogen@linuxbox.com>
19557
19558 * fixinc/README: document the "mach" machine matching test
19559 * fixinc/fixfixes.c: Implement the #else/#endif label fix
19560 * fixinc/fixtests.c: Implement the #else/#endif label test
19561 * fixinc/inclhack.def: utilize these tests and fixes
19562 * fixinc/inclhack.sh: regen
19563 * fixinc/fixincl.x: regen
19564 * fixinc/fixincl.sh: regen
19565
19566 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
19567
19568 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
19569 depend on ggc.h.
19570
19571 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
19572
19573 * gcc.1: Document exit codes.
19574
19575 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19576
19577 * calls.c: Include tm_p.h later, so everything we need is defined.
19578 * expr.c: Likewise.
19579 * function.c: Likewise.
19580
19581 * except.c: Include tm_p.h.
19582
19583 * sparc.c: Likewise.
19584 (dwarf2out_cfi_label): Don't prototype.
19585 (check_return_regs, epilogue_renumber,
19586 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
19587 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
19588 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
19589 ultra_schedule_insn): Add static prototype.
19590 (data_segment_operand, text_segment_operand): Call itself with the
19591 proper number of arguments.
19592 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
19593
19594 * sparc.h: Move all declarations to sparc-protos.h.
19595 (SELECT_RTX_SECTION): Pass a missing MODE argument to
19596 symbolic_operand.
19597
19598 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
19599
19600 * config/svr4.h (text_section, ctors_section, dtors_section): Add
19601 Prototypes.
19602 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
19603 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
19604 ASM_OUTPUT_ASCII): Constify a char*.
19605
19606 * sparc-protos.h: New file for sparc prototypes.
19607
19608 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19609
19610 * function.c (record_insns, contains): Always declare and define.
19611 (record_insns): Mark with ATTRIBUTE_UNUSED.
19612
19613 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
19614
19615 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
19616 to .section when outputting a .bss section to deal with multiple
19617 .bss input sections (as happens with -fdata-sections)
19618 Also output %progbits, not @progbits so the assembler doesn't treat as
19619 a comment.
19620 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
19621
19622 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
19623 thumb parts even when building with non-thumb CPUs, by forcing
19624 thumb mode.
19625
19626 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
19627
19628 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
19629 (movdf_const_intreg_sp64): Similarly.
19630
19631 * local-alloc.c (update_equiv_regs): Check the correct insn
19632 for pre-existing REG_EQUIV notes.
19633
19634 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
19635
19636 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
19637 block reached by a branch if we're not going to actually process
19638 this block.
19639
19640 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
19641
19642 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
19643 a local extern function declaration.
19644
19645 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
19646
19647 * i386.c (ix86_expand_prologue): Properly wrap USE around
19648 reg for CALL_INSN_FUNCTION_USAGE.
19649
19650 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
19651
19652 * config/mips/mips.md (movdf_internal1a): Allow floating-point
19653 move between GP_REGs.
19654
19655 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
19656
19657 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
19658 the mode size when finding out if an offset is legal.
19659
19660 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
19661
19662 * basic-block.h (PROP_*): Move constants from ...
19663 * flow.c: ... here.
19664 (compute_bb_for_insn): Free the array before reallocating.
19665 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
19666 (allocate_reg_life_data): Reset all reg variables collected by
19667 propagate_block.
19668 (get_block_head_tail): Don't convert from bb to block.
19669 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
19670 (find_insn_reg_weight): Take block not bb.
19671 (schedule_block): Don't set block num for moved insns.
19672 (schedule_region): Don't update_life_info or find_insn_reg_weight.
19673 (schedule_insns): Do it here instead.
19674 * combine.c (combine_instructions): Invoke compute_bb_for_insn
19675 before update_life_info.
19676 * recog.c (split_all_insns, peephole2_optimize): Update for
19677 new arg to update_life_info.
19678 * rtlanal.c (remove_note): Cope with NULL note.
19679 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
19680 if we did sched1.
19681
19682 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
19683
19684 * jump.c (jump_optimize_1): More accurately detect casesi insns.
19685
19686 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
19687 block records so that merge_blocks_nomove will clean up correctly.
19688 (split_edge): Handle casesi insns.
19689
19690 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
19691
19692 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
19693
19694 * pa.md (call, call_value): Do not emit a blockage after restoring
19695 the PIC register.
19696
19697 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
19698
19699 * c-typeck.c (c_expand_asm_operands): Fix typo.
19700
19701 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19702
19703 * arm.c (fpu_rhs_operand): Verify modes.
19704 (fpu_add_operand): Likewise.
19705 (di_operand): Likewise.
19706 (soft_df_operand): Likewise.
19707
19708 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
19709
19710 * arm.c (arm_return_in_memory): APCS rules state that the elements
19711 of a structure returned in a register must be 'integer-like'.
19712
19713 1999-10-19 Bruce Korb <autogen@linuxbox.com>
19714
19715 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
19716 in the source tree when the generated targets are out of date
19717 * fixinc/genfixes: Alter it to run individual fixes for make.
19718 * fixinc/README: rewrite
19719 * fixinc/inclhack.def: moved initial comments to README
19720
19721 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
19722
19723 * toplev.c (main): Do not generate an error message if an
19724 unrecognised command line switch is recognisable by another
19725 language. If extra_warnings are enabled, then generate a
19726 warning message instead.
19727
19728 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
19729
19730 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
19731 (insert_pack_attributes): Delete prototype.
19732
19733 * c-pragma.c (default_alignment): New static variable.
19734 (push_alignment): Initialize to current effective alignment.
19735 (pop_alignment): Use to set new alignment.
19736 (insert_pack_attributes): Delete function.
19737 (handle_pragma_token): Set default_alignment as well each time
19738 a #pragma pack(<n>) is encountered.
19739
19740 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
19741
19742 * reg-stack.c (stack_result): Aggregates are not returned in
19743 stack registers.
19744
19745 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
19746
19747 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
19748
19749 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
19750
19751 * basic-block.h (set_block_num): Declare.
19752 * flow.c (update_life_info): Don't call compute_bb_for_insn
19753 or free_basic_block_vars.
19754 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
19755 (insn_orig_block): Remove.
19756 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
19757 (schedule_block): Keep BLOCK_NUM up-to-date.
19758 (schedule_insns): Use compute_bb_for_insn.
19759 * recog.c (split_all_insns): Likewise.
19760 (peephole2_optimize): Likewise.
19761
19762 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
19763
19764 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
19765 if the pic register is used.
19766
19767 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19768
19769 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
19770 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
19771 if that tests TREE_PERMANENT.
19772
19773 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
19774
19775 * cse.c (invalidate_for_call): Do not remove memory references from
19776 the table here. It's handled elsewhere.
19777
19778 * haifa-sched.c (add_dependence): Protect references to the
19779 true dependency cache with #ifdef INSN_SCHEDULING.
19780 (remove_dependence): Similarly.
19781
19782 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
19783 to the cfg code that this is a return instruction.
19784 * mn10300.md (return_internal): Similarly.
19785
19786 * combine.c (get_last_value): If the last set of a register
19787 is after subst_low_cuid, then we can not use it to determine
19788 the register's last value.
19789
19790 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
19791
19792 * Makefile.in: Back out previous change.
19793
19794 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
19795
19796 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
19797
19798 * haifa-sched.c (add_dependence): Only check/update the cache
19799 if it exists.
19800 (remove_dependence): Likewise.
19801 (schedule_insns): Only create the true_dependency_cache if the
19802 average number of instructions in a basic block is very large.
19803
19804 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
19805
19806 * Makefile.in (ggc-common.o): Depend on genrtl.h.
19807 (ggc-simple.o): Likewise.
19808 (ggc-page.o): Likewise.
19809
19810 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
19811
19812 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
19813 Prototype for exported functions.
19814 (pre_lcm, pre_rev_lcm): Remove prototypes.
19815 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
19816 (compute_available): Move to lcm.c, and change parameter order.
19817 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
19818 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
19819 (gcse_main): No longer call compute_preds_succs. Rebuild the
19820 set table after reach pre pass.
19821 (pre_insert_map, pre_delete_map, edge_list): New.
19822 (alloc_pre_mem): Allocate edge vectors.
19823 (free_pre_mem): Delete edge vectors.
19824 (compute_pre_data): Call new edge based lcm routines.
19825 (process_insert_insn): New function.
19826 (insert_insn_end_bb): Use it.
19827 (pre_edge_insert): New function.
19828 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
19829 needed.
19830 (pre_insert_copies): Revamp using new edge based lcm outputs.
19831 (pre_delete): Likewise.
19832 (one_pre_gcse_pass): Insert & remove fake edges to the exit
19833 block.
19834 (compute_code_hoist_vbeinout): New new edge based routines.
19835 * lcm.c: Remove all the old LCM functions. Replace with new ones
19836 that work with the new cfg datastructures and work with edges
19837 instead of blocks.
19838
19839 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19840
19841 * reload.h (struct reload): Add new fields "mode" and "nregs".
19842 * reload1.c: Change all occurrences of reload_mode and reload_nregs
19843 to reference the "mode" and "nregs" field within struct reload.
19844
19845 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
19846
19847 * haifa-sched.c (true_dependency_cache): New.
19848 (add_dependence): Use the true dependency cache to avoid expensive
19849 walks down the LOG_LINKS dependency list. Add entries to the
19850 cache as necessary.
19851 (remove_dependence): Remove entries from the true dependency cache
19852 as needed.
19853 (schedule_insns): Allocate and initialize and free the true
19854 dependency cache.
19855
19856 * haifa-sched.c (schedule_insns): Do not remove inter-block
19857 dependencies anymore.
19858
19859 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
19860
19861 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
19862 * i386/t-winnt: Likewise.
19863
19864 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
19865
19866 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
19867
19868 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
19869
19870 * Makefile.in (LANGUAGES): Omit "proto".
19871 (clean): Remove stale comment about removing unprotoize.c.
19872
19873 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19874
19875 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
19876 using arithmetic on void pointers.
19877
19878 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
19879
19880 * haifa-sched.c (compute_block_forward_dependencies): Only check
19881 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
19882
19883 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
19884
19885 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
19886 (expr_equiv_p): Reject memories with different alias sets.
19887
19888 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
19889
19890 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
19891 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
19892 (f_options): Add "bounded-pointers" and "bounds-check" entries.
19893 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
19894 (lang_init): Set default for flag_bounds_check if still "unspecified".
19895
19896 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19897
19898 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
19899
19900 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19901
19902 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
19903 instructions.
19904
19905 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19906
19907 * config/c4x/c4x.md (*db_noclobber,
19908 *decrement_and_branch_until_zero_noclobber): New patterns and
19909 associated splitters.
19910
19911 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19912
19913 * config/c4x/c4x.md (parallel instruction patterns): Rework
19914 constraints to keep reload happy.
19915
19916 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19917
19918 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
19919 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
19920 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
19921 Add new patterns and associated post-reload splitters.
19922
19923 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19924
19925 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
19926
19927 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19928
19929 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
19930 if appropriate.
19931 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
19932
19933 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19934
19935 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
19936 memory mode.
19937
19938 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
19939
19940 * pa.c (move_operand): Rely on memory_address_p to determine the
19941 validity of non-indexed memory addresses.
19942 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
19943 operand in DFmode and SFmode when generating PA2.0 code.
19944
19945 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
19946
19947 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
19948
19949 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
19950
19951 * mips.c (function_prologue): Fix argument types.
19952 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
19953 (casesi_internal): Write to the scratch register.
19954
19955 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
19956
19957 * cppexp.c (cpp_parse_escape): Make static. Change second arg
19958 to U_CHAR **.
19959 (parse_charconst): Delete unnecessary cast when calling
19960 cpp_parse_escape.
19961 (cpplib.h): Kill prototype of cpp_parse_escape.
19962
19963 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
19964
19965 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
19966 * unroll.c (unroll_loop): Cast return value of alloca.
19967 * i370/i370.c: Include function.h and toplev.h.
19968 (i370_label_scan): Remove c++ commented abort.
19969 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
19970 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
19971 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
19972 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
19973
19974 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
19975
19976 * config/t-freebsd: Do not override USER_H.
19977 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
19978
19979 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
19980 Mumit Khan <khan@xraylith.wisc.edu>
19981
19982 * c-parse.in (component_decl): Support anonymous struct/union.
19983 (%expect): Update.
19984 * c-parse.y: Regenerate.
19985 * c-parse.c: Likewise.
19986 * objc/objc-parse.y: Likewise.
19987 * objc/objc-parse.c: Likewise.
19988 * c-decl.c (finish_struct): Don't sort the fields.
19989 (field_decl_cmp): Delete unused function.
19990
19991 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
19992
19993 * sparc.md (movsf_const_intreg): Revert last constraint change.
19994 (movdf_const_intreg_sp32): Likewise.
19995
19996 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
19997
19998 * cse.c: Include hashtab.h instead of splay-tree.h
19999 (struct cse_reg_info): No longer use variant union. Add new
20000 field "regno". All references changed to avoid union.
20001 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
20002 (free_cse_reg_info): Remove.
20003 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
20004 (get_cse_reg_info): Revamp to use expandable hash tables instead
20005 of splay trees. Initialize new fields in cse_reg_info structure.
20006 (new_basic_block): Similarly.
20007
20008 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
20009
20010 * genrecog.c (message_with_line): Prototype.
20011 (validate_pattern): Pass along the set for the dest, not a flag.
20012 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
20013 Check for PC/CC0 as sources.
20014 (nodes_identical): Check for children position match before
20015 allowing the combination.
20016
20017 * rtl.c (read_rtx): Track line number across \\\n.
20018
20019 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
20020
20021 * mips.h (SPECIAL_MODE_PREDICATES): New.
20022 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
20023 (movdi+1, movsi+1): Add output reload constraint.
20024 (casesi_internal): Likewise. Fix commentary.
20025 (return_internal): Use pmode_register_operand.
20026
20027 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
20028
20029 * 1750a.md (movstrqi): Add missing output reload constraint.
20030 (call_value): Likewise.
20031 * a29k.md (cpxxx patterns): Add missing match_operator mode.
20032 (jmpfdec): Add missing inout reload constraint.
20033 * elxsi.md (addsi patterns): Add missing output reload constraint.
20034 (move from sp): Use @ alternates.
20035 (call_value): No constraint on output.
20036 * fr30.md (movsi_pop): Add missing output reload constraint.
20037 (movsf_constant_store): Likewise.
20038 (splits): Remove constraints.
20039 (subsi3): Add missing mode.
20040 * i370.md (cmpstrsi+1): Add missing output reload constraint.
20041 (call_value): Likewise.
20042 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
20043 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
20044 * m32r.md (movsicc_internal): Add output reload constraint.
20045 (movstrsi_internal): Add inout reload constraints.
20046 * m88k.h (reg_names): Don't declare.
20047 (SPECIAL_MODE_PREDICATES): New.
20048 * m88k.md (*): Use register_operand not reg_or_0_operand
20049 on destinations.
20050 * mn10200.h (PREDICATE_CODES): New.
20051 * ns32k.md (ffs pattern): Add output reload constraint.
20052 * pdp11.md (sob pattern): Add inout reload constraint.
20053 * sh.md (splits): Remove constraints.
20054 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
20055 * v850.md (pattern_is_ok_for_epilogue): Likewise.
20056 * vax.md (jgequ pattern): Add inout reload constraint.
20057
20058 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
20059
20060 * configure.in (djgpp): Revert previous patch.
20061 * configure: Rebuit.
20062 * config/i386/djgpp.h: Revert previous patch.
20063
20064 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
20065
20066 * fixinc/inclhack.def: Restore patch lost during last merge of
20067 "no_bogosity" branch.
20068 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
20069
20070 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
20071
20072 * fixincludes: Add a HPUX 11 fix for inttypes.h.
20073 * fixinc/inclhack.def: Same.
20074 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
20075
20076 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
20077
20078 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
20079 as the base of a PLUS.
20080
20081 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20082
20083 * config/c4x/c4x.md: Define mode for remaining unspec operators.
20084 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
20085
20086 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
20087
20088 * pa.md (post_stw+1): Use pmode_register_operand.
20089 (dcacheflush, icacheflush): Likewise.
20090
20091 * i386.md (movstricthi_1): Allow r/r.
20092
20093 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
20094
20095 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
20096 to (not (and (arg0) (arg1))). Similary for and.
20097
20098 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
20099 fallthrough to associate code.
20100 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
20101 bits in common.
20102
20103 * combine.c (simplify_logical): Convert XOR to IOR if operands have
20104 no bits in common; remove XOR to ROTATE conversion.
20105
20106 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20107
20108 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
20109
20110 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20111
20112 * config/c4x/c4x.c (dst_operand): New.
20113 (PREDICATE_CODES): Update.
20114 * config/c4x/c4x.h (dst_operand): Declare it.
20115 * config/c4x/c4x.md: Define mode for each unspec usage.
20116 (move patterns): Use dst_operand predicate instead of src_operand.
20117 (movqi_update, movqf_update): Delete.
20118
20119 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
20120
20121 * recog.c (pmode_register_operand): New.
20122 * recog.h: Declare it.
20123 * genrecog.c (pred_codes): Likewise.
20124 (special_mode_pred_table): Likewise.
20125 (validate_pattern): Don't warn no mode for address_operand.
20126
20127 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
20128 if the operand is not insn-like.
20129
20130 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
20131 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
20132
20133 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
20134
20135 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
20136
20137 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
20138 instead of general_operand in a SET_DEST. Use const_double_operand
20139 instead of an explicit test against CONST_DOUBLE.
20140 (movsf_const_lo): Add missing register mode.
20141 (goto_handler_and_restore): Add auxiliary test for Pmode.
20142 (flush): Adjust to use address_operand.
20143 (return_sf_no_fpu): Add missing output constraint.
20144
20145 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
20146
20147 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
20148 for call return value.
20149 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
20150
20151 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
20152
20153 * toplev.c (main): Only warn about options for other languages.
20154 * collect2.c (main): Pass -w to sub-gcc.
20155
20156 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
20157
20158 * flow.c (propagate_block): Add call-clobbered registers to
20159 significant too.
20160
20161 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
20162 zapping mem_set_list.
20163 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
20164 (mark_set_1, mark_used_regs): Likewise.
20165
20166 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
20167
20168 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
20169
20170 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
20171
20172 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
20173 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
20174 options. Also add a new item "C-only Warning Options" to the
20175 option summary.
20176
20177 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
20178
20179 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
20180 from multiple calls.
20181
20182 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
20183
20184 * i386.md (call value patterns): Move to the end of the file.
20185 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
20186
20187 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
20188
20189 * configure.in (djgpp configuration): Define extra_objects..
20190 * configure: Rebuilt.
20191 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
20192 (DTORS_SECTION_ASM_OP): Define.
20193 (INIT_SECTION_ASM_OP): Define.
20194 (FINI_SECTION_ASM_OP): Define.
20195 (DATA_SECTION_ASM_OP): Define.
20196 (TEXT_SECTION_ASM_OP): Define.
20197 (EH_FRAME_SECTION_ASM_OP): Define.
20198 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
20199 (STARTFILE_SPEC): Add crtbegin.o.
20200 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
20201 to here from LINK_COMMAND_SPEC.
20202 (DO_GLOBAL_CTORS_BODY): Define.
20203 (CRTSTUFF_USE_FINI_SECTION): Define
20204 (HAS_INIT_SECTION): Delete.
20205
20206 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
20207
20208 * Makefile.in (all.cross): Depend on xcpp$(exeext).
20209
20210 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
20211
20212 * pa.h (PREDICATE_CODES): New.
20213
20214 * genrecog.c (validate_pattern): Condense the destination
20215 non-lvalue message.
20216
20217 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
20218
20219 * alpha.md (call-1): Supply missing mode for operator.
20220 (*): Add missing output reload constraints. Remove constraints
20221 from define_splits.
20222
20223 * i386.h (SPECIAL_MODE_PREDICATES): New.
20224 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
20225 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
20226 (addsi_lea_3): Add missing mode for op 3.
20227 (prologue_set_got, prologue_get_pc): Add missing modes.
20228 (*) Add missing output reload constraints.
20229
20230 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
20231
20232 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
20233 check for member bit-size overflow and use var_size if it occurs.
20234 (layout_record): Use bitsize_int() to define the type size in bits.
20235 Likewise for computation and assignment to DECL_FIELD_BITPOS.
20236 (layout_decl): Likewise when assigning to DECL_SIZE.
20237
20238 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
20239
20240 * genrecog.c (validate_pattern): Typo last change. Verify
20241 that output operands have output reloads.
20242
20243 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
20244
20245 * genrecog.c (special_mode_pred_table): New.
20246 (NUM_SPECIAL_MODE_PREDS): New.
20247 (find_operand): New.
20248 (validate_pattern): New argument `insn'. Warn for assignment to
20249 any predicate accepting non-lvalues. Conditionaly warn for
20250 match_operand without a mode. Try much harder to match source
20251 and destination modes on a set.
20252 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
20253
20254 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
20255
20256 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
20257
20258 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
20259
20260 * combine.c (simplify_logical): Recognize xor pattern that encodes
20261 rotation.
20262
20263 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20264
20265 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
20266 alignment.
20267
20268 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
20269
20270 * ggc-page.c (MAP_FAILED): Provide default.
20271
20272 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
20273
20274 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
20275 * sparc.h (PREDICATE_CODES): Update.
20276
20277 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
20278
20279 * alpha.c (some_ni_operand): New.
20280 * alpha-protos.h: Declare it.
20281 * alpha.h (PREDICATE_CODES): Update.
20282 * alpha.md (sXaddq reload insns): Use some_ni_operand
20283 for SET_DEST instead of some_operand.
20284
20285 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
20286 Jim Wilson <wilson@cygnus.com>
20287
20288 * genrecog.c (maybe_both_true_2): Don't compare modes of
20289 two DT_pred tests.
20290 (process_tree): Elide peephole2_insns. Invoke simplify_tests
20291 after find_afterward.
20292 (debug_decision_1): Dump next and afterward codes.
20293
20294 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
20295
20296 * rtl.c (dump_and_abort): Remove.
20297 (fatal_with_file_and_line): New.
20298 (fatal_expected_char): New.
20299 (read_rtx_lineno, read_rtx_filename): New.
20300 (read_skip_spaces): Track line number.
20301 (read_name): Use fatal_with_file_and_line.
20302 (read_rtx): Use fatal_expected_char. Track line number.
20303 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
20304
20305 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
20306 if it isn't a CODE_LABEL.
20307
20308 * genattr.c (main): Set read_rtx_filename.
20309 * genattrtab.c (main): Likewise.
20310 * gencodes.c (main): Likewise.
20311 * genconfig.c (main): Likewise.
20312 * genemit.c (main): Likewise.
20313 * genextract.c (main): Likewise.
20314 * genflags.c (main): Likewise.
20315 * genopinit.c (main): Likewise.
20316 * genoutput.c (main): Likewise.
20317 * genpeep.c (main): Likewise.
20318
20319 * genrecog.c (decision_test.u.insn): Add `lineno'.
20320 (pattern_lineno, error_count): New variables.
20321 (message_with_line): New.
20322 (add_to_sequence): Break out checking code to ...
20323 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
20324 (merge_insn): Use message_with_line.
20325 (make_insn_sequence): Use validate_pattern. Record insn lineno.
20326 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
20327
20328 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20329
20330 * expr.c (store_constructor): Clear union if constructor is empty.
20331
20332 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
20333
20334 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
20335 Add !endian checks. Change %{...} to %(...).
20336
20337 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
20338
20339 * i386.md (*addsi3_cc): Renamed from addcsi3.
20340 (*addsi3_carry): Renamed from addxsi3.
20341 (*subsi3_cc): Renamed from subcsi3.
20342 (*subsi3_carry): Renamed from subxsi3.
20343 (*xorqi_cc_1): Renamed from xorcqi_1.
20344 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
20345 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
20346
20347 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
20348
20349 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
20350 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
20351
20352 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
20353
20354 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
20355 climb up the chain of insns.
20356
20357 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
20358
20359 * genrecog.c (write_subroutine): Careful for null trees.
20360 (process_tree): Don't elide empty functions.
20361
20362 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
20363
20364 * Makefile.in (genrtl.o): Depend on ggc.h.
20365 * configure.in (valloc): Probe for it.
20366 (with-gc): Use ggc-page if valloc present.
20367 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
20368 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
20369 (ggc_alloc_string): Moved from ggc-page.c.
20370 * ggc-none.c (ggc_alloc_obj): New.
20371 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
20372 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
20373 (struct globals): Likewise for dev_zero_fd.
20374 (init_ggc): Likewise for it's initialization.
20375 (ggc_allocated_p): Move careful dereference from ...
20376 (ggc_lookup_page_table): ... here. Delete.
20377 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
20378 (alloc_anon): Use valloc if no mmap.
20379 (release_pages): Use free if using valloc.
20380 (ggc_alloc_obj): Renamed from alloc_obj.
20381 (ggc_set_mark): Renamed from mark_obj.
20382 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
20383 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
20384 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
20385 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
20386 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
20387 (ggc_collect): Use fp printing instead of our own rounding.
20388 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
20389 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
20390 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
20391 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
20392 (struct ggc_string, struct ggc_any): Delete.
20393 (offsetof): Provide default definition.
20394 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
20395 (PTR_KEY): New.
20396 (struct ggc_mem): New, from corpse of ggc_any.
20397 (struct ggc_status): Delete.
20398 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
20399 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
20400 (n_strings_collected, n_anys_collected): Delete.
20401 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
20402 (ggc_alloc_string, ggc_alloc): Delete.
20403 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
20404 (ggc_free_string, ggc_free_any): Delete.
20405 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
20406 (ggc_compare_addresses, ggc_mark_string): Delete.
20407 (ggc_mark_string_if_gcable, ggc_mark): Delete.
20408 (search_data): Delete.
20409 (struct globals): New.
20410 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
20411 (tree_insert, tree_lookup): New.
20412 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
20413 (clear_marks, sweep_objs): New.
20414 (ggc_collect): Gut. Use clear_marks, sweep_objs.
20415 (init_ggc): Set allocated_last_gc.
20416 (ggc_push_context): Gut. Use G.context.
20417 (ggc_pop_context): Likewise.
20418 (ggc_pop_context_1): New.
20419 (debug_ggc_tree): New.
20420 (debug_ggc_balance, tally_leaves): New.
20421 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
20422 (ggc_mark_string_if_gcable): Remove decl.
20423 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
20424 (ggc_mark_rtvec_children): New.
20425 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
20426 (ggc_mark_if_gcable): New decl.
20427 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
20428 (ggc_alloc_tree, ggc_alloc): Likewise.
20429 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
20430 (ggc_alloc_obj): New decl.
20431 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
20432 (ggc_alloc_tree, ggc_alloc): Likewise.
20433 (ggc_set_mark): New decl.
20434 * rtl.h (struct rtx_def): Remove gc_mark.
20435 (struct rtvec_def): Likewise.
20436 * tree.h (struct tree_common): Likewise.
20437
20438 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
20439
20440 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
20441 float_format and thread_file definitions.
20442 * configure: Rebuilt.
20443
20444 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
20445
20446 * extend.texi (Function Names): Document types of function names.
20447
20448 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20449
20450 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
20451 an earlyclobbered output conflict with RELOAD_INPUT reloads.
20452
20453 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20454
20455 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
20456
20457 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20458
20459 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
20460
20461 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
20462
20463 * collect2.c (main): Do prelimnary link on AIX if rflag.
20464
20465 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
20466
20467 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
20468 __CTOR_LIST__ in opposite order, which is the correct order for sorted
20469 constructors.
20470 (__do_global_dtors): similarly for __DTOR_LIST__.
20471
20472 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20473 Diego Novillo <dnovillo@cygnus.com>
20474
20475 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
20476 FPUL_REGS.
20477
20478 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
20479
20480 * fixincl/*: Merged "no_bogosity" branch
20481 * fixincl/fixlib.h: protect against doubly defining t_bool
20482 * fixincl/server.h: protect against doubly defining t_bool
20483
20484 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
20485
20486 * genoutput.c: Include toplev.h.
20487
20488 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
20489
20490 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
20491 Undef.
20492 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
20493 * configure: Regenerate.
20494
20495 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
20496
20497 * gcse.c (delete_null_pointer_checks): Returns void.
20498
20499 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20500
20501 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
20502 * emit-rtl.c (copy_insn_1): Likewise.
20503
20504 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
20505
20506 * config/mips/mips.c (mips_build_va_list): Correct
20507 TREE_CHAIN setting when hard-float.
20508 (mips_va_start): Use corrected setting.
20509 (mips_va_arg): Likewise. Also pass a tree to build of
20510 POSTINCREMENT_EXPR rather than a naked 'int'.
20511
20512 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
20513
20514 * ggc.h (ggc_push_context): Fix comment.
20515 (ggc_pop_context): Likewise.
20516 (mark_string_if_gcable): Likewise.
20517 * ggc-common.c (ggc_mark_rtx_children): Use
20518 ggc_mark_string_if_gcable.
20519 * ggc-page.c (ggc_lookup_page_table): New function.
20520 (ggc_allocated_p): Likewise.
20521 (mark_obj): Fix formatting.
20522 (ggc_mark_string_if_gcable): New function.
20523 * ggc-simple.c (ggc_allocated_strings): New variable.
20524 (ggc_strings_used): Likewise.
20525 (ggc_compare_addresses): New function.
20526 (ggc_pop_context): Pop the `any' memory too.
20527 (ggc_mark_string_if_gcable): New function.
20528 (ggc_collect): Initialize and tear down ggc_allocated_strings.
20529
20530 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
20531
20532 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
20533 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
20534 * rs6000.c (expand_block_move): Match movstrsi_?reg register
20535 changes.
20536
20537 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
20538
20539 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
20540 (sched_reg_live_length, sched_reg_basic_block): Delete.
20541 (current_block_num, bb_live_regs, old_live_regs): Delete.
20542 (dead_notes, struct sometimes): Delete.
20543 (sched_note_set, birthing_insn_p): Delete.
20544 (adjust_priority): Gut useless reg lifetime code.
20545 (create_reg_dead_note, attach_deaths): Delete.
20546 (attach_deaths_insn, new_sometimes_live): Delete.
20547 (finish_sometimes_live): Delete.
20548 (find_pre_sched_live, find_post_sched_live): Delete.
20549 (update_reg_usage): Delete.
20550 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
20551 (schedule_insns): Delete reg lifetime code.
20552 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
20553 (unlink_other_notes): Adjust REG_NOTE commentary.
20554 (reemit_notes): Use REG_SAVE_NOTE.
20555 (schedule_block): Likewise.
20556 (schedule_region): Allocate bitmap of blocks in region. Use
20557 count_or_remove_death_notes. Use update_life_info.
20558
20559 * rtl.h (REG_SAVE_NOTE): New.
20560 * rtl.c (reg_note_name): Update.
20561
20562 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
20563
20564 * combine.c (refresh_blocks, need_refresh): New.
20565 (combine_instructions): Allocate refresh_blocks. Invoke
20566 update_life_info if needed.
20567 (distribute_notes): Mark refresh_blocks instead of installing
20568 USE insns.
20569 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
20570 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
20571
20572 * Makefile.in (recog.o): Depend on basic-block.h.
20573
20574 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
20575
20576 * genrecog.c (add_to_sequence): Thinko last change: delete
20577 shadowing allow_const_int variable.
20578
20579 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20580
20581 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
20582 __GNUC__ and __GNUC_MINOR__.
20583
20584 * gansidecl.h: Likewise.
20585
20586 * rtl.c: Likewise.
20587
20588 * rtl.h: Likewise.
20589
20590 * toplev.h: Likewise.
20591
20592 * tree.c: Likewise.
20593
20594 * tree.h: Likewise.
20595
20596 * varray.c: Likewise.
20597
20598 * varray.h: Likewise.
20599
20600 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20601
20602 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
20603 use one before a jump table.
20604
20605 * rtl.def (ADDRESS): Change documentation to match reality.
20606 * md.texi: Don't document it.
20607 * gmicro.md (load address pattern): Use 'p' constraint, delete use
20608 of ADDRESS rtx.
20609
20610 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
20611
20612 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
20613
20614 * genrecog.c (add_to_sequence): Move allow_const_int test outside
20615 known predicate block; default allow_const_int true.
20616 (debug_decision_list): New.
20617
20618 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
20619
20620 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
20621
20622 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
20623
20624 * gcse.c (gcse_main): Avoid global optimizations if we have a
20625 large number of basic blocks and the ratio of edges to blocks
20626 is high.
20627 (delete_null_pointer_checks): Likewise.
20628
20629 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
20630
20631 * c-common.c (check_format_info): Warn if format string isn't a
20632 string literal.
20633
20634 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
20635
20636 * configure.in (arm*-*-*): Don't let autoconf remove brackets
20637 * configure: regenerate
20638
20639 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
20640
20641 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
20642 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
20643 (peepholes): Re-enable.
20644
20645 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
20646
20647 * Makefile.in (flow.o): Depend on TREE_H.
20648 * basic-block.h (REG_SET_EQUAL_P): New.
20649 (XOR_REG_SET): New.
20650 (n_edges): Declare.
20651 (free_regset_vector): Remove declaration.
20652 (flow_delete_insn_chain): Declare.
20653 (enum update_life_extent): New.
20654 (update_life_info, count_or_remove_death_notes): Declare.
20655 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
20656 Verify register live at bb->global_live_at_start before adding USE.
20657 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
20658 (CLEAN_ALLOCA): New.
20659 (n_edges): New.
20660 (PROP_*): New flags.
20661 (find_basic_blocks_1): Use alloc_EXPR_LIST.
20662 (clear_edges): Zero n_edges.
20663 (make_edge): Increment n_edges.
20664 (split_edge): Don't allocate bb->local_set. Increment n_edges.
20665 (flow_delete_insn_chain): Export.
20666 (delete_block): Decrement n_edges.
20667 (merge_blocks_nomove): Likewise.
20668 (life_analysis): Give life_analysis_1 PROP flags.
20669 (verify_wide_reg_1, verify_wide_reg): New.
20670 (verify_local_live_at_start): New.
20671 (update_life_info): Rewrite to call into propogate_block.
20672 (mark_reg): New.
20673 (mark_regs_live_at_end): After reload, if epilogue as rtl,
20674 always mark stack pointer. Conditionally mark PIC register.
20675 After reload, mark call-saved registers, return regsiters.
20676 (life_analysis_1): Accept PROP flags not remove_dead_code.
20677 Call mark_regs_live_at_end before zeroing regs_ever_live.
20678 Use calculate_global_regs_live. Copy global_live_at_end before
20679 calling final propagate_block. Zero reg_next_use on exit.
20680 (calculate_global_regs_live): New.
20681 (allocate_bb_life_data): Don't allocate bb->local_set.
20682 (init_regset_vector, free_regset_vector): Remove.
20683 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
20684 Test flags before every operation. Warn if prologue/epilogue insn
20685 would have been deleted.
20686 (mark_set_regs, mark_set_1): Accept and use FLAGS.
20687 Use alloc_EXPR_LIST.
20688 (mark_used_regs): Accept and use FLAGS, not FINAL.
20689 Remove special handling for RETURN.
20690 (try_pre_increment): Use alloc_EXPR_LIST.
20691 (dump_flow_info): Dump n_edges.
20692 (unlink_insn_chain, split_hard_reg_notes): Remove.
20693 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
20694 (find_insn_with_note, new_insn_dead_notes): Remove.
20695 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
20696 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
20697 (replace_insns): Remove.
20698 (count_or_remove_death_notes): New.
20699 (verify_flow_info): Abort on error after all checks.
20700 (remove_edge): Decrement n_edges.
20701 (remove_fake_edges): Tweak format.
20702 * haifa-sched.c (schedule_insns): Use split_all_insns.
20703 * output.h (update_life_info): Remove declaration.
20704 * recog.c (split_all_insns): From the corpse of split_block_insns,
20705 do the whole function block by block. Use update_life_info.
20706 (recog_last_allowed_insn): New.
20707 (recog_next_insn): Mind it.
20708 (peephole2_optimize): Set it. Walk backwards through blocks.
20709 Use update_life_info.
20710 * rtl.h (update_flow_info, replace_insns): Remove declarations.
20711 (split_all_insns): Declare.
20712 * toplev.c (rest_of_compilation): Thread prologue before flow2.
20713 Use split_all_insns.
20714
20715 * i386.md (or -1 peep2s): Disable.
20716
20717 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
20718
20719 * config/mips/mips.md (movstrsi+[123]) : Combine these into
20720 a single pattern. Scrap the 'd' versions as unnecessary.
20721
20722 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
20723 tablejump_mips162,tablejump_internal4): The operands to a
20724 label_ref must be VOIDmode.
20725
20726 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20727
20728 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
20729
20730 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
20731
20732 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
20733
20734 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
20735
20736 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
20737 cache every function if ggc_p.
20738
20739 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20740
20741 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
20742 instead of copy_rtx. Accept sequences that contain asm statements.
20743 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
20744 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
20745 orig_asm_operands_vector, copy_asm_operands_vector,
20746 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
20747 variables.
20748 * rtl.h (copy_insn, copy_insn_1): Declare.
20749
20750 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20751
20752 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
20753
20754 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
20755 arguments to `current_file_function_operand'.
20756
20757 * genrecog.c: Include hard-reg-set.h and resource.h in the
20758 generated output file.
20759
20760 * real.c: Include tm_p.h.
20761
20762 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20763
20764 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
20765 output operand.
20766
20767 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
20768
20769 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
20770 before the fctiwz insn.
20771
20772 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20773 Mark Mitchell <mark@codesourcery.com>
20774
20775 * tree.c (make_lang_type_fn): New funtion pointer.
20776 (make_lang_type): Call it.
20777 * tree.h (make_lang_type): Declare.
20778 (make_lang_type_fn): Likewise.
20779 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
20780
20781 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
20782
20783 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
20784 make sure that HIGH instructions are copied into BASE_REGS.
20785
20786 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
20787
20788 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
20789
20790 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
20791
20792 * c-decl.c (finish_struct): Use simpler method of
20793 removing elements of a singly-linked list.
20794
20795 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
20796
20797 * alpha.md (peephole2's): Comment out peephole2's that generate
20798 buggy code.
20799
20800 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
20801
20802 * genrecog.c (add_to_sequence): Disable mode check for
20803 wildcard matches.
20804
20805 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20806
20807 * ggc-simple.c (init_ggc): Set empty_string.
20808
20809 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
20810
20811 * configure.in: Detect mmap. Add --with-gc=foo to select
20812 garbage collector; default to page if mmap available.
20813 * Makefile.in (GGC): Substitute.
20814
20815 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
20816
20817 * c-decl.c (ggc_p): Enable.
20818
20819 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20820
20821 * flow.c (verify_flow_info): Make it extern & unconditionally define.
20822
20823 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
20824
20825 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
20826 string for little-endian-data.
20827
20828 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
20829
20830 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
20831 case somebody tries to compile --enable-checking code with gcc
20832 1.34 or such.
20833
20834 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
20835
20836 * genrecog.c (add_to_sequence): Verify operand to label_ref is
20837 VOIDmode.
20838
20839 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
20840
20841 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
20842 * jump.c (jump_optimize_1): Document why.
20843
20844 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20845
20846 * collect2.c (scan_prog_file, scan_libraries): Prototype function
20847 pointers and casts for `int_handler' and `quit_handler'.
20848
20849 * flow.c (verify_flow_info, split_hard_reg_notes,
20850 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
20851 remove_edge, remove_fake_successors): Add static prototypes.
20852 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
20853 (mark_set_1): Initialize variable `regno'.
20854 (unlink_insn_chain): Likewise for variable `curr'.
20855 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
20856
20857 * loop.c (strength_reduce): Initialize variable
20858 `unrolled_insn_copies'.
20859 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
20860 prototypes. Change these functions to take const PTR parameters
20861 to avoid prototype conflict when used as the comparson argument
20862 for qsort.
20863 (check_dbra_loop): Initialize variable `comparison_val'.
20864
20865 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
20866 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
20867 (find_valid_class): Initialize variable `best_class'.
20868 (find_reloads): Call memcpy, not bcopy.
20869
20870 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
20871 (hard_reg_use_compare): Don't needlessly cast away const.
20872 (reload_reg_class_lower): Likewise.
20873 (choose_reload_regs): Initialize variable `regno'.
20874
20875 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
20876
20877 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
20878
20879 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
20880
20881 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
20882 ({,d}discard): Add forward declarations. Declare parameter as
20883 unused.
20884 (main_without_main): Explicitly declare return type to be int.
20885 (memcpy): Properly declare.
20886
20887 * libgcc2.c (toplevel): If inhibit_libc is defined and not
20888 building the trampoline support, declare malloc, free, and
20889 atexit.
20890 (__clear_cache): Mark arguments as potentially unused.
20891
20892 * frame.c (toplevel): If inhibit_libc is defined, declare
20893 malloc and free.
20894
20895 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
20896
20897 * flow.c (make_edge): Accept an optional 2D bitmap in which
20898 to cache edge existence. Update all callers.
20899 (make_label_edge, make_eh_edge): Pass through the edge cache.
20900 (make_edges): Provide the cache.
20901
20902 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20903
20904 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
20905 a char*.
20906 (local_mbtowc): Change the type of variable `i' from int to size_t.
20907
20908 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
20909 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
20910
20911 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
20912
20913 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
20914 after other includes that define the appropriate types. Include
20915 tm_p.h for getting user prototypes.
20916 * ggc-callbacks.c (toplevel): Ditto.
20917 * ggc-none.c (toplevel): Ditto.
20918 * gcc-page.c (toplevel): Ditto.
20919 * ggc-simple.c (toplevel): Ditto.
20920
20921 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
20922 Jonathan Larmour <jlarmour@cygnus.co.uk>
20923
20924 * config/mips/mips.c (mips_move_2words): Split doubles if
20925 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
20926
20927 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
20928
20929 * genrecog.c (struct decision_test): New.
20930 (struct decision): Remove test-related members, sort the rest by size.
20931 (IS_SPLIT): Simplify.
20932 (new_decision, new_decision_test): New.
20933 (add_to_sequence): Use them. No special handling for args of
20934 non-MATCH codes.
20935 (maybe_both_true): Renamed from not_both_true; return sense changed.
20936 (maybe_both_true_1, maybe_both_true_2): New. Broken out
20937 of maybe_both_true and adjusted for decision_test.
20938 (position_merit): Remove.
20939 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
20940 (merge_accept_insn): New, broken out of merge_trees.
20941 (merge_trees): Use them. No special case for c_test; no node
20942 splitting; use test type instead of position_merit.
20943 (factor_tests): New.
20944 (simplify_tests): New.
20945 (break_out_subroutines): Don't write code now.
20946 (find_afterward): New.
20947 (write_afterward, write_switch, write_cond): New.
20948 (write_action, is_unconditional): New.
20949 (write_node): New. Use them.
20950 (write_tree_1): Rewrite. Use the new functions above.
20951 (write_tree): Remove afterward processing.
20952 (write_subroutine): Simplify function variant emission.
20953 (write_subroutines): New.
20954 (same_codes, clear_codes): Remove.
20955 (same_modes, clear_modes): Remove.
20956 (write_header): New, broken out of main.
20957 (make_insn_sequence): Use new_decision and new_decision_test.
20958 (process_tree): New, broken out of main.
20959 (main): Adjust for merge_trees interface change.
20960 Don't #define operands in the output file.
20961 (record_insn_name): New, broken out of make_insn_sequence.
20962 (debug_decision_2, debug_decision_1, debug_decision_0): New.
20963 (debug_decision): New.
20964
20965 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
20966
20967 * resource.c (find_free_register): Mark class_str argument const.
20968 * resource.h: Update prototype to match.
20969
20970 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
20971 * i386.md: Give all anonymous insns names.
20972
20973 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
20974
20975 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
20976 blocks.
20977
20978 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
20979
20980 * toplev.c (dbr_sched_time): Unconditional.
20981 (peephole2_time): New.
20982 (compile_file): Add pass numbers to all of the dump file suffixes.
20983 Dump peephole2_time. Don't dump times for non-applicable passes.
20984 (rest_of_compilation): Add pass numbers to dump file suffixes.
20985 Conditionalize calls to the scheduler.
20986 * invoke.texi: Update.
20987
20988 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
20989
20990 * flow.c (make_edges): Fix insn iteration.
20991 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
20992 (find_basic_blocks_1): Fix spelling mistake.
20993
20994 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
20995
20996 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
20997 always have side-effects. Use memset not bzero.
20998 (make_node): Likewise.
20999
21000 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
21001
21002 * stmt.c (expand_anon_union_decl): When any of the elements of the
21003 union is addressable, so is the entire union.
21004
21005 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
21006
21007 * sbitmap.c (sbitmap_ones): Don't set too many bits.
21008
21009 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
21010 * bitmap.c (bitmap_operation): Return true iff TO changed.
21011 (bitmap_equal_p): New.
21012 (bitmap_bit_p): Tidy arithmetic.
21013 (debug_bitmap_file): Likewise.
21014
21015 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
21016
21017 * toplev.c (rest_of_compilation): Turn on cse_not_expected
21018 before cse2 instead of after.
21019
21020 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
21021
21022 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
21023 register offsets.
21024
21025 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21026
21027 * cppinit.c (is_idchar initializer): Loosen tests to accept
21028 gcc 2.>6 and >2.
21029
21030 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
21031
21032 * mips.md: Define conditional move patterns for floating point
21033 operands and DI mode conditions.
21034
21035 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
21036
21037 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
21038 always have side-effects.
21039
21040 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
21041
21042 * mn10200.c (asm_file_start): Fix typo.
21043
21044 * cppinit.c (is_idchar initializer): Tighten tests for when
21045 to put the table into initialized memory.
21046
21047 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
21048 not an array of rtunion.
21049 * gcc-page.c (ggc_alloc_rtvec): Similarly.
21050 * gcc-simple (ggc_free_rtvec): Similarly.
21051
21052 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
21053 of rtunions.
21054
21055 * mbchar.h: Add missing #endif.
21056
21057 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
21058 (FPBIT, DPBIT): Define.
21059
21060 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21061
21062 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
21063
21064 * profile.c (instrument_arcs, output_gcov_string,
21065 tablejump_entry_p): Add static prototypes.
21066 (output_gcov_string): Constify a char*.
21067
21068 * regmove.c (replacement_quality, fixup_match_2): Add static
21069 prototypes.
21070
21071 * resource.h (reg_dead_p): Add extern prototype.
21072
21073 * rtl.c (trim_filename): Add static prototype.
21074
21075 * scan-decls.c (skip_to_closing_brace): Likewise.
21076
21077 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
21078 (expand_end_case): Initialize variable `range'.
21079 (emit_case_nodes): Remove unused prototype `rtx_fn'.
21080
21081 * varasm.c (asm_emit_uninitialised): Add static prototype.
21082 (asm_emit_uninitialised, assemble_variable): Mark parameter with
21083 ATTRIBUTE_UNUSED.
21084
21085 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21086
21087 * cpplib.c (if_directive_nameo): Add static prototype.
21088
21089 * cse.c (cse_insn): Remove unused variable `p'.
21090
21091 * except.c (create_rethrow_ref, push_entry,
21092 receive_exception_label, new_eh_region_entry, find_func_region,
21093 clear_function_eh_region, process_nestinfo): Add static prototypes.
21094 (get_reg_for_handler): Hide definition.
21095 (process_nestinfo): Initialize variable `extra_handlers'.
21096
21097 * expr.h (expand_builtin_longjmp): Add extern prototype.
21098
21099 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
21100
21101 * function.c (prepare_function_start): Likewise.
21102 (pop_function_context_from): Mark parameter `context' with
21103 ATTRIBUTE_UNUSED.
21104 (push_temp_slots_for_block, flush_addressof): Hide definition.
21105
21106 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
21107 solve_program_flow_graph, calculate_branch_probs,
21108 function_summary, main, fancy_abort): Add prototypes.
21109
21110 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
21111 (add_hash): Constify a char*.
21112
21113 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
21114 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
21115 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
21116
21117 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
21118
21119 * lists.c (free_list, zap_lists): Likewise.
21120
21121 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21122
21123 * alias.c (nonlocal_reference_p): Add static prototype.
21124
21125 * bitmap.c (bitmap_element_allocate): Prototype args in function
21126 pointer cast.
21127
21128 * builtins.c (stabilize_va_list): Add static prototype.
21129 (expand_builtin_va_arg): Constify a char*.
21130
21131 * c-lex.c (getch, put_back, extend_token_buffer_to,
21132 read_line_number, token_getch, token_put_back): Add static
21133 prototypes.
21134
21135 * c-parse.gperf (hash, is_reserved_word): Likewise.
21136
21137 * cccp.c (is_dir_separator): Likewise.
21138
21139 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21140
21141 * graph.h: New file to prototype functions exported by graph.c.
21142
21143 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
21144
21145 * graph.c: Include graph.h.
21146
21147 * toplev.c: Likewise. Remove redundant prototypes.
21148
21149 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
21150
21151 * invoke.texi: Removed duplicated description for -Q.
21152
21153 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
21154
21155 * extend.texi: Grammar fix in __extension__ text.
21156
21157 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
21158
21159 * md.texi (define_peephole2): New section.
21160
21161 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
21162
21163 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
21164 (mov $-1 to or peepholer): Enable for pentium when optimizing for
21165 speed.
21166
21167 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
21168
21169 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
21170
21171 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
21172
21173 * i386.md (ffs expander): Emit Pentium friendly code for
21174 TARGET_PENTIUM.
21175
21176 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
21177
21178 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
21179 for non-trees.
21180 (build1): Likewise.
21181
21182 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21183
21184 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
21185
21186 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
21187
21188 * config/m68k/m68k.c (use_return_insn): Return false if the pic
21189 register is in use.
21190
21191 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21192
21193 * md.texi (No Constraints): Delete section.
21194 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
21195 * final.c (final_scan_insn): We always have register constraints.
21196 * genattrtab.c: Don't include "insn-config.h".
21197 (write_attr_case): We always have register constraints.
21198 * genconfig.c (register_constraint_flag): Delete.
21199 (walk_insn_part): Don't check whether we have register constraints.
21200 (main): Don't write out "#define REGISTER_CONSTRAINTS".
21201 * genoutput.c (have_constraints): Delete.
21202 (main): Don't set it.
21203 (output_operand_data): We always have constraints.
21204 (scan_operands): Likewise.
21205 (compare_operands): Likewise.
21206 * local-alloc.c (block_alloc): We always have constraints.
21207 (requires_inout): Always compile this function.
21208 * recog.c (extract_insn): We always have constraints.
21209 (constrain_operands, reg_fits_class_p): Always compile these
21210 functions.
21211 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
21212 fields.
21213 (struct insn_operand_data): Likewise.
21214 * regclass.c (regclass): We always have constraints.
21215 (record_reg_classes, copy_cost, record_address_regs,
21216 auto_inc_dec_reg_p): Always compile these functions.
21217 * regmove.c (regmove_optimize): We always have constraints.
21218 * reload.c (find_reloads): Likewise.
21219 * reload1.c (reload): Likewise.
21220 (reload_cse_simplify_operands): Likewise.
21221 * i860.c (output_delay_insn): Likewise.
21222
21223 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
21224
21225 * iris6.h (BUILD_VA_LIST_TYPE): Define.
21226
21227 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
21228
21229 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
21230 for the va_list record.
21231
21232 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
21233
21234 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
21235 prologues.
21236
21237 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
21238
21239 * alias.c: Include insn-flags.h.
21240 * Makefile.in (alias.o): Update.
21241
21242 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
21243
21244 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
21245 to LTU and GEU. Handle more cases using sbb.
21246
21247 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
21248
21249 * i386.md (truncatexfdf splitters): Do not use subreg.
21250 (fop XFmode patterns): Fix mode in operand testing.
21251
21252 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
21253
21254 * jump.c (jump_optimize_1): Amend last change to test only the
21255 form of the operand, not the insn.
21256
21257 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
21258 not register_operand to determine when B may need preloading.
21259
21260 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
21261
21262 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
21263 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
21264 (call-value patterns): Move to end of file.
21265 (*): Remove mode from label_ref in (pc) context.
21266 (movstrqi): Use memory not general_operand for BLKmode operands.
21267 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
21268 to register_operand operands.
21269 (peep2 patterns): Convert from commented-out peephole patterns.
21270
21271 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21272
21273 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
21274 to BUILT_IN_INIT_DWARF_REG_SIZES.
21275 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
21276 Renamed from BUILT_IN_DWARF_REG_SIZE; call
21277 expand_builtin_init_dwarf_reg_sizes.
21278 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
21279 with __builtin_init_dwarf_reg_size_table.
21280 * dwarf2out.c (struct reg_size_range): Delete.
21281 (expand_builtin_init_dwarf_reg_sizes): New function.
21282 (expand_builtin_dwarf_reg_size): Delete.
21283 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
21284 (expand_builtin_dwarf_reg_size): Don't declare.
21285 * libgcc2.c (dwarf_reg_size_table_initialized): New.
21286 (dwarf_reg_size_table): New.
21287 (init_reg_size_table): New function.
21288 (copy_reg): Use dwarf_reg_size_table.
21289 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
21290 before use.
21291
21292 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
21293
21294 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
21295 Correctly build argument list to constructor and destructor functions.
21296
21297 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
21298
21299 * c-tree.h (warn_float_equal): Declare.
21300 * c-decl.c (warn_float_equal): Define.
21301 (c_decode_option): Recognize -W[no-]float-equal.
21302 * c-typeck.c (build_binary_op): Conditionally warn
21303 about equality tests of floating point types.
21304 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
21305 * invoke.texi: Add docs for -Wfloat-equal warning.
21306
21307 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
21308
21309 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
21310 generating RTL directly.
21311 * mips.h (INIT_TARGET_OPTABS): Likewise.
21312 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
21313
21314 * expr.h (init_mov_optab): Delete declaration
21315
21316 * h8300.c (WORD_REG_USED): Update to avoid useless register
21317 saves in interrupt functions and functions which never return.
21318
21319 * cse.c (struct set): Delete inner_dest_loc field.
21320 (cse_insn): Remove assignments to inner_dest_loc field.
21321
21322 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
21323
21324 * ggc-page.c: Don't include <unistd.h> etc taken care of
21325 by "system.h". Include <sys/mman.h> afterward.
21326
21327 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
21328
21329 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
21330 ggc_alloc_string.
21331
21332 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
21333
21334 * xcoffout.c (xcoffout_declare_function): Add documentation.
21335 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
21336 TARGET_64BIT. Compare constant to -1, not bit pattern.
21337 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
21338 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
21339 gen_movsi typos.
21340
21341 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
21342
21343 * dwarf2out.c (add_abstract_origin_attribute): Abort if
21344 origin_die is NULL.
21345 (gen_inlined_enumeration_type_die): Do not abort if the type has
21346 not been writeen out.
21347 (gen_inlined_structure_type_die): Do not abort if the type has
21348 not been writeen out.
21349 (gen_inlined_union_type_die): Do not abort if the type has
21350 not been writeen out.
21351 (gen_tagged_type_instantiation_die): Do not abort if the type
21352 has not been written out.
21353
21354 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21355
21356 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
21357 call it.
21358 * reg-stack.c (straighten_stack): Copy hard reg set with
21359 COPY_HARD_REG_SET.
21360
21361 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
21362
21363 * builtins.c (stabilize_va_list): Stabilize array type va_list
21364 to a pointer type, not the base record type.
21365 (expand_builtin_va_copy): Dereference the pointers explicitly;
21366 use the correct size for the copy.
21367
21368 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
21369 (rs6000_va_arg): Likewise.
21370
21371 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
21372
21373 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
21374
21375 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
21376
21377 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
21378 field.
21379 (DECL_BUILT_IN_CLASS): Adjust accordingly.
21380
21381 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
21382
21383 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
21384 (init_ggc): Use it instead of a constant.
21385 (ggc_collect): Bound allocated_last_gc by it.
21386
21387 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
21388
21389 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
21390 with va_list.
21391
21392 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
21393
21394 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
21395 (mips*-*-openbsd*): Let big endian configuration be a fragment.
21396 * configure: Regen.
21397 * config/mips/openbsd.h: New, OpenBSD little endian target.
21398 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
21399 * config/mips/xm-openbsd.h: New, OpenBSD host.
21400
21401 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
21402
21403 * config/m68k/m68k.c (output_function_prologue,
21404 output_function_epilogue): Use
21405 current_function_uses_pic_offset_table instead of regs_ever_live
21406 to decide whether to save/restore pic register.
21407 (legitimize_pic_address): Don't modify regs_ever_live any more.
21408
21409 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
21410
21411 * function.h (struct function): Add x_dont_save_pending_sizes_p.
21412 * stor-layout.c (variable_size): Don't add sizes to the pending
21413 sizes list if x_dont_save_pending_sizes_p is set.
21414
21415 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
21416
21417 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
21418 for symbolic_operand().
21419 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
21420
21421 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21422
21423 * combine.c (gen_rtx_combine): Add missing call to va_end().
21424
21425 * final.c (asm_fprintf): Likewise.
21426
21427 * genattrtab.c (attr_rtx): Likewise.
21428
21429 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
21430
21431 * cse.c: Update comments.
21432 (cse_insn): When converting a conditional/computed jump into
21433 an unconditional jump, always make sure a BARRIER immediately
21434 follows the converted jump. Do not delete unreachable code.
21435 (cse_basic_block): Do not delete unreachable code.
21436 * toplev.c (rest_of_compilation): Move call to
21437 delete_trivially_dead_insns after the conditional call to
21438 jump_optimize.
21439
21440 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21441
21442 * collect2.c (make_temp_file): Don't prototype.
21443
21444 * gcc.c (make_temp_file): Likewise.
21445
21446 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
21447
21448 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
21449
21450 * varasm.c (asm_emit_uninitialised): New function: Generate
21451 the assembler statements necessary to declare an uninitialised
21452 variable.
21453 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
21454 variable.
21455 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
21456 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
21457 section.
21458 (assemble_variable): Use asm_emit_uninitialised to emit an
21459 uninitialised variable.
21460
21461 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
21462
21463 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
21464 constant on a 64 bit host. Patch supplied by Geoffrey Keating
21465 <geoffk@cygnus.com>.
21466
21467 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21468
21469 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
21470 * c-common.h (builtin_function): Don't declare.
21471
21472 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
21473 DECL_BUILT_IN.
21474 (pushdecl): Likewise.
21475 (finish_decl): Likewise.
21476 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
21477 int. All callers changed.
21478 Set the builtin's DECL_BUILT_IN_CLASS.
21479 * tree.h (enum built_in_class): New.
21480 (enum built_in_function): Delete NOT_BUILT_IN.
21481 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
21482 in a union.
21483 (DECL_SET_FUNCTION_CODE): Likewise.
21484 (DECL_BUILT_IN_CLASS): New macro.
21485 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
21486 (struct tree_decl): Split builtin function code field into a
21487 struct.
21488 (builtin_function): Declare.
21489
21490 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
21491
21492 * optabs.c (init_traps): Fix typo in last change.
21493
21494 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
21495
21496 * toplev.c (rest_of_decl_compilation): Update comment.
21497
21498 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
21499
21500 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
21501 in .sbss if appropriate.
21502 (EXTRA_SECTION_FUNCTIONS): Add sbss.
21503 (SBSS_SECTION_ASM_OP): New macro.
21504 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
21505 (EXTRA_SECTIONS): Add in_sbss.
21506 * config/mips/mips.h: Prototype sbss_section.
21507
21508 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
21509
21510 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
21511 to disappear.
21512
21513 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
21514
21515 * optabs.c (init_traps): Register trap_rtx as a GC root.
21516
21517 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21518
21519 * config/mips/mips.c (function_arg_pass_by_reference): Define
21520 unconditionally, since it's called unconditionally.
21521
21522 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
21523
21524 * toplev.c (documented_lang_options): Add -fshort-wchar.
21525 * c-decl.c (c_decode_option): Likewise.
21526 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
21527 for wchar_t.
21528 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
21529 * gcc.c (default_compilers): If -fshort-wchar,
21530 override __WCHAR_TYPE__.
21531 * tm.texi (C Dialect Options): Add -fshort-wchar.
21532
21533 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
21534 symbol for a variable.
21535
21536 * cpplib.h (CPP_PREPROCESSED): New macro.
21537 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
21538 we're seeing this input for a second time.
21539
21540 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
21541
21542 * emit-rtl.c (init_emit_once): Initialize modes first.
21543
21544 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
21545
21546 * config/i386/i386.c (pic_label_name): Change to char pointer.
21547 (global_offset_table): New variable.
21548 (load_pic_register): Fill global_offset_table if it hasn't
21549 already been done. Allocate pic_label_name dynamically.
21550 * ggc.h (empty_string): New variable.
21551 * ggc-simple.c (empty_string): Likewise.
21552 (init_ggc): Allocate empty_string and add as root.
21553 * stmt.c (digit_strings): New variable.
21554 (init_stmt): Add last_block_end_note as root. Allocate and
21555 initialize digit_strings.
21556 (expand_asm_operands): Use empty_string instead of string
21557 constant. Use digit_strings instead of string constants.
21558 * profile.c (init_arc_profiler): Allocate string with
21559 ggc_alloc_string instead of xmalloc.
21560 (output_func_start_profiler): Likewise.
21561 * c-typeck.c (digest_init): Check if init is error_mark_node.
21562
21563 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
21564 Richard Henderson <rth@cygnus.com>
21565
21566 * ggc-page.c: New file.
21567 * Makefile.in (ggc-page.o): New.
21568
21569 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
21570
21571 * invoke.texi: Document -fdelete-null-pointer-checks
21572 * toplev.c (flag_delete_null_pointer_checks): New.
21573 (f_options): Add entry for -fdelete-null-pointer-checks.
21574 (rest_of_compilation): Conditionalize null pointer check
21575 elimination on flag_delete_null_pointer_checks.
21576 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
21577
21578 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
21579
21580 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
21581 copyright notice and special exception to GPL.
21582
21583 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21584
21585 * abi64.h (mips_function_value): Add prototype arguments.
21586
21587 * mips-protos.h: New file with mips prototypes.
21588
21589 * mips.c: Include "tm_p.h".
21590 (mktemp, lookup_name): Add prototype arguments.
21591 (extern_list, string_constant, mips_fill_delay_slot,
21592 mips_output_external, mips_output_external_libcall,
21593 mips_output_filename, mips_declare_object, function_prologue,
21594 mips_expand_prologue, function_epilogue, mips16_constant,
21595 build_mips16_function_stub, mips_output_conditional_branch):
21596 Constify a char*.
21597 (mips_va_start): Remove unused variable `u'.
21598 (mips_va_arg): Cast value to unsigned when comparing against one.
21599 (trace): Delete.
21600 (save_restore_insns, mips_expand_prologue): Add missing arg in
21601 call to `large_int'.
21602
21603 * mips.h: Move prototypes to mips-protos.h.
21604 (data_section, memory_address_p, rdata_section,
21605 readonly_data_section, simple_epilogue_p, text_section): Delete
21606 prototypes delcared elsewhere.
21607 (mips_epilogue_delay_slots, print_options): Delete unused decls.
21608 (trace): Delete.
21609 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
21610
21611 * mips.md: Delete extra args in call to `mips_move_2words'.
21612
21613 * xm-iris6.h (alloca): Add prototype argument.
21614
21615 * genpeep.c: Include "tm_p.h" in generated output file.
21616
21617 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21618
21619 * basic-block.h (find_edge_index): Change parameters.
21620 * flow.c (verify_edge_list): Pass basic_block parameters to
21621 find_edge_index instead of integers.
21622
21623 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
21624
21625 * combine.c (simplify_comparison): Use an unsigned shift to adjust
21626 the constant.
21627
21628 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
21629
21630 * gcc.1: Fix a formatting error.
21631
21632 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
21633
21634 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
21635 i786, mn10200, mn10300, pdp11, v850.
21636
21637 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
21638
21639 * libgcc2.c (num_digits): Add prototype with
21640 __attribute__((const)).
21641 (__terminate): Add prototype.
21642
21643 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
21644
21645 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
21646
21647 * alpha/alpha.c (print_operand): Fix type of `code'.
21648 (alpha_output_filename): Constify.
21649 * alpha/alpha.h: Move all function declarations ...
21650 * alpha/alpha-protos.h: ... here. New file.
21651 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
21652 (SECTION_FUNCTION_TEMPLATE): Likewise.
21653
21654 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21655
21656 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
21657 * expr.c (expand_expr): Likewise.
21658 (do_jump): Likewise.
21659 (do_store_flag): Pass ccp_store_flag to can_compare_p.
21660 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
21661 accessor macros.
21662 (enum can_compare_purpose): New.
21663 (can_compare_p): Adjust prototype.
21664 (prepare_cmp_insn, prepare_operand): Declare.
21665 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
21666 * optabs.c (cmp_available_p): Deleted.
21667 (expand_abs): Pass ccp_jump to can_compare_p.
21668 (can_compare_p): New arg PURPOSE. Check for combined optabs.
21669 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
21670 Call can_compare_p rather than cmp_available_p.
21671 (prepare_operand): No longer static.
21672 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
21673 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
21674 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
21675 sequence to use emit_cmp_and_jump_insns.
21676 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
21677
21678 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
21679
21680 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
21681 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
21682 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
21683 (plus (reg) (const_int 0))
21684 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
21685
21686 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
21687
21688 * rs6000.c (expand_block_move): DImode loads and stores require
21689 word-aligned displacements. Increment address registers with
21690 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
21691
21692 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
21693
21694 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
21695 is no name for the base type, rather than segfault. If we are
21696 writing out a complex integer type, use DW_ATE_lo_user.
21697
21698 * expr.c (emit_move_insn_1): If we are copying a complex that fits
21699 in one word or less (complex char, complex short, or on 64 bit
21700 systems complex float) to/from a hard register, copy it through
21701 memory instead of dying in gen_{real,imag}part. If we have a
21702 short complex type, prevent inlining since it allocates stack
21703 memory.
21704
21705 * tree.c (build_complex_type): If we are writing dwarf2 output,
21706 generate a name for complex integer types.
21707
21708 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21709
21710 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
21711 * flow.c (remove_edge): Remove extra whitespace.
21712 (remove_fake_edges): Fix comment.
21713 (add_noreturn_fake_exit_edges): Use the correct name.
21714
21715 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
21716
21717 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
21718 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
21719 (clean): Depend on INTL_CLEAN.
21720 (maintainer-clean): Adjust.
21721
21722 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21723
21724 * configure.in (AC_PREREQ): Bump to 2.13.
21725 (AC_C_STRINGIZE): Call this instead of using a custom macro.
21726
21727 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
21728
21729 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
21730
21731 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
21732
21733 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
21734 (HAVE_STRINGIZE): Define.
21735
21736 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
21737
21738 * c-parse.in: save and restore warn_pointer_arith on __extension__
21739 along with pedantic.
21740 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
21741 Set the type of extension to itype rather than $<itype>1 kludge.
21742 * extend.texi (Alternate Keywords): Adjust documentation.
21743 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
21744
21745 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
21746
21747 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
21748 most assembler templates.
21749
21750 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
21751 FP loads and stores.
21752 (following_call): Always return zero for the PA8000.
21753 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
21754 FP loads and stores.
21755 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
21756
21757 * pa.h (BRANCH_COST): Define.
21758
21759 * pa.md (return, return_internal): Use bve for PA2.0.
21760
21761 * pa.md (fused multiply): Add variants which reduce height for the
21762 fused multiply, but which still generate 2 insns.
21763 (fnegabs): Similarly.
21764
21765 * pa.md (subsi3): Turn into an expander. Create two anonymous
21766 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
21767 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
21768
21769 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
21770 for TARGET_PA_20.
21771 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
21772 code generation.
21773 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
21774 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
21775
21776 * regclass.c (init_regs): Add "top_of_stack" as a garbage
21777 collection root.
21778
21779 * flow.c (record_active_eh_regions): Terminate loop after finding
21780 the last insn in the last basic block.
21781
21782 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21783
21784 * config/c4x/c4x.md: Delete parallel instruction peepholes.
21785
21786 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21787
21788 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
21789
21790 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21791
21792 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
21793 splitting to not use output template.
21794
21795 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21796
21797 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
21798 * config/c4x/c4x.c (c4x_va_start): New function.
21799
21800 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
21801
21802 * genrecog.c (not_both_true): Handle correctly cases when called for
21803 tests with different positions in the insn.
21804
21805 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21806
21807 * machmode.h (HOST_PTR_PRINTF): Move from here ...
21808
21809 * system.h (HOST_PTR_PRINTF): ... to here.
21810
21811 * mips-tfile.c: Don't include machmode.h.
21812
21813 * Makefile.in (MACHMODE_H): New variable. Update to use it.
21814 (mips-tfile.o): Don't depend on machmode.h.
21815
21816 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21817
21818 * haifa-sched.c (sched_analyze): Rename local variable `region' to
21819 avoid conflicts with typedef struct `region' at the top level scope.
21820
21821 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
21822
21823 * basic-block.h (basic_block): Add eh_beg, eh_end.
21824 * flow.c (entry_exit_blocks): Update.
21825 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
21826 Call new functions.
21827 (find_basic_blocks_1): Don't record eh_list at each bb. Use
21828 lists.c functions to allocate insn lists.
21829 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
21830 edge creation ...
21831 (make_eh_edge): ... here. New.
21832 (move_stray_eh_region_notes): New.
21833 (record_active_eh_regions): New.
21834 (delete_unreachable_blocks): Split out block merging ...
21835 (try_merge_blocks): ... here. New.
21836 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
21837 Dump debugging data.
21838 (merge_blocks_move_successor_nojumps): Likewise.
21839 (merge_blocks): Use eh_beg+eh_end to validate block movement.
21840
21841 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
21842
21843 * extend.texi (Bound member functions): Document unbound pmf
21844 conversion.
21845
21846 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21847
21848 * flow.c (split_edge): Handle insertion on a fallthrough edge which
21849 has the EXIT_BLOCK as a dest.
21850
21851 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21852
21853 * flow.c (remove_edge): New function to remove an edge from the
21854 flow graph.
21855 (remove_fake_successors): New function to remove fake successor edges.
21856 (remove_fake_edges): New function to remove all fake edges from the
21857 flow graph.
21858 (add_fake_exit_edges): New function to add fake edges from all blocks
21859 with no successors to the exit block.
21860 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
21861 prototypes for new functions.
21862
21863 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21864
21865 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
21866 Use Pmode to determine whether to output .dword or .word.
21867
21868 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
21869
21870 * tree.c (built_in_filename): New variable.
21871 (BUILT_IN_FILENAME): New macro.
21872 (init_tree_codes): Allocate built_in_filename.
21873 (make_node): Use built_in_filename instead of string constant.
21874
21875 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
21876
21877 * configure.in: Add fr30 target.
21878 * configure: Regenerate.
21879 * config/fr30: New directory.
21880 * config/fr30/crti.asm: New file.
21881 * config/fr30/fr30.c: New file.
21882 * config/fr30/crtn.asm: New file.
21883 * config/fr30/fr30.h: New file.
21884 * config/fr30/fr30.md: New file.
21885 * config/fr30/lib1funcs.asm: New file.
21886 * config/fr30/t-fr30: New file.
21887 * config/fr30/xm-fr30.h: New file.
21888
21889 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
21890
21891 * flow.c (merge_blocks_move_successor_nojumps): Delete the
21892 BARRIER at the end of the successor, not the BARRIER before
21893 the successor.
21894
21895 * pa.c (pa_add_gc_roots): Fix thinko in last change.
21896
21897 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
21898
21899 * stmt.c (any_pending_cleanups): Don't crash when
21900 current_function->stmt is unset.
21901
21902 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21903
21904 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
21905 other initializations that may use it for relative offsets.
21906
21907 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21908
21909 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
21910 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
21911 * config/i386/sol2dbg.h: Removed.
21912 * config/i386/sol2gas.h: New file, to enable gas work-around.
21913 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
21914 Don't use sol2dbg.h.
21915 * configure: Rebuilt.
21916
21917 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
21918
21919 * invoke.texi (-fthis-is-variable): Remove documentation.
21920
21921 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
21922
21923 * basic-block.h (compute_bb_for_insn): Declare.
21924 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
21925 to use; set size of basic_block_for_insn directly.
21926 (find_basic_blocks): Update.
21927
21928 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21929
21930 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
21931
21932 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21933
21934 * crtstuff.c (ON_EXIT): Delete empty macro definition.
21935 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
21936
21937 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
21938
21939 * c-decl.c (c_decode_option): Extend comment.
21940
21941 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
21942
21943 * toplev.c (progname): Make 'const char *'
21944 (flag_print_mem): Move out of main.
21945 (version_flag): Move out of main.
21946 (filename): Move out of main.
21947 (debug_args): Remove g prefix from options.
21948 (documented_lang_options): Remove cpplib specific options.
21949 (display_help): Add g prefix to debug options.
21950 (check_lang_option): Delete this function.
21951 (decode_d_option): New function: Decode -d... option.
21952 (decode_f_option): New function: Decode -f... option.
21953 (decode_W_option): New function: Decode -W... option.
21954 (decode_g_option): New function: Decode -g... option.
21955 (independent_decode_option): New function: Decode a language
21956 independent command line option.
21957 (main): Invoke lang_decode_option and then
21958 independent_decode_option on each command line option in
21959 turn.
21960
21961 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
21962
21963 Revert this change. Gavin's patch to operand_equal_p is a better fix.
21964 * fold-const.c (fold_range_test): Do not try to fold the range
21965 test if the rhs or lhs has side effects.
21966
21967 * basic-block.h (compute_flow_dominators): Declare.
21968
21969 * gcse.c (alloc_code_hoist_mem): New function.
21970 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
21971 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
21972 (hoist_code, one_code_hoisting_pass): Likewise.
21973 (gcse_main): If optimizing for size, then hoist expressions
21974 computed in multiple dominated basic blocks.
21975
21976 * gcse.c (invalid_nonnull_info): New function.
21977 (delete_null_pointer_checks): Likewise.
21978 * rtl.h (delete_null_pointer_checks): Declare.
21979 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
21980
21981 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
21982 (merge-blocks_move_successor_nojumps): Likewise.
21983 (merge_blocks): Allow merging of some blocks, even if it requires
21984 physical movement of the blocks, but not if it requires new jumps.
21985
21986 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
21987 Callers and prototype changed.
21988 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
21989
21990 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21991
21992 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
21993 -YP when both -p and -pg are present. From i386/sol2.h.
21994
21995 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21996
21997 * Makefile.in (distclean): Delete tm_p.h.
21998 * configure.in: Create a new file, "tm_p.h", from a list in
21999 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
22000 "i386/i386-protos.h".
22001
22002 * alias.c: Include "tm_p.h".
22003 * c-typeck.c: Likewise.
22004 * calls.c: Likewise.
22005 * cse.c: Likewise.
22006 * emit-rtl.c: Likewise.
22007 * explow.c: Likewise.
22008 * expmed.c: Likewise.
22009 * expr.c: Likewise.
22010 * final.c: Likewise.
22011 * flow.c: Likewise.
22012 * fold-const.c: Likewise.
22013 * function.c: Likewise.
22014 * gcse.c: Likewise.
22015 * global.c: Likewise.
22016 * haifa-sched.c: Likewise.
22017 * integrate.c: Likewise.
22018 * jump.c: Likewise.
22019 * local-alloc.c: Likewise.
22020 * loop.c: Likewise.
22021 * optabs.c: Likewise.
22022 * recog.c: Likewise.
22023 * reg-stack.c: Likewise.
22024 * regclass.c: Likewise.
22025 * regmove.c: Likewise.
22026 * reload.c: Likewise.
22027 * reload1.c: Likewise.
22028 * reorg.c: Likewise.
22029 * resource.c: Likewise.
22030 * stmt.c: Likewise.
22031 * stor-layout.c: Likewise.
22032 * toplev.c: Likewise.
22033 * tree.c: Likewise.
22034 * unroll.c: Likewise.
22035 * genattrtab.c (main): Make generated file include "tm_p.h".
22036 * genemit.c (main): Likewise.
22037 * genoutput.c (main): Likewise.
22038 * genrecog.c (main): Likewise.
22039
22040 * i386.h: Delete all prototypes.
22041 * i386.c: Include "tm_p.h".
22042 (ix86_attr_length_default): Call constant_call_address_operand
22043 with correct number of arguments.
22044 * i386-protos.h: New file.
22045 * i386.md (unnamed patterns): Call constant_call_address_operand
22046 with correct number of arguments.
22047 (exception_receiver): Call load_pic_register with correct number
22048 of arguments.
22049
22050 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
22051
22052 * c-pragma.c (mark_align_stack): Dereference the void* properly.
22053
22054 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
22055
22056 * rtl.h (insns_safe_to_move_p): New function.
22057 * loop.c (find_and_verify_loops): Use it.
22058 * rtlanal.c (insns_safe_to_move_p): Define it.
22059
22060 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
22061
22062 * c-pragma.c: Include ggc.h.
22063 * Makefile.in (c-pragma.o): Update.
22064
22065 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
22066
22067 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
22068 (LIB_SPEC): Likewise.
22069 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
22070 Reindent -YP/-p/-pg.
22071 Copied from config/sparc/sol2.h.
22072
22073 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
22074
22075 * c-pragma.c (mark_align_stack): New.
22076 (init_pragma): New.
22077 * c-pragma.h (init_pragma): Declare it.
22078 * c-lex.c (init_parse): Call it.
22079
22080 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
22081
22082 * configure.in: Pick up thread library on Solaris/x86 just
22083 like on Solaris/sparc.
22084 * configure: Rebuilt.
22085
22086 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
22087
22088 * rtl.h (global_rtx_index): New enum.
22089 (global_rtl): Change to array of rtx.
22090 (pc_rtx, cc0_rtx): Redefine accordingly.
22091 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
22092 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
22093 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
22094 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
22095 (const_int_rtx): Change to array of rtx.
22096 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
22097 accordingly.
22098 * emit-rtl.c (global_rtl): Change to array of rtx.
22099 (const_int_rtx): Change to aray of rtx.
22100 (gen_rtx_CONST_INT): Redefine accordingly.
22101 (init_emit_once): Allocate and initialize global_rtl. Likewise
22102 for const_int_rtx. Add both as GC roots.
22103 * genattrtab.c (global_rtl): Update declaration.
22104
22105 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
22106
22107 * Makefile (USER_H): Add iso646.h back.
22108
22109 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
22110
22111 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
22112 zapping the LOG_LINKS of sched_before_next_call.
22113
22114 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
22115 * pa.c (insn_refs_are_delayed): Renamed from
22116 insn_sets_and_refs_are_delayed.
22117
22118 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
22119
22120 * functiion.h (struct function): Add x_whole_function_mode_p.
22121 (retrofit_block): Declare.
22122 * function.c (retrofit_block): New function.
22123 (identify_blocks): Add assertions. Allow an incomplete set of
22124 block notes if we're still generating code for the function.
22125 * integrate.c: Include loop.h.
22126 (expand_inline_function): Call find_loop_tree_blocks to map block
22127 notes to blocks when in whole-function mode. Use retrofit_block
22128 to insert new BLOCKs for the inlined function, rather than
22129 insert_block.
22130 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
22131 * Makefile.in (integrate.o): Depend on loop.h.
22132
22133 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
22134
22135 * tree.h (warn_about_unused_variables): Declare.
22136 * stmt.c (warn_about_unused_variables): New function, split out
22137 from ...
22138 (expand_end_bindings): Here.
22139
22140 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
22141
22142 * stmt.c (preserve_subexpressions_p): Don't crash when
22143 current_function->stmt is unset.
22144
22145 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
22146
22147 * stmt.c (expand_start_bindings): Allow callers to pass a flag
22148 indicating that no NOTE_INSN_BLOCK_BEG note is required.
22149 (expand_start_target_temps): Use it.
22150 * except.c (expand_eh_region_start_for_decl): Likewise.
22151 * expr.c (expand_expr): Likewise.
22152
22153 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
22154
22155 * fold-const.c (operand_equal_p): Pay attention to side effects.
22156
22157 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
22158
22159 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
22160 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
22161
22162 * tlink.c (scan_linker_output): Look for keywords before accepting
22163 a mangled name in quotes.
22164
22165 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
22166
22167 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
22168 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
22169
22170 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
22171
22172 * alpha.md: Revert Thu Nov 26 change that came in through the
22173 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
22174 Avoid earlyclobber when possible.
22175
22176 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22177
22178 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
22179
22180 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
22181 Define HAVE_ON_EXIT.
22182
22183 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22184
22185 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
22186 CTYPE_CONV in all ctype macros.
22187
22188 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
22189 from system.h.
22190
22191 * cexp.y (initialize_random_junk): Likewise.
22192
22193 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
22194
22195 * i370.c (handle_pragma): Likewise.
22196
22197 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
22198
22199 * v850.c (override_options): Likewise.
22200
22201 * doprint.c (_doprnt): Likewise.
22202
22203 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
22204 Likewise.
22205
22206 * fixinc/server.c (load_data): Likewise.
22207
22208 * fold-const.c (real_hex_to_f): Likewise.
22209
22210 * genattr.c (write_upcase, gen_attr): Likewise.
22211
22212 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
22213 write_upcase): Likewise.
22214
22215 * genemit.c (print_code): Likewise.
22216
22217 * genopinit.c (gen_insn): Likewise.
22218
22219 * genpeep.c (print_code): Likewise.
22220
22221 * genrecog.c (print_code): Likewise.
22222
22223 * optabs.c (init_libfuncs): Likewise.
22224
22225 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
22226
22227 * haifa-sched.c (sched_analyze): Keep the list of notes organized
22228 in pairs.
22229 (reemit_notes): Likewise.
22230
22231 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
22232
22233 * ggc.h (ggc_root): Move to ggc-common.c.
22234 (roots): Remove.
22235 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
22236 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
22237 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
22238 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
22239 * ggc-common.c (ggc_root): Move from ggc.h.
22240 (roots): Declare, static.
22241 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
22242 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
22243 null or check/set mark bit.
22244 (ggc_mark_roots): New.
22245 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
22246
22247 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
22248
22249 * m32r.c: Include toplev.h.
22250 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
22251 (gen_compare): Rename swap_p to must_swap to match uses.
22252 Add default abort case.
22253 (m32r_output_function_epilogue): Remove unused variables.
22254 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
22255 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
22256 define to empty parameter list. Update all uses.
22257 (predicate decls): Use enum machine_mode not int.
22258 * m32r.md (movsi): Call abort, not fatal_insn.
22259 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
22260
22261 1999-09-14 Andrew Haley <aph@cygnus.com>
22262
22263 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
22264 use $0 instead of 0.
22265
22266 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22267
22268 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
22269 computation out of loop over hard regs.
22270
22271 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
22272
22273 * function.c (identify_blocks): Don't shadow a variable in an
22274 outer scope.
22275 * integrate.c (integrate_decl_tree): Don't use pushlevel,
22276 pushdecl, or poplevel to build up the new BLOCK tree.
22277 (expand_inline_function): Likewise.
22278 (integrate_parm_decls): Likewise.
22279
22280 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
22281
22282 * c-typeck.c (qualify_type): Merge qualifiers from both types.
22283
22284 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
22285
22286 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
22287 * invoke.texi: Document this change.
22288
22289 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
22290
22291 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
22292 Free the struct.
22293 (mark_emit_status): Renamed from mark_emit_state.
22294 * except.c (mark_eh_status): Renamed from mark_eh_state.
22295 Check not null before marking.
22296 (free_eh_status): New.
22297 * expr.c (mark_expr_status, free_expr_status): New.
22298 * function.c (free_machine_status): New.
22299 (free_after_parsing): New.
22300 (free_after_compilation): Move bits to free_after_parsing; call
22301 free_eh_status, free_expr_status; zero the marked members of the
22302 function state.
22303 (prepare_function_start): No can_garbage_collect.
22304 Call init_eh_for_function.
22305 (expand_dummy_function_end): Free up current_function state.
22306 (mark_function_status): Renamed from mark_function_state.
22307 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
22308 * function.h (struct function): No can_garbage_collect.
22309 (free_machine_status, free_after_parsing): Declare.
22310 (free_eh_status, free_expr_status): Declare.
22311 * ggc.h (mark_expr_status): Declare.
22312 * stmt.c (free_stmt_status): Free the struct.
22313 (mark_stmt_status): Renamed from mark_stmt_state.
22314 (init_stmt): Don't call init_eh.
22315 (init_stmt_for_function): Don't call init_eh_for_function.
22316 * toplev.c (compile_file): Call init_eh.
22317 (rest_of_compilation): Free basic block info before ggc_collect.
22318 Call free_after_parsing; conditionally call free_after_compilation.
22319 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
22320 Check not null before marking.
22321 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
22322
22323 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
22324
22325 * c-lex.c (yylex): Initialize warn.
22326
22327 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
22328
22329 * pa.c (emit_move_sequence): Properly set the mode of the scratch
22330 register when performing secondary reloads for the SAR register.
22331
22332 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
22333
22334 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
22335 (NOTE_BLOCK): New macro.
22336 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
22337 * function.h (identify_blocks): Change prototype.
22338 * function.c (identify_blocks): Simplify.
22339 (reorder_blocks): Likewise.
22340 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
22341 NOTE_INSN_BLOCK_{BEG,END}.
22342 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
22343 the list of saved notes if the note isn't a
22344 NOTE_INSN_BLOCK_{BEG,END}.
22345 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
22346 NOTE_BLOCK_NUMBER.
22347 (reemit_notes): Adjust recreation of notes to reflect new saved
22348 note structure.
22349 * print-rtl.c (print_rtx): Print the address of the BLOCK when
22350 printing a block note.
22351 * stmt.c (block_vector): Remove.
22352 (find_loop_tree_blocks): Simplify.
22353 (unroll_block_trees): Likewise.
22354 * tree.h (reorder_block): Change prototype.
22355
22356 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
22357
22358 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
22359 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
22360 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
22361 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
22362 (atexit, exit): Simplify.
22363 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
22364 * config/lots: Remove defns of HAVE_ATEXIT.
22365
22366 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
22367
22368 * calls.c (precompute_arguments): Fix typo in comment.
22369 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
22370 TARGET_EXPR.
22371
22372 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
22373
22374 * dsp16xx.c (override_options): Fix typos in GC root registration.
22375
22376 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
22377
22378 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
22379 from config/svr4.h.
22380 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
22381 (FUNCTION_PROFILER): Redefine appropriately for Linux.
22382 (CC1_SPEC): Likewise.
22383
22384 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22385
22386 * genattr.c (main): Add extern prototype. Call return, not exit.
22387 * genattrtab.c (main): Likewise.
22388 * gencheck.c (main): Likewise.
22389 * gencodes.c (main): Likewise.
22390 * genconfig.c (main): Likewise.
22391 * genemit.c (main): Likewise.
22392 * genextract.c (main): Likewise.
22393 * genflags.c (main): Likewise.
22394 * gengenrtl.c (main): Likewise.
22395 * genopinit.c (main): Likewise.
22396 * genoutput.c (main): Likewise.
22397 * genpeep.c (main): Likewise.
22398 * genrecog.c (main): Likewise.
22399
22400 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
22401 * genattrtab.c (get_insn_name): Likewise.
22402 * gencodes.c (get_insn_name): Likewise.
22403 * genconfig.c (get_insn_name): Likewise.
22404 * genemit.c (get_insn_name): Likewise.
22405 * genextract.c (get_insn_name): Likewise.
22406 * genflags.c (get_insn_name): Likewise.
22407 * genopinit.c (get_insn_name): Likewise.
22408 * genpeep.c (get_insn_name): Likewise.
22409
22410 * gencheck.c (usage): Add static prototype.
22411 * genextract.c (print_path): Constify a char*.
22412 * genopinit.c (optabs): Likewise.
22413 * genoutput.c (operand_data, data, output_predicate_decls,
22414 compare_operands): Likewise.
22415 * genrecog.c (write_tree): Add default case in switch.
22416
22417 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22418
22419 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
22420
22421 * print-rtl.c (get_insn_name): Remove prototype.
22422
22423 * toplev.h (progname): Declare const.
22424
22425 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
22426 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
22427 dump_sched_info, dump_local_alloc, regset_release_memory,
22428 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
22429 error_with_file_and_line, error_with_decl, error_for_asm, error,
22430 fatal, warning_with_file_and_line, warning_with_decl, warning,
22431 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
22432 Remove redundant prototypes.
22433
22434 (notice, check_lang_option, report_file_and_line, vnotice,
22435 mark_file_stack): Add static prototype.
22436 (set_fatal_function): Add prototype.
22437 (vnotice, report_file_and_line, set_fatal_function,
22438 check_lang_option): Constify a char*.
22439 (main): Prototype. Call return, not exit.
22440
22441 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22442
22443 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
22444
22445 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
22446
22447 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
22448
22449 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
22450
22451 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22452
22453 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
22454 behave as if it's zero in all cases.
22455 (expand_function_start): Adjust call to assign_parms.
22456 * tree.h (assign_parms): Adjust prototype.
22457 * objc/objc-act.c (hack_method_prototype): Adjust call to
22458 assign_parms.
22459
22460 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
22461
22462 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
22463 arg_pointer_rtx fixed if the argument pointer register is
22464 not fixed.
22465 (NONZERO_BASE_PLUS_P): Likewise.
22466
22467 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
22468
22469 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
22470 match_insn2 to match_insn.
22471 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
22472
22473 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
22474
22475 * Makefile.in (USER_H): Remove va-foo.h.
22476
22477 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
22478 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
22479 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
22480 va-spur.h,va-v850.h}: Remove.
22481
22482 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
22483
22484 * sparc/sparc.md (eligible_for_return_delay): New attribute.
22485 (in_return_delay): Use it instead of match_insn.
22486
22487 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
22488
22489 * config/alpha/va_list.h (va-alpha.h): Do not include.
22490 (__gnuc_va_list): Typedef as in varargs.h.
22491
22492 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
22493
22494 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
22495 DECL_LIVE_RANGE_RTL.
22496
22497 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
22498
22499 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
22500 not NOTE_BLOCK_NUMBER.
22501 (expand_eh_region_end): Likewise.
22502 (find_exception_handler_labels): Likewise.
22503 (scan_region): Likewise.
22504 (exception_optimize): Likewise.
22505 (update_rethrow_references): Likewise.
22506 (set_insn_eh_region): Likewise.
22507 * final.c (final_scan_insn): Likewise.
22508 * flow.c (make_edges): Likewise.
22509 * integrate.c (expand_inline_function): Likewise.
22510 * print-rtl.c (print_rtx): Likewise.
22511
22512 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
22513
22514 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
22515 terms of builtin functions and types.
22516
22517 * mips.c (mips_build_va_list): New.
22518 (mips_va_start, mips_va_arg): New.
22519 * mips.h (BUILD_VA_LIST_TYPE): New.
22520 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
22521
22522 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
22523 (sh_build_va_list, sh_va_start, sh_va_arg): New.
22524 * sh.h (BUILD_VA_LIST_TYPE): New.
22525 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
22526
22527 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
22528
22529 * recog.h (struct recog_data): Make dup_num, operand_address_p,
22530 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
22531 (struct insn_data): Likewise with n_operands, n_dups,
22532 n_alternatives, output_format.
22533 * regclass.c (scan_one_insn): Cast n_operands to int before
22534 arithmetic inside comparison.
22535
22536 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
22537
22538 * toplev.c (compile_function): Unconditionally emit nop.
22539
22540 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22541
22542 * haifa-sched.c (actual_hazard): Move declaration of variable
22543 `this_cost' into the scope where it is used.
22544
22545 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22546
22547 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
22548 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
22549 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
22550
22551 * genrecog.c (make_insn_sequence): Call memset, not bzero.
22552
22553 * jump.c (find_insert_position): Don't declare or define unless
22554 !HAVE_conditional_arithmetic.
22555 (returnjump_p_1, delete_prior_computation): Add static prototypes.
22556
22557 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
22558
22559 * recog.c (offsettable_address_p): Prototype function pointer.
22560 (preprocess_constraints): Call memset, not bzero.
22561
22562 * tree.c (tree_node_kind_names): Constify a char*. Make static.
22563 (gcc_obstack_init): Don't declare.
22564 (fix_sizetype): Add static prototype.
22565 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
22566 (tree_cons): Call memset, not bzero.
22567
22568 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
22569 definition in macro ASM_WEAKEN_LABEL.
22570 (mark_const_hash_entry): Add static prototype.
22571
22572 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22573
22574 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
22575
22576 * unroll.c (find_common_reg_term, subtract_reg_term,
22577 loop_find_equiv_value): Add static prototypes.
22578 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
22579 (copy_loop_body): Remove unreachable break statement.
22580
22581 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
22582
22583 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
22584
22585 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22586
22587 Undo some changes from the gcc2 merge:
22588 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
22589 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
22590 pointers.
22591
22592 Undo this change:
22593 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
22594 * emit-rtl.c (gen_lowpart_common): Disable optimization of
22595 initialized float-int union if the value is a NaN.
22596
22597 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
22598
22599 * gthr-win32.h: New file.
22600
22601 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
22602 shared as a valid attribute.
22603 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
22604 * extend.texi: Document `shared' variable attribute.
22605
22606 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
22607
22608 * configure.in: Handle --enable-threads on FreeBSD.
22609 * configure: Rebuit.
22610
22611 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
22612
22613 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
22614 thread support.
22615 * configure: Rebuilt.
22616
22617 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
22618 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
22619 Rosimildo DaSilva <rdasilva@connecttel.com>
22620
22621 * configure.in (m68k-*-rtemscoff*): Added.
22622 * configure.in (mips64orion-*-rtems*): Converted to ELF.
22623 * configure.in (sparc-*-rtemsaout*): Added as alias for old
22624 sparc-rtems configuration.
22625 * configure.in (sparc-*-rtemself*): Added.
22626 * configure.in (sparc-*-rtems*): Now ELF not a.out.
22627 * config/i386/rtems.h: Added comment.
22628 * config/sparc/rtemself.h: New file.
22629
22630 * configure.in (m68k-rtemself): Added.
22631 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
22632 and DWARF_DEBUGGING_INFO.
22633 * config/m68k/crti.s: New file.
22634 * config/m68k/crtn.s: New file.
22635 * config/m68k/t-crtstuff: New file.
22636 * config/m68k/rtemself.h: New file.
22637
22638 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
22639 global ctor/dtor and C++ exception handling.
22640 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
22641 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
22642 ENDFILE_SPEC.
22643 * config/i386/t-rtems-i386: New File.
22644
22645 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
22646
22647 * stmt.c (expand_end_case): Return right away if the case stack is
22648 empty.
22649
22650 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
22651
22652 * Makefile.in (version.c): Remove rule incorrectly brought in from
22653 the gcc2 merge.
22654
22655 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
22656
22657 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
22658 * msdos/top.sed: Take into account a prepended $(SHELL) to
22659 move-if-change.
22660 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
22661
22662 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
22663
22664 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22665
22666 * regmove.c (fixup_match_1): Don't change an unchanging register.
22667 (stable_but_for_p): Renamed to:
22668 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
22669 Changed all callers.
22670
22671 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
22672
22673 * loop.c (strength_reduce): Don't call reg_used_between_p if the
22674 insn from BL2 is after the insn from BL.
22675
22676 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
22677
22678 * recog.h (INSN_OUTPUT_FORMAT_*): New.
22679 (struct insn_data): Merge `template' and `outfun' into `output'.
22680 Add `output_format'.
22681 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
22682 (struct data): Remove `outfun'; add `output_format'.
22683 (name_for_index): Remove declaration.
22684 (output_insn_data): Handle output formats.
22685 (process_template): Emit the bare array for @.
22686 (gen_expand, gen_split): Set output_format to NONE.
22687 * output.h (get_insn_template): Declare.
22688 * final.c (get_insn_template): New.
22689 (final_scan_insn): Use it.
22690 * toplev.c (compile_file): Likewise.
22691
22692 * c4x/c4x.c (c4x_process_after_reload): Likewise.
22693 * i860/i860.c (output_delayed_branch): Likewise.
22694 (output_delay_insn): Likewise.
22695
22696 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
22697
22698 * rtl.c (obstack_alloc_rtx): Removed.
22699
22700 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
22701
22702 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
22703
22704 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
22705
22706 * i386.c (call_insn_operand): Reject const_int.
22707 (expander_call_insn_operand): Use call_insn_operand.
22708
22709 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22710
22711 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
22712
22713 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
22714
22715 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
22716 Use DImode operation.
22717
22718 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
22719
22720 * gcc.c: Include sys/resource.h.
22721 (report_times): New flag.
22722 (execute): If report_times is set, calculate and report the
22723 CPU time consumed by each subprocess.
22724
22725 (rus, prus): New globals.
22726 (option_map): Add --time.
22727 (display_help): Document -time.
22728 (process_command): Set report_times if -time is given.
22729 Turn off -pipe if -time is given.
22730
22731 * invoke.texi: Document new option -time.
22732
22733 * configure.in: Check for getrusage. Check if we have to
22734 prototype getrusage.
22735 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
22736 * configure: Regenerate.
22737 * config.in: Regenerate.
22738
22739 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
22740
22741 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
22742 fields.
22743
22744 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
22745
22746 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
22747 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
22748 (nan): Return _thenan_sf or _thenan_df as appropriate.
22749 (L_thenan_sf): Define _thenan_sf.
22750 (L_thenan_df): Define _thenan_df.
22751
22752 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
22753 (DPBIT_FUNCS): Add _thenan_df.
22754
22755 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
22756
22757 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
22758 TYPE_SIZE_UNIT.
22759
22760 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22761
22762 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
22763
22764 * gcc.h: New file.
22765 (lang_specific_driver): Don't take a function pointer parameter.
22766 All callers changed.
22767
22768 * gcc.c: Include gcc.h.
22769 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
22770 lang_specific_extra_outfiles, fatal): Don't declare.
22771 (multilib_defaults_raw): Constify.
22772 (read_specs): Call memset, rather than bzero.
22773 (main): Call return, not exit.
22774 (lookup_compiler): Call memcpy, not bcopy.
22775 (fatal): Make extern.
22776
22777 * cppspec.c: Include gcc.h.
22778 (lang_specific_driver): Initialize variable `quote'. Constify a
22779 char*. All calls to the function pointer parameter now
22780 explicitly call `fatal'.
22781
22782 * gccspec.c (lang_specific_driver): Include gcc.h.
22783
22784 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
22785
22786 * arm.c (note_invalid_constants): Use recog_data.operand_type
22787 for recog_op_type.
22788
22789 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22790
22791 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
22792 Declare.
22793
22794 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
22795 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
22796 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
22797 reload_secondary_in_reload, reload_secondary_out_reload,
22798 reload_secondary_in_icode, reload_secondary_out_icode,
22799 reload_reg_rtx, reload_when_needed): Delete declarations.
22800 (struct reload): New structure.
22801 (rld): Declare new array.
22802 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
22803 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
22804 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
22805 reload_secondary_in_reload, reload_secondary_out_reload,
22806 reload_secondary_in_icode, reload_secondary_out_icode,
22807 reload_reg_rtx, reload_when_needed): Delete definitions.
22808 (rld): New array.
22809 (whole file): Replace uses of the deleted arrays with uses of rld.
22810 * reload1.c (whole file): Replace uses of the deleted arrays with
22811 uses of rld.
22812 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
22813 explicit loops, not with bcopy.
22814
22815 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
22816
22817 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
22818 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
22819 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
22820 insn_name): Delete and consolidate into new structures.
22821 (insn_operand_predicate_fn): New.
22822 (insn_output_fn): New.
22823 (insn_gen_fn): New.
22824 (struct insn_operand_data): New.
22825 (struct insn_data): New.
22826 (insn_data): New.
22827 (OUT_FCN): Update for insn_data change.
22828 * builtins.c (expand_builtin_strlen): Likewise.
22829 (expand_builtin_memcmp): Likewise.
22830 * combine.c (make_extraction, simplify_comparison): Likewise.
22831 * cse.c (canon_reg, cse_insn): Likewise.
22832 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
22833 * expmed.c (store_bit_field, extract_bit_field): Likewise.
22834 (emit_store_flag): Likewise.
22835 * expr.c (convert_move, emit_block_move): Likewise.
22836 (clear_storage, emit_push_insn, expand_increment): Likewise.
22837 (do_store_flag): Likewise.
22838 * expr.h (GEN_FCN): Likewise.
22839 (insn_gen_function): Die.
22840 * final.c (final_scan_insn): Update for insn_data change.
22841 (output_asm_name): Likewise.
22842 * function.c (fixup_var_refs_1): Likewise.
22843 * loop.c (check_dbra_loop): Likewise.
22844 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
22845 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
22846 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
22847 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
22848 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
22849 * regmove.c (gen_add3_insn): Likewise.
22850 * reload.c (push_secondary_reload, combine_reloads): Likewise.
22851 (find_reloads, find_reloads_address_1): Likewise.
22852 (debug_reload_to_stream): Likewise.
22853 * reload1.c (emit_reload_insns, gen_reload): Likewise.
22854 * stmt.c (expand_end_case): Likewise.
22855 * toplev.c (compile_file): Likewise.
22856
22857 * c4x/c4x.c (c4x_process_after_reload): Likewise.
22858 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
22859
22860 * print-rtl.c (insn_name_ptr): Remove declaration.
22861 (get_insn_name): Declare.
22862 (print_rtx): Use it.
22863 * genoutput.c (insn_name_ptr): Remove.
22864 (next_operand_number): New.
22865 (struct operand_data): New.
22866 (null_operand, odata, odata_end): New.
22867 (struct data): Use struct operand_data.
22868 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
22869 (get_insn_name): Renamed from name_for_index.
22870 (output_prologue): Define NO_MD_PROTOTYPES.
22871 (output_predicate_decls): Break out from output_epilogue.
22872 Iterate over the operands list.
22873 (output_operand_data): Break out from output_epilogue. Emit
22874 just the operands list.
22875 (output_insn_data): Break out from output_epilogue. Emit just
22876 the insn data.
22877 (output_epilogue): Remove.
22878 (output_get_insn_name): New.
22879 (constraints, op_n_alternatives, predicates, address_p): Die.
22880 (modes, strict_low, seen): Die.
22881 (scan_operands): Take new param `d' instead of writing to
22882 seven global variables.
22883 (compare_operands): New.
22884 (place_operands): New.
22885 (validate_insn_alternatives): Update for struct data change.
22886 (gen_insn): Don't zero or copy 7 global arrays. Update for
22887 scan_operands; call place_operands.
22888 (gen_peephole, gen_expand, gen_split): Likewise.
22889 (main): Update for new output routines.
22890
22891 * genattr.c (insn_name_ptr): Remove.
22892 (get_insn_name): New function.
22893 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
22894 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
22895 * genrecog.c: Likewise.
22896
22897 * alpha.md (adddi3): Make `pattern' array static.
22898
22899 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
22900
22901 * config/c4x/c4x.h (c4x_rpts_cycles_string,
22902 c4x_cpu_version_string): Constify char *.
22903 * config/c4x/c4x.c (c4x_rpts_cycles_string,
22904 c4x_cpu_version_string): Likewise.
22905
22906 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
22907
22908 * tree.c (save_tree_status): Revert 10 Sep change.
22909 (restore_tree_status): Likewise. Call obstack_free with NULL
22910 before freeing the obstack proper.
22911
22912 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
22913
22914 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
22915
22916 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
22917 surrounding context.
22918
22919 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
22920
22921 * tree.c (type_hash_canon): Put all types in the hash-table, when
22922 GC'ing.
22923
22924 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
22925
22926 * recog.h (struct recog_data, recog_data): New.
22927 (recog_foo variables): Kill.
22928 * recog.c (recog_operand, recog_operand_loc): Kill.
22929 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
22930 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
22931 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
22932 (recog_data): Define.
22933 (extract_insn): Update all recog_foo references to use recog_data.
22934 (preprocess_constraints, constrain_operands): Likewise.
22935 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
22936 * genattrtab.c (main): Likewise.
22937 * genextract.c (main): Likewise.
22938 * genoutput.c: Likewise.
22939 * genrecog.c (write_subroutine, main): Likewise.
22940 * local-alloc.c (block_alloc): Likewise.
22941 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
22942 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
22943 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
22944 * reload.c (find_reloads, find_reloads_toplev): Likewise.
22945 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
22946 (reload_cse_simplify_operands): Likewise.
22947
22948 * arc/arc.c (arc_final_prescan_insn): Likewise.
22949 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
22950 * h8300/h8300.c (notice_update_cc): Likewise.
22951 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
22952 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
22953 * mn10200/mn10200.c (notice_update_cc): Likewise.
22954 * mn10300/mn10300.c (notice_update_cc): Likewise.
22955 * romp/romp.c (update_cc): Likewise.
22956 * sparc/sparc.c (check_pic): Likewise.
22957 * v850/v850.c (notice_update_cc): Likewise.
22958
22959 * genemit.c (main): Don't declare recog_operand.
22960
22961 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
22962
22963 * ggc.h (rtvec_def): Forward declare.
22964 (tree_node): Likewise.
22965 (ggc_root): Define.
22966 (roots): Declare.
22967 (ggc_set_mark_rtx): Add prototype.
22968 (ggc_set_mark_rtvec): Likewise.
22969 (ggc_set_mark_tree): Likewise.
22970 * ggc-simple.c (ggc_root): Don't define.
22971 (roots): Don't declare.
22972 (ggc_mark_rtx): Remove.
22973 (ggc_mark_rtvec): Likewise.
22974 (ggc_mark_tree): Likewise.
22975 (ggc_mark_varray): Likewise.
22976 (ggc_mark_tree_hash_table_entry): Likewise.
22977 (ggc_mark_tree_hash_table): Likewise.
22978 (ggc_set_mart_rtx): New function.
22979 (ggc_set_mark_rtvec): Likewise.
22980 (ggc_set_mark_tree): Likewise.
22981 (ggc_add_root): Remove.
22982 (ggc_add_rtx_root): Likewise.
22983 (ggc_remove_tree_root): Likewise.
22984 (ggc_add_string_root): Likewise.
22985 (ggc_add_tree_varray_root): Likewise.
22986 (ggc_add_tree_hash_table_root): Likewise.
22987 (ggc_del_root): Likewise.
22988 (ggc_mark_rtx_ptr): Likewise.
22989 (ggc_mark_tree_ptr): Likewise.
22990 (ggc_mark_string_ptr): Likewise.
22991 (ggc_mark_tree_varray_ptr): Likewise.
22992 (ggc_mark_tree_hash_table_ptr): Likewise.
22993 * ggc-common.c: New file.
22994 * Makefile.in (OBJS): Add ggc-common.o.
22995 (ggc-common.o): List dependencies.
22996
22997 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
22998
22999 * cppalloc.c (xstrdup): Use memcpy.
23000 * cpperror.c (cpp_print_containing_files): Don't use
23001 cpp_notice.
23002 * cpplib.c (conditional_skip): Set temp->lineno.
23003 (do_endif): Make error message less obscure.
23004 (if_directive_name): New function.
23005 (cpp_get_token [case EOF]): Unwind the if stack and generate
23006 error messages for each unterminated conditional in this file.
23007 (parse_string): Do not behave differently if -traditional.
23008
23009 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
23010
23011 * builtins.c (expand_builtin_va_arg): Cope with an array-type
23012 va_list decomposing to pointer-type.
23013 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
23014 (rs6000_va_arg): Likewise.
23015
23016 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
23017
23018 * except.c (start_dynamic_handler): Compute size using
23019 STACK_SAVEAREA_MODE.
23020
23021 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23022
23023 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
23024 include directory headers. Don't define strrchr. Don't provide
23025 my_* replacement functions. Prefer PTR over `pointer_type'.
23026 Don't prototype system functions. Don't redefine getopt.
23027
23028 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
23029 safe_read, safe_write, save_pointers, restore_pointers,
23030 is_id_char, in_system_include_dir, directory_specified_p,
23031 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
23032 find_corresponding_lparen, referenced_file_is_newer,
23033 save_def_or_dec, munge_compile_params, gen_aux_info_file,
23034 process_aux_info_file, identify_lineno, check_source,
23035 seek_to_line, forward_to_next_token_char, output_bytes,
23036 output_string, output_up_to, other_variable_style_function,
23037 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
23038 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
23039 find_static_definition, connect_defs_and_decs, add_local_decl,
23040 add_global_decls, needs_to_be_converted, visit_each_hash_node,
23041 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
23042 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
23043 scan_for_missed_items, edit_file, string_list_cons): Add static
23044 prototypes.
23045 (standard_exec_prefix, target_machine, target_version,
23046 default_syscalls_dir, string_list, string_list_cons, find_file,
23047 do_cleaning): Constify a char*.
23048 (safe_read, safe_write): Use PTR, not a char*.
23049 (is_id_char): Take an int, not a char.
23050 (main): Add prototype. Call return, not exit.
23051
23052 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
23053
23054 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
23055 when comparing types.
23056
23057 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
23058
23059 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
23060 (strength_reduce): Release the varrays from the no-bivs early exit.
23061
23062 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
23063 the loop over the registers.
23064
23065 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
23066 for a new obstack.
23067 (restore_tree_status): Check that instead when freeing the obstack.
23068
23069 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
23070
23071 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
23072 as pointers.
23073
23074 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23075
23076 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
23077 operand size modifiers.
23078
23079 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23080
23081 * c-common.c (c_common_nodes_and_builtins): Don't build
23082 va_list_type_node.
23083 * c-common.h (enum c_tree_index and related accesor macros): Remove
23084 everything now declared in tree.h.
23085 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
23086 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
23087 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
23088 (error_mark_node, void_type_node, char_type_node, integer_type_node,
23089 unsigned_type_node, ptr_type_node, va_list_type_node,
23090 integer_zero_node, null_pointer_node, integer_one_node): Delete.
23091 (init_decl_processing): Call build_common_tree_nodes and
23092 build_common_tree_nodes_2 instead of building their nodes here.
23093 Don't add roots for these nodes.
23094 * stor-layout.c (size_zero_node, size_one_node): Delete.
23095 (set_sizetype): Make a new node for bitsizetype each time.
23096 * tree.c (global_trees): New variable.
23097 (init_obstacks): Add a gc root for it.
23098 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
23099 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
23100 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
23101 (build_common_tree_nodes): New function.
23102 (fix_sizetype): New function.
23103 (build_common_tree_nodes_2): New function.
23104 * tree.h (enum tree_index): New.
23105 (global_trees): Declare.
23106 Add accessor macros for all nodes now moved to global_trees.
23107 Delete their declarations.
23108
23109 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
23110
23111 * c-decl.c (finish_function): When processing a nested function,
23112 push and pop GC context around rest_of_compilation.
23113
23114 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
23115
23116 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
23117 Default ix86_arch to PROCESSOR_I386.
23118 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
23119 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
23120 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
23121 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
23122 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
23123 (EXTRA_SPECS): Remove deleted specs.
23124
23125 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
23126
23127 * function.c (assign_stack_local_1): Allocate from
23128 function->x_frame_offset, not frame_offset.
23129
23130 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
23131
23132 * ggc.h (lang_cleanup_tree): Remove.
23133 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
23134 * ggc-callbacks.c (lang_cleanup_tree): Remove.
23135
23136 * c-decl.c (finish_struct): Use ggc_alloc to allocate
23137 TYPE_LANG_SPECIFIC when garbage collecting.
23138 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
23139 (lang_cleanup_tree): Remove.
23140
23141 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
23142
23143 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
23144 * crtstuff.c: Not here.
23145 * dwarf2out.c: Or here.
23146 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
23147 info.
23148
23149 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
23150
23151 * function.h (free_after_compilation): Remove decl parameter.
23152 (free_varasm_status0: Likewise.
23153 (free_emit_status): Likewise.
23154 (free_stmt_status): Likewise.
23155 (free_after_compilation): Likewise.
23156 (init_lang_status): New variable.
23157 (free_lang_status): Likewise.
23158 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
23159 * function.c (init_lang_status): New variable.
23160 (free_lang_status): Likewise.
23161 (push_function_context_to): Don't set function::decl here.
23162 (free_after_copmilation): Make decl parameter implicit. Call
23163 free_lang_status if defined.
23164 (prepare_function_start): Call init_lang_status if defined.
23165 (init_function_start): Set function::decl here.
23166 * profile.c (output_func_start_profiler): Don't call pushdecl
23167 until we've actually started the function.
23168 * stmt.c (free_stmt_status): Make decl parameter implicit.
23169 * toplev.c (rest_of_compilation): Don't pass decl to
23170 free_after_compilation.
23171 * varasm.c (free_varasm_status): Likewise.
23172
23173 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23174
23175 * except.c (call_get_eh_context): Add root when allocating static
23176 tree variable.
23177
23178 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
23179
23180 * arm.c: Include "ggc.h".
23181 (arm_add_gc_roots): New function.
23182 (arm_override_options): Call it.
23183 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
23184
23185 * arm.md (define_asm_attributes): Add a pool_range attribute.
23186
23187 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
23188
23189 * extend.texi (Volatiles): New node.
23190
23191 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
23192
23193 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
23194 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
23195 (struct ggc_any): Replace `mark' with `magic_mark'.
23196 (ggc_alloc_string): Use memcpy, not bcopy.
23197 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
23198 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
23199 (ggc_free_any): New.
23200 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
23201 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
23202 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
23203 Use IS_MARKED. Use ggc_free_any.
23204
23205 1999-09-09 Scott Bambrough <scottb@netwinder.org>
23206
23207 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
23208
23209 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
23210
23211 * toplev.c (main): Always init_ggc.
23212
23213 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
23214
23215 * except.c (find_all_handler_type_matches): Free the list if
23216 we found no matches.
23217
23218 * combine.c (SUBST): Break out to a real function do_SUBST.
23219 (SUBST_INT): Likewise.
23220 * gcse.c (free_pre_mem): Free `temp_bitmap'.
23221 (pre_insert): Free `inserted'.
23222 * loop.c (basic_induction_var): Always set `location'.
23223
23224 * function.c (expand_function_end): Add initial_trampoline as a root.
23225 * rtl.h (init_varasm_once): Declare.
23226 * toplev.c (compile_file): Call it.
23227 * ggc-simple.c (ggc_mark_string_ptr): New.
23228 (ggc_add_string_root): New.
23229 (ggc_collect): Disable collection avoidance temporarily.
23230 * ggc.h (ggc_add_string_root): Declare.
23231 * except.c (create_rethrow_ref): Use ggc_alloc_string.
23232 * optabs.c (init_libfuncs): Likewise.
23233 * varasm.c (named_section): Use ggc_alloc_string.
23234 (make_function_rtl): Likewise.
23235 (make_decl_rtl): Likewise.
23236 (assemble_static_space): Likewise.
23237 (assemble_trampoline_template): Likewise.
23238 (output_constant_def): Likewise.
23239 (force_const_mem): Likewise.
23240 (mark_const_hash_entry): New.
23241 (mark_pool_sym_hash_table): New.
23242 (mark_varasm_state): Use it.
23243 (init_varasm_once): New.
23244
23245 * expr.h (init_one_libfunc): Declare.
23246 * optabs.c (init_one_libfunc): New.
23247 (init_optabs): Use it.
23248 * config/gofast.h: Likewise.
23249 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
23250 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
23251
23252 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
23253
23254 * Makefile.in (cppexp.o): Depend on cpphash.h.
23255 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
23256 Include cpphash.h.
23257 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
23258 * cpplib.c (do_define): Generalise to handle poisoned definitions,
23259 redefining poisoned identifiers, etc.
23260 (do_undef): Don't allow poisoned identifiers to be undefined.
23261 (do_pragma): Add #pragma poison.
23262 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
23263
23264 * cccp.c: Add T_POISON node type.
23265 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
23266 poisoned xxx.
23267 (do_define): Generalise to handle poisoned definitions,
23268 redefining poisoned identifiers, etc.
23269 (do_undef): Don't allow poisoned identifiers to be undefined.
23270 (do_pragma): Add #pragma poison.
23271 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
23272
23273 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
23274 * c-pragma.h: Add ps_poison state. We now always have generic
23275 pragmas.
23276
23277 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
23278
23279 * ggc.h (ggc_alloc): New function.
23280 (ggc_mark): Likewise.
23281 * ggc-simple.c (ggc_any): New structure.
23282 (ggc_status): Add anys.
23283 (n_anys_collected): New variable.
23284 (ggc_alloc): Define.
23285 (ggc_mark): Likewise.
23286 (ggc_collect): Collect the anys.
23287
23288 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23289
23290 * c-decl.c (mark_binding_level): Make static to match prototype.
23291
23292 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
23293
23294 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
23295
23296 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
23297
23298 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
23299 will use into account. Expand the max width to 5.
23300 * rtl.c: Likewise.
23301
23302 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
23303
23304 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
23305 for the rtx length.
23306
23307 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
23308
23309 * alpha.md (call value patterns): Remove the result predicates.
23310
23311 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
23312
23313 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
23314 last change.
23315
23316 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23317
23318 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
23319 changed from extern char *, to extern PTR. Also fix typo in
23320 NEED_DECLARATION_REALLOC test.
23321
23322 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
23323
23324 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23325
23326 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
23327 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
23328 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
23329 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
23330
23331 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
23332
23333 * cccp.c (pcfinclude): Likewise.
23334
23335 * global.c (allocno_compare): Likewise.
23336
23337 * haifa-sched.c (rank_for_schedule): Likewise.
23338
23339 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
23340
23341 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
23342
23343 * stupid.c (stupid_reg_compare): Likewise.
23344
23345 * tree.c (_obstack_allocated_p): Likewise.
23346
23347 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
23348
23349 1999-09-08 Bruce Korb autogen@linuxbox.com
23350
23351 * Makefile.in: Give the hapless gperf user a hint about
23352 why "gperf -F" fails.
23353
23354 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
23355
23356 * lists.c: Include ggc.h.
23357 (zap_lists): New.
23358 (init_EXPR_INSN_LIST_cache): Install it.
23359
23360 * ggc-simple.c (init_ggc): Absorb the old init.
23361 (ggc_push_context): Use xcalloc.
23362 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
23363 (ggc_collect): Add [rvts] tags to the collection stats.
23364
23365 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
23366
23367 * cccp.c (main): Fix handling of -include and -imacros options.
23368
23369 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
23370
23371 * cpplib.c (cpp_push_buffer): Fix order of arguments.
23372
23373 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
23374
23375 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
23376 genrtl.c.
23377
23378 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
23379
23380 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
23381 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
23382 and SET_DEST. Update comment.
23383
23384 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23385
23386 * config/c4x/c4x.c: Include ggc.h.
23387 (c4x_add_gc_roots): New function.
23388 (c4x_override_options): Call c4x_add_gc_roots.
23389
23390 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
23391
23392 * defaults.h (TARGET_ESC): Move ...
23393 * system.h: ... here, where Linas had it in the first place. Silly me.
23394
23395 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
23396
23397 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
23398 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
23399 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
23400 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
23401 * defaults.h (TARGET_ESC): Add default.
23402
23403 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
23404
23405 * configure.in: add i370-*-openedition, i370-*-mvs and
23406 i370-*-linux targets
23407
23408 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
23409
23410 * dsp16xxx.c: Include ggc.h
23411 (override_options): Mark GC roots.
23412 * mn10200.c: Include ggc.h.
23413 (asm_file_start): Mark GC roots.
23414 * tahoe.c: Include ggc.h.
23415 (extensible_operand): Mark GC roots.
23416
23417 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
23418
23419 * README: Add section discussing status of ELF ABI.
23420 * i370.c: Fix misc spelling mistakes.
23421 (i370_label_scan): Updated notes, exception handling.
23422 (i370_function_prolog): Simplify ELF stack handling.
23423 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
23424 (STACK_GROWS_DOWNWARD): ELF stack grows down.
23425 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
23426 * i370.md: (movdi): Add notes.
23427 (floatsidf2): Use stack not rtca for scratch float area.
23428 (iorsi3): Correct operand constraints.
23429 * x-oe: Restore TAROUTOPTS which are used by pax.
23430
23431 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
23432
23433 * rs6000.c: Include ggc.h.
23434 (rs6000_add_gc_roots): New function.
23435 (override_options): Call it.
23436
23437 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
23438
23439 * alpha.h (alpha_compare): New.
23440 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
23441 * alpha.c: Likewise for the definitions.
23442 (alpha_emit_conditional_branch): Update for alpha_compare.
23443 (alpha_emit_conditional_move): Likewise.
23444 * alpha.md (cmpdf, cmpdi): Likewise.
23445 (setcc patterns): Likewise. Zero alpha_compare after use.
23446 (sne): Optimize (x != 0) into (0U < x).
23447
23448 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
23449
23450 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
23451 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
23452 (INIT_EXPANDERS): Remove.
23453 * alpha.c: Include ggc.h.
23454 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
23455 (alpha_init_machine_status, alpha_mark_machine_status): New.
23456 (override_options): Install them.
23457 (struct machine_function): Moved to alpha.h.
23458 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
23459 (alpha_init_expanders): Remove.
23460 (alpha_return_addr): Adjust to use current_function->machine.
23461 (alpha_ra_ever_killed): Likewise.
23462 (alpha_expand_epilogue): Likewise.
23463 * alpha.md (eh_epilogue): Likewise.
23464
23465 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
23466 Melissa O'Neill <oneill@cs.sfu.ca>
23467 Geoffrey Keating <geoffk@cygnus.com>
23468
23469 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
23470 call-used registers (call-saved registers must still be contiguous
23471 and end with r31, of course).
23472
23473 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
23474
23475 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
23476 (self_promoting_type_p): Delete.
23477 (self_promoting_args_p): Move ...
23478 * c-common.c: ... here.
23479 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
23480 (simple_type_promotes_to): New.
23481 * builtins.c (lang_type_promotes_to): New.
23482 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
23483 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
23484 * c-common.h: ... here.
23485 (self_promoting_args_p, simple_type_promotes_to): Declare.
23486 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
23487 (grokdeclarator): Likewise.
23488 * tree.h (lang_type_promotes_to): Declare.
23489
23490 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
23491
23492 Add some machine-dependent GC roots.
23493 * sparc.c: Include ggc.h.
23494 (sparc_add_gc_roots): New function.
23495 (mark_ultrasparc_pipeline_state): Likewise.
23496 (override_options): Call sparc_add_gc_roots.
23497 * pa.c: Include ggc.h.
23498 (pa_add_gc_roots): New function.
23499 (mark_deferred_plabels): Likewise.
23500 (override_options): Call pa_add_gc_roots.
23501 * mips.c: Include ggc.h.
23502 (mips_add_gc_roots): New function.
23503 (override_options): Use it.
23504
23505 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23506
23507 * cpperror.c (cpp_file_line_for_message): Constify a char*.
23508
23509 * cppexp.c (parse_number, parse_charconst, cpp_lex,
23510 cpp_parse_expr): Add static prototypes.
23511 (parse_charconst): Don't cast away const-ness.
23512 (token): Constify a char*.
23513
23514 * cppfiles.c (file_name_list, include_hash, find_include_file,
23515 finclude, initialize_input_buffer): Constify a char*.
23516 (file_cleanup, find_position): Add static prototypes.
23517
23518 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
23519 collect_expansion): Add static prototypes.
23520 (cpp_install, create_definition, monthnames): Constify a char*.
23521
23522 * cpphash.h (cpp_install): Likewise.
23523
23524 * cppinit.c (known_suffixes, default_include,
23525 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
23526 (base_name, dump_special_to_buffer, initialize_dependency_output):
23527 Add static prototypes.
23528
23529 * cpplib.c (my_strerror): Constify a char*.
23530 (null_underflow, null_cleanup, skip_comment, copy_comment,
23531 copy_rest_of_line, handle_directive, pass_thru_directive,
23532 get_directive_token, read_line_number, cpp_print_file_and_line,
23533 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
23534 v_cpp_warning_with_line, detect_if_not_defined,
23535 consider_directive_while_skipping): Add static prototypes.
23536 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
23537 cpp_pedwarn_with_file_and_line): Constify a char*.
23538
23539 * cpplib.h (cpp_options, include_hash, progname, definition,
23540 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
23541 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
23542 find_include_file, deps_output, include_hash): Constify a char*.
23543
23544 * cppmain.c (progname): Constify.
23545 (main): Add prototype. Use return, not exit.
23546
23547 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
23548 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
23549 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
23550 check_protection): Add static prototype.
23551 (xfree): Remove.
23552 (progname, recognized_macrom, recognized_extern): Constify a char*.
23553 (main): Add prototype.
23554
23555 * gen-protos.c (progname): Constify a char*.
23556
23557 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
23558
23559 * emit-rtl.c (free_emit_status): Take decl as a parameter.
23560 (init_emit_once): Add more GC roots.
23561 * except.c (mark_func_eh_entry): New function.
23562 (mark_eh_node): Mark false_label and rethrow_label.
23563 (init_eh): Add more GC roots.
23564 * function.c (free_after_compilation): Take decl as a paramter.
23565 Call free_stmt_status.
23566 (mark_function_state): Don't assume x_parm_reg_stack_loc is
23567 non-NULL.
23568 * function.h (free_after_compilation): Change prototype.
23569 (free_varasm_status): Likewise.
23570 (free_emit_status): Likewise.
23571 (free_stmt_status): New function.
23572 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
23573 Remove, replacing with ...
23574 (ggc_status): New structure.
23575 (ggc_chain): New variable.
23576 (init_gcc): Define.
23577 (ggc_push_context): New function.
23578 (ggc_pop_context): Likewise.
23579 (ggc_alloc_rtx): Adjust for use of ggc_chain.
23580 (ggc_alloc_rtvec): Likewise.
23581 (ggc_alloc_tree): Likewise.
23582 (ggc_alloc_string): Likewise.
23583 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
23584 (ggc_mark_tree): Give language-dependent code a chance to mark
23585 `x' nodes.
23586 (ggc_mark_tree_varray): Handle empty arrays.
23587 (ggc_collect): Adjust for use of ggc_chain. Clear
23588 bytes_alloced_since_last_gc.
23589 * ggc.h (ggc_pop_context): New function.
23590 (ggc_push_context): Likewise.
23591 * print-tree.c (print_node): Don't print obstacks when GC'ing.
23592 * stmt.c (free_stmt_status): New function.
23593 (init_stmt_for_function): Clear last_expr_value.
23594 * toplev.c (rest_of_compilation): Always call free_after_compilation.
23595 Conditionalize call to ggc_collect.
23596 (main): Call init_ggc.
23597 * tree.c (push_obstacks): Do the push, even when GC'ing.
23598 (push_obstacks_nochange): Likewise.
23599 (pop_obstacks): Liekwise.
23600 * varasm.c (free_varasm_status): Take decl as a parameter.
23601
23602 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
23603
23604 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
23605 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
23606 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
23607 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
23608
23609 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
23610
23611 * pa/x-pa-mpeix: New file for the MPE port.
23612
23613 * pa/quadlib.asm: New file for long double support.
23614
23615 * configure.in: Add hppa1.0-*-mpeix for MPE port.
23616 * configure: Rebuilt.
23617
23618 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
23619
23620 * final.c (shorten_branches): Fix last change.
23621
23622 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
23623
23624 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
23625
23626 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
23627
23628 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
23629 details.
23630
23631 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23632
23633 * c-aux-info.c (concat): Don't define.
23634
23635 * cccp.c (my_strerror): Likewise. All callers changed to use
23636 xstrerror instead.
23637 (do_include): Call xstrdup, not xmalloc/strcpy.
23638 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
23639 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
23640
23641 * collect2.c (my_strsignal): Likewise. All callers changed to use
23642 strsignal instead.
23643 (locatelib): Call xstrdup, not xmalloc/strcpy.
23644
23645 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
23646
23647 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
23648
23649 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
23650
23651 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
23652
23653 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
23654
23655 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
23656
23657 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
23658 malloc/realloc.
23659 (find_all_handler_type_matches): Likewise. Don't check return
23660 value.
23661 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
23662 xmalloc, not malloc.
23663 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
23664
23665 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
23666 (init_spec): Call xcalloc, not xmalloc/bzero.
23667 (set_spec): Call xstrdup, not save_string.
23668 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
23669 (find_a_file): Call xstrdup, not xmalloc/strcpy.
23670 (process_command): Call xstrdup, not save_string.
23671 (main): Call xcalloc, not xmalloc/bzero.
23672
23673 * gcov.c (xmalloc): Don't define.
23674 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
23675 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
23676 (output_data): Call xcalloc, not xmalloc/bzero.
23677
23678 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
23679
23680 * mips-tdump.c (xmalloc): Don't define.
23681 (print_symbol): Call xmalloc, not malloc.
23682 (read_tfile): Call xcalloc, not calloc.
23683
23684 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
23685 Don't define. All callers of xfree/my_strsignal changed to use
23686 free/strsignal instead.
23687 (allocate_cluster): Call xcalloc, not calloc.
23688
23689 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
23690 Fix memory leak, free allocated memory.
23691
23692 * prefix.c (translate_name): Call xstrdup, not save_string.
23693 (update_path): Likewise.
23694
23695 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
23696
23697 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
23698 Don't define. Callers of xfree/savestring2 changed to use
23699 free/concat instead.
23700
23701 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
23702 (init_elim_table): Likewise.
23703
23704 * resource.c (init_resource_info): Likewise.
23705
23706 * stupid.c (stupid_life_analysis): Likewise.
23707
23708 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
23709 (open_dump_file): Call concat, not xmalloc/strcpy/...
23710 (clean_dump_file): Likewise.
23711 (compile_file): Call xstrdup, not xmalloc/strcpy.
23712
23713 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
23714
23715 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
23716 * v850.c (v850_va_arg): New.
23717
23718 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23719
23720 * haifa-sched.c: Tidy comments.
23721
23722 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23723
23724 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
23725 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
23726 $(out_object_file)): Depend on ggc.h.
23727 * c-common.c: Include "ggc.h".
23728 (combine_strings): If doing GC, use ggc_alloc_string.
23729 * c-decl.c: Include "ggc.h".
23730 (ggc_p): Define with value 0.
23731 (mark_binding_level): New function.
23732 (init_decl_processing): Add GC roots.
23733 (mark_c_function_context): New function.
23734 (lang_mark_false_label_stack): New function.
23735 (lang_mark_tree): New function.
23736 (lang_cleanup_tree): New function.
23737 * c-lang.c: Include "ggc.h".
23738 (lang_init): Call c_parse_init.
23739 * c-lex.c: Include "ggc.h".
23740 (check_linenum): If doing GC, don't copy filenames to permanent
23741 obstack.
23742 * c-parse.in: Include "ggc.h".
23743 (c_parse_init): New function.
23744 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
23745 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
23746
23747 * except.c (mark_eh_state): Mark more state.
23748 * function.c (mark_function_state): Likewise.
23749 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
23750 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
23751 * toplev.c (mark_file_stack): New function.
23752 (compile_file): If doing GC, use ggc_alloc_string on input filename.
23753 (main): Add root for input_file_stack.
23754
23755 * i386.c: Include "ggc.h".
23756 (ix86_mark_machine_status): New function.
23757 (override_options): Set mark_machine_status.
23758
23759 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23760
23761 * tree.c (copy_node): Copy node contents also if doing GC.
23762
23763 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
23764
23765 * collect2.c (scan_libraries): Fix double-thinko :-).
23766
23767 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
23768
23769 * collect2.c (scan_libraries): Fix thinko.
23770
23771 * cse.c (delete_trivially_dead_insns): Do not skip the last
23772 insn if it is a real insn.
23773
23774 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
23775
23776 * Makefile.in (ggc-simple.o): Depend on hash.h.
23777 * ggc.h (ggc_add_tree_hash_table_root): Declare.
23778 (ggc_mark_tree_varray): Likewise.
23779 (ggc_mark_tree_hash_table): Likewise.
23780 * ggc-simple.c: Include hash.h.
23781 (ggc_mark_tree_hash_table_ptr): New function.
23782 (ggc_mark_tree_hash_table_entry): Likewise.
23783 (ggc_mark_tree_hash_table): Likewise.
23784 (ggc_add_tree_hash_table_root): Likewise.
23785 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
23786 rtx, when defining fields.
23787
23788 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
23789
23790 * profile.c (output_func_start_profiler): Remove apparently
23791 nonsensical call to start_sequence.
23792
23793 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
23794
23795 * clipper/clipper.c (clipper_va_start): Fix typos.
23796
23797 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
23798 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
23799 (spur_va_arg): New stub.
23800
23801 * configure.in: Comment out pyramid.
23802
23803 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
23804
23805 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
23806 don't conflict with the bits that win32, cygwin, and dgux
23807 defines.
23808
23809 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
23810 Bernd Schmidt <bernds@cygnus.co.uk>
23811
23812 * integrate.c (function_cannot_inline_p): Do not inline
23813 functions with forced labels.
23814
23815 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
23816 Bernd Schmidt <bernds@cygnus.co.uk>
23817 Mark Mitchell <mark@codesourcery.com>
23818
23819 * Makefile.in (ggc-simple.o): Depend on varray.h.
23820 (rtl.o): Depend on ggc.h.
23821 (genattrtab.o): Depend on ggc.h.
23822 (print-tree.o): Likewise.
23823 (fold-const.o): Likewise.
23824 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
23825 (make_insn_raw): Don't cache insns when GC'ing.
23826 (emit_insn_before): Likewise.
23827 (emit_insn_after): Likewise.
23828 (emit_insn): Likewise.
23829 (start_sequence): Use xmalloc to allocate the sequence_stack.
23830 (end_sequence): Add free to free it.
23831 (gen_sequence): Don't cache insns when GC'ing.
23832 (clear_emit_caches): Don't use sequence_element_free_list.
23833 (init_emit): Use xcalloc, not xmalloc+bzero.
23834 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
23835 * function.c (pop_function_context_from): Use free to free the
23836 fixup_var_refs_queue.
23837 (put_reg_into_stack): Allocate it with xmalloc.
23838 * genattrtab.c: Include ggc.h.
23839 (operate_exp): Don't use obstack_free when GC'ing.
23840 (simplify_cond): Likewise.
23841 (simplify_text_exp): Likewise.
23842 (optimize_attrs): Likewise.
23843 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
23844 GC'ing.
23845 (gencode): Generate a #include for ggc.h.
23846 * ggc-callbacks.c (ggc_p): Define it to zero.
23847 * ggc-none.c (ggc_p): Likewise.
23848 * ggc-simple.c: Include varray.h.
23849 (ggc_mark_tree_varray): New function.
23850 (ggc_add_tree_varray_root): Likewise.
23851 (ggc_mark_tree_varray_ptr): Likewise.
23852 * ggc.h (ggc_p): Declare.
23853 (varray_head_tag): Likewise.
23854 (ggc_add_tree_varray_root): Declare.
23855 * print-tree.c (print_node): Don't check for TREE_PERMANENT
23856 inconsistencies when GC'ing.
23857 * rtl.c: Include ggc.h.
23858 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
23859 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
23860 (rtx_free): Don't call obstack_free when GC'ing.
23861 * toplev.c (rest_of_compilation): Call ggc_collect after every
23862 pass, if GC'ing.
23863 * tree.c (push_obstacks): Do nothing, if GC'ing.
23864 (pop_obstacks_nochange): Likewise.
23865 (pop_obstacks): Likewise.
23866 (make_node): Use ggc_alloc_tree when GC'ing.
23867 (copy_node): Likewise.
23868 (get_identifier): Use ggc_alloc_string when GC'ing.
23869 (build_string): Likewise.
23870 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
23871 (tree_cons): Likewise.
23872 (build1): Likewise.
23873 (type_hash_canon): Don't call obstack_free when GC'ing.
23874
23875 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
23876
23877 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
23878 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
23879
23880 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
23881 Bernd Schmidt <bernds@cygnus.co.uk>
23882 Mark Mitchell <mark@codesourcery.com>
23883
23884 * Makefile.in (stor-layout.o): Depend on ggc.h.
23885 (expr.o): Depend on ggc.h.
23886 (profile.o): Depend on ggc.h.
23887 (stor-layout.o): Depend on ggc.h.
23888 * emit-rtl.c (init_emit_once): Add gc roots.
23889 * expr.c: Include ggc.h.
23890 (emit_block_move): Add gc roots.
23891 (clear_storage): Likewise.
23892 * expr.h (init_stor_layout_once): New function.
23893 * profile.c: Include ggc.h.
23894 (init_arc_profiler): profiler_label is a root.
23895 * scan.c (make_sstring_space): Trust xrealloc to function
23896 correctly with first parameter NULL.
23897 * stor-layout.c: Include ggc.h.
23898 (set_sizetype): Add gc root.
23899 (init_stor_layout_once): New function.
23900 * toplev.c (compile_file): Call it.
23901
23902 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
23903 Bernd Schmidt <bernds@cygnus.co.uk>
23904 Mark Mitchell <mark@codesourcery.com>
23905
23906 * Makefile.in (tree.o): Depend on ggc.h.
23907 (varasm.o): Likewise.
23908 (function.o): Likewise.
23909 (stmt.o): Likewise.
23910 (except.o): Likewise.
23911 (optabs.o): Likewise.
23912 (emit-rtl.o): Likewise.
23913 * emit-rtl.c: Include ggc.h.
23914 (sequence_element_free_list): Remove, and all references.
23915 (mark_sequence): New functions.
23916 (mark_emit_state): New function.
23917 * except.c: Include ggc.h.
23918 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
23919 (mark_tree_label_node): New functions.
23920 (mark_eh_state): New function.
23921 * function.c: Include ggc.h.
23922 (mark_temp_slot, mark_function_chain): New functions.
23923 (mark_function_state): New function.
23924 (init_function_once): New function.
23925 * function.h (init_function_once): New function.
23926 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
23927 * ggc.h (label_node): Declare.
23928 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
23929 (lang_mark_false_label_stack): New function.
23930 (mark_temp_slot): Remove declaration.
23931 (mark_function_chain): Likewise.
23932 (mark_eh_state): Adjust prototype.
23933 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
23934 Likewise.
23935 * optabs.c: Include ggc.h.
23936 (mark_optab): New function.
23937 (init_optabs): Add gc roots.
23938 * stmt.c: Include ggc.h.
23939 (mark_cond_nesting, mark_loop_nesting): New functions.
23940 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
23941 (mark_stmt_state): New function.
23942 * toplev.c (compile_file): Call init_function_once.
23943 * tree.c: Include ggc.h.
23944 (type_hash): Move declaration earlier in file.
23945 (TYPE_HASH_SIZE, type_hash_table): Likewise.
23946 (init_obstacks): Add gc roots.
23947 (mark_type_hash): New function.
23948 * varasm.c: Include ggc.h.
23949 (mark_pool_constant): New function.
23950 (mark_varasm_state): New function.
23951
23952 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23953
23954 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
23955
23956 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23957
23958 * c-decl.c (struct language_function): Renamed from struct c_function.
23959 Delete elt NEXT.
23960 (c_function_chain): Delete.
23961 (push_c_function_context): New arg F. Don't warn about nested
23962 functions here. Fill LANGUAGE elt of F. Delete code to update
23963 c_function_chain. Don't call push_function_context.
23964 (pop_c_function_context): New arg F. Restore from there instead of
23965 from c_function_chain. Don't call pop_function_context. Clear out
23966 LANGUAGE field of F when done.
23967 * c-lang.c: Include "function.h"
23968 (lang_init): Initialize save_lang_status and restore_lang_status.
23969 * c-parse.in (nested_function, nested_function_notype): Warn about
23970 nested functions. Call push_function_context/pop_function_context
23971 instead of the _c_ variants.
23972 * c-tree.h (push_c_function_context, pop_c_function_context): Update
23973 prototype.
23974 * Makefile.in (c-lang.o): Update dependencies.
23975
23976 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
23977 regno_pointer_flag, regno_pointer_align.
23978 (gen_reg_rtx): Use xrealloc to enlarge them.
23979 (free_emit_status): New function.
23980 * function.c (mark_machine_status, mark_lang_status): New variables.
23981 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
23982 in some bits from assign_stack_local. All callers changed to use new
23983 name.
23984 (assign_stack_local): Just call assign_stack_local_1.
23985 (free_after_compilation): New function.
23986 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
23987 (trampoline_address): Likewise.
23988 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
23989 (prepare_function_start): Explicitly clear some more variables.
23990 * function.h (struct function): New elt can_garbage_collect.
23991 (mark_machine_status, mark_lang_status): Declare variables.
23992 (free_after_compilation, free_emit_status, free_varasm_status,
23993 init_varasm_status): Declare functions.
23994 * toplev.c (rest_of_compilation): Call free_after_compilation when
23995 done with the current function.
23996 * varasm.c (free_varasm_status): New function.
23997
23998 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
23999
24000 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
24001 (EXPAND_BUILTIN_VA_ARG): Define.
24002 * sparc.c (sparc_va_start): New.
24003 (sparc_va_arg): New.
24004
24005 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
24006
24007 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
24008
24009 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
24010
24011 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
24012
24013 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
24014
24015 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
24016 (OBJS): Add $(GGC).
24017 (ggc-callbacks.o): New target.
24018 * ggc-callbacks.c: New file.
24019
24020 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24021
24022 * expr.h: Collapse individual optab and libfunc vars to arrays.
24023 (optab_index, libfunc_index): New enumerations.
24024 (optab_table, libfunc_table): New arrays.
24025 Add accessor macros for both.
24026
24027 * optabs.c (optab_table, libfunc_table): New.
24028 Delete declarations for individual optab and libfunc vars.
24029
24030 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
24031
24032 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
24033
24034 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
24035
24036 * Makefile.in (GGC, GGC_LIB): New.
24037 (HOST_RTL): Include ggc-none.o.
24038 (ggc-simple.o): New target.
24039 (ggc-none.o): Likewise.
24040 * tree.h (tree_common): Add gc_mark.
24041 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
24042 (struct rtvec_def): Add gc_mark.
24043 * emit-rtl.c (global_rtl): Update static initializers to contain
24044 enough initializers.
24045 * ggc.h, ggc-none.c, ggc-simple.c: New files.
24046 * toplev.c (gc_time): New variable.
24047 (all_time): New variable.
24048 (compile_file): Print gc time.
24049 (print_time): Calculate percentage of the whole.
24050
24051 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24052
24053 Change obstack memory management and varasm constant pool handling so
24054 that nested functions are treated like any other functions.
24055 * function.c (init_machine_status): New variable.
24056 (push_function_context_to): Set contains_functions for the outer
24057 function. Don't call save_varasm_status.
24058 (pop_function_context_from): Don't call restore_varasm_status. Don't
24059 set current_function_contains_functions.
24060 (prepare_function_start): Call init_varasm_status rather than
24061 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
24062 is non-null.
24063 * function.h (struct function) Add field varasm. Delete fields
24064 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
24065 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
24066 (init_machine_status): Declare.
24067 (save_varasm_status, restore_varasm_status): Delete declarations.
24068 (save_tree_status, restore_tree_status): Delete last argument.
24069 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
24070 code. All callers changed.
24071 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
24072 save_constants_in_decl_trees, restore_constants, save_constants,
24073 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
24074 functions.
24075 (inlining): New variable.
24076 (reg_map, label_map, insn_map, orig_asm_operands_vector,
24077 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
24078 variables.
24079 (save_for_inline_nocopy): Don't save constants.
24080 Don't set inl_emit field in current_function.
24081 (expand_inline_function): Use emit field, not inl_emit, of the inlined
24082 function. Set new variable inlining before
24083 calling copy_rtx_and_substitute.
24084 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
24085 constant pool references if inlining is nonzero.
24086 Delete ADDRESS and (most of the) CONST cases.
24087 (output_inline_function): Save and restore current_function/
24088 current_function_decl. Delete restore_constants code. Don't call
24089 init_const_rtx_hash_table.
24090 * output.h (init_const_rtx_hash_table): Don't declare.
24091 * rtl.h (struct function): Declare.
24092 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
24093 * toplev.c (rest_of_compilation): Don't treat nested functions or
24094 functions containing them specially. Delete all code to deal with
24095 save_for_inline_copying.
24096 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
24097 inline_obstacks): Delete variables.
24098 (save_tree_status): Lose arg CONTEXT. All callers changed.
24099 Simply allocate a new function_maybepermanent_obstack for the new
24100 function, delete all the special cases.
24101 Don't save inline_obstacks.
24102 (restore_tree_status): Lose arg CONTEXT. All callers changed.
24103 Delete special handling for function_maybepermanent_obstack; simply
24104 free it if empty.
24105 Don't restore inline_obstacks.
24106 (permanent_allocation): Delete code that frees inline_obstacks.
24107 (print_inline_obstack_statistics): Delete function.
24108 (dump_tree_statistics): Don't call it.
24109 * varasm.c (struct varasm_status): New.
24110 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
24111 last_pool, pool_offset, const_double_chain): Delete global
24112 variables, replace with accessor macros.
24113 (immed_double_const): Don't walk const_double_chain outside a
24114 function, but don't treat nested functions specially anymore.
24115 (immed_real_const_1): Likewise.
24116 (clear_const_double_mem): Don't treat nested functions specially.
24117 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
24118 (save_varasm_status, restore_varasm_status): Delete functions.
24119 (init_varasm_status): New function.
24120 (force_const_mem): Don't treat nested functions specially.
24121 (find_pool_constant): Accept new arg F, search for constants in
24122 that function's pool rather than the current one. All callers
24123 changed.
24124 (get_pool_constant_for_function, get_pool_mode_for_function): New
24125 functions.
24126
24127 * i386.c (init_386_machine_status): New function, mostly from
24128 clear_386_stack_locals.
24129 (struct machine_functions): Rename element names to avoid name
24130 clashes.
24131 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
24132 macros, replacing global variables.
24133 (clear_386_stack_locals, save_386_machine_status,
24134 restore_386_machine_status): Delete functions.
24135 (override_options): Initialize init_machine_status.
24136 * i386.h (INIT_EXPANDERS): Delete macro.
24137 (save_386_machine_status, restore_386_machine_status,
24138 clear_386_stack_locals): Delete declarations.
24139
24140 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
24141
24142 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
24143 (doloop_begin): Simplify pattern and use emit_jump_insn.
24144 (doloop_end): Simplify pattern, switch operand order,
24145 and use emit_jump_insn.
24146
24147 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
24148
24149 * function.h (struct function): Add new element LANGUAGE.
24150 (save_lang_status): Declare new variable.
24151 (restore_lang_status): Likewise.
24152 * function.c (save_lang_status): Define.
24153 (restore_lang_status): Likewise.
24154 (push_function_context_to): Call language-specific save function.
24155 (pop_function_context_from): Call language-specific restore function.
24156
24157 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
24158
24159 * i386.md (movsf_1): Check REG_P before use of REGNO.
24160 (movdf_1): Likewise.
24161 (movxf_1): Likewise.
24162 (extendsfdf2): Likewise.
24163 (extendsfxf2): Likewise.
24164 (extenddfxf2): Likewise.
24165
24166 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
24167
24168 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
24169 constants into memory.
24170 (c4x_shiftable_constant): New function.
24171 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
24172 (c4x_shiftable_constant): Declare.
24173 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
24174 ashlqi3_noclobber): Add new patterns and associated splitters.
24175
24176 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
24177
24178 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
24179 * dwarf2out.c (dwarf2out_frame_init): Likewise.
24180 * final.c (shorten_branches): Likewise.
24181 * global.c (global_alloc): Likewise.
24182 * haifa-sched.c (build_control_flow): Likewise.
24183 * stmt.c (check_for_full_enumeration_handling): Likewise.
24184 (estimate_case_costs): Likewise.
24185
24186 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
24187
24188 * rtl.h (RTL_CHECKC2): Fix typo in last change.
24189
24190 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
24191
24192 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
24193 (recompute_reg_usage): Likewise.
24194 * rtlanal.c (find_regno_fusage): Likewise.
24195
24196 * rtl.c (rtl_check_failed_code1): New function.
24197 (rtl_check_failed_code2): New.
24198 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
24199 (RTL_CHECKC1, RTL_CHECKC2): New.
24200 (XC*): New accessor macros.
24201 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
24202 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
24203 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
24204 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
24205 (TRAP_*, RANGE_INFO_*): Likewise.
24206
24207 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24208
24209 * Makefile.in (tlink.o): Don't depend on toplev.h.
24210
24211 * collect2.c (c_file, o_file, export_file, import_file, ldout,
24212 output_file, nm_file_name, ldd_file_name, strip_file_name,
24213 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
24214 add_prefix, prefix_from_env, prefix_from_string, do_wait,
24215 fork_execute, maybe_unlink, add_to_list,
24216 extract_init_priority, write_list, dump_list,
24217 dump_prefix_list, write_list_with_asm, write_c_file,
24218 write_c_file_stat, write_c_file_glob, scan_prog_file,
24219 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
24220 ignore_library, extract_string, notice, dump_file, target_machine,
24221 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
24222 read_file, print_load_command): Constify a char*.
24223 (fdopen, error, fatal, fatal_perror): Don't prototype.
24224 (my_strerror): Remove. All callers use xstrerror instead.
24225 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
24226 (main): Add prototype. Constify lots of char* ptrs. Change calls
24227 to xcalloc/strcpy/strcat/... to one call to concat.
24228 (main, scan_prog_file, scan_libraries): Use an intermediate
24229 `const char **' to build an argv array.
24230 (mapfile, libselect, libcompare, locatelib): Add prototypes.
24231
24232 * collect2.h (collect_execute, collect_wait, dump_file,
24233 file_exists): Constify a char*.
24234 (ldout, c_file_name, temporary_obstack, permanent_obstack,
24235 temporary_firstobj, vflag, debug): Add extern declarations.
24236 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
24237
24238 * tlink.c: Don't include toplev.h.
24239 (vflag, debug, ldout, c_file_name, temporary_obstack,
24240 permanent_obstack, temporary_firstobj): Don't declare.
24241 (tlink_execute, frob_extension, symbol_hash_lookup,
24242 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
24243 recompile_files, read_repo_files, demangle_new_symbols,
24244 scan_linker_output): Constify a char*.
24245 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
24246 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
24247
24248 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
24249
24250 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
24251 (relative) rather than jsr (absolute) subroutine call insns.
24252 * config/m68k/m68k-coff.h: Ditto.
24253
24254 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
24255
24256 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
24257 now rework these too.
24258 (arm_reorg): If an insn can't reach the end of the current pool,
24259 ensure that we emit that pool before the insn.
24260
24261 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
24262
24263 * tlink.c (scan_linker_output): Skip the initial underscore in
24264 a mangled name if appropriate.
24265
24266 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24267
24268 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
24269 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
24270 error_with_ivar, gen_declarator, create_builtin_decl,
24271 my_build_string, generate_descriptor_table, generate_ivars_list,
24272 generate_dispatch_table, check_protocols, TAG_GETCLASS,
24273 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
24274 dump_base_name, lang_decode_option, build_encode_expr,
24275 start_class, finish_class, encode_pointer, really_start_method,
24276 gen_declaration, dump_interface, handle_class_ref, handle_impent):
24277 Constify.
24278 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
24279 Add static prototypes.
24280 (build_objc_string_decl, build_selector_reference_decl,
24281 encode_bitfield, build_class_reference_decl): Remove unused
24282 parameter, all callers changed.
24283 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
24284 (objc_printable_name): Likewise. Change second parameter to type int.
24285 (init_objc): Use memcpy, not bcopy, to avoid casts.
24286
24287 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
24288
24289 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
24290 reg notes on a deleted insn.
24291 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
24292
24293 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
24294
24295 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
24296
24297 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24298
24299 * stmt.c (expand_asm_operands): Fix index into inout_mode when
24300 reading it.
24301
24302 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
24303
24304 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
24305 * tm.texi (MD_ASM_CLOBBERS): Document it.
24306
24307 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
24308
24309 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
24310 * except.c (expand_rethrow): Remove unused variable.
24311 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
24312 * flow.c (replace_insns): Likewise.
24313 (create_edge_list, verify_edge_list): Likewise.
24314 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
24315
24316 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
24317 is special code to run.
24318 (main): Don't define operands to emit_operand.
24319 * genrecog.c (main): Don't emit an empty peephole2_insn function.
24320
24321 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
24322
24323 * alpha/alpha.h (normal_memory_operand): Declare.
24324 (reg_no_subreg_operand): Declare.
24325 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
24326
24327 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
24328
24329 * c-parse.in (compstmt_primary_start): New, broken out of first
24330 part of compstmt handling in primary.
24331 (primary): Use it. Add an error clause.
24332 (compstmt_nostart): Renamed from compstmt; remove all
24333 initial invocations of compstmt_start.
24334 (compstmt): New.
24335
24336 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
24337
24338 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
24339 needed.
24340
24341 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
24342
24343 * combine.c (simplify_shift_const): Remove extra semicolon.
24344 * dwarf2out.c (remove_AT): Likewise.
24345 * expmed.c (expand_mult): Likewise.
24346 * gcov.c (create_program_flow_graph): Likewise.
24347 * reorg.c (mostly_true_jump): Likewise.
24348
24349 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
24350
24351 * fold-const.c (fold_range_test): Do not try to fold the range
24352 test if the rhs or lhs has side effects.
24353
24354 * combine.c (simplify_rtx): Recognize another case of a synthesized
24355 sign extension.
24356
24357 * varasm.c (mark_constant_pool): When marking indirect references,
24358 only look at SYMBOL_REFs.
24359
24360 * except.c (expand_fixup_region_end): Do not peek at
24361 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
24362
24363 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
24364
24365 * flags.h: New variables align_loops, align_loops_log,
24366 align_jumps, align_jumps_log, align_labels, align_labels_log,
24367 align_functions, align_functions_log.
24368 * toplev.c: Define them.
24369 (f_options): Handle -falign-* when they have no argument.
24370 (main): Add logic to set variables for -falign-functions,
24371 -falign-jumps, -falign-labels, -falign-loops.
24372 Make it -fsched-verbose=<n> and -finline-limit=<n>.
24373 (display_help): Change help to match options.
24374 * final.c (LABEL_ALIGN): Default to align_labels_log.
24375 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
24376 (LOOP_ALIGN): Default to align_loops_log.
24377 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
24378 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
24379 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
24380 * varasm.c (assemble_start_function): Handle align_functions.
24381
24382 * config/sparc/sparc.h: Don't declare sparc_align_*.
24383 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
24384 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
24385 sparc.c.
24386 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
24387 it's a promise.
24388 * config/sparc/sparc.c: Delete sparc_align_loops,
24389 sparc_align_jumps, sparc_align_funcs and the corresponding string
24390 variables.
24391 (sparc_override_options): Default align_functions on ultrasparc.
24392 Delete -malign-* handling.
24393
24394 * config/mips/mips.c (override_options): On 64-bit targets,
24395 try to align code to 64-bit boundaries.
24396 (print_operand): New substitution, %~,
24397 which aligns labels to align_labels_log.
24398 * config/mips/mips.md (div_trap_normal): Use %~.
24399 (div_trap_mips16): Likewise.
24400 (abssi): Likewise.
24401 (absdi2): Likewise.
24402 (ffssi2): Likewise.
24403 (ffsdi2): Likewise.
24404 (ashldi3_internal): Likewise.
24405 (ashrdi3_internal): Likewise.
24406 (lshrdi3_internal): Likewise.
24407 (casesi_internal): Likewise.
24408
24409 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
24410
24411 Merge new ia32 backend from the branch!
24412
24413 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
24414 See ChangeLog.P2 on new_ia32_branch for details.
24415
24416 * rtl.h (stack_regs_mentioned_p): Delete prototype.
24417 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
24418 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
24419 * i386/gas.h (ASM_FILE_START): Define.
24420 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
24421 for name change of ix86_valid_decl_attribute_p.
24422 (i386_pe_valid_type_attribute_p): Similarly.
24423
24424 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
24425
24426 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
24427 to step through CC modes.
24428
24429 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24430
24431 * regmove.c (fixup_match_1): Don't move INSN in front of P if
24432 it would end up in the shadow of a live flags regsiter.
24433
24434 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24435
24436 * reload1.c: Fix many indentation problems.
24437 * reload.c: Likewise.
24438
24439 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
24440
24441 * alias.c (non_local_reference_p): Constify fmt.
24442
24443 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
24444
24445 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
24446
24447 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
24448
24449 * cse.c (delete_trivially_dead_insns): Do not delete stores to
24450 the internal_arg_pointer.
24451
24452 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
24453
24454 Merge peephole2 from new_ia32_branch:
24455 * Makefile.in (STAGESTUFF): Add *.peephole2.
24456 (mostlyclean): Likewise.
24457 (recog.o): Depend on resource.h.
24458
24459 * final.c (peephole): Conditionalize decl on HAVE_peephole.
24460 (final_scan_insn): Likewise for the invocation of peephole.
24461 * genconfig.c (main): Look for peephole and peephole2 patterns.
24462 Emit HAVE_peephole* accordingly.
24463 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
24464 * flags.h (flag_peephole2): Declare.
24465 * toplev.c: New pass peephole2. New flag -fpeephole2.
24466
24467 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
24468 * gencodes.c (main): Likewise.
24469 * genextract.c (main): Likewise.
24470 * genoutput.c (main): Likewise.
24471 * genemit.c (max_operand_1): Look for the max scratch operand.
24472 (gen_rtx_scratch): New.
24473 (gen_exp): Use it, and pass on new arg subroutine_type.
24474 (gen_expand): Take max scratch into account.
24475 (gen_split): Emit peephole2 functions.
24476 (output_peephole2_scratch): New.
24477 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
24478 * genrecog.c (routine_type): Add PEEPHOLE2.
24479 (IS_SPLIT): New.
24480 (make_insn_sequence): Match outer parallel for peep2. Discard
24481 top level scratches and dups.
24482 (add_to_sequence): New args insn_type and top. Update all callers.
24483 Handle toplevel peep2 matching insns.
24484 (write_subroutine): Handle peep2.
24485 (write_tree_1): Likewise.
24486 (write_tree): Likewise.
24487 (main): Likewise.
24488 (change_state): New arg afterward. Update all callers.
24489 Handle matching separate insns.
24490 * recog.c (recog_next_insn): New.
24491 (peephole2_optimize): New.
24492 * rtl.def (DEFINE_PEEPHOLE2): New.
24493 * resource.c (find_free_register): New argument last_insn. Use it
24494 to find a register available through the entire span.
24495 * resource.h (find_free_register): Update prototype.
24496
24497 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
24498
24499 * i386.c (output_strlen_unroll): Don't write xops[7]
24500 label if it wasn't set.
24501
24502 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
24503
24504 * cpplib.c (struct directive): Const-ify name pointer and
24505 function pointer prototype.
24506 (validate_else, do_define, do_line, do_include, do_undef,
24507 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
24508 do_elif, do_endif, do_sccs, do_assert, do_unassert,
24509 do_warning): Const-ify second arg.
24510 (directive_table): Mark const. Reorder entries by frequency
24511 of usage, record statistics.
24512
24513 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
24514
24515 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
24516 bounds- check RTL accesses if --enable-checking.
24517 (RTVEC_ELT): Bounds check if --enable-checking.
24518 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
24519 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
24520 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
24521 GET_NUM_ELEM.
24522 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
24523 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
24524
24525 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
24526 (NOTE_SOURCE_FILE): Use X0STR.
24527 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
24528 MEM_ALIAS_SET): Use X0INT.
24529 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
24530 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
24531 Use X0EXP.
24532 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
24533 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
24534 (rtl_check_failed_bounds, rtl_check_failed_type1,
24535 rtl_check_failed_type2, rtvec_check_failed_bounds): New
24536 functions.
24537 (fancy_abort): Fix comment.
24538
24539 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
24540 (cse_insn): Decrement LABEL_NUSES for jump target before
24541 deleting jump insn.
24542 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
24543 * final.c (alter_subreg): Compute regno before changing x to
24544 REG; set REGNO(x) after changing it.
24545 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
24546 notes containing CONST_INTs.
24547 (delete_eh_regions): Use NOTE_EH_HANDLER.
24548 * function.c (put_reg_into_stack): Make reg a MEM before
24549 initializing it.
24550 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
24551 delete insn.
24552 (gen_mem_addressof): Make reg a MEM before initializing it.
24553 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
24554 X0WINT.
24555 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
24556 deleting an insn, not after.
24557 (block_alloc): Only look at PATTERN(insn) if we have to, and
24558 only if it's format class 'i'.
24559 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
24560 CONST_INT before using its INTVAL.
24561 * print-rtl.c (print_rtx): Use X0STR.
24562 * regmove.c (fixup_match_1): Don't look at PATTERN of
24563 non-class-'i' insn chain elements.
24564 * reload.c (loc_mentioned_in_p): Take address of
24565 in->fld[1].rtx directly.
24566 * reload1.c (reload): Change reg to a MEM before initializing
24567 it.
24568 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
24569 have no names.
24570 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
24571
24572 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
24573
24574 * config/mips/mips.c (machine_dependent_reorg): Force a
24575 barrier to output the local constant pool if a barrier hasn't
24576 been found at a natural point in the instruction stream.
24577
24578 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24579
24580 * c-parse.in (language_string): Constify.
24581
24582 * dwarf2out.c (language_string): Remove declaration.
24583
24584 * dwarfout.c (language_string): Likewise.
24585
24586 * toplev.c (language_string, init_parse, finish_parse): Likewise.
24587
24588 * tree.h (language_string, init_parse, finish_parse): Declare.
24589
24590 * i386/sun386.h (language_string): Remove declaration.
24591
24592 * mips.h (language_string): Likewise.
24593
24594 * nextstep.h (language_string): Likewise.
24595
24596 * nextstep21.h (language_string): Likewise.
24597
24598 * rs6000.c (language_string): Likewise.
24599
24600 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24601
24602 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
24603 (getpwd.o): Remove target.
24604
24605 * getpwd.c: Delete file. Its in libiberty now.
24606
24607 * dbxout.c (getpwd): Don't prototype.
24608 * dwarf2out.c (getpwd): Likewise
24609 * dwarfout.c (getpwd): Likewise
24610 * final.c (getpwd): Likewise.
24611 * protoize.c (getpwd): Likewise.
24612
24613 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24614
24615 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
24616
24617 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
24618
24619 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
24620 mark_set_resources.
24621
24622 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
24623
24624 * fixinc/Makefile.in (subdir): New.
24625 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
24626 (Makefile): New.
24627
24628 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
24629
24630 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
24631 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
24632 be shared.
24633
24634 * invoke.texi: Fix typo.
24635
24636 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
24637 changed. Handle autoincrement addressing modes.
24638
24639 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
24640 just like we would the virtual incoming args register when
24641 integrating.
24642
24643 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
24644
24645 * rs6000.h (ASM_FILE_START): Specify complete filename, including
24646 path, in .file directive.
24647
24648 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
24649
24650 * gcc.texi (External Bugs): Remove obsolete note about Perl on
24651 SunOS.
24652
24653 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
24654
24655 * stdbool.h: Make the typedef name _Bool, with bool a #defined
24656 alias.
24657
24658 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24659
24660 * tree.c (tree_code_name): Constify a char*.
24661
24662 * tree.h (tree_code_name, decl_printable_name): Likewise.
24663
24664 * function.h (struct function): Likewise.
24665
24666 * toplev.c (decl_name, decl_printable_name): Likewise.
24667
24668 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
24669
24670 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
24671 (init_objc): Remove function pointer cast.
24672
24673 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
24674
24675 * pa.md (interspace_jump): New pattern.
24676 (builtin_longjmp): New expander.
24677
24678 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
24679
24680 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
24681 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
24682 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
24683
24684 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
24685
24686 * jump.c (delete_prior_computation): Also check calls
24687 to constant functions. Don't bother checking for a
24688 REG_UNUSED note before adding it.
24689 (delete_computation): Handle multi-word hard registers
24690 when synthesizing missing REG_DEAD notes for a register
24691 which is both set and used by an insn.
24692
24693 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
24694
24695 * loop.c (this_loop_info): New variable.
24696 (loop_has_call, loop_has_volatile, loop_has_tablejump,
24697 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
24698 All uses updated.
24699 (prescan_loop, strength_reduce): New argument loop_info. All callers
24700 updated.
24701 (scan_loop): New variable loop_info, initialise to address of
24702 this_loop_info.
24703 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
24704 Delete variable loop_has_multiple_exit targets and replace with
24705 field in this_loop_info.
24706 (find_and_verify_loops): Rename this_loop to this_loop_num.
24707 (strength_reduce): Delete loop_iteration_info. Replace variable
24708 loop_info with function argument of same name.
24709 (insert_bct): Rework test for loop being completely unrolled.
24710
24711 * loop.h (struct loop_info): New fields num, loops_enclosed,
24712 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
24713 has_indirect_jump, and cont. Redefine use of unroll_number.
24714 (loop_unroll_number): Delete.
24715
24716 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
24717 field of loop_info.
24718 (loop_iterations): Delete variable vtop and instead use
24719 loop_info->vtop computed in prescan_loop.
24720
24721 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
24722
24723 * fix-header.c (main): Do not pass a null pointer to strcmp.
24724
24725 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
24726
24727 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
24728 filenames.
24729 * configure: Rebuilt.
24730
24731 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
24732
24733 * jump.c (jump_optimize_1): Do not delete assignments to
24734 internal_arg_pointer.
24735 * cse.c (delete_trivially_dead_insns): Always consider a set of
24736 the internal_arg_pointer live.
24737
24738 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
24739
24740 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
24741 (update_life_info) [REG_WAS_0]: Search the original insns rather
24742 than the new insns for the note. Fix typos finding note_dest.
24743 If no dest found, discard the note rather than abort.
24744 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
24745 (replace_insns): Remove the old insn list after update_life_info
24746 not before.
24747
24748 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
24749
24750 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
24751 sched_analyze_insn.
24752 (sched_analyze_1): Let add_dependence care for not adding dups.
24753 (sched_analyze_2): Likewise.
24754 (add_branch_dependences): Likewise.
24755
24756 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
24757
24758 * i386/winnt.c (export_list): New type.
24759 (exports_head): Rename to
24760 (export_head): this.
24761 (i386_pe_record_exported_symbol): Add is_data flag.
24762 (i386_pe_asm_file_end): Emit directive for exported variables.
24763 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
24764 prototype.
24765 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
24766 (ASM_DECLARE_OBJECT_NAME): Likewise.
24767 (ASM_DECLARE_FUNCTION_NAME): Likewise.
24768 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
24769
24770 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
24771
24772 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
24773
24774 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
24775 operand.
24776
24777 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
24778
24779 * config/openbsd.h: Define SET_ASM_OP.
24780 * tm.texi: cross-reference SET_ASM_OP in the index.
24781
24782 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
24783
24784 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
24785 for a CONST_DOUBLE, at compile time. Initialize rtx_length
24786 and class_narrowest_mode at compile time. Kill init_rtl.
24787 Mark rtx_length, mode_class, mode_size, mode_unit_size,
24788 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
24789 rtx_format as const. Kill all references to EXTRA_CC_MODES or
24790 EXTRA_CC_NAMES.
24791 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
24792 format.
24793 * rtl.h: Declare rtx_length and rtx_format as const.
24794 * machmode.def: Define CC(). Use CC() to define CCmode. If
24795 EXTRA_CC_MODES is defined, expand it here.
24796 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
24797 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
24798 const. Kill all references to EXTRA_CC_MODES.
24799
24800 * toplev.c: Don't prototype or call init_rtl.
24801 * optabs.c: Don't call init_mov_optab.
24802 * genemit.c: Don't generate init_mov_optab. Don't call
24803 init_rtl.
24804 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
24805 here.
24806 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
24807 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
24808 genrecog.c: Don't call init_rtl.
24809
24810 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
24811 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
24812 definition of EXTRA_CC_MODES.
24813
24814 * md.texi: Kill ref to EXTRA_CC_NAMES.
24815 * tm.texi: Document new way to define EXTRA_CC_MODES.
24816
24817 * genrecog.c: Do not look up the name of a define_split.
24818 (Unrelated bugfix.)
24819
24820 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
24821
24822 * config/v850/v850.md: Fix typo introduced by previous delta.
24823
24824 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24825
24826 * gcc.c (fatal): Make definition static to match prototype.
24827
24828 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24829
24830 * combine.c (get_last_value): Don't look for earlier sets if the last
24831 known set is somewhere in between the insns being combined.
24832
24833 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
24834
24835 * configure.in: Don't use shell ! to negate exit codes
24836 * configure: Regenerate
24837
24838 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
24839
24840 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
24841 the fact that ALIGN is measured in bits, not bytes.
24842
24843 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
24844
24845 * errors.c: New file; defines functions error, warning, and
24846 fatal, variables have_error and progname.
24847 * errors.h: New file; prototypes and decls for stuff in errors.c.
24848
24849 * Makefile: Add rules to build errors.o and
24850 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
24851 genopinit, genrecog, genextract, genpeep, genattr, and
24852 genoutput with errors.o. Add errors.h to deps of genconfig.o,
24853 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
24854 genpeep.o, genattr.o, and genoutput.o.
24855
24856 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
24857 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
24858 define or prototype fatal. Set progname at beginning of main.
24859 * genoutput.c: Likewise, and don't define or prototype error
24860 either.
24861
24862 * c-typeck.c (c_expand_start_case): Return immediately if exp
24863 is an ERROR_MARK.
24864 * fold-const.c (operand_equal_p): Return immediately if arg1
24865 or arg0 are ERROR_MARKs.
24866 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
24867 fields of type ERROR_MARK when calculating if the record can
24868 go in a register.
24869
24870 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
24871 with much help from Jeffrey A Law and Richard Henderson
24872
24873 * i386.md: In the 6 insns which call output_fix_trunc,
24874 earlyclobber operands[0].
24875
24876 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
24877
24878 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
24879 creating new registers.
24880
24881 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
24882
24883 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
24884 i386_reg_alloc_order, i386_regparm_string,
24885 i386_align_loops_string, i386_align_jumps_string,
24886 i386_align_funcs_string, i386_preferred_stack_boundary_string,
24887 and i386_branch_cost_string as type "const char *".
24888 * i386.c: Define all above strings as type "const char *".
24889
24890 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
24891
24892 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
24893 when emitting alignment padding. Emit padding byte of 0 instead of 4.
24894
24895 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
24896
24897 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
24898 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
24899
24900 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
24901
24902 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
24903 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
24904 (dwarf2out_line, dwarf2out_finish): Likewise.
24905 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
24906
24907 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
24908
24909 * tree.c (lang_unsave_expr_now) : Correct return type.
24910 * tree.h (lang_unsave_expr_now) : Same.
24911
24912 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
24913
24914 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
24915 instead of duplicating code.
24916
24917 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24918
24919 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
24920
24921 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
24922
24923 * tree.h: fancy_abort always takes three args.
24924 * resource.c: Move include of system.h before toplev.h.
24925
24926 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
24927
24928 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
24929 as SYMBOL_REFs.
24930
24931 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
24932
24933 * system.h: Don't redefine abort or trim_filename.
24934 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
24935 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
24936 whether or not __FUNCTION__ is available.
24937 * tree.h: Duplicate rtl.h's definition of abort, for files
24938 that don't include rtl.h. Delete all code to perform type
24939 checking with a compiler other than GCC.
24940 * varray.h: Delete all code to perform type checking with a
24941 compiler other than GCC. Make VARRAY_CHECK() always evaluate
24942 its arguments exactly once, using a statement expression.
24943 Adjust the VARRAY_<type> accessor macros to match.
24944 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
24945 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
24946 caller's location. Define fatal_insn and fatal_insn_not_found
24947 as macros that use _fatal_insn and _fatal_insn_not_found.
24948 (fancy_abort, trim_filename): Kill prototypes.
24949
24950 * rtl.c (trim_filename): Move here from toplev.c.
24951 (fancy_abort): New function.
24952 (DIR_SEPARATOR): Provide default definition.
24953 * tree.c (tree_check_failed, tree_class_check_failed): Go
24954 through fancy_abort.
24955 (tree_check, tree_class_check, cst_or_constructor_check,
24956 expr_check): Delete.
24957 * varray.c (varray_check_failed): New function.
24958 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
24959 _fatal_insn and _fatal_insn_not_found. Go through
24960 fancy_abort.
24961 (trim_filename, fancy_abort): Delete.
24962
24963 * builtins.c (expand_builtin_args_info): Report ICE with abort.
24964 * except.c (start_catch_handler): Report ICE with error/abort
24965 combo.
24966 * final.c (output_operand_lossage): Likewise.
24967 * flow.c (verify_flow_info): Likewise.
24968
24969 * gcc.c: Prototype fatal.
24970 * gengenrtl.c: Undef abort after including rtl.h not system.h.
24971 * genattr.c, genattrtab.c, genemit.c, genextract.c,
24972 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
24973 Don't define fancy_abort.
24974
24975 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
24976
24977 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
24978 canonization.
24979
24980 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
24981
24982 * m88k.h (VERSION_INFO2): Kill.
24983 (VERSION_STRING): Kill.
24984 (TM_RCS_ID): Kill.
24985 (VERSION_INFO1): Tidy.
24986 (TARGET_VERSION): Update.
24987 * m88k/dgux.h (VERSION_INFO2): Kill.
24988 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
24989 * m88k/luna.h (VERSION_INFO1): Tidy.
24990 * m88k/sysv4.h (VERSION_INFO1): Likewise.
24991 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
24992 (output_file_start): Adjust for death of VERSION_STRING.
24993
24994 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
24995
24996 * cpplib.c (detect_if_not_defined): New function.
24997 (do_if): Use it to detect potential once-only headers.
24998
24999 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
25000
25001 * c-common.c (combine_strings): Always set TREE_CONSTANT.
25002
25003 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
25004
25005 * combine.c (nonzero_bits) : Allow single-ly set registers to be
25006 anywere in the function only if they are pseudos and set before
25007 being used (not live at the start of the function).
25008 (num_sign_bit_copies) : Same.
25009 (get_last_value_validate) : Same.
25010 (get_last_value) : Same.
25011
25012 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
25013
25014 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
25015 where N and M are constant and N is an integer multiple of M.
25016
25017 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
25018
25019 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
25020 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
25021 sbitmap_union_of_preds): Add prototypes.
25022 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
25023 the intersection of successors with the new flow graph structures.
25024 (sbitmap_intersection_of_preds): New function to compute the
25025 intersection of predecessors with the new flow graph structures.
25026 (sbitmap_union_of_succs): New function to compute the union of
25027 successors with the new flow graph structures.
25028 (sbitmap_union_of_preds): New function to compute the union of
25029 predecessors with the new flow graph structures.
25030 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
25031 (expr_reaches_here_p): Use edge and basic_block structures instead
25032 of s_preds and s_succs.
25033 (compute_cprop_avinout): Use new sbitmap routines.
25034 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
25035 of s_preds and s_succs.
25036 * flow.c (compute_flow_dominators): Compute dominators using
25037 edges and basic blocks instead of s_preds and s_succs.
25038
25039 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
25040
25041 * lists.c (unused_insn_list, unused_expr_list): New file for
25042 maintaining various types of lists. New statics for maintaining a
25043 cache of available INSN_LIST and EXPR_LIST nodes.
25044 (free_list): Static function for freeing a list of INSN/EXPR nodes.
25045 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
25046 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
25047 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
25048 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
25049 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
25050 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
25051 (free_INSN_LIST_node): Free an individual INSN_LIST node.
25052 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
25053 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
25054 (remove_dependence, free_pending_lists): Use new global routines.
25055 (flush_pending_lists, sched_analyze_insn): Use new global routines.
25056 (sched_analyze, compute_block_backward_dependences): Use new routines.
25057 (sched_analyze_1, sched_analyze_2): Use new routines.
25058 (schedule_insns): Use new global routines.
25059 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
25060 prototypes.
25061 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
25062 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
25063 prototypes.
25064 * toplev.c (rest_of_compilation): Initialize node cache.
25065 * Makefile.in (OBJS): Add lists.o to list of object files.
25066 (lists.o): Add dependancies.
25067
25068 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
25069
25070 * config/v850/v850.md: Fix compile time warning messages.
25071 * config/v850/v850.c: Fix compile time warning messages.
25072 * config/v850/v850.h: Fix compile time warning messages.
25073
25074 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25075
25076 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
25077 Remove unused prototype for `init_lengths'.
25078
25079 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25080
25081 * calls.c (emit_call_1): Mark parameter `stack_size' with
25082 ATTRIBUTE_UNUSED.
25083 (expand_call): Initialize variable `insn'.
25084 (emit_library_call): Likewise for variable `high_to_save'.
25085 (emit_library_call_value): Likewise.
25086 (store_one_arg): Likewise for variables `lower_bound' and
25087 `upper_bound'.
25088
25089 * combine.c (try_combine): Likewise for variables `i2_code_number'
25090 and `other_code_number'.
25091 (find_split_point): Likewise for variables `pos', `unsignedp' and
25092 `inner'.
25093 (simplify_if_then_else): Likewise for variables `op' and `c1'.
25094 (simplify_and_const_int): Remove unused variable `width'.
25095 (merge_outer_ops): Likewise.
25096
25097 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
25098 HOST_WIDE_INT' when comparing against one.
25099 (simplify_relational_operation): Likewise.
25100 (cse_insn): Initialize variables `src_eqv_volatile',
25101 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
25102
25103 * final.c (init_final): Constify parameter `filename'.
25104 (final_start_function): Mark parameter `optimize' with
25105 ATTRIBUTE_UNUSED.
25106 (profile_function): Likewise for parameters `first' and `optimize'.
25107 (output_source_line): Likewise for parameter `file'.
25108
25109 * integrate.c (subst_constants): Cast a value to `size_t' when
25110 comparing against one.
25111 (mark_stores): Initialize variable `mode'. Cast a value to
25112 `size_t' when comparing against one.
25113
25114 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
25115
25116 * loop.c (move_movables): Initialize variable `first'.
25117 (strength_reduce): Likewise for variable `increment'.
25118 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
25119 value to `size_t' when comparing against one.
25120 (load_mems): Initialize variable `end_label'.
25121
25122 * output.h (init_final): Constify parameter.
25123
25124 * reload.c (decompose): Initialize variable `base'.
25125
25126 * reload1.c (reload): Likewise for variable `is_scalar'.
25127 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
25128 (choose_reload_regs): Initialize variable `mode'.
25129 (emit_reload_insns): Likewise for variable `store_insn'.
25130 (reload_cse_noop_set_p): Mark parameter `insn' with
25131 ATTRIBUTE_UNUSED.
25132 (reload_combine): Initialize variable `set'.
25133
25134 * unroll.c (unroll_loop): Likewise for variable `local_label'.
25135 (copy_loop_body): Cast a value to `size_t' when comparing against
25136 one.
25137
25138 * varasm.c (assemble_variable): Initialize variable `size_tree'.
25139 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
25140 (remove_from_pending_weak_list): Mark parameter `name' with
25141 ATTRIBUTE_UNUSED.
25142
25143 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25144
25145 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
25146 gcse dump file.
25147
25148 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
25149
25150 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
25151 (ASM_DECLARE_FUNCTION_NAME): Define.
25152 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
25153 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
25154 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
25155 not already defined.
25156
25157 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
25158
25159 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
25160 of n_popped when call/call_value are not defined.
25161
25162 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
25163
25164 * tm.texi: GNU CC -> GCC conversion.
25165 (CC1_SPEC): Indicate it is used for all language front ends.
25166
25167 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
25168
25169 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
25170 NOTE_INSN_EH_REGION_END correctly.
25171
25172 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
25173 Jeff Law <law@cygnus.com>
25174
25175 * loop.c (strength_reduce): Automatically unroll loops if the
25176 unrolled loop size is smaller than the rolled loop size.
25177
25178 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
25179 and delete comment that code should be rewritten.
25180
25181 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
25182
25183 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
25184 as reachable.
25185
25186 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
25187
25188 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
25189
25190 * fixinc/mkfixinc.sh: Don't fix uwin headers.
25191 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
25192 (LINK_SPEC): Add -u _main when building executables.
25193 (ASM_DECLARE_FUNCTION): Update from Cygwin.
25194 (ASM_FILE_END): Use the default for ix86-pe.
25195 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
25196
25197 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
25198
25199 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
25200 and ASM_CLOSE_PAREN are empty strings.
25201
25202 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
25203 Geoffrey Keating <geoffk@cygnus.com>
25204
25205 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
25206 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
25207 (unprotoize.o): Ditto.
25208 (test-protoize-simple): Don't define STD_PROTO_DIR.
25209 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
25210 changes to make 'test-protoize-simple' pass.
25211 (STD_PROTO_DIR): Remove define.
25212 (STANDARD_EXEC_PREFIX): Supply default define.
25213 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
25214 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
25215 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
25216 (GET_ENV_PATH_LIST): New macro.
25217 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
25218 (do_processing): Initialize default_syscalls_dir using new
25219 macros. Use it to initialize syscalls_absolute_filename.
25220
25221 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
25222
25223 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
25224 B into a register before emit_conditional_move.
25225
25226 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
25227
25228 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
25229 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
25230 multiplicand out of (+ (* a b) (* c d)).
25231
25232 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
25233 Richard Henderson <rth@cygnus.com>
25234
25235 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
25236 (new_insn_dead_notes): Likewise.
25237 (update_n_sets): Likewise.
25238 (update_flow_info): Move to flow.c, renamed to update_life_info;
25239 extend to handle multiple source insns.
25240 * flow.c: Include resource.h
25241 (unlink_insn_chain): New.
25242 (split_hard_reg_notes): New.
25243 (maybe_add_dead_note): New.
25244 (maybe_add_dead_note_use): New.
25245 (find_insn_with_note): New.
25246 (new_insn_dead_notes): New.
25247 (update_n_sets): New.
25248 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
25249 (maybe_remove_dead_notes): New.
25250 (update_life_info): New.
25251 (prepend_reg_notes): New.
25252 (replace_insns): New.
25253 * output.h (update_life_info): Declare.
25254 * recog.c (split_block_insns): Use update_life_info.
25255 * resource.c (find_free_register): Use reg_alloc_order, don't use
25256 fixed regs, make sure the mode is supported, don't use new regs.
25257 (reg_dead_p): New.
25258 * rtl.h (replace_insns): Declare.
25259
25260 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
25261
25262 * expr.c (expand_expr): Cope with COND_EXPRs with one
25263 non-returning branch.
25264
25265 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
25266
25267 * expr.c (store_expr): Always pass down the target, even when not
25268 doing CSE.
25269
25270 1999-08-24 Nick Clifton <nickc@cygnus.com>
25271
25272 * configure.in: Define target_cpu_default for v850 targets.
25273 * configure: Regenerate
25274
25275 * config/v850/v850.h (TARGET_CPU_generic): Define.
25276 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
25277 addresses are 4 byte aligned.
25278
25279 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
25280 addresses.
25281
25282 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25283
25284 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
25285 (main): Add prototypes.
25286
25287 * genattrtab.c (substitute_address, write_const_num_delay_slots,
25288 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
25289 (write_attr_get): Emit prototypes along with function definition.
25290 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
25291 (write_complex_function): Emit static prototype along with
25292 function definition.
25293
25294 * genemit.c (gen_split): Emit prototypes along with function
25295 definition.
25296
25297 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
25298 Likewise for predicates and `insn_operand_predicate'.
25299 (process_template): Emit static prototype along with function
25300 definition.
25301
25302 * genrecog.c (make_insn_sequence): Constify a char*. Add
25303 prototypes for get_split_*().
25304 (write_subroutine): Emit prototypes along with function
25305 definition.
25306
25307 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25308
25309 * gcse.c (find_avail_set): Follow chains of register-register copies.
25310 Use oprs_not_set_p to guarantee that the returned value can be
25311 substituted.
25312 (cprop_insn): Don't verify the return value of find_avail_set with
25313 oprs_not_set_p.
25314
25315 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
25316 (cprop_cc0_jump): New function.
25317 (cprop_insn): Break out new function cprop_jump and use it.
25318 Also use cprop_cc0_jump for machines with CC0.
25319 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
25320
25321 * tree.h (current_function_calls_setjmp,
25322 current_function_calls_longjmp): Delete declarations.
25323 * dsp16xx.c: Include "function.h".
25324 * elxsi.c: Likewise.
25325 * gmicro.c: Likewise.
25326 * h8300.c: Likewise.
25327 * i370.c: Likewise.
25328 * m32r.c: Likewise.
25329 * mn10200.c: Likewise.
25330 * mn10300.c: Likewise.
25331 * ns32k.c: Likewise.
25332 * spur.c: Likewise.
25333 * v850.c: Likewise.
25334
25335 * rtl.h (rtx_equal_function_value_matters): Declare.
25336 * toplev.c (rtx_equal_function_value_matters): Don't declare.
25337 * cse.c: Likewise.
25338 * function.c: Likewise.
25339 * emit-rtl.c: Likewise.
25340
25341 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
25342
25343 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
25344 call.
25345
25346 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
25347
25348 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
25349 exactly.
25350
25351 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
25352
25353 * cpp.texi: Add a node documenting macro varargs (copied
25354 from extend.texi).
25355
25356 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
25357
25358 * cppspec.c: Put a null pointer at the end of the new argv.
25359
25360 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
25361
25362 * configure.in: Remove code to select/de-select the haifa
25363 scheduler. Every scheduled port gets haifa now.
25364 * configure: Rebuilt.
25365 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
25366 * sched.c Deleted.
25367 * Makefile.in: Corresponding changes.
25368
25369 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25370
25371 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
25372 All callers changed.
25373 (prepare_float_lib_cmp): Likewise.
25374 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
25375 * expr.h (emit_float_lib_cmp): Delete declaration.
25376 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
25377 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
25378 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
25379 specially.
25380 (cmptf): Now conditional on TARGET_HARD_QUAD.
25381
25382 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
25383
25384 * resource.c (mark_target_live_regs): Use
25385 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
25386
25387 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25388
25389 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
25390
25391 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
25392
25393 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
25394
25395 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25396
25397 * rtl.h (rtx_format): Constify a char*.
25398
25399 * rtl.c (rtx_format): Likewise.
25400 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
25401 (init_rtl): Use accessor macro, not `rtx_format'.
25402
25403 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
25404 char*.
25405
25406 * caller-save.c (mark_referenced_regs): Likewise.
25407
25408 * combine.c (subst, make_compound_operation, known_cond,
25409 gen_rtx_combine, update_table_tick, get_last_value_validate,
25410 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
25411
25412 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
25413 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
25414 count_reg_usage): Likewise.
25415
25416 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
25417 Likewise.
25418
25419 * final.c (leaf_renumber_regs_insn): Likewise.
25420
25421 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
25422 dump_edge_info, count_reg_references): Likewise.
25423
25424 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
25425 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
25426 Likewise.
25427
25428 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
25429 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
25430 add_label_notes): Likewise.
25431
25432 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
25433 clear_struct_flag, count_sub_rtxs, count_alternatives,
25434 compares_alternatives_p, contained_in_p, walk_attr_value,
25435 write_expr_attr_cache): Likewise.
25436
25437 * genconfig.c (walk_insn_part): Likewise.
25438
25439 * genemit.c (max_operand_1, gen_exp): Likewise.
25440
25441 * genextract.c (walk_rtx): Likewise.
25442
25443 * genflags.c (num_operands): Likewise.
25444
25445 * genoutput.c (scan_operands): Likewise.
25446
25447 * genpeep.c (match_rtx): Likewise.
25448
25449 * genrecog.c (add_to_sequence): Likewise.
25450
25451 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
25452 Likewise.
25453
25454 * integrate.c (save_constants, copy_for_inline,
25455 copy_rtx_and_substitute, subst_constants, restore_constants):
25456 Likewise.
25457
25458 * jump.c (mark_jump_label, invert_exp, redirect_exp,
25459 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
25460
25461 * local-alloc.c (contains_replace_regs, memref_referenced_p):
25462 Likewise.
25463
25464 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
25465 add_label_notes, replace_call_address, count_nonfixed_reads,
25466 invariant_p, find_single_use_in_loop, find_mem_givs,
25467 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
25468 Likewise.
25469
25470 * print-rtl.c (reg_names, print_rtx): Likewise.
25471
25472 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
25473
25474 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
25475 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
25476 print_blocks): Likewise.
25477
25478 * regclass.c (fix_register, record_address_regs,
25479 reg_scan_mark_refs): Likewise.
25480
25481 * regmove.c (stable_but_for_p): Likewise.
25482
25483 * reload.c (loc_mentioned_in_p, operands_match_p,
25484 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
25485 copy_replacements, refers_to_regno_for_reload_p,
25486 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
25487 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
25488 Likewise.
25489
25490 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
25491 delete_address_reloads_1, count_occurrences,
25492 reload_cse_mem_conflict_p, reload_combine_note_use,
25493 add_auto_inc_notes): Likewise.
25494
25495 * resource.c (mark_referenced_resources, mark_set_resources):
25496 Likewise.
25497
25498 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
25499 reg_mentioned_p, regs_set_between_p, modified_between_p,
25500 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
25501 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
25502 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
25503 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
25504
25505 * sched.c (sched_analyze_2, attach_deaths): Likewise.
25506
25507 * stupid.c (stupid_mark_refs): Likewise.
25508
25509 * unroll.c (remap_split_bivs): Likewise.
25510
25511 * varasm.c (mark_constants): Likewise.
25512
25513 * a29k/a29k.c (uses_local_reg_p): Likewise.
25514
25515 * alpha/alpha.c (summarize_insn): Likewise.
25516
25517 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
25518 eliminate_lr2ip): Likewise.
25519
25520 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
25521
25522 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
25523 reg_mentioned_in_mem): Likewise.
25524
25525 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
25526 symbolic_reference_mentioned_p): Likewise.
25527
25528 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
25529
25530 * sh/sh.c (regs_used, mark_use): Likewise.
25531
25532 * vax/vax.c (vax_rtx_cost): Likewise.
25533
25534 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25535
25536 * machmode.h (mode_name): Constify a char*.
25537
25538 * rtl.c (mode_name): Likewise.
25539
25540 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
25541
25542 * optabs.c (init_libfuncs): Constify a char*.
25543
25544 * print-tree.c (mode_name): Remove redundant declaration.
25545 (print_node): Use accessor macro, not `mode_name'.
25546
25547 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
25548 not `mode_name'.
25549 (new_spill_reg): Constify a char*.
25550
25551 * tree.c (mode_name): Remove redundant declaration.
25552
25553 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25554
25555 * rtl.c (rtx_name): Constify a char*.
25556
25557 * rtl.h (rtx_name, fix_sched_param): Likewise.
25558
25559 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
25560 (mypr): Use accessor macro, not `rtx_name'.
25561
25562 * genemit.c (print_code): Constify a char*.
25563
25564 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
25565
25566 * genpeep.c (print_code): Constify a char*.
25567
25568 * genrecog.c (print_code): Likewise.
25569
25570 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
25571 end_bb): Add static prototype.
25572 (draw_edge): Constify a char*.
25573 (end_bb): Remove unused parameter.
25574
25575 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
25576 print_block_visualization): Constify a char*.
25577
25578 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
25579
25580 * c-common.c (c_get_alias_set): Update comment.
25581
25582 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
25583
25584 * linux.h (LIB_SPEC): Added.
25585
25586 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
25587
25588 * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
25589
25590 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
25591
25592 * tree.c (expr_check): Fix typo in last change.
25593
25594 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
25595
25596 * rtl.def (NOTE): Change format to "iuu0n".
25597 (ADDR_DIFF_VEC): Change format to "eEee0".
25598 (ADDRESSOF): Change format to "eit".
25599
25600 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
25601 (RTVEC_ELT): Change to match.
25602 (XVECEXP): Use XVEC and RTVEC_ELT.
25603 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
25604 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
25605 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
25606 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
25607 TRAP_CONDITION, TRAP_CODE): Use XEXP.
25608 (INTVAL): Use XWINT.
25609 (ADDRESSOF_DECL): Use XTREE.
25610 (SET_ADDRESSOF_DECL): Delete.
25611 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
25612 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
25613 ifdefed out since 2.6 at least.
25614 (gen_rtvec_vv): Delete prototype.
25615
25616 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
25617 not rtunion.
25618 (copy_most_rtx): Handle 't' format letter.
25619 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
25620 (gen_rtvec_vv): Delete function. All callers changed to use
25621 gen_rtvec_v instead.
25622 * print-rtl.c (print_rtx): Move special casing of NOTEs to
25623 the '0' format letter.
25624
25625 * function.c (gen_mem_addressof): Don't use
25626 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
25627 instead.
25628 * integrate.c (copy_rtx_and_substitute): Likewise.
25629 Copy 't' slots with XTREE.
25630 (subst_constants): Treat 't' slots like '[swi]' slots.
25631 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
25632 * jump.c (rtx_equal_for_thread_p): Likewise.
25633 * rtlanal.c (rtx_equal_p): Likewise.
25634 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
25635 only four arguments.
25636 * gengenrtl.c (type_from_format): Provide correct types for
25637 'b' and 't' slots.
25638
25639
25640 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
25641 If a recent gcc is in use (always in stage2 and beyond), use
25642 statement expressions, so we don't make a function call unless
25643 the check fails. Evaluate arguments exactly once.
25644 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
25645 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
25646 Delete.
25647 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
25648 they evaluate their arguments exactly once, irrespective of
25649 the compiler in use.
25650
25651 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
25652 is used by the currently-enabled check macros. This is:
25653 (tree_check_failed, tree_class_check_failed): For gcc.
25654 (tree_check, tree_class_check, cst_or_constructor_check,
25655 expr_check): For other compilers.
25656
25657 * gencheck.c: Do not define any *_CHECK1 macros.
25658
25659 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
25660 Mark Mitchell <mark@codesourcery.com>
25661
25662 * c-common.c (c_get_alias_set): Fix support for poitners and
25663 references.
25664
25665 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
25666
25667 * alias.c: Include tree.h.
25668 (nonlocal_reference_p, mark_constant_function): New functions.
25669 * flow.c (life_analysis): Call mark_constant_function.
25670 * rtl.h (mark_constant_function): Declare it.
25671
25672 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
25673
25674 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
25675 unrecognisable switches.
25676
25677 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25678
25679 * loop.c (recombine_givs): Set ix field after sorting.
25680 (recombine_givs): Remove bogus index / giv lockstep looping.
25681
25682 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25683
25684 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
25685 on CODE.
25686 (emit_store_flag_force): Use do_compare_rtx_and_jump.
25687 (do_cmp_and_jump): Formatting fixes.
25688 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
25689 do_compare_rtx_and_jump instead of compare_from_rtx.
25690 (do_compare_rtx_and_jump): New function; mostly copied from
25691 compare_from_rtx.
25692 (do_jump_for_compare): Delete.
25693 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
25694 MIN_EXPR.
25695 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
25696 of compare/do_jump_for_compare pairs.
25697 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
25698 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
25699 compare_from_rtx/do_jump_for_compare pairs.
25700 (do_jump_by_parts_equality): Likewise.
25701 (do_jump_by_parts_equality_rtx): Likewise.
25702 * expr.h (do_compare_rtx_and_jump): Declare.
25703 * optabs.c (prepare_cmp_insn): New function, contains most of the code
25704 that used to be in emit_cmp_insn.
25705 (cmp_available_p): New function.
25706 (prepare_operand): New function.
25707 (emit_cmp_and_jump_insn_1): New function, contains some code that used
25708 to be in emit_cmp_insn.
25709 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
25710 parameters to be pointers; don't emit final compare but modify some of
25711 the values pointed to by the args so the caller can perform the
25712 correct comparison.
25713 (expand_binop): Call emit_store_flag_force with signed forms of
25714 comparison code.
25715 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
25716 emit_jump_insn pair.
25717 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
25718 emit_cmp_and_jump_insn_1. Call emit_queue.
25719 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
25720 arg.
25721 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
25722 jump sets cc0 before deleting it.
25723 * integrate.c (expand_inline_function): Likewise.
25724 * unroll.c (unroll_loop): Similar changes in several places.
25725 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
25726 before deleting it.
25727
25728 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25729
25730 * Makefile.in (insn-recog.o): Update dependencies.
25731 * genrecog.c (main): Make generated file include "function.h".
25732
25733 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
25734
25735 * cse.c (cse_insn): Call never_reached_warning when a jump is
25736 changed to be unconditional.
25737 * flags.h: Declare warn_notreached.
25738 * flow.c (delete_block): Call never_reached_warning when
25739 a block is deleted.
25740 * jump.c (delete_barrier_successors): Call never_reached_warning
25741 when we delete everything after a BARRIER.
25742 (never_reached_warning): New function.
25743 * rtl.h: Declare never_reached_warning.
25744 * toplev.c (warn_notreached): New variable.
25745 (lang_independent_options): Set warn_notreached
25746 when -Wunreachable-code.
25747 (compile_file): We need line numbers for -Wunreachable-code.
25748
25749 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
25750
25751 * haifa-sched.c (insn_unit): Fix typo on out of range test.
25752 * sched.c (insn_unit): Likewise.
25753
25754 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
25755
25756 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
25757
25758 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
25759
25760 * flow.c (create_edge_list): Use xmalloc, not malloc.
25761
25762 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
25763
25764 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
25765 C-style comments. Do not lose the character before double slash.
25766
25767 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
25768
25769 * basic-block.h (struct edge_list): Stucture to maintain a vector
25770 of edges.
25771 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
25772 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
25773 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
25774 New function prototypes.
25775 * flow.c (create_edge_list): Function to create an edge list.
25776 (free_edge_list): Discards memory used by an edge list.
25777 (print_edge_list): Debug output showing an edge list.
25778 (verify_edge_list): Internal consistency check for an edge list.
25779 (find_edge_index): Function to find an edge index for a pred and succ.
25780
25781 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
25782
25783 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
25784 hashtable.
25785
25786 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
25787
25788 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
25789
25790 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
25791
25792 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
25793
25794 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
25795
25796 * toplev.c (rest_of_compilation): Allow machine dependent
25797 reorganisation pass to place information into the RTL dump
25798 file if it so wishes.
25799
25800 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
25801
25802 * explow.c (hard_function_value): Use VOIDmode instead of
25803 MAX_MACHINE_MODE.
25804 * stmt.c (expand_return): Likewise.
25805 * stor-layout.c (get_best_mode): Likewise.
25806
25807 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
25808 emit call instead of emit_insn call.
25809
25810 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
25811
25812 * configure.in: Handle --disable/enable-win32-registry.
25813 * install.texi: Document --disable/enable-win32-registry.
25814 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
25815 (WIN32_REGISTRY_KEY): New macro.
25816 * prefix.c: Use to enable/disable win32-specific code.
25817 (lookup_key): Use versioned key.
25818 * configure: Regenerate.
25819 * config.in: Likewise.
25820
25821 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
25822
25823 * cpplib.c (read_line_number): New fn, split out of...
25824 (do_line): Here.
25825
25826 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
25827
25828 tree.c (lang_unsave_expr_now) : New.
25829 (unsave_expr_now): Call lang_unsave_expr_now.
25830 tree.h (lang_unsave_expr_now) : New.
25831
25832 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
25833
25834 * toplev.c (flag_new_exceptions): On by default.
25835
25836 1999-08-13 Michael Meissner <meissner@cygnus.com>
25837
25838 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
25839
25840 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
25841
25842 * dwarfout.c (fundamental_type_code): Return FT_boolean for
25843 INTEGER_TYPE with precision==1, it's __java_boolean.
25844
25845 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25846
25847 * global.c (prune_preferences): Move some invariants out of the
25848 inner loop.
25849
25850 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
25851
25852 * configure.in (alpha*-dec-osf*): Add osf5.
25853
25854 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
25855
25856 * configure.in: Rework handling of ARM GNU/Linux slightly.
25857 (arm*-*-linux-gnuoldld): New target.
25858 * configure: Regenerate.
25859 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
25860 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
25861 * config/arm/linux-oldld.h: New file.
25862 * config/arm/linux-elf26.h: Don't include linux-elf.h.
25863 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
25864 Don't define.
25865 * config/arm/linux-elf.h (ASM_SPEC): Define.
25866 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
25867 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
25868 for 26-bit APCS and old linker.
25869 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
25870 `arm_elf'.
25871 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
25872 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
25873 don't define `arm' or `arm_elf'.
25874 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
25875 MULTILIB_DIRNAMES): Define. Fix typo in comment.
25876
25877 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
25878
25879 * rtl.texi: Fix typo.
25880
25881 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
25882
25883 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
25884
25885 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
25886
25887 * extend.texi (C++ Signatures): Remove node.
25888 * invoke.texi: Remove discussion of -fhandle-signatures,
25889 signature, sigof, __signature__, and __sigof__.
25890
25891 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
25892
25893 * Makefile.in (JAVAGC): Removed.
25894
25895 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
25896
25897 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
25898
25899 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
25900
25901 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
25902
25903 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
25904
25905 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
25906 a register that is already known to be a pointer.
25907
25908 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
25909
25910 * fixinc/inclhack.tpl: Only install assert.h conditionally.
25911 * fixinc/inclhack.sh: Regenerated.
25912 * fixinc/fixincl.sh: Regenerated.
25913
25914 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
25915
25916 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
25917 Fix documentation of -ansi flag to describe its C++ behavior.
25918 Remove bogus reference to GCC 2.9.
25919
25920 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
25921
25922 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
25923 note if it is non-NULL.
25924
25925 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
25926
25927 * except.h (eh_nesting_info): Add new structure defintion.
25928 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
25929 (reachable_handlers, update_rethrow_references): Add function
25930 prototypes.
25931 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
25932 a rethrow symbol instead of an integer exception region number.
25933 * flow.c (Make_edges): Use new exception nesting routines to determine
25934 which handlers are reachable from a CALL or asynchronous insn.
25935 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
25936 goto receivers.
25937 (delete_eh_regions): Update rethrow labels, and don't delete
25938 regions which are the target of a rethrow.
25939 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
25940 avoid overloading the SYMBOL_REF_USED flag.
25941 (rethrow_symbol_map): Use new rethrow_ref field.
25942 (rethrow_used): Use new rethrow_ref field.
25943 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
25944 of an integer. Fix formatting.
25945 (output_exception_table_entry): Use new rethrow_ref field.
25946 (can_throw): Check for EH_REGION_NOTE before deciding
25947 whether a CALL can throw or not.
25948 (scan_region): Call rethrow_used() instead of accessing data structure.
25949 (update_rethrow_references): New function to make sure only regions
25950 which are still targets of a rethrow are flagged as such.
25951 (process_nestinfo): New static function to initialize a handler
25952 list for a specific region.
25953 (init_eh_nesting_info): New function to allocate and initialize
25954 the list of all EH handlers reachable from all regions.
25955 (reachable_handlers): New function to retrieve the list of handlers
25956 reachable from a specific region and insn.
25957 (free_eh_nesting_info): New function to dispose of a list of
25958 reachable handlers.
25959
25960 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
25961
25962 * flow.c (split_edge): Set JUMP_LABEL field.
25963 (commit_one_edge_insertion): Set head correctly for insert_before.
25964 When inserting insns, update insn block numbers if allocated.
25965
25966 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25967
25968 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
25969 retry_incomplete_types): Add static prototype.
25970 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
25971 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
25972 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
25973 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
25974 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
25975 Constify a char*.
25976
25977 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
25978 dwarf2out_start_source_file, dwarf2out_line): Likewise.
25979
25980 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25981
25982 * output.h (assemble_name): Constify a char*.
25983
25984 * varasm.c (UNIQUE_SECTION, assemble_start_function,
25985 assemble_variable, assemble_name): Likewise.
25986
25987 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
25988
25989 * arm/pe.c (arm_pe_unique_section): Likewise.
25990
25991 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
25992
25993 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
25994
25995 * i386/interix.c (i386_pe_unique_section): Likewise.
25996
25997 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
25998
25999 * i386/winnt.c (i386_pe_unique_section): Likewise.
26000
26001 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
26002
26003 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
26004
26005 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
26006
26007 * pa/pa.c (output_call): Likewise.
26008
26009 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
26010
26011 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
26012
26013 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
26014 Likewise.
26015
26016 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
26017 Likewise.
26018
26019 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
26020
26021 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
26022 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
26023
26024 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
26025
26026 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
26027
26028 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
26029
26030 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
26031
26032 * tree.h (lang_identify): Constify a char*.
26033 (print_error_function): Add extern prototype. Constify a char*.
26034
26035 * c-lang.c (lang_identify): Constify a char*.
26036
26037 * objc/objc-act.c (lang_identify): Constify a char*.
26038
26039 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26040
26041 * genpeep.c (main): Make generated file include "function.h".
26042 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
26043
26044 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26045
26046 * Makefile.in: Update dependencies.
26047 * alias.c: Include "function.h"
26048 * c-decl.c: Likewise.
26049 * caller-save.c: Likewise.
26050 * calls.c: Likewise.
26051 * combine.c: Likewise.
26052 * cse.c: Likewise.
26053 * explow.c: Likewise.
26054 * final.c: Likewise.
26055 * global.c: Likewise.
26056 * graph.c: Likewise.
26057 * local-alloc.c: Likewise.
26058 * loop.c: Likewise.
26059 * optabs.c: Likewise.
26060 * profile.c: Likewise.
26061 * recog.c: Likewise.
26062 * regclass.c: Likewise.
26063 * regmove.c: Likewise.
26064 * reload.c: Likewise.
26065 * reorg.c: Likewise.
26066 * resource.c: Likewise.
26067 * sched.c: Likewise.
26068 * stupid.c: Likewise.
26069 * config/1750a/1750a.c: Likewise.
26070 * config/a29k/a29k.c: Likewise.
26071 * config/arc/arc.c: Likewise.
26072 * config/arm/arm.c: Likewise.
26073 * config/arm/thumb.c: Likewise.
26074 * config/c4x/c4x.c: Likewise.
26075 * config/clipper/clipper.c: Likewise.
26076 * config/convex/convex.c: Likewise.
26077 * config/fx80/fx80.c: Likewise.
26078 * config/i860/i860.c: Likewise.
26079 * config/m68k/m68k.c: Likewise.
26080 * config/m88k/m88k.c: Likewise.
26081 * config/mips/mips.c: Likewise.
26082 * config/pdp11/pdp11.c: Likewise.
26083 * config/pyr/pyr.c: Likewise.
26084 * config/romp/romp.c: Likewise.
26085 * config/sh/sh.c: Likewise.
26086 * config/tahoe/tahoe.c: Likewise.
26087 * config/vax/vax.c: Likewise.
26088 * config/we32k/we32k.c: Likewise.
26089 * config/sparc/sparc.c: Include "function.h".
26090 (mem_min_alignment): Test current_function rather than
26091 regno_pointer_align.
26092 * config/pa/pa.c: Likewise.
26093 (compute_frame_size): Delete declaration of
26094 current_function_outgoing_args_size.
26095 * config/arc/arc.h (current_function_varargs): Delete declaration.
26096 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
26097 declaration.
26098 * config/i370/i370.h (current_function_outgoing_args_size): Delete
26099 declaration.
26100 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
26101 current_function_uses_pic_offset_table.
26102 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
26103 of current_function_returns_pointer.
26104 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
26105 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
26106 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
26107 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
26108 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
26109 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
26110 * config/m88k/m88k.c: Include "function.h"
26111 (call_used_regs, current_function_pretend_args_size,
26112 current_function_outgoing_args_size, frame_pointer_needed): Delete
26113 declarations.
26114 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
26115 declaration.
26116 * config/mips/mips.h (current_function_calls_alloca): Delete
26117 declaration.
26118 * config/mn10200/mn10200.h (current_function_needs_context,
26119 rtx_equal_function_value_matters): Delete declarations.
26120 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
26121 flag_pic): Delete declarations.
26122 * config/pa/pa.h (current_function_pretend_args_size,
26123 current_function_decl): Delete declarations.
26124 * config/pa/som.h (current_function_varargs): Delete declaration.
26125 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
26126 declaration.
26127 * config/pyr/pyr.h (current_function_pretend_args_size,
26128 current_function_args_size, current_function_calls_alloca): Delete
26129 declarations.
26130 * config/sh/sh.h (current_function_varargs): Delete declaration.
26131 * config/sparc/sparc.h (current_function_outgoing_args_size,
26132 current_function_calls_alloca, current_function_decl): Delete
26133 declarations.
26134 * config/spur/spur.h (current_function_pretend_args_size,
26135 current_function_calls_alloca): Delete declarations.
26136 * config/v850/v850.c (current_function_outgoing_args_size): Delete
26137 declaration.
26138 * config/vax/vms.h (current_function_name): Delete declaration.
26139 * gcse.c: Include "function.h".
26140 (current_function_name, current_function_calls_setjmp): Delete
26141 declarations.
26142 * haifa-sched.c: Include "function.h".
26143 (forced_labels): Delete declaration.
26144 * jump.c: Likewise.
26145 * reg-stack.c: Likewise.
26146 * reload1.c: Likewise.
26147 * genemit.c (main): Make generated file include function.h.
26148 * genoutput.c (output_prologue): Likewise.
26149
26150 * builtins.c (saveregs_value, apply_args_value): Delete variables.
26151 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
26152 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
26153 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
26154 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
26155 macros for some of them.
26156 (emit_filename, emit_lineno): Delete declarations.
26157 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
26158 regno_pointer_* variables through current_function.
26159 (gen_inline_header_rtx): Delete function.
26160 (save_emit_status): Delete function.
26161 (set_new_last_label_num): New function.
26162 (clear_emit_caches): New function.
26163 (restore_emit_status): Just clear last_labelnum and call
26164 clear_emit_caches.
26165 (get_last_insn_anywhere): Variable sequence_stack is now accessed
26166 through macro seq_stack.
26167 (add_insn_after): Likewise.
26168 (add_insn_before): Likewise.
26169 (remove_insn): Likewise.
26170 (pop_topmost_sequence): Likewise.
26171 (in_sequence_p): Likewise.
26172 (start_sequence_for_rtl_expr): Likewise.
26173 (start_sequence): Likewise, and likewise for
26174 sequence_rtl_expr/seq_rtl_expr.
26175 (push_topmost_sequence): Likewise.
26176 (end_sequence): Likewise.
26177 (init_virtual_regs): Now takes a "struct emit_status *" argument.
26178 All callers changed. Store into that pointer instead of globals.
26179 (init_emit): Allocate emit elt of current_function.
26180 Changes for sequence_rtl_expr/sequence_stack renaming.
26181 Call clear_emit_caches instead of doing it in-line.
26182 Access regno_pointer_* variables through current_function.
26183 (init_emit_once) Don't clear sequence_stack.
26184
26185 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
26186 Delete variables.
26187 (arg_pointer_save_area): Delete declaration.
26188 (finish_expr_for_function): Renamed from init_queue; no longer static.
26189 (init_expr): Don't call init_queue.
26190 (save_expr_status, restore_expr_status): Delete functions.
26191 (expand_expr): Changes to reflect new layout of struct function.
26192 Don't access current_function_check_memory_usage when current_function
26193 is 0.
26194 * expr.h (forced_labels, save_expr_regs, saveregs_value,
26195 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
26196 current_function_outgoing_args_size, current_function_arg_offset_rtx,
26197 current_function_uses_const_pool, function_call_count,
26198 current_function_uses_pic_offset_table, nonlocal_labels,
26199 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
26200 current_function_check_memory_usage, nonlocal_goto_handler_slots,
26201 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
26202 declarations.
26203 (finish_expr_for_function): Declare.
26204 * flags.h (current_function_has_nonlocal_label,
26205 current_function_has_nonlocal_goto, current_function_is_thunk,
26206 current_function_has_computed_jump): Delete declarations.
26207 * flow.c (forced_labels): Delete declaration.
26208 * function.c (current_function_pops_args,
26209 current_function_returns_struct, current_function_returns_pcc_struct,
26210 current_function_needs_context, current_function_calls_setjmp,
26211 current_function_calls_longjmp, current_function_has_nonlocal_label,
26212 current_function_has_nonlocal_goto, current_function_is_thunk,
26213 current_function_has_computed_jump, current_function_calls_alloca,
26214 current_function_contains_functions, current_function_returns_pointer,
26215 current_function_epilogue_delay_list, current_function_args_size,
26216 current_function_pretend_args_size, current_function_arg_offset_rtx,
26217 current_function_outgoing_args_size, current_function_varargs,
26218 current_function_stdarg, current_function_args_info, cleanup_label,
26219 current_function_name, current_function_uses_const_pool,
26220 current_function_instrument_entry_exit, current_function_return_rtx,
26221 current_function_uses_pic_offset_table, nonlocal_labels,
26222 current_function_internal_arg_pointer, current_function_cannot_inline,
26223 current_function_check_memory_usage, function_call_count,
26224 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
26225 nonlocal_goto_stack_level, return_label, save_expr_regs,
26226 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
26227 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
26228 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
26229 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
26230 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
26231 Delete variables.
26232 (push_function_context_to): Don't save them. Don't call
26233 save_storage_status, save_emit_status or save_expr_status.
26234 (pop_function_context_from): Don't restore them. Don't call
26235 restore_storage_status or restore_expr_status.
26236 (get_func_frame_size): New function.
26237 (get_frame_size): Use it.
26238 (assign_outer_stack_local): Reflect some member name changes in struct
26239 function.
26240 (put_reg_into_stack): Likewise.
26241 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
26242 seq_rtl_expr.
26243 (fixup_var_refs): Likewise.
26244 (fix_lexical_addr): Likewise.
26245 (trampoline_address): Likewise.
26246 (prepare_function_start): Clear field inlinable of current_function.
26247 (init_function_for_compilation): New function.
26248 (expand_dummy_function_end): New function.
26249 (expand_function_end): Call finish_expr_for_function.
26250 * function.h (struct emit_status): New; fields moved here from struct
26251 function and from global variables. Add accessor macros for some of
26252 the fields.
26253 (struct expr_status): Likewise.
26254 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
26255 (struct function): Add fields expr and emit, inlinable, inl_emit,
26256 original_arg_vector, original_decl_initial, inl_last_parm_insn,
26257 inl_max_label_num. Add many comments.
26258 Add accessor macros for all elts of struct function that no longer
26259 have a global variable.
26260 (cleanup_label, return_label, frame_offset, tail_recursion_label,
26261 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
26262 stack_slot_list): Delete declarations.
26263 (get_func_frame_size): Declare.
26264 (save_expr_status, restore_expr_status, save_emit_status,
26265 save_storage_status, restore_storage_status): Delete declarations.
26266 (init_virtual_regs): Declare.
26267 * output.h (current_function_pops_args,
26268 current_function_returns_struct, current_function_returns_pcc_struct,
26269 current_function_needs_context, current_function_calls_setjmp,
26270 current_function_calls_longjmp, current_function_calls_alloca,
26271 current_function_has_nonlocal_label, current_function_varargs,
26272 current_function_has_computed_jump, current_function_returns_pointer,
26273 current_function_contains_functions, current_function_args_size,
26274 current_function_pretend_args_size, current_function_stdarg,
26275 current_function_outgoing_args_size, current_function_args_info,
26276 current_function_name, current_function_return_rtx,
26277 current_function_epilogue_delay_list,
26278 current_function_uses_const_pool, current_function_cannot_inline):
26279 Delete declarations.
26280 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
26281 regno_reg_rtx): Delete declaration.
26282 (REGNO_POINTER_FLAG): Delete macro.
26283 * stmt.c (expand_goto): Changes to reflect that some fields in struct
26284 function were renamed.
26285 * stor-layout.c (save_storage_status, restore_storage_status): Delete
26286 functions.
26287 * toplev.c: Include "function.h".
26288 (current_function_decl): Delete declaration.
26289 (compile_file): Call init_dummy_function_start and
26290 expand_dummy_function_end around some initializations that need to
26291 emit rtl.
26292 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
26293 Call init_function_for_compilation.
26294 * unroll.c: Include "function.h"
26295 (unroll_loop): Access regno_pointer_* variables through
26296 current_function.
26297
26298 * tree.h (struct tree_decl): Add elt f to saved_insns member.
26299 (DECL_SAVED_INSNS): use it.
26300 (expand_dummy_function_end): Declare.
26301 (init_function_for_compilation): Declare.
26302 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
26303 that it's no longer an INLINE_HEADER.
26304 (expand_call): Likewise.
26305 * integrate.c (finish_inline): Delete function.
26306 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
26307 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
26308 args. Don't generate an INLINE_HEADER rtx, just return the arg
26309 vector. All callers changed.
26310 (save_for_inline_copying): Create a duplicate struct emit_status to
26311 hold the emit state for compiling the current function. Use this and
26312 the other new fields in struct function that are for integration
26313 instead of an INLINE_HEADER.
26314 Use memcpy instead of bcopy.
26315 Store the current struct function in DECL_SAVED_INSNS of fndecl.
26316 (save_for_inline_nocopy): Similar changes, except no new emit_status
26317 is needed here.
26318 (expand_inline_function): Get information from function structure,
26319 not from an inline header rtx.
26320 (output_inline_function): Lose code to extract the necessary
26321 information from an inline header; simply put back the function
26322 structure into current_function. Clear its inlinable elt.
26323 * rtl.def (INLINE_HEADER): Delete.
26324 * rtl.h: Delete all accessors for an INLINE_HEADER.
26325 (gen_inline_header_rtx): Delete declaration.
26326 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
26327 Delete declarations.
26328 (REGNO_POINTER_ALIGN): Delete.
26329 (clear_emit_caches): Declare.
26330 (set_new_last_label_num): Declare.
26331
26332 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
26333
26334 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
26335
26336 * except.c (expand_eh_region_start_for_decl): Always start a new block.
26337 * stmt.c (is_eh_region): Make sure current_function is present, too.
26338
26339 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
26340
26341 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
26342 for 64bit PA targets.
26343
26344 * pa.h (SELECT_SECTION): Define.
26345 * som.h (SELECT_SECTION): Delete.
26346
26347 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
26348
26349 * alias.c (init_alias_analysis): Wrap call to
26350 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
26351
26352 1999-08-07 Bruce Korb <autogen@linuxbox.com>
26353
26354 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
26355 <sys/asm.h> contains an asm comment with an apostrophe
26356 * fixinc/inclhack.sh: regen
26357 * fixinc/fixincl.x: regen
26358
26359 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
26360
26361 * function.c (init_function_start): Clear prologue & epilogue.
26362 (prologue_epilogue_contains): New function.
26363 * alias.c (init_alias_analysis): Use it.
26364 * rtl.h (prologue_epilogue_contains): Declare it.
26365
26366 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
26367
26368 * jump.c (onlyjump_p): New function.
26369 * rtl.h: Declare it.
26370 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
26371 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
26372
26373 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
26374
26375 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
26376 to invert loops. Simplify block scanning.
26377
26378 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26379
26380 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
26381 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
26382
26383 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
26384
26385 * config/sparc/liteelf.h: New file to support sparclite-elf target
26386 * config/sparc/t-sp86x: New file to support sparc86x targets
26387 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
26388 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
26389 * configure.in: Support above target triplets
26390 * configure: Regenerated
26391
26392 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
26393
26394 * fixinc/server.c (server_setup): Do not prefix function used as
26395 parameter with `&'.
26396
26397 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
26398
26399 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
26400 Remove fp reg alternatives.
26401
26402 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
26403
26404 * Makefiin (TAROUTOPTS): Kill.
26405 (install-headers-tar): Use "xpf" for tar headerfile extraction
26406 * i370/x-oe (TAROUTOPTS): Delete.
26407 * m68k/x-apollo68 (TAROUTOPTS): Delete.
26408 * m68k/x-hp320 (TAROUTOPTS): Delete.
26409 * m68k/x-hp320g (TAROUTOPTS): Delete.
26410 * gcc.texi: Update bug reporting text.
26411
26412 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
26413
26414 * reg-stack.c (change_stack) Fixed problem with negative array index.
26415
26416 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
26417
26418 * extend.texi, install.texi: Fix spelling mistakes.
26419
26420 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
26421 (s-attrtab); No longer try to use pre-made insn-attrtab file.
26422 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
26423 PREMADE_ATTRTAB_MD.
26424 * mips/t-ecoff: Likewise.
26425 * mips/t-elf: Likewise.
26426 * mips/t-mips: Likewise.
26427 * mips/t-osfrose: Likewise.
26428 * mips/t-r3900: Likewise.
26429 * mips/t-svr3: Likewise.
26430 * mips/t-svr4: Likewise.
26431 * mips/t-ultrix: Likewise.
26432
26433 * gcc.texi: Document recommend means to provide software floating
26434 point libraries in libgcc.a
26435
26436 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
26437
26438 * c-lex.c (yylex): We can have a number with no digits.
26439
26440 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
26441
26442 * jump.c (delete_prior_computation): New function, broken
26443 out of delete_computation. Check for side effects with
26444 side_effects_p instead of FIND_REG_INC_NOTE. Handle
26445 multi-word hard registers.
26446 (delete_computation): Use it. Check for side effects with
26447 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
26448 missing REG_DEAD note for a register which is both set and
26449 used by an insn.
26450
26451 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
26452
26453 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
26454 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
26455 (ASM_FILE_START): Import _mcount with the right type.
26456 (ASM_DECLARE_FUNCTION_NAME): Define.
26457 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
26458 * pa.c (output_function_prologue): Always emit the function's label
26459 here.
26460 * pa.h (TEXT_SPACE_P): Define.
26461 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
26462 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
26463 * som.h (TEXT_SPACE_P): Delete.
26464 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
26465 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
26466
26467 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
26468
26469 * expr.c (emit_group_load): Allow src to be a CONCAT.
26470
26471 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26472
26473 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
26474 (___mulsi3): Use '!' comment character.
26475
26476 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26477
26478 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
26479
26480 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
26481
26482 * gcc.c: Update URLs and mail addresses.
26483 * gcc.texi: Likewise.
26484
26485 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
26486
26487 * rs6000.c (current_file_function_operand): Return zero for
26488 weak functions.
26489 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
26490 weak symbols.
26491 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
26492 for weak symbols.
26493
26494 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
26495
26496 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
26497 allocate space in the stack frame for the PIC register.
26498
26499 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
26500
26501 * m68k.md (xordi3, anddi3): These patterns are not available on
26502 the coldfire.
26503
26504 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
26505
26506 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
26507 (PUT_REAL): Likewise.
26508
26509 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26510
26511 * final.c (shorten_branches): Don't add an alignment for loops
26512 that have no label inside.
26513
26514 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
26515
26516 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
26517 prototypes in macro HAVE_cmpstrsi.
26518
26519 * cpplib.c (cpp_get_token): Remove unused label `op3'.
26520
26521 * emit-rtl.c (operand_subword): Remove unused variable
26522 `bits_per_word'.
26523
26524 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
26525
26526 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
26527
26528 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
26529
26530 * cpphash.c (macroexpand): Delete leading whitespace when arg
26531 is concatenated before.
26532 (unsafe_chars): Correct test for whether + and - can extend a
26533 token.
26534
26535 * cppinit.c (cpp_start_read): Do dependencies for
26536 -include/-imacros files also.
26537
26538 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
26539 tokenizing non-directive lines.
26540 (cpp_expand_to_buffer): Temporarily disable no-output mode.
26541 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
26542 the input file.
26543
26544 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
26545
26546 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
26547
26548 * c-lex.c: Sync with C++ frontend.
26549 (linemode): New variable.
26550 (parse_float): imag, conversion_errno, and type are output only.
26551 (yylex): Adjust. Move initial '.' case into main switch.
26552 Use linemode.
26553 (handle_generic_pragma): Just deal with tokens.
26554 (readescape): Use ISXDIGIT and ISGRAPH.
26555 * c-parse.in: Add END_OF_LINE token.
26556
26557 * c-lex.c (lang_init): Generalize.
26558 (nextchar): Remove. Replace uses with UNGETC.
26559 (skip_white_space): Handle linemode here. Optimize for cpplib.
26560 (skip_white_space_on_line): Remove.
26561 (extend_token_buffer_to): New fn.
26562 (extend_token_buffer): Use it.
26563 (read_line_number, check_newline): Just deal with tokens.
26564 (token_getch, token_put_back): New fns.
26565 (yylex): Use them. More cpplib optimizations. Simplify.
26566
26567 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
26568 Jason Merrill <jason@yorick.cygnus.com>
26569
26570 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
26571 (consume_string): Make this smart about USE_CPPLIB.
26572 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
26573 (yylex): Rewrite to be intelligent about USE_CPPLIB.
26574 Also, clean up cases where we redundantly set token_buffer[0].
26575 (read_line_number): New fn.
26576 (ignore_escape_flag): New variable.
26577
26578 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
26579
26580 * a29k/t-a29kbare: Fix some comments.
26581 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
26582 (FPBIT, DPBIT): Define.
26583 * a29k/t-vx29k: Likewise.
26584 * arc/t-arc: Likewise.
26585 * arm/t-arm-elf: Likewise.
26586 * arm/t-bare: Likewise.
26587 * arm/t-pe: Likewise.
26588 * arm/t-pe-thumb: Likewise.
26589 * arm/t-semi: Likewise.
26590 * arm/t-thumb: Likewise.
26591 * arm/t-thumb-elf: Likewise.
26592 * arm/t-thumb-linux: Likewise.
26593 * h8300/t-h8300: Likewise.
26594 * i960/t-i960: Likewise.
26595 * i960/t-vxworks960: Likewise.
26596 * m32r/t-m32r: Likewise.
26597 * mips/t-ecoff: Likewise.
26598 * mips/t-elf: Likewise.
26599 * mips/t-r3900: Likewise.
26600 * pa/t-pro: Likewise.
26601 * rs6000/t-aix43: Likewise.
26602 * rs6000/t-beos: Likewise.
26603 * rs6000/t-newas: Likewise.
26604 * rs6000/t-ppccomm: Likewise.
26605 * rs6000/t-rs6000: Likewise.
26606 * rs6000/t-winnt: Likewise.
26607 * rs6000/t-xnewas: Likewise.
26608 * rs6000/t-xrs6000: Likewise.
26609 * sh/t-sh: Likewise.
26610 * sparc/t-elf: Likewise.
26611 * sparc/t-sparcbare: Likewise.
26612 * sparc/t-sparclite: Likewise.
26613 * sparc/t-splet: Likewise.
26614 * v850/t-v850: Likewise.
26615 * mn10200/t-mn10200: Fix comments.
26616 * mn10300/t-mn10300: Likewise.
26617
26618 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
26619 dummy operand. Allocate a new pseudo for the dummy operand.
26620 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
26621
26622 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
26623
26624 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
26625
26626 * configure: Rebuilt.
26627 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
26628
26629 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
26630
26631 * recog.c (preproces_constraints): Zero recog_op_alt before
26632 processing the constraints.
26633
26634 * arm.c (typedef minipool_node): Renamed from pool_node.
26635 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
26636 (add_minipool_constant): New function.
26637 (dump_minipool): New function.
26638 (find_barrier): Remove special case for getting the insn size of
26639 an insn that references the constant pool.
26640 (minipool_fixup): New structure.
26641 (push_minipool_barrier): New function.
26642 (push_minipool_fix): New function.
26643 (note_invalid_constants): New function.
26644 (add_pool_constant, dump_table, fixit, broken_move): Delete.
26645 (arm_reorg): Rewrite code to fix up the constant pool into a
26646 series of mini-pools embedded in the insn stream.
26647 (arm_output_epilogue): New function, made mainly from the body
26648 of output_func_epilogue.
26649 (output_func_epilogue): Move insn generation part of epilogue code
26650 to arm_output_epilogue.
26651 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
26652 * arm.md (pool_range): New attribute.
26653 (zero_extendqidi2): Add attribute pool_range.
26654 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
26655 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
26656 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
26657 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
26658 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
26659 (epilogue): New expand.
26660 (epilogue_insn): New insn. Call arm_output_epilogue.
26661
26662 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
26663 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
26664
26665 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
26666
26667 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
26668
26669 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
26670
26671 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
26672
26673 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
26674
26675 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
26676
26677 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
26678
26679 * global.c: Fix comment.
26680
26681 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
26682
26683 * gcc.c (access_check): New static function.
26684 (find_a_file): Use it when searching a directory list.
26685 * collect2.c (find_a_file): Don't accept directories found when
26686 searching a directory list.
26687
26688 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
26689
26690 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
26691 function parameters with `&'.
26692 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
26693
26694 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
26695
26696 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
26697 or tidy_fallthru_edge if the last insn in the block is not
26698 an unconditional jump or a simple conditional jump.
26699
26700 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26701
26702 * Makefile.in (c-decl.o): Depends on defaults.h.
26703
26704 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
26705
26706 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
26707 PA1.1 and above.
26708 (CLASS_MAX_NREGS): Likewise.
26709
26710 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
26711
26712 * cse.c (cse_insn): Fix dumb thinko in last change.
26713
26714 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26715
26716 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
26717 "const char *".
26718
26719 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
26720
26721 * dwarf2out.c (add_location_or_const_value_attribute): Correct
26722 test for sizes of passed and declared parameter types.
26723
26724 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
26725
26726 * fixincludes: Fix the return type of bsearch, char* -> void*.
26727
26728 * fixinc/inclhack.def: Likewise.
26729
26730 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
26731
26732 * invoke.texi (-fdump-translation-unit): New option.
26733
26734 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
26735
26736 * expr.h (PROMOTE_PROTOTYPES): Move ...
26737 * defaults.h: ... to here.
26738 * c-decl.c: Include defaults.h instead of expr.h.
26739 * c-typeck.c: Include defaults.h.
26740
26741 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
26742
26743 * toplev.h (errorcount): Declare.
26744 (warningcount): Likewise.
26745 (sorrycount): Likewise.
26746 * c-lex.c (errorcount): Don't declare.
26747 * dwarf2out.c (errorcount): Don't declare.
26748
26749 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
26750
26751 * config/libgloss.h: Add a note discouraging use with ELF.
26752 * configure.in: Don't use libgloss.h for ELF targets.
26753 Always use_collect2 on a.out targets.
26754
26755 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
26756
26757 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
26758 (force_to_mode, case ASHIFTRT): Add shiftrt label.
26759
26760 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26761
26762 * loop.c (strength_reduce): When doing biv->giv conversion, update
26763 reg note of NEXT->insn.
26764
26765 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
26766
26767 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
26768
26769 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
26770
26771 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
26772 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
26773 Ensure expr.h is included.
26774 * c-typecheck.c (convert_arguments): Ditto.
26775
26776 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
26777
26778 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
26779 * config/convex/convex.h: Ditto.
26780 * config/dsp16xx/dsp16xx.h: Ditto.
26781 * config/fx80/fx80.h: Ditto.
26782 * config/gmicro/gmicro.h: Ditto.
26783 * config/i370/i370.h: Ditto.
26784 * config/i386/i386.h: Ditto.
26785 * config/m32r/m32r.h: Ditto.
26786 * config/m68k/m68k.h: Ditto.
26787 * config/m88k/m88k.h: Ditto.
26788 * config/mips/mips.h: Ditto.
26789 * config/pa/pa.h: Ditto.
26790 * config/pyr/pyr.h: Ditto.
26791 * config/tahoe/tahoe.h: Ditto.
26792 * config/we32k/we32k.h: Ditto.
26793
26794 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
26795 based on arch size.
26796
26797 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
26798
26799 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
26800 from comment.
26801
26802 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
26803
26804 1999-08-02 Richard Henderson <rth@cygnus.com>
26805
26806 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
26807 for the register spill block.
26808 (m32r_va_arg): New.
26809 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
26810 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
26811
26812 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
26813 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
26814 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
26815
26816 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
26817
26818 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
26819 MAX_WCHAR_TYPE defined in sparc.h.
26820 * config/sparc/linuxaout.h: Likewise.
26821 * config/sparc/linux64.h: Likewise.
26822 Also default to -mvis if CPU is UltraSPARC.
26823
26824 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
26825
26826 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
26827 (RTX_OK_FOR_OLO10): Likewise.
26828 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
26829 %lo(), allow it in addresses...
26830 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
26831 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
26832 does not make sense.
26833 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
26834 (sparc_output_scratch_registers): New function.
26835 (output_function_prologue, sparc_flat_output_function_prologue): Use
26836 it.
26837 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
26838 defined.
26839 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
26840 * configure.in: Add check for .register pseudo-op support in as and
26841 check for offsetable %lo().
26842 * acconfig.h: Add templates for the above checks.
26843 * configure: Regenerate.
26844
26845 1999-08-02 Richard Henderson <rth@cygnus.com>
26846
26847 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
26848 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
26849 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
26850
26851 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26852
26853 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
26854 reg_biv_class.
26855
26856 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
26857
26858 * config/float-sparc.h: New file.
26859 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
26860 sparc-*-linux-gnu and sparc64-*-linux*.
26861
26862 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
26863
26864 * rs6000.c (rs6000_va_list): Type is an array.
26865 (rs6000_va_start): Don't doubly adjust for varargs.
26866 (rs6000_va_arg): Evaluate long long GPR adjustment.
26867
26868 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
26869
26870 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
26871 -maix64 and -maix32.
26872 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
26873 LINK_SPEC): Change appropriately.
26874 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
26875 (u_short_cint_operand): Likewise.
26876 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
26877 for 64-bit hosts.
26878 * rs6000/t-aix43 (MULTILIB): Change to -m64.
26879
26880 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
26881
26882 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
26883
26884 * rs6000/rs6000.c (num_insns_constant_wide): Correct
26885 for type promotion.
26886 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
26887 (non_add_cint_operand): Likewise.
26888 (logical_operand): Likewise.
26889 (non_logical_cint_operand): Likewise.
26890 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
26891 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
26892 (rs6000_select_rtx_section): Suppress warning.
26893 (small_data_operand): Suppress warning.
26894 (rs6000_got_register): Suppress warning.
26895 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
26896 type, so `J' is generally the wrong constraint for a SImode value;
26897 use `L' instead.
26898 (andsi3_internal2): Likewise.
26899 (andsi3_internal3): Likewise.
26900 (iorsi3_internal1): Likewise.
26901 (xorsi3_internal1): Likewise.
26902 (movsi): Likewise.
26903 (movsf_softfloat): Likewise.
26904 (scc insns): Likewise.
26905 (movsi+2): Preserve sign bits of SImode constant.
26906 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
26907 (movdf+1): Sign-extend properly.
26908 (movdi_32+1): Sign-extend properly.
26909 (scc insns): Sign-extend properly.
26910
26911 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
26912 K, L, and T.
26913
26914 1999-08-02 Richard Henderson <rth@cygnus.com>
26915
26916 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
26917 -mcpu parsing code.
26918 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
26919 * alpha.md (all fp insns): Likewise.
26920
26921 1999-08-02 Nick Clifton <nickc@cygnus.com>
26922
26923 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
26924 already defined.
26925
26926 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
26927
26928 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
26929 pic_load_label generator directly.
26930 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
26931 No longer a named pattern.
26932
26933 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
26934
26935 * explow.c (force_reg): Call force_operand if X does not
26936 satisfy general_operand.
26937
26938 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
26939
26940 * fix-header.c (main): When testing for CONTINUED, use string
26941 equality, not pointer equality.
26942
26943 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
26944
26945 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
26946
26947 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
26948
26949 * cse.c (cse_insn): Fix loop which deletes insns after a jump
26950 that has become an unconditional jump.
26951
26952 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
26953 (output_function_epilogue): Similarly.
26954
26955 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26956
26957 * tree.h (init_dummy_function_start): Declare.
26958
26959 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26960
26961 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
26962 last_expr_type, last_expr_value, block_start_count, block_stack,
26963 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
26964 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
26965 dynamically in stmt elt of struct function for each function.
26966 (struct nesting): Rename function_call_count elt to n_function_calls,
26967 target_temp_slot_level to block_target_temp_slot_level. All users
26968 changed.
26969 (struct stmt_status): New structure definition.
26970 Add many accessor macros for stmt_status elements which previously
26971 were global variables.
26972 (init_stmt_for_function): Allocate stmt elt for current_function.
26973 Reflect that block_start_count was renamed to
26974 current_block_start_count.
26975 (save_stmt_status, restore_stmt_status): Delete functions.
26976 (preserve_subexpressions_p): Don't access loop_stack when outside
26977 a function.
26978 (expand_start_bindings): Reflect that block_start_count was renamed to
26979 current_block_start_count.
26980 (expand_fixup): Likewise.
26981 (expand_decl): Don't access block_stack when outside a function.
26982 (expand_decl_cleanup): Likewise.
26983 (expand_dcc_cleanup): Likewise.
26984 (expand_dhc_cleanup): Likewise.
26985 (expand_anon_union_decl): Likewise.
26986 (set_file_and_line_for_stmt): New function.
26987 (in_control_zone_p): New function.
26988
26989 * function.h (struct function): Add new elt stmt.
26990 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
26991 case_stack, nesting_stack, nesting_depth, block_start_count,
26992 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
26993 emit_lineno, goto_fixup_chain.
26994 (save_eh_status, restore_eh_status, save_stmt_status,
26995 restore_stmt_status): Delete declarations.
26996 * function.c (push_function_context_to): Don't call save_stmt_status.
26997 (pop_function_context_to): Don't call restore_stmt_status.
26998 * tree.h (in_control_zone_p): Declare.
26999 * rtl.h (set_file_and_line_for_stmt): Declare.
27000
27001 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
27002 call set_file_and_line_for_stmt.
27003
27004 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
27005
27006 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
27007 Also update copyright.
27008
27009 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27010
27011 * c-pragma.c: Don't include "except.h".
27012 * emit-rtl.c: Likewise.
27013 * stor-layout.c: Likewise.
27014 * tree.c: Likewise.
27015 * varasm.c: Likewise.
27016
27017 * flow.c: Include "function.h".
27018 * tree.h (init_dummy_function_start): Declare new function.
27019
27020 * except.h (struct eh_status): New structure.
27021 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
27022 been included.
27023 (eh_return_stub_label, ehstack, catchstack, ehqueue,
27024 catch_clauses, false_label_stack, caught_return_label_stack,
27025 protect_list, current_function_ehc): Add accessor macros for the
27026 corresponding fields in current_function->eh; delete declarations
27027 for all items that used to be declared here.
27028 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
27029 catch_clauses, false_label_stack, caught_return_label_stack,
27030 protect_list, current_function_ehc): Delete variables.
27031 (init_eh_for_function): Allocate current_function->eh.
27032 (save_eh_status, restore_eh_status): Delete functions.
27033
27034 * function.h (struct function): Add fields next_global and eh.
27035 Delete all exception handling related fields.
27036 * function.c (current_function): New variable.
27037 (all_functions): New variable.
27038 (push_function_context_to): Don't allocate a struct function,
27039 use current_function instead. Call init_dummy_function_start when
27040 outside a function. Clear current_function before returning.
27041 (pop_function_context_from): Restore current_function.
27042 Don't free the restored struct function.
27043 (prepare_function_start): New function.
27044 (init_dummy_function_start): New function.
27045 (init_function_start): Break out some code into prepare_function_start
27046 and call it here.
27047
27048 * stmt.c (save_stmt_status): Don't call save_eh_status.
27049 (restore_stmt_status): Don't call restore_eh_status.
27050
27051 * Makefile.in: Update dependencies.
27052
27053 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
27054
27055 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
27056 of depending on a magic constant value. Update comments.
27057 (hppa_expand_prologue): Similarly.
27058
27059 * pa.md (reload_indi, reload_outdi): Allow any register for the
27060 original reload register.
27061
27062 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
27063
27064 * cccp.c (print_help): Change marcos to macros.
27065
27066 1999-07-30 Richard Henderson <rth@cygnus.com>
27067
27068 * c-typeck.c (initializer_constant_valid_p): Move ...
27069 * c-common.c (initializer_constant_valid_p): ... here. Use
27070 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
27071 of label addresses.
27072 * c-common.h (initializer_constant_valid_p): Declare.
27073 * c-tree.h (initializer_constant_valid_p): Remove.
27074
27075 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
27076
27077 * config/i386/sol2-c1.asm: Align the stack.
27078 * config/i386/sol2-gc1.asm: Likewise.
27079
27080 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
27081
27082 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
27083 -Asparclite for sparc86x.
27084 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
27085 sparc86x.
27086 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
27087
27088 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
27089
27090 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
27091 the user if using the non-default arch size in BI_ARCH configuration.
27092 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
27093
27094 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
27095 Fix patterns so that they actually match.
27096 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
27097 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
27098 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
27099 TARGET_HARD_MUL32.
27100 (mulsidi3): Reflect this in the expand.
27101 (smulsi3_highpart): Only on TARGET_ARCH32.
27102 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
27103 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
27104 (umulsidi3): Reflect this in the expand.
27105 (umulsi3_highpart): Only on TARGET_ARCH32.
27106 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
27107 don't require g0 to be zero.
27108 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
27109 ({,u}divsi3): New expands.
27110 ({,u}divsi3_sp64): New patterns.
27111 (after lshrdi3_v8plus): Four new patterns to help combiner
27112 optimizing nested mixed mode shifts.
27113
27114 * config/sparc/sparc.c (sparc_override_options): Use deprecated
27115 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
27116 speed things up. Don't use them by default on plain v9 in 64bit
27117 mode, according to what SPAMv9 sais.
27118
27119 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
27120 top 32 bits of %[og][0-7] in signal handlers.
27121 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
27122
27123 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
27124
27125 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
27126 (ashlsi3): Corresponding changes.
27127
27128 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
27129
27130 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
27131
27132 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
27133
27134 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27135
27136 * arm.h (Hint): Delete macro.
27137 Substitute HOST_WIDE_INT for Hint in some prototypes.
27138 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
27139
27140 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
27141
27142 * builtins.c (expand_builtin_setjmp): Use force_operand to
27143 make sure that the buffer address is in a suitable form to be
27144 passed to force_reg.
27145
27146 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
27147
27148 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
27149 them here.
27150
27151 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
27152
27153 * pa.md (indirect_jump): Remove mode from match_operand. Verify
27154 proper mode in the condition string.
27155 (icacheflush, dcacheflush): Remove modes from match_operands.
27156
27157 * pa.c (emit_move_sequence): Always convert scratch_reg to the
27158 proper mode before using it.
27159
27160 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
27161 pair.
27162
27163 * pa.c (store_reg): Do not call add_high_const generator directly.
27164 (load_reg, set_reg_plus_d): Likewise.
27165 * pa.md (add_high_const): No longer a named pattern.
27166
27167 * pa.c (legitimize_address): Consistently use Pmode rather than
27168 SImode. Do not call gen_pic2_highpart directly anymore.
27169 * pa.md (pic2_highpart): No longer a named pattern.
27170 (pic2_lo_sum): Similarly. Reformat to make more readable.
27171
27172 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
27173 needed.
27174
27175 * README: Update.
27176
27177 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
27178
27179 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
27180
27181 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
27182
27183 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
27184 and tag the spill mems.
27185 (hppa_va_start): New.
27186 (hppa_va_arg): New.
27187 * pa.h (EXPAND_BUILTIN_VA_START): New.
27188 (EXPAND_BUILTIN_VA_ARG): New.
27189
27190 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
27191
27192 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
27193 and tag the spill mems.
27194 (mn10300_va_start): New.
27195 (mn10300_va_arg): New.
27196 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
27197 (EXPAND_BUILTIN_VA_ARG): New.
27198
27199 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
27200
27201 * mn10200.c (mn10200_va_arg): New.
27202 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
27203
27204 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
27205
27206 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
27207 rather than play with TREE_INT_CST_LOW.
27208
27209 1999-07-27 Philip Blundell <pb@nexus.co.uk>
27210
27211 * config/arm/telf.h: Include dbxelf.h.
27212 (CPP_PREDEFINES): Only define if not already defined.
27213 (ASM_IDENTIFY_GCC): Likewise.
27214 (SUBTARGET_EXTRA_SECTIONS): Likewise.
27215 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
27216 * config/arm/thumb.h (LINK_SPEC): Only define if not already
27217 defined.
27218 (DBX_DEBUGGING_INFO): Don't define.
27219 * config/arm/linux-telf.h: New file.
27220 * config/arm/linux-tgas.h: New file.
27221 * config/arm/t-thumb-linux: New file.
27222 * config/arm/uclinux-elf.h: New file.
27223 * config/arm/uclinux-telf.h: New file.
27224 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
27225 thumb-*-uclinux): New targets.
27226 * configure: Regenerate.
27227
27228 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
27229
27230 * pa.md (post_store, pre_load): New expanders.
27231 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
27232 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
27233 need to directly generate RTL for them.
27234 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
27235 changes.
27236
27237 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
27238
27239 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
27240 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
27241 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
27242 (secndary_reload_class): Make TARGET_ELF conditional compile.
27243 (print_operand_address): Similar.
27244 (output_toc): Print all values as hex.
27245 (get_issue_rate): Rearrange and add RS64A and PPC630.
27246 * rs6000.h (processor_type): Add RS64A and PPC630.
27247 (PROCESSOR_POWERPC64): New.
27248 (PROMOTE_MODE): Use word_mode.
27249 (RTX_COSTS): Add RS64A and PPC630.
27250 * rs6000.md (scheduling information): Add lmul and ldiv
27251 representing 64-bit integer multiply and divide. Add rs64a and
27252 PPC630 information.
27253 (ashldi3): Add support for "rldic" instruction.
27254 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
27255
27256 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
27257
27258 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
27259 instead of V8 for sparclite86x in cpu_table.
27260
27261 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27262
27263 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
27264 output_file_directive.
27265
27266 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
27267
27268 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
27269 tree for op1, not the rtl.
27270
27271 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
27272
27273 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
27274 to m88k_va_start, leaving only the register spill.
27275 (m88k_build_va_list): New.
27276 (m88k_va_start): New.
27277 (m88k_va_arg): New.
27278 * m88k.h (BUILD_VA_LIST_TYPE): New.
27279 (EXPAND_BUILTIN_VA_START): New.
27280 (EXPAND_BUILTIN_VA_ARG): New.
27281
27282 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
27283
27284 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
27285 Rename from expand_builtin_saveregs.
27286 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
27287
27288 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
27289
27290 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
27291 for the register spill block.
27292 (i960_build_va_list): New.
27293 (i960_va_start): New.
27294 (i960_va_arg): New.
27295 * i960.h (BUILD_VA_LIST_TYPE): New.
27296 (EXPAND_BUILTIN_VA_START): New.
27297 (EXPAND_BUILTIN_VA_ARG): New.
27298 * i960.md (store_multiple): Use change_address on individul mems.
27299
27300 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
27301
27302 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
27303 an ARRAY_TYPE.
27304 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
27305 (expand_builtin_va_end): Evaluate arg for side effects.
27306 * c-common.c (c_common_nodes_and_builtins): Construct a
27307 va_list_arg_type_node to handle array decomposition to pointer.
27308
27309 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
27310
27311 * except.c (st_dynamic_cleanup): Use force_operand on the
27312 buffer's address.
27313
27314 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
27315
27316 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
27317 * c4x.c (c4x_va_arg): New.
27318
27319 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
27320
27321 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
27322 has manual_pop set.
27323
27324 1999-07-26 Nathan Sidwell <nathan@acm.org>
27325
27326 * eh-common.h (__eh_matcher): Prototype correctly.
27327
27328 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
27329
27330 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
27331 (TARGET_SINGLE_PIC_BASE): Likewise.
27332 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
27333 definitions.
27334 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
27335 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
27336 (TARGET_OPTIONS): Add -mpic-register=N.
27337 (OUTPUT_INT_ADDR_CONST): New macro.
27338 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
27339 LEGITIMATE_PIC_OPERAND_P): Likewise.
27340 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
27341 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
27342 output_addr_const directly.
27343 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
27344 ARM port.
27345 (thumb_pic_register, thumb_pic_register_string): Declare.
27346
27347 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
27348 from arm.c.
27349 (label_mentioned_p): New function: Imported from arm.c.
27350 (legitimize_pic_address): New function: Imported from arm.c.
27351 (is_pic):New function: Imported from arm.c.
27352 (thumb_finalize_pic):New function: Imported from arm.c.
27353 (add_constant): Cope with PIC constants.
27354 (fixit): Cope with PIC constants.
27355 (output_return): Do not treat the PIC register as live if
27356 TARGET_SINGLE_PIC_BASE is true.
27357 (thumb_function_prologue): Do not treat the PIC register as live if
27358 TARGET_SINGLE_PIC_BASE is true.
27359 (thumb_expand_prologue): Do not treat the PIC register as live if
27360 TARGET_SINGLE_PIC_BASE is true.
27361 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
27362 TARGET_SINGLE_PIC_BASE is true.
27363 (thumb_print_operand): Accept '|'.
27364 (thumb_override_options): Process PIC options.
27365
27366 * config/arm/thumb.md (movsi): Support PIC.
27367 (call_insn): Change "i" constraint to "X".
27368 (call_value_insn): Likewise.
27369 (consttable_4, consttable_8, consttable_end): Set and clear
27370 "making_const_table" as appropriate.
27371 (pic_load_addr, pic_add_dot_plus_four): New insns.
27372
27373 * invoke.texi (Thumb Options): Fix spelling. Document new
27374 options -msingle-pic-base and -mpic-register=.
27375
27376 1999-07-26 Andrew Haley <aph@cygnus.com>
27377
27378 * config/m32r/initfini.c (__init): Use a full word immediate for
27379 __fini: this allows it to be placed in any memory region.
27380
27381 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
27382 -mmodel=medium. This is OK for all memory models.
27383
27384 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
27385
27386 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
27387 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
27388
27389 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
27390
27391 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
27392 defined.
27393
27394 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
27395
27396 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
27397
27398 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
27399 (BUILD_VA_LIST_TYPE): New.
27400 (EXPAND_BUILTIN_VA_START): New.
27401 (EXPAND_BUILTIN_VA_ARG): New.
27402 * i860.c (output_delayed_branch): Disable.
27403 (output_delay_insn): Likewise.
27404 (i860_saveregs): New.
27405 (i860_build_va_list): New.
27406 (i860_va_start): New.
27407 (i860_va_arg): New.
27408 * i860.md: Disable all peepholes using output_delayed_branch.
27409 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
27410
27411 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
27412
27413 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
27414 (BUILD_VA_LIST_TYPE): New.
27415 (EXPAND_BUILTIN_VA_START): New.
27416 (EXPAND_BUILTIN_VA_ARG): New.
27417 * clipper.c (clipper_builtin_saveregs): Only dump registers.
27418 Return the address of the save area.
27419 (clipper_build_va_list): New.
27420 (clipper_va_start): New.
27421 (clipper_va_arg): New.
27422
27423 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
27424
27425 * arc.h (EXPAND_BUILTIN_VA_START): New.
27426 (EXPAND_BUILTIN_VA_ARG): New.
27427 * arc.c (arc_setup_incoming_varargs): Set alias set of
27428 varargs save area.
27429 (arc_va_start): New.
27430 (arc_va_arg): New.
27431
27432 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
27433
27434 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
27435 (BUILD_VA_LIST_TYPE): New.
27436 (EXPAND_BUILTIN_VA_START): New.
27437 (EXPAND_BUILTIN_VA_ARG): New.
27438 * alpha.c (alpha_builtin_saveregs): Delete.
27439 (alpha_build_va_list): New.
27440 (alpha_va_start): New.
27441 (alpha_va_arg): New.
27442
27443 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
27444
27445 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
27446 column zero.
27447 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
27448 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
27449
27450 * gcc.texi: More changes related to list conversion.
27451 * invoke.texi: Likewise.
27452
27453 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
27454
27455 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
27456 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
27457 (expand_builtin_next_arg): Accept ARGLIST not EXP.
27458 (stabilize_va_list): New function.
27459 (std_expand_builtin_va_start): New function.
27460 (expand_builtin_va_start): New function.
27461 (get_varargs_alias_set): New function.
27462 (std_expand_builtin_va_arg): New function.
27463 (expand_builtin_va_arg): New function.
27464 (expand_builtin_va_end): New function.
27465 (expand_builtin_va_copy): New function.
27466 (expand_builtin): Call them.
27467 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
27468 __builtin_{varargs_start,stdarg_start,end,copy}.
27469 (build_va_arg): New function.
27470 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
27471 (build_va_arg): Declare.
27472 * c-decl.c (ptr_type_node, va_list_type_node): New.
27473 * c-parse.gperf (__builtin_va_arg): New.
27474 * c-parse.in (VA_ARG): New token.
27475 (unary_expr): Recognize it.
27476 * expr.c (expand_expr): Expand VA_ARG_EXPR.
27477 * expr.h (std_expand_builtin_va_start): Declare.
27478 (std_expand_builtin_va_arg): Declare.
27479 (expand_builtin_va_arg): Declare.
27480 (get_varargs_alias_set): Declare.
27481 * tree.def (VA_ARG_EXPR): New.
27482 * tree.h (BUILT_IN_VARARGS_START): New.
27483 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
27484 (ptr_type_node, va_list_type_node): Declare.
27485 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
27486 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
27487 * m88k.h, m88k.c: Likewise.
27488 * mn10300.h, mn10300.c: Likewise.
27489 * pa.h, pa.c: Likewise.
27490 * rs6000.h, rs6000.c: Likewise.
27491 * sh.h, sh.c: Likewise.
27492 * sparc.h, sparc.c: Likewise.
27493
27494 * emit-rtl.c (operand_subword): Copy alias set.
27495 (change_address): Likewise.
27496
27497 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
27498
27499 * pa.c (compute_frame_size): Scan all the used callee saved registers,
27500 not just the first one.
27501
27502 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
27503
27504 * config/arm/arm.h (TARGET_SWITCHES): Add
27505 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
27506 (TARGET_OPTIONS): Add -mpic-register=.
27507 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
27508 (arm_pic_register_string): Declare.
27509 (NEED_PLT_GOT): Delete, replace with ...
27510 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
27511 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
27512 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
27513 * config/arm/arm.c (arm_override_options): Add new option
27514 -mpic-register=N.
27515 (arm_pic_register_string): New variable.
27516 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
27517 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
27518 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
27519 (output_return_instruction): Likewise.
27520 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
27521 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
27522 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
27523
27524 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
27525 mention of -msched-prolog. Document new options -msingle-pic-base
27526 and -mpic-register=.
27527
27528 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
27529
27530 * haifa-sched.c (reemit_notes): Tidy.
27531 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
27532 haifa's routine.
27533
27534 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
27535
27536 * explow.c (trunc_int_for_mode): New function.
27537 (plus_constant_wide): Use it.
27538 * combine.c (simplify_and_const_int): Likewise.
27539 (merge_outer_ops): Likewise.
27540 (simplify_shift_const): Likewise.
27541 * cse.c (simplify_unary_operation): Likewise.
27542 (simplify_binary_operation): Likewise.
27543 * emit-rtl.c (operand_subword): Likewise.
27544 * rtl.h: Declare it.
27545
27546 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27547
27548 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
27549 (use NUM_REGS instead of NUM_INTS).
27550
27551 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27552
27553 * builtins.c: New file.
27554 * expr.c (saveregs_value, apply_args_value): Delete definition,
27555 moved into builtins.c.
27556 (string_constant): No longer static.
27557 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
27558 apply_args_size, apply_result_size, result_vector,
27559 expand_builtin_apply_args, expand_builtin_apply,
27560 expand_builtin_return): Delete functions, moved into builtins.c.
27561 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
27562 * expr.h (saveregs_value, apply_args_value): Declare variables.
27563 (expand_builtin, string_constant): Declare functions.
27564 * Makefile.in: Update to build builtin.o.
27565
27566 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
27567
27568 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
27569 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
27570 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
27571 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
27572 false.
27573 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
27574 Define to zero.
27575
27576 1999-07-21 Michael Meissner <meissner@cygnus.com>
27577
27578 * print-rtl.c (print_rtx): Print the names of the virtual
27579 registers.
27580
27581 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
27582
27583 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
27584 introduced in previous delta.
27585
27586 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27587
27588 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
27589 to avoid name clash.
27590
27591 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
27592
27593 * c-lex.c (yylex) : Correct the test for overflow when lexing
27594 integer literals.
27595
27596 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
27597
27598 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
27599 (adjust_priority): Always call ADJUST_PRIORITY.
27600 (schedule_insn): Only put insns into the ready at cost 0.
27601 (schedule_block): Remove redundant initial sort. Give clock_var
27602 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
27603 is not 0.
27604 * tm.texi (MD_SCHED_REORDER): Update docs.
27605
27606 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
27607 * sparc.c (ultra_reorder_called_this_block): Delete.
27608 (ultrasparc_sched_init): Don't set it.
27609 (ultrasparc_sched_reorder): Don't check it.
27610
27611 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
27612
27613 * rs6000.h (struct rs6000_args): Add sysv_gregno.
27614 * rs6000.c (init_cumulative_args): Init sysv_gregno.
27615 (function_arg_boundary): Align DFmode.
27616 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
27617 to get fp reg and stack overflow correct.
27618 (function_arg): Likewise.
27619 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
27620 (setup_incoming_varargs): Restructure for ABI_V4; use
27621 function_arg_advance to skip final named argument.
27622 (expand_builtin_saveregs): Properly unskip the last integer arg
27623 when doing varargs. Adjust overflow location calculation.
27624
27625 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
27626 explicitly unsigned.
27627 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
27628 (__VA_GP_REGSAVE): Similarly.
27629 (__va_longlong_p): Delete.
27630 (__va_arg_type_violation): New declaration.
27631 (va_arg): Restructure. Flag promotion errors. Align double.
27632 TFmode passed by reference.
27633
27634 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
27635 in the HOST_BITS_PER_WIDE_INT > 32 case.
27636
27637 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
27638
27639 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
27640
27641 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
27642
27643 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
27644 * toplev.c (documented_lang_options): Add -fpreprocessed.
27645 * cpplib.h (struct cpp_buffer): Add preprocessed.
27646 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
27647 (cpp_start_read): Don't expand macros or emit an initial #line
27648 directive if -fpreprocessed.
27649
27650 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
27651
27652 * cpplib.h (struct cpp_buffer): Added manual_pop for
27653 better C++ tokenization.
27654 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
27655 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
27656 * c-common.c (cpp_token): Make non-static.
27657
27658 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27659
27660 * c-common.h: New file.
27661 * c-common.c (permanent_obstack): Delete unused declaration.
27662 (c_global_trees): New array.
27663 (c_common_nodes_and_builtins): New function; split off common code
27664 from init_decl_processing in both c-decl.c and cp/decl.c.
27665 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
27666 c_global_trees and accessor macros defined in c-common.h.
27667 Include c-common.h.
27668 * c-decl.c: Delete definitions for tree nodes that were replaced by
27669 c_global_trees.
27670 (init_decl_processing): Build void_list_node.
27671 Call c_common_nodes_and_builtins; delete code to generate the common
27672 builtins here.
27673 * objc/objc-act.c (build_module_descriptor): Rename variable
27674 void_list_node to avoid clash with c-common.h.
27675
27676 * Makefile.in: Update dependencies.
27677 * objc/Make-lang.in: Likewise.
27678
27679 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
27680
27681 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
27682 (UNIQUE_SECTION_P): Likewise.
27683 (UNIQUE_SECTION): Likewise.
27684
27685 1999-07-19 Linas Vepstas <linas@linas.org>
27686
27687 * config/i370/README: New file.
27688 * config/i370/linux.h: New file.
27689 * config/i370/mvs.h: New file.
27690 * config/i370/oe.h: New file.
27691 * config/i370/t-linux: New file.
27692 * config/i370/t-mvs: New file.
27693 * config/i370/t-oe: New file.
27694 * config/i370/x-oe: New file.
27695 * config/i370/xm-linux.h: New file.
27696 * config/i370/xm-mvs.h: New file.
27697 * config/i370/xm-oe.h: New file.
27698
27699 * i370.c (label_node_t): Add first_ref_page, label_addr,
27700 label_first_ref, label_last_ref members.
27701 (mvs_need_base_reload): Renamed from mvs_label_emitted.
27702 (MAX_MVS_LABEL_SIZE): Define.
27703 (MAX_LONG_LABEL_SIZE): Define.
27704 (alias_node_t, alias_anchor, alias_number): New.
27705 (mvs_function_table): Reorder for EBCDIC.
27706 (ascebc, ebcasc): Unconditionally define.
27707 (i370_branch_dest, i370_branch_length): New functions.
27708 (i370_short_branch, i370_label_scan): New functions.
27709 (mvs_get_label): Renamed from mvs_add_label. Search for
27710 an existing label before creating a new one.
27711 (mvs_add_label): New function.
27712 (mvs_get_label_page): New function.
27713 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
27714 over the entire list.
27715 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
27716 (mvs_check_page) [TARGET_ELF_ABI]: New function.
27717 (mvs_add_alias, mvs_need_alias): New functions.
27718 (mvs_get_alias, mvs_check_alias): New functions.
27719 (handle_pragma): New function.
27720 (mvs_function_check): New function.
27721 (unsigned_jump_follows_p): Search harder.
27722 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
27723 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
27724 * i370.h (TARGET_VERSION): Delete.
27725 (CPP_SPEC, CPP_PREDEFINES): Delete.
27726 (mvs_label_emitted): Delete.
27727 (TARGET_EBCDIC): Delete.
27728 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
27729 (HANDLE_PRAGMA): Define.
27730 (HARD_REGNO_NREGS): Handle complex modes.
27731 (HARD_REGNO_MODE_OK): Likewise.
27732 (CLASS_MAX_NREGS): Likewise.
27733 (RET_REG): Likewise.
27734 (EXTRA_CONSTRAINT): Define.
27735 (RETURN_IN_MEMORY): True for DImode.
27736 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
27737 (FUNCTION_PROFILER): Delete.
27738 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
27739 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
27740 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
27741 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
27742 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
27743 (ASM_FILE_START): Add "RMODE ANY".
27744 (ASM_OUTPUT_EXTERNAL): Check for aliases.
27745 (ASM_GLOBALIZE_LABEL): Likewise.
27746 (ASM_OUTPUT_LABELREF): Likewise.
27747 (ASM_OUTPUT_COMMON): Likewise.
27748 (PRINT_OPERAND): Handle 'K', 'W', default.
27749 (PRINT_OPERAND_ADDRESS): New.
27750 (Lots of defines): Add support for TARGET_ELF_ABI.
27751 * i370.md (attr length): New. Define for all patterns.
27752 (*): Lots of tweeks to assembly output and constraints.
27753
27754 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
27755
27756 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
27757 Disable patterns performing SImode comparisons with SImode values
27758 if TARGET_POWERPC64 and instruction does not sign-extend or does
27759 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
27760 differ for signed quantities.
27761 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
27762 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
27763 (decrement_and_branch_on_count): Add 64-bit variant.
27764
27765 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27766
27767 * final.c (output_asm_insn): When searching for the matching string
27768 for a given dialect, don't run past the end of the list of
27769 alternatives if there are fewer alternatives in the template than
27770 dialects.
27771
27772 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
27773
27774 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
27775 Removed paragraph about compression of files and size limitation,
27776 duplicated in the FAQ. Use gcc-patches for posting patches.
27777 * gcc.c (main): Updated URL with bug reporting instructions to
27778 gcc.gnu.org. Removed e-mail address.
27779 * system.h (abort): Likewise.
27780
27781 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
27782
27783 * Makefile.in (stmp-multilib-sub): Make the files extracted
27784 from $(LIBGCC1) writable.
27785
27786 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
27787
27788 * config/arm/aout.h: Reformat for improved readability.
27789
27790 * config/arm/arm.h: Reformat for improved readability.
27791 Replace uses of fprintf with asm_fprintf where appropriate.
27792 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
27793 function declaration assembler actions.
27794 (NUM_INTS): New macro: Convert from bytes to words.
27795 (NUM_REGS): New macro: Compute number of registers required to
27796 hold a quanitity of tyep MODE.
27797 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
27798 types.
27799 (NUM_ARG_REGS): New macro: The number of argument registers
27800 available.
27801 (ARG_REGISTER): New macro: Compute the register number of the Nth
27802 argument register.
27803 (LAST_ARG_REGNUM): New macro: The number of the last argument
27804 register.
27805 (SP_REGNUM): New macro: Register number of the stack pointer.
27806 (FP_REGNUM): New macro: Register number of the frame pointer.
27807 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
27808 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
27809 CUMULATIVE_ARGS so that it counts registers not bytes.
27810
27811 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
27812 TARGET_INTERWORK.
27813 Replace uses of fprintf with asm_fprintf where appropriate.
27814 (output_ascii_pseudo_op): Replace with version from thumb.c
27815
27816 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
27817
27818 * config/arm/elf.h (CPP_PREDEFINES): Replace with
27819 SUBTARGET_CPP_SPEC.
27820 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
27821 (ASM_FILE_START): Emit ASM_APP_OFF.
27822
27823 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
27824
27825 * pa.c (compute_frame_size): Round frame according to
27826 STACK_BOUNDARY rather than a hardwired value.
27827
27828 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
27829
27830 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
27831 of "1".
27832 * configure: Rebuilt.
27833
27834 * configure.in (hppa*-*-linux*): New configuration.
27835 * configure: Rebuilt.
27836 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
27837 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
27838 * pa/pa-linux.h: New file.
27839 * pa/t-linux: New file.
27840 * pa/xm-linux.h: New file.
27841
27842 * pa.c (hppa_legitimize_address): Change references from SImode to
27843 either Pmode or word_mode as appropriate.
27844 (emit_move_sequence, store_reg, load_reg): Likewise.
27845 (set_reg_plus_d, hppa_expand_prologue): Likewise.
27846 (output_mul_insn): Likewise.
27847 * pa.h (PROMOTE_MODE): Likewise.
27848 (INITIALZE_TRAMPOLINE): Likewise.
27849 (Pmode): Define to word_mode.
27850
27851 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
27852 value of 4. Allocate 8 bytes for each FP register save.
27853 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
27854 value of 4.
27855 (hppa_expand_prologue): Likewise.
27856 * pa.h (PROMOTE_MODE): Likewise.
27857 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
27858 (FUNCTION_ARG_BOUNDARY): Likewise.
27859
27860 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
27861
27862 * pa.c (out_of_line_prologue_epilogue): Delete.
27863 (override_options): Remove -mspace related code.
27864 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
27865 (compute_frame_size): Only allocate space for register that
27866 actually need to be saved.
27867 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
27868 (TARGET_SWITCHES): Remove -mspace, -mno-space
27869 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
27870 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
27871 * pa/ee.asm, pa/ee_fp.asm: Delete.
27872
27873 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
27874
27875 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
27876 directive in column zero.
27877
27878 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
27879
27880 * m68k.c (output_function_prologue): Fix computation of save mask
27881 when generating PIC code.
27882
27883 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
27884
27885 * tree.c (build_type_attribute_variant): Move current_obstack restore
27886 after build_qualified_type call.
27887
27888 1999-07-15 Mark Mitchell <mark@codesourcery.com>
27889
27890 * configure.in: Use t-iris6, even with GNU LD.
27891 * config/mips/iris6gld.h: Fix typo in linker spec.
27892 * config/mips/t-iris6gld: Remove.
27893
27894 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
27895
27896 * rs6000.md (insv, extzv): Remove SImode dependence in named
27897 patterns. Explicitly generate DImode RTL if PowerPC64 and
27898 operand is DImode.
27899 (insvdi): Reverse start and size in instruction template.
27900
27901 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
27902
27903 * invoke.texi: Typo fixes.
27904
27905 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
27906
27907 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
27908 handle at this time instead of silently generating incorrect code.
27909 (gen_imagpart): Likewise.
27910
27911 * reload.c (find_reloads): Emit a USE for a pseudo register without
27912 a hard register if we could not create an optional reload for the
27913 pseudo.
27914
27915 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27916
27917 * c-typeck.c (output_init_element, process_init_element):
27918 When advancing constructor_unfilled_fields for a RECORD_TYPE,
27919 check for nameless bit fields.
27920
27921 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
27922
27923 * regclass.c (scan_one_insn): Notice subregs that change the
27924 size of their operand.
27925 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
27926
27927 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
27928
27929 * configure.in (alpha*-*-*): Include alpha/t-ieee.
27930 * configure: Rebuilt.
27931 * alpha/t-ieee: New file.
27932
27933 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
27934
27935 * rs6000.c (find_addr_reg): Do not select r0 as an address
27936 register.
27937
27938 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
27939
27940 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
27941
27942 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
27943
27944 * rs6000.md (movsf): Do not force easy FP constants into memory.
27945
27946 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
27947 immed_double_const to ensure they are properly truncated then
27948 sign extended.
27949
27950 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
27951
27952 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
27953 always unless NO_DEBUG is used. Compile this code
27954 unconditionally.
27955 (replace_symbols_in_block): Compile it unconditionally.
27956
27957 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
27958
27959 * configure.in (i?86-*-elf*): New target.
27960 * configure: Rebuilt.
27961 * i386/i386elf.h, i386/t-i386elf: New files.
27962
27963 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
27964
27965 * toplev.c (main): Don't complain about saying -gdwarf.
27966 (rest_of_compilation): Remove redundant code.
27967
27968 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
27969
27970 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
27971
27972 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
27973
27974 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
27975 "Li960R:", to avoid name clash.
27976
27977 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27978
27979 * loop.c (check_dbra_loop): When reversing a loop, delete all
27980 REG_EQUAL notes referencing the reversed biv except those which are
27981 for a giv based on it.
27982
27983 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
27984
27985 * version.c: Drop "gcc-" prefix from version #.
27986
27987 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
27988
27989 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
27990 the label if we're being verbose.
27991
27992 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
27993
27994 * m68k.c (output_function_prologue): Add pic register to mask
27995 if live and flag_pic.
27996 (output_function_epilogue): Likewise.
27997
27998 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
27999
28000 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
28001 directives in column zero.
28002
28003 * pa/elf.h (ASM_FILE_START): Define.
28004 * pa/som.h (ASM_FILE_START): Include .level directives.
28005 * pa/hpux10.h (ASM_FILE_START): Delete.
28006 * pa/hpux11.h (ASM_FILE_START): Delete.
28007
28008 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
28009
28010 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28011
28012 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
28013 when reload_out equals reload_in.
28014
28015 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
28016
28017 * invoke.texi (Spec Files): New node: Describe the contents of
28018 spec files.
28019
28020 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
28021
28022 * invoke.texi (DEC Alpha Options): Put @end table at
28023 beginning of line, to avoid confusing texi2html.
28024
28025 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
28026
28027 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
28028 introduced in previous delta.
28029
28030 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
28031
28032 * reload1.c (gen_reload): When synthesizing a 3 operand add
28033 sequence, improve test for when to reload OP1 into the reload
28034 register instead of OP0.
28035
28036 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
28037
28038 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
28039
28040 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
28041
28042 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
28043 string literal.
28044
28045 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
28046
28047 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
28048 (va_dcl): Use __builtin_va_alist_t.
28049
28050 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
28051
28052 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
28053 on the permanent_obstack.
28054 * dwarfout.c (output_type): Likewise.
28055
28056 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
28057
28058 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
28059 Merged from c-typeck.c and cp/typeck.c.
28060 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
28061 Merged into c-common.
28062
28063 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
28064
28065 * c-lex.c (errorcount): Declare it.
28066 (finish_parse): Update errorcount when using CPPLIB.
28067
28068 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
28069
28070 * fixinc/inclhack.def(end_else_label): Double the backslash so
28071 sed gets a chance to see it.
28072 * fixinc/inclhack.sh: regen
28073 * fixinc/fixincl.x: regen
28074
28075 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
28076
28077 Add framework to support armv5 architecture when it becomes
28078 available:
28079
28080 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
28081 (arm_arch5): New variable.
28082 (all_architectures): Add armv5 line.
28083 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
28084 -march=armv5 is specified on the command line.
28085 (arm_arch5): Export this variable.
28086 * invoke.texi: Document new string accepted by -march= switch for
28087 ARM ports.
28088
28089 * config/arm/arm.h: Replace use of constant 12 as a register
28090 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
28091 * config/arm/arm.c: Replace use of constant 12 as a register
28092 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
28093
28094 * config/arm/elf.h: Tidy up.
28095 * config/arm/coff.h: Tidy up.
28096
28097 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
28098
28099 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
28100 * gcc/config/mips/t-iris6gld: New file.
28101 * gcc/config/mips/iris6gld.h: Likewise.
28102
28103 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
28104
28105 * c-decl.c (widest_integer_literal_type_node,
28106 widest_unsigned_literal_type) : New.
28107 (init_decl_processing): Handle/use the two new types.
28108 * c-common.c (type_for_size,type_for_mode) : Same.
28109 * c-lex.c (yylex) : Same.
28110 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
28111 Same.
28112 * c-tree.h (widest_integer_literal_type_node,
28113 widest_unsigned_literal_type) : New.
28114
28115 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
28116
28117 * dwarfout.c (field_byte_offset): Correctly compute the object's
28118 byte offset for the first bit of a field which crosses an alignment
28119 boundary on a !BYTES_BIG_ENDIAN target.
28120
28121 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
28122
28123 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
28124 ntohs.
28125
28126 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
28127 Jeff Law <law@cygnus.com>
28128
28129 * ginclude/varargs.h (va_dcl): Use word_mode for type of
28130 __builtin_va_list.
28131
28132 * except.c: Include intl.h.
28133 (expand_eh_return): Set current_function_cannot_inline.
28134 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
28135 * function.h (struct function): Add eh_return_stub_label.
28136 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
28137 * Makefile.in (except.o): Depend on intl.h.
28138
28139 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
28140
28141 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
28142 same as offsettable in cases 1 and 2.
28143
28144 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
28145
28146 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
28147 (extlh, extwh): Likewise.
28148
28149 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
28150
28151 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
28152
28153 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
28154
28155 * configure.in: Add arm-pe and thumb-pe targets.
28156 * configure: Regenerate.
28157
28158 * thumb.c (arm_naked_function_p): New function: Determines if
28159 a function is naked (has no gcc generated prologue/epilogue).
28160 (is_called_in_ARM_mode): Return true if the func has the
28161 interfacearm attribute.
28162 (output_return): Do not generate a return for naked functions.
28163 (thumb_function_prologue): Do not generate a prologue for
28164 naked functions.
28165 (thumb_expand_prologue): Do not generate a prologue for naked
28166 functions.
28167 (thumb_expand_epilogue): Do not generate an epilogue for naked
28168 functions.
28169 (arm_valid_machine_decl_attribute): New function, copied from
28170 arm.c: Permit naked and interfacearm attributes.
28171
28172 * config/arm/pe.c: New file: Support code for arm-pe target.
28173 * config/arm/pe.h: New file: Header file for arm-pe target.
28174 * config/arm/tpe.h: New file: Header file for thumb-pe target.
28175 * config/arm/t-thumb-pe: New file: Makefile fragment for
28176 thumb-pe target.
28177
28178 1999-07-01 Mark Kettenis <kettenis@gnu.org>
28179
28180 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
28181 -fPIC or -fpic is specified.
28182
28183 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
28184
28185 * expr.c (emit_block_move): Use copy_to_mode_reg for
28186 !TARGET_MEM_FUNCTIONS case too.
28187
28188 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
28189 appropriate.
28190 * configure: Rebuilt.
28191 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
28192 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
28193 definitions made redundant by dbxelf.h inclusion. Delete
28194 lots of definitions related to assembly output that are
28195 specific to the SOM object format.
28196 * pa.c (output_function_prologue): Do not emit the function's
28197 name for OBJ_ELF.
28198 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
28199 * pa-pro.h: Deleted.
28200 * som.h: New file with SOM specific definitions.
28201 * elf.h: New file with ELF specific definitions.
28202
28203 * elfos.h (const_section): Output a tab before assembler directives.
28204 (ctors_section, dtors_section): Likewise.
28205 (ASM_OUTPUT_SECTION_NAME): Likewise.
28206
28207 * pa/pa1.h: Delete unused file.
28208
28209 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
28210
28211 * configure.in (hppa*-hp-hpux11*): New configuration.
28212 * configure: Rebuilt.
28213 * pa/pa-hpux11.h: New file.
28214 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
28215 command line.
28216
28217 * mips.md (leasi, leadi): New patterns.
28218
28219 * expr.c (emit_block_move): Properly handle case where one of the
28220 block move arguments has a queued increment or decrement.
28221 (clear_storage): Similarly. Fix formatting goof.
28222
28223 1999-06-28 "David O'Brien" <obrien@NUXI.com>
28224
28225 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
28226 semicolon from the BSD VA_LIST replacement expression.
28227
28228 * fixinc/inclhack.sh: regen
28229 * fixinc/fixincl.x: regen
28230
28231 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
28232 now use the fixincl program.
28233
28234 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
28235
28236 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
28237 case. Also make the PIC register call_used.
28238
28239 * m68k.h (FINALIZE_PIC): Delete.
28240 * m68k.c (finalize_pic): Delete.
28241
28242 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
28243
28244 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
28245 to memory.
28246
28247 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
28248
28249 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
28250
28251 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
28252
28253 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
28254
28255 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
28256
28257 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
28258
28259 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
28260
28261 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
28262
28263 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
28264
28265 * rs6000.c (output_toc): Always use hex values for floating-point
28266 constants. Store single-precision values in upper-half of TOC
28267 entry in 64-bit mode.
28268 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
28269 to final constraints.
28270 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
28271 (fctiwz): Improve accuracy of RTL for pattern.
28272
28273 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
28274
28275 * expr.c (expand_expr): Allow RTL_EXPR's through the
28276 MAX_INTEGER_COMPUTATION_MODE checks.
28277
28278 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
28279
28280 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
28281 such that MASK_SUPPORT_ARCH is not negative.
28282
28283 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
28284
28285 * loop.c (verify_dominator): Properly handle ADDR_VEC and
28286 ADDR_DIFF_VEC insns that appear inside loops.
28287
28288 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
28289 Jeff Law <law@cygnus.com>
28290
28291 * rs6000.md (movdf_hardfloat32): Revert previous patch.
28292 Handle LO_SUM the same as offsettable in cases 1 and 2.
28293 * rs6000.c (find_addr_reg): Revert previous patch.
28294
28295 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
28296
28297 * system.h (strstr): New external function declaration.
28298 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
28299 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
28300 * config.in, configure: Rebuilt.
28301
28302 1999-06-24 Tom Tromey <tromey@cygnus.com>
28303
28304 * gcc.c (main): Read user-specified specs files after computing
28305 additional startfile_prefixes.
28306
28307 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
28308
28309 Revert these two patches:
28310
28311 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28312 * loop.c (strength_reduce): When doing biv->giv conversion, update
28313 reg note of NEXT->insn.
28314
28315 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28316 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
28317 reg_biv_class.
28318 (recombine_givs): Set ix field after sorting.
28319
28320 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28321
28322 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
28323 for the parts of an UNSPEC / UNSPEC_VOLATILE.
28324
28325 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
28326
28327 *fixinc/inclhack.def: Add fix development commentary
28328 (read_ret_type): reactivate and add selection clause
28329 (zzz_*): tweak output file name to match what is used in hackshell.tpl
28330 *fixinc/{fixincl.x|inclhack.sh}: regen
28331
28332 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
28333
28334 * expr.c (expand_expr): STRIP_NOPS before checking against
28335 MAX_INTEGER_COMPUTATION_MODE
28336 (check_max_integer_computation_mode): Likewise.
28337
28338 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
28339
28340 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
28341
28342 1999-06-22 Jim Wilson <wilson@cygnus.com>
28343
28344 * expr.c (store_expr): When target is a promoted subreg, return a
28345 promoted subreg as a result.
28346
28347 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
28348
28349 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
28350 coding standards.
28351 (dwarf2out_define): Mark unused parameters appropriately.
28352 (gen_unspecified_parameters_die): Ditto.
28353 (gen_subprogram_die): Fix signed/unsigned warnings.
28354 (gen_variable_die): Ditto.
28355
28356 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
28357
28358 * fixinc/inclhack.def(end_else_label): combined else_label
28359 and endif_label and fixed the sed expression.
28360 *fixinc/{fixincl.x|inclhack.sh}: regen
28361
28362 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
28363
28364 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
28365 'x' when handling non-offsettable addresses
28366
28367 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
28368
28369 * final.c (shorten_branches): Don't try to split an insn that has
28370 been deleted.
28371
28372 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
28373
28374 * config/mips/mips.c (symbolic_expression_p): New function.
28375 (mips_select_rtx_section): Put symbolic expressions in the
28376 data section, not the read-only data section.
28377
28378 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
28379
28380 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
28381
28382 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
28383
28384 * collect2.c (main): Log frame table count.
28385 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
28386 (scan_prog_file) [COFF]: Handle frame tables.
28387
28388 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
28389 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
28390 * alpha/elf.h: Undef them again.
28391 * alpha/vms.h: Remove their definitions.
28392
28393 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28394
28395 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
28396 remove the clobber of r0 and change the REG_UNUSED note to
28397 REG_INC.
28398
28399 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
28400
28401 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
28402 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
28403 fits in HOST_WIDE_INT and one uses union to access a long constant
28404 as double.
28405
28406 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
28407
28408 * sparc.c (sparc_override_options): Don't allow profiling for
28409 code models other than medlow.
28410 (sparc_function_profiler): New function from old FUNCTION_PROFILER
28411 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
28412 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
28413 (sparc_block_profiler): Likewise.
28414 (sparc_function_block_profiler_exit): Likewise.
28415 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
28416 (FUNCTION_BLOCK_PROFILER): Likewise.
28417 (BLOCK_PROFILER): Likewise.
28418 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
28419 (MCOUNT_FUNCTION): New.
28420 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
28421 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
28422 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
28423 (MCOUNT_FUNCTION): New.
28424 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
28425 (BLOCK_PROFILER): Delete.
28426 (MCOUNT_FUNCTION): New.
28427
28428 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
28429
28430 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
28431
28432 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
28433
28434 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
28435 Add the macros.
28436
28437 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
28438 Ditto.
28439
28440 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
28441 Ditto.
28442
28443 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
28444 Ditto.
28445
28446 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
28447
28448 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
28449 types.
28450
28451 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
28452
28453 * i386/djgpp.h (LIB_SPEC): New.
28454 (STARTFILE_SPEC): New.
28455
28456 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
28457
28458 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
28459
28460 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
28461 compiler flags.
28462
28463 * system.h (WSTOPSIG): New macro.
28464
28465 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
28466
28467 * c-pragma.c (push_alignment): Don't ignore alignments greater than
28468 4 bytes.
28469 (insert_pack_attributes): Take into account member natural
28470 alignment.
28471
28472 * i386/winnt.c (exports_head): New static variable.
28473 (i386_pe_record_exported_symbol): New function.
28474 (i386_pe_asm_file_end): Use.
28475 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
28476 symbols to be emitted at end of assembly.
28477 (ASM_DECLARE_OBJECT_NAME): Likewise.
28478 (ASM_DECLARE_FUNCTION_NAME): Likewise.
28479
28480 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
28481 -iwithprefix.
28482
28483 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
28484
28485 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
28486 in last change.
28487
28488 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
28489
28490 * haifa-sched.c (sched_analyze_1): Use free_list instead of
28491 zapping reg_last_uses directly.
28492 (sched_analyze_2, sched_analyze_insn): Likewise.
28493 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
28494
28495 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
28496
28497 * rs6000.md (movdf_hardfloat32): Use worst case insn length
28498 attributes for cases 1 and 2.
28499
28500 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
28501
28502 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
28503 instead of set.
28504
28505 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
28506
28507 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
28508
28509 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
28510
28511 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
28512 PIC_OFFSET_TABLE_REGNUM for general alloaction.
28513 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
28514 must be stacked if it is used for PIC accesses.
28515 * arm.c (use_return_insn): Handle PIC register specially.
28516 (output_return_instruction): Likewise.
28517 (output_func_{prologue,epilogue}): Likewise.
28518 (output_expand_prologue): Likewise.
28519
28520 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
28521 (*strsi_predec): Renamed from *strqi_predec.
28522 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
28523 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
28524
28525 * arm.c (arm_override_options): Remove warning about PIC code
28526 not being supported.
28527
28528 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
28529
28530 * rs6000.c (find_addr_reg): New function.
28531 * rs6000.h (find_addr_reg): Declare.
28532 (offsettable_addr_operand): Delete.
28533 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
28534 from and stores to GPRs.
28535
28536 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
28537
28538 * alpha.c (alpha_expand_block_move): Use get_insns rather than
28539 gen_sequence as argument to emit_no_conflict_block.
28540
28541 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28542
28543 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
28544 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
28545 *fixinc/fixincl.x: regen
28546 *fixinc/inclhack.sh: regen
28547
28548 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
28549
28550 * added support for -mpcrel (PC relative addressing for m68k)
28551 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
28552 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
28553 * m68k.c (print_operand_address): Handle 32-bit PIC case.
28554 (comments for general_src_operand): Add some explanation
28555 about EXTRA_CONSTRAINTS.
28556 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
28557 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
28558 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
28559 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
28560 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
28561 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
28562 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
28563 if not already set.
28564 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
28565 * m68k.h (TARGET_PCREL): New target flag.
28566 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
28567 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
28568 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
28569 contains a SYMBOL_REF. Relax this constraint during reload, since
28570 we want to use the predicates, not reload's built-in concept of a
28571 valid memory address, to control what insns need reloading.
28572 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
28573 operands (essentially 'g', 'm', and 's' under normal circumstances).
28574 * m68k.c (print_operand): Cause printing of pc-relative addresses
28575 to include pc register.
28576 (print_operand_address): Ditto.
28577 (general_src_operand): Accept operands that are not only
28578 general_operands, but are also valid when used as a pc-relative
28579 source.
28580 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
28581 (memory_src_operand): Similar, for memory_operands.
28582 (pcrel_address): New predicate to accept the special case of a
28583 pc-relative address.
28584 * m68k.md (many patterns): Rewrite common SImode, HImode, and
28585 QImode insns to accept *_src_operand instead of *_operand where
28586 pc-relative operands can fit. For example, a pc-relative operand
28587 can be used as a memory source operand for addsi3, but not as a
28588 memory destination.
28589 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
28590
28591 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
28592
28593 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
28594 .thumb_set pseudo op to mark aliases of thumb functions.
28595
28596 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
28597
28598 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
28599 preference to ASM_OUTPUT_DEF, if it is defined.
28600
28601 * tm.texi: Document new, optional target macro
28602 ASM_OUTPUT_DEF_FROM_DECLS.
28603
28604 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28605
28606 * fixincludes: ISCNTL patch
28607 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
28608 (dgux_int_varargs): new for DG/UX
28609 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
28610
28611 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
28612
28613 * invoke.texi (ia32 options): Fix typo.
28614
28615 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28616
28617 * loop.c (strength_reduce): When doing biv->giv conversion, update
28618 reg note of NEXT->insn.
28619
28620 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
28621
28622 * loop.c (move_movables): Note issues with replacing REGs with
28623 SUBREGs.
28624 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
28625
28626 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
28627
28628 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
28629
28630 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
28631 the reference to `mcount' was not correct for the ELF on FreeBSD.
28632
28633 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28634
28635 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
28636 reg_biv_class.
28637
28638 (recombine_givs): Set ix field after sorting.
28639
28640 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
28641
28642 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
28643 to safe to extract a subword out of a REG.
28644
28645 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28646
28647 * sh.md (mulsi3): Don't add a no-op move at the end.
28648
28649 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28650
28651 * cse.c (cse_insn): Don't put hard register source into tables for
28652 the last insn of a libcall.
28653
28654 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28655
28656 * loop.c (strength_reduce): Insert sets of derived givs at every
28657 biv increment, even if it's the only one.
28658
28659 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
28660
28661 * dwarfout.c (add_incomplete_type): New fn.
28662 (output_type): Call it.
28663 (retry_incomplete_types): New fn.
28664 (dwarfout_finish): Call it.
28665
28666 From Eric Raskin <ehr@listworks.com>:
28667 (output_type): Output types for bases.
28668
28669 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
28670
28671 * mips.c (mips_output_conditional_branch): Add `break'
28672 between `default' label and `close braces'.
28673
28674 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
28675
28676 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
28677 specifications and make it realistic.
28678 (LIB_SPEC): Likewise.
28679
28680 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
28681
28682 * config/mips/mips.c (mips_secondary_reload_class): Check for
28683 (PLUS (SP) (REG)) and return appropriate register class.
28684 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
28685 Handle (PLUS (SP) (REG)).
28686 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
28687 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
28688 of emit_insn for tablejump.
28689
28690 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
28691
28692 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
28693 asm_fprintf format string by itself.
28694 (output_function_profiler): Likewise.
28695
28696 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
28697
28698 * combine.c (simplify_logical, case AND): Only call
28699 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
28700 or the constant is positive.
28701
28702 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
28703
28704 * configure.in: Fix typo in rs6000-ibm-aix4 case.
28705 * configure: Regenerate.
28706
28707 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
28708
28709 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
28710 require a sub-version #.
28711 * configure: Rebuilt.
28712
28713 1999-06-14 Robert Lipe (robertlipe@usa.net)
28714
28715 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
28716
28717 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
28718
28719 * c-typeck.c (process_init_element): Detect excess elements in
28720 char array initializer.
28721
28722 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
28723
28724 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
28725
28726 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
28727
28728 * invoke.texi (Option Summary): Add -fpermissive flag.
28729
28730 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
28731
28732 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
28733 that require PIC code sequences.
28734
28735 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
28736
28737 * configure.in: Add new target: thumb-elf.
28738 * configure: Regenerate.
28739 * config/arm/t-thumb-elf: New file: Makefile fragment for
28740 thumb-elf build.
28741 * config/arm/telf.h: New file: Header file for thumb-elf
28742 build.
28743
28744 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
28745
28746 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
28747 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
28748 initializers is some circumstances.
28749
28750 * fixinc/inclhack.def (endif_label): Add additional selector for
28751 more bogus stuff after #endif statements.
28752 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
28753
28754 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
28755
28756 * i386/cygwin.h (SET_ASM_OP): Define.
28757
28758 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
28759
28760 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
28761
28762 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28763
28764 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
28765 latter.
28766
28767 * sh.md (ic_invalidate_line_i): Remove second alternative.
28768
28769 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28770
28771 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
28772 test for the presence of valid prototypes. Delete bypass expr.
28773 (ioctl_fix_ctrl): Correct the selection expression.
28774 (no_double_slash): Correct quoting rules
28775 *fixinc/fixincl.x: regen
28776 *fixinc/inclhack.sh: regen
28777
28778 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
28779
28780 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
28781
28782 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
28783
28784 * rs6000.md (movsi_got_internal_mem): Delete.
28785 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
28786 (GOT_TOC_REGNUM): Delete.
28787 (PIC_OFFSET_TABLE_REGNUM): Define.
28788 (FINALIZE_PIC): Disable.
28789 * rs6000.c (rs6000_got_register): New code for fixed pic register.
28790 (rs6000_replace_regno): Delete.
28791 (rs6000_finalize_pic): Likewise.
28792 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
28793
28794 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28795
28796 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
28797 is a note; use <= for the compare; advance P while it is
28798 a NOTE.
28799
28800 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
28801
28802 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
28803 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
28804
28805 * varasm.c (remove_from_pending_weak_list): Verify t->name
28806 is non-NULL before passing it to strcmp.
28807
28808 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28809
28810 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
28811 the typed arguments are not part of a comment
28812 (ioctl_fix_ctrl): Added a purpose comment
28813 *fixinc/fixincl.x: regenerate
28814 *fixinc/inclhack.sh: regenerate
28815
28816 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
28817
28818 * invoke.texi: Add C4x invocation docs.
28819
28820 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
28821
28822 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
28823 Define new macros.
28824 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
28825 TARGET_EXPOSE_LDP.
28826 (c4x_legitimize_reload_address): New function.
28827 * config/c4x/c4x.md: Update docs.
28828
28829 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
28830
28831 * fixincludes: Avoid removing '.'.
28832 * fixinc/fixinc.svr4: Likewise.
28833 * fixinc/fixinc.winnt: Likewise.
28834 * fixinc/inclhack.tpl: Likewise.
28835 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
28836
28837 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
28838
28839 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
28840 pattern.
28841 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
28842
28843 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
28844
28845 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
28846 correctly.
28847
28848 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
28849
28850 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
28851 * configure: Regenerate.
28852
28853 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
28854
28855 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
28856 values.
28857
28858 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
28859
28860 * fixinc/inclhack.def (avoid_bool): Also catch
28861 "typedef [unsigned] int bool".
28862 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
28863
28864 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
28865 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
28866 * configure: Rebuilt.
28867
28868 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
28869
28870 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
28871 such that we can override its definitions if necessary.
28872 (CPP_SPEC): New define. Support processor specific predefines via
28873 %(cpp_cpu).
28874 (CC1_SPEC): New define. Support processor specific compiler
28875 options via %(cc1_cpu).
28876 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
28877 -static.
28878
28879 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
28880
28881 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
28882 between sed's -e flag, and the open-quote following it.
28883 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
28884
28885 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
28886 Jeffrey A Law (law@cygnus.com)
28887
28888 * varasm.c (assemble_start_function): Remove the function
28889 from the pending weak decls list when we define a function.
28890 (assemble_variable): Similarly for variables.
28891 (weak_finish): Ignore items on the list with a NULL name.
28892 (remove_from_ending_weak_list); New function to "remove" an item
28893 from the pending weak declarations list.
28894
28895 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
28896
28897 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
28898
28899 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
28900
28901 * c-lex.c (GETC): Redefine to call getch.
28902 (UNGETC): Redefine to call put_back.
28903 (putback_buffer): New structure type.
28904 (putback): New static structure.
28905 (getch): New function.
28906 (put_back): New function.
28907 (yylex): Replace unused bytes from bad multibyte character.
28908
28909 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
28910
28911 * cpplib.c (do_define): Cast `alloca' return value.
28912 (do_include, do_undef, do_pragma): Likewise.
28913 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
28914 values.
28915 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
28916 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
28917
28918 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
28919
28920 * sparc.md (abstf2): This should be an expand.
28921 (split after abstf2_notv9): Fix mode.
28922 (abstf2_hq_v9): New pattern.
28923 (abstf2_v9): Only use when no hard quad.
28924 (absdf2_v9): Fix if target is not the same as source.
28925 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
28926 Add correct output constraints.
28927
28928 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
28929
28930 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
28931 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
28932
28933 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
28934
28935 * mips.h (mips_output_conditional_branch): New function.
28936 (mips_adjust_insn_length): Likewise.
28937 (ASSEMBLER_SCRATCH_REGNUM): New macro.
28938 (ADJUST_INSN_LENGTH): Likewise.
28939 * mips.c (print_operand): Add `F' and `W' for floating-point
28940 comparison opcodes.
28941 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
28942 are now in bytes.
28943 (mips_adjust_insn_length): New function.
28944 (mips_output_conditional_branch): New function.
28945 * mips.md (length): Adjust attribute definition to handle
28946 conditional branches. Change lengths to bytes, rather than
28947 instructions throughout. Remove length attribute from
28948 instructions whose length is four bytes, and rely on the default
28949 instead.
28950 (dslot): Fix typo in comment.
28951 Reword conditional branch patterns to use
28952 mips_output_conditional_branch.
28953
28954 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
28955
28956 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
28957 (LIB_SPEC): Likewise.
28958 Link with -lprof1_r for -g/-pg.
28959
28960 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
28961
28962 * loop.c (check_dbra_loop): Fix change of Jan 19.
28963
28964 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
28965
28966 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
28967 (STARTFILE_SPEC): Define, override the svr4.h version.
28968 (ENDFILE_SPEC): Likewise.
28969
28970 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
28971
28972 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
28973 * fixinc/fixincl.x: Regenerated.
28974 * fixinc/inclhack.sh: Regenerated.
28975
28976 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28977
28978 * sh.c (barrier_align): Don't return early for normal branch/barrier
28979 when optimizing for SH2.
28980
28981 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
28982
28983 * i386/udk.h (LINK_SPEC): Correct linker search path for
28984 system libraries.
28985
28986 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28987
28988 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
28989 (braf_label_ref_operand): Delete.
28990 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
28991 * sh.md (casesi_jump_2): Operand1 is now the inside of a
28992 label_ref, and has no predicate.
28993 The patten has a predicate to guard against invalid substitutions.
28994 (dummy_jump): Delete.
28995 (casesi): Update use of casesi_jump_2.
28996
28997 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28998
28999 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
29000 *fixinc/fixincl.x: regenerate
29001 *fixinc/inclhack.sh: regenerate
29002
29003 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
29004
29005 * dwarf2out.c (add_incomplete_type): New fn.
29006 (gen_struct_or_union_type_die): Call it.
29007 (retry_incomplete_types): New fn.
29008 (dwarf2out_finish): Call it.
29009
29010 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
29011
29012 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
29013 current block starts with a CODE_LABEL and ends with a CALL and
29014 we can not find all the argument setup instructions for the CALL.
29015
29016 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
29017
29018 Revert this change:
29019 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
29020 something is a candidate for optimize_bit_field_compare.
29021
29022 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
29023
29024 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
29025
29026 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
29027
29028 * alpha.c (override_options): Thinko in last patch.
29029
29030 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
29031 (LIB_SPEC): Recognize -pthread.
29032
29033 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
29034
29035 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
29036 definition in config/arm/coff.h
29037 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
29038
29039 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
29040
29041 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
29042 fixes that need "file=xxx\n" prepended before invocation
29043 (start_fixer - new): starting the fixer process is complex enough
29044 to warrent its own routine. It prepends the "file=xxx\n" stuff.
29045 (process): uses the new routine; omit usage of putenv()
29046 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
29047 * fixinc/fixincl.x: regenerate
29048
29049 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
29050
29051 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
29052 and version #s (1.1 -> 2.96) as needed.
29053 * README.g77: Kill way out of date file in the toplevel directory.
29054
29055 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
29056
29057 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
29058 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
29059 * configure: Rebuilt.
29060 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
29061 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
29062 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
29063 (SWITCH_TAKES_ARG): Likewise.
29064 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
29065 * config/t-freebsd: Moved from config/i386/ so it can used for all
29066 FreeBSD targets.
29067
29068 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
29069
29070 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
29071
29072 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
29073
29074 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
29075 * configure: Rebuilt.
29076
29077 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
29078
29079 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
29080 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
29081 * rs6000/rs6000.c (rs6000_file_start): Use putc.
29082 (rs6000_output_load_toc_table): Same.
29083 (output_prolog, output_mi_thunk): Same.
29084 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
29085 (ASM_GLOBALIZE_LABEL): Use putc.
29086
29087 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
29088
29089 * alpha.md (reload_*_help): New patterns and splitters.
29090 (reload_*): Use them.
29091 (mov[qh]i): Likewise.
29092
29093 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
29094
29095 * cccp.c (handle_directive): Handle backslash-newlines in quoted
29096 strings correctly.
29097
29098 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
29099
29100 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
29101
29102 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
29103
29104 * flow.c (mark_regs_live_at_end, insn_dead_p,
29105 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
29106 and HARD_FRAME_POINTER_REGNUM special treatment if reload
29107 hasn't run or the frame pointer is needed.
29108 * haifa-sched.c (attach_deaths): Likewise.
29109 * sched.c (attach_deaths): Likewise.
29110
29111 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
29112
29113 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
29114 calculate_can_reach_end returns nonzero.
29115
29116 * configure.in (native gas tests): Search for an assembler in the
29117 same manner that the installed compiler will.
29118 * configure: Rebuilt.
29119 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
29120
29121 * alias.c (find_base_term): Improve handling of addresses
29122 constructed from binary operations.
29123
29124 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
29125
29126 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
29127
29128 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
29129
29130 * function.h (cleanup_label, frame_offset): Declare.
29131 (tail_recursion_label, tail_recursion_reentry): Likewise.
29132 (arg_pointer_save_area, rtl_expr_chain): Likewise.
29133 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
29134 (tail_recursion_label, tail_recursion_reentry): Likewise.
29135 (arg_pointer_save_area, rtl_expr_chain): Likewise.
29136
29137 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
29138
29139 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
29140 defined.
29141 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
29142 (MAX_OFILE_ALIGNMENT): Define.
29143
29144 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
29145
29146 * fixincl.c: Replace local include scheme with #includes of
29147 gansidecl.h and system.h.
29148 * procopen.c: Likewise.
29149 * server.c: Likewise.
29150
29151 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
29152
29153 * i386/t-dgux (EXTRA_PARTS): Add crti.o
29154 (crti.o): Add build rule and dependencies.
29155 * fixinc/fixinc.dgux: Use modified _int_varargs.h
29156
29157 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
29158
29159 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
29160 (LIB_LINUX_SPEC): Likewise.
29161 (LIB_LINUX_SPEC): Add support for -pthread
29162 (CPP_OS_LINUX_SPEC): Likewise.
29163 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
29164 specified.
29165
29166 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
29167
29168 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
29169 conditional move.
29170 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
29171 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
29172 for IEEE math and CC_FCOMI.
29173 (put_jump_code): No IEEE if CC_FCOMI is set.
29174
29175 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
29176
29177 * fold-const.c (fold_truthop): Make the field reference unsigned
29178 when converting a single bit compare.
29179
29180 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
29181
29182 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
29183
29184 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
29185
29186 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
29187 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
29188 version did.
29189
29190 * reload.c (push_reload): Do not call remove_address_replacements
29191 when presented with identical optional reloads.
29192
29193 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
29194
29195 * alpha.h (MASK_FIX, TARGET_FIX): New.
29196 (MASK_*): Reorganize constants.
29197 (CPP_AM_FIX_SPEC): New.
29198 (TARGET_SWITCHES): Add FIX.
29199 (EXTRA_SPECS): Likewise.
29200 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
29201 (SECONDARY_MEMORY_NEEDED): Likewise.
29202 (REGISTER_MOVE_COST): Likewise.
29203 * alpha.c (override_options): Add FIX support. Always use
29204 ALPHA_TP_PROG for ev6.
29205 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
29206 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
29207 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
29208
29209 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
29210
29211 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
29212 something is a candidate for optimize_bit_field_compare.
29213
29214 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
29215
29216 * gcc.texi (Passes): Document branch-shortening.
29217 * invoke.texi (Debugging Options): Document the fact that `-dp'
29218 outputs length information for instructions.
29219
29220 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
29221
29222 * flow.c: Revert previous delta.
29223
29224 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
29225
29226 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
29227 FRAME_POINTER_REGNUM.
29228 (mark_set_1): Ditto.
29229 (mark_used_regs): Ditto.
29230
29231 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
29232
29233 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
29234 (GOT_PCREL): New macro. Define to 1 if not already defined.
29235 * arm/elf.h (GOT_PCREL): Define to 0.
29236 * arm.c (arm_finalize_pic): Take into account the setting of
29237 GOT_PCREL.
29238
29239 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
29240
29241 * output.h (STRIP_NAME_ENCODING): Provide default definition.
29242 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
29243
29244 * flow.c (mark_set_1): Do not record BLKmode stores as dead
29245 store elimination candidates.
29246
29247 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
29248
29249 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
29250 TARGET_GAS.
29251
29252 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
29253
29254 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
29255 Add use of x-aix41-gld.
29256
29257 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
29258
29259 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
29260 (ASM_OUTPUT_DESTRUCTOR): Define.
29261
29262 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
29263
29264 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
29265 last CODE_LABEL in a loop if we have previously passed a jump
29266 to the top of the loop.
29267
29268 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
29269
29270 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
29271 applying Philip's patch.
29272
29273 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
29274
29275 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
29276 are not VAR_DECLs.
29277
29278 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
29279
29280 * loop.c (strength_reduce): Grow reg_single_usage as needed.
29281
29282 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
29283
29284 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
29285 Also remove a useless comment.
29286
29287 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
29288
29289 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
29290
29291 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
29292
29293 * collect2.c (main): Only generate import or export file and add
29294 to link arguments if non-empty. Use xmalloc not alloca.
29295 (write_{export,import}_file): Delete.
29296 (write_aix_file): New function.
29297 (locatelib): Use xmalloc not malloc.
29298 (GCC_OK_SYMBOL): Do not check type if aix64.
29299
29300 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
29301
29302 Based on patch by Scott Bambrough and Pat Beirne:
29303 * config/arm/arm.c (making_const_table): New variable.
29304 * config/arm/arm.h (making_const_table): Declare.
29305 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
29306 appropriate.
29307 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
29308 Keep track of when we are building the constant table.
29309
29310 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
29311
29312 * config/arm/arm.c (arm_override_options): Fix erroneous warning
29313 message.
29314
29315 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
29316
29317 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
29318 defined.
29319
29320 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
29321
29322 * tm.texi (FUNCTION_ARG): Correct description of a stack element
29323 in a PARALLEL.
29324
29325 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
29326
29327 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
29328
29329 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
29330
29331 * rs6000.c (output_mi_thunk): Enable full support again.
29332
29333 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
29334
29335 * sh.h (BRANCH_COST): Define.
29336
29337 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
29338
29339 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
29340
29341 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
29342
29343 * function.c (assign_stack_local): Align stack slot propertly.
29344 (assign_outer_stack_local): Likewise.
29345
29346 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
29347
29348 * expr.h (lang_expand_constant): Declare.
29349 * toplev.c (lang_expand_constant): Define it.
29350 * varasm.c (output_constant): Use it.
29351
29352 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
29353
29354 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
29355 Change function definitions to K&R style.
29356
29357 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
29358
29359 * fixinc/fixincl.c: We must not ignore SIGCLD now.
29360
29361 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
29362
29363 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
29364 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
29365 (several places): omit static initialization
29366 (process): use single fd, since only the read fd is used
29367 * fixinc/gnu-regex.c: define 'const' away, if not supported
29368 * fixinc/procopen.c(several places): omit static initialization
29369 * fixinc/server.c: define 'volitile' away, if not supported
29370
29371 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
29372
29373 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
29374 asm_fprintf and %L to generate the label name.
29375 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
29376 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
29377
29378 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
29379
29380 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
29381 insn for a conditional jump can not be found.
29382
29383 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
29384
29385 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
29386 on variables in specific sections other than .sbss and .sdata.
29387
29388 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
29389
29390 * stmt.c (expand_return): Call start_cleanup_deferral and
29391 end_cleanup_deferral around conditional code.
29392
29393 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
29394
29395 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
29396 filename lists. Utilizes new "krstr" AutoGen function.
29397 * fixinc/fixincl.x: Rebuilt.
29398
29399 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
29400
29401 * i386.c (output_float_compare): Avoid GNU-C extensions.
29402
29403 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
29404
29405 * version.c: Bump to distinguish mainline tree from the
29406 gcc-2.95 branch.
29407
29408 See ChangeLog.1 for earlier changes.
This page took 1.219612 seconds and 6 git commands to generate.