]> gcc.gnu.org Git - gcc.git/blob - gcc/ChangeLog
Fix for ia64 setjmp miscompilation problem.
[gcc.git] / gcc / ChangeLog
1 Thu Feb 10 12:56:47 2000 Jim Wilson <wilson@cygnus.com>
2
3 * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
4 the CALL_INSN, and emit the note immediately after it.
5
6 2000-02-10 Nick Clifton <nickc@cygnus.com>
7
8 * config/arm/thumb.md (epilogue): Include a (return) in the
9 generated insn, and emit it using emit_jump_insn not
10 emit_insn.
11
12 Thu Feb 10 18:28:59 MET 2000 Jan Hubicka <jh@suse.cz>
13
14 * function.c (assign_temp): Change zero-sized arrays to size 1.
15 * integrate.c (expand_inline_function): Do not update
16 stack_alignment_needed
17 * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
18 add some sanity checking, remove optimization for function with
19 zero frame size.
20
21 2000-02-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22
23 * flow.c (mark_regs_live_at_end): Delete unused variables.
24
25 * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
26
27 * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
28 in macro FRAME_GROWS_DOWNWARD.
29
30 * stmt.c (expand_end_bindings): Delete unused variable.
31
32 * unroll.c (iteration_info): Mark parameter `loop' with
33 ATTRIBUTE_UNUSED.
34
35 2000-02-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
36
37 * fixinc/server.c (load_data): Return NULL if the marker line is
38 not found.
39 (run_shell): If load_data returns NULL, retry the command once, in
40 a new shell.
41
42 * configure: Rebuilt.
43
44 2000-02-09 Bruce Korb <bkorb@gnu.org>
45
46 * gcc/fixincludes: ** DELETED **
47 * gcc/fixcpp: ** DELETED **
48 * gcc/fixinc-nt.sed: ** DELETED **
49 * gcc/just-fixinc: ** DELETED **
50 * gcc/Makefile.in: Removed out-dated commentary
51 * gcc/configure.in: Removed fast-fixincludes disablement.
52 * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
53
54 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
55 * function.c (thread_prologue_and_epilogue_insns): Uncomment
56 last change.
57
58 2000-02-09 Richard Henderson <rth@cygnus.com>
59
60 * jump.c (delete_insn): Don't delete user labels at -O0.
61
62 2000-02-09 Robert Lipe <robertl@sco.com>
63
64 * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
65 Don't link with HOST_LIBS.
66
67 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
68
69 * configure.in: Correct --help text for --with-dwarf2.
70 Put tm-dwarf2.h after other tm files, if it's requested.
71 * configure: Regenerate.
72 * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
73 defining it.
74
75 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
76
77 * cpplib.h: Provide HASHNODE typedef and forward decl of
78 struct hashnode only. Kill cpp_hashnode typedef. MACRODEF,
79 DEFINITION, struct hashnode, struct macrodef, struct
80 definition, scan_decls prototype, default defn of
81 INCLUDE_LEN_FUDGE moved elsewhere.
82
83 * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
84 definition, and struct hashnode moved here. Remove the unused
85 'predefined' field from struct definition. Replace the 'args'
86 union with its sole member. All users updated (cpphash.c).
87 Delete HASHSTEP and MAKE_POS macros, and hashf prototype. Add
88 multiple include guard.
89
90 * cpphash.c (hashf): Make static; use better algorithm; drop
91 HASHSIZE parameter; return an unsigned int.
92 (cpp_lookup): Drop HASH parameter. PFILE parameter is
93 used. Calculate HASHSIZE modulus here.
94 (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
95 here.
96 (create_definition): Drop PREDEFINITION parameter.
97 * cpplib.c (do_define): Don't calculate a hash value here.
98 Don't pass (keyword == NULL) to create_definition.
99
100 * scan.h: Prototype scan_decls here.
101 * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
102 * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
103 callers of cpp_lookup and cpp_install updated.
104
105 * cpphash.c (macarg): Hoist all the flag diddling out of the
106 function...
107 (macroexpand): ... and out of the loop that calls macarg.
108 Skip over the initial paren before macro arguments with
109 cpp_get_non_space_token; point may be some distance before
110 that paren. Abort if it's not there.
111
112 * cpplib.c (parse_clear_mark): Delete function.
113 (parse_set_mark, parse_goto_mark): Make static.
114 (ACTIVE_MARK_P): New macro.
115 (skip_block_comment, skip_line_comment): Do not bump the line
116 if ACTIVE_MARK_P is true.
117 (cpp_pop_buffer): The buffer to be popped may not have an
118 active mark.
119 (cpp_get_token): When looking for the initial paren before
120 macro arguments, only set a mark in a file buffer, Always
121 return to that mark before proceeding to call macroexpand or
122 return a NAME token.
123
124 * cpplib.h: Remove prototypes of parse_set_mark,
125 parse_clear_mark, parse_goto_mark.
126 (struct cpp_options): Rename 'put_out_comments' to
127 'discard_comments' and invert its sense.
128 * cppinit.c, cpphash.c, cpplib.c: All users of
129 put_out_comments changed to use discard_comments, with
130 opposite sense.
131
132 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
133
134 * function.c (thread_prologue_and_epilogue_insns): Don't delete
135 the edge from a block that both jumps and falls through to the
136 fallthru block.
137
138 2000-02-09 Scott Bambrough <scottb@netwinder.org>
139
140 * config/arm/arm.md (movsi): In PIC mode, make sure that a
141 constant source address is legitimate.
142
143 2000-02-09 Philip Blundell <pb@futuretv.com>
144
145 * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
146 correctly.
147
148 * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
149 generating PIC.
150 (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
151
152 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
153
154 * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
155 ends with a newline and a NUL. Don't be so clever manipulating
156 strings.
157
158 Wed Feb 9 14:18:08 MET 2000 Jan Hubicka <jh@suse.cz>
159
160 * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
161 not to BIGGEST_ALIGNMENT.
162
163 2000-02-08 Geoff Keating <geoffk@cygnus.com>
164
165 * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
166 * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
167 (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
168 (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
169 * frame.c (execute_cfa_insn): Handle
170 DW_CFA_GNU_negative_offset_extended.
171
172 2000-02-08 Richard Henderson <rth@cygnus.com>
173
174 * flow.c (tidy_fallthru_edges): Split out from ...
175 (delete_unreachable_blocks): ... here.
176 (find_basic_blocks): Use it.
177
178 Tue Feb 8 15:51:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
179
180 * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
181
182 2000-02-08 Zack Weinberg <zack@wolery.cumb.org>
183
184 * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
185 (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
186 (fix-header.o): Don't depend on cpphash.h.
187
188 * scan.c (hashstr): New function.
189 * scan.h: Prototype it.
190 * fix-header.c: Don't include cpphash.h. Use hashstr.
191 * gen-protos.c: Don't include cpphash.h or cpplib.h. Use
192 hashstr. Report hash table statistics. Add private
193 definition of xrealloc.
194
195 2000-02-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
196
197 * i386.h (TARGET_SWITCHES): Fix typo in option name.
198
199 2000-02-08 Clinton Popetz <cpopetz@cygnus.com>
200
201 * function.c (thread_prologue_and_epilogue_insns): Don't replace
202 jumps with returns unless they are jumps to the fallthru block.
203
204 Tue Feb 8 07:53:55 2000 Jan Hubicka <jh@suse.cz>
205
206 * i386.md (addqi3_cc): Fix contraints.
207
208 Tue Feb 8 01:39:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
209
210 * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
211
212 2000-02-07 Mark Mitchell <mark@codesourcery.com>
213
214 * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
215 carriage return after a macro name.
216
217 2000-02-07 Fred Fish <fnf@be.com>
218
219 * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
220 so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
221
222 2000-02-07 Zack Weinberg <zack@wolery.cumb.org>
223
224 * cppfiles.c (deps_output): Count spacers in deps_column.
225
226 2000-02-07 Neil Booth <NeilB@earthling.net>
227
228 * cppinit.c (initialize_dependency_output): If there is no
229 suffix, don't try to look for known suffixes. Use strrchr.
230 (cpp_start_read): Remove duplicate initialization.
231
232 Mon Feb 7 18:36:41 MET 2000 Jan Hubicka <jh@suse.cz>
233
234 * calls.c (compute_argument_block_size): New argument
235 preferred_stack_boundary.
236 (expand_call): update cfun->preferred_stack_boundary, update call of
237 compute_argument_block_size
238 (emit_library_call): Increate cfun->preferred_stack_boundary
239 to PREFERRED_STACK_BOUNDARY
240 (emit_library_call_value): Likewise.
241 * explow.c (allocate_dynamic_stack_spave): Likewise.
242 * function.c (prepare_function_start): Set
243 cfun->preferred_stack_boundary
244 * function.h (struct function): Add preferred_stack_boundary field.
245 * integrate.c (expand_inline_function): Update
246 cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
247 (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
248 * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
249
250 2000-02-06 Zack Weinberg <zack@wolery.cumb.org>
251
252 * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
253 cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
254 cpp_pedwarn, cpp_pedwarn_with_line,
255 cpp_pedwarn_with_file_and_line): Move to cpperror.c.
256 (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
257 v_cpp_error_with_line, v_cpp_warning_with_line,
258 cpp_message_from_errno, cpp_perror_with_name): Delete.
259
260 * cpperror.c (cpp_print_containing_files): Take starting
261 buffer as argument.
262 (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
263 (v_cpp_message): Now called directly by all entry points.
264 Remove -1 case.
265 (cpp_pfatal_with_name, cpp_message): Delete.
266 (cpp_notice_from_errno, cpp_ice): New functions.
267 (cpp_notice): Is now for reporting error conditions, just
268 without an associated file.
269 (cpp_error, cpp_error_with_line): Don't do anything if
270 opts->inhibit_errors is on.
271 (cpp_pedwarn_with_file_and_line): Take column argument also.
272
273 * cpplib.h: Update prototypes of exported functions.
274 (struct cpp_options): Add inhibit_errors.
275
276 * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
277 non-error messages. Include intl.h.
278
279 * cppinit.c, cppmain.c: Likewise. Also, use
280 cpp_notice_from_errno instead of cpp_perror_with_name or
281 cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
282
283 * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
284 report internal errors.
285
286 * cpplib.c (do_define): Switch bcopy to memcpy.
287 Give cpp_pedwarn_with_file_and_line a dummy column argument.
288
289 * cpplib.c (copy_rest_of_line): Revert previous change: don't
290 bail out early if we hit a line comment.
291
292 2000-02-06 Richard Henderson <rth@cygnus.com>
293
294 * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
295 * basic-block.h: Declare them.
296 * emit-rtl.h (active_insn_p): New.
297 (next_active_insn, prev_active_insn): Use it.
298 * rtl.h: Declare it.
299 * function.c (emit_return_into_block): New.
300 (thread_prologue_and_epilogue_insns): Insert return insns instead
301 of epilogues when possible.
302 * jump.c (jump_optimize_1): Remove code to insert a return insn
303 on the fallthru to the exit block.
304
305 * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
306 and for non-empty stack frames.
307 * i386.md (return): Expand to return-pop as needed.
308
309 2000-02-06 Richard Henderson <rth@cygnus.com>
310
311 * simplify-rtx.c (simplify_relational_operation): Canonicalize
312 constant to op1 for testing.
313
314 2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
315
316 * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
317 (fixuns_truncqfqi2): Use it.
318
319 2000-02-06 Richard Henderson <rth@cygnus.com>
320
321 * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
322 as a TYPE_LEA insn.
323
324 * i386.md (widening and peepholes): Mask the constant instead of
325 using gen_lowpart.
326
327 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
328
329 * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
330 input pointer before possibly branching off to the backslash
331 code.
332 * cpphash.c (macroexpand): Correctly delete \r escapes when
333 stringifying parameters.
334 * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
335 if we can; bail out early if we hit a line comment.
336 (handle_directive): Treat '# 123' in an .S file just like
337 '# <punctuation>'. Discard the shifted '#' if we hit '#\n'.
338 Return 1 for '# not_a_directive'.
339 (get_directive_token): Pop macro buffers here, so that
340 cpp_get_token can't sneakily move past a newline.
341 Add sanity checks.
342 (cpp_get_token): goto randomchar if handle_directive returns 0.
343
344 * cppalloc.c: Update copyright.
345 * cpplib.c: Merge all the static function prototypes into one
346 block.
347 * cpplib.h: Remove #if 0 block.
348
349 * cpperror.c: Remove #ifdef EMACS block.
350 * cppmain.c: Likewise.
351 * cpphash.c: Remove #if 0 blocks.
352 * cppinit.c: Remove #if 0 blocks, and the -lint option.
353 * cpplib.c: Remove #if 0 blocks and code referencing
354 pcp_inside_if or for_lint. Remove duplicate error message.
355 Fix error messages for #else after #else or #elif. Reformat.
356 Remove archaic TODO list.
357 * cpplib.h: Remove pcp_inside_if and for_lint flags.
358
359 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
360
361 * i386/osf1elf.h: Add missing backslash to multiline string.
362
363 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
364
365 * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
366
367 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
368
369 * Makefile.in (c-common.o): Depend on $(EXPR_H).
370
371 * c-common.c: Include expr.h.
372
373 * c-pragma.c (mark_align_stack): Add prototype.
374
375 * caller-save.c (add_stored_regs): Likewise.
376
377 * combine.c (record_promoted_value): Likewise.
378
379 * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
380 Likewise.
381
382 * cppinit.c (new_pending_define): Likewise.
383
384 * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
385
386 * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
387 AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
388 AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
389 class_scope_p): Likewise.
390
391 * dwarf2out.h (dwarf2out_set_demangle_name_func,
392 dwarf2out_add_library_unit_info): Likewise.
393
394 * ggc.h (ggc_page_print_statistics): Likewise.
395
396 * haifa-sched.c (propagate_deps): Likewise.
397
398 * reg-stack.c (next_flags_user, record_label_references): Likewise.
399
400 * rtl.h (set_stack_check_libfunc): Likewise.
401
402 * toplev.h (set_fatal_function): Likewise.
403
404 * toplev.c (set_fatal_function): Delete prototype.
405
406 * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
407
408 2000-02-05 Geoff Keating <geoffk@cygnus.com>
409
410 * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
411 (FUNC_END): Likewise.
412
413 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
414
415 * caller-save.c: Include tm_p.h.
416
417 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
418
419 * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
420
421 2000-02-04 Neil Booth <NeilB@earthling.net>
422
423 * cccp.c (main): Check 'dir' for a NULL pointer before passing
424 it to strcmp.
425
426 2000-02-04 Zack Weinberg <zack@wolery.cumb.org>
427
428 * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
429 * genflags.c: Use the max_operand_1 logic from genemit.c to
430 calculate how many arguments gen_insn prototypes have. Remove
431 NO_MD_PROTOTYPES ifdefs from the generated file.
432 * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
433 file. Cast gen_insn initializers to insn_gen_fn.
434 * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
435 * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
436
437 2000-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
438
439 * fixinc/Makefile.in (HDR): Add machname.h.
440 (clean): Likewise.
441
442 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
443
444 * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
445 (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
446 (c4x_cpu_version): Ditto.
447 * config/c4x/c4x-protos.h: ... here.
448
449 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
450
451 * dwarf2out.c (add_abstract_origin_attribute): Don't call
452 gen_abstract_function on our context if we're a nested function.
453
454 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
455
456 * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
457 * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
458
459 2000-02-04 Bruce Korb <bkorb@gnu.org>
460
461 * fixinc/genfixes(machname.h):
462 Move the functionality from gen-machine.h into this file.
463 UNdef MN_NAME_PAT if there are no names to change.
464 Also, be a little kinder when AutoGen is not present.
465
466 * fixinc/Makefile.in(machname.h):
467 Change the generation rule to use genfixes.
468
469 * fixinc/fixfixes.c(machine_name):
470 machine_name_fix's functionality now dependent upon whether
471 MN_NAME_PAT is defined.
472
473 * fixinc/fixtests.c(machine_name):
474 ditto.
475
476 * fixinc/fixlib.c(mn_get_regexps): conditional on definition
477 of MN_NAME_PAT.
478
479 * fixinc/fixlib.h(mn_get_regexps):
480 ditto
481
482 * fixinc/gen-machine.h: DELETED
483
484 2000-02-04 Jan Hubicka <jh@suse.cz>
485 Richard Henderson <rth@cygnus.com>
486
487 * i386.c (SAVE_REGS_FIRST): Remove.
488 (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
489 (ix86_compute_frame_size): Likewise.
490 (ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack.
491 (ix86_emit_restore_regs): Remove.
492 (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
493 when a frame pointer is in use.
494 (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov
495 instead of pop to restore a register when profitable; emit leave
496 when profitable.
497 (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
498 as a TYPE_LEA insn.
499 (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
500 * i386.md (prologue_allocate_stack): Remove.
501 (epilogue_deallocate_stack): Remove.
502 (pro_epilogue_adjust_stack): New.
503
504 2000-02-04 Richard Henderson <rth@cygnus.com>
505
506 * function.c (diddle_return_value): Rework to use a callback function.
507 Use current_function_return_rtx if it's been set up.
508 (do_clobber_return_reg, clobber_return_register): New.
509 (do_use_return_reg, use_return_register): New.
510 (expand_function_end): Use them.
511 * stmt.c (expand_null_return): Likewise.
512 * function.h: Declare them.
513 * flow.c (mark_regs_live_at_end): Use diddle_return_value.
514 (mark_reg): Change arguments as appropriate for callback.
515 * integrate.c (expand_inline_function): Revert 19 Jan change.
516
517 Fri Feb 4 20:25:42 2000 Hans-Peter Nilsson <hp@bitrange.com>
518
519 * tm.texi (Values in Registers): Fix typo: "fo" "for".
520 (Misc): Say the scheduler, not the Haifa scheduler.
521
522 2000-02-04 Clinton Popetz <cpopetz@cygnus.com>
523
524 * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
525 when in_mem is set. Update all callers.
526
527 2000-02-04 Richard Henderson <rth@cygnus.com>
528
529 * i386/openbsd.h (INT_ASM_OP): Define.
530
531 Fri Feb 4 10:51:30 2000 Hans-Peter Nilsson <hp@bitrange.com>
532
533 * tm.texi: Fix various typos.
534
535 Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
536
537 * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
538 (MD_STARTFILE_PREFIX_1): New macro.
539
540 Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
541
542 * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
543 destination when needed.
544 (strmovsi, strsetsi): New expander.
545 (strmovsi_1, strsetsi_1): New pattern.
546 * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
547 TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
548 (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
549 * invoke.texi (align-stringops, inline-all-stringops): Document.
550
551 Wed Feb 2 23:04:47 2000 Krister Walfridsson <cato@df.lth.se>
552
553 * i386/netbsd.h (INT_ASM_OP): Define.
554
555 2000-02-02 Zack Weinberg <zack@wolery.cumb.org>
556
557 * cpplib.h (cpp_reader): Add new flag, no_directives.
558 * cpphash.c (macarg): Set it.
559 * cpplib.c (handle_directive): If no_directives is on and we
560 find a directive, issue an error and discard the line.
561
562 Wed Feb 2 13:07:10 2000 Jim Wilson <wilson@cygnus.com>
563
564 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
565 FP constants. Add ! TARGET_FPU check for FP constants.
566
567 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
568
569 * flow.c (find_basic_blocks): Don't kill label_value_list
570 here.
571 (cleanup_cfg): Kill it here.
572
573 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
574
575 * expr.c (store_field): Ensure ALIGN is no stricter than the
576 alignment of EXP.
577
578 2000-02-02 Richard Henderson <rth@cygnus.com>
579
580 * jump.c (delete_insn): Partially revert 19 Jan change;
581 don't convert unused code labels to notes at -O0.
582
583 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
584
585 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
586 split_all_insns to recreate REG_LABEL notes for flow2 pass.
587
588 2000-02-01 Richard Henderson <rth@cygnus.com>
589
590 * i386.c (general_no_elim_operand): New.
591 (nonmemory_no_elim_operand): New.
592 (ix86_expand_move): Copy eliminable operands before a push.
593 * i386-protos.h: Declare new functions.
594 * i386.h (CAN_ELIMINATE): Simplify.
595 (PREDICATE_CODES): Update.
596 * i386.md (push insns): Don't allow eliminable register operands.
597
598 2000-02-01 Richard Henderson <rth@cygnus.com>
599
600 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
601 replace BLKmode with DECL_RTL's mode.
602
603 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
604
605 * frame.c (find_fde): Convert for loop to do-while so compiler
606 sees it's always executed at least once.
607 * libgcc2.c (BBINBUFSIZE): Kill.
608 (__bb_init_prg): Use fgets.
609 (__bb_exit_trace_func): Don't paste strings.
610 * unroll.c (unroll_loop): Initialize unroll_type, not
611 unroll_number, and tweak logic to match.
612
613 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
614 all failure paths.
615 (ix86_flags_dependant): Likewise. Disentangle control flow.
616 (ix86_sched_reorder): Break guts out to
617 ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
618 (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
619 any possible use.
620
621 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
622 use string concatenation. Don't save and restore esi.
623
624 * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
625 (machname.h): Remove script to separate file. Use two-step
626 sequence so target is not created if script fails.
627 * fixinc/gen-machname.h: New file. Handle case where no non-reserved
628 identifiers are defined.
629 * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
630 an empty string, machine_name doesn't need to do anything at
631 all.
632 (is_cxx_header): Add more cases to regexp.
633 * fixinc/fixlib.h: Update prototype.
634 * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
635 mn_get_regexps.
636 * fixinc/fixincl.c: Define NO_BOGOSITY.
637
638 * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
639 (hp_sysfile): Add missing comma.
640 (math_exception): Put the wrapper ifdefs at the beginning and
641 the end of the file.
642 * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
643
644 2000-02-01 Richard Henderson <rth@cygnus.com>
645
646 * sparc.c (fp_zero_operand): Turn into a normal predicate.
647 Use CONST0_RTX. Update all callers.
648 * sparc.h, sparc-protos.h: Update accordingly.
649 * sparc.md (fp mov insns): Use fp_zero_operand directly
650 where applicable.
651
652 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
653
654 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
655 example.
656
657 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
658
659 * Makefile.in (specs.ready): New target.
660 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
661
662 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
663
664 * fixinc.irix: Use unique filenames for writing into /tmp,
665 * fixinc.ptx: Likewise.
666 * fixinc.sco: Likewise.
667 * fixinc.svr4: Likewise.
668 * fixinc.winnt: Likewise.
669
670 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
671
672 * tsystem.h: New file.
673
674 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
675 s-crtS): Depend on tsystem.h.
676
677 * crtstuff.c: Include tsystem.h.
678 * frame.c: Likewise.
679 * libgcc2.c: Likewise.
680
681 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
682
683 * builtins.c (expand_builtin_memset): Expand for variable sized
684 lengths too.
685
686 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
687
688 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
689 on ABI.
690
691 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
692
693 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
694
695 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
696
697 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
698
699 * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
700 case 3->2 combining (combining with splitting) in which 2 is CC0
701 setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
702 checked at the begining of the function with the aid of calling
703 function 'can_combine_p'.
704
705 2000-01-31 Dave Brolley <brolley@redhat.com>
706
707 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
708
709 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
710
711 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
712 new label.
713
714 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
715
716 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
717
718 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
719 PROTO -> PARAMS.
720
721 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
722
723 * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
724 i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
725 i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
726 i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
727 i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
728 i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
729 i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
730 i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
731 i386/vxi386.h, i386/win-nt.h, i386/win32.h:
732 Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
733
734 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
735 Add %(cpp_cpu) to CPP_SPEC.
736
737 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
738 Add %(cc1_cpu) to CC1_SPEC.
739
740 2000-01-28 Ulrich Drepper <drepper@redhat.com>
741
742 * c-decl.c (c_decode_option): Accept optional numeric argument to
743 -Wformat and set warn_format.
744 * c-common.c: Don't emit warning about non-constant printf format
745 string unless warn_format > 1.
746
747 2000-01-30 Richard Henderson <rth@cygnus.com>
748
749 * alpha.md (return_internal): Allow after reload only.
750
751 2000-01-30 Richard Henderson <rth@cygnus.com>
752
753 * i386.c (ix86_compute_frame_size): Omit padding1 if the
754 local frame size is zero.
755
756 2000-01-30 Richard Henderson <rth@cygnus.com>
757
758 * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
759 * alpha.h (EPILOGUE_USES): New. Mark $26 live.
760 * alpha.md (return): Turn into an expander.
761 (return_internal): Don't use $26.
762 (epilogue): Emit the return insn.
763
764 2000-01-30 Richard Henderson <rth@cygnus.com>
765
766 * alpha.md (negtf2, abstf2): Fix word order thinko.
767 (extendsftf2): New.
768 (trunctfsf2): Avoid intermediate rounding errors.
769
770 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
771
772 * cppfiles.c (find_position): Drop 'colp' argument, return the
773 new line base.
774 (read_and_prescan): Adjust to match. Don't ever manipulate
775 line or line_base except via find_position.
776
777 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
778
779 * c-parse.in: Apply Ulrich's changes from c-parse.y.
780 * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
781 Regenerate.
782
783 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
784
785 * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
786 just print "<command line>". If 'filename' is null or an
787 empty string, print "<stdin>" for the filename.
788 * cpplib.c (do_define): Don't print the 'location of the
789 previous definition' message if we're still parsing the
790 command line.
791 (cpp_pedwarn_with_file_and_line): Always call
792 cpp_file_line_for_message.
793
794 2000-01-29 Mark Mitchell <mark@codesourcery.com>
795
796 * flow.c (mark_regs_live_at_end): Fix typo.
797
798 2000-01-28 Ulrich Drepper <drepper@redhat.com>
799
800 * c-common.c: Adjust variable names, comments, help strings to c99.
801 * c-lex.c: Likewise.
802 * c-parse.y: Likewise.
803 * c-tree.h: Likewise.
804 * cccp.c: Likewise.
805 * cpplib.h: Likewise.
806 * c-decl.c: Likewise. Recognize options with names "*99" as well.
807 * cppinit.c: Likewise.
808
809 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
810
811 * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
812 * c4x.c: Define the optab rtx values.
813 (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
814 (c4x_emit_libcall): Use new optab rtx values.
815 (c4x_emit_libcall3): Likewise.
816 (c4x_emit_libcall_mulhi): Likewise.
817 * c4x-protos.h: Add prototypes for optab rtx values and change
818 prototypes for above c4x_emit_libcall functions.
819
820 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
821
822 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
823 syntax is used.
824 (c4x_function_prologue): Use regnames intead of float_reg_names when
825 TI syntax is used.
826 (c4x_function_epilogue): Likewise.
827 (c4x_print_operand): Likewise.
828 * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
829 * c4x.md (set_high): Disable for TARGET_TI.
830
831 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
832
833 * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
834 of framepointer + constant to ADDR_REGS class.
835 * c4x.md (addqi3, addqi3_noclobber_reload): Update.
836 * c4x.c (std_or_reg_operand): New function.
837 * c4x-protos.h (std_or_reg_operand): Prototype it.
838
839 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
840
841 * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
842 object names as libgcc2.c.
843 * libgcc.S: Use newly defined names.
844
845 Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
846 * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
847 function.
848 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
849 * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
850 (FLOW_LOOP_LAST_BLOCK): Likewise.
851
852 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
853
854 * basic-block.h (struct loop): New fields 'first' and 'last'.
855 * flow.c (flow_loops_find): Compute loop->first and loop->last.
856 (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
857 and loop->last to check for NOTE_INSN_LOOP_END.
858
859 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
860
861 * predict.c (estimate_probability): Use the new FIRST and LAST fields
862 of the loop descriptor rather than HEADER and LATCH. Also added
863 missing break statements as well making some coding style modifications
864 as suggested by Michael Hayes.
865
866 2000-01-28 Richard Henderson <rth@cygnus.com>
867
868 * flow.c (find_basic_blocks): Remove do_cleanup argument.
869 Break out that code ...
870 (cleanup_cfg): ... here.
871 (commit_one_edge_insertion): Detect a return instruction being
872 emitted to an edge. Emit a barrier following; clear fallthru.
873 (commit_edge_insertions): Verify CFG consistency.
874 * function.c (expand_function_start): Kill unused variable.
875 (expand_function_end): Likewise.
876 (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
877 to insert the epilogue.
878
879 * gcse.c (gcse_main): Adjust for find_basic_blocks change.
880 (delete_null_pointer_checks): Likewise.
881 * output.h: Likewise.
882 * reg-stack.c (reg_to_stack): Likewise.
883 * toplev.c (rest_of_compilation): Likewise. Run
884 thread_prologue_and_epilogue_insns after rebuilding the CFG.
885
886 2000-01-28 Richard Henderson <rth@cygnus.com>
887
888 * Makefile.in (flow.o): Revert 24 Jan change.
889 * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
890 FUNCTION_VALUE result to DECL_RESULT's mode.
891
892 * haifa-sched.c (schedule_insns): Don't recompute reg info
893 after reload.
894
895 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
896
897 * configure.in: Make --enable-cpplib the default.
898 * configure: Regenerate.
899 * gcc.dg/990119-1.c: No longer expected to fail.
900
901 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
902
903 * jump.c (jump_optimize_1): Delete an optimization that is also done
904 by merge_blocks in flow.
905
906 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
907
908 * diagnostic.c (build_message_string, output_printf,
909 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
910 (build_location_prefix): Fix non-literal format string.
911
912 2000-01-27 Richard Henderson <rth@cygnus.com>
913
914 * alpha.md (trunctfsf2): New.
915
916 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
917
918 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
919
920 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
921
922 * cppinit.c (cpp_handle_option): Recognize C++ comments under
923 -std=gnu89.
924 * cpplib.c (skip_block_comment, skip_line_comment): Split code
925 out of...
926 (skip_comment) ... here. Permit C++ comments in system
927 headers always. Warn about C++ comments in user code under
928 -std=gnu89 -pedantic.
929 (copy_comment): Use skip_comment.
930 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
931 return EOF.
932 (consider_directive_while_skipping, do_else, do_endif): Call
933 validate_else unconditionally.
934 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
935 text after the conditional in a system header.
936 * cpplib.h (struct cpp_buffer): Add flag
937 warned_cplusplus_comments.
938
939 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
940
941 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
942 Use unshare_all_rtl_1.
943 (unshare_all_rtl_again): New function.
944 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
945
946 * function.c (purge_addressof_1): Use unshare_all_rtl_again
947 rather than resetting the 'used' flags ourself.
948
949 * toplev.c (rest_of_compilation): Add current_function_decl
950 to the unshare_all_rtl call.
951 * tree.h: Prototype unshare_all_rtl.
952 * rtl.h: Prototype unshare_all_rtl_again here.
953
954 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
955
956 * genoutput.c (output_prologue): Include ggc.h in generated
957 files.
958 * Makefile.in (insn-output.o): Depends on ggc.h.
959
960 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
961 Hans-Peter Nilsson <hp@bitrange.com>
962
963 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
964 Remove redundant include of xm-ns32k.h.
965 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
966 Remove redundant include of xm-ns32k.h.
967 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
968 Remove redundant include of xm-ns32k.h.
969 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
970
971 * ns32k/ns32k.h: Update comment on multiply-add instructions.
972 (TARGET_SWITCHES): Add documentation strings.
973 (DWARF_FRAME_REGNUM): Override default definition.
974 (REG_CLASS_CONTENTS): Add comments.
975 (SUBSET_P): Format to reduce line length.
976 (SMALL_REGISTER_CLASSES): Make a run time option.
977 (GO_IF_NONINDEXED_ADDRESS): Reformat.
978 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
979 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
980 (regclass_map): fix typo in comment.
981 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
982 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
983 (trace, reg_or_mem_operand): Delete, unused function.
984 (calc_address_cost): Small offsets are cheaper than large ones.
985 (expand_block_move): Generate more efficient code when bytes is a
986 known at compile time.
987 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
988 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
989 instead of reg_or_mem_operand.
990
991 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
992 not general_operand. Similarly use "=rm" or stricter, not "=g".
993 For input operands, use stricter constraints than "g" if not
994 general_operand. Similarly use stricter predicate than
995 "general_operand" when stricter constraints than "g" are present,
996 except for matching constraints.
997 (movstrsi): Use "memory_operand" for operands 0 and 1.
998 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
999 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
1000 not reg_or_mem_operand.
1001 (udivmoddisi4): Ditto.
1002 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
1003 Use nonimmediate_operand for operand 3, not register_operand.
1004 (udivmoddiqi4_internal): Use register_operand for operand 1, not
1005 reg_or_mem_operand.
1006
1007 2000-01-27 Fred Fish <fnf@be.com>
1008
1009 * gthr-posix.h: Fix typo; compatibily -> compatibility.
1010 * gthr-single.h: Likewise.
1011 * gthr-solaris.h: Likewise.
1012 * gthr-vxworks.h: Likewise.
1013 * gthr-win32.h: Likewise.
1014 * gthr.h: Likewise.
1015
1016 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
1017
1018 * cppinit.c: Add " (cpplib)" to end of string printed by
1019 -v / --version.
1020
1021 2000-01-27 Richard Henderson <rth@cygnus.com>
1022
1023 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
1024 testing for a signed comparison.
1025 (alpha_emit_floatuns): New.
1026 * alpha-protos.h: Declare it.
1027 * alpha.md (floatunsdisf2, floatunsdidf2): New.
1028 (extendsfdf2): Tidy.
1029
1030 2000-01-27 Jakub Jelinek <jakub@redhat.com>
1031
1032 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
1033 no -g option specifying debugging format, default to -gstabs+.
1034
1035 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1036
1037 * calls.c (special_function_p): New argument fork_or_exec.
1038 (expand_call): When profile_arc_flag is set and the function
1039 is in the fork_or_exec group, call __bb_fork_func first.
1040 * libgcc2.c, _bb module (__bb_fork_func): New function.
1041 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
1042 output file.
1043 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
1044 * tree.h (special_function_p): Update prototype.
1045
1046 2000-01-26 Richard Henderson <rth@cygnus.com>
1047
1048 * alpha.c (alpha_split_tfmode_pair): New.
1049 * alpha-protos.h: Declare it.
1050 * alpha.md (abstf2, negtf2): New.
1051 (movtf insn): Add input G constraint.
1052 (movtf splitter): Use alpha_split_tfmode_pair.
1053
1054 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1055
1056 * i386/cygwin.h: PROTO -> PARAMS.
1057
1058 2000-01-26 Jakub Jelinek <jakub@redhat.com>
1059
1060 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
1061 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
1062 using _Qp_cmp/_Q_cmp and testing the return value.
1063 (print_operand): Call reverse_condition_maybe_unordered if
1064 we are handling CCFPmode or CCFPEmode.
1065 Handle ORDERED, UN* and LTGT comparisons.
1066 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
1067 if not TARGET_HARD_QUAD.
1068 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
1069 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
1070 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
1071 Adjust gen_b* calls so that they reflect return comparison of
1072 sparc_emit_float_lib_cmp.
1073
1074 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1075
1076 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
1077 incoming operands array is large enough for one more operand.
1078 (alpha_emit_xfloating_arith): Likewise.
1079
1080 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
1081
1082 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
1083 file with one line and no trailing newline.
1084 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
1085 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
1086 checking if the match is on the line.
1087 * fixinc/gnu-regex.c: Provide regerror not __regerror.
1088
1089 2000-01-25 Richard Henderson <rth@cygnus.com>
1090
1091 * sparc.c (output_cbranch): Fix accidental squashing of the
1092 fp branch pre-delay nop.
1093
1094 2000-01-25 Richard Henderson <rth@cygnus.com>
1095
1096 * tree.def (UNNE_EXPR): Remove.
1097 * c-typeck.c (build_binary_op): Don't handle it.
1098 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
1099
1100 * rtl.def (UNNE): Remove.
1101 (LTGT): Add.
1102 * jump.c (reverse_condition): Update accordingly.
1103 (swap_condition): Likewise.
1104 (comparison_dominates_p): Handle unordered comparisons.
1105 (reverse_condition_maybe_unordered): New.
1106 * rtl.h (reverse_condition_maybe_unordered): Declare.
1107
1108 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
1109 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
1110 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
1111 * sparc.md (bltgt): New.
1112
1113 2000-01-25 Nick Clifton <nickc@redhat.com>
1114
1115 * emit-rtl.c (emit_insn): Only check machine class insns for
1116 improper emission of a RETURN.
1117
1118 2000-01-25 Richard Henderson <rth@cygnus.com>
1119
1120 * Makefile.in (flow.o): Depend on $(EXPR_H).
1121 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
1122 duplicate the structure of diddle_return_value for keeping regs live.
1123
1124 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1125
1126 * loop.c (current_loop_info): Delete.
1127 (consec_sets_invariant_p): Add loop argument, update callers.
1128 (get_condition_for_loop): Likewise.
1129 (count_nonfixed_reads, update_giv_derive): Likewise.
1130 (simplify_giv_expr, general_induction_var): Likewise.
1131 (consec_sets_giv, recombine_givs): Likewise.
1132 (move_movables): Delete loop_start and loop_end arguments,
1133 add loop argument, and update callers.
1134 (find_mem_givs, check_final_value): Likewise.
1135 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
1136 (loop_invariant_p): Rename from invariant_p, add loop argument, and
1137 update callers.
1138 (basic_induction_var): Add loop argument, delete loop_level argument,
1139 and update callers.
1140 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
1141 add loop argument, and update callers.
1142 (find_splittable_regs, find_splittable_givs): Likewise.
1143 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
1144 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
1145 (biv_total_increment): Delete loop_start and loop_end arguments;
1146 update callers.
1147 (precondition_loop_p): Delete loop_start and loop_info arguments;
1148 update callers.
1149 * loop.h (get_condition_for_loop): Add loop argument.
1150 (biv_total_increment): Delete loop_start and loop_end arguments.
1151 (precondition_loop_p): Delete loop_start and loop_info arguments;
1152 add loop argument.
1153 (final_biv_value): Delete loop_start and loop_end arguments;
1154 add loop argument.
1155 (final_giv_value, back_branch_in_range_p): Likewise.
1156
1157 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
1158
1159 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
1160
1161 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
1162
1163 * Makefile.in (c-gperf.h) : Change the "See" pointer to
1164 point to the new "generated_files" doc.
1165
1166 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
1167
1168 * config/fp-bit.c (_unord_f2): Fix typo.
1169
1170 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
1171
1172 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
1173 c-typeck.c, objc/objc-act.c: Remove all references to obstack
1174 functions obsoleted by GC, such as push_obstacks_nochange,
1175 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
1176 and code which existed only to decide whether or not to call
1177 them. Remove now-unused NESTED argument from start_function;
1178 all callers changed. Do not change behavior based on ggc_p.
1179 The use of the ixp_obstack in c-iterate.c and the util_obstack
1180 in objc/objc-act.c remain; these are not obsoleted by garbage
1181 collection.
1182 * c-tree.h: Update prototype for start_function.
1183
1184 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
1185
1186 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
1187
1188 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
1189 mips16.
1190
1191 2000-01-25 Richard Henderson <rth@cygnus.com>
1192
1193 * sparc-protos.h (select_cc_mode): Declare.
1194 * sparc.c (select_cc_mode): New. Handle unordered compares.
1195 (output_cbranch): Always reverse via code change. Handle
1196 unordered compares. Factor tests and string updates.
1197 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
1198 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
1199 * sparc.md (bunordered, bordered): New.
1200 (bungt, bunlt, buneq, bunge, bunle): New.
1201
1202 2000-01-25 Richard Henderson <rth@cygnus.com>
1203
1204 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
1205 * ggc-common.c (ggc_add_rtx_varray_root): New.
1206 (ggc_mark_rtx_varray): New.
1207 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
1208 functions down below ggc_mark_foo.
1209 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
1210
1211 2000-01-25 Richard Henderson <rth@cygnus.com>
1212
1213 * alpha.c (secondary_reload_class): Don't allocate a secondary
1214 for integral mode memories into FLOAT_REGS. Rearrange the more
1215 complicated memory expression inward.
1216
1217 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
1218
1219 * inclhack.def: Fixes to play nicer with FreeBSD, and
1220 corrections to comments.
1221 (cxx_unready): Add select expression.
1222 (irix_sockaddr): Add bypass expression.
1223 (machine_ansi_h_va_list): New fix.
1224 (stdio_va_list): No need to edit _BSD_VA_LIST_.
1225 Split out addition of "#include <stdarg.h>" to...
1226 (stdio_stdarg_h): ... here.
1227 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
1228 to stdlib.h also. Do not munge _BSD_SIZE_T_.
1229 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
1230 size_t.
1231 (ultrix_ifdef): Tighten up select expression.
1232
1233 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
1234 re_ct and max_mach to avoid use of shell. Make printed names
1235 match names in inclhack.def. Use static copyright date.
1236 Don't count c_test and test expressions as requiring regex_t
1237 slots. Add some commentary.
1238 * inclhack.tpl: Do not include the 'This script contains N
1239 fixup scripts' line if PROGRAM is defined. Use static
1240 copyright date.
1241
1242 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
1243
1244 * dwarf2out.c: include "varray.h", not dyn-string.h.
1245 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
1246 (addr_const_to_string, addr_to_string): Lose.
1247 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
1248 (struct dw_val_struct): val_addr is now an rtx.
1249 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
1250 (used_rtx_varray): New varray.
1251 (dwarf2out_init): Initialize it.
1252 (save_rtx): New fn.
1253 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
1254 addr_to_string.
1255 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
1256 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
1257 * Makefile.in (dwarf2out.o): Update dependencies.
1258
1259 2000-01-24 Richard Henderson <rth@cygnus.com>
1260
1261 * i386.c (i386_dwarf_output_addr_const): New.
1262 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
1263
1264 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
1265 if defined.
1266 * dwarfout.c (output_mem_loc_descriptor): Likewise.
1267 * i386.c (i386_simplify_dwarf_addr): New.
1268 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
1269
1270 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
1271
1272 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
1273 TYPE_STUB_DECL is NULL.
1274
1275 2000-01-24 Richard Henderson <rth@cygnus.com>
1276
1277 * builtins.c (expand_tree_builtin): Move ...
1278 * c-common.c (expand_tree_builtin): ... here.
1279
1280 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1281
1282 * loop.h (LOOP_INFO): New accessor macro.
1283 * basic-block.h (struct loop): Rename field `info' to `aux'.
1284 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
1285 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
1286 * unroll.c (loop_iterations, unroll_loop): Likewise.
1287
1288 2000-01-24 Christopher Faylor <cgf@cygnus.com>
1289
1290 * config/i386/t-cygwin: Accomodate new winsup directory layout
1291 when searching for include files.
1292
1293 2000-01-24 Richard Henderson <rth@cygnus.com>
1294
1295 * rtl.def: Add unordered fp comparisions.
1296 * tree.def: Likewise.
1297 * tree.h: Add ISO C 9x unordered fp comparision builtins.
1298
1299 * builtins.c (expand_tree_builtin): New function.
1300 * c-typeck.c (build_function_call): Use it.
1301 (build_binary_op): Support unordered compares.
1302 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
1303
1304 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
1305 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
1306 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
1307 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
1308 * jump.c (reverse_condition): Don't abort for UNLE etc, but
1309 return UNKNOWN.
1310 (swap_condition): Handle unordered compares.
1311 (thread_jumps): Check can_reverse before reversing.
1312 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
1313 reversed for FP.
1314
1315 * optabs.c (can_compare_p): New argument CODE. Verify branch or
1316 setcc is present before acking for cmp_optab. Update all callers.
1317 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
1318 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
1319 * expr.c (expand_expr): Likewise. Support unordered compares.
1320 (do_jump, do_store_flag): Likewise.
1321 * expr.h (enum libfunc_index): Add unordered compares.
1322
1323 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
1324 (DPBIT_FUNCS): Add _unord_df.
1325 * config/fp-bit.c (_unord_f2): New.
1326 * fp-test.c (main): Try unordered compare builtins.
1327
1328 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
1329 * alpha.c (alpha_comparison_operator): Check mode properly.
1330 (alpha_swapped_comparison_operator): Likewise.
1331 (signed_comparison_operator): Likewise.
1332 (alpha_fp_comparison_operator): New.
1333 (alpha_emit_conditional_branch): Handle unordered compares.
1334 * alpha.h (PREDICATE_CODES): Update.
1335 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
1336 (bunordered, bordered): New.
1337
1338 2000-01-24 Richard Henderson <rth@cygnus.com>
1339
1340 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
1341 * alpha.md (movtf): New expander, insn, and splitter.
1342
1343 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
1344
1345 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
1346 dead registers.
1347
1348 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
1349
1350 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
1351 (FIXED_REGISTERS, CALL_USED_REGISTERS,
1352 REG_ALLOC_ORDER): Add frame pointer
1353 (FRAME_POINTER_REGNUM): Set to 20
1354 (HARD_FRAME_POINTER_REGNUM): New macro.
1355 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
1356 to HARD_FRAME_POINTER.
1357 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
1358 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
1359 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
1360 (HI_REGISTER_NAMES): Add "frame".
1361 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
1362 (debug_reg): Handle FRAME_POINTER_REGNUM.
1363 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
1364 GENERAL_REGS and INDEX_REGS.
1365 * i386.c (SAVED_REGS_FIRST): new macro.
1366 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
1367 (ix86_decompose_address, memory_address_length): Likewise.
1368 (regclass_map): Add frame pointer.
1369 (call_insn_operand): Handle frame_pointer_rtx.
1370 (reg_no_sp_operand): Likewise.
1371 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
1372 (print_operand, legitimize_pic_address): Fix formating.
1373 (ix86_compute_frame_size): Make static, update prototype, new
1374 parameters padding1, padding2, use ix86_nsaved_regs, use
1375 stack_alignment_needed.
1376 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
1377 to HARD_FRAME_POINTER_REGNUM conversions.
1378 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
1379 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
1380 (print_reg): Abort on FRAME_POINTER_REGNUM
1381
1382 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
1383
1384 * i386.h (PREDICATE_CODES): Add aligned_operand.
1385 * i386.c (aligned_operand): New function.
1386 (ix86_aligned_p): Kill.
1387 * i386.md (movhi_1): Emit mov for aligned operands.
1388 (promoting peep2s): Use aligned_operand.
1389
1390 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
1391
1392 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
1393 expression to allow underscores in macro names.
1394 (fix_char_macro_defines): Increment scanning pointer.
1395
1396 2000-01-23 Richard Henderson <rth@cygnus.com>
1397
1398 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
1399 * alpha/osf5.h: New file.
1400 * configure.in (alpha-*-osf5): Add it to tm_file.
1401
1402 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
1403
1404 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
1405 (alpha_emit_xfloating_cvt, function_arg): Declare.
1406 * alpha.c (alpha_emit_conditional_branch): Call
1407 alpha_emit_xfloating_compare for TFmode compares.
1408 (alpha_lookup_xfloating_lib_func): New.
1409 (alpha_compute_xfloating_mode_arg): New.
1410 (alpha_emit_xfloating_libcall): New.
1411 (alpha_emit_xfloating_arith): New.
1412 (alpha_emit_xfloating_compare): New.
1413 (alpha_emit_xfloating_cvt): New.
1414 (print_operand): Add default abort case.
1415 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
1416 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
1417 (BIGGEST_ALIGNMENT): Increase to 128 bits.
1418 (RETURN_IN_MEMORY): True for TF/TCmode.
1419 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
1420 (FUNCTION_ARG): Move to function_arg.
1421 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
1422 (ASM_OUTPUT_LONG_DOUBLE): New.
1423 (ASM_OUTPUT_DOUBLE): Always output bits.
1424 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
1425 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
1426 (extenddftf2, trunctfdf2): New.
1427
1428 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1429
1430 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
1431 * config/sparc/sol2.h: ... here.
1432
1433 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1434
1435 * basic-block.h (struct loops): New field `levels'.
1436 * flow.c (flow_loops_level_compute): Traverse all outer loops.
1437 (flow_loop_level_compute): Initialise level to 1.
1438 (flow_loops_find): Set loops->levels.
1439 (flow_loops_dump): Print loops->levels.
1440
1441 2000-01-23 Richard Henderson <rth@cygnus.com>
1442
1443 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
1444 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
1445
1446 2000-01-23 Richard Henderson <rth@cygnus.com>
1447
1448 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
1449 * i386.h (DBX_REGISTER_NUMBER): Use them.
1450 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
1451 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
1452 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
1453 * i386/sequent.h: Kill incorrect comment.
1454
1455 2000-01-23 Mark Mitchell <mark@codesourcery.com>
1456
1457 * ggc-page.c (struct page_entry): Make `context_depth' an
1458 `unsigned short'.
1459 (struct globals): Likewise.
1460
1461 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
1462
1463 * loop.c (check_dbra_loop): When checking a loop for
1464 reversability, check the source of any stores to ensure
1465 they don't depend on an initial value.
1466
1467 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1468
1469 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
1470
1471 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
1472
1473 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
1474 'pz_scan' into scope of entire function. Only affects
1475 compiles with -DDEBUG.
1476
1477 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
1478
1479 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
1480 section naming to that prior to 2000-01-07 patch.
1481 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
1482 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
1483 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
1484 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
1485 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
1486
1487 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
1488
1489 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
1490 constant.
1491
1492 2000-01-21 Jim Wilson <wilson@cygnus.com>
1493
1494 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
1495 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
1496
1497 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
1498
1499 * cpphash.c (change_newlines): Delete function.
1500 (struct argdata): Delete 'newlines' and 'use_count' fields.
1501 (macroexpand): Remove code referencing those fields.
1502
1503 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1504
1505 * loop.c (loops_info): New variable.
1506 (loop_optimize): Allocate loops->array and free it on exit.
1507 Allocate memory for loops_info and assign to each loop,
1508 replacing alloca.
1509 (find_and_verify_loops): Do not allocate loops->array.
1510
1511 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
1512
1513 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
1514
1515 2000-01-21 Jakub Jelinek <jakub@redhat.com>
1516
1517 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
1518 pseudos if expanded after first flow.
1519 (movdi_pic_label_ref): Likewise.
1520
1521 2000-01-20 Richard Henderson <rth@cygnus.com>
1522
1523 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
1524
1525 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
1526
1527 * Makefile.in (fixinc.sh): Depend on specs.
1528 * fixinc/Makefile.in: Add rule to create machname.h.
1529 (fixlib.o): Depend on machname.h.
1530 * fixinc/fixtests.c (machine_name): New test.
1531 * fixinc/fixfixes.c (machine_name): New fix.
1532 * fixinc/fixlib.c (mn_get_regexps): New helper function for
1533 the machine_name test and fix.
1534 * fixinc/fixlib.h: Prototype it.
1535 * fixinc/inclhack.def (machine_name): Use the C test and fix.
1536 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
1537
1538 * gcc.c (do_spec_1) [case P]: Take care not to create
1539 identifiers with three leading or trailing underscores.
1540
1541 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
1542 (fixincl): Don't specify libraries twice on link line.
1543 (gnu-regex.o): Remove special rule.
1544 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
1545 defined by config.h. Do not define _REGEX_RE_COMP.
1546 (regcomp): Allocate and initialize a fastmap.
1547 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
1548
1549 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
1550
1551 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
1552
1553 2000-01-19 Richard Henderson <rth@cygnus.com>
1554
1555 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
1556 arguments with BB. Update all callers. Tidy line wrapping.
1557
1558 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
1559
1560 * emit-rtl.c (try_split): Return last_insn if we split the
1561 last_insn.
1562
1563 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
1564
1565 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
1566 (ix86_initial_elimination_offset): Declare.
1567 * i386.c (ix86_nsaved_regs): Break out from ...
1568 (ix86_can_use_return_insn_p): ... here.
1569 (ix86_emit_save_regs): Break out from ...
1570 (ix86_expand_prologue): ... here.
1571 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
1572 out from ...
1573 (ix86_expand_epilogue): ... here.
1574 (ix86_compute_frame_size): Make static, add prototype.
1575 (ix86_initial_elimination_offset): Break out from ...
1576 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
1577
1578 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1579
1580 * recog.h (OUT_FCN): Delete.
1581
1582 * vax.md: Call `get_insn_template' instead of OUT_FCN.
1583
1584 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1585
1586 * cppalloc.c: PROTO -> PARAMS.
1587 * cpperror.c: Likewise.
1588 * cppfiles.c: Likewise.
1589 * cpplib.c: Likewise.
1590 * cpplib.h: Likewise.
1591
1592 * config/arm/arm-protos.h: PROTO -> PARAMS.
1593 * config/arm/arm.c: Likewise.
1594 * config/c4x/c4x.c: Likewise.
1595 * config/fr30/fr30-protos.h: Likewise.
1596 * config/nextstep.c: Likewise.
1597 * config/pa/pa.c: Likewise.
1598 * config/pj/pj.c: Likewise.
1599 * config/rs6000/rs6000.c: Likewise.
1600 * config/v850/v850-protos.h: Likewise.
1601 * config/v850/v850.c: Likewise.
1602
1603 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1604
1605 * i370-protos.h: New file.
1606
1607 * i370.c: Include tm_p.h. Fix compile time warnings.
1608
1609 * i370.h: Move prototypes to i370-protos.h. Fix compile time
1610 warnings.
1611
1612 * i370.md: Likewise.
1613
1614 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1615
1616 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
1617 (target_isinf, target_isnan, eisnan): Mark parameter with
1618 ATTRIBUTE_UNUSED.
1619 (eiisinf): Wrap in INFINITY.
1620 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
1621 (ibmtoe): Remove unused variable `rndsav'.
1622
1623 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1624
1625 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
1626 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
1627
1628 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
1629
1630 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
1631 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
1632 (fix_char_macro_defines, fix_char_macro_uses): New functions.
1633
1634 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
1635 Recognize Emacs mode markers also.
1636 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
1637 C++ comments in C++ headers. Call is_cxx_header only if
1638 necessary.
1639
1640 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
1641 bypass for ncurses.
1642 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
1643 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
1644 ... these, which use the new C fixes.
1645 (math_exception): Escape literal '+' in bypass expression.
1646
1647 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
1648 Regenerate.
1649
1650 2000-01-19 Geoff Keating <geoffk@cygnus.com>
1651
1652 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
1653 inside the MEM.
1654
1655 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1656
1657 * loop.c (loop_optimize): Allocate loop_info structure for each loop
1658 prior to calling scan_loop.
1659
1660 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1661
1662 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
1663 (split_branches, calc_live_regs): Likewise.
1664
1665 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1666
1667 * sh.md (fpu_single, fp_mode): New attributes.
1668
1669 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1670
1671 * loop.c (current_loop_info): Renamed from loop_info_data
1672 and changed to a pointer.
1673 (loop_optimize): Allocate loop_info structure for each loop
1674 and initialise to zero.
1675 (scan_loop): Set current_loop_info.
1676
1677 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
1678 on iteration_var.
1679
1680 2000-01-19 Richard Henderson <rth@cygnus.com>
1681
1682 * stupid.c: Die die die.
1683 * Makefile.in (OBJS): Remove stupid.o.
1684 (stupid.o): Likewise.
1685
1686 * except.c (emit_eh_context): Don't emit USEs for stupid.
1687 * explow.c (probe_stack_range): Likewise.
1688 * flags.h (obey_regdecls): Remove.
1689 * flow.c (find_basic_blocks): Don't run try_merge_blocks
1690 when not optimizing.
1691 (life_analysis): Limit data collection when not optimizing.
1692 (mark_regs_live_at_end): Always mark the return value registers.
1693 (mark_used_regs): Remove dummy RETURN case.
1694 (print_rtl_with_bb): Don't consult obey_regdecls.
1695 * function.c (use_variable, use_variable_after): Remove.
1696 (assign_parms): Consult optimize not obey_regdecls.
1697 (expand_function_start): Don't emit USEs for stupid.
1698 (expand_function_end): Likewise.
1699 * global.c (build_insn_chain): Export.
1700 * integrate.c (expand_inline_function): Kill return-value USE
1701 handling code.
1702 * jump.c (jump_optimize_1): Do simple jump optimizations and
1703 dead code elimination.
1704 (calculate_can_reach_end): Remove check_deleted argument.
1705 (delete_insn): Patch out insns even when not optimizing.
1706 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
1707 * rtl.h (use_variable, use_variable_after): Remove declarations.
1708 (build_insn_chain): Declare.
1709 * stmt.c (expand_value_return): Don't emit USEs for stupid.
1710 (expand_end_bindings): Likewise.
1711 (expand_decl): Likewise. Consult optimize not obey_regdecls.
1712 * toplev.c (obey_regdecls): Remove.
1713 (rest_of_compilation): Don't set it. Kill stupid in favour of
1714 flow1, local-alloc, and reload.
1715 (main): Don't set obey_regdecls.
1716
1717 * config/nextstep.c (handle_pragma): Likewise.
1718
1719 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
1720
1721 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
1722
1723 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1724
1725 * alpha-protos.h: PROTO -> PARAMS.
1726 * alpha.c: Likewise.
1727 * elf.h: Likewise.
1728 * h8300.c: Likewise.
1729 * i386-protos.h: Likewise.
1730 * i386.c: Likewise.
1731 * m32r-protos.h: Likewise.
1732 * m32r.c: Likewise.
1733 * mips.c: Likewise.
1734 * mips.md: Likewise.
1735 * gmon-sol2.c: Likewise.
1736 * sparc.c: Likewise.
1737
1738 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1739
1740 * ns32k-protos.h: New file.
1741
1742 * ns32k.c: Fix compile time warnings.
1743
1744 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
1745 warnings.
1746
1747 * ns32k.md: Likewise.
1748
1749 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1750
1751 * vax-protos.h: New file.
1752
1753 * vax.c: Fix compile time warnings.
1754
1755 * vax.h: Move prototypes to vax-protos.h. Fix compile time
1756 warnings.
1757
1758 * vax.md: Likewise.
1759
1760 * vaxv.md: Likewise.
1761
1762 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1763
1764 * romp-protos.h: New file.
1765
1766 * romp.c: Fix compile time warnings.
1767
1768 * romp.h: Move prototypes to romp-protos.h. Fix compile time
1769 warnings.
1770
1771 * romp.md: Likewise.
1772
1773 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1774
1775 * we32k-protos.h: New file.
1776
1777 * we32k.c: Fix compile time warnings.
1778
1779 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
1780 warnings.
1781
1782 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1783
1784 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
1785
1786 * except.c (eh_regs): Likewise.
1787
1788 * final.c (output_operand): Likewise.
1789
1790 * fold-const.c (target_isinf, target_isnan): Likewise.
1791
1792 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
1793
1794 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
1795 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
1796
1797 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
1798 when optimize_size.
1799 (clrstrsi): Rewrite.
1800 (strsethi, strsetqi): New expanders.
1801 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
1802 (cmpstrsi): Emit compare insn before cmpstrsi_1
1803 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
1804 (strlensi_1): Likewise.
1805 (cmpstrsi_1): Likewise; do not output compare.
1806 (strlen expander): Do not unroll when optimizing for size.
1807 (*subsi3_carry): Rename to subsi3_carry
1808 (addqi3_cc): New pattern.
1809 * i386.h (processor_costs): Add move_ratio field.
1810 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
1811 * i386.c (*_cost): Set move_ratio.
1812 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
1813 (x86_expand_strlensi_1): Rewrite the main loop.
1814
1815 2000-01-17 Richard Henderson <rth@cygnus.com>
1816
1817 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
1818 * cse.c (find_comparison_args, fold_rtx): Likewise.
1819 * integrate.c (subst_constants): Likewise.
1820 * loop.c (get_condition): Likewise.
1821
1822 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
1823
1824 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
1825
1826 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
1827
1828 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
1829 (RESTORE_WARN_FLAGS): Unpack it.
1830 Change semantic type of extension to ttype.
1831 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
1832 * c-parse.y, c-parse.c, objc/objc-parse.y,
1833 objc/objc-parse.c: Regenerate.
1834
1835 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
1836
1837 * fixinc/fixlib.c: Add copyright notice.
1838 (compile_re): New function.
1839 * fixinc/fixlib.h: Prototype compile_re.
1840
1841 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
1842 Use compile_re to compile regular expressions.
1843
1844 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
1845 where the pattern matched.
1846
1847 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
1848 use 'replace'.
1849 (ultrix_ansi_compat): Likewise.
1850 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
1851 add egrep test.
1852 (interactv_add2, interactv_add3): Delete.
1853 (x11_sprintf): Don't use filename glob.
1854 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
1855 Regenerate.
1856
1857 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1858
1859 * print-rtl.c: PROTO -> PARAMS.
1860 * real.c: Likewise.
1861 * reg-stack.c: Likewise.
1862 * resource.c: Likewise.
1863 * sdbout.h: Likewise.
1864 * simplify-rtx.c: Likewise.
1865 * stor-layout.c: Likewise.
1866 * stupid.c: Likewise.
1867 * xcoffout.c: Likewise.
1868 * xcoffout.h: Likewise.
1869
1870 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1871
1872 * toplev.c: PROTO -> PARAMS.
1873 * toplev.h: Likewise.
1874 * tree.c: Likewise.
1875 * tree.h: Likewise.
1876 * unroll.c: Likewise.
1877 * varasm.c: Likewise.
1878 * varray.c: Likewise.
1879 * varray.h: Likewise.
1880
1881 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1882
1883 * reload.c: PROTO -> PARAMS.
1884 * reload.h: Likewise.
1885 * reload1.c: Likewise.
1886 * reorg.c: Likewise.
1887 * resource.h: Likewise.
1888 * rtl.c: Likewise.
1889 * rtl.h: Likewise.
1890 * rtlanal.c: Likewise.
1891 * sbitmap.h: Likewise.
1892 * sdbout.c: Likewise.
1893 * stack.h: Likewise.
1894 * stmt.c: Likewise.
1895 * system.h: Likewise.
1896
1897 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1898
1899 * machmode.h: PROTO -> PARAMS.
1900 * mbchar.h: Likewise.
1901 * mips-tdump.c: Likewise.
1902 * mips-tfile.c: Likewise.
1903 * optabs.c: Likewise.
1904 * output.h: Likewise.
1905 * prefix.c: Likewise.
1906 * profile.c: Likewise.
1907 * protoize.c: Likewise.
1908 * real.h: Likewise.
1909 * recog.c: Likewise.
1910 * recog.h: Likewise.
1911 * regclass.c: Likewise.
1912 * regmove.c: Likewise.
1913 * regs.h: Likewise.
1914
1915 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1916
1917 * ggc-common.c: PROTO -> PARAMS.
1918 * ggc-page.c: Likewise.
1919 * ggc-simple.c: Likewise.
1920 * ggc.h: Likewise.
1921 * global.c: Likewise.
1922 * graph.c: Likewise.
1923 * gthr-win32.h: Likewise.
1924 * haifa-sched.c: Likewise.
1925 * halfpic.h: Likewise.
1926 * integrate.c: Likewise.
1927 * integrate.h: Likewise.
1928 * jump.c: Likewise.
1929 * lcm.c: Likewise.
1930 * local-alloc.c: Likewise.
1931 * loop.c: Likewise.
1932 * loop.h: Likewise.
1933
1934 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1935
1936 * genattr.c: PROTO -> PARAMS.
1937 * genattrtab.c: Likewise.
1938 * gencheck.c: Likewise.
1939 * gencodes.c: Likewise.
1940 * genconfig.c: Likewise.
1941 * genemit.c: Likewise.
1942 * genextract.c: Likewise.
1943 * genflags.c: Likewise.
1944 * gengenrtl.c: Likewise.
1945 * genopinit.c: Likewise.
1946 * genoutput.c: Likewise.
1947 * genpeep.c: Likewise.
1948 * genrecog.c: Likewise.
1949
1950 2000-01-16 Mark Mitchell <mark@codesourcery.com>
1951
1952 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
1953
1954 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1955
1956 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
1957 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
1958 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
1959 * configure, config.in: Rebuilt.
1960
1961 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
1962
1963 * config/i386/i386.md: Add peephole to merge successive stack
1964 adjusts.
1965
1966 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
1967
1968 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
1969 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
1970 when walking backwards to find all the parameter loads when
1971 the basic block ends in a call.
1972
1973 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1974
1975 * loop.c (this_loop_info): Delete.
1976 (uid_loop): Add in place of uid_loop_num. All uses updated.
1977 (loop_number_exit_count): Delete and replace with entry in loop
1978 structure. All uses updated.
1979 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
1980 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
1981 (loop_outer_loop): Likewise.
1982 (loop_invalid, loop_number_exit_labels): Likewise.
1983 (loop_used_count_register): Delete and replace with entry in
1984 loop_info structure.
1985 (find_and_verify_loops): Add loops argument.
1986 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
1987 loop_end, etc. arguments with loop structure pointer. All callers
1988 changed.
1989 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
1990 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
1991 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
1992 (insert_bct): Likewise.
1993 (basic_induction_var): New argument level.
1994 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
1995 vtop, and cont. Add used_count_register.
1996 (uid_loop): Delete declaration.
1997 (loop_number_exit_count): Likewise.
1998 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
1999 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
2000 (loop_outer_loop, loop_used_count_register): Likewise.
2001 (loop_invalid, loop_number_exit_labels): Likewise.
2002 (unroll_loop): Replace loop_start and loop_end arguments
2003 with loop structure pointer.
2004 (loop_precondition_p, loop_iterations): Likewise.
2005 Include basic-block.h.
2006 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
2007 with loop structure pointer.
2008 (loop_precondition_p, loop_iterations): Likewise.
2009 * basic-block.h (struct loop): New entries vtop, cont,
2010 cont_dominator, start, end, top, scan_start, exit_labels,
2011 exit_count.
2012 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
2013
2014 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2015
2016 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
2017
2018 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
2019
2020 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
2021
2022 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2023
2024 * pdp11-protos.h: New file.
2025
2026 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
2027 time warnings.
2028
2029 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
2030 warnings.
2031
2032 * pdp11.md: Likewise.
2033
2034 * 2bsd.h: Likewise.
2035
2036 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2037
2038 * mn10300-protos.h: New file.
2039
2040 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
2041 time warnings.
2042
2043 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
2044 warnings.
2045
2046 * mn10300.md: Likewise.
2047
2048 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2049
2050 * mn10200-protos.h: New file.
2051
2052 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
2053 time warnings.
2054
2055 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
2056 warnings.
2057
2058 * mn10200.md: Likewise.
2059
2060 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2061
2062 * h8300-protos.h: New file.
2063
2064 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
2065 time warnings.
2066
2067 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
2068 warnings.
2069
2070 * h8300.md: Likewise.
2071
2072 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2073
2074 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
2075 (asm_emit_uninitialised): Likewise.
2076
2077 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
2078
2079 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
2080 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
2081
2082 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
2083
2084 * config/mips/mips.c (override_options): Don't turn on extra
2085 alignment for mips16.
2086
2087 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
2088
2089 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
2090 eabi, and make sure queued POSTINCREMENT rtl is emitted at
2091 the right point.
2092
2093 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
2094
2095 * builtins.c (PAD_VARARGS_DOWN): Define.
2096 (std_expand_builtin_va_arg): Use the above macro.
2097 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
2098 * tm.texi (Register Arguments): Document the above macro.
2099
2100 2000-01-14 Nick Clifton <nickc@cygnus.com>
2101
2102 * emit-rtl.c (emit_insn): If checking is enabled, make sure
2103 that this function has not been used to emit a jump
2104 instruction.
2105
2106 * jump.c (return_jump_1): Cope with being passed a null rtx.
2107
2108 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2109
2110 * eh-common.h: PROTO -> PARAMS.
2111 * emit-rtl.c: Likewise.
2112 * errors.c: Likewise.
2113 * errors.h: Likewise.
2114 * except.c: Likewise.
2115 * except.h: Likewise.
2116 * explow.c: Likewise.
2117 * expmed.c: Likewise.
2118 * expr.c: Likewise.
2119 * expr.h: Likewise.
2120 * final.c: Likewise.
2121 * fix-header.c: Likewise.
2122 * flow.c: Likewise.
2123 * fold-const.c: Likewise.
2124 * function.c: Likewise.
2125 * function.h: Likewise.
2126 * gcc.c: Likewise.
2127 * gcov-io.h: Likewise.
2128 * gcov.c: Likewise.
2129 * gcse.c: Likewise.
2130
2131 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2132
2133 * sh-protos.h: New file.
2134
2135 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
2136 Add static prototypes. Fix compile time warnings.
2137
2138 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
2139 * sh.md: Likewise.
2140 * elf.h: Likewise.
2141
2142 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2143
2144 * arc-protos.h: New file.
2145
2146 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
2147 time warnings.
2148
2149 * arc.h: Move prototypes to arc-protos.h. Fix compile time
2150 warnings.
2151
2152 * arc.md: Likewise.
2153
2154 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2155
2156 * dsp16xx-protos.h: New file.
2157
2158 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
2159 time warnings.
2160
2161 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
2162 warnings.
2163
2164 * dsp16xx.md: Likewise.
2165
2166 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2167
2168 * convex-protos.h: New file.
2169
2170 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
2171 time warnings.
2172
2173 * convex.h: Move prototypes to convex-protos.h. Fix compile time
2174 warnings.
2175
2176 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2177
2178 * elxsi-protos.h: New file.
2179
2180 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
2181 time warnings.
2182
2183 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
2184 warnings.
2185
2186 * elxsi.md: Likewise.
2187
2188 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
2189
2190 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
2191 case for moving from HI/LO/HI_LO_REG. This makes the behavior
2192 match the comment for MIPS16.
2193
2194 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
2195
2196 * flow.c (split_edge): Do not call set_block_for_insn if we
2197 do not have a basic_block_for_insn structure.
2198
2199 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
2200 and destination functions are 32bit aligned within the trampoline.
2201 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
2202 (TRAMPOLINE_ALIGNMENT): Define.
2203
2204 * cse.c (cse_insn): When changing (set (pc) (reg)) to
2205 (set (pc) (label_ref)), verify the change creates a valid insn.
2206
2207 * fr30.c (call_operand): Tighten and rework to match rules for
2208 call RTL expressions.
2209 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
2210 * fr30.md (call patterns): Improve constraints.
2211
2212 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
2213
2214 * fr30.c (fr30_expand_epilogue): Revert last change.
2215 Use emit_jump_insn for the return insn.
2216
2217 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
2218 Stan Cox <scox@cygnus.com>
2219
2220 * predict.c: New file. Preliminary infrastructure work for static
2221 branch prediction and basic block reordering.
2222 * basic-block.h: Add prototype for estimate_probability.
2223 * Makefile.in: Add rules for predict.o.
2224
2225 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
2226
2227 * fixincludes (va_list): Use __not_va_list__ for the dummy.
2228 * fixinc/*: Likewise.
2229
2230 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2231
2232 * cccp.c: PROTO -> PARAMS.
2233 * cexp.y: Likewise.
2234 * collect2.c: Likewise.
2235 * combine.c: Likewise.
2236 * convert.h: Likewise.
2237 * cse.c: Likewise.
2238 * dbxout.c: Likewise.
2239 * dbxout.h: Likewise.
2240 * diagnostic.c: Likewise.
2241 * doprint.c: Likewise.
2242 * dwarf2out.c: Likewise.
2243 * dwarf2out.h: Likewise.
2244 * dwarfout.c: Likewise.
2245 * dwarfout.h: Likewise.
2246 * dyn-string.h: Likewise.
2247
2248 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2249
2250 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
2251 macro conditionals guarding use.
2252
2253 * dwarf2out.c: Include "tm_p.h".
2254
2255 * function.c (locate_and_pad_parm): Mark parameter with
2256 ATTRIBUTE_UNUSED.
2257 (expand_function_end): Likewise for variable `context'.
2258
2259 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
2260
2261 2000-01-13 Nick Clifton <nickc@cygnus.com>
2262
2263 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
2264 register to prevent compile time warnings.
2265
2266 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
2267
2268 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
2269 to avoid -Wtraditional warning.
2270
2271 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2272
2273 * 1750a-protos.h: New file.
2274
2275 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
2276 time warnings.
2277
2278 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
2279 warnings.
2280
2281 * 1750a.md: Likewise.
2282
2283 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2284
2285 * a29k-protos.h: New file.
2286
2287 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
2288 time warnings.
2289
2290 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
2291 warnings.
2292
2293 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2294
2295 * clipper-protos.h: New file.
2296
2297 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
2298 time warnings.
2299
2300 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
2301 warnings.
2302
2303 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2304
2305 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
2306
2307 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
2308
2309 * configure.in (--enable-new-gxx-abi): New option.
2310 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
2311 * Makefile.in (GXX_ABI_FLAG): New variable.
2312 * configure: Regenerate.
2313
2314 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2315
2316 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
2317 * tm.texi (FORCE_STRUCT_BLK): Document.
2318 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
2319
2320 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
2321
2322 * config/ns32k/ns32k.md: Revert Jan 9 change.
2323
2324 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
2325 to a mode-test, if the predicate is address_operand.
2326
2327 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
2328
2329 * combine.c (if_then_else_cond): Be careful about what kinds
2330 of RTL expressions are passed to operand_subword.
2331
2332 * flow.c (split_edge): If we have to insert a new jump, make
2333 sure to associate it with a basic block.
2334
2335 * flow.c (commit_one_edge_insertion): A block with one successor
2336 can end in a JUMP_INSN that is not a simplejump.
2337
2338 2000-01-12 Robert Lipe <robertl@sco.com>
2339
2340 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
2341 (BUILD_VA_LIST_TYPE): Define.
2342 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
2343 with crtstuff.c.
2344
2345 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
2346
2347 * cccp.c (do_pragma): Add cast to (char *).
2348
2349 2000-01-12 Richard Henderson <rth@cygnus.com>
2350 Fred Fish <fnf@be.com>
2351 Jason Merrill <jason@cygnus.com>
2352
2353 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
2354 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
2355 * i386/beos-elf.h, i386/beos-pe.h: New files.
2356
2357 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
2358 * cross-make (SYSTEM_HEADER_DIR): Define using
2359 CROSS_SYSTEM_HEADER_DIR.
2360
2361 * gcc.c (LIBRARY_PATH_ENV): Provide default.
2362 (process_command): Use it.
2363 (main): Likewise. Kill trailing = from env vars.
2364 (build_search_list): Put it back.
2365 * collect2.c (main): Use LIBRARY_PATH_ENV.
2366
2367 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
2368 * toplev.c: Use NEED_DECLARATION_ENVIRON.
2369
2370 * tm.texi (Frame Layout): Document SMALL_STACK.
2371 * c-common.c (c_common_nodes_and_builtins): Check it.
2372
2373 * system.h: Undef alloca after including glibc's <stdlib.h>,
2374 if USE_C_ALLOCA is defined.
2375
2376 * gcc.c (set_input): New fn.
2377 (main): After all input files are compiled, reset the input file
2378 info to the first.
2379
2380 * aclocal.m4 (rindex, index): If already defined, don't attempt
2381 to redefine.
2382
2383 * ginclude/varargs.h: (__va_list__): Define ifndef.
2384 * ginclude/stdarg.h: Likewise.
2385
2386 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
2387 instead of unsigned char.
2388
2389 * hash.h (true, false, boolean): Undef before enum.
2390
2391 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
2392 proper type of "HOST_WIDE_INT *", rather than their natural type of
2393 "unsigned HOST_WIDE_INT *".
2394
2395 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2396
2397 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
2398
2399 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
2400
2401 * regclass.c (choose_hard_reg_mode): Likewise.
2402
2403 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
2404
2405 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
2406
2407 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2408
2409 * c-common.c: PROTO -> PARAMS.
2410 * c-common.h: Likewise.
2411 * c-decl.c: Likewise.
2412 * c-iterate.c: Likewise.
2413 * c-lang.c: Likewise.
2414 * c-lex.c: Likewise.
2415 * c-lex.h: Likewise.
2416 * c-parse.in: Likewise.
2417 * c-pragma.c: Likewise.
2418 * c-pragma.h: Likewise.
2419 * c-tree.h: Likewise.
2420 * c-typeck.c: Likewise.
2421 * objc/objc-act.c: Likewise.
2422 * objc/objc-act.h: Likewise.
2423
2424 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2425
2426 * m88k-protos.h: New file.
2427
2428 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
2429 time warnings.
2430
2431 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
2432
2433 * m88k.md: Likewise.
2434
2435 * tekXD88.h: Likewise.
2436
2437 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2438
2439 * m68k-protos.h: New file.
2440
2441 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
2442 time warnings.
2443
2444 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
2445
2446 * mot3300.h: Likewise.
2447
2448 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
2449
2450 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
2451 extract_bitlst.
2452 (extract_bitlist): Declare bitlen.
2453
2454 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
2455
2456 * cccp.c: Accept and ignore -lang-fortran.
2457
2458 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
2459 qualifiers don't match at any level of pointerness.
2460
2461 2000-01-12 Robert Lipe <robertl@sco.com>
2462
2463 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
2464
2465 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
2466
2467 * reload1.c (reload_reg_unavailable): New static variable.
2468 (reload_reg_free_p): Test it.
2469 (reload_reg_free_for_value_p): Test it instead of
2470 reload_reg_used.
2471 (choose_reload_regs_init): Compute it.
2472
2473 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
2474
2475 * reorg.c (fill_slots_from_thread): Check modified_in_p
2476 before replacing.
2477
2478 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
2479
2480 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
2481 these nodes even if INTERNALS is not set.
2482
2483 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
2484
2485 * gcse.c (delete_null_pointer_checks_1): Cope when
2486 get_condition cannot determine the condition.
2487
2488 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
2489
2490 * toplev.h (set_message_length): Declare.
2491
2492 * diagnostic.c (obstack_chunk_alloc): Define macro.
2493 (obstack_chunk_free): Likewise.
2494 (struct output_buffer): New data structure.
2495 (vmessage): Remove.
2496 (output_maximum_width): New variable.
2497 (doing_line_wrapping, set_message_length, init_output_buffer,
2498 get_output_prefix, output_space_left, emit_output_prefix,
2499 output_newline, output_append, output_puts, dump_output,
2500 vbuild_message_string, build_message_string, build_location_prefix,
2501 voutput_notice, output_printf, line_wrapper_printf,
2502 vline_wrapper_message_with_location): New functions. Implement
2503 automatic line wrapping.
2504 (v_message_with_decl): Make it handle automatic line wrapping.
2505 (v_error_with_file_and_line): Likewise.
2506 (v_warning_with_file_and_line): Likewise.
2507 (announce_function): Likewise.
2508 (default_print_error_function): Likewise.
2509
2510 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
2511
2512 * cpplib.h (struct cpp_options): Change lang_asm to char.
2513 Add lang_fortran.
2514 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
2515 done in cpp_handle_option now.
2516 (initialize_builtins): Take out special case code used only by
2517 __STDC_VERSION__.
2518 (cpp_handle_option): Turn off trigraphs and trigraph warnings
2519 if -traditional. Recognize -lang-fortran and set
2520 lang_fortran, also turn off cplusplus_comments.
2521 (print_help): Document -lang-fortran.
2522 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
2523 lang_asm. Ignore all directives other than `# 123 "file"' if
2524 CPP_PREPROCESSED.
2525 (cpp_get_token): If -traditional, don't recognize directives
2526 unless the # is in column 1.
2527 (parse_string): If lang_fortran or lang_asm, silently
2528 terminate strings ('' or "") at end of line.
2529 Remove unnecessary braces.
2530
2531 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2532 Richard Henderson <rth@cygnus.com>
2533
2534 * resource.c (mark_referenced_resources): Mark a set strict_low_part
2535 as used.
2536 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
2537 strict_low_part when possible.
2538
2539 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2540
2541 * alias.c: PROTO -> PARAMS.
2542 * basic-block.h: Likewise.
2543 * bitmap.c: Likewise.
2544 * bitmap.h: Likewise.
2545 * builtins.c: Likewise.
2546 * c-aux-info.c: Likewise.
2547 * caller-save.c: Likewise.
2548 * calls.c: Likewise.
2549
2550 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2551
2552 * Makefile.in (toplev.o): Depend on regs.h.
2553
2554 * output.h (tdesc_section): Prototype.
2555
2556 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
2557
2558 * sdbout.c: Include "tm_p.h".
2559
2560 * toplev.c: Include "regs.h".
2561
2562 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
2563
2564 * unroll.c (unroll_loop): Add EH support.
2565
2566 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2567
2568 * pa-protos.h: New file.
2569
2570 * pa.c: Include recog.h and tm_p.h.
2571 (compute_zdepwi_operands, compute_movstrsi_length,
2572 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
2573 find_addr_reg, import_milli): Add static prototypes.
2574 (pa_cpu_string, pa_arch_string): Constify a char*.
2575 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
2576 (read_only_operand): Add argument `mode'.
2577 (singlemove_string, output_move_double, output_fp_move_double,
2578 output_block_move, output_and, output_ior, output_ascii,
2579 remove_useless_addtr_insns, milli_names, output_mul_insn,
2580 output_div_insn, output_mod_insn, output_arg_descriptor,
2581 output_cbranch, output_bb, output_bvb, output_dbra, ,
2582 output_millicode_call, output_call, hppa_encode_label,
2583 output_parallel_movb, output_parallel_addb): Constify a char*.
2584 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
2585 (output_parallel_addb): Remove extra arg to `constrain_operands'
2586
2587 * pa.h: Move all prototypes to pa-protos.h.
2588 (pa_cpu_string, pa_arch_string): Constify a char*.
2589 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
2590
2591 * pa.md: Call `function_label_operand' with mode argument.
2592 Likewise for `read_only_operand'.
2593 Fix nesting of parens in call to `symbolic_operand'.
2594
2595 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2596
2597 * i860-protos.h: New file.
2598
2599 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
2600 time warnings.
2601
2602 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
2603
2604 * i860.md: Likewise.
2605
2606 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
2607
2608 * i386.md (movstrsi expander): Rewrite.
2609 (movstrsi_1 insn): Deleted.
2610 (strmovhi, strmovqi expander): New expanders.
2611 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
2612 * i386.c (x86_single_stringop): New global variable.
2613 * i386.h (x86_single_stringop): Declare.
2614 (TARGET_SINGLE_STRINGOP): New macro.
2615
2616 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
2617
2618 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
2619 integer vararg POSTINCREMENT before the destination of the jump
2620 for the hard fp case.
2621 (function_arg_pass_by_reference): Pass a copy of CUM to
2622 FUNCTION_ARG.
2623
2624 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
2625 for CONSTANT_ADDRESS_P above while loop for subreg.
2626
2627 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
2628
2629 * flow.c (propagate_block): When a prologue/epilogue insn
2630 is marked dead, unconditionally clear libcall_is_dead and
2631 insn_is_dead, and only dump rtl if warnings aren't being
2632 suppressed.
2633
2634 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
2635
2636 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
2637 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
2638 (FIXED_REGISTERS): Set dirflag as fixed.
2639 (CALL_USED_REGISTERS): Set dirflag as used.
2640 (REG_ALLOC_ORDER): Set dirflag as last one.
2641 (DIRFLAG_REG): New macro.
2642 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
2643 (HI_REGISTER_NAMES): Add dirflag.
2644 (DEBUF_PRINT_REG): Handle dirflag.
2645 * i386.md (type attribute): New cld and str types.
2646 (length_opcode attribute): Set cld and str to 1.
2647 (memory attribute): Set str to unknown - it is not clear from the
2648 patterns.
2649 (pent_np function unit): Prefixed string operations takes 12 cycles
2650 minimally; cld takes 2 cycles.
2651 (ppro_uops attribute): Str is "many" and cld is "few".
2652 (ppro_p0 unit): Handle cld here.
2653 (k6_alux unit): Handle cld and str types.
2654 (k6_load unit): It is ocupied by str opcodes.
2655 (k6_store unit): It is ocupied by str opcodes.
2656 (athlon_decode): Str is vector decoded.
2657 (athlon_ieu): Handle str and cld.
2658 (cld pattern): New.
2659 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
2660 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
2661 cmpstrsi_nz_1 insn): Do not output cld instruction
2662
2663 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
2664
2665 * gcc.texi (G++ and GCC): Add Java and Chill.
2666 (Bug Critera): Don't list languages.
2667
2668 * gcc.texi (Incompatibilities): No longer claim most C compilers
2669 are K&R.
2670
2671 * gcc.texi (G++ and GCC): Update other front-ends list.
2672
2673 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
2674
2675 * i386.c (ix86_expand_setcc): Fix typo.
2676 (ix86_expand_movcc): Similarly.
2677
2678 * Band-aid until haifa's bitset implementation is nuked.
2679 * haifa-sched.c (extract_bitlst): New parameter for size of the
2680 bitset in bits. All callers changed. Avoid looking at undefined
2681 bits in the bitset.
2682 (edgeset_bitsize): New variable.
2683 (schedule_region): Initialize edgeset_bitsize.
2684
2685 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2686
2687 * Makefile.in (optabs.o): Depend on real.h
2688 (resource.o): Depend on insn-attr.h
2689
2690 * builtins.c (result_vector): Wrap prototype in macro conditions
2691 governing definition and use.
2692
2693 * c-common.c: Include tm_p.h.
2694
2695 * c-lex.c: Likewise.
2696
2697 * elfos.h: Constify a char*.
2698
2699 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
2700 (get_attr_length, shorten_branches, profile_after_prologue): Mark
2701 parameter with ATTRIBUTE_UNUSED.
2702
2703 * fold-const.c (exact_real_inverse): Wrap variable `i' in
2704 CHECK_FLOAT_VALUE.
2705
2706 * haifa-sched.c (schedule_insns): Mark parameter with
2707 ATTRIBUTE_UNUSED.
2708
2709 * optabs.c: Include real.h.
2710
2711 * real.h (ereal_atof): Add prototype arguments.
2712
2713 * resource.c: Include insn-attr.h.
2714
2715 * sdbout.c (sdbout_queue_anonymous_type,
2716 sdbout_dequeue_anonymous_types): Wrap in macro
2717 SDB_ALLOW_FORWARD_REFERENCES.
2718 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
2719 ATTRIBUTE_UNUSED.
2720
2721 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
2722
2723 * stupid.c: Include tm_p.h.
2724
2725 * tree.c (real_value_from_int_cst): Mark parameter with
2726 ATTRIBUTE_UNUSED.
2727
2728 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2729
2730 * i960-protos.h: New file.
2731
2732 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
2733 time warnings.
2734
2735 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
2736
2737 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2738
2739 * combine.c (expand_field_assignment): Do not discard SUBREGs
2740 while computing nonzero_bits.
2741
2742 2000-01-09 Nick Clifton <nickc@cygnus.com>
2743
2744 * config/arm/arm.c: Fix compile time warnings about signed vs
2745 unsigned constants.
2746 * config/arm/arm.h: Fix compile time warnings about signed vs
2747 unsigned constants.
2748
2749 2000-01-09 Philip Blundell <philb@gnu.org>
2750
2751 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
2752 than `ldm' with only one register.
2753 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
2754 only one register.
2755
2756 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
2757 clobbered.
2758
2759 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
2760
2761 * config/ns32k/ns32k.md (load or push effective address): Operand 1
2762 must have SImode.
2763
2764 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2765
2766 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
2767 assignment used as truth value.
2768
2769 * function.c (assign_temp): Mark parameter `dont_promote' with
2770 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
2771 PROMOTE_FOR_CALL_ONLY.
2772
2773 * genrecog.c (write_subroutine): Mark variable `operands' with
2774 ATTRIBUTE_UNUSED.
2775
2776 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
2777 ATTRIBUTE_UNUSED.
2778
2779 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
2780 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
2781
2782 * toplev.c (note_deferral_of_defined_inline_function): Likewise
2783 for `decl'.
2784
2785 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2786
2787 * config/c4x.h: Tidy up comments.
2788 * config/c4x.c: Likewise.
2789
2790 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
2791
2792 * fold-const.c (lshift_double, rshift_double): Handle
2793 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
2794
2795 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2796
2797 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
2798 in prepare_function_start().
2799
2800 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
2801
2802 * config/v850/v850.c (expand_epilogue): Interrupt functions no
2803 longer allocate extra stack for function calls.
2804
2805 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2806
2807 * config/c4x/c4x.md (*subqf3_set): Fix typo.
2808
2809 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2810
2811 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
2812
2813 2000-01-07 David Edelsohn <edelsohn@gnu.org>
2814
2815 * rs6000.c (processor_target_table): Add power3 as alias for 630.
2816 * aix43.h: Revert Aug 2 change.
2817 (HAS_INIT_SECTION): Define, not visible yet.
2818 (LD_INIT_SWITCH): Define, not visible yet.
2819 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
2820
2821 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
2822
2823 * collect2.c (main): Expand ld2 size further.
2824 (export_object_lst): Cast assignment to avoid warning.
2825 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
2826 (scan_prog_file, COFF): Do not collect initialization or
2827 finalization functions generated for entire shared object if
2828 init/fini support present.
2829
2830 2000-01-07 Nick Clifton <nickc@cygnus.com>
2831
2832 * config/elfos.h: Tidy up formatting of marcos. Make sure
2833 that .section directives are always prefixed by a tab.
2834
2835 * config/svr4.h: Add #include "elfos.h" and remove duplicate
2836 definitions.
2837
2838 2000-01-07 Matt Austern <austern@sgi.com>
2839
2840 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
2841 expon.
2842
2843 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
2844
2845 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
2846 crtstuff.c.
2847 (crtbegin.o, s-crtS): Likewise.
2848
2849 2000-01-06 Richard Henderson <rth@cygnus.com>
2850
2851 * alpha.md (adddi_2+1): Limit offset such that it will be
2852 loadable with a single ldah+lda pair.
2853 (adddi_2+2): Explicitly fail split if we can't make it work.
2854
2855 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
2856
2857 * protoize.c: Conditionally include unistd.h.
2858 (IS_SAME_PATH_CHAR): New macro.
2859 (IS_SAME_PATH): New macro.
2860 (CPLUS_FILE_SUFFIX): New macro.
2861 (cplus_suffix): New static variable.
2862 (is_abspath): New static function.
2863 (in_system_include_dir): Handle DOS style pathnames.
2864 (file_could_be_converted): Likewise.
2865 (file_normally_convertible): Likewise.
2866 (directory_specified_p): Likewise.
2867 (file_excluded_p): Likewise.
2868 (abspath): Likewise.
2869 (shortpath): Likewise.
2870 (referenced_file_is_newer): Likewise.
2871 (save_def_or_dec): Likewise.
2872 (do_processing): Likewise.
2873 (main): Likewise.
2874 (edit_file): Likewise. Use rename instead of link.
2875 (rename_c_file): Likewise. Don't rename syscalls file.
2876 (munge_compile_params): Define null device for DOS based systems.
2877 (process_aux_info_file): Use binary mode if appliable.
2878 (edit_file): Likewise.
2879 * invoke.texi (Running Protoize): Document C++ suffixes used.
2880
2881 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
2882 IS_DIR_SEPARATOR macros.
2883 * collect2.c: Likewise.
2884 * cppinit.c: Likewise.
2885 * dwarf2out.c: Likewise.
2886 * gcc.c: Likewise.
2887 * gcov.c: Likewise.
2888 * prefix.c: Likewise.
2889 * rtl.c: Likewise.
2890 * toplev.c: Likewise.
2891 * system.h: And move to here.
2892
2893 * prefix.c (update_path): Fix typo in variable name.
2894
2895 2000-01-06 Richard Henderson <rth@cygnus.com>
2896
2897 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
2898 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
2899 (count_reg_sets_1, count_reg_references): Likewise.
2900 (flow_loops_level_compute): Start counting actual loop depth at 1.
2901 (flow_loops_find): Likewise.
2902 * local-alloc.c (update_equiv_regs): Likewise.
2903 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
2904
2905 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
2906
2907 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
2908 FIRST_PSEUDO_REGISTER
2909 * dwarf2out.c: Don't include frame.h
2910 * dwarfout.c: Likewise
2911 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
2912 frame.h
2913
2914 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
2915
2916 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
2917 dead registers.
2918
2919 * i386.c (movsf splitter): Fix typo in my last checkin.
2920
2921 2000-01-05 Nick Clifton <nickc@cygnus.com>
2922
2923 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
2924 own definition of this macro.
2925 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
2926 flag_data_sections or UNIQUE_SECTION_P are true.
2927
2928 * tm.texi (UNIQUE_SECTION): Document that it can be called for
2929 unitialised data decls.
2930
2931 * config/i386/winnt.c (i386_pe_unique_section): Cope with
2932 being called for uninitialised data.
2933
2934 * config/i386/interix.c (i386_pe_unique_section): Cope with
2935 being called for uninitialised data.
2936
2937 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
2938 for uninitialised data.
2939
2940 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
2941 for uninitialised data.
2942
2943 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
2944 for uninitialised data.
2945
2946 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
2947 (UNIQUE_SECTION_P): Always generate a unique section if
2948 flag_data_sections is true.
2949 (UNIQUE_SECTION): Also generate unique sections for
2950 uninitialised data.
2951 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
2952 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
2953 named_section().
2954
2955 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2956
2957 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
2958 SI, or DI.
2959
2960 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2961
2962 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
2963 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
2964 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
2965 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
2966 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
2967
2968 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
2969
2970 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
2971
2972 * c-decl.c (finish_enum): Simplify code to determine minimum and
2973 maximum values of the enum, and calculate the type. Remove check
2974 for FUNCTION_DECLs in the values list, which cannot happen. Replace
2975 the DECL_INITIAL of each enumeration constant with a copy converted
2976 to the enumeration type. When updating variant types, don't bother
2977 updating the type itself.
2978
2979 * c-typeck.c (build_binary_op): Simplify conditional expressions
2980 when weeding out spurious signed-unsigned warnings. Add new
2981 spurious warning category: if the unsigned quantity is an enum
2982 and its maximum value fits in signed_type(result_type). Update
2983 commentary.
2984 (build_conditional_expr): Warn here if one alternative is signed
2985 and the other is unsigned.
2986
2987 2000-01-05 Nick Clifton <nickc@cygnus.com>
2988
2989 * config/fr30/fr30.h: Remove extraneous comments.
2990
2991 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
2992
2993 * reload1.c (choose_reload_regs): When disabling a reload, also
2994 set reload_spill_index to -1.
2995
2996 2000-01-04 Joel Sherrill (joel@OARcorp.com>
2997
2998 * configure.in (m68*-*-rtemscoff*): New target, formal name for
2999 old m68*-*-rtems*.
3000 (m68*-*-rtemself*): New target.
3001 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
3002 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
3003 (sparc*-*-rtemself*): New target.
3004 (sparc*-*-rtems*): Now elf not a.out.
3005 * config/i386/rtems.h: Include config/rtems.h.
3006 * config/i386/rtemself.h: Include config/rtems.h.
3007 * config/i960/rtems.h: Include config/rtems.h.
3008 * config/m68k/rtems.h: Include config/rtems.h.
3009 * config/m68k/rtemself.h: Include config/rtems.h.
3010 * config/mips/rtems64.h: Include config/rtems.h.
3011 * config/pa/rtems.h: Include config/rtems.h.
3012 * config/rs6000/rtems.h: Include config/rtems.h.
3013 * config/sh/rtems.h: Include config/rtems.h.
3014 * config/sh/rtemself.h: Include config/rtems.h.
3015 * config/sparc/rtems.h: Include config/rtems.h.
3016 * config/sparc/rtemself.h: Include config/rtems.h
3017
3018 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
3019
3020 * final.c (shorten_branches): Correctly compute length of
3021 asms without operands.
3022
3023 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
3024
3025 * configure.in: Add pj target.
3026 * configure: Regenerate.
3027 * config/pj: New directory.
3028 * config/pj/lib1funcs.S: New file.
3029 * config/pj/linux.h: New file.
3030 * config/pj/pj.c: New file.
3031 * config/pj/pj.md: New file.
3032 * config/pj/pjl.h: New file.
3033 * config/pj/t-pj: New file.
3034 * config/pj/xm-pj.h: New file
3035
3036 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
3037
3038 * toplev.c (rest_of_compilation): Run shorten-branches before
3039 reg-stack for now.
3040
3041 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3042
3043 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
3044 macros so that they're consistent with their names.
3045 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
3046 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
3047
3048 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3049
3050 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
3051 modified inadvertently.
3052
3053 2000-01-04 Joel Sherrill <joel@OARcorp.com>
3054
3055 * configure.in (v850*-*-rtems*): New target.
3056 * configure: Regenerate.
3057 * config/v850/rtems.h: New file.
3058
3059 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
3060
3061 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
3062 (__gthread_key_create): Likewise.
3063 (__gthread_key_dtor): Likewise.
3064 (__gthread_once): Fix logic.
3065 (__gthread_key_delete): Cast away constness.
3066
3067 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
3068 * invoke.texi: Document.
3069 * i386/mingw32.h (CPP_SPEC): Use.
3070 (LIBGCC_SPEC): Likewise.
3071 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
3072
3073 2000-01-04 David Edelsohn <edelsohn@gnu.org>
3074
3075 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
3076 (HANDLE_PRAGMA_PACK): Undefine.
3077 (SLOW_UNALIGNED_ACCESS): Define.
3078
3079 2000-01-04 David Edelsohn <edelsohn@gnu.org>
3080
3081 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
3082 to default definition.
3083 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
3084 (store_fixed_bit_field): Call macro with word_mode and alignment.
3085 (extract_bit_field): Call macro with relevant mode and alignment.
3086 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
3087 to default definition.
3088 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
3089 and alignment.
3090 (move_by_pieces_ninsns): Likewise.
3091 (clear_by_pieces): Likewise.
3092 (emit_push_insn): Likewise.
3093 (store_field): Call macro with relevant mode and alignment.
3094 (expand_expr): Likewise.
3095 (expand_expr_unaligned): Likewise.
3096
3097 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
3098 (SLOW_UNALIGNED_ACCESS): Define.
3099 (CASE_VECTOR_MODE): Always use 32-bit offsets.
3100 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
3101 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
3102 (toc_section): Likewise and .toc pseudo-op.
3103 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
3104 64-bit mode.
3105 (TEXT_SECTION_ASM_OP): Likewise.
3106 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
3107 32-bit offsets.
3108
3109 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
3110 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
3111 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
3112 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
3113 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
3114
3115 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
3116
3117 * regclass.c: Revert my Jan 4 change to loop cost computation.
3118
3119 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
3120
3121 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
3122 compilation.
3123
3124 2000-01-04 Stan Cox <scox@cygnus.com>
3125
3126 * haifa-sched.c (build_control_flow): Change unreachable simple
3127 loop test to check if current block has only one predecessor.
3128 (find_rgns): Initialize degree. Use dest as degree index, not src.
3129
3130 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3131
3132 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
3133
3134 * calls.c (expand_call): Likewise for
3135 `old_stack_arg_under_construction'.
3136
3137 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
3138
3139 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
3140 `save_constant'.
3141
3142 * gcc.c (execute): Likewise for `ut' and `st'.
3143
3144 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
3145
3146 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
3147
3148 * jump.c (jump_optimize_1): Likewise for `temp2'.
3149
3150 * local-alloc.c (block_alloc): Likewise for `r1'.
3151
3152 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
3153
3154 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
3155 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
3156
3157 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
3158 and `set2'.
3159
3160 * reload.c (find_reloads): Likewise for `goal_alternative_number'
3161 and `goal_earlyclobber'.
3162
3163 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
3164
3165 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
3166
3167 * stupid.c (stupid_life_analysis): Likewise for `chain'.
3168
3169 * unroll.c (copy_loop_body): Likewise for `copy'.
3170
3171 * varasm.c (output_constructor): Likewise for `byte'.
3172
3173 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
3174
3175 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
3176 all FP constants for constant->reg moves.
3177 (ix86_split_to_parts): Try to convert memory address into immediate
3178 when available in the constant pool.
3179 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
3180 moves.
3181 (LEGITIMATE_CONSTANT_P): Return 1.
3182 * i386.md (pushsf): New splitter to convert constant pool memory
3183 reference to immediate.
3184 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
3185 reload.
3186
3187 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
3188
3189 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
3190 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
3191 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
3192 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
3193 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
3194
3195 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
3196
3197 * ginclude/stdbool.h: Support compilation as C++.
3198
3199 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3200
3201 * fold-const.c (make_range): Don't try to reverse an unbounded range.
3202
3203 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
3204
3205 * regclass.c (regclass): Properly compute loop_cost. Adjust
3206 comments.
3207
3208 * regclass.c: Fix minor whitespace problems.
3209
3210 2000-01-03 Anthony Green <green@cygnus.com>
3211
3212 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
3213 Restore the pic register if required.
3214
3215 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
3216
3217 * c-common.c (format_char_info): Update comment.
3218 (check_format_info): Recognize 'z' modifier in the same way 'Z'
3219 was recognized. Emit warning for formats new in ISO C99 only
3220 if flag_isoc9x is not set.
3221
3222 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
3223
3224 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
3225
3226 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
3227
3228 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
3229 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
3230 (make_compound_operation): Choose cheaper alternative between
3231 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
3232
3233 * regclass.c (op_costs): Remove global variable.
3234 (record_reg_classes): New parameter "op_costs" and "reg_pref".
3235 (record_operand_costs): Break out from ...
3236 (scan_one_insn): ... here.
3237 (dump_regclass): Make dumps nicer.
3238 (regclass): Dump preferrences choosed and changes done during passes.
3239
3240 2000-01-03 Jakub Jelinek <jakub@redhat.com>
3241
3242 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
3243
3244 2000-01-03 Jakub Jelinek <jakub@redhat.com>
3245
3246 * config/sparc/sparc.c (gen_df_reg): New function.
3247 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
3248 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
3249 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
3250 movtf_cc_reg_sp64+1): Use it.
3251
3252 2000-01-02 Mark Mitchell <mark@codesourcery.com>
3253
3254 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
3255 copied LABEL_DECLs.
3256
3257 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
3258
3259 * config/i386/i386.c (ix86_expand_unary_operator): Function
3260 definition made void.
3261 (ix86_expand_binary_operator): Update outdated preceding comment.
3262 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
3263 prototype.
3264
3265 * config/i386/i386.c (override_options): Fix option-name typo.
3266
3267 2000-01-02 Mark Mitchell <mark@codesourcery.com>
3268
3269 * system.h (CEIL): Define.
3270 * builtins.c (CEIL): Remove.
3271 * expmed.c (CEIL): Likewise.
3272 * expr.c (CEIL): Likewise.
3273 * stor-layout.c (CEIL): Likewise.
3274
3275 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3276
3277 * expr.c (store_constructor_field): Fix typo introduced with last
3278 gcc2 merge.
3279
3280 2000-01-01 Mark Mitchell <mark@codesourcery.com>
3281
3282 * tree.h (BINFO_N_BASETYPES): New macro.
3283
3284 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
3285
3286 * expmed.c (emit_store_flag): Prevent losing a pending stack
3287 adjust the same way we prevent losing queued increments.
3288
3289 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3290
3291 * function.c (update_temp_slot_address): Handle case where sum of
3292 temporary address plus offset in register is a valid address.
3293
3294 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3295
3296 * genrecog.c (change_state) Corrected typo.
3297
3298 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3299
3300 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
3301 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
3302 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
3303
3304 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
3305
3306 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
3307 case, expand GT comparisons correctly. Fix a comment before this
3308 part of the code.
3309
3310 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3311
3312 * dwarfout.c: Include "frame.h"
3313 * dwarf2out.c: Likewise.
3314 * Makefile.in (dwarfout.o): Depend on frame.h
3315 (dwarf2out.o): Likewise.
3316
3317 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
3318
3319 Restore i386 binary compatibility in Dwarf EH info.
3320 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
3321 value of FIRST_PSEUDO_REGISTER.
3322 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
3323 (struct frame_state): Use DWARF_FRAME_REGISTERS.
3324 * dwarfout.c (output_reg_number): Ditto.
3325 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
3326 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
3327
3328 1999-12-29 Bruce Korb <autogen@linuxbox.com>
3329
3330 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
3331 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
3332 (<hack>_RE_CT): not needed
3333 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
3334 rewritten to scan the file text once only
3335 "template<..." test added
3336 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
3337 (is_cxx_header): declaration added
3338 * fixinc/fixtests.c(is_cxx_header): removed
3339 (apply_fix_p_t): removed
3340 (double_slash_test): is_cxx_header is only called once now
3341 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
3342 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
3343 within the templates.
3344 The borken spelling of "broken" was fixed.
3345 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
3346 The default level depends on FIXINC_DEBUG.
3347
3348 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3349
3350 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
3351 Otherwise provide a declaration for atexit.
3352 (init_dummy): Make sure dummy call to atexit is nevertheless
3353 called with correct number of args.
3354
3355 * frame.c: Update comments referring to other files.
3356
3357 * libgcc2.c: Likewise.
3358
3359 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3360
3361 * cse.c (free_element, get_element): Remove unused prototypes.
3362
3363 * fold-const.c (extract_muldiv): Initialize variables `op0' and
3364 `op1'.
3365
3366 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
3367 `else' clauses.
3368
3369 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
3370
3371 * configure.in,configure: case arm for mn10200-*-* now sets
3372 float_format=i32 so that float.h will correctly claim "double"
3373 to be 32 bits. Ran autoconf to generate configure from .in file.
3374
3375 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
3376
3377 * pa.md (conditional zero): If op1 is a register, force it into
3378 the same register as op0.
3379
3380 1999-12-28 Mark Mitchell <mark@codesourcery.com>
3381
3382 * tree.h (BINFO_BASETYPES): Improve documentation.
3383
3384 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3385
3386 * configure.in (--enable-checking): Use a more portable `for'
3387 loop syntax.
3388
3389 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3390
3391 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
3392 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
3393
3394 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
3395 Delete files.
3396
3397 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
3398 Delete descriptions.
3399
3400 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
3401 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
3402 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
3403 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
3404 xm-svr4.h: Remove all instances of sys_siglist handling.
3405
3406 1999-12-27 Jakub Jelinek <jakub@redhat.com>
3407
3408 * config/sparc/sparc.md (cmp_zero_qi,
3409 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
3410 cmp_zero_extendqidi2_andcc_set): New patterns.
3411
3412 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
3413
3414 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
3415 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
3416 (fpgnulib.c, xfgnulib.c): Add rules.
3417 * m68k/t-mot3300-gas: Likewise.
3418
3419 1999-12-27 Ian Lance Taylor <ian@zembu.com>
3420
3421 * configure.in: Avoid [[ by using test and changequote. Add
3422 changequote required by 1999-12-14 change.
3423 * configure: Rebuild.
3424
3425 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
3426
3427 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
3428
3429 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
3430
3431 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
3432 * flow.c (find_use_as_address): Likewise.
3433 * function.c (fixup_var_refs_1): Likewise.
3434 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
3435 * jump.c (invert_exp, redirect_exp): Likewise.
3436 * loop.c (replace_call_address): Likewise.
3437 (count_nonfixed_reads): Likewise.
3438 * rtlanal.c (modified_between_p): Likewise.
3439 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
3440 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
3441 * unroll.c (remap_split_bivs): Likewise.
3442
3443 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3444
3445 * diagnostic.c (v_message_with_decl): Use .* format specifier
3446 instead of building the format specifier width manually.
3447
3448 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
3449 determining whether to provide a prototype. Remove the
3450 sys_siglist clause in the conditional.
3451
3452 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3453
3454 * fold-const.c (operand_equal_p): Use memcmp to compare string
3455 constants.
3456 Suggested by D. J. Bernstein
3457
3458 1999-12-17 Jakub Jelinek <jakub@redhat.com>
3459
3460 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
3461 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
3462 compiling libgcc2.
3463 * config/mips/mips.h (TARGET_64BIT): Likewise.
3464 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
3465 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
3466 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
3467 dsps. Give routines proper names if SI/DI modes are not used.
3468 * longlong.h: Use DWunion instead of DIunion.
3469
3470 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
3471
3472 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
3473 GC_CHECKING, GC_ALWAYS_COLLECT.
3474 * configure.in: Allow --enable-checking with an argument
3475 listing check modes to enable.
3476 * config.in, configure: Rebuilt.
3477 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
3478 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
3479 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
3480 ENABLE_GC_ALWAYS_COLLECT.
3481 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
3482 throughout.
3483 * tree.h, tree.c: Change ENABLE_CHECKING to
3484 ENABLE_TREE_CHECKING throughout.
3485
3486 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3487
3488 * fold-const.c (fold_truthop): Properly check for FP RHS.
3489
3490 1999-12-24 Mark Mitchell <mark@codesourcery.com>
3491
3492 * toplev.h (note_deferall_of_defined_inline_function): Declare.
3493 * toplev.c (note_deferral_of_defined_inline_function): New
3494 function, split out from ...
3495 (rest_of_compilation): ... here. Use it.
3496
3497 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3498
3499 * expr.c (store_constructor): Don't call clear_storage if size is
3500 variable.
3501
3502 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3503
3504 * Makefile.in (toplev.o): Depend on loop.h.
3505
3506 * dwarfout.c: Include tm_p.h.
3507
3508 * emit-rtl.c (restore_emit_status): Mark parameter with
3509 ATTRIBUTE_UNUSED.
3510
3511 * final.c (final_scan_insn): Likewise.
3512
3513 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
3514 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
3515 flow_depth_first_order_compute, flow_loop_pre_header_find,
3516 flow_loop_tree_node_add, flow_loops_tree_build,
3517 flow_loop_level_compute, flow_loops_level_compute,
3518 flow_loop_outside_edge_p): Add prototypes.
3519 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
3520
3521 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
3522 Mark with ATTRIBUTE_NORETURN.
3523
3524 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
3525
3526 * local-alloc.c (no_conflict_p): Likewise.
3527
3528 * loop.c (insert_bct): Hide definitions of variables with hidden
3529 usage.
3530 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
3531
3532 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
3533 with ATTRIBUTE_UNUSED.
3534 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
3535 (reg_scan): Likewise.
3536
3537 * reload.c (find_reloads): Remove unused variables `changed'.
3538
3539 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
3540 away const-ness.
3541 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
3542 Remove unused variable `insn'.
3543
3544 * toplev.c: Include loop.h.
3545 (report_file_and_line): Remove unnecessary prototype.
3546
3547 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
3548
3549 * unroll.c (biv_total_increment): Likewise.
3550
3551 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3552
3553 * reload1.c (emit_input_reload_insns): Restore old behaviour
3554 wrt. 'special' reloads.
3555
3556 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
3557
3558 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
3559 hash.h. (cse.c): Don't depend on hashtab.h.
3560
3561 * cse.c: Don't include hashtab.h.
3562 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
3563 of dead functions.
3564 * ggc-simple.c: Don't include hash.h.
3565
3566 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
3567
3568 * dwarf2out.c (add_abstract_origin_attribute): Call
3569 gen_abstract_function on our function context.
3570
3571 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
3572
3573 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
3574
3575 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3576
3577 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
3578 case in switch.
3579
3580 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3581
3582 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
3583 constraints to "a!r".
3584
3585 1999-12-21 Mark Mitchell <mark@codesourcery.com>
3586
3587 * Makefile.in (calls.o): Depend on function.h.
3588 (alias.o): Likewise.
3589
3590 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
3591
3592 * reload1.c (emit_reload_insns): Break out code and variables into...
3593 (input_reload_insns, other_input_address_reload_insns,
3594 other_input_reload_insns, input_address_reload_insns,
3595 inpaddr_address_reload_insns, output_reload_insns,
3596 output_address_reload_insns, outaddr_address_reload_insns,
3597 operand_reload_insns, other_operand_reload_insns,
3598 other_output_reload_insns): ... new static variables, and...
3599 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
3600 do_output_reload): ... new functions.
3601
3602 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3603
3604 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
3605
3606 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3607
3608 * md.texi: Add c4x constraints documentation.
3609
3610 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3611
3612 * config/i386/dgux.c (struct option): Rename to
3613 lang_independent_option.
3614 (struct m_options): Add description field.
3615 (output_options): Rename option type, add sep declaration, output
3616 ix86_cpu_string and ix86_arch_string only if set.
3617 (output_file_start): Rename option type.
3618
3619 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
3620
3621 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
3622 stmp-int-hdrs.
3623 (libgcc2.a): Similarly.
3624
3625 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
3626
3627 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
3628 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
3629 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
3630
3631 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
3632
3633 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
3634 Remove redundant initialization of "frexpon" and "expon".
3635
3636 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3637
3638 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
3639
3640 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
3641 (store_constructor_field, expand_expr): Pass new arg.
3642
3643 1999-12-20 Mark Mitchell <mark@codesourcery.com>
3644
3645 * Makefile.in (explow.o): Depend on function.h.
3646
3647 * stor-layout.c (set_sizetype): Fix typo.
3648
3649 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
3650
3651 * function.c (cfun): Renamed from current_function. All users
3652 changed.
3653 * function.h (cfun): Rename declaration as well.
3654
3655 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
3656 to be of type regset_head, not regset. All users changed by adding
3657 address operator.
3658 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
3659
3660 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3661
3662 * config/c4x/rtems.h: New file.
3663
3664 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
3665
3666 * reload1.c (spill_failure): Take class of failed reload as argument
3667 and print it. Caller changed.
3668
3669 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3670
3671 * rs6000.h (SUBTARGET_DEFAULT): New macro.
3672 (TARGET_SWITCHES): Allow subtargets to default switches.
3673 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
3674
3675 1999-12-18 Mark Mitchell <mark@codesourcery.com>
3676
3677 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
3678 in a main program.
3679
3680 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
3681
3682 * cccp.c (main): Define __STDC_VERSION__ as necessary.
3683 * cppinit.c (cpp_handle_option): Likewise.
3684
3685 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
3686 determine when to define.
3687
3688 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
3689
3690 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
3691 cmove with mismatched test and data modes.
3692
3693 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
3694
3695 * c-typeck.c (c_expand_start_case): Don't warn for long switch
3696 in system headers.
3697
3698 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3699
3700 * alias.c: Minor reformatting.
3701 * flow.c: Likewise.
3702 * regs.h: Likewise.
3703 * stor-layout.c: Likewise.
3704 * fold-const.c: Likewise.
3705 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
3706 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
3707 not arg itself.
3708 (size_int_wide): Cache nodes even if garbage collecting.
3709 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
3710 of SAVE_EXPR has no side effects.
3711 * cse.c: Move a comment.
3712 * tree.c: Minor reformatting.
3713 (int_size_in_bytes): Return -1 if constant overflows.
3714
3715 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3716
3717 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
3718
3719 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
3720
3721 * objc/objc-parse.c: Regenerate. This file must be rebuilt
3722 after any change to c-parse.in, even if objc-parse.y didn't
3723 change. Oops.
3724
3725 1999-12-18 David S. Miller <davem@redhat.com>
3726
3727 * toplev.c (rest_of_compilation): Restore BLOCK tree
3728 reconstruction and branch shortening changes lost in
3729 December 18th change.
3730
3731 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
3732
3733 * config/arm/linux-elf.h: Change all instances of
3734 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
3735 * config/arm/uclinux-elf.h: Likewise.
3736
3737 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
3738
3739 * toplev.c (notice, vmessage, v_message_with_file_and_line,
3740 v_message_with_decl, file_and_line_for_asm,
3741 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
3742 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
3743 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
3744 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
3745 pfatal_with_name, fatal_io_error, need_error_newline,
3746 last_error_function, last_error_tick, announce_function,
3747 default_print_error_function, print_error_function,
3748 report_error_function, fnotice, error_with_file_and_line,
3749 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
3750 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
3751 warning_with_decl, warning_for_asm, warning, pedwarn,
3752 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
3753 diagnostic.c
3754 (compile_file): Use fnotice instead of notice. Adjust call.
3755
3756 * diagnostic.c: New file.
3757
3758 * Makefile.in (OBJS): Include diagnostic.o
3759 (diagnostic.o): Define dependence.
3760
3761 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3762
3763 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
3764 Tweak formatting.
3765
3766 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3767
3768 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
3769
3770 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
3771
3772 * fixtests.c (is_cxx_header): New fn, split out of
3773 double_slash_test.
3774 (else_endif_label): Allow "#endif // comment" in C++ headers,
3775 as determined by is_cxx_header.
3776 * fixfixes.c (else_endif_label_fix): Update comment.
3777 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
3778 a tty.
3779 * genfixes: Correct double thinko in commandline parsing.
3780 * hackshell.tpl: Generate correct sh syntax for bypass
3781 entries.
3782
3783 * inclhack.def (all): Whenever an inserted preprocessor
3784 conditional is split over multiple lines, use double
3785 backslashes in this file so the fixed header will be readable.
3786
3787 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
3788 and add bypass entry for correct version of this header.
3789 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
3790 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
3791
3792 (hpux8_bogus_inlines): New fix, split from...
3793 (ultrix_atof_param) ... here.
3794 (math_expression): Add bypass entry keyed to glibc comment
3795 indicating the problem has been dealt with; disable
3796 unnecessary sed operations; update commentary.
3797 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
3798 add select and bypass entries, simplify shell operation.
3799 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
3800
3801 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
3802 ultrix_atof_param): Add select entry.
3803 (stdio_va_list, sunos_mather_decl): Add bypass entry.
3804 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
3805 comments with the fixes they describe.
3806
3807 * c-parse.in (string action): Do not warn about ANSI string
3808 concatenation in system headers. Affects C parser only.
3809 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
3810
3811 1999-12-16 Jakub Jelinek <jakub@redhat.com>
3812
3813 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
3814 compiling libgcc2 the macro depends always on arch cpp defines.
3815
3816 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
3817
3818 * loop.c (insert_loop_mem): Don't record MEMs from inside
3819 EXPR_LISTs.
3820
3821 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
3822
3823 * regclass.c (regclass): Do not use flowgraph when not optimizing.
3824
3825 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
3826 notes too, create one when replacement failed, attempt to simplify
3827 resulting notes.
3828 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
3829 or REG_EQUIV notes.
3830
3831 1999-12-16 Mark Mitchell <mark@codesourcery.com>
3832
3833 * crtstuff.c (__dso_handle): Declare.
3834 (__cxa_finalize): Likewise.
3835 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
3836 non-NULL.
3837
3838 * invoke.texi: Document -fuse-cxa-atexit.
3839
3840 * tree.h (ptr_type_node): Document.
3841 (const_ptr_type_node): Likewise.
3842
3843 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3844
3845 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
3846 (optimize_reg_copy_2): Likewise.
3847 (optimize_reg_copy_3): Likewise.
3848 (fixup_match_2): Likewise.
3849 (regmove_optimize): Likewise.
3850 (fixup_match_1): Liekwise.
3851
3852 * i386.md (HI to SImode promoting splitters): Rewrite.
3853 (pushsf mem peep2): New.
3854 (testhi to andhi peep2): Remove.
3855 * i386.h (x86_promote_QImode): New.
3856 (TARGET_PROMOTE_QImode): New.
3857 (PREDICATE_CODES): Add promotable_binary_operator.
3858 * i386.c (x86_promote_QImode0: New.
3859 (promotable_binary_operator): New.
3860 * i386-protos.h (promotable_binary_operator): New.
3861
3862 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
3863 condition.
3864 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
3865
3866 1999-12-16 Mark Mitchell <mark@codesourcery.com>
3867
3868 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
3869 * function.c (insert_block_after_note): Remove.
3870 (retrofit_block): Likewise.
3871 (identify_blocks): Fix indentation.
3872 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
3873 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
3874 * function.h (insert_block_after_note): Remove prototype.
3875 (retrofit_block): Likewise.
3876 * integrate.c (expand_inline_function): Don't call
3877 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
3878 just expand_start_bindings. Use the block_map to remap old
3879 NOTE_BLOCKs to new ones.
3880 (integrate_decl_tree): Keep track of remapped blocks.
3881 * integrate.h (struct inline_remap): Add block_map.
3882 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
3883 NOTE_BLOCK on the notes.
3884 (expand_start_bindings): Rename to ...
3885 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
3886 (expand_end_bindings): Set NOTE_BLOCK.
3887 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
3888 reconstruct the BLOCK tree.
3889 * tree.h (expand_start_bindings): Macroize. Call ...
3890 (expand_start_bindings_and_block): New function.
3891
3892 1999-12-16 Jakub Jelinek <jakub@redhat.com>
3893
3894 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
3895 to match the format.
3896
3897 1999-12-16 David S. Miller <davem@redhat.com>
3898
3899 * expr.c (emit_move_insn_1): Only emit clobbers if one of
3900 the outputs is a SUBREG.
3901 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
3902 change.
3903
3904 * config/sparc/sparc.c (epilogue_renumber): Add default case
3905 to switch stmt.
3906
3907 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3908
3909 * toplev.c (rest_of_compilation): Run branch shortening after
3910 reg-stack.
3911
3912 * regclass.c (loop_depth): Remove
3913 (scan_one_insn): Do not handle LOOP_NOTE insns.
3914 (regclass): Go through basic blocks and set loop_cost
3915
3916 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
3917
3918 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
3919
3920 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3921
3922 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
3923 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
3924 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
3925
3926 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
3927
3928 * loop.c (insert_loop_mem): Ignore memory clobbers.
3929
3930 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
3931 to (OP A B).
3932
3933 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
3934
3935 * profile.c: Remove redundant #include "output.h".
3936
3937 * h8300.md (HImode preinc peephole): Fix typo.
3938
3939 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
3940
3941 * function.c (retrofit_block): Abort if we don't find a suitable insn.
3942 (insert_block_after_note): Abort if we don't have a previous block.
3943 Remove FN parameter.
3944 * function.h: Adjust.
3945
3946 1999-12-15 Mark Mitchell <mark@codesourcery.com>
3947
3948 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
3949 argument more than once.
3950
3951 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
3952
3953 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
3954
3955 1999-12-15 Jakub Jelinek <jakub@redhat.com>
3956
3957 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
3958
3959 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
3960
3961 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
3962 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
3963 update stack_alignment_needed.
3964 (prepare_function_start): Initialize stack_alignment_needed
3965 * function.h (struct function): Add field stack_alignment_needed.
3966
3967 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3968
3969 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
3970 Handle live_throughout / dead_or_set instead of live_before /
3971 live_after.
3972 (save_call_clobbered_regs): Get register livenessinformation from
3973 chain->live_throughout.
3974 (add_stored_regs): New function.
3975 (insert_restore, insert_save): Add restored / saved registers to
3976 dead_or_set.
3977 * global.c (reg_dies): New parameter chain.
3978 (reg_becomes_live): Third parameter is regs_set now.
3979 Changed all callers.
3980 (reg_dies): New parameter chain. Changed all callers.
3981 (build_insn_chain): Set live_throughout instead of
3982 live_before / live_after.
3983 * reload.h (struct insn_chain): Replace members live_before /
3984 live_after with live_throughout / dead_or_set.
3985 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
3986 instead of live_before / live_after.
3987 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
3988 (order_regs_for_reload, find_reg, finish_spills): Likewise.
3989 (choose_reload_regs_init): Likewise.
3990 * stupid.c (current_chain, find_clobbered_regs): Delete.
3991 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
3992 instead of chain->live_before / chain->live_after.
3993 (mark_hard_ref): New function.
3994 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
3995
3996 1999-12-15 David S. Miller <davem@redhat.com>
3997
3998 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
3999
4000 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4001
4002 * flow.c (calculate_loop_depth): Make global, remove prototype,
4003 rewrite to use new loop infrastructure.
4004 (find_basic_block): Remove calculate_loop_depth call.
4005 * toplev.c (rest_of_compilation): Call find_basic_block.
4006 * output.h (calculate_loop_depth): Declare.
4007
4008 * flow.c (dump_flow_info): Dump loop_depth.
4009 (flow_loops_nodes_find): Increase loop_depth for basic block in the
4010 body.
4011 (flow_loops_find): Initialize the loop_depth for each basic block.
4012
4013 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
4014
4015 * tree.c (decl_function_context): Handle virtual functions.
4016
4017 * tlink.c (scan_linker_output): Don't look in demangled name when
4018 looking for linker output keywords.
4019
4020 * dwarfout.c (output_type): We can defer namespace-scope classes.
4021
4022 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
4023
4024 * regclass.c (record_reg_classes): Update comment for merging
4025 register class preferences in reg->reg copies. Tighten conditions
4026 for merging register class preferences in reg->reg copies.
4027
4028 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
4029
4030 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
4031
4032 1999-12-14 Geoff Keating <geoffk@cygnus.com>
4033
4034 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
4035 (INIT_SECTION_ASM_OP): Delete.
4036 (FINI_SECTION_ASM_OP): Delete.
4037 (STARTFILE_SPEC): Define to hold just crtbegin.o.
4038
4039 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
4040
4041 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
4042 the abstract origin wasn't emitted.
4043
4044 * dwarf2out.c (class_scope_p): New fn.
4045 (gen_subprogram_die): Use it.
4046 (gen_variable_die): Use it. Tweak logic.
4047 (gen_struct_or_union_type_die): Check context_die to determine
4048 if we're function-local.
4049 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
4050
4051 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
4052
4053 * loop.c (check_dbra_loop): Can't reverse a biv that has
4054 maybe_multiple set.
4055
4056 1999-12-14 Nick Clifton <nickc@cygnus.com>
4057
4058 * config/arm/arm.c: Add support for -mcpu=arm720 command line
4059 switch.
4060
4061 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4062
4063 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
4064 for givs made from biv increments.
4065
4066 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
4067
4068 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
4069 * alpha.c (override_options): Recognize -mcpu=ev67.
4070 * alpha.h (CPP_CPU_EV67_SPEC): New.
4071 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
4072 (EXTRA_SPECS): Update.
4073
4074 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
4075
4076 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
4077 appropriate for -lang-c89 and -std=*.
4078 * cppinit.c (cpp_handle_option): Likewise.
4079 (new_pending_define): New, split out from cpp_handle_option.
4080 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
4081 or enable trigraphs for -ansi/-std=*.
4082
4083 * ginclude/stdarg.h (__va_copy): New.
4084 (va_copy): Don't define for C89.
4085
4086 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
4087
4088 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
4089 for long long multiply-accumulate.
4090
4091 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4092
4093 * regclass.c (scan_one_insn): Set loop_cost to 1 when
4094 optimizing for size.
4095
4096 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
4097
4098 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
4099 if something changed. Back out that part of yesterday's changes.
4100
4101 * loop.c (loop_max_reg): New static variable.
4102 (loop_optimize): Initialize it. Eliminate one unnecessary call to
4103 max_reg_num.
4104 (scan_loop): Call reg_scan_update whenever we may have added new
4105 registers, and update loop_max_reg.
4106
4107 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4108
4109 * regclass.c (record_reg_classes): Do not do the copying preferrencing
4110 when source does not die.
4111
4112 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
4113
4114 1999-12-14 Jakub Jelinek <jakub@redhat.com>
4115
4116 * config/sparc/linux64.h (TARGET_LIVE_G0,
4117 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
4118 variants on Linux.
4119 * config/sparc/linux.h (TARGET_LIVE_G0,
4120 TARGET_BROKEN_SAVERESTORE): Likewise.
4121 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
4122 TARGET_BROKEN_SAVERESTORE): Likewise.
4123
4124 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
4125 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
4126 not %g2.
4127 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
4128 as sparc64 block profiling register.
4129 * config/sparc/sparc.c (sparc_override_options): Allow block
4130 profiling with -m32.
4131 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
4132 profiling register.
4133 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
4134 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
4135 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
4136
4137 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
4138 for sparc64.
4139 * config/sparc/sparc.h: Likewise.
4140 * config/sparc/xm-sysv4-64.h: Likewise.
4141 * config/float-sparc.h: Likewise.
4142 * glimits.h: Likewise.
4143 * longlong.h: Likewise.
4144
4145 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
4146 (ASM_IDENTIFY_GCC): Remove.
4147
4148 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
4149
4150 * combine.c (combine_simplify_rtx): Don't make shared rtl.
4151 (simplify_logical): Likewise.
4152
4153 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
4154
4155 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
4156 * cppfiles.c (INO_T_EQ): Likewise.
4157
4158 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
4159
4160 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
4161 * i386/mingw32.h (LIB_SPEC): Likewise.
4162 (STARTFILE_SPEC): Likewise.
4163 * i386/uwin.h (LIB_SPEC): Likewise.
4164 (STARTFILE_SPEC): Likewise.
4165
4166 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
4167 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
4168
4169 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
4170
4171 * combine.c (combine_simplify_rtx): Fix order of checks for
4172 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
4173
4174 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
4175
4176 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
4177 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
4178
4179 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
4180
4181 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
4182 defined.
4183 * regclass.c (inv_reg_alloc_order): New array.
4184 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
4185
4186 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
4187 counted_for_groups, counted_for_nongroups. Add fields rld and
4188 n_reloads.
4189 * reload.c (push_secondary_reload): Don't set nongroup field of
4190 new reloads.
4191 (push_reload): Likewise.
4192 (find_reloads): Delete code to compute nongroup fields.
4193 * reload1.c (reload_insn_firstobj): New static variable.
4194 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
4195 users changed.
4196 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
4197 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
4198 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
4199 functions.
4200 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
4201 functions.
4202 (struct hard_reg_n_uses): Deleted.
4203 (potential_reload_regs): Deleted.
4204 (init_reload): Initialize spilled_pseudos and pseudos_counted.
4205 (reload): Don't try to allocate reload registers if we already know
4206 we have to make another pass. Call select_reload_regs. Free memory
4207 starting with reload_firstobj when starting another pass.
4208 Don't allocate spilled_pseudos.
4209 (calculate_needs_all_insns): Call copy_reloads for an insn that
4210 needs reloads; don't call calculate_needs.
4211 (spill_cost): New static array.
4212 (used_spill_regs_local): New static variable.
4213 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
4214 to compute potential_reload_regs.
4215 (find_reload_regs): Completely rewritten to use find_reg.
4216 (allocate_reload_reg): Don't test counted_for_groups or
4217 counted_for_nongroups. Lose NOERROR arg and code to give an error;
4218 all cllers changed.
4219 (choose_reload_regs): Add fallback code that uses the existing
4220 register allocation from find_reload_regs.
4221
4222 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
4223
4224 * flow.c (create_edge_list): Cast xmalloc return value.
4225
4226 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
4227
4228 * doprnt.c: Remove incorrect comment closure.
4229
4230 * cse.c: Fix a few minor whitespace goofs.
4231
4232 1999-12-13 Don Bowman <don@pixstream.com>
4233
4234 * mips/vxworks.h: Fix problem with comment termination.
4235 (EXTRA_SECTIONS): Add in_sbss.
4236 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
4237
4238 1999-12-12 David S. Miller <davem@redhat.com>
4239
4240 * cse.c (struct cse_reg_info): Add hash_next member,
4241 reorder rest of struct for better packing on 64-bit
4242 hosts.
4243 (cse_reg_info_tree): Kill.
4244 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
4245 REGHASH_FN): New custom pow2 hash mechanism.
4246 (NBUCKETS): Kill.
4247 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
4248 use a pow2 hash table.
4249 (get_cse_reg_info): Rework to use new REGHASH.
4250 (new_basic_block): Likewise, use HASH_SIZE, and inline
4251 free_element call.
4252 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
4253 and inline free_element call.
4254 (lookup_as_function, insert, flush_hash_table, invalidate,
4255 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
4256 invalidate_for_call, use_related_value, find_comparison_args,
4257 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
4258 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
4259 get_element): Kill.
4260
4261 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
4262
4263 * cse.c (cse_basic_block): Free qty_table consistently.
4264
4265 1999-12-12 David S. Miller <davem@redhat.com>
4266 Jakub Jelinek <jakub@redhat.com>
4267
4268 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
4269 SUBREGs by hand, gen the appropriate hard reg directly.
4270 (movtf reg/mem split): Likewise and alter_subreg on destination
4271 if necessary.
4272 (movtf mem/reg split): Similarly.
4273 (movdf_cc_sp64): Rename from hidden pattern.
4274 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
4275 (movtf_cc_sp64, following split): New pattern and splitter.
4276 (movdf_cc_reg_sp64): Rename from hidden pattern.
4277 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
4278 TARGET_HARD_QUAD.
4279 (movtf_cc_reg_sp64, following split): New pattern and splitter.
4280
4281 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
4282
4283 * loop.c (load_mems): Don't hoist written floating point mem
4284 if -ffloat-store.
4285
4286 1999-12-12 Mark Mitchell <mark@codesourcery.com>
4287
4288 * except.h (struct eh_queue): Add `next' pointer.
4289 (struct eh_status): Make x_ehqueue a pointer.
4290 (push_ehqueue): Declare.
4291 (pop_ehqueue): Likewise.
4292 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
4293 pointer.
4294 (expand_fixup_region_end): Likewise.
4295 (expand_leftover_cleanups): Likewise.
4296 (push_ehqueue): Define.
4297 (pop_ehqueue): Likewise.
4298 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
4299 than doing it inline.
4300 (expand_start_all_catch): Adjust now that ehqueue is a
4301 pointer.
4302 (mark_eh_queue): Mark all level of the queue.
4303 (mark_eh_status): Adjust now that ehqueue is a
4304 pointer.
4305 (init_eh_for_function): Allocate ehqueue.
4306 (free_eh_status): Free it.
4307 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
4308 expansion for a fixup.
4309
4310 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4311
4312 * gthr-single.h (__gthread_active_p): Add prototype arguments.
4313
4314 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
4315 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
4316 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
4317 function_ptr, getpagesize, __enable_execute_stack,
4318 __enable_execute_stack, __clear_insn_cache,
4319 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
4320 _cleanup, _exit, __default_terminate, __terminate_func,
4321 __terminate, __empty, __throw, new_eh_context,
4322 eh_context_initialize, eh_context_static, eh_context_specific,
4323 get_eh_context, __get_eh_context, __get_eh_info,
4324 init_reg_size_table, eh_threads_initialize,
4325 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
4326 __unwinding_cleanup, throw_helper, __throw, __rethrow,
4327 __pure_virtual): Add prototype arguments.
4328 (__bb_exit_func): Cast a sizeof to long when comparing against one.
4329 Cast a signed value to unsigned long when comparing against one.
4330 (new_eh_context): Wrap in _GTHREADS macro.
4331 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
4332 declaration.
4333 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
4334 (throw_helper): Initialize variables `handler_p' and `pc_p'.
4335
4336 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4337
4338 * combine.c (record_promoted_value): Remove unused variable
4339 `links2'.
4340
4341 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
4342
4343 * global.c (record_conflicts): Likewise for `j'.
4344
4345 * genoutput.c (output_insn_data): Don't unnecessarily cast away
4346 const-ness.
4347
4348 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4349
4350 * i386-protos.h (output_387_binary_op, output_fix_trunc,
4351 output_fp_compare): Constify a char*.
4352
4353 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
4354 static prototypes.
4355 (override_options, ix86_comp_type_attributes, print_operand,
4356 output_387_binary_op, output_fix_trunc, output_fp_compare):
4357 Constify a char*.
4358 (ix86_sched_reorder): Mark parameter `clock_var' with
4359 ATTRIBUTE_UNUSED.
4360
4361 * i386.h (DEBUG_PRINT_REG): Constify a char*.
4362
4363 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
4364
4365 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
4366 operand, for use in the Java front-end.
4367
4368 1999-12-10 Ben Collins <bcollins@debian.org>
4369
4370 * configure.in: Fix typo for "-64" in 64bit as check.
4371 * configure: Rebuilt.
4372
4373 1999-12-10 Jakub Jelinek <jakub@redhat.com>
4374
4375 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
4376 appropriate.
4377
4378 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4379
4380 * c-parse.in (string): With -Wtraditional, warn if ANSI string
4381 concatenation is utilized.
4382
4383 * invoke.texi (-Wtraditional): Document it.
4384
4385 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4386
4387 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
4388 Cast a ptrdiff_t to long and pass it to printf with %ld.
4389
4390 1999-12-10 Geoff Keating <geoffk@cygnus.com>
4391
4392 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
4393 68881, we have no 68881 registers at all.
4394 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
4395 value in a 68881 register if it is available.
4396
4397 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
4398
4399 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
4400 for long long multiply-accumulate.
4401
4402 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
4403
4404 * loop.c (insert_loop_mem): Undo last change.
4405
4406 1999-12-10 David S. Miller <davem@redhat.com>
4407
4408 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
4409 New functions.
4410 * config/sparc/sparc-protos.h: Add them.
4411 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
4412 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
4413 constraints which use those helpers.
4414 (EXTRA_CONSTRAINT): Use this new macro.
4415 * md.texi: Update sparc target constraints documentation.
4416 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
4417 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
4418 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
4419 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
4420 (movsf high/lo_sum split): Rework for new patterns.
4421 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
4422
4423 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
4424
4425 * c-common.c (c_common_nodes_and_builtins):
4426 Create __builtin_ptrdiff_t and __builtin_size_t.
4427
4428 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
4429
4430 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
4431
4432 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4433
4434 * regclass.c (globalize_reg): Re-instate test that allows
4435 fixed registers to be declared as a variable even after functions
4436 are defined.
4437
4438 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4439
4440 * i386.md (cpu attribute): Add "athlon".
4441 (athlon_decode): New attribute.
4442 (Athlon scheduling units definitions): New.
4443 (fcmp and shld patterns): Set athlon_decode to "vector".
4444 * i386.c (athlon_cost): New.
4445 (m_ATHLON): New.
4446 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
4447 x86_use_sahf): Set for Athlon.
4448 (x86_use_fiop): Unset for Athlon.
4449 (override_options): Define Athlon alignments and "athlon" name.
4450 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
4451 * i386.h (TARGET_ATHLON): New.
4452 (enum processor_type): Add PROCESSOR_ATHLON.
4453 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
4454 for CPU_DEFAULT==5
4455 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
4456
4457 1999-12-09 Andreas Jaeger <aj@suse.de>
4458
4459 * loop.c (record_biv): Declare parameter as int.
4460
4461 * config/i386/i386-protos.h: Declare long_memory_operand.
4462
4463 1999-12-09 Mark Mitchell <mark@codesourcery.com>
4464
4465 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
4466 EXPR_WITH_FILE_LOCATION.
4467
4468 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4469
4470 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
4471 in expander.
4472
4473 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
4474
4475 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
4476 updating code.
4477
4478 1999-12-09 Jakub Jelinek <jakub@redhat.com>
4479
4480 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
4481 default on linux64 again.
4482 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
4483 models for multilibing.
4484 * genmultilib: Accept | as alternative separator within a set in
4485 MULTILIB_OPTIONS.
4486
4487 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
4488
4489 * calls.c (precompute_arguments): Make sure initial_value contains
4490 value pseudo which CSE expects.
4491 * cse.c (struct set): New entry orig_src.
4492 (cse_insn): Set it early on entry, use it for libcall EQUIV note
4493 replacement.
4494
4495 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
4496
4497 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
4498
4499 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
4500
4501 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
4502
4503 1999-12-08 Jakub Jelinek <jakub@redhat.com>
4504
4505 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
4506 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
4507
4508 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
4509 if TARGET_ARCH32.
4510
4511 * longlong.h: Merge in changes from glibc.
4512 Also don't clobber %g2 register in 32bit SPARC assembly, so that
4513 -mno-app-regs libgcc can be compiled.
4514 * libgcc2.c: Add defines so that the updated longlong.h
4515 can be used in libgcc2.a. Also, make sure on most architectures
4516 (at least on all which have optimized code in longlong.h defined
4517 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
4518
4519 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4520
4521 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
4522 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
4523 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
4524 is GNU ld.
4525 * configure: Rebuilt.
4526
4527 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
4528
4529 * alpha.c (secondary_reload_class): For !BWX, sub-simode
4530 outputs require a register.
4531
4532 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
4533
4534 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
4535 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
4536 functions like dptoul will be resolved.
4537 (libgcc2.a): Make sure that the object files from DPBIT are named
4538 differently (prefix `_dp') from those that would be coming from
4539 FPBIT.
4540
4541 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
4542
4543 * configure.in: When target is sparc* and tm_file contains 64,
4544 test for 64bit support in assembler. If not supported, remove
4545 sparc/t-sol2-64 from target-dependent Makefile fragments.
4546 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
4547 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
4548 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
4549 * acconfig.h (AS_SPARC64_FLAG): Added.
4550 * configure, config.in: Rebuilt.
4551 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
4552 support. Use AS_SPARC64_FLAG.
4553
4554 1999-12-07 Jakub Jelinek <jakub@redhat.com>
4555
4556 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
4557 suitable for holding OFmode values so that gcc works with complex
4558 quad long doubles.
4559 (hard_64bit_mode_classes): Likewise.
4560
4561 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
4562 so that it is actually matched.
4563 (sethi_di_medlow): Likewise.
4564
4565 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
4566 as legitimate constant if -mvis.
4567 * config/sparc/sparc.md (movtf): Likewise.
4568 (clear_sf): Use const_double_operand.
4569 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
4570
4571 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
4572 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
4573 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
4574 routines, _Qp_* cannot be handled like that now.
4575 (INIT_TARGET_OPTABS): Likewise.
4576 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
4577 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
4578 sparc_emit_float_lib_cmp if ARCH64 and soft float.
4579 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
4580 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
4581 divtf3, sqrttf3): New expanders.
4582 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
4583 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
4584 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
4585 non-_hq patterns.
4586
4587 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
4588 * configure: Rebuilt.
4589 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
4590 -mcpu is given and we're doing 64bit compiles.
4591
4592 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
4593
4594 * loop.h (struct induction): Add multi_insn_incr.
4595 * loop.c (basic_induction_var): New multi_insn_incr argument.
4596 Set it if we search back through previous insns for the biv.
4597 (record_biv): New multi_insn_incr argument; fill in struct induction.
4598 (strength_reduce): Discard an iv with multiple bivs, any of
4599 which require multiple insns to increment.
4600
4601 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4602
4603 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
4604 documentation.
4605
4606 1999-12-06 David S. Miller <davem@redhat.com>
4607
4608 * combine.c (check_promoted_subreg): Do not conditionalize this upon
4609 PROMOTE_FUNCTION_RETURN.
4610
4611 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
4612
4613 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
4614 and handle REG_UNUSED note on insn.
4615
4616 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
4617 inner_mask instead of mask.
4618
4619 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
4620
4621 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
4622 zero if there was an error.
4623
4624 1999-12-06 Jakub Jelinek <jakub@redhat.com>
4625
4626 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
4627 output string.
4628
4629 * longlong.h: Fix clobbers in SPARC asm statements.
4630
4631 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
4632 valid sethi operations when TARGET_ARCH64.
4633
4634 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
4635 always use move_by_pieces to avoid infinite recursion.
4636 (restore_fixed_argument_area): Likewise.
4637
4638 * combine.c (check_promoted_subreg, record_promoted_value): New
4639 functions.
4640 (combine_instructions): Use them to retain nonzero and sign bit
4641 information after SUBREGs are eliminated by optimizations in
4642 this pass if PROMOTE_FUNCTION_RETURN.
4643
4644 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
4645 .register declaration. Don't use variables with __ prefixes.
4646
4647 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4648
4649 * fold-const.c (optimize_bit_field_compare): Only use one mode
4650 for both RHS and LHS in non-constant case.
4651
4652 1999-12-06 Nathan Sidwell <nathan@acm.org>
4653
4654 * frame.c (start_fde_sort): Only allocate erratic array, if
4655 linear one was allocated. Return allocated flag.
4656 (fde_insert): Only insert, if there's a valid array.
4657 (fde_end_sort): Split, sort and merge if linear and erratic
4658 arrays exist, else just sort linear one.
4659 (search_fdes): New function. Linear search through original fde
4660 structure.
4661 (frame_init): Permit multiple initializations. Cope with
4662 memory shortages.
4663 (find_fde): Fallback on linear search, if failed to sort array.
4664 (__deregister_frame_info): Only free sorted array, if we
4665 allocated it.
4666
4667 1999-12-06 Jakub Jelinek <jakub@redhat.com>
4668
4669 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
4670
4671 1999-12-05 Jakub Jelinek <jakub@redhat.com>
4672
4673 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
4674
4675 1999-12-05 Mark Mitchell <mark@codesourcery.com>
4676
4677 * tree.h (special_function_p): Declare.
4678 * calls.c (special_function_p): Make it global. Don't take `name'
4679 as a parameter. Fix typo in 1999-11-28 change.
4680 (expand_cal): Adjust.
4681
4682 1999-12-04 Mark Mitchell <mark@codesourcery.com>
4683
4684 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
4685 * tree.h (EXPR_WFL_FILENAME): Define in terms of
4686 EXPR_WFL_FILENAME_NODE.
4687 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
4688 the TREE_CHAIN.
4689 * print-tree.c (print_note): Print TREE_PRIVATE and
4690 TREE_PROTECTED.
4691
4692 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
4693 the original die cannot be found.
4694
4695 * varray.h (varray_head_tag): Add elements_used.
4696 (VARRAY_PUSH): New macro.
4697 (VARRAY_POP): Likewise.
4698 (VARRAY_TOP): Likewise.
4699 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
4700 types.
4701 * varray.c (varray_init): Initialize elements_used.
4702 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
4703 (INTEGRATE_H): New variable.
4704 (integrate.o): Depend on INTEGRATE_H.
4705 (unroll.o): Likewise.
4706
4707 * function.h (insert_block_after_note): Declare.
4708 * function.c (insert_block_after_note): Split out from ...
4709 (retrofit_block): ... here.
4710
4711 * stmt.c (expand_fixup): Fix typo in comment.
4712
4713 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4714
4715 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
4716 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
4717 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
4718 (regmove_optimize, fixup_match_1): Likewise.
4719
4720 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4721
4722 * flow.c (flow_loops_dump): Add missing argument when calling
4723 flow_loop_nested_p.
4724
4725 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
4726 Greg McGary <gkm@gnu.org>
4727
4728 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
4729 (init_attributes): Add A_NO_LIMIT_STACK.
4730 (decl_attributes): Handle A_NO_LIMIT_STACK.
4731 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
4732 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
4733 Handle stack bounds checking.
4734 * flags.h (flag_stack_check): Use the word 'probe' rather than
4735 'check', because the flag doesn't actually cause any checking to
4736 be done.
4737 * function.c (expand_function_start): Set
4738 current_function_limit_stack.
4739 * function.h (struct function): Add limit_stack.
4740 (current_function_limit_stack): Define.
4741 * invoke.texi (Code Gen Options): Document new options.
4742 * rtl.h: Declare stack_limit_rtx.
4743 * toplev.c (stack_limit_rtx): New variable.
4744 (decode_f_option): Handle new options -fstack-limit-register=REG,
4745 -fstack-limit-symbol=IDENT, -fno-stack-limit.
4746 (main): Add stack_limit_rtx as GC root.
4747 * tree.h (DECL_NO_LIMIT_STACK): New macro.
4748 (struct tree_decl): New member no_limit_stack.
4749
4750 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
4751 stack_limit_rtx.
4752 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
4753 (conditional_trap+1): Get new mnemonic correct.
4754 (conditional_trap+2): New pattern for DImode traps.
4755
4756 * config/m68k/m68k.c (output_function_prologue): Handle
4757 stack_limit_rtx.
4758 * config/m68k/m68k.md (trap): New insn.
4759 (conditional_trap): New insn.
4760 * md.texi (Standard Names): Document `trap' and
4761 `conditional_trap'.
4762 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
4763 so a cc0 setter doesn't get emitted at some random place in the
4764 function.
4765
4766 * config/i960/i960.md (trap): New insn.
4767 (conditional_trap): New expander.
4768 (conditional_trap+1, conditional_trap+2): New insns for signed
4769 and unsigned cases.
4770 * config/i960/i960.c (i960_function_prologue): Use
4771 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
4772
4773 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
4774 Geoffrey Keating <geoffk@cygnus.com>
4775
4776 * flags.h (warn_padded, warn_packed): Add global var decls.
4777 * toplev.c (warn_padded, warn_packed): Add global var defns.
4778 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
4779 * stor-layout.c (layout_record): Add local variable `type'
4780 to hold often-used TREE_TYPE (field). Add local variable
4781 `unpacked_align' to hold alignment that would be in force
4782 if no `packed' attribute were present. Warn if `packed' attribute
4783 is unnecessary, or even harmful. Warn when gcc inserts padding
4784 to satisfy alignment requirements of members. Use NULL_TREE
4785 when checking whether var_size is set.
4786 * invoke.texi: Document new flags.
4787
4788 1999-12-03 Nathan Sidwell <nathan@acm.org>
4789
4790 * frame.c (fde_split): Reimplement to avoid variable sized array.
4791
4792 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4793
4794 * combine.c (try_combine): Before fixing up LOG_LINKS for the
4795 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
4796
4797 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
4798
4799 * invoke.texi: Document the mips option -mno-crt0
4800
4801 1999-12-02 Mike Karr <mkarr@mathworks.com>
4802
4803 * cccp.c (argdata): Added free_ptr member.
4804 (macroexpand): Initialize free_ptr of each argument. When an
4805 argument's buffers are freed, if the argument's free_ptr corresponds
4806 to a buffer on the input stack, then return the free_ptr to that stack
4807 frame, otherwise, free it.
4808 (macarg): If an argument begins and ends on the same input stack level,
4809 then transfer the free_ptr of that buffer to the argument in case
4810 the stack is popped during the processing of a subsequent argument.
4811
4812 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
4813
4814 * loop.c (note_reg_stored): New function.
4815 (struct note_reg_stored_arg): New structure.
4816 (try_copy_prop): Change to be more conservative; only replace within
4817 one extended basic block and stop replacing if a store to the
4818 replacement reg is seen.
4819
4820 1999-12-02 Nick Clifton <nickc@cygnus.com>
4821
4822 * config/fp-bit.c: Initialise all fields of the NAN
4823 constants.
4824
4825 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
4826 to HANDLE_PRAGMA.
4827
4828 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
4829
4830 * i386.md (extend?f?f2): Force the input into a register, not
4831 the output.
4832
4833 1999-12-01 Jakub Jelinek <jakub@redhat.com>
4834
4835 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
4836 regclass' sake.
4837 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
4838 alternative because setting up 64bit constant is usually costly,
4839 especially when reload is in progress or completed.
4840 (movdf_const_intreg_sp64): Likewise.
4841 (movdf_const_intreg split): Fix building up constants when
4842 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
4843
4844 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
4845
4846 * combine.c (if_then_else_cond): Use const_true_rtx instead of
4847 const1_rtx for return values in EQ/NE comparison against (const_int 0)
4848 case.
4849
4850 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
4851 (asm_file_start): Emit .am33 into assembly file when compiling for
4852 the AM33.
4853 (print_operand_address): Handle POST_INC addresses.
4854 (can_use_return_insn, initial_offset): Check AM33 registers too.
4855 (expand_prologue): Check & save AM33 registers too.
4856 (expand_epilogue): Similarly.
4857 (secondary_reload_class): Handle AM33 specific secondary reloads.
4858 (output_tst): Emit efficient code for the AM33 too.
4859 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
4860 (TARGET_SWITCHES): Add -mam33 switch.
4861 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
4862 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
4863 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
4864 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
4865 (enum reg_class, REG_CLASS_NAMES): Likewise.
4866 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
4867 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
4868 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
4869 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
4870 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
4871 (HAVE_POST_INCREMENT): Define.
4872 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
4873 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
4874 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
4875 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
4876 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
4877 (zero_extend to SI from QI/HI): Likewise.
4878 (sign_extend to SI from QI/HI): Likewise.
4879 (mulsidi3, umulsidi3): New patterns for the AM33.
4880 (tstsi with zero extension from QI/HI): Add AM33 variants.
4881 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
4882 (return_internal_regs, store_movm): Handle new AM33 registers.
4883 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
4884 (LIBGCC, INSTALL_LIBGCC): Likewise.
4885 * invoke.texi: Document new flags.
4886
4887 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
4888
4889 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
4890 (addsi3_carry): Likewise.
4891 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
4892 (sbbsi3_carry): Likewise.
4893 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
4894 (mulhi3): Likewise.
4895 (test?i_1): Ensure that only one operand is memory.
4896 (conditional move patterns): likewise.
4897 (shift and rotate patterns): Rewrite to expander, add
4898 "binary_operator_ok" to the condition.
4899
4900 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
4901 * i386.h (procesor_costs): Add movzbl_load field.
4902 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
4903 non-Q registers, accept DImode registers anywhere.
4904 (Q_CLASS_P): New.
4905 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
4906 * i386.c (*_cost): Set value for movxbl_load field.
4907
4908 * (addsi): New add to lea splitter.
4909 (ashlsi): Likewise.
4910 (lea to add/shift peep2): New.
4911
4912 1999-12-01 Mark Salter <msalter@cygnus.com>
4913
4914 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
4915 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
4916 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
4917
4918 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4919
4920 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
4921 * i386.md (movsi_xor): New.
4922 (movsi_or): New.
4923 (movsi_1, movhi_1, movqi_1): Remove.
4924 (movsi_2): Rename to movsi_1.
4925 (movhi_2): Rename to movhi_1.
4926 (movqi_2): Rename to movqi_1.
4927 (movdi_1): Remove; remove splitter.
4928 (movdi_2): Rename to movdi_1.
4929 (divmodsi4 splitter): Do not emit clobbers for move patterns.
4930 (long move peep2): Do not create QI or HI mode mov0s
4931 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
4932
4933 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
4934 rewrite splitters.
4935
4936 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
4937 (abs?f2_if): Likewise.
4938
4939 1999-11-30 Alex Samuel <samuel@codesourcery.com>
4940
4941 * ggc.h (ggc_test_and_set_mark): New macro.
4942 (ggc_mark_rtx): Use ggc_test_and_set_mark.
4943 (ggc_mark_tree): Likewise.
4944 (ggc_mark_rtvec): Likewise.
4945 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
4946
4947 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
4948
4949 * dwarf2out.c (scope_die_for): Only handle types. Only search for
4950 containing types.
4951 (decl_scope_table): Just an array of trees now.
4952 (push_decl_scope): Simplify.
4953 (dwarf2out_init): Adjust.
4954 (local_scope_p): New fn.
4955 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
4956 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
4957 (gen_typedef_die): Likewise.
4958 (gen_lexical_block_die): Don't call push/pop_decl_scope.
4959 (gen_inlined_subroutine_die): Likewise.
4960 (gen_abstract_function): Set current_function_decl temporarily.
4961 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
4962 Handle block extern declarations. Don't call push/pop_decl_scope.
4963 (gen_decl_die): Fix logic for block externs.
4964
4965 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4966
4967 * calls.c (special_function_p): Remove `realloc' and add `strdup'
4968 to the list of functions which have attribute malloc by default.
4969
4970 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4971
4972 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
4973 integer constant does not match the traditional type, limit the
4974 warnings to cases where the base of the type is ten.
4975
4976 * invoke.texi (-Wtraditional): Document it.
4977
4978 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4979
4980 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
4981 * rs6000.md: Only access a CONST_INT with INTVAL
4982
4983 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
4984
4985 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
4986 (compute_nearerout): Likewise.
4987 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
4988 size_t to unsigned long for formatting.
4989
4990 1999-11-30 Jakub Jelinek <jakub@redhat.com>
4991
4992 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
4993 Allow the user to override call-used/fixed state of %g2-5
4994 registers from the command line (with the exception of %g4 for
4995 embedded model).
4996 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
4997 there is a higher chance of having a leaf function.
4998 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
4999 for ARCH64 which has %ccr register.
5000 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
5001 patterns.
5002 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
5003 insn accept into delay slot any insn which does not use %[ol]
5004 registers. Accept some LO_SUM and shift left by 1 for the normal
5005 restore case.
5006 (output_function_epilogue): Likewise.
5007 (epilogue_renumber): Added argument which inhibits any renumbering
5008 and just tests if the rtx does not use any %[ol] registers.
5009 (output_return): Reflect above change.
5010
5011 1999-11-30 Jakub Jelinek <jakub@redhat.com>
5012
5013 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
5014 aggregate passing for sizes <= 16 bytes.
5015
5016 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
5017
5018 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
5019 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
5020 * reload.c (find_dummy_reload): Likewise.
5021 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
5022 * reload1.c (reload_as_needed): Likewise.
5023 * stupid.c (stupid_find_reg): Likewise.
5024 * tm.texi (Obsolete Register Macros): Delete section.
5025 * gmicro.h: Remove all traces of the two macros.
5026 * i386.h: Likewise.
5027 * m88k.h: Likewise.
5028 * mips.h: Likewise.
5029
5030 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
5031
5032 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
5033 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
5034 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
5035 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
5036 units for the sparclite86x chip.
5037 (flush): Revert October 14th change; add SImode specifically.
5038 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
5039 * invoke.texi: Document it.
5040
5041 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
5042
5043 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
5044 psimode_truncation_operand.
5045
5046 * config/mn10200/mn10200.c (psimode_truncation_operand): New
5047 function. Return true if the operand is either a MEM valid
5048 for a PSImode address or not a MEM at all.
5049
5050 * config/mn10200/mn10200.md (truncsipsi2): Use
5051 psimode_truncation_operand.
5052
5053 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5054
5055 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
5056 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
5057 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
5058 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
5059 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
5060 (flow_loop_level_compute, low_loops_level_compute): Likewise.
5061 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
5062 * basic-block.h: Protect from multiple inclusion.
5063 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
5064 (struct loops, struct loop): Define structures.
5065 * sbitmap.c (sbitmap_a_subset_b_p): New function.
5066 * sbitmap.h: Protect from multiple inclusion.
5067 (sbitmap_a_subset_b_p): Add prototype.
5068 * Makefile.in (LOOP_H): New macro.
5069 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
5070
5071 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
5072
5073 * cppinit.c (CAT): The argument list of this macro may not contain
5074 spaces !
5075
5076 1999-11-29 David S. Miller <davem@redhat.com>
5077
5078 Move quantity tables and register equivalence chains into
5079 per-qty and per-register structure arrays respectively.
5080 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
5081 qty_const_insn, qty_comparison_code, qty_comparison_const,
5082 qty_comparison_qty): Delete, replace with...
5083 (qty_table): this structure table.
5084 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
5085 (reg_eqv_table): this structure table.
5086 (make_new_qty): Add argument MODE. Caller updated.
5087 Update to use qty_table and reg_eqv_table.
5088 (make_regs_eqv, delete_reg_equiv, insert_regs,
5089 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
5090 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
5091 cse_process_notes, cse_main, cse_basic_block): Likewise.
5092
5093 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5094
5095 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
5096 operation if C is negative.
5097 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
5098 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
5099 law for some divisions if constant is negative and change other
5100 divisions to the opposite rounding.
5101
5102 * expr.c (store_constructor_field): If bit position is not multiple
5103 of alignment of TARGET's mode, use BLKmode.
5104
5105 * expr.c (expand_expr_unaligned): Add more code from full case
5106 that is needed when OP0 is in a register.
5107
5108 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5109
5110 * dwarfout.c (field_byte_offset): Size can be zero if there was
5111 an error.
5112
5113 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
5114
5115 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
5116 (associate_trees): Delete unused var TEM.
5117 (extract_muldiv): Delete unused var CANCEL_P.
5118
5119 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
5120 (target_isinf, target_isnan, target_negative): Add return types to
5121 function definitions.
5122
5123 1999-11-29 Bruce Korb <autogen@linuxbox.com>
5124
5125 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
5126 * fixinc/hackshell.tpl: ditto
5127 * fixinc/fixtests.c(double_slash_test): more C++ header testing
5128 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
5129
5130 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
5131
5132 * reload.c (push_reload): When looking for a register to put into
5133 reg_rtx, make sure all hard regs in a multi-reg register are in the
5134 right class and nonfixed.
5135
5136 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
5137 pending_read_insns, pending_write_insns, pending_read_mems,
5138 pending_write_mems, pending_list_length, last_pending_memory_flush,
5139 last_function_call, sched_before_next_call): Move static variables
5140 into a structure.
5141 (bb_ prefixed versions): Replace with single array bb_deps.
5142 (struct deps): New structure.
5143 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
5144 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
5145 argument of type "struct deps *"; use that instead of global
5146 variables. All callers changed.
5147 (init_rgn_data_dependencies): Delete function.
5148 (init_rtx_vector): Delete function.
5149 (init_deps): New function.
5150
5151 (free_pending_lists): Simplify, we always use the bb_deps array even
5152 if only one basic block.
5153 (compute_block_backward_dependences): Likewise.
5154 (schedule_region): Likewise.
5155
5156 (propagate_deps): New function, broken out of
5157 compute_block_backward_dependences.
5158 (compute_block_backward_dependences): Use it.
5159
5160 * alpha.md: Delete useless patterns that tried to work around
5161 register elimination problems.
5162
5163 * unroll.c (loop_iterations): Don't abort if iteration variable
5164 was made by loop.
5165
5166 From Joern Rennecke:
5167 * reload1.c (reloads_conflict): Reverse test comparing operand
5168 numbers when testing for conflict between output/outaddr reloads.
5169
5170 1999-11-29 David S. Miller <davem@redhat.com>
5171
5172 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
5173 arg.
5174 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
5175
5176 1999-11-28 Robert Lipe <robertl@cygnus.com>
5177
5178 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
5179 table from .fini into .dtor.
5180
5181 1999-11-28 Anthony Green <green@cygnus.com>
5182
5183 * tree.h (struct tree_decl): Add malloc_flag.
5184 (DECL_IS_MALLOC): Define.
5185 * c-common.c (attrs): Add A_MALLOC attribute.
5186 (init_attributes): Add this attribute to the table.
5187 (decl_attributes): Handle malloc attribute.
5188 * calls.c (special_function_p): Check for the malloc attribute.
5189 * extend.texi (Function Attributes): Document malloc attribute.
5190
5191 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
5192
5193 * pa.md (reload shift-add patterns): Remove.
5194
5195 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5196
5197 * reorg.c (dbr_schedule) Print more statistics. Corrected
5198 problem when printing info when 3 delay slots are filled.
5199
5200 1999-11-28 Jakub Jelinek <jakub@redhat.com>
5201
5202 * combine.c (setup_incoming_promotions): Pass an outgoing
5203 regno to FUNCTION_ARG_REGNO_P which it expects.
5204
5205 1999-11-28 Andreas Jaeger <aj@suse.de>
5206
5207 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
5208
5209 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
5210
5211 * cccp.c (do_include): Avoid initialization of automatic variable.
5212
5213 * integrate.c (mark_stores): Function definition made void, to match
5214 previous declaration.
5215 * regclass.c (dump_regclass): Ditto.
5216 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
5217
5218 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5219
5220 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
5221 known to be multiple of divisor.
5222
5223 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
5224
5225 * combine.c (try_combine): Add code to try to merge a set of a
5226 two-word pseudo to a constant with a setting of one of those words
5227 to a constant.
5228
5229 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
5230 (split_tree): Completely rework to make more general.
5231 (make_range, fold): Call negate_expr.
5232 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
5233 (fold, associate): Call new split_tree and associate_trees.
5234 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
5235
5236 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
5237
5238 * loop.c (try_copy_prop): Avoid GNU C extension.
5239
5240 1999-11-25 Mark Mitchell <mark@codesourcery.com>
5241
5242 * except.c (init_eh_for_function): Still zero eh_return_context,
5243 eh_return_stack_adjust, and eh_return_handler.
5244
5245 * except.h (eh_status): Adjust documentation for x_protect_list.
5246 (begin_protect_partials): New function.
5247 * except.c (enqueue_eh_entry): Fix formatting.
5248 (get_first_handler): Add consistency check.
5249 (add_partial_entry): Adjust usage of protect_list.
5250 (emit_cleanup_handler): Save and restore ehqueue.
5251 (expand_start_all_catch): Add comment.
5252 (begin_protect_partials): New function.
5253 (end_protect_partials): Adjust usage of protect_list.
5254 (init_eh_for_function): Use xcalloc.
5255
5256 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5257
5258 * c-common.c (check_format_info): Don't call a variadic function
5259 with a non-literal format string.
5260
5261 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
5262
5263 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
5264 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
5265 Likewise.
5266
5267 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
5268 Likewise.
5269
5270 * collect2.c (collect_wait): Likewise.
5271
5272 * dbxout.c (dbxout_type): Likewise.
5273
5274 * gcc.c (do_spec_1): Likewise.
5275
5276 * genemit.c (gen_insn, gen_expand): Likewise.
5277
5278 * genrecog.c (write_switch, write_subroutine): Likewise.
5279
5280 * mips-tfile.c (catch_signal, botch): Likewise.
5281
5282 * print-rtl.c (print_rtx): Likewise.
5283
5284 * toplev.c (default_print_error_function, report_error_function,
5285 _fatal_insn): Likewise.
5286
5287 1999-11-25 Mark Mitchell <mark@codesourcery.com>
5288
5289 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
5290
5291 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5292
5293 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
5294 operations when needed.
5295 * i386.md (fop_?f_comm): New.
5296 (fop_?f_1): Do not accept commutative operands.
5297
5298 1999-11-25 Andreas Jaeger <aj@suse.de>
5299
5300 * config/mips/mips.md (casesi_internal): Add missing brace.
5301
5302 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
5303
5304 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
5305 (splice_child_die): Handle moving a child DIE from the declaration
5306 DIE of a class to its specification.
5307 (gen_struct_or_union_type_die): Use 'complete' consistently.
5308 (gen_decl_die): Generate the virtual context DIE first.
5309 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
5310
5311 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
5312
5313 * config/mips/mips.md (call_value_multiple_interanal1): New.
5314
5315 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
5316
5317 * dwarf2out.c (free_AT, free_die): New fns.
5318 (remove_children): Call them.
5319 (output_line_info): Disable removal of duplicate notes.
5320
5321 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
5322 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
5323 means pretend the type isn't defined.
5324 Don't defer emitting types.
5325 (gen_type_die_for_member): New fn.
5326 (gen_decl_die): Call it.
5327 (splice_child_die): New fn.
5328 (gen_member_die): Call it rather than generate duplicate dies.
5329
5330 Defer emitting information for the abstract instance of an inline
5331 until we either inline it or emit an out-of-line copy.
5332 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
5333 from output_inline_function if DECL_ABSTRACT is also set.
5334 (block_ultimate_origin): Likewise.
5335 (gen_abstract_function): New fn.
5336 (gen_decl_die, gen_inlined_subroutine_die): Call it.
5337 (gen_subprogram_die): An abstract instance is not a declaration
5338 just because it doesn't match current_function_decl. Don't abort
5339 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
5340 has an abstract origin.
5341 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
5342 abstract instance here.
5343
5344 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
5345
5346 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
5347 where we need to reload fpul from a system register.
5348
5349 1999-11-24 Andreas Jaeger <aj@suse.de>
5350
5351 * config/mips/linux.h (CPP_PREDEFINES): Added.
5352 (LINK_SPEC): Remove -Y since this is only needed on sparc.
5353
5354 1999-11-24 Andreas Jaeger <aj@suse.de>
5355
5356 * config/mips/linux.h (TARGET_VERSION): Added.
5357 (HANDLE_SYSV_PRAGMA): Added.
5358 (DEFAULT_VTABLE_THUNKS): Added.
5359
5360 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5361
5362 * local-alloc.c (qty): New structure and static variable.
5363 (qty_phys_reg): Remove, all references changed to qty.
5364 (qty_n_refs): Likewise.
5365 (qty_min_class): Likewise.
5366 (qty_birth): Likewise.
5367 (qty_death): Likewise.
5368 (qty_size): Likewise.
5369 (qty_mode): Likewise.
5370 (qty_n_calls_crossed): Likewise.
5371 (qty_alternate_class): Likewise.
5372 (qty_changes_size): Likewise.
5373 (qty_first_reg): Likewise.
5374 (alloc_qty): Rename variable QTY to QTYNO.
5375 (finf_free_reg): Likewise.
5376 (local_alloc): Allocate qty, do not allocate the removed variables.
5377
5378 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
5379
5380 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
5381 when -membedded-pic is passed.
5382
5383 * config/mips/mips.md (casesi): Handle 64-bit case too.
5384 (casesi_internal_di): New insn.
5385
5386 * config/mips/mips.c (embedded_pic_offset): Always make the
5387 embedded-pic subtractions relative to the name of the current
5388 function by use of the magic string "..CURRENT_FUNCTION".
5389 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
5390
5391 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
5392
5393 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
5394 of (const_int 0), when what we really care about is
5395 whether it's a zero constant anyway.
5396 (div_trap_mips16): Likewise.
5397
5398 1999-11-23 Mark Mitchell <mark@codesourcery.com>
5399
5400 * loop.c (loop_optimize): Always find_loop_tree_blocks and
5401 unroll_block_trees when generating debuggable code.
5402
5403 * tree.h (unsave_expr_1): New function.
5404 (lang_unsave): New variable.
5405 (get_callee_fndecl): New function.
5406 * tree.c (unsave_expr_now_r): New function.
5407 (lang_unsave): Define.
5408 (unsave_expr_1): Likewise.
5409 (unsave_expr_now_r): Split out from unsave_expr_now.
5410 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
5411 call unsave_expr_now_r.
5412 (get_callee_fndecl): Define.
5413
5414 * Makefile.in (gencheck): Don't depend on lang_tree_files.
5415 (gencheck.o): Do depend on lang_tree_files.
5416
5417 * integrate.h (copy_decl_for_inlining): New declaration.
5418 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
5419 (copy_decl_for_inlining): New function.
5420 (integrate_parm_decls): Use it.
5421 (integrate_decl_tree): Likewise.
5422
5423 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
5424
5425 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
5426 the second two from the first.
5427 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
5428 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
5429 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
5430 ISA_HAS_FP4.
5431 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
5432 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
5433 ISA_HAS_FP4.
5434
5435 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
5436
5437 * pa.md (call_internal_symref, call_value_internal_symref): No mode
5438 needed on the address operand.
5439 * pa.c (call_operand_address): Check for the correct mode.
5440
5441 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
5442
5443 * loop.c: Include "basic-block.h".
5444 (try_copy_prop, replace_loop_reg): New functions.
5445 (load_mems): Detect registers that just hold copies of the hoisted
5446 mem, and call try_copy_prop to eliminate them.
5447 * Makefile.in (loop.o): Update dependencies.
5448
5449 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
5450
5451 * Makefile.in (gencheck.o): Depend on gencheck.h.
5452 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
5453 (insn-peep.o): Depend on except.h and function.h.
5454 (insn-attrtab.o): Depend on RECOG_H.
5455 (insn-output.o): Depend on toplev.h and flags.h.
5456 (gengenrtl.o): Depend on real.h.
5457 (gen-protos.o): Depend on cpplib.h and cpphash.h.
5458 Unify all dependencies to be on RECOG_H rather than recog.h.
5459
5460 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5461
5462 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
5463 * configure.in: Try building a bi-arch 32/64-bit compiler on
5464 sparc-*-solaris2.7 and higher.
5465 * configure: Rebuild.
5466
5467 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
5468
5469 * config/freebsd.h: New, FreeBSD architecture independent file.
5470 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
5471 independent pieces.
5472 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
5473 directly by i386/freebsd.h.
5474 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
5475 independent configuration file.
5476 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
5477 directly by i386/freebsd.h.
5478 * configure: Rebuilt.
5479
5480 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
5481 which is in the user's namespace.
5482 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
5483 `i386' which is not in our namespace.
5484
5485 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
5486
5487 * invoke.texi (ARM Options): Add in -mno-alignment-traps
5488
5489 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
5490
5491 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
5492 (add_dwarf_attr, add_child_die): Just push onto the front.
5493 (reverse_die_lists): New fn.
5494 (add_sibling_attributes): Use it.
5495 (push_decl_scope): Reorganize.
5496 (add_name_and_src_coords_attributes): Don't set file and line for
5497 an artificial decl.
5498 (gen_subprogram_die): An artificial function doesn't need to match
5499 file and line.
5500 (gen_compile_unit_die): Return the generated die. Only add
5501 AT_comp_dir if the filename is relative.
5502 (remove_AT): Simplify loop. Also free string values.
5503 (output_die): A DIE ref can't be null.
5504 (output_value_format, value_format): Take a dw_attr_ref.
5505 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
5506 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
5507 AT_addr, AT_lbl): New fns.
5508 (various): Use them.
5509 (various): Constify.
5510
5511 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5512
5513 * combine.c (combine_simplify_rtx): When handling a SUBREG,
5514 take SUBREG_WORD into account.
5515 (if_then_else_cond): Likewise.
5516
5517 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
5518
5519 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
5520 clause from BSD license, pursuant with
5521
5522 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
5523
5524 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
5525
5526 * loop.c (load_mems): Reformat slightly.
5527 * basic-block.h (regset_head): New typedef.
5528 (INIT_REG_SET): New macro.
5529
5530 1999-11-22 Bruce Korb <autogen@linuxbox.com
5531
5532 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
5533 (mips-dec-bsd*): non-functional code
5534 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
5535
5536 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
5537 added three replacement fixes
5538 (no_double_slash): removed comments that are not (any longer) pertinent
5539 (bad_lval): this fix currently runs against many files.
5540 The comment seems to indicate that we should select for files
5541 containing 'pragma extern_prefix'.
5542
5543 * fixinc/fixinc.x86-linux-gnu: deleted
5544 * fixinc/inclhack.sh: regen
5545 * fixinc/fixincl.x: regen
5546 * fixinc/fixincl.sh: regen
5547
5548 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
5549
5550 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
5551 its code is INSN and it has no notes.
5552
5553 1999-11-22 Andrew Haley <aph@cygnus.com>
5554
5555 * varasm.c (function_defined): Remove.
5556 (make_function_rtl): Don't set function_defined.
5557 (make_decl_rtl): Remove global register warning.
5558 * regclass.c (no_global_reg_vars): New variable.
5559 (globalize_reg): Warn if function has already been defined.
5560 (regclass_init): Set no_global_reg_vars.
5561
5562 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5563
5564 * regclass.c (reg_pref): New structure and static variable
5565 (prefclass): Delete.
5566 (altclass): Delete.
5567 (all uses of prefclass and altclass): Use reg_pref instead.
5568
5569 1999-11-21 Nick Clifton <nickc@cygnus.com>
5570
5571 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
5572 -malignment-traps.
5573 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
5574 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
5575 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
5576
5577 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
5578
5579 * varasm.c (output_constructor): Solve problem with long long
5580 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
5581
5582 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
5583
5584 * global.c (allocno): New structure and static variable.
5585 (allocno_reg): Remove, all references replaced by allocno.
5586 (allocno_size): Likewise.
5587 (hard_reg_conflicts): Likewise.
5588 (hard_reg_preferences): Likewise.
5589 (hard_reg_copy_preferences): Likewise.
5590 (hard_reg_full_preferences): Likewise.
5591 (regs_someone_prefers): Likewise.
5592 (allocno_calls_crossed): Likewise.
5593 (allocno_n_refs): Likewise.
5594 (allocno_live_length): Likewise.
5595 (find_reg): Rename ALLOCNO to NUM.
5596
5597 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
5598 references updated.
5599 (may_move_out_cost): New variable.
5600 (init_reg_sets_1): Initialize may_move_out_cost.
5601 (record_reg_classes): Use may_move_out_cost.
5602
5603 * regclass.c (dump_regclass): New function.
5604 (regclass): New parameter DUMP, call DUMP_REGCLASS.
5605 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
5606 pass rtl_dump_file to regclass.
5607 * rtl.h (regclass): Update prototype.
5608
5609 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
5610
5611 * i386.md (neg, not and abs patterns): Revmap to use
5612 ix86_expand_unary_operator and ix86_unary_operator_ok.
5613 (add?f and sub?f expanders): Force operand 1 to register.
5614 * i386.c (ix86_expand_unary_operator): Rewrite.
5615 (ix86_unary_operator_ok): Ensure that memory operands
5616 match real opcode.
5617 (ix86_binary_operator_ok): Do not allow operand 1 to
5618 come into memory and operand 0 not.
5619 (ix86_expand_binary_operator): Ensure that
5620 src1 is not non-matching memory.
5621
5622 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
5623 to support integer registers and memory.
5624 (abss?2_integer): Likewise.
5625
5626 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
5627 (REG_CLASS_NAMES): Likewise.
5628 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
5629 and GENERAL_REGS.
5630 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
5631 (movsf): Likewise; unify 4th and 5th alternative.
5632 (pushdf): Likewise.
5633 (movdf_1): Likewise; rename to movdf_integer.
5634 (pushxf): Likewise; rename to pushxf_integer; fix output template;
5635 remove redundant splitter.
5636 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
5637 (movdf_nointeger): New.
5638 (movxf_nointeger): New.
5639 (pushxf_nointeger): New.
5640
5641 * i386.md (extend?f?f): Split to expander and pattern, refuse two
5642 memory operands in patterns.
5643 (fop*): Refuse two memory operands.
5644
5645 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
5646 on !TARGET_USE_CLTD CPUs.
5647
5648 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
5649
5650 * extend.texi: Document C++ restricted pointers and references.
5651
5652 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
5653
5654 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
5655 (invalidate_skipped_set): Call it unconditionally.
5656 (cse_set_around_loop): Likewise.
5657
5658 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
5659
5660 * rtl.texi (mem): Add documentation for alias-set argument
5661 to RTX `mem'.
5662
5663 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
5664
5665 * i386.h (struct_processor_costs): New fields int_load, int_store,
5666 fp_move, fp_load and fp_store
5667 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
5668 fp->int moves
5669 (MEMORY_MOVE_COST): New macro.
5670 * i386.c (386_cost): Define new fields.
5671 (i486_cost): Likewise.
5672 (pentium_cost): Likewise.
5673 (pentiumpro_cost): Likewise.
5674 (k6_cost): Likewise.
5675
5676 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
5677 Geoffrey Keating <geoffk@cygnus.com>
5678
5679 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
5680
5681 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
5682 MASK_ALIGN_INT.
5683
5684 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
5685 (TARGET_STRICT_ALIGNMENT): New macro.
5686 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
5687 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
5688 * invoke.texi (M680x0 Options): Document -mstrict-align.
5689
5690 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
5691 Richard Henderson <rth@cygnus.com>
5692
5693 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
5694 (ix86_split_long_move): Declare.
5695 * i386.c (split_xf, ix86_split_movdi): Remove.
5696 (ix86_split_to_parts, ix86_split_long_move): New.
5697 * i386.md (dimode move splitters): Use ix86_split_long_move.
5698 (dfmode move splitters): Likewise.
5699 (xfmode move splitters): Likewise.
5700 (movsf_1): Allow F->r.
5701 (movdf_1, movxf_1): Allow F->ro.
5702
5703 1999-11-17 Mark Mitchell <mark@codesourcery.com>
5704
5705 * except.h (struct eh_entry): Add goto_entry_p.
5706 (eh_region_from_symbol): Remove prototype.
5707 * except.c (find_func_region_from_symbol): New function.
5708 (emit_cleanup_handler): Likewise.
5709 (eh_region_from_symbol): Make it static.
5710 (add_new_handler): Verify the argument.
5711 (find_func_region): Update comment.
5712 (expand_eh_region_end): Expand handlers here, rater than waiting
5713 until expand_leftover_cleanups or start_all_catch.
5714 (expand_leftover_cleanups): Don't expand here.
5715 (expand_start_all_catch): Or here.
5716 (expand_rethrow): Check the return value from find_func_region.
5717 * function.c (expand_function_end): Emit the catch_clauses.
5718
5719 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
5720
5721 * integrate.c (expand_inline_function): Add necessary check for NULL.
5722
5723 1999-11-18 Nick Clifton <nickc@cygnus.com>
5724
5725 * toplev.c (main): Correctly detect an unrecognised option.
5726
5727 * cppinit.c (cpp_handle_option): Do not claim to have consumed
5728 a -f option if it has not been recognised.
5729
5730 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
5731
5732 * basic-block.h (update_life_extent): Remove trailing comma on
5733 enumeration type list.
5734
5735 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5736
5737 * varasm.c (output_constructor) Solved problem with long long
5738 bitfields. Corrected calculating this_time and shift. Also
5739 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
5740
5741 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
5742
5743 * flow.c (split_edge): Take looping structure into account when
5744 determining where to put the new block note.
5745
5746 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
5747
5748 * Makefile.in (ggc-none.o): Provide host specific version if
5749 needed.
5750
5751 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
5752
5753 * cse.c (delete_trivially_dead_insns): Identify no-op insns
5754 containing subregs too.
5755
5756 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
5757
5758 * invoke.texi: Add documentation for -muninit-const-in-rodata.
5759 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
5760 (TARGET_UNINIT_CONST_IN_RODATA): Define.
5761 (text_section): Add switches -munint-const-in-rodata and
5762 -mno-uninit-const-in-rodata.
5763 (ASM_OUTPUT_COMMON): Remove.
5764 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
5765 const objects should be placed in read-only data. Otherwise declare
5766 them in common.
5767
5768 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
5769
5770 * jump.c (jump_optimize_1): Revert last change.
5771
5772 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
5773
5774 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
5775 test if optimizing for size.
5776
5777 1999-11-17 Mark Mitchell <mark@codesourcery.com>
5778
5779 * Makefile.in (toplev.o): Depend on except.h.
5780 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
5781
5782 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
5783
5784 * i386.md (divmodsi4): Rewrite to expander.
5785 (*divmodsi4_nocltd): New.
5786 (*divmodsi4_cltd): New.
5787 (divmodsi4 splitter): Handle the case when input comes in edx.
5788 (udivmodhi4): Do not use constraints in exander.
5789 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
5790
5791 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
5792
5793 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
5794 for the common case.
5795
5796 1999-11-16 Jakub Jelinek <jakub@redhat.com>
5797
5798 * explow.c (hard_function_value): Add outgoing argument.
5799 * expr.h (hard_function_value): Declare it.
5800 * calls.c (expand_call, emit_library_call_value): Update callers.
5801 * function.c (aggregate_value_p): Ditto.
5802 (diddle_return_value): Must look at the outgoing registers
5803 on archs with register windows.
5804
5805 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
5806
5807 * alpha.c (alpha_build_va_list): Use make_lang_type and
5808 initialize TYPE_NAME for the va_list record.
5809
5810 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
5811
5812 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
5813 for printing.
5814 * ggc.h (struct ggc_statistics): Rearrange elements for better
5815 packing on 64-bit hosts.
5816 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
5817 (compute_nearerout): Likewise.
5818
5819 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
5820
5821 * config/rs6000/rs6000.c (first_reg_to_save): Save
5822 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
5823
5824 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
5825
5826 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
5827 notion of nesting to find the DIE for a type or function.
5828 DIEs can go in limbo even if we got a context_die.
5829 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
5830 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
5831 for local type.
5832 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
5833 (gen_type_die): Writing out the context doesn't cause member class
5834 template instantiations to be written out as well.
5835
5836 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
5837
5838 * rs6000.h (ASM_OUTPUT_DEF): New.
5839 Based on proposed addition from David Edelsohn.
5840
5841 1999-11-15 Robert Lipe <RobertLipe@usa.net>
5842 Bruce Korb <autogen@linuxbox.com>
5843
5844 * fixinc/inclhack.def
5845 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
5846 (unixware7_byteorder_fix): added. Removes conflicts for new defs
5847 in net/inet.h.
5848 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
5849 (svr4_endian): enabled with SVR5
5850 (svr4_mkdev): simplified syntax and enabled with SVR5
5851
5852 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
5853
5854 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
5855 * configure: Rebuilt.
5856 * config/t-freebsd-thread: New file.
5857
5858 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
5859
5860 * i386.c (ix86_decompose_address): Verify the base is a REG
5861 before trying to examine its register number.
5862
5863 * basic-block.h: Remove all #defines and prototypes related to
5864 integer lists.
5865 (free_bb_mem, compute_preds_succs): Remove prototype.
5866 * rtl.h (free_bb_mem): Remove prototype.
5867 * flow.c (alloc_int_list_node); Remove function.
5868 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
5869 (compute_preds_succs, free_bb_mem): Likewise.
5870 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
5871 * toplev.c (rest_of_compilation): Likewise.
5872 * haifa-sched.c (build_control_flow): Use flow generated edge
5873 list to build the haifa specific edge list.
5874 (find_rgns): Use new CFG data structures instead of pred/succ lists.
5875 (schedule_insns): Do not build pred/succ lists anymore. Instead
5876 build the edge table.
5877
5878 * basic-block.h (dump_bb_data): Remove declaration.
5879 * flow.c (dump_bb_data): Remove function.
5880 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
5881 (sbitmap_union_of_predsucc): Likewise.
5882
5883 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
5884 argument. All callers changed.
5885 (delete_null_pointer_checks_1): No longer need to compute the
5886 pred/succ lists.
5887
5888 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
5889 All callers changed.
5890 (pre_expr_reaches_here_p_work): Likewise.
5891 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
5892 * lcm.c (compute_laterin): Fix initialization of LATER.
5893 (compute_nearerout): Similarly for NEARER.
5894
5895 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5896
5897 * cse.c (set_nonvarying_address_components): Delete unused function.
5898 (refers_to_p): Likewise.
5899
5900 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
5901
5902 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
5903 needed.
5904
5905 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5906
5907 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
5908 definition in do while (0).
5909
5910 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
5911
5912 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
5913
5914 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
5915
5916 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
5917
5918 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
5919
5920 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
5921 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
5922 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
5923 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
5924
5925 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
5926 saved on the stack. Output more accurate stack frame statistics
5927 into assembler file.
5928
5929 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
5930
5931 * genextract.c (record_insn_name): New function.
5932 (get_insn_name): No longer a stub.
5933 (main): Call record_insn_name for each insn. After each label
5934 written, print the insn name in a comment.
5935
5936 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5937
5938 * output.h (const_section, init_section, fini_section): Add
5939 prototypes.
5940
5941 * alpha/elf.h (const_section): Delete declaration.
5942
5943 * svr4.h (const_section): Likewise.
5944
5945 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
5946
5947 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
5948 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
5949 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
5950 expressions.
5951 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
5952 variable-sized array bounds.
5953
5954 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
5955
5956 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
5957 ASM_OUTPUT_LABEL.
5958
5959 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5960
5961 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
5962 addresses the same way GO_IF_LEGITIMATE_INDEX does.
5963
5964 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
5965
5966 * cse.c (hash_arg_in_struct): Delete.
5967 (struct table_elt): Delete elt in_struct.
5968 (struct set): Delete elt src_in_struct.
5969 (merge_equiv_classes): Don't set either hash_arg_in_struct or
5970 the corresponding in_struct elts.
5971 (canon_hash): Likewise.
5972 (safe_hash): Likewise.
5973 (find_best_addr): Likewise.
5974 (record_jump_cond): Likewise.
5975 (cse_insn): Likewise.
5976
5977 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
5978
5979 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
5980
5981 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
5982 unsigned types.
5983
5984 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
5985
5986 * function.c (diddle_return_value): Put back check that the DECL_RTL
5987 for the function is a register.
5988
5989 * function.c (diddle_return_value): Use hard_function_value to
5990 get an rtx suitable for use in the USE/CLOBBER insn.
5991
5992 * global.c (global_conflicts): Update comments.
5993 (record_conflicts): No need to record conflicts between pseudos here.
5994
5995 1999-11-11 Bruce Korb <autogen@linuxbox.com>
5996
5997 * fixinc/fixincl.c: Added verbose levels for status messages
5998
5999 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6000
6001 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
6002 operand as argument to expand_and or expand_binop.
6003
6004 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
6005
6006 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
6007 gcc_add_string_root.
6008
6009 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
6010
6011 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
6012
6013 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
6014
6015 * flow.c (compute_flow_dominators): Initially put all blocks on
6016 the worklist.
6017 * lcm.c (compute_antinout_edge, compute_available): Similarly.
6018 * gcse.c (compute_cprop_avinout): Remove.
6019 (compute_cprop_data): Use compute_available.
6020 (delete_null_pointer_checks_1): Use compute_available.
6021
6022 * basic-block.h (compute_available): Returns a void now.
6023 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
6024 to return a value anymore.
6025 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
6026 worklists. Fix boundary cases. Compute maximal solutions.
6027 (compute_laterin, compute_nearerout): Similarly.
6028
6029 * dwarf2out.c (add_AT_location_description): Allow
6030 (mem (plus (pseudo) (...)) too.
6031
6032 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
6033
6034 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
6035
6036 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
6037 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6038
6039 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
6040
6041 * gansidecl.h: Likewise.
6042
6043 * rtl.c: Likewise.
6044
6045 * rtl.h: Likewise.
6046
6047 * toplev.h: Likewise.
6048
6049 * tree.c: Likewise.
6050
6051 * tree.h: Likewise.
6052
6053 * varray.c: Likewise.
6054
6055 * varray.h: Likewise.
6056
6057 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
6058
6059 * gcov.c (struct arcdata): Add hits and total, remove prob.
6060 (output_branch_counts): New.
6061 (process_args): Set output_branch_counts if -c.
6062 (calculate_branch_probs): Store hits and total instead of
6063 percentage.
6064 (output_data): Emit counts if output_branch_counts is true.
6065 * gcov.texi (Invoking Gcov): Document -c switch..
6066
6067 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
6068
6069 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
6070 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
6071
6072 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
6073
6074 * invoke.texi (C Dialect Options): Add missing builtins from
6075 c-common.c to list.
6076 * extend.texi (Other Builtins): Copy to this list.
6077
6078 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6079
6080 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
6081 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
6082 redundant bitmap.h.
6083
6084 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
6085
6086 * flow.c (compute_flow_dominators): No longer treat basic block 0
6087 or (n_basic_blocks - 1) specially. Clear the AUX field before
6088 starting computation of doms/pdoms. Fix initial state for pdoms.
6089
6090 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6091
6092 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
6093 match rtl.o's: added ggc.h and toplev.h
6094 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
6095 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
6096 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
6097
6098 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
6099
6100 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
6101 from HAVE_DOS_BASED_FILESYSTEM.
6102 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
6103 HAVE_DOS_BASED_FILESYSTEM.
6104 (main): Likewise.
6105 (split_directories): Only special-case DOS file names if
6106 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
6107 instead of explicit tests. Conditionalize on !VMS.
6108 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
6109 tests. Conditionalize on !VMS.
6110 (process_command): Only use make_relative_prefix if !VMS.
6111 (free_split_directories): Conditionalize on !VMS.
6112 (DIR_UP): Conditionalize on !VMS.
6113
6114 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
6115
6116 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
6117
6118 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
6119
6120 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
6121 case.
6122
6123 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
6124
6125 * invoke.texi (Environment Variables): Document relative path
6126 lookup.
6127 * gcc.c (DIR_UP): If not defined, define as "..".
6128 (standard_bindir_prefix): New static, holds target location to
6129 install binaries.
6130 (split_directories): New function to split a filename into
6131 component directories.
6132 (free_split_directories): New function, release memory allocated
6133 by split_directories.
6134 (make_relative_prefix): New function, make a relative pathname if
6135 the compiler is not in the expected location.
6136 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
6137 can figure out an appropriate prefix from argv[0].
6138 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
6139 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
6140 STANDARD_BINDIR_PREFIX.
6141
6142 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6143
6144 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
6145 in c4x.c.
6146 * config/c4x/c4x.h: Moved prototypes to c4x.h.
6147 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
6148 c4x_secondary_memory_needed) Delete.
6149 (fp_zero_operand): Add mode argument.
6150
6151 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
6152
6153 * reload1.c (reload_reg_free_for_value_p): Don't use a register
6154 that is in reload_reg_used.
6155
6156 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
6157
6158 * config/arm/arm-protos.h: New file: Prototypes for functions
6159 defined in arm.c and pe.c.
6160 * config/arm/arm.h: Fix compile time warnings.
6161 * config/arm/arm.c: Fix compile time warnings.
6162 * config/arm/pe.h: Fix compile time warnings.
6163 * config/arm/aout.h: Fix compile time warnings.
6164
6165 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
6166
6167 * config/m32r/m32r-protos.h: New file: Prototypes for functions
6168 defined in m32r.c
6169
6170 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
6171 Add support for subtargets.
6172 Add prototypes for new predicates.
6173 Add scheduling macros.
6174
6175 * config/m32r/m32r.c: Fix compile time warnings.
6176 (int8_operand): New predicate function.
6177 (reg_or_cmp_int16_operand): New predicate function.
6178 (extend_operand): New predicate function.
6179 (m32r_adjust_code): New scheduling function.
6180 (m32r_adjust_priorty): New scheduling function.
6181 (m32r_sched_init): New scheduling function.
6182 (m32r_sched_reorder): New scheduling function.
6183 (m32r_sched_variable_issue): New scheduling function.
6184 (direct_return): New codegen function.
6185 (m32r_not_same_reg): New rtl testsing function.
6186
6187 * config/m32r/m32r.md: Fix compile time warnings.
6188 Add support for pre decrement and post increment memory
6189 references.
6190 Add S<cc> patterns.
6191 Add fabs patterns.
6192
6193 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6194
6195 * global.c (EXECUTE_IF_CONFLICT): Don't define.
6196 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
6197 (find_reg): Likewise.
6198
6199 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
6200
6201 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
6202 to avoid assembler errors.
6203
6204 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
6205
6206 * config/v850/v850-protos.h: New file: Prototypes for functions
6207 defined in v850.c
6208 * config/v850/v850.h: Move prototypes to v850-protos.h
6209 * config/v850/v850.c: Move prototypes to v850-protos.h
6210 * config/v850/v850.md: Fix compile time warnings.
6211
6212 * config/fr30/fr30-protos.h: New file: Prototypes for functions
6213 defined in fr30.c
6214 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
6215 * config/fr30/fr30.c: Fix compile time warnings.
6216 * config/fr30/fr30.md: Fix compile time warnings.
6217
6218 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
6219
6220 * tree.h (get_containing_scope): Declare it.
6221 * tree.c (get_containing_scope): New fucntion.
6222 (decl_function_context): Use it.
6223 * toplev.c (rest_of_compilation): Use get_containing_scope.
6224
6225 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6226
6227 * Makefile.in (rtl.o): Depend on toplev.h.
6228
6229 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
6230
6231 * cse.c (delete_trivially_dead_insns): Replace alloca with
6232 xmalloc/xcalloc.
6233 * except.c (update_rethrow_references): Likewise.
6234 (init_eh_nesting_info): Likewise.
6235 * function.c (identify_blocks): Likewise.
6236 * gcse.c (dump_hash_table): Likewise.
6237 * graph.c (print_rtl_graph_with_bb): Likewise.
6238 * loop.c (combine_movables): Likewise.
6239 (move_movables): Likewise.
6240 (count_loop_regs_set): Likewise.
6241 (strength_reduce): Likewise.
6242 * profile.c (compute_branch_probabilities): New function, split
6243 out from ...
6244 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
6245 * regclass.c (regclass): Likewise.
6246 * regmove.c (regmove_optimize): Likewise.
6247 * toplev.c (compile_file): Likewise.
6248 (main): Don't mess with the stack rlimit.
6249
6250 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
6251
6252 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
6253 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
6254
6255 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
6256
6257 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
6258
6259 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
6260
6261 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
6262 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
6263 macro expansion.
6264
6265 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
6266
6267 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
6268
6269 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
6270
6271 * gcse.c (post_dominators): Kill.
6272 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
6273 (compute_code_hoist_data): Use compute_flow_dominators. Do not
6274 pass in a pdom array since we do not need pdoms.
6275 * haifa-sched.c (schedule_insns): Similarly.
6276 * flow.c (compute_dominators): Remove dead function.
6277 (compute_flow_dominators): Do not compute doms or pdoms if the
6278 caller does not request them. Split up loop to build doms and
6279 pdoms. Use a worklist to compute doms and pdoms.
6280 * basic-block.h (compute_dominators): Remove prototype.
6281
6282 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
6283
6284 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
6285 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
6286 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
6287 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
6288 (cant_move, fed_by_spec_load, is_load_insn): Remove.
6289 (schedule_region): Remove unused variable.
6290 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
6291
6292 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
6293
6294 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
6295 (update_equiv_regs): Likewise.
6296 (block_alloc): Likewise.
6297 * reg-stack.c (reg_to_stack): Likewise.
6298 (convert_regs_2): Likewise.
6299 * reload1.c (reload_as_needed): Likewise.
6300
6301 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
6302
6303 * Makefile.in (dbxout.o): Depend on ggc.h.
6304 (dwarf2out.o): Likewise.
6305 (xcoffout.o): Likewise.
6306 * dbxout.c: Include ggc.h.
6307 (dbxout_init): Register lastfile as a root.
6308 * dwarf2out.c: Include ggc.h.
6309 (dwarf2out_line): Register lastfile as a root.
6310 * xcoffout.c: Include ggc.h.
6311 (xcoffout_source_line): Register xcoff_lastfile as a root.
6312
6313 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
6314
6315 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
6316
6317 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
6318
6319 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
6320 defined.
6321 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
6322
6323 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6324
6325 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
6326 (EXECUTE_IF_CONFLICT): Likewise.
6327 (ALLOCNO_LIVE_P): Avoid signed division.
6328 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
6329 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
6330 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
6331
6332 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
6333
6334 * haifa-sched.c (schedule_block): Don't crash if there's no
6335 next insn for an interblock movement.
6336 (add_branch_dependences): Don't allow clobber insns to move either.
6337
6338 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
6339
6340 * i386.c (split_xf): New.
6341 * i386-protos.h: Declare it.
6342 * i386.md (movxf_1): Add general regs alternatives.
6343 (movxf_1+1): New splitter for same.
6344
6345 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
6346
6347 * function.c (purge_addressof_1): Add missing return values.
6348
6349 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
6350
6351 * function.c (is_addressof): New function. Returns true if
6352 the given piece of RTL is an ADDRESSOF.
6353 (purge_addressof_1): Make boolean. Return false if the
6354 ADDRESSOFs could not be purged.
6355 (purge_addressof): If ADDRESSOFs could not be purged from the
6356 notes attached to an insn, remove the offending note(s),
6357 unless they are attached to a libcall.
6358
6359 1999-11-05 Andreas Jaeger <aj@suse.de>
6360
6361 * genoutput.c (null_operand =): Initialize all fields.
6362
6363 * errors.h: Add extern to prototypes.
6364
6365 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
6366
6367 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
6368 * configure: Rebuilt.
6369
6370 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6371
6372 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
6373 (mirror_conflicts): New function.
6374 (global_alloc): Call it.
6375 (expand_preferences): Remove redundant CONFLICTP test.
6376 (find_reg, dump_conflicts): Likewise.
6377 (prune_preferences): Process conflicts one word at a time.
6378
6379 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
6380
6381 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
6382 instead of an explicit loop.
6383
6384 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
6385
6386 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
6387 if REG_RETVAL check succeeds, then put classp in src_elt.
6388
6389 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
6390
6391 * function.c (pad_to_arg_alignment): Only update argument_pad
6392 if the argument's alignment is greater than STACK_BOUNDARY.
6393
6394 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
6395
6396 * bitmap.h (BITMAP_XFREE): New.
6397 * flow.c (life_analysis): Use it.
6398 (life_analysis_1): Free blocks.
6399
6400 * combine.c (undo_commit): New.
6401 (try_combine): Use it. Don't zap undobuf.undos.
6402 (combine_instructions): Don't zap undobuf.undos; free the
6403 undobuf.frees list.
6404
6405 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
6406
6407 * stmt.c (cost_table_): New.
6408 (estimate_case_costs): Use it instead of xmalloc.
6409
6410 * toplev.c (compile_file): Reuse dumpname memory instead
6411 of strdup'ing it.
6412
6413 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
6414
6415 * reg-stack.c (convert_regs_1): Initialize target_stack->top
6416 after verifying an EH edge.
6417
6418 * haifa-sched.c (init_rgn_data_dependences): Correctly
6419 size bb_pending_lists_length when zeroing.
6420
6421 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
6422
6423 * function.c (diddle_return_value): New.
6424 (expand_function_end): Use it.
6425 * stmt.c (expand_null_return): Likewise.
6426 (expand_value_return): Likewise.
6427
6428 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
6429
6430 * reload1.c (reload): Don't remove return value clobbers.
6431
6432 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
6433
6434 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
6435
6436 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
6437
6438 * cse.c (cse_main): Use xmalloc, not alloca.
6439 (cse_basic_block): Likewise.
6440 * local-alloc.c (local_alloc): Likewise.
6441
6442 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
6443 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6444
6445 * rtl.c: Include toplev.h.
6446 (fatal): Remove declaration.
6447
6448 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
6449
6450 * haifa-sched.c (schedule_block): Fix thinko.
6451
6452 1999-11-03 James McKelvey <mckelvey@fafnir.com>
6453
6454 * fixinc/fixincl.c(create_file): Allow for systems that do not have
6455 S_IR* defined values
6456
6457 1999-11-03 Philippe De Muyter <phdm@macqel.be>
6458
6459 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
6460 call `malloc' instead.
6461
6462 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
6463
6464 * flags.h (flag_renumber_insns): Declare.
6465 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
6466 renumbering table.
6467 * rtl.h (renumber_insns): Change prototype.
6468 * toplev.c (flag_renumber_insns): Define.
6469 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
6470
6471 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
6472
6473 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
6474 and fpsqrtd. Use them and create fdiv function unit to more
6475 accurately represent fpu sqrt pipeline semantics on UltraSparc.
6476 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
6477
6478 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
6479
6480 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
6481 3 on UltraSparc.
6482 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
6483 insn into ready list, do not use just a raw swap.
6484
6485 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
6486
6487 * rtl.h (renumber_insns): New function.
6488 (remove_unnecessary_notes): Likewise.
6489 * emit-rtl.c (renumber_insns): Define.
6490 (remove_unncessary_notes): Likewise.
6491 * toplev.c (rest_of_compilation): Remove dead code.
6492 Use renumber_insns and remove_unncessary_notes.
6493
6494 * gcse.c (struct null_pointer_info): New type.
6495 (get_bitmap_width): New function.
6496 (current_block): Remove.
6497 (nonnull_local): Likewise.
6498 (nonnull_killed): Likewise.
6499 (invalidate_nonnull_info): Take a null_pointer_info as input.
6500 (delete_null_pointer_checks_1): New function.
6501 (delete_null_pointer_checks): Use it.
6502
6503 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
6504 (split_edges): Likewise.
6505 (schedule_block): Likewise.
6506 (compute_block_backward_dependencies): Likewise.
6507 (schedule_region): Likewise.
6508 (schedule_insns): Likewise.
6509
6510 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
6511
6512 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
6513 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
6514 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
6515 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
6516 * jump.c (delete_unreferenced_labels): Don't delete if
6517 LABEL_ALTERNATE_NAME is set.
6518 * print-rtl.c (print_rtx): Dump alternate name.
6519 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
6520 * rtl.h (LABEL_ALTERNATE_NAME): Define.
6521 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
6522 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
6523
6524 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6525
6526 * fix-header.c (recognized_extern, recognized_function): Constify
6527 a char*.
6528
6529 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
6530 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
6531 (compute_available): Remove unused variable `last'.
6532 (compute_nearerout): Remove unused variable `temp_bitmap'.
6533 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
6534 Remove unused variable `x'.
6535
6536 * scan.h (recognized_function, recognized_extern): Constify a
6537 char*.
6538
6539 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
6540
6541 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6542
6543 * varasm.c (decode_rtx_const): Use XSTR to access the string
6544 of a SYMBOL_REF.
6545
6546 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
6547
6548 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
6549
6550 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6551
6552 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
6553
6554 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
6555
6556 * pa.c (ireg_operand): New function.
6557 * pa.h (PREDICATE_CODES): Handle ireg_operand.
6558 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
6559 Fix out of date comment.
6560
6561 * pa.md (negdi2): Turn into expander + anonymous pattern.
6562
6563 * reload.c (find_reloads): Fix typos in recent change.
6564
6565 * dwarf2out.c: Do not include ctype.h.
6566
6567 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6568
6569 * regclass.c (record_reg_classes): Always use may_move_cost when
6570 seeing how operand fits with various register classes.
6571
6572 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
6573
6574 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
6575 * toplev.c: Revert Nov 1 13:22 change.
6576
6577 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
6578
6579 * config/pa/pa.md (height reduction patterns): Add checks for
6580 overlapping operands to avoid semantic-destroying splits for
6581 height reduction patterns.
6582
6583 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6584
6585 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
6586 have been an hyphen, fixed.
6587 * configure: Rebuilt.
6588
6589 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
6590
6591 * config/arm/tpe.h: Add prototypes for exported functions.
6592 * config/arm/pe.c: Fix compile time warnings.
6593 * config/arm/semi.h: Fix compile time warnings.
6594 * config/arm/arm.c: Fix compile time warnings.
6595 * config/arm/arm.h: Fix compile time warnings.
6596 * config/arm/arm.md: Fix compile time warnings.
6597 * config/arm/thumb.c: Fix compile time warnings.
6598 * config/arm/thumb.h: Fix compile time warnings.
6599 * config/arm/thumb.md: Fix compile time warnings.
6600
6601 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
6602
6603 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
6604 detection code
6605
6606 * unroll.c (unroll_loop): Remove LOOP notes when loop is
6607 completely unrolled.
6608
6609 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6610
6611 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
6612
6613 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
6614
6615 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
6616 * rtl.h (rtx_equal_p): Move prototype.
6617 * rtl.c (rtx_equal_function_value_matters): Move from
6618 rtlanal.c
6619 (rtx_equal_p): Likewise.
6620 * rtlanal.c (rtx_equal_function_value_matters): Delete.
6621 (rtx_equal_p): Likewise.
6622
6623 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
6624
6625 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
6626 ! HAS_INIT_SECTION.
6627
6628 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
6629
6630 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
6631
6632 * pa.h (ADDR_VEC_ALIGN): Define.
6633
6634 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
6635 notes when presented with "if (foo) break; end_of_loop" and
6636 the break sequence gets moved out of the loop.
6637
6638 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
6639 Remove explicit zero initializations of entries within MAP.
6640
6641 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
6642
6643 * reg-stack.c (convert_regs_1): Handle EH edges specially.
6644
6645 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
6646
6647 * bitmap.h (BITMAP_XMALLOC): New macro.
6648 * flow.c (CLEAN_ALLOCA): Remove.
6649 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
6650 (life_analysis): Likewise.
6651 (update_life_info): Don't use CLEAN_ALLOCA.
6652 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
6653 (calculate_global_regs_live): Likewise.
6654 (print_rtl_with_bb): Likewise.
6655 (verify_flow_info): Likewise.
6656 * global.c (global_alloc): Likewise.
6657 (global_conflicts): Likewise.
6658 * integrate.c (save_for_inline_nocopy): Likewise.
6659 (expand_inline_function): Likewise.
6660 * jump.c (jump_optimize_1): Likewise.
6661 (duplicate_loop_exit_test): Likewise.
6662 (thread_jumps): Likewise.
6663 * loop.c (loop_optimize): Likewise.
6664 (combine_givs): Likewise.
6665 (recombine_givs): Likewise.
6666 * reorg.c (dbr_schedule): Likewise.
6667 * unroll.c (unroll_loop): Likewise.
6668
6669 * combine.c (combine_instructions): Use xmalloc instead of alloca.
6670
6671 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
6672
6673 * toplev.c (rest_of_compilation): Don't optimize the CFG
6674 when rebuilding, just before dbr.
6675
6676 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6677
6678 * output.h (assemble_end_function, assemble_destructor,
6679 assemble_constructor, assemble_gc_entry, assemble_global,
6680 assemble_label, output_constant_pool) Constify a char*.
6681
6682 * varasm.c (assemble_destructor, assemble_constructor,
6683 assemble_gc_entry, assemble_end_function, assemble_global,
6684 assemble_label, output_constant_pool): Likewise.
6685
6686 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
6687
6688 * config/arm/thumb.c (thumb_expand_prologue): Add comments
6689 explaining what is goin on in this function.
6690
6691 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6692
6693 * regclass.c (record_reg_classes): In matching case, recompute
6694 costs since the direction of movement is different.
6695
6696 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
6697
6698 * resource.c (mark_target_live_regs): For unconditional branches,
6699 the resources found at the branch target should be added to the
6700 resources found so far, not intersected.
6701
6702 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
6703
6704 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
6705 old cpp's.
6706 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
6707 (sys/mman.h): Include this file only if #HAVE_MMAP.
6708 (run_compiles): Initialize `esac_fmt' with one old KR string, not
6709 with automatically concatenated ANSI strings.
6710
6711 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
6712
6713 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
6714 (DIV_ROUND_UP): Robustify.
6715 (ggc_recalculate_in_use_p): New function.
6716 (release_pages): Don't inline it.
6717 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
6718 outer contexts.
6719 (ggc_pop_context): Use ggc_recalculate_in_use_p.
6720 (clear_marks): Always save in_use_p.
6721 (sweep_pages): Use ggc_recalculate_in_use_p.
6722 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
6723 Release pages before counting statistics.
6724
6725 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
6726
6727 * toplev.c (rest_of_compilation): Fix thinko in this change:
6728
6729 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
6730
6731 (rest_of_compilation): If inside an inlined external function,
6732 pretend we are just being declared.
6733
6734 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
6735
6736 * flow.c (calculate_global_regs_live): Fix thinko.
6737
6738 * integrate.c (expand_inline_function): Fix bugs in previous
6739 change from Oct 28, 1999.
6740
6741 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
6742
6743 * stmt.c (expand_value_return): Fix typo in this change:
6744
6745 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6746 (expand_value_return): Correctly convert VAL when promoting function
6747 return; support RETURN_REG being a PARALLEL.
6748
6749 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
6750
6751 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
6752
6753 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6754
6755 * hard-reg-set.h (reg_names): Constify a char*.
6756
6757 * regclass.c (reg_names): Likewise.
6758
6759 * regs.h (reg_names): Likewise
6760
6761 * a29k/a29k.c (reg_names): Delete declaration.
6762
6763 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
6764
6765 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
6766 arc_output_function_epilogue): Likewise.
6767
6768 * elxsi/elxsi.c (reg_names): Likewise.
6769
6770 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
6771
6772 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
6773 Likewise.
6774
6775 * m88k/m88k.c (output_function_profiler): Likewise.
6776
6777 * sparc/sparc.c (sparc_flat_output_function_prologue,
6778 sparc_flat_output_function_epilogue): Likewise.
6779
6780 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
6781
6782 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
6783 warning from -Wuninitialized and put it under -W.
6784 * function.c (uninitialized_vars_warning): Warn only when the
6785 corresponding flag is set.
6786
6787 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
6788
6789 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
6790 is nonzero and the single set does not have an elt, then assign
6791 it an elt.
6792
6793 * simplify-rtx.c: New file.
6794 * Makefile.in (OBJS): Add simplify-rtx.o
6795 (simplify-rtx.o): Add dependencies.
6796 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
6797 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
6798 (cse_gen_binary, simplify_unary_operation): Delete.
6799 (simplify_binary_operation, simplify_plus_minus): Likewise.
6800 (check_fold_consts, simplify_relation_operation): Likewise.
6801 (simplify_ternary_operation): Likewise.
6802 (delete_trivially_dead_insns): Simplify the contents of the
6803 REG_EQUAL note before trying to substitute it into the source
6804 of the reg-reg copy at the end of a libcall sequence.
6805
6806 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
6807 references/callers changed.
6808
6809 * mn10200.c (mn10200_va_arg): Force the return value into a
6810 register.
6811
6812 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
6813
6814 * cccp.c (macroexpand): Avoid out of range accesses for omitted
6815 arguments.
6816
6817 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
6818
6819 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
6820
6821 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
6822
6823 * fold-const.c (fold): Fix thinko when optimizing comparisons
6824 against -0.0.
6825
6826 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
6827
6828 * gcc.texi (Passes): Update front-end files to their current
6829 location.
6830
6831 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
6832
6833 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
6834 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
6835 (PREDICATE_CODES): Add addition_operation.
6836 * alpha-protos.h (addition_operation): Declare.
6837 (secondary_reload_class): Likewise.
6838 * alpha.c (addition_operation): New.
6839 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
6840 * alpha.md (adddi3): Turn into expander.
6841 (*lda, *adddi_2): New.
6842 (movsf, movdf patterns): Don't preference integer regs.
6843 (movsi, movdi patterns): Don't preference fp regs.
6844
6845 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
6846
6847 * genrecog.c (write_switch): Check for duplicate CODE cases.
6848
6849 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
6850
6851 * ggc-common.c: Update pre-function commentary.
6852 * ggc-page.c: Likewise.
6853 (poison): Remove.
6854 (poison_pages): Use memset directly.
6855 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
6856 (ggc_collect): Poison before sweeping.
6857 * ggc-simple.c: Update pre-function commentary.
6858 (ggc_alloc_obj): Poison non-zeroed memory.
6859
6860 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
6861
6862 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
6863 match format string, even on 64-bit hosts.
6864 * gcc-page.c (ggc_page_print_statistics): Likewise.
6865
6866 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
6867
6868 * config/i386/i386.c (ix86_cpu): Revert last patch.
6869 * config/i386/i386.h (ix86_cpu): Ditto.
6870
6871 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
6872
6873 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
6874 TYPE_SIZE, convert type of result to sizetype.
6875
6876 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
6877
6878 * flow.c (count_or_remove_death_notes): Equate NULL with the
6879 universal set.
6880
6881 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
6882 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
6883 dbr_schedule.
6884
6885 * i386.c (pic_label_no): Delete.
6886 (ix86_attr_length_default): Don't use single_set to peek
6887 inside a parallel.
6888
6889 * recog.c (peephole2_optimize): Allow recog_next_insn to index
6890 the first insn after bb->end.
6891 * i386.md (push mem peeps): Scratch is live after evaluation
6892 of the memory.
6893 (cmp mem peep): Similarly.
6894
6895 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
6896
6897 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
6898 * function.c (pad_to_arg_alignment): Add missing braces.
6899
6900 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6901
6902 * alpha/alpha-protos.h (literal_section): Add prototype.
6903 (alpha_need_linkage, alpha_start_function,alpha_end_function):
6904 Constify a char*.
6905
6906 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
6907 prototype.
6908 (alpha_start_function, alpha_end_function, float_strings,
6909 alpha_need_linkage): Constify a char*
6910
6911 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
6912
6913 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
6914
6915 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
6916
6917 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
6918
6919 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6920
6921 * flow.c (debug_flow_info): Add prototype.
6922
6923 * gcc.c (main): Likewise.
6924
6925 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
6926 Likewise.
6927
6928 * reload1.c (failed_reload, set_reload_reg): Likewise.
6929
6930 * mips-tfile.c (main): Likewise.
6931 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
6932 with ATTRIBUTE_NORETURN.
6933
6934 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
6935
6936 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
6937 DECL is not a memory ref.
6938
6939 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
6940
6941 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
6942 * config/i386/i386.c (ix86_cpu): Add extern attribute.
6943
6944 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
6945
6946 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
6947 * config/mips/elf64.h: ditto.
6948
6949 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
6950
6951 * expr.c (emit_push_insn): New argument alignment_pad.
6952 Update all callers. Adjust stack pointer based on alignment pad.
6953 * function.c (pad_to_arg_alignment): New argument alignment_pad.
6954 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
6955 (locate_and_pad_parm): New argument alignment_pad. Update all
6956 callers.
6957 * expr.h (emit_push_insn): Update prototype.
6958 (locate_and_pad_parm): Update prototype.
6959 * calls.c (arg_data): Add new field alignment_pad.
6960 (initialize_argument_information): Initialize alignment_pad.
6961
6962 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
6963
6964 * except.c (free_eh_nesting_info): Free the info itself.
6965 * function.c (free_after_compilation): Don't free NULL.
6966 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
6967 (pre_edge_insert): Free inserted.
6968 * stmt.c (free_stmt_status): Don't free NULL.
6969
6970 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
6971
6972 * gcov.c (DIR_SEPARATOR): Provide default.
6973 (output_data): Add test for MS-DOS format absolute filename.
6974 (fancy_abort): Correct program name.
6975 (open_files): Open all files in binary mode.
6976 * libgcc2.c (__bb_exit_func): Likewise.
6977
6978 * profile.c (init_branch_prob): Specify binary when opening files.
6979
6980 * flags.h (flag_unwind_tables): New decl.
6981 * toplev.c (flag_unwind_table): New definition.
6982 (f_options): Add -funwind-tables.
6983 (decode_g_option): Clarify warning when unknown -g option is given.
6984 (rest_of_compilation): If inside an inlined external function,
6985 pretend we are just being declared.
6986
6987 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
6988 (dwarf2out_frame_finish): Likewise.
6989
6990 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
6991
6992 * fold-const.c (merge_ranges): If not in0, but in1, handle
6993 upper bounds equal like subset case.
6994
6995 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
6996
6997 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
6998 passed in a register but moved to the stack.
6999
7000 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
7001
7002 * gcc.c (pass_exit_codes, greatest_status): New variables.
7003 (struct option_map): Add entry for "--pass-exit-codes".
7004 (execute): Update greatest_status if error.
7005 (display_help): Add documentation for -pass-exit-codes.
7006 (process_command): Handle -pass-exit-codes.
7007 (main): Look at pass_exit_codes and greatest_status on call to exit.
7008
7009 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7010
7011 * reload.c (find_reloads): Refine test for no input reload
7012 case to not includes reloads emitted after insn.
7013
7014 * function.c (find_temp_slots_from_address): Handle sum involving
7015 a register that points to a temp slot.
7016 (update_temp_slot_address): Make recursive call if both old and
7017 new are PLUS with a common operand.
7018 * calls.c (expand_call): Mark temp slot for result as having
7019 address taken.
7020
7021 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
7022
7023 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
7024 component as well as "BINUTILS".
7025
7026 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
7027 * integrate.c (copy_rtx_and_substitute): Likewise.
7028 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
7029 All callers changed.
7030 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
7031
7032 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
7033 gdb extensions, write size of type; also be more consistent
7034 in using references when this is a subtype.
7035
7036 * pa.md (extv, extzv, insv): Use define_expand to reject constant
7037 that is out of range.
7038
7039 * loop.c (unknown_constant_address_altered): New variable.
7040 (prescan_loop): Initialize it.
7041 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
7042 (invariant_p, case MEM): Remove handling for volatile and readonly;
7043 check new variable if readonly.
7044 (check_dbra_loop): Chdeck unknown_constant_address_altered.
7045
7046 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
7047 (addr_affects_sp_p): Removed from note_mem_written and only
7048 define #ifdef AUTO_INC_DEC.
7049
7050 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
7051
7052 * regclass.c (record_reg_classes): Properly handle register move
7053 directions.
7054
7055 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
7056 Don't think valid if both operands are invalid.
7057 (struct constant_descriptor): New field RTL.
7058 (mark_const_hash_entry): Mark it.
7059 (record_constant{,_rtx}): Initialize it.
7060 (output_constant_def): Allocate RTL in permanent obstack and
7061 save in table.
7062 ({record,compare}_constant_1): Modes must match for
7063 CONSTRUCTOR of ARRAY_TYPE.
7064
7065 * c-common.h (initializer_constant_valid_p): Delete decl from here.
7066 * output.h (initializer_constant_valid_p): Move decl to here.
7067 * c-common.c (initializer_constant_valid_p): Delete function from here.
7068 * varasm.c (initializer_constant_valid_p): Move function to here.
7069
7070 * tree.h (STRIP_SIGN_NOPS): New macro.
7071 * fold-const.c (optimize_minmax_comparison): New function.
7072 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
7073 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
7074 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
7075 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
7076 widening conversions.
7077 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
7078 to look at size of mode, not precision of type; also add missing cases.
7079 (optimize_bit_field_compare, decode_field_reference): Don't try to
7080 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
7081
7082 * dwarf2out.c (ctype.h): Include.
7083 (dwarf2out_set_demangle_name_func): New function.
7084 (size_of_line_info): Deleted.
7085 (output_line_info): Compute size of line info table from difference
7086 of labels.
7087 (base_type_die, add_name_attribute): Call demangle function, if any.
7088 (field_byte_offset): Use bits per word for variable length fields.
7089 (gen_array_type_die): Add array name.
7090 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
7091 (dwarf2out_add_library_unit_info): New function.
7092
7093 * explow.c (set_stack_check_libfunc): New function.
7094 (stack_check_libfunc): New static variable.
7095 (probe_stack_range): Allow front-end to set up a libfunc to call.
7096
7097 * combine.c (simplify_comparison): When making comparison in wider
7098 mode, check for having commuted an AND and a SUBREG.
7099 (contains_muldiv): New function.
7100 (try_combine): Call it when dividing a PARALLEL.
7101 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
7102 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
7103 a PLUS.
7104 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
7105 use one of the CLOBBERs instead.
7106 (if_then_else_cond): If comparing against zero, just return thing
7107 being compared.
7108
7109 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
7110 Don't generate shifts and subtract if have conditional arithmetic.
7111
7112 * rtl.h (delete_barrier): New declaration.
7113 * jump.c (jump_optimize): Set up to handle conditional call.
7114 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
7115 (delete_barrier): New function.
7116
7117 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
7118
7119 * recog.c (nonmemory_operand): Accept ADDRESSOF.
7120
7121 * tree.c (build_type_attribute_variant): Push to obstack of
7122 ttype around type_hash_canon call.
7123
7124 * expr.c (placeholder_list): Move decl to file scope.
7125 (expand_expr): Don't force access to volatile just because its
7126 address is taken.
7127 If ignoring reference operations, just expand the operands.
7128 (expand_expr, case COMPONENT_REF): Propagate
7129 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
7130 Refine test for using bitfield operations vs pointer punning.
7131 (expand_expr, case CONVERT_EXPR): If converting to
7132 BLKmode UNION_TYPE from BLKmode, just return inner object.
7133 Use proper mode in store_field call.
7134 Properly set sizes of object to store and total size in store_field
7135 call for convert to union.
7136 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
7137 memory (like for ADDR_EXPR). Also, don't put constant in register if
7138 we'll want it in memory.
7139 (readonly_fields_p): New function.
7140 (expand_expr, case INDIRECT_REF): Call it if LHS.
7141 (expand_assignment): Handle a RESULT_DECL where
7142 DECL_RTL is a PARALLEL.
7143 (do_jump, case WITH_RECORD_EXPR): New case.
7144 (get_inner_reference): Always go inside a CONVERT_EXPR
7145 and NOP_EXPR if both modes are the same.
7146 (store_field): Use bitfield operations if size of bitsize is not same
7147 as size of RHS's type.
7148 Check for bitpos not a multiple of alignment in BLKmode case.
7149 Do block move in largest possible alignment.
7150 (store_constructor): Set BITSIZE to -1 for variable size and properly
7151 in case of array of BLKmode.
7152 (expand_expr_unaligned): New function.
7153 (do_compare_and_jump): Call it.
7154
7155 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
7156 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
7157 does not include 'o'.
7158
7159 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
7160 both SET_DEST and SET_SRC reference a virtual register.
7161 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
7162
7163 * integrate.c (expand_inline_function): Handle case of setting
7164 virtual stack vars register (from built in setjmp); when parameter
7165 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
7166 (subst_constant): Add new parm, MEMONLY.
7167 (expand_inline_function, integrate_parm_decls): Pass new parm.
7168 (integrate_decl_tree): Likewise.
7169 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
7170 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
7171 (copy_rtx_and_substitute, case SET): Add explicit calls to
7172 copy_rtx_and_substitute for both sides.
7173
7174 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
7175 constraints.
7176 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
7177 within INDEX_TYPE, instead of before.
7178 (fixup_gotos): Use f->target_rtl, not the next insn,
7179 since latter may be from a later fixup.
7180 (expand_value_return): Correctly convert VAL when promoting function
7181 return; support RETURN_REG being a PARALLEL.
7182 (expand_return): When checking for result in regs and having
7183 cleanup, consider PARALLEL in DECL_RTL as being in regs.
7184
7185 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
7186
7187 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
7188 last_nominal_fname): Mark const.
7189 (struct include_hash: name, nshort, control_macro): Mark
7190 const.
7191 (struct macrodef: symnam): Mark const.
7192 (struct if_stack: fname): Mark const.
7193 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
7194 (IStable): New character-syntax array which encompasses all
7195 the old is_foo arrays.
7196 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
7197 is_space): New macros for interrogating IStable.
7198 (check_macro_name): Kill last argument. All callers changed.
7199
7200 * cppinit.c (initialize_char_syntax): Delete.
7201 (is_idchar, is_idstart, is_hor_space, is_space,
7202 trigraph_table): Delete.
7203 (IStable): New. Initialize with clever macros to avoid
7204 information duplication.
7205 (builtin_array): Table of builtins to get rid of explicit list
7206 in initialize_builtins.
7207 (initialize_builtins): Use builtins_array.
7208 (cpp_start_read): Call init_IStable, and set IStable['$'] if
7209 opts->dollars_in_ident.
7210
7211 * cppexp.c: Change all refs to is_xyz[] arrays to use new
7212 is_xyz() macros.
7213 (cpp_parse_expr): Avoid 'format string is not constant'
7214 warning. Use ISGRAPH to identify printable chars.
7215 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
7216 is_xyz() macros.
7217 (read_and_prescan): Map trigraphs to chars with open-coded
7218 if-else-if-... sequence, not a lookup table.
7219 * cpphash.c: Change all refs to is_xyz[] arrays to use new
7220 is_xyz() macros.
7221 * cpplib.c: Change all refs to is_xyz[] arrays to use new
7222 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
7223 (check_macro_name): Remove ability to report an invalid
7224 assertion name, which is never used.
7225 (do_line): Constify a couple of char *'s.
7226 * cppmain.c (main): Call cpp_cleanup before returning.
7227
7228 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
7229
7230 * ggc.h (struct ggc_statistics): New type.
7231 (ggc_get_size): New function.
7232 (ggc_print_statistics): Likewise.
7233 * ggc-common.c (ggc_stats): New variable.
7234 (ggc_mark_rtx_children): Keep statistics.
7235 (ggc_mark_tree_children): Likewise.
7236 (ggc_print_statistics): New function.
7237 * ggc-page.c (struct globals): Add bytes_mapped field.
7238 (alloc_anon): Update it.
7239 (release_pages): Likewise.
7240 (ggc_get_size): New function.
7241 (ggc_page_print_statistics): New function.
7242 * ggc-simple.c (ggc_get_size): New function.
7243
7244 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
7245
7246 * flow.c (propagate_block): When the last reference to a label
7247 before an ADDR_VEC is deleted because the reference is a dead
7248 store, delete the ADDR_VEC.
7249
7250 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
7251
7252 * resource.c (find_free_register): Don't use the frame pointer
7253 if frame_pointer_needed.
7254
7255 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
7256
7257 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
7258 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
7259
7260 * config/i960/i960.c (i960_va_start): New locals base, num.
7261 Use INDIRECT_REF instead of ARRAY_REF on valist.
7262 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
7263
7264 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
7265
7266 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
7267
7268 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
7269
7270 * tree.def (PLACEHOLDER_EXPR): Update comments.
7271
7272 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7273
7274 * c-common.c (check_format_info): Avoid non-literal format string
7275 warnings when `first_arg_num' is zero.
7276
7277 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7278
7279 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
7280
7281 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
7282
7283 * arm.md (casesi_insn): Add a clobber of the condition code
7284 register.
7285
7286 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
7287
7288 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
7289 used by both cc1 and cc1plus.
7290
7291 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
7292
7293 * config/arm/arm.c: Initialise arm_structure_size_boundary to
7294 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
7295 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
7296 to the value 32 if it has not already been defined.
7297 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
7298 Override definition in arm.h with a value of 8.
7299
7300 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
7301
7302 * c-pragma.c (push_alignment): Don't check the return value
7303 of xmalloc.
7304
7305 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
7306
7307 * sparc.h (ADJUST_COST): Fix thinko.
7308
7309 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
7310
7311 * cccp.c (rescan): Fixed obp pointer handling around call to
7312 check_expand subroutine.
7313
7314 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
7315
7316 * gcse.c (delete_null_pointer_checks): Only record non-null info
7317 for pseudos when examining stores.
7318
7319 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
7320 splitters for these patterns. Use "#" for output templates.
7321 (addsi3_carryin_shift): New pattern.
7322
7323 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
7324
7325 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
7326 of the function return register into a plain REG until
7327 after function inlining is done.
7328
7329 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
7330
7331 * jump.c (jump_optimize_1): If we did cross-jumping, and
7332 the data will matter, rebuild the CFG.
7333 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
7334 not optimizing. Don't run shorten_branches.
7335 * toplev.c (rest_of_compilation): Run shorten_branches after
7336 reg_to_stack.
7337
7338 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
7339
7340 * rtl.h (note_stores): Add additional paramter.
7341 * rtlanal.c (reg_set_p_1): Take additional paramter.
7342 (reg_set_last_1): Likewise.
7343 (reg_set_p): Adjust call to note_stores.
7344 (reg_set_last): Likewise.
7345 (note_stores): Pass data parameter to worker function.
7346 * alias.c (record_set): Take additional parameter.
7347 (init_alias_analysis): Pass it.
7348 * caller-save.c (mark_set_regs): Take additional parameter.
7349 (save_call_clobbered_regs): Pass NULL to note_stores.
7350 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
7351 parameter.
7352 (record_dead_and_set_regs_1): Likewise.
7353 (reg_dead_at_p_1): Likewise.
7354 (combine_instructions): Adjust calls to note_stores.
7355 (try_combine): Likewise.
7356 (record_dead_insn): Remove.
7357 (record_dead_and_set_regs): Adjust calls to note_stores.
7358 (reg_dead_at_p): Likewise.
7359 * cse.c (invalidate_skipped_set): Take additional parameter.
7360 (cse_check_loop_start): Likewise.
7361 (cse_check_loop_start_value): Remove.
7362 (cse_set_around_loop): Adjust calls to note_stores.
7363 * flow.c (notice_stack_pointer_modification): Take additional
7364 parameter. Remove duplicate declaration.
7365 (record_volatile_insns): Adjust calls to note_stores.
7366 * gcse.c (record_set_info): Take additional parameter.
7367 (record_last_set_info): Likewise.
7368 (invalidate_nonnull_info): Likewise.
7369 (record_set_insn): Remove.
7370 (compute_sets): Adjust calls to note_stores.
7371 (last_set_insn): Remove.
7372 (compute_hash_table): Adjust calls to note_stores.
7373 (insert_insn_end_bb): Likewise.
7374 (delete_null_pointer_checks): Likewise.
7375 * global.c (mark_reg_store): Take additional parameter.
7376 (mark_reg_clobber): Likewise.
7377 (reg_becomes_live): Likewise.
7378 (global_conflicts): Adjust calls to note_stores.
7379 (build_insn_chain): Likewise.
7380 * integrate.c (note_modified_parmregs): Take additional parameter.
7381 (mark_stores): Likewise. Make it static.
7382 (save_for_inline_nocopy): Adjust calls to note_stores.
7383 (try_constants): Likewise.
7384 * integrate.h (mark_stores): Remove declaration.
7385 * jump.c (mark_modified_reg): Take additional parameter.
7386 (thread_jumps): Adjust calls to note_stores.
7387 * local-alloc.c (validate_equiv_mem_from_store): Take additional
7388 parameter.
7389 (no_equiv): Likewise.
7390 (reg_is_set): Likewise.
7391 (validate_equiv_mem): Adjust calls to note_stores.
7392 (update_equiv_regs): Likewise.
7393 (block_alloc): Likewise.
7394 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
7395 (note_addr_stored): Take additional parameter.
7396 (note_set_pseudo_multiple_uses): Likewise.
7397 (record_initial): Likewise.
7398 (prescan_loop): Adjust calls to note_stores.
7399 (strength_reduce): Likewise.
7400 (check_dbra_loop): Likewise.
7401 * regmove.c (flags_set_1): Take additional paramter.
7402 (mark_flags_life_zones): Adjust calls to note_stores.
7403 * reload1.c (mark_not_eliminable): Take additional parameter.
7404 (forget_old_reloads_1): Likewise.
7405 (reload_cse_invalidate_rtx): Likewise.
7406 (reload_cse_check_clobber): Likewise.
7407 (reload_combine_note_store): Likewise.
7408 (move2add_note_store): Likewise.
7409 (reload): Adjust calls to note_stores.
7410 (reload_as_needed): Likewise.
7411 (emit_reload_insns): Likewise.
7412 (reload_cse_regs_1): Likewise.
7413 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
7414 (reload_combine): Adjust calls to note_stores.
7415 * resource.c (update_live_status): Take additional paramter.
7416 (mark_target_live_regs): Adjust calls to note_stores.
7417 * stupid.c (find_clobbered_regs): Take additional parameter.
7418 (stupid_life_analysis): Adjust calls to note_stores.
7419
7420 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
7421
7422 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
7423 definition.
7424
7425 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
7426 definition.
7427
7428 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
7429 of the variable arm_structure_size_boundary.
7430
7431 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
7432
7433 * alias.c (init_alias_analysis): Allocate reg_known_value and
7434 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
7435 and reg_seen.
7436 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
7437 * cse.c (cse_main): Call end_alias_analysis.
7438 * haifa-sched.c (schedule_insns): Likewise.
7439 * local-alloc. (update_equiv_regs): Likewise.
7440 * reload1.c (reload_cse_regs): Likewise.
7441
7442 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7443
7444 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
7445 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
7446 mapping from MASK_FPU.
7447
7448 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
7449
7450 * sparc.md (call): Don't bound structure return size to 0xfff.
7451
7452 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
7453
7454 * resource.c (mark_target_live_regs): Check that the target
7455 insn wasn't created after compute_bb_for_insn.
7456
7457 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
7458
7459 * ggc-page.c (poison_pages): Don't be overzealous.
7460
7461 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
7462
7463 * alias.c: Update comments for ADDRESS.
7464 (nonlocal_reference_p): Look inside the ADDRESS to determine if
7465 it is a local memory reference.
7466
7467 * c-typeck.c (build_function_call): Check that the built-in
7468 function is of class BUILT_IN_NORMAL before trying to recongize
7469 it as BUILT_IN_ABS.
7470 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
7471 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
7472
7473 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
7474
7475 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
7476 of alloca.
7477 (pre_gcse): Likewise.
7478 (hoist_expr_reaches_here_p): Likewise.
7479 (hoist_code): Likewise.
7480 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
7481 code to ...
7482 (pre_expr_reaches_here_p_work): ... here.
7483 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
7484 code to ...
7485 (expr_reaches_here_p_work): ... here.
7486
7487 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
7488
7489 * resource.c (find_basic_block): Delete.
7490 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
7491 (init_resource_info): Call compute_bb_for_insn.
7492
7493 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
7494
7495 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
7496 with already adjacent blocks, but no fallthru.
7497 (merge_blocks_move_successor_nojumps): Simplify.
7498 (debug_flow_info): New.
7499
7500 * toplev.c (rest_of_compilation): Open jump1 dump file before
7501 jump and close after, as opposed to just using dump_rtl.
7502
7503 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7504
7505 * reload.h (earlyclobber_operand_p): Declare.
7506 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
7507 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
7508 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
7509 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
7510
7511 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
7512 Richard Henderson <rth@cygnus.com>
7513
7514 * emit-rtl.c (emit_block_insn_before): New.
7515 (emit_block_insn_after): New.
7516 * basic-block.h: Declare them.
7517
7518 * bitmap.h: Protect from multiple inclusion.
7519
7520 * recog.c (scratch_operand): Handle VOIDmode correctly.
7521
7522 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
7523
7524 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
7525 * function.c (assign_parms): Likewise.
7526 * global.c (global_conflicts): Clarify STACK_REGS commentary.
7527
7528 * reg-stack.c (max_uid): Remove.
7529 (blocks, block_begin, block_end, block_drops_in): Remove.
7530 (block_stack_in, block_out_reg_set, block_number): Remove.
7531 (struct block_info_def, BLOCK_INFO): New.
7532 (enum emit_where): New.
7533 (current_block): New.
7534 (BLOCK_NUM): Remove.
7535 (mark_regs_pat, record_label_references): Remove.
7536 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
7537 (nan): New.
7538 (goto_block_pat, print_blocks, dump_stack_info): Remove.
7539 (reg_to_stack): Simplified test for existance of fp code. Use
7540 flow.c code. Call shorten_branches after cross-jump opt.
7541 (check_asm_stack_operands): Renamed from record_asm_reg_life.
7542 Return false if the asm doesn't use stack regs. Don't do life
7543 analysis on the asm.
7544 (emit_pop_insn): Replace function pointer arg `when' with
7545 enum `where'. Update all callers.
7546 (change_stack): Likewise. Update basic block end.
7547 (emit_swap_insn): Use current_block->head to limit reverse search
7548 for start of block. Use emit_block_insn_after.
7549 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
7550 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
7551 structure assignment instead of bcopy.
7552 (print_stack): New.
7553 (convert_regs_entry, convert_regs_exit): New.
7554 (convert_regs_1, convert_regs_2): Split out from convert_regs.
7555 Work on basic blocks and the CFG.
7556 (convert_regs): Use them.
7557
7558 * i386.c (output_fix_trunc): Remove code for DImode input operand
7559 not at top-of-stack.
7560 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
7561 appropriate mode.
7562 (fix_truncdi_1): Allow any mode scratch.
7563
7564 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
7565
7566 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
7567 * linux.h, netbsd.h, vms.h: Not here.
7568
7569 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
7570
7571 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
7572 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
7573 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
7574 CONDITIONAL_REGISTER_USEAGE): Use them.
7575 * config/mips/mips.c (mips_move_1word,mips_move_2words,
7576 gen_conditional_branch,override_options) : Use them.
7577 * config/mips/mips.md : Use them.
7578
7579 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
7580
7581 * i386.md (zero_extendqihi2): Use SImode register name with andl.
7582
7583 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
7584
7585 * integrate.c (function_cannot_inline_p): Don't allow inlining
7586 if setjmp is used.
7587
7588 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7589
7590 * c-parse.in (cast_expr): Constify.
7591
7592 * cccp.c (special_symbol): Likewise.
7593
7594 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
7595
7596 * dwarf2out.c (base_type_die): Likewise.
7597
7598 * global.c (allocno_compare): Likewise.
7599
7600 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
7601
7602 * regclass.c (fix_register): Likewise.
7603
7604 * rtl.h (fix_register): Likewise.
7605
7606 * stupid.c (stupid_reg_compare): Likewise.
7607
7608 * toplev.c (decode_f_option): Likewise.
7609
7610 * tree.c (build_complex_type): Likewise.
7611
7612 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
7613
7614 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
7615
7616 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7617
7618 * reload.c (find_reloads): Compute mode and nregs fields of all
7619 reloads.
7620 * reload1.c (calculate_needs_all_insns): Simplify a bit.
7621 (calculate_needs): Use precomputed mode/nregs values.
7622 (allocate_reload_reg): Likewise.
7623 Break out two...
7624 (failed_reload, set_reload_reg): ... new functions.
7625 (choose_reload_regs_init): New function, mostly broken out from...
7626 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
7627 Also lose one #if 0 block.
7628
7629 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
7630
7631 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
7632 substitution.
7633
7634 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
7635
7636 * tree.h (BLOCK_TYPE_TAGS): Remove.
7637 (BLOCK_END_NOTE): Likewise.
7638 (BLOCK_LIVE_RANGE_FLAG): Likewise.
7639 (BLOCK_LIVE_RANGE_START): Likewise.
7640 (BLOCK_LIVE_RANGE_END): Likewise.
7641 (tree_block): Remove live_range_flag, live_range_var_flag, and
7642 type_tags. Remove end_note, live_range_start, and live_range_end.
7643 (remember_end_note): Remove prototype.
7644 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
7645 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
7646 remember_end_note.
7647 * ggc-common.c (ggc_mark_tree_children): Don't mark
7648 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
7649 * integrate.c (adjust_copied_decl_tree): Remove.
7650 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
7651 * stmt.c (last_block_end_note): Remove.
7652 (init_stmt): Don't add a GC root for it.
7653 (expand_fixup): Don't set it.
7654 (remember_end_note): Remove.
7655 (expand_end_bindings): Don't set last_block_end_note.
7656
7657 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7658
7659 * reload1.c (reload_reg_free_for_value_p): Show
7660 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
7661 reloads.
7662
7663 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
7664
7665 * expmed.c (extract_bit_field): Allow for the case of non-integer
7666 objects that are smaller than a word (like SFmode on a 64-bit
7667 machine).
7668
7669 * loop.c (basic_induction_var): A non-integer variable which is
7670 being set by a paradoxical subreg is probably not a biv.
7671
7672 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7673
7674 * prefix.c (translate_name) Check for empty prefix string.
7675
7676 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
7677
7678 * Makefile.in (CPP_CROSS_NAME): New variable.
7679 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
7680 xcpp.
7681 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
7682 names of the files to be uninstalled.
7683
7684 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
7685
7686 * collect2.c (IS_DIR_SEPARATOR): Define.
7687 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
7688
7689 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
7690 functions too.
7691
7692 * haifa-sched.c (add_dependence): Update the true dependency
7693 cache the first time we add a true dependence to the LOG_LINKS chain.
7694
7695 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
7696
7697 * fold-const.c (fold): Fix comment.
7698
7699 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7700
7701 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
7702 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
7703 dbxout_start_new_source_file, dbxout_source_file,
7704 dbxout_source_line, dbxout_finish, dbxout_type_fields,
7705 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
7706 Constify a char*.
7707 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
7708 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
7709 (dbxout_block): Initialize variable `blocknum'.
7710
7711 * dbxout.h (dbxout_init, dbxout_finish,
7712 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
7713 dbxout_args, dbxout_source_line): Constify a char*.
7714
7715 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
7716 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
7717 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
7718 low_pc_attribute, high_pc_attribute, body_begin_attribute,
7719 body_end_attribute, comp_dir_attribute, sf_names_attribute,
7720 src_info_attribute, mac_info_attribute, producer_attribute,
7721 lookup_filename, generate_macinfo_entry, fundamental_type_code,
7722 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
7723 dwarfout_undef): Constify a char*.
7724 (add_incomplete_type, retry_incomplete_types): Add prototypes.
7725
7726 * dwarfout.h (dwarfout_define, dwarfout_undef,
7727 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
7728
7729 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
7730
7731 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
7732 (MULTILIB_ISA_DEFAULT): New.
7733 (MULTILIB_DEFAULTS): Use it.
7734 * config/mips/mips.c (): Remove the now unnecessary definition
7735 of MIPS_ISA_DEFAULT.
7736 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
7737 unnecessary definition.
7738
7739 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
7740
7741 * arm.md (pic_load_addr): Add constraints to operand 1.
7742
7743 1999-10-25 Bruce Korb <autogen@linuxbox.com>
7744
7745 * fixinc/genfixes: Provide a means for specifying -D options to
7746 AutoGen
7747
7748 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
7749
7750 * arm.c (arm_override_options): Correct initialization of
7751 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
7752 arm_is_strong, and arm_is_6_or_7.
7753
7754 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
7755 (note_set_pseudo_multiple_uses): New function.
7756 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
7757 if a pseudo set in the loop exit is used elsewhere.
7758
7759 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
7760
7761 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
7762
7763 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
7764
7765 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
7766 a single load-address pattern.
7767
7768 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
7769
7770 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
7771 depending on whether or not line-number notes are present.
7772
7773 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7774
7775 * cccp.c (progname, file_buf, default_include, include_file,
7776 macrodef, definition, hashval, wchar_type, user_label_prefix,
7777 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
7778 expand_to_temp_buffer, is_system_include, base_name,
7779 absolute_filename, read_name_map, open_include_file,
7780 record_control_macro, check_precompiled, check_preconditions,
7781 pcfinclude, pass_thru_directive, create_definition,
7782 check_macro_name, comp_def_part, collect_expansion,
7783 check_assertion, read_token_list, assertion_install,
7784 assertion_lookup, eval_if_expression, conditional_skip,
7785 validate_else, skip_quoted_string, quote_string, macarg1,
7786 error_from_errno, install, lookup, hashf, dump_defn_1,
7787 perror_with_name, pfatal_with_name, main, trigraph_pcp,
7788 check_white_space, rescan, handle_directive, monthnames,
7789 special_symbol, do_include, remap_include_file, write_output,
7790 arglist, do_assert, do_unassert, do_line, do_error, do_once,
7791 do_ident, do_sccs, do_xifdef, skip_if_group,
7792 output_line_directive, macroexpand, macarg, change_newlines,
7793 initialize_builtins, make_definition): Constify a char*.
7794
7795 * pcp.h (stringdef): Likewise.
7796
7797 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
7798
7799 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
7800 not of pattern.
7801
7802 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
7803 Richard Henderson <rth@cygnus.com>
7804
7805 * alias.c: Include ggc.h.
7806 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
7807 (record_set): Verify enough room in reg_base_value.
7808 (init_alias_analysis): Allocate reg_base_value with xcalloc.
7809 Register it as a GC root.
7810 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
7811 * Makefile.in (alias.o): Depend on ggc.h.
7812
7813 * unroll.c (unroll_loop): Verify the insn before a barrier
7814 is a JUMP_INSN before checking JUMP_LABEL.
7815
7816 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7817
7818 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
7819 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
7820 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
7821 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
7822 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
7823 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
7824
7825 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7826
7827 * output.h (ctors_section, dtors_section, bss_section): Prototype.
7828
7829 * alpha/alpha-interix.h (text_section): Delete prototype.
7830 * alpha/elf.h (text_section): Likewise.
7831 * arm/linux-elf.h (text_section): Likewise.
7832 * arm/linux-telf.h (text_section): Likewise.
7833 * c4x/c4x.h (text_section): Likewise.
7834 * dsp16xx/dsp16xx.h (bss_section): Likewise.
7835 * elfos.h (text_section): Likewise.
7836 * i386/aix386ng.h (text_section): Likewise.
7837 * i386/i386-interix.h (text_section): Likewise.
7838 * i386/sco5.h (text_section): Likewise.
7839 * i386/svr3gas.h (text_section): Likewise.
7840 * nextstep.h (text_section): Likewise.
7841 * psos.h (text_section): Likewise.
7842 * ptx4.h (text_section): Likewise.
7843 * svr3.h (text_section): Likewise.
7844 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
7845
7846 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7847
7848 * final.c (peephole): Delete prototype.
7849
7850 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
7851 (pre_insert_copies): Remove unused variable `bb'.
7852
7853 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
7854 prototypes.
7855
7856 * output.h (peephole): Add prototype.
7857
7858 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
7859
7860 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
7861 -O0.
7862
7863 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
7864
7865 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
7866 for inlined declarations.
7867
7868 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
7869
7870 * arm.c (logical_binary_operator): New fucntion.
7871 * arm.h (logical_binary_operator): Declare it.
7872 (PREDICATE_CODES): Handle logical_binary_operator.
7873 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
7874 output constraints. Add appropriate splitters.
7875 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
7876 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
7877 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
7878
7879 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7880
7881 * genoutput.c (struct operand_data): New elt eliminable.
7882 (output_operand_data): Write it.
7883 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
7884 (compare_operands): Take it into account.
7885 * recog.h (struct insn_operand_data): New elt eliminable.
7886 * reload1.c (check_eliminable_occurrences, elimination_effects): New
7887 functions.
7888 (old_asm_operands_vec, new_asm_operands_vec): Delete.
7889 (eliminate_regs): Move code that detects changes to elimination
7890 target regs into new function elimination_effects.
7891 Delete one #if 0 block.
7892 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
7893 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
7894 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
7895 Only call eliminate_regs for real operands of the insn, not for parts
7896 of its structure or parts matched by things like match_operator.
7897 Use elimination_effects and check_eliminable_occurrences. Use
7898 copy_insn to duplicate the pattern when not in the final pass.
7899
7900 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
7901
7902 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
7903 and fld.
7904
7905 1999-10-22 Bruce Korb <autogen@linuxbox.com>
7906
7907 * fixinc/README: document the "mach" machine matching test
7908 * fixinc/fixfixes.c: Implement the #else/#endif label fix
7909 * fixinc/fixtests.c: Implement the #else/#endif label test
7910 * fixinc/inclhack.def: utilize these tests and fixes
7911 * fixinc/inclhack.sh: regen
7912 * fixinc/fixincl.x: regen
7913 * fixinc/fixincl.sh: regen
7914
7915 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
7916
7917 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
7918 depend on ggc.h.
7919
7920 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
7921
7922 * gcc.1: Document exit codes.
7923
7924 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7925
7926 * calls.c: Include tm_p.h later, so everything we need is defined.
7927 * expr.c: Likewise.
7928 * function.c: Likewise.
7929
7930 * except.c: Include tm_p.h.
7931
7932 * sparc.c: Likewise.
7933 (dwarf2out_cfi_label): Don't prototype.
7934 (check_return_regs, epilogue_renumber,
7935 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
7936 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
7937 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
7938 ultra_schedule_insn): Add static prototype.
7939 (data_segment_operand, text_segment_operand): Call itself with the
7940 proper number of arguments.
7941 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
7942
7943 * sparc.h: Move all declarations to sparc-protos.h.
7944 (SELECT_RTX_SECTION): Pass a missing MODE argument to
7945 symbolic_operand.
7946
7947 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
7948
7949 * config/svr4.h (text_section, ctors_section, dtors_section): Add
7950 Prototypes.
7951 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
7952 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
7953 ASM_OUTPUT_ASCII): Constify a char*.
7954
7955 * sparc-protos.h: New file for sparc prototypes.
7956
7957 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7958
7959 * function.c (record_insns, contains): Always declare and define.
7960 (record_insns): Mark with ATTRIBUTE_UNUSED.
7961
7962 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
7963
7964 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
7965 to .section when outputting a .bss section to deal with multiple
7966 .bss input sections (as happens with -fdata-sections)
7967 Also output %progbits, not @progbits so the assembler doesn't treat as
7968 a comment.
7969 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
7970
7971 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
7972 thumb parts even when building with non-thumb CPUs, by forcing
7973 thumb mode.
7974
7975 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
7976
7977 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
7978 (movdf_const_intreg_sp64): Similarly.
7979
7980 * local-alloc.c (update_equiv_regs): Check the correct insn
7981 for pre-existing REG_EQUIV notes.
7982
7983 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
7984
7985 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
7986 block reached by a branch if we're not going to actually process
7987 this block.
7988
7989 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
7990
7991 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
7992 a local extern function declaration.
7993
7994 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
7995
7996 * i386.c (ix86_expand_prologue): Properly wrap USE around
7997 reg for CALL_INSN_FUNCTION_USAGE.
7998
7999 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
8000
8001 * config/mips/mips.md (movdf_internal1a): Allow floating-point
8002 move between GP_REGs.
8003
8004 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
8005
8006 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
8007 the mode size when finding out if an offset is legal.
8008
8009 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
8010
8011 * basic-block.h (PROP_*): Move constants from ...
8012 * flow.c: ... here.
8013 (compute_bb_for_insn): Free the array before reallocating.
8014 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
8015 (allocate_reg_life_data): Reset all reg variables collected by
8016 propagate_block.
8017 (get_block_head_tail): Don't convert from bb to block.
8018 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
8019 (find_insn_reg_weight): Take block not bb.
8020 (schedule_block): Don't set block num for moved insns.
8021 (schedule_region): Don't update_life_info or find_insn_reg_weight.
8022 (schedule_insns): Do it here instead.
8023 * combine.c (combine_instructions): Invoke compute_bb_for_insn
8024 before update_life_info.
8025 * recog.c (split_all_insns, peephole2_optimize): Update for
8026 new arg to update_life_info.
8027 * rtlanal.c (remove_note): Cope with NULL note.
8028 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
8029 if we did sched1.
8030
8031 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
8032
8033 * jump.c (jump_optimize_1): More accurately detect casesi insns.
8034
8035 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
8036 block records so that merge_blocks_nomove will clean up correctly.
8037 (split_edge): Handle casesi insns.
8038
8039 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
8040
8041 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
8042
8043 * pa.md (call, call_value): Do not emit a blockage after restoring
8044 the PIC register.
8045
8046 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
8047
8048 * c-typeck.c (c_expand_asm_operands): Fix typo.
8049
8050 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8051
8052 * arm.c (fpu_rhs_operand): Verify modes.
8053 (fpu_add_operand): Likewise.
8054 (di_operand): Likewise.
8055 (soft_df_operand): Likewise.
8056
8057 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
8058
8059 * arm.c (arm_return_in_memory): APCS rules state that the elements
8060 of a structure returned in a register must be 'integer-like'.
8061
8062 1999-10-19 Bruce Korb <autogen@linuxbox.com>
8063
8064 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
8065 in the source tree when the generated targets are out of date
8066 * fixinc/genfixes: Alter it to run individual fixes for make.
8067 * fixinc/README: rewrite
8068 * fixinc/inclhack.def: moved initial comments to README
8069
8070 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
8071
8072 * toplev.c (main): Do not generate an error message if an
8073 unrecognised command line switch is recognisable by another
8074 language. If extra_warnings are enabled, then generate a
8075 warning message instead.
8076
8077 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
8078
8079 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
8080 (insert_pack_attributes): Delete prototype.
8081
8082 * c-pragma.c (default_alignment): New static variable.
8083 (push_alignment): Initialize to current effective alignment.
8084 (pop_alignment): Use to set new alignment.
8085 (insert_pack_attributes): Delete function.
8086 (handle_pragma_token): Set default_alignment as well each time
8087 a #pragma pack(<n>) is encountered.
8088
8089 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
8090
8091 * reg-stack.c (stack_result): Aggregates are not returned in
8092 stack registers.
8093
8094 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
8095
8096 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
8097
8098 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
8099
8100 * basic-block.h (set_block_num): Declare.
8101 * flow.c (update_life_info): Don't call compute_bb_for_insn
8102 or free_basic_block_vars.
8103 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
8104 (insn_orig_block): Remove.
8105 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
8106 (schedule_block): Keep BLOCK_NUM up-to-date.
8107 (schedule_insns): Use compute_bb_for_insn.
8108 * recog.c (split_all_insns): Likewise.
8109 (peephole2_optimize): Likewise.
8110
8111 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
8112
8113 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
8114 if the pic register is used.
8115
8116 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8117
8118 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
8119 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
8120 if that tests TREE_PERMANENT.
8121
8122 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
8123
8124 * cse.c (invalidate_for_call): Do not remove memory references from
8125 the table here. It's handled elsewhere.
8126
8127 * haifa-sched.c (add_dependence): Protect references to the
8128 true dependency cache with #ifdef INSN_SCHEDULING.
8129 (remove_dependence): Similarly.
8130
8131 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
8132 to the cfg code that this is a return instruction.
8133 * mn10300.md (return_internal): Similarly.
8134
8135 * combine.c (get_last_value): If the last set of a register
8136 is after subst_low_cuid, then we can not use it to determine
8137 the register's last value.
8138
8139 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
8140
8141 * Makefile.in: Back out previous change.
8142
8143 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
8144
8145 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
8146
8147 * haifa-sched.c (add_dependence): Only check/update the cache
8148 if it exists.
8149 (remove_dependence): Likewise.
8150 (schedule_insns): Only create the true_dependency_cache if the
8151 average number of instructions in a basic block is very large.
8152
8153 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
8154
8155 * Makefile.in (ggc-common.o): Depend on genrtl.h.
8156 (ggc-simple.o): Likewise.
8157 (ggc-page.o): Likewise.
8158
8159 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
8160
8161 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
8162 Prototype for exported functions.
8163 (pre_lcm, pre_rev_lcm): Remove prototypes.
8164 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
8165 (compute_available): Move to lcm.c, and change parameter order.
8166 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
8167 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
8168 (gcse_main): No longer call compute_preds_succs. Rebuild the
8169 set table after reach pre pass.
8170 (pre_insert_map, pre_delete_map, edge_list): New.
8171 (alloc_pre_mem): Allocate edge vectors.
8172 (free_pre_mem): Delete edge vectors.
8173 (compute_pre_data): Call new edge based lcm routines.
8174 (process_insert_insn): New function.
8175 (insert_insn_end_bb): Use it.
8176 (pre_edge_insert): New function.
8177 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
8178 needed.
8179 (pre_insert_copies): Revamp using new edge based lcm outputs.
8180 (pre_delete): Likewise.
8181 (one_pre_gcse_pass): Insert & remove fake edges to the exit
8182 block.
8183 (compute_code_hoist_vbeinout): New new edge based routines.
8184 * lcm.c: Remove all the old LCM functions. Replace with new ones
8185 that work with the new cfg datastructures and work with edges
8186 instead of blocks.
8187
8188 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8189
8190 * reload.h (struct reload): Add new fields "mode" and "nregs".
8191 * reload1.c: Change all occurrences of reload_mode and reload_nregs
8192 to reference the "mode" and "nregs" field within struct reload.
8193
8194 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
8195
8196 * haifa-sched.c (true_dependency_cache): New.
8197 (add_dependence): Use the true dependency cache to avoid expensive
8198 walks down the LOG_LINKS dependency list. Add entries to the
8199 cache as necessary.
8200 (remove_dependence): Remove entries from the true dependency cache
8201 as needed.
8202 (schedule_insns): Allocate and initialize and free the true
8203 dependency cache.
8204
8205 * haifa-sched.c (schedule_insns): Do not remove inter-block
8206 dependencies anymore.
8207
8208 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
8209
8210 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
8211 * i386/t-winnt: Likewise.
8212
8213 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
8214
8215 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
8216
8217 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
8218
8219 * Makefile.in (LANGUAGES): Omit "proto".
8220 (clean): Remove stale comment about removing unprotoize.c.
8221
8222 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8223
8224 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
8225 using arithmetic on void pointers.
8226
8227 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
8228
8229 * haifa-sched.c (compute_block_forward_dependencies): Only check
8230 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
8231
8232 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
8233
8234 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
8235 (expr_equiv_p): Reject memories with different alias sets.
8236
8237 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
8238
8239 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
8240 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
8241 (f_options): Add "bounded-pointers" and "bounds-check" entries.
8242 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
8243 (lang_init): Set default for flag_bounds_check if still "unspecified".
8244
8245 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8246
8247 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
8248
8249 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8250
8251 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
8252 instructions.
8253
8254 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8255
8256 * config/c4x/c4x.md (*db_noclobber,
8257 *decrement_and_branch_until_zero_noclobber): New patterns and
8258 associated splitters.
8259
8260 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8261
8262 * config/c4x/c4x.md (parallel instruction patterns): Rework
8263 constraints to keep reload happy.
8264
8265 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8266
8267 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
8268 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
8269 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
8270 Add new patterns and associated post-reload splitters.
8271
8272 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8273
8274 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
8275
8276 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8277
8278 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
8279 if appropriate.
8280 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
8281
8282 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8283
8284 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
8285 memory mode.
8286
8287 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
8288
8289 * pa.c (move_operand): Rely on memory_address_p to determine the
8290 validity of non-indexed memory addresses.
8291 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
8292 operand in DFmode and SFmode when generating PA2.0 code.
8293
8294 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
8295
8296 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
8297
8298 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
8299
8300 * mips.c (function_prologue): Fix argument types.
8301 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
8302 (casesi_internal): Write to the scratch register.
8303
8304 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
8305
8306 * cppexp.c (cpp_parse_escape): Make static. Change second arg
8307 to U_CHAR **.
8308 (parse_charconst): Delete unnecessary cast when calling
8309 cpp_parse_escape.
8310 (cpplib.h): Kill prototype of cpp_parse_escape.
8311
8312 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
8313
8314 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
8315 * unroll.c (unroll_loop): Cast return value of alloca.
8316 * i370/i370.c: Include function.h and toplev.h.
8317 (i370_label_scan): Remove c++ commented abort.
8318 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
8319 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
8320 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
8321 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
8322
8323 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
8324
8325 * config/t-freebsd: Do not override USER_H.
8326 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
8327
8328 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
8329 Mumit Khan <khan@xraylith.wisc.edu>
8330
8331 * c-parse.in (component_decl): Support anonymous struct/union.
8332 (%expect): Update.
8333 * c-parse.y: Regenerate.
8334 * c-parse.c: Likewise.
8335 * objc/objc-parse.y: Likewise.
8336 * objc/objc-parse.c: Likewise.
8337 * c-decl.c (finish_struct): Don't sort the fields.
8338 (field_decl_cmp): Delete unused function.
8339
8340 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
8341
8342 * sparc.md (movsf_const_intreg): Revert last constraint change.
8343 (movdf_const_intreg_sp32): Likewise.
8344
8345 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
8346
8347 * cse.c: Include hashtab.h instead of splay-tree.h
8348 (struct cse_reg_info): No longer use variant union. Add new
8349 field "regno". All references changed to avoid union.
8350 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
8351 (free_cse_reg_info): Remove.
8352 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
8353 (get_cse_reg_info): Revamp to use expandable hash tables instead
8354 of splay trees. Initialize new fields in cse_reg_info structure.
8355 (new_basic_block): Similarly.
8356
8357 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
8358
8359 * genrecog.c (message_with_line): Prototype.
8360 (validate_pattern): Pass along the set for the dest, not a flag.
8361 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
8362 Check for PC/CC0 as sources.
8363 (nodes_identical): Check for children position match before
8364 allowing the combination.
8365
8366 * rtl.c (read_rtx): Track line number across \\\n.
8367
8368 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
8369
8370 * mips.h (SPECIAL_MODE_PREDICATES): New.
8371 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
8372 (movdi+1, movsi+1): Add output reload constraint.
8373 (casesi_internal): Likewise. Fix commentary.
8374 (return_internal): Use pmode_register_operand.
8375
8376 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
8377
8378 * 1750a.md (movstrqi): Add missing output reload constraint.
8379 (call_value): Likewise.
8380 * a29k.md (cpxxx patterns): Add missing match_operator mode.
8381 (jmpfdec): Add missing inout reload constraint.
8382 * elxsi.md (addsi patterns): Add missing output reload constraint.
8383 (move from sp): Use @ alternates.
8384 (call_value): No constraint on output.
8385 * fr30.md (movsi_pop): Add missing output reload constraint.
8386 (movsf_constant_store): Likewise.
8387 (splits): Remove constraints.
8388 (subsi3): Add missing mode.
8389 * i370.md (cmpstrsi+1): Add missing output reload constraint.
8390 (call_value): Likewise.
8391 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
8392 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
8393 * m32r.md (movsicc_internal): Add output reload constraint.
8394 (movstrsi_internal): Add inout reload constraints.
8395 * m88k.h (reg_names): Don't declare.
8396 (SPECIAL_MODE_PREDICATES): New.
8397 * m88k.md (*): Use register_operand not reg_or_0_operand
8398 on destinations.
8399 * mn10200.h (PREDICATE_CODES): New.
8400 * ns32k.md (ffs pattern): Add output reload constraint.
8401 * pdp11.md (sob pattern): Add inout reload constraint.
8402 * sh.md (splits): Remove constraints.
8403 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
8404 * v850.md (pattern_is_ok_for_epilogue): Likewise.
8405 * vax.md (jgequ pattern): Add inout reload constraint.
8406
8407 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
8408
8409 * configure.in (djgpp): Revert previous patch.
8410 * configure: Rebuit.
8411 * config/i386/djgpp.h: Revert previous patch.
8412
8413 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
8414
8415 * fixinc/inclhack.def: Restore patch lost during last merge of
8416 "no_bogosity" branch.
8417 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
8418
8419 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
8420
8421 * fixincludes: Add a HPUX 11 fix for inttypes.h.
8422 * fixinc/inclhack.def: Same.
8423 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
8424
8425 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
8426
8427 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
8428 as the base of a PLUS.
8429
8430 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8431
8432 * config/c4x/c4x.md: Define mode for remaining unspec operators.
8433 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
8434
8435 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
8436
8437 * pa.md (post_stw+1): Use pmode_register_operand.
8438 (dcacheflush, icacheflush): Likewise.
8439
8440 * i386.md (movstricthi_1): Allow r/r.
8441
8442 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
8443
8444 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
8445 to (not (and (arg0) (arg1))). Similary for and.
8446
8447 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
8448 fallthrough to associate code.
8449 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
8450 bits in common.
8451
8452 * combine.c (simplify_logical): Convert XOR to IOR if operands have
8453 no bits in common; remove XOR to ROTATE conversion.
8454
8455 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8456
8457 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
8458
8459 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8460
8461 * config/c4x/c4x.c (dst_operand): New.
8462 (PREDICATE_CODES): Update.
8463 * config/c4x/c4x.h (dst_operand): Declare it.
8464 * config/c4x/c4x.md: Define mode for each unspec usage.
8465 (move patterns): Use dst_operand predicate instead of src_operand.
8466 (movqi_update, movqf_update): Delete.
8467
8468 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
8469
8470 * recog.c (pmode_register_operand): New.
8471 * recog.h: Declare it.
8472 * genrecog.c (pred_codes): Likewise.
8473 (special_mode_pred_table): Likewise.
8474 (validate_pattern): Don't warn no mode for address_operand.
8475
8476 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
8477 if the operand is not insn-like.
8478
8479 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
8480 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
8481
8482 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
8483
8484 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
8485
8486 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
8487 instead of general_operand in a SET_DEST. Use const_double_operand
8488 instead of an explicit test against CONST_DOUBLE.
8489 (movsf_const_lo): Add missing register mode.
8490 (goto_handler_and_restore): Add auxiliary test for Pmode.
8491 (flush): Adjust to use address_operand.
8492 (return_sf_no_fpu): Add missing output constraint.
8493
8494 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
8495
8496 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
8497 for call return value.
8498 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
8499
8500 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
8501
8502 * toplev.c (main): Only warn about options for other languages.
8503 * collect2.c (main): Pass -w to sub-gcc.
8504
8505 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
8506
8507 * flow.c (propagate_block): Add call-clobbered registers to
8508 significant too.
8509
8510 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
8511 zapping mem_set_list.
8512 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
8513 (mark_set_1, mark_used_regs): Likewise.
8514
8515 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
8516
8517 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
8518
8519 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8520
8521 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
8522 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
8523 options. Also add a new item "C-only Warning Options" to the
8524 option summary.
8525
8526 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
8527
8528 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
8529 from multiple calls.
8530
8531 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
8532
8533 * i386.md (call value patterns): Move to the end of the file.
8534 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
8535
8536 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
8537
8538 * configure.in (djgpp configuration): Define extra_objects..
8539 * configure: Rebuilt.
8540 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
8541 (DTORS_SECTION_ASM_OP): Define.
8542 (INIT_SECTION_ASM_OP): Define.
8543 (FINI_SECTION_ASM_OP): Define.
8544 (DATA_SECTION_ASM_OP): Define.
8545 (TEXT_SECTION_ASM_OP): Define.
8546 (EH_FRAME_SECTION_ASM_OP): Define.
8547 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
8548 (STARTFILE_SPEC): Add crtbegin.o.
8549 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
8550 to here from LINK_COMMAND_SPEC.
8551 (DO_GLOBAL_CTORS_BODY): Define.
8552 (CRTSTUFF_USE_FINI_SECTION): Define
8553 (HAS_INIT_SECTION): Delete.
8554
8555 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
8556
8557 * Makefile.in (all.cross): Depend on xcpp$(exeext).
8558
8559 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
8560
8561 * pa.h (PREDICATE_CODES): New.
8562
8563 * genrecog.c (validate_pattern): Condense the destination
8564 non-lvalue message.
8565
8566 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
8567
8568 * alpha.md (call-1): Supply missing mode for operator.
8569 (*): Add missing output reload constraints. Remove constraints
8570 from define_splits.
8571
8572 * i386.h (SPECIAL_MODE_PREDICATES): New.
8573 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
8574 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
8575 (addsi_lea_3): Add missing mode for op 3.
8576 (prologue_set_got, prologue_get_pc): Add missing modes.
8577 (*) Add missing output reload constraints.
8578
8579 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
8580
8581 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
8582 check for member bit-size overflow and use var_size if it occurs.
8583 (layout_record): Use bitsize_int() to define the type size in bits.
8584 Likewise for computation and assignment to DECL_FIELD_BITPOS.
8585 (layout_decl): Likewise when assigning to DECL_SIZE.
8586
8587 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
8588
8589 * genrecog.c (validate_pattern): Typo last change. Verify
8590 that output operands have output reloads.
8591
8592 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
8593
8594 * genrecog.c (special_mode_pred_table): New.
8595 (NUM_SPECIAL_MODE_PREDS): New.
8596 (find_operand): New.
8597 (validate_pattern): New argument `insn'. Warn for assignment to
8598 any predicate accepting non-lvalues. Conditionaly warn for
8599 match_operand without a mode. Try much harder to match source
8600 and destination modes on a set.
8601 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
8602
8603 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
8604
8605 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
8606
8607 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
8608
8609 * combine.c (simplify_logical): Recognize xor pattern that encodes
8610 rotation.
8611
8612 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8613
8614 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
8615 alignment.
8616
8617 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
8618
8619 * ggc-page.c (MAP_FAILED): Provide default.
8620
8621 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
8622
8623 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
8624 * sparc.h (PREDICATE_CODES): Update.
8625
8626 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
8627
8628 * alpha.c (some_ni_operand): New.
8629 * alpha-protos.h: Declare it.
8630 * alpha.h (PREDICATE_CODES): Update.
8631 * alpha.md (sXaddq reload insns): Use some_ni_operand
8632 for SET_DEST instead of some_operand.
8633
8634 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
8635 Jim Wilson <wilson@cygnus.com>
8636
8637 * genrecog.c (maybe_both_true_2): Don't compare modes of
8638 two DT_pred tests.
8639 (process_tree): Elide peephole2_insns. Invoke simplify_tests
8640 after find_afterward.
8641 (debug_decision_1): Dump next and afterward codes.
8642
8643 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
8644
8645 * rtl.c (dump_and_abort): Remove.
8646 (fatal_with_file_and_line): New.
8647 (fatal_expected_char): New.
8648 (read_rtx_lineno, read_rtx_filename): New.
8649 (read_skip_spaces): Track line number.
8650 (read_name): Use fatal_with_file_and_line.
8651 (read_rtx): Use fatal_expected_char. Track line number.
8652 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
8653
8654 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
8655 if it isn't a CODE_LABEL.
8656
8657 * genattr.c (main): Set read_rtx_filename.
8658 * genattrtab.c (main): Likewise.
8659 * gencodes.c (main): Likewise.
8660 * genconfig.c (main): Likewise.
8661 * genemit.c (main): Likewise.
8662 * genextract.c (main): Likewise.
8663 * genflags.c (main): Likewise.
8664 * genopinit.c (main): Likewise.
8665 * genoutput.c (main): Likewise.
8666 * genpeep.c (main): Likewise.
8667
8668 * genrecog.c (decision_test.u.insn): Add `lineno'.
8669 (pattern_lineno, error_count): New variables.
8670 (message_with_line): New.
8671 (add_to_sequence): Break out checking code to ...
8672 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
8673 (merge_insn): Use message_with_line.
8674 (make_insn_sequence): Use validate_pattern. Record insn lineno.
8675 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
8676
8677 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8678
8679 * expr.c (store_constructor): Clear union if constructor is empty.
8680
8681 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
8682
8683 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
8684 Add !endian checks. Change %{...} to %(...).
8685
8686 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
8687
8688 * i386.md (*addsi3_cc): Renamed from addcsi3.
8689 (*addsi3_carry): Renamed from addxsi3.
8690 (*subsi3_cc): Renamed from subcsi3.
8691 (*subsi3_carry): Renamed from subxsi3.
8692 (*xorqi_cc_1): Renamed from xorcqi_1.
8693 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
8694 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
8695
8696 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
8697
8698 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
8699 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
8700
8701 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
8702
8703 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
8704 climb up the chain of insns.
8705
8706 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
8707
8708 * genrecog.c (write_subroutine): Careful for null trees.
8709 (process_tree): Don't elide empty functions.
8710
8711 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
8712
8713 * Makefile.in (genrtl.o): Depend on ggc.h.
8714 * configure.in (valloc): Probe for it.
8715 (with-gc): Use ggc-page if valloc present.
8716 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
8717 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
8718 (ggc_alloc_string): Moved from ggc-page.c.
8719 * ggc-none.c (ggc_alloc_obj): New.
8720 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
8721 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
8722 (struct globals): Likewise for dev_zero_fd.
8723 (init_ggc): Likewise for it's initialization.
8724 (ggc_allocated_p): Move careful dereference from ...
8725 (ggc_lookup_page_table): ... here. Delete.
8726 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
8727 (alloc_anon): Use valloc if no mmap.
8728 (release_pages): Use free if using valloc.
8729 (ggc_alloc_obj): Renamed from alloc_obj.
8730 (ggc_set_mark): Renamed from mark_obj.
8731 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
8732 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
8733 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
8734 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
8735 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
8736 (ggc_collect): Use fp printing instead of our own rounding.
8737 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
8738 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
8739 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
8740 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
8741 (struct ggc_string, struct ggc_any): Delete.
8742 (offsetof): Provide default definition.
8743 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
8744 (PTR_KEY): New.
8745 (struct ggc_mem): New, from corpse of ggc_any.
8746 (struct ggc_status): Delete.
8747 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
8748 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
8749 (n_strings_collected, n_anys_collected): Delete.
8750 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
8751 (ggc_alloc_string, ggc_alloc): Delete.
8752 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
8753 (ggc_free_string, ggc_free_any): Delete.
8754 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
8755 (ggc_compare_addresses, ggc_mark_string): Delete.
8756 (ggc_mark_string_if_gcable, ggc_mark): Delete.
8757 (search_data): Delete.
8758 (struct globals): New.
8759 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
8760 (tree_insert, tree_lookup): New.
8761 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
8762 (clear_marks, sweep_objs): New.
8763 (ggc_collect): Gut. Use clear_marks, sweep_objs.
8764 (init_ggc): Set allocated_last_gc.
8765 (ggc_push_context): Gut. Use G.context.
8766 (ggc_pop_context): Likewise.
8767 (ggc_pop_context_1): New.
8768 (debug_ggc_tree): New.
8769 (debug_ggc_balance, tally_leaves): New.
8770 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
8771 (ggc_mark_string_if_gcable): Remove decl.
8772 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
8773 (ggc_mark_rtvec_children): New.
8774 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
8775 (ggc_mark_if_gcable): New decl.
8776 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
8777 (ggc_alloc_tree, ggc_alloc): Likewise.
8778 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
8779 (ggc_alloc_obj): New decl.
8780 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
8781 (ggc_alloc_tree, ggc_alloc): Likewise.
8782 (ggc_set_mark): New decl.
8783 * rtl.h (struct rtx_def): Remove gc_mark.
8784 (struct rtvec_def): Likewise.
8785 * tree.h (struct tree_common): Likewise.
8786
8787 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
8788
8789 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
8790 float_format and thread_file definitions.
8791 * configure: Rebuilt.
8792
8793 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
8794
8795 * extend.texi (Function Names): Document types of function names.
8796
8797 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8798
8799 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
8800 an earlyclobbered output conflict with RELOAD_INPUT reloads.
8801
8802 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8803
8804 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
8805
8806 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8807
8808 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
8809
8810 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
8811
8812 * collect2.c (main): Do prelimnary link on AIX if rflag.
8813
8814 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
8815
8816 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
8817 __CTOR_LIST__ in opposite order, which is the correct order for sorted
8818 constructors.
8819 (__do_global_dtors): similarly for __DTOR_LIST__.
8820
8821 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8822 Diego Novillo <dnovillo@cygnus.com>
8823
8824 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
8825 FPUL_REGS.
8826
8827 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
8828
8829 * fixincl/*: Merged "no_bogosity" branch
8830 * fixincl/fixlib.h: protect against doubly defining t_bool
8831 * fixincl/server.h: protect against doubly defining t_bool
8832
8833 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
8834
8835 * genoutput.c: Include toplev.h.
8836
8837 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
8838
8839 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
8840 Undef.
8841 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
8842 * configure: Regenerate.
8843
8844 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
8845
8846 * gcse.c (delete_null_pointer_checks): Returns void.
8847
8848 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8849
8850 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
8851 * emit-rtl.c (copy_insn_1): Likewise.
8852
8853 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
8854
8855 * config/mips/mips.c (mips_build_va_list): Correct
8856 TREE_CHAIN setting when hard-float.
8857 (mips_va_start): Use corrected setting.
8858 (mips_va_arg): Likewise. Also pass a tree to build of
8859 POSTINCREMENT_EXPR rather than a naked 'int'.
8860
8861 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
8862
8863 * ggc.h (ggc_push_context): Fix comment.
8864 (ggc_pop_context): Likewise.
8865 (mark_string_if_gcable): Likewise.
8866 * ggc-common.c (ggc_mark_rtx_children): Use
8867 ggc_mark_string_if_gcable.
8868 * ggc-page.c (ggc_lookup_page_table): New function.
8869 (ggc_allocated_p): Likewise.
8870 (mark_obj): Fix formatting.
8871 (ggc_mark_string_if_gcable): New function.
8872 * ggc-simple.c (ggc_allocated_strings): New variable.
8873 (ggc_strings_used): Likewise.
8874 (ggc_compare_addresses): New function.
8875 (ggc_pop_context): Pop the `any' memory too.
8876 (ggc_mark_string_if_gcable): New function.
8877 (ggc_collect): Initialize and tear down ggc_allocated_strings.
8878
8879 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
8880
8881 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
8882 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
8883 * rs6000.c (expand_block_move): Match movstrsi_?reg register
8884 changes.
8885
8886 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
8887
8888 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
8889 (sched_reg_live_length, sched_reg_basic_block): Delete.
8890 (current_block_num, bb_live_regs, old_live_regs): Delete.
8891 (dead_notes, struct sometimes): Delete.
8892 (sched_note_set, birthing_insn_p): Delete.
8893 (adjust_priority): Gut useless reg lifetime code.
8894 (create_reg_dead_note, attach_deaths): Delete.
8895 (attach_deaths_insn, new_sometimes_live): Delete.
8896 (finish_sometimes_live): Delete.
8897 (find_pre_sched_live, find_post_sched_live): Delete.
8898 (update_reg_usage): Delete.
8899 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
8900 (schedule_insns): Delete reg lifetime code.
8901 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
8902 (unlink_other_notes): Adjust REG_NOTE commentary.
8903 (reemit_notes): Use REG_SAVE_NOTE.
8904 (schedule_block): Likewise.
8905 (schedule_region): Allocate bitmap of blocks in region. Use
8906 count_or_remove_death_notes. Use update_life_info.
8907
8908 * rtl.h (REG_SAVE_NOTE): New.
8909 * rtl.c (reg_note_name): Update.
8910
8911 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
8912
8913 * combine.c (refresh_blocks, need_refresh): New.
8914 (combine_instructions): Allocate refresh_blocks. Invoke
8915 update_life_info if needed.
8916 (distribute_notes): Mark refresh_blocks instead of installing
8917 USE insns.
8918 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
8919 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
8920
8921 * Makefile.in (recog.o): Depend on basic-block.h.
8922
8923 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
8924
8925 * genrecog.c (add_to_sequence): Thinko last change: delete
8926 shadowing allow_const_int variable.
8927
8928 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8929
8930 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
8931 __GNUC__ and __GNUC_MINOR__.
8932
8933 * gansidecl.h: Likewise.
8934
8935 * rtl.c: Likewise.
8936
8937 * rtl.h: Likewise.
8938
8939 * toplev.h: Likewise.
8940
8941 * tree.c: Likewise.
8942
8943 * tree.h: Likewise.
8944
8945 * varray.c: Likewise.
8946
8947 * varray.h: Likewise.
8948
8949 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8950
8951 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
8952 use one before a jump table.
8953
8954 * rtl.def (ADDRESS): Change documentation to match reality.
8955 * md.texi: Don't document it.
8956 * gmicro.md (load address pattern): Use 'p' constraint, delete use
8957 of ADDRESS rtx.
8958
8959 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
8960
8961 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
8962
8963 * genrecog.c (add_to_sequence): Move allow_const_int test outside
8964 known predicate block; default allow_const_int true.
8965 (debug_decision_list): New.
8966
8967 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
8968
8969 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
8970
8971 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
8972
8973 * gcse.c (gcse_main): Avoid global optimizations if we have a
8974 large number of basic blocks and the ratio of edges to blocks
8975 is high.
8976 (delete_null_pointer_checks): Likewise.
8977
8978 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
8979
8980 * c-common.c (check_format_info): Warn if format string isn't a
8981 string literal.
8982
8983 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
8984
8985 * configure.in (arm*-*-*): Don't let autoconf remove brackets
8986 * configure: regenerate
8987
8988 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
8989
8990 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
8991 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
8992 (peepholes): Re-enable.
8993
8994 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
8995
8996 * Makefile.in (flow.o): Depend on TREE_H.
8997 * basic-block.h (REG_SET_EQUAL_P): New.
8998 (XOR_REG_SET): New.
8999 (n_edges): Declare.
9000 (free_regset_vector): Remove declaration.
9001 (flow_delete_insn_chain): Declare.
9002 (enum update_life_extent): New.
9003 (update_life_info, count_or_remove_death_notes): Declare.
9004 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
9005 Verify register live at bb->global_live_at_start before adding USE.
9006 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
9007 (CLEAN_ALLOCA): New.
9008 (n_edges): New.
9009 (PROP_*): New flags.
9010 (find_basic_blocks_1): Use alloc_EXPR_LIST.
9011 (clear_edges): Zero n_edges.
9012 (make_edge): Increment n_edges.
9013 (split_edge): Don't allocate bb->local_set. Increment n_edges.
9014 (flow_delete_insn_chain): Export.
9015 (delete_block): Decrement n_edges.
9016 (merge_blocks_nomove): Likewise.
9017 (life_analysis): Give life_analysis_1 PROP flags.
9018 (verify_wide_reg_1, verify_wide_reg): New.
9019 (verify_local_live_at_start): New.
9020 (update_life_info): Rewrite to call into propogate_block.
9021 (mark_reg): New.
9022 (mark_regs_live_at_end): After reload, if epilogue as rtl,
9023 always mark stack pointer. Conditionally mark PIC register.
9024 After reload, mark call-saved registers, return regsiters.
9025 (life_analysis_1): Accept PROP flags not remove_dead_code.
9026 Call mark_regs_live_at_end before zeroing regs_ever_live.
9027 Use calculate_global_regs_live. Copy global_live_at_end before
9028 calling final propagate_block. Zero reg_next_use on exit.
9029 (calculate_global_regs_live): New.
9030 (allocate_bb_life_data): Don't allocate bb->local_set.
9031 (init_regset_vector, free_regset_vector): Remove.
9032 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
9033 Test flags before every operation. Warn if prologue/epilogue insn
9034 would have been deleted.
9035 (mark_set_regs, mark_set_1): Accept and use FLAGS.
9036 Use alloc_EXPR_LIST.
9037 (mark_used_regs): Accept and use FLAGS, not FINAL.
9038 Remove special handling for RETURN.
9039 (try_pre_increment): Use alloc_EXPR_LIST.
9040 (dump_flow_info): Dump n_edges.
9041 (unlink_insn_chain, split_hard_reg_notes): Remove.
9042 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
9043 (find_insn_with_note, new_insn_dead_notes): Remove.
9044 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
9045 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
9046 (replace_insns): Remove.
9047 (count_or_remove_death_notes): New.
9048 (verify_flow_info): Abort on error after all checks.
9049 (remove_edge): Decrement n_edges.
9050 (remove_fake_edges): Tweek format.
9051 * haifa-sched.c (schedule_insns): Use split_all_insns.
9052 * output.h (update_life_info): Remove declaration.
9053 * recog.c (split_all_insns): From the corpse of split_block_insns,
9054 do the whole function block by block. Use update_life_info.
9055 (recog_last_allowed_insn): New.
9056 (recog_next_insn): Mind it.
9057 (peephole2_optimize): Set it. Walk backwards through blocks.
9058 Use update_life_info.
9059 * rtl.h (update_flow_info, replace_insns): Remove declarations.
9060 (split_all_insns): Declare.
9061 * toplev.c (rest_of_compilation): Thread prologue before flow2.
9062 Use split_all_insns.
9063
9064 * i386.md (or -1 peep2s): Disable.
9065
9066 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
9067
9068 * config/mips/mips.md (movstrsi+[123]) : Combine these into
9069 a single pattern. Scrap the 'd' versions as unnecessary.
9070
9071 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
9072 tablejump_mips162,tablejump_internal4): The operands to a
9073 label_ref must be VOIDmode.
9074
9075 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9076
9077 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
9078
9079 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
9080
9081 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
9082
9083 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
9084
9085 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
9086 cache every function if ggc_p.
9087
9088 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9089
9090 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
9091 instead of copy_rtx. Accept sequences that contain asm statements.
9092 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
9093 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
9094 orig_asm_operands_vector, copy_asm_operands_vector,
9095 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
9096 variables.
9097 * rtl.h (copy_insn, copy_insn_1): Declare.
9098
9099 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9100
9101 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
9102
9103 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
9104 arguments to `current_file_function_operand'.
9105
9106 * genrecog.c: Include hard-reg-set.h and resource.h in the
9107 generated output file.
9108
9109 * real.c: Include tm_p.h.
9110
9111 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9112
9113 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
9114 output operand.
9115
9116 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
9117
9118 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
9119 before the fctiwz insn.
9120
9121 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9122 Mark Mitchell <mark@codesourcery.com>
9123
9124 * tree.c (make_lang_type_fn): New funtion pointer.
9125 (make_lang_type): Call it.
9126 * tree.h (make_lang_type): Declare.
9127 (make_lang_type_fn): Likewise.
9128 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
9129
9130 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
9131
9132 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
9133 make sure that HIGH instructions are copied into BASE_REGS.
9134
9135 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
9136
9137 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
9138
9139 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
9140
9141 * c-decl.c (finish_struct): Use simpler method of
9142 removing elements of a singly-linked list.
9143
9144 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
9145
9146 * alpha.md (peephole2's): Comment out peephole2's that generate
9147 buggy code.
9148
9149 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
9150
9151 * genrecog.c (add_to_sequence): Disable mode check for
9152 wildcard matches.
9153
9154 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9155
9156 * ggc-simple.c (init_ggc): Set empty_string.
9157
9158 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
9159
9160 * configure.in: Detect mmap. Add --with-gc=foo to select
9161 garbage collector; default to page if mmap available.
9162 * Makefile.in (GGC): Substitute.
9163
9164 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
9165
9166 * c-decl.c (ggc_p): Enable.
9167
9168 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9169
9170 * flow.c (verify_flow_info): Make it extern & unconditionally define.
9171
9172 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
9173
9174 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
9175 string for little-endian-data.
9176
9177 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
9178
9179 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
9180 case somebody tries to compile --enable-checking code with gcc
9181 1.34 or such.
9182
9183 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
9184
9185 * genrecog.c (add_to_sequence): Verify operand to label_ref is
9186 VOIDmode.
9187
9188 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
9189
9190 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
9191 * jump.c (jump_optimize_1): Document why.
9192
9193 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9194
9195 * collect2.c (scan_prog_file, scan_libraries): Prototype function
9196 pointers and casts for `int_handler' and `quit_handler'.
9197
9198 * flow.c (verify_flow_info, split_hard_reg_notes,
9199 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
9200 remove_edge, remove_fake_successors): Add static prototypes.
9201 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
9202 (mark_set_1): Initialize variable `regno'.
9203 (unlink_insn_chain): Likewise for variable `curr'.
9204 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
9205
9206 * loop.c (strength_reduce): Initialize variable
9207 `unrolled_insn_copies'.
9208 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
9209 prototypes. Change these functions to take const PTR parameters
9210 to avoid prototype conflict when used as the comparson argument
9211 for qsort.
9212 (check_dbra_loop): Initialize variable `comparison_val'.
9213
9214 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
9215 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
9216 (find_valid_class): Initialize variable `best_class'.
9217 (find_reloads): Call memcpy, not bcopy.
9218
9219 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
9220 (hard_reg_use_compare): Don't needlessly cast away const.
9221 (reload_reg_class_lower): Likewise.
9222 (choose_reload_regs): Initialize variable `regno'.
9223
9224 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
9225
9226 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
9227
9228 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
9229
9230 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
9231 ({,d}discard): Add forward declarations. Declare parameter as
9232 unused.
9233 (main_without_main): Explicitly declare return type to be int.
9234 (memcpy): Properly declare.
9235
9236 * libgcc2.c (toplevel): If inhibit_libc is defined and not
9237 building the trampoline support, declare malloc, free, and
9238 atexit.
9239 (__clear_cache): Mark arguments as potentially unused.
9240
9241 * frame.c (toplevel): If inhibit_libc is defined, declare
9242 malloc and free.
9243
9244 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
9245
9246 * flow.c (make_edge): Accept an optional 2D bitmap in which
9247 to cache edge existence. Update all callers.
9248 (make_label_edge, make_eh_edge): Pass through the edge cache.
9249 (make_edges): Provide the cache.
9250
9251 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9252
9253 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
9254 a char*.
9255 (local_mbtowc): Change the type of variable `i' from int to size_t.
9256
9257 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
9258 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
9259
9260 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
9261
9262 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
9263 after other includes that define the appropriate types. Include
9264 tm_p.h for getting user prototypes.
9265 * ggc-callbacks.c (toplevel): Ditto.
9266 * ggc-none.c (toplevel): Ditto.
9267 * gcc-page.c (toplevel): Ditto.
9268 * ggc-simple.c (toplevel): Ditto.
9269
9270 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
9271 Jonathan Larmour <jlarmour@cygnus.co.uk>
9272
9273 * config/mips/mips.c (mips_move_2words): Split doubles if
9274 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
9275
9276 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
9277
9278 * genrecog.c (struct decision_test): New.
9279 (struct decision): Remove test-related members, sort the rest by size.
9280 (IS_SPLIT): Simplify.
9281 (new_decision, new_decision_test): New.
9282 (add_to_sequence): Use them. No special handling for args of
9283 non-MATCH codes.
9284 (maybe_both_true): Renamed from not_both_true; return sense changed.
9285 (maybe_both_true_1, maybe_both_true_2): New. Broken out
9286 of maybe_both_true and adjusted for decision_test.
9287 (position_merit): Remove.
9288 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
9289 (merge_accept_insn): New, broken out of merge_trees.
9290 (merge_trees): Use them. No special case for c_test; no node
9291 splitting; use test type instead of position_merit.
9292 (factor_tests): New.
9293 (simplify_tests): New.
9294 (break_out_subroutines): Don't write code now.
9295 (find_afterward): New.
9296 (write_afterward, write_switch, write_cond): New.
9297 (write_action, is_unconditional): New.
9298 (write_node): New. Use them.
9299 (write_tree_1): Rewrite. Use the new functions above.
9300 (write_tree): Remove afterward processing.
9301 (write_subroutine): Simplify function variant emission.
9302 (write_subroutines): New.
9303 (same_codes, clear_codes): Remove.
9304 (same_modes, clear_modes): Remove.
9305 (write_header): New, broken out of main.
9306 (make_insn_sequence): Use new_decision and new_decision_test.
9307 (process_tree): New, broken out of main.
9308 (main): Adjust for merge_trees interface change.
9309 Don't #define operands in the output file.
9310 (record_insn_name): New, broken out of make_insn_sequence.
9311 (debug_decision_2, debug_decision_1, debug_decision_0): New.
9312 (debug_decision): New.
9313
9314 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
9315
9316 * resource.c (find_free_register): Mark class_str argument const.
9317 * resource.h: Update prototype to match.
9318
9319 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
9320 * i386.md: Give all anonymous insns names.
9321
9322 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
9323
9324 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
9325 blocks.
9326
9327 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
9328
9329 * toplev.c (dbr_sched_time): Unconditional.
9330 (peephole2_time): New.
9331 (compile_file): Add pass numbers to all of the dump file suffixes.
9332 Dump peephole2_time. Don't dump times for non-applicable passes.
9333 (rest_of_compilation): Add pass numbers to dump file suffixes.
9334 Conditionalize calls to the scheduler.
9335 * invoke.texi: Update.
9336
9337 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
9338
9339 * flow.c (make_edges): Fix insn iteration.
9340 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
9341 (find_basic_blocks_1): Fix spelling mistake.
9342
9343 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
9344
9345 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
9346 always have side-effects. Use memset not bzero.
9347 (make_node): Likewise.
9348
9349 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
9350
9351 * stmt.c (expand_anon_union_decl): When any of the elements of the
9352 union is addressable, so is the entire union.
9353
9354 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
9355
9356 * sbitmap.c (sbitmap_ones): Don't set too many bits.
9357
9358 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
9359 * bitmap.c (bitmap_operation): Return true iff TO changed.
9360 (bitmap_equal_p): New.
9361 (bitmap_bit_p): Tidy arithmetic.
9362 (debug_bitmap_file): Likewise.
9363
9364 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
9365
9366 * toplev.c (rest_of_compilation): Turn on cse_not_expected
9367 before cse2 instead of after.
9368
9369 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
9370
9371 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
9372 register offsets.
9373
9374 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9375
9376 * cppinit.c (is_idchar initializer): Loosen tests to accept
9377 gcc 2.>6 and >2.
9378
9379 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
9380
9381 * mips.md: Define conditional move patterns for floating point
9382 operands and DI mode conditions.
9383
9384 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
9385
9386 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
9387 always have side-effects.
9388
9389 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
9390
9391 * mn10200.c (asm_file_start): Fix typo.
9392
9393 * cppinit.c (is_idchar initializer): Tighten tests for when
9394 to put the table into initialized memory.
9395
9396 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
9397 not an array of rtunion.
9398 * gcc-page.c (ggc_alloc_rtvec): Similarly.
9399 * gcc-simple (ggc_free_rtvec): Similarly.
9400
9401 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
9402 of rtunions.
9403
9404 * mbchar.h: Add missing #endif.
9405
9406 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
9407 (FPBIT, DPBIT): Define.
9408
9409 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9410
9411 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
9412
9413 * profile.c (instrument_arcs, output_gcov_string,
9414 tablejump_entry_p): Add static prototypes.
9415 (output_gcov_string): Constify a char*.
9416
9417 * regmove.c (replacement_quality, fixup_match_2): Add static
9418 prototypes.
9419
9420 * resource.h (reg_dead_p): Add extern prototype.
9421
9422 * rtl.c (trim_filename): Add static prototype.
9423
9424 * scan-decls.c (skip_to_closing_brace): Likewise.
9425
9426 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
9427 (expand_end_case): Initialize variable `range'.
9428 (emit_case_nodes): Remove unused prototype `rtx_fn'.
9429
9430 * varasm.c (asm_emit_uninitialised): Add static prototype.
9431 (asm_emit_uninitialised, assemble_variable): Mark parameter with
9432 ATTRIBUTE_UNUSED.
9433
9434 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9435
9436 * cpplib.c (if_directive_nameo): Add static prototype.
9437
9438 * cse.c (cse_insn): Remove unused variable `p'.
9439
9440 * except.c (create_rethrow_ref, push_entry,
9441 receive_exception_label, new_eh_region_entry, find_func_region,
9442 clear_function_eh_region, process_nestinfo): Add static prototypes.
9443 (get_reg_for_handler): Hide definition.
9444 (process_nestinfo): Initialize variable `extra_handlers'.
9445
9446 * expr.h (expand_builtin_longjmp): Add extern prototype.
9447
9448 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
9449
9450 * function.c (prepare_function_start): Likewise.
9451 (pop_function_context_from): Mark parameter `context' with
9452 ATTRIBUTE_UNUSED.
9453 (push_temp_slots_for_block, flush_addressof): Hide definition.
9454
9455 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
9456 solve_program_flow_graph, calculate_branch_probs,
9457 function_summary, main, fancy_abort): Add prototypes.
9458
9459 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
9460 (add_hash): Constify a char*.
9461
9462 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
9463 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
9464 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
9465
9466 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
9467
9468 * lists.c (free_list, zap_lists): Likewise.
9469
9470 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9471
9472 * alias.c (nonlocal_reference_p): Add static prototype.
9473
9474 * bitmap.c (bitmap_element_allocate): Prototype args in function
9475 pointer cast.
9476
9477 * builtins.c (stabilize_va_list): Add static prototype.
9478 (expand_builtin_va_arg): Constify a char*.
9479
9480 * c-lex.c (getch, put_back, extend_token_buffer_to,
9481 read_line_number, token_getch, token_put_back): Add static
9482 prototypes.
9483
9484 * c-parse.gperf (hash, is_reserved_word): Likewise.
9485
9486 * cccp.c (is_dir_separator): Likewise.
9487
9488 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9489
9490 * graph.h: New file to prototype functions exported by graph.c.
9491
9492 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
9493
9494 * graph.c: Include graph.h.
9495
9496 * toplev.c: Likewise. Remove redundant prototypes.
9497
9498 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
9499
9500 * invoke.texi: Removed duplicated description for -Q.
9501
9502 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
9503
9504 * extend.texi: Grammar fix in __extension__ text.
9505
9506 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
9507
9508 * md.texi (define_peephole2): New section.
9509
9510 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
9511
9512 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
9513 (mov $-1 to or peepholer): Enable for pentium when optimizing for
9514 speed.
9515
9516 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
9517
9518 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
9519
9520 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
9521
9522 * i386.md (ffs expander): Emit Pentium friendly code for
9523 TARGET_PENTIUM.
9524
9525 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
9526
9527 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
9528 for non-trees.
9529 (build1): Likewise.
9530
9531 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9532
9533 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
9534
9535 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
9536
9537 * config/m68k/m68k.c (use_return_insn): Return false if the pic
9538 register is in use.
9539
9540 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9541
9542 * md.texi (No Constraints): Delete section.
9543 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
9544 * final.c (final_scan_insn): We always have register constraints.
9545 * genattrtab.c: Don't include "insn-config.h".
9546 (write_attr_case): We always have register constraints.
9547 * genconfig.c (register_constraint_flag): Delete.
9548 (walk_insn_part): Don't check whether we have register constraints.
9549 (main): Don't write out "#define REGISTER_CONSTRAINTS".
9550 * genoutput.c (have_constraints): Delete.
9551 (main): Don't set it.
9552 (output_operand_data): We always have constraints.
9553 (scan_operands): Likewise.
9554 (compare_operands): Likewise.
9555 * local-alloc.c (block_alloc): We always have constraints.
9556 (requires_inout): Always compile this function.
9557 * recog.c (extract_insn): We always have constraints.
9558 (constrain_operands, reg_fits_class_p): Always compile these
9559 functions.
9560 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
9561 fields.
9562 (struct insn_operand_data): Likewise.
9563 * regclass.c (regclass): We always have constraints.
9564 (record_reg_classes, copy_cost, record_address_regs,
9565 auto_inc_dec_reg_p): Always compile these functions.
9566 * regmove.c (regmove_optimize): We always have constraints.
9567 * reload.c (find_reloads): Likewise.
9568 * reload1.c (reload): Likewise.
9569 (reload_cse_simplify_operands): Likewise.
9570 * i860.c (output_delay_insn): Likewise.
9571
9572 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
9573
9574 * iris6.h (BUILD_VA_LIST_TYPE): Define.
9575
9576 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9577
9578 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
9579 for the va_list record.
9580
9581 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
9582
9583 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
9584 prologues.
9585
9586 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
9587
9588 * alias.c: Include insn-flags.h.
9589 * Makefile.in (alias.o): Update.
9590
9591 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
9592
9593 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
9594 to LTU and GEU. Handle more cases using sbb.
9595
9596 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
9597
9598 * i386.md (truncatexfdf splitters): Do not use subreg.
9599 (fop XFmode patterns): Fix mode in operand testing.
9600
9601 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
9602
9603 * jump.c (jump_optimize_1): Amend last change to test only the
9604 form of the operand, not the insn.
9605
9606 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
9607 not register_operand to determine when B may need preloading.
9608
9609 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
9610
9611 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
9612 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
9613 (call-value patterns): Move to end of file.
9614 (*): Remove mode from label_ref in (pc) context.
9615 (movstrqi): Use memory not general_operand for BLKmode operands.
9616 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
9617 to register_operand operands.
9618 (peep2 patterns): Convert from commented-out peephole patterns.
9619
9620 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9621
9622 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
9623 to BUILT_IN_INIT_DWARF_REG_SIZES.
9624 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
9625 Renamed from BUILT_IN_DWARF_REG_SIZE; call
9626 expand_builtin_init_dwarf_reg_sizes.
9627 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
9628 with __builtin_init_dwarf_reg_size_table.
9629 * dwarf2out.c (struct reg_size_range): Delete.
9630 (expand_builtin_init_dwarf_reg_sizes): New function.
9631 (expand_builtin_dwarf_reg_size): Delete.
9632 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
9633 (expand_builtin_dwarf_reg_size): Don't declare.
9634 * libgcc2.c (dwarf_reg_size_table_initialized): New.
9635 (dwarf_reg_size_table): New.
9636 (init_reg_size_table): New function.
9637 (copy_reg): Use dwarf_reg_size_table.
9638 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
9639 before use.
9640
9641 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
9642
9643 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
9644 Correctly build argument list to constructor and destructor functions.
9645
9646 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
9647
9648 * c-tree.h (warn_float_equal): Declare.
9649 * c-decl.c (warn_float_equal): Define.
9650 (c_decode_option): Recognize -W[no-]float-equal.
9651 * c-typeck.c (build_binary_op): Conditionally warn
9652 about equality tests of floating point types.
9653 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
9654 * invoke.texi: Add docs for -Wfloat-equal warning.
9655
9656 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
9657
9658 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
9659 generating RTL directly.
9660 * mips.h (INIT_TARGET_OPTABS): Likewise.
9661 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
9662
9663 * expr.h (init_mov_optab): Delete declaration
9664
9665 * h8300.c (WORD_REG_USED): Update to avoid useless register
9666 saves in interrupt functions and functions which never return.
9667
9668 * cse.c (struct set): Delete inner_dest_loc field.
9669 (cse_insn): Remove assignments to inner_dest_loc field.
9670
9671 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
9672
9673 * ggc-page.c: Don't include <unistd.h> etc taken care of
9674 by "system.h". Include <sys/mman.h> afterward.
9675
9676 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
9677
9678 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
9679 ggc_alloc_string.
9680
9681 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
9682
9683 * xcoffout.c (xcoffout_declare_function): Add documentation.
9684 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
9685 TARGET_64BIT. Compare constant to -1, not bit pattern.
9686 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
9687 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
9688 gen_movsi typos.
9689
9690 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
9691
9692 * dwarf2out.c (add_abstract_origin_attribute): Abort if
9693 origin_die is NULL.
9694 (gen_inlined_enumeration_type_die): Do not abort if the type has
9695 not been writeen out.
9696 (gen_inlined_structure_type_die): Do not abort if the type has
9697 not been writeen out.
9698 (gen_inlined_union_type_die): Do not abort if the type has
9699 not been writeen out.
9700 (gen_tagged_type_instantiation_die): Do not abort if the type
9701 has not been written out.
9702
9703 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9704
9705 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
9706 call it.
9707 * reg-stack.c (straighten_stack): Copy hard reg set with
9708 COPY_HARD_REG_SET.
9709
9710 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
9711
9712 * builtins.c (stabilize_va_list): Stabilize array type va_list
9713 to a pointer type, not the base record type.
9714 (expand_builtin_va_copy): Dereference the pointers explicitly;
9715 use the correct size for the copy.
9716
9717 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
9718 (rs6000_va_arg): Likewise.
9719
9720 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
9721
9722 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
9723
9724 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
9725
9726 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
9727 field.
9728 (DECL_BUILT_IN_CLASS): Adjust accordingly.
9729
9730 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
9731
9732 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
9733 (init_ggc): Use it instead of a constant.
9734 (ggc_collect): Bound allocated_last_gc by it.
9735
9736 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
9737
9738 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
9739 with va_list.
9740
9741 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
9742
9743 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
9744 (mips*-*-openbsd*): Let big endian configuration be a fragment.
9745 * configure: Regen.
9746 * config/mips/openbsd.h: New, OpenBSD little endian target.
9747 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
9748 * config/mips/xm-openbsd.h: New, OpenBSD host.
9749
9750 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
9751
9752 * config/m68k/m68k.c (output_function_prologue,
9753 output_function_epilogue): Use
9754 current_function_uses_pic_offset_table instead of regs_ever_live
9755 to decide whether to save/restore pic register.
9756 (legitimize_pic_address): Don't modify regs_ever_live any more.
9757
9758 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
9759
9760 * function.h (struct function): Add x_dont_save_pending_sizes_p.
9761 * stor-layout.c (variable_size): Don't add sizes to the pending
9762 sizes list if x_dont_save_pending_sizes_p is set.
9763
9764 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
9765
9766 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
9767 for symbolic_operand().
9768 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
9769
9770 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9771
9772 * combine.c (gen_rtx_combine): Add missing call to va_end().
9773
9774 * final.c (asm_fprintf): Likewise.
9775
9776 * genattrtab.c (attr_rtx): Likewise.
9777
9778 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
9779
9780 * cse.c: Update comments.
9781 (cse_insn): When converting a conditional/computed jump into
9782 an unconditional jump, always make sure a BARRIER immediately
9783 follows the converted jump. Do not delete unreachable code.
9784 (cse_basic_block): Do not delete unreachable code.
9785 * toplev.c (rest_of_compilation): Move call to
9786 delete_trivially_dead_insns after the conditional call to
9787 jump_optimize.
9788
9789 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9790
9791 * collect2.c (make_temp_file): Don't prototype.
9792
9793 * gcc.c (make_temp_file): Likewise.
9794
9795 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
9796
9797 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
9798
9799 * varasm.c (asm_emit_uninitialised): New function: Generate
9800 the assembler statements necessary to declare an uninitialised
9801 variable.
9802 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
9803 variable.
9804 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
9805 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
9806 section.
9807 (assemble_variable): Use asm_emit_uninitialised to emit an
9808 uninitialised variable.
9809
9810 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
9811
9812 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
9813 constant on a 64 bit host. Patch supplied by Geoffrey Keating
9814 <geoffk@cygnus.com>.
9815
9816 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9817
9818 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
9819 * c-common.h (builtin_function): Don't declare.
9820
9821 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
9822 DECL_BUILT_IN.
9823 (pushdecl): Likewise.
9824 (finish_decl): Likewise.
9825 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
9826 int. All callers changed.
9827 Set the builtin's DECL_BUILT_IN_CLASS.
9828 * tree.h (enum built_in_class): New.
9829 (enum built_in_function): Delete NOT_BUILT_IN.
9830 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
9831 in a union.
9832 (DECL_SET_FUNCTION_CODE): Likewise.
9833 (DECL_BUILT_IN_CLASS): New macro.
9834 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
9835 (struct tree_decl): Split builtin function code field into a
9836 struct.
9837 (builtin_function): Declare.
9838
9839 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
9840
9841 * optabs.c (init_traps): Fix typo in last change.
9842
9843 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
9844
9845 * toplev.c (rest_of_decl_compilation): Update comment.
9846
9847 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
9848
9849 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
9850 in .sbss if appropriate.
9851 (EXTRA_SECTION_FUNCTIONS): Add sbss.
9852 (SBSS_SECTION_ASM_OP): New macro.
9853 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
9854 (EXTRA_SECTIONS): Add in_sbss.
9855 * config/mips/mips.h: Prototype sbss_section.
9856
9857 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
9858
9859 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
9860 to disappear.
9861
9862 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
9863
9864 * optabs.c (init_traps): Register trap_rtx as a GC root.
9865
9866 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9867
9868 * config/mips/mips.c (function_arg_pass_by_reference): Define
9869 unconditionally, since it's called unconditionally.
9870
9871 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
9872
9873 * toplev.c (documented_lang_options): Add -fshort-wchar.
9874 * c-decl.c (c_decode_option): Likewise.
9875 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
9876 for wchar_t.
9877 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
9878 * gcc.c (default_compilers): If -fshort-wchar,
9879 override __WCHAR_TYPE__.
9880 * tm.texi (C Dialect Options): Add -fshort-wchar.
9881
9882 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
9883 symbol for a variable.
9884
9885 * cpplib.h (CPP_PREPROCESSED): New macro.
9886 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
9887 we're seeing this input for a second time.
9888
9889 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
9890
9891 * emit-rtl.c (init_emit_once): Initialize modes first.
9892
9893 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
9894
9895 * config/i386/i386.c (pic_label_name): Change to char pointer.
9896 (global_offset_table): New variable.
9897 (load_pic_register): Fill global_offset_table if it hasn't
9898 already been done. Allocate pic_label_name dynamically.
9899 * ggc.h (empty_string): New variable.
9900 * ggc-simple.c (empty_string): Likewise.
9901 (init_ggc): Allocate empty_string and add as root.
9902 * stmt.c (digit_strings): New variable.
9903 (init_stmt): Add last_block_end_note as root. Allocate and
9904 initialize digit_strings.
9905 (expand_asm_operands): Use empty_string instead of string
9906 constant. Use digit_strings instead of string constants.
9907 * profile.c (init_arc_profiler): Allocate string with
9908 ggc_alloc_string instead of xmalloc.
9909 (output_func_start_profiler): Likewise.
9910 * c-typeck.c (digest_init): Check if init is error_mark_node.
9911
9912 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
9913 Richard Henderson <rth@cygnus.com>
9914
9915 * ggc-page.c: New file.
9916 * Makefile.in (ggc-page.o): New.
9917
9918 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
9919
9920 * invoke.texi: Document -fdelete-null-pointer-checks
9921 * toplev.c (flag_delete_null_pointer_checks): New.
9922 (f_options): Add entry for -fdelete-null-pointer-checks.
9923 (rest_of_compilation): Conditionalize null pointer check
9924 elimination on flag_delete_null_pointer_checks.
9925 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
9926
9927 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
9928
9929 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
9930 copyright notice and special exception to GPL.
9931
9932 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9933
9934 * abi64.h (mips_function_value): Add prototype arguments.
9935
9936 * mips-protos.h: New file with mips prototypes.
9937
9938 * mips.c: Include "tm_p.h".
9939 (mktemp, lookup_name): Add prototype arguments.
9940 (extern_list, string_constant, mips_fill_delay_slot,
9941 mips_output_external, mips_output_external_libcall,
9942 mips_output_filename, mips_declare_object, function_prologue,
9943 mips_expand_prologue, function_epilogue, mips16_constant,
9944 build_mips16_function_stub, mips_output_conditional_branch):
9945 Constify a char*.
9946 (mips_va_start): Remove unused variable `u'.
9947 (mips_va_arg): Cast value to unsigned when comparing against one.
9948 (trace): Delete.
9949 (save_restore_insns, mips_expand_prologue): Add missing arg in
9950 call to `large_int'.
9951
9952 * mips.h: Move prototypes to mips-protos.h.
9953 (data_section, memory_address_p, rdata_section,
9954 readonly_data_section, simple_epilogue_p, text_section): Delete
9955 prototypes delcared elsewhere.
9956 (mips_epilogue_delay_slots, print_options): Delete unused decls.
9957 (trace): Delete.
9958 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
9959
9960 * mips.md: Delete extra args in call to `mips_move_2words'.
9961
9962 * xm-iris6.h (alloca): Add prototype argument.
9963
9964 * genpeep.c: Include "tm_p.h" in generated output file.
9965
9966 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
9967
9968 * basic-block.h (find_edge_index): Change parameters.
9969 * flow.c (verify_edge_list): Pass basic_block parameters to
9970 find_edge_index instead of integers.
9971
9972 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
9973
9974 * combine.c (simplify_comparison): Use an unsigned shift to adjust
9975 the constant.
9976
9977 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
9978
9979 * gcc.1: Fix a formatting error.
9980
9981 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
9982
9983 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
9984 i786, mn10200, mn10300, pdp11, v850.
9985
9986 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
9987
9988 * libgcc2.c (num_digits): Add prototype with
9989 __attribute__((const)).
9990 (__terminate): Add prototype.
9991
9992 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
9993
9994 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
9995
9996 * alpha/alpha.c (print_operand): Fix type of `code'.
9997 (alpha_output_filename): Constify.
9998 * alpha/alpha.h: Move all function declarations ...
9999 * alpha/alpha-protos.h: ... here. New file.
10000 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
10001 (SECTION_FUNCTION_TEMPLATE): Likewise.
10002
10003 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10004
10005 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
10006 * expr.c (expand_expr): Likewise.
10007 (do_jump): Likewise.
10008 (do_store_flag): Pass ccp_store_flag to can_compare_p.
10009 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
10010 accessor macros.
10011 (enum can_compare_purpose): New.
10012 (can_compare_p): Adjust prototype.
10013 (prepare_cmp_insn, prepare_operand): Declare.
10014 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
10015 * optabs.c (cmp_available_p): Deleted.
10016 (expand_abs): Pass ccp_jump to can_compare_p.
10017 (can_compare_p): New arg PURPOSE. Check for combined optabs.
10018 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
10019 Call can_compare_p rather than cmp_available_p.
10020 (prepare_operand): No longer static.
10021 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
10022 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
10023 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
10024 sequence to use emit_cmp_and_jump_insns.
10025 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
10026
10027 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
10028
10029 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
10030 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
10031 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
10032 (plus (reg) (const_int 0))
10033 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
10034
10035 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
10036
10037 * rs6000.c (expand_block_move): DImode loads and stores require
10038 word-aligned displacements. Increment address registers with
10039 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
10040
10041 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
10042
10043 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
10044 is no name for the base type, rather than segfault. If we are
10045 writing out a complex integer type, use DW_ATE_lo_user.
10046
10047 * expr.c (emit_move_insn_1): If we are copying a complex that fits
10048 in one word or less (complex char, complex short, or on 64 bit
10049 systems complex float) to/from a hard register, copy it through
10050 memory instead of dying in gen_{real,imag}part. If we have a
10051 short complex type, prevent inlining since it allocates stack
10052 memory.
10053
10054 * tree.c (build_complex_type): If we are writing dwarf2 output,
10055 generate a name for complex integer types.
10056
10057 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
10058
10059 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
10060 * flow.c (remove_edge): Remove extra whitespace.
10061 (remove_fake_edges): Fix comment.
10062 (add_noreturn_fake_exit_edges): Use the correct name.
10063
10064 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
10065
10066 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
10067 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
10068 (clean): Depend on INTL_CLEAN.
10069 (maintainer-clean): Adjust.
10070
10071 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10072
10073 * configure.in (AC_PREREQ): Bump to 2.13.
10074 (AC_C_STRINGIZE): Call this instead of using a custom macro.
10075
10076 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
10077
10078 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
10079
10080 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
10081
10082 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
10083 (HAVE_STRINGIZE): Define.
10084
10085 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
10086
10087 * c-parse.in: save and restore warn_pointer_arith on __extension__
10088 along with pedantic.
10089 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
10090 Set the type of extension to itype rather than $<itype>1 kludge.
10091 * extend.texi (Alternate Keywords): Adjust documentation.
10092 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
10093
10094 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
10095
10096 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
10097 most assembler templates.
10098
10099 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
10100 FP loads and stores.
10101 (following_call): Always return zero for the PA8000.
10102 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
10103 FP loads and stores.
10104 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
10105
10106 * pa.h (BRANCH_COST): Define.
10107
10108 * pa.md (return, return_internal): Use bve for PA2.0.
10109
10110 * pa.md (fused multiply): Add variants which reduce height for the
10111 fused multiply, but which still generate 2 insns.
10112 (fnegabs): Similarly.
10113
10114 * pa.md (subsi3): Turn into an expander. Create two anonymous
10115 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
10116 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
10117
10118 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
10119 for TARGET_PA_20.
10120 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
10121 code generation.
10122 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
10123 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
10124
10125 * regclass.c (init_regs): Add "top_of_stack" as a garbage
10126 collection root.
10127
10128 * flow.c (record_active_eh_regions): Terminate loop after finding
10129 the last insn in the last basic block.
10130
10131 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10132
10133 * config/c4x/c4x.md: Delete parallel instruction peepholes.
10134
10135 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10136
10137 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
10138
10139 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10140
10141 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
10142 splitting to not use output template.
10143
10144 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10145
10146 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
10147 * config/c4x/c4x.c (c4x_va_start): New function.
10148
10149 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
10150
10151 * genrecog.c (not_both_true): Handle correctly cases when called for
10152 tests with different positions in the insn.
10153
10154 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10155
10156 * machmode.h (HOST_PTR_PRINTF): Move from here ...
10157
10158 * system.h (HOST_PTR_PRINTF): ... to here.
10159
10160 * mips-tfile.c: Don't include machmode.h.
10161
10162 * Makefile.in (MACHMODE_H): New variable. Update to use it.
10163 (mips-tfile.o): Don't depend on machmode.h.
10164
10165 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10166
10167 * haifa-sched.c (sched_analyze): Rename local variable `region' to
10168 avoid conflicts with typedef struct `region' at the top level scope.
10169
10170 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
10171
10172 * basic-block.h (basic_block): Add eh_beg, eh_end.
10173 * flow.c (entry_exit_blocks): Update.
10174 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
10175 Call new functions.
10176 (find_basic_blocks_1): Don't record eh_list at each bb. Use
10177 lists.c functions to allocate insn lists.
10178 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
10179 edge creation ...
10180 (make_eh_edge): ... here. New.
10181 (move_stray_eh_region_notes): New.
10182 (record_active_eh_regions): New.
10183 (delete_unreachable_blocks): Split out block merging ...
10184 (try_merge_blocks): ... here. New.
10185 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
10186 Dump debugging data.
10187 (merge_blocks_move_successor_nojumps): Likewise.
10188 (merge_blocks): Use eh_beg+eh_end to validate block movement.
10189
10190 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
10191
10192 * extend.texi (Bound member functions): Document unbound pmf
10193 conversion.
10194
10195 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
10196
10197 * flow.c (split_edge): Handle insertion on a fallthrough edge which
10198 has the EXIT_BLOCK as a dest.
10199
10200 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
10201
10202 * flow.c (remove_edge): New function to remove an edge from the
10203 flow graph.
10204 (remove_fake_successors): New function to remove fake successor edges.
10205 (remove_fake_edges): New function to remove all fake edges from the
10206 flow graph.
10207 (add_fake_exit_edges): New function to add fake edges from all blocks
10208 with no successors to the exit block.
10209 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
10210 prototypes for new functions.
10211
10212 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
10213
10214 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
10215 Use Pmode to determine whether to output .dword or .word.
10216
10217 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
10218
10219 * tree.c (built_in_filename): New variable.
10220 (BUILT_IN_FILENAME): New macro.
10221 (init_tree_codes): Allocate built_in_filename.
10222 (make_node): Use built_in_filename instead of string constant.
10223
10224 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
10225
10226 * configure.in: Add fr30 target.
10227 * configure: Regenerate.
10228 * config/fr30: New directory.
10229 * config/fr30/crti.asm: New file.
10230 * config/fr30/fr30.c: New file.
10231 * config/fr30/crtn.asm: New file.
10232 * config/fr30/fr30.h: New file.
10233 * config/fr30/fr30.md: New file.
10234 * config/fr30/lib1funcs.asm: New file.
10235 * config/fr30/t-fr30: New file.
10236 * config/fr30/xm-fr30.h: New file.
10237
10238 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
10239
10240 * flow.c (merge_blocks_move_successor_nojumps): Delete the
10241 BARRIER at the end of the successor, not the BARRIER before
10242 the successor.
10243
10244 * pa.c (pa_add_gc_roots): Fix thinko in last change.
10245
10246 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
10247
10248 * stmt.c (any_pending_cleanups): Don't crash when
10249 current_function->stmt is unset.
10250
10251 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10252
10253 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
10254 other initializations that may use it for relative offsets.
10255
10256 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10257
10258 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
10259 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
10260 * config/i386/sol2dbg.h: Removed.
10261 * config/i386/sol2gas.h: New file, to enable gas work-around.
10262 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
10263 Don't use sol2dbg.h.
10264 * configure: Rebuilt.
10265
10266 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
10267
10268 * invoke.texi (-fthis-is-variable): Remove documentation.
10269
10270 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
10271
10272 * basic-block.h (compute_bb_for_insn): Declare.
10273 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
10274 to use; set size of basic_block_for_insn directly.
10275 (find_basic_blocks): Update.
10276
10277 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10278
10279 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
10280
10281 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10282
10283 * crtstuff.c (ON_EXIT): Delete empty macro definition.
10284 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
10285
10286 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
10287
10288 * c-decl.c (c_decode_option): Extend comment.
10289
10290 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
10291
10292 * toplev.c (progname): Make 'const char *'
10293 (flag_print_mem): Move out of main.
10294 (version_flag): Move out of main.
10295 (filename): Move out of main.
10296 (debug_args): Remove g prefix from options.
10297 (documented_lang_options): Remove cpplib specific options.
10298 (display_help): Add g prefix to debug options.
10299 (check_lang_option): Delete this function.
10300 (decode_d_option): New function: Decode -d... option.
10301 (decode_f_option): New function: Decode -f... option.
10302 (decode_W_option): New function: Decode -W... option.
10303 (decode_g_option): New function: Decode -g... option.
10304 (independent_decode_option): New function: Decode a language
10305 independent command line option.
10306 (main): Invoke lang_decode_option and then
10307 independent_decode_option on each command line option in
10308 turn.
10309
10310 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
10311
10312 Revert this change. Gavin's patch to operand_equal_p is a better fix.
10313 * fold-const.c (fold_range_test): Do not try to fold the range
10314 test if the rhs or lhs has side effects.
10315
10316 * basic-block.h (compute_flow_dominators): Declare.
10317
10318 * gcse.c (alloc_code_hoist_mem): New function.
10319 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
10320 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
10321 (hoist_code, one_code_hoisting_pass): Likewise.
10322 (gcse_main): If optimizing for size, then hoist expressions
10323 computed in multiple dominated basic blocks.
10324
10325 * gcse.c (invalid_nonnull_info): New function.
10326 (delete_null_pointer_checks): Likewise.
10327 * rtl.h (delete_null_pointer_checks): Declare.
10328 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
10329
10330 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
10331 (merge-blocks_move_successor_nojumps): Likewise.
10332 (merge_blocks): Allow merging of some blocks, even if it requires
10333 physical movement of the blocks, but not if it requires new jumps.
10334
10335 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
10336 Callers and prototype changed.
10337 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
10338
10339 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10340
10341 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
10342 -YP when both -p and -pg are present. From i386/sol2.h.
10343
10344 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10345
10346 * Makefile.in (distclean): Delete tm_p.h.
10347 * configure.in: Create a new file, "tm_p.h", from a list in
10348 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
10349 "i386/i386-protos.h".
10350
10351 * alias.c: Include "tm_p.h".
10352 * c-typeck.c: Likewise.
10353 * calls.c: Likewise.
10354 * cse.c: Likewise.
10355 * emit-rtl.c: Likewise.
10356 * explow.c: Likewise.
10357 * expmed.c: Likewise.
10358 * expr.c: Likewise.
10359 * final.c: Likewise.
10360 * flow.c: Likewise.
10361 * fold-const.c: Likewise.
10362 * function.c: Likewise.
10363 * gcse.c: Likewise.
10364 * global.c: Likewise.
10365 * haifa-sched.c: Likewise.
10366 * integrate.c: Likewise.
10367 * jump.c: Likewise.
10368 * local-alloc.c: Likewise.
10369 * loop.c: Likewise.
10370 * optabs.c: Likewise.
10371 * recog.c: Likewise.
10372 * reg-stack.c: Likewise.
10373 * regclass.c: Likewise.
10374 * regmove.c: Likewise.
10375 * reload.c: Likewise.
10376 * reload1.c: Likewise.
10377 * reorg.c: Likewise.
10378 * resource.c: Likewise.
10379 * stmt.c: Likewise.
10380 * stor-layout.c: Likewise.
10381 * toplev.c: Likewise.
10382 * tree.c: Likewise.
10383 * unroll.c: Likewise.
10384 * genattrtab.c (main): Make generated file include "tm_p.h".
10385 * genemit.c (main): Likewise.
10386 * genoutput.c (main): Likewise.
10387 * genrecog.c (main): Likewise.
10388
10389 * i386.h: Delete all prototypes.
10390 * i386.c: Include "tm_p.h".
10391 (ix86_attr_length_default): Call constant_call_address_operand
10392 with correct number of arguments.
10393 * i386-protos.h: New file.
10394 * i386.md (unnamed patterns): Call constant_call_address_operand
10395 with correct number of arguments.
10396 (exception_receiver): Call load_pic_register with correct number
10397 of arguments.
10398
10399 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
10400
10401 * c-pragma.c (mark_align_stack): Dereference the void* properly.
10402
10403 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
10404
10405 * rtl.h (insns_safe_to_move_p): New function.
10406 * loop.c (find_and_verify_loops): Use it.
10407 * rtlanal.c (insns_safe_to_move_p): Define it.
10408
10409 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
10410
10411 * c-pragma.c: Include ggc.h.
10412 * Makefile.in (c-pragma.o): Update.
10413
10414 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10415
10416 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
10417 (LIB_SPEC): Likewise.
10418 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
10419 Reindent -YP/-p/-pg.
10420 Copied from config/sparc/sol2.h.
10421
10422 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
10423
10424 * c-pragma.c (mark_align_stack): New.
10425 (init_pragma): New.
10426 * c-pragma.h (init_pragma): Declare it.
10427 * c-lex.c (init_parse): Call it.
10428
10429 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10430
10431 * configure.in: Pick up thread library on Solaris/x86 just
10432 like on Solaris/sparc.
10433 * configure: Rebuilt.
10434
10435 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
10436
10437 * rtl.h (global_rtx_index): New enum.
10438 (global_rtl): Change to array of rtx.
10439 (pc_rtx, cc0_rtx): Redefine accordingly.
10440 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
10441 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
10442 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
10443 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
10444 (const_int_rtx): Change to array of rtx.
10445 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
10446 accordingly.
10447 * emit-rtl.c (global_rtl): Change to array of rtx.
10448 (const_int_rtx): Change to aray of rtx.
10449 (gen_rtx_CONST_INT): Redefine accordingly.
10450 (init_emit_once): Allocate and initialize global_rtl. Likewise
10451 for const_int_rtx. Add both as GC roots.
10452 * genattrtab.c (global_rtl): Update declaration.
10453
10454 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
10455
10456 * Makefile (USER_H): Add iso646.h back.
10457
10458 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
10459
10460 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
10461 zapping the LOG_LINKS of sched_before_next_call.
10462
10463 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
10464 * pa.c (insn_refs_are_delayed): Renamed from
10465 insn_sets_and_refs_are_delayed.
10466
10467 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
10468
10469 * functiion.h (struct function): Add x_whole_function_mode_p.
10470 (retrofit_block): Declare.
10471 * function.c (retrofit_block): New function.
10472 (identify_blocks): Add assertions. Allow an incomplete set of
10473 block notes if we're still generating code for the function.
10474 * integrate.c: Include loop.h.
10475 (expand_inline_function): Call find_loop_tree_blocks to map block
10476 notes to blocks when in whole-function mode. Use retrofit_block
10477 to insert new BLOCKs for the inlined function, rather than
10478 insert_block.
10479 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
10480 * Makefile.in (integrate.o): Depend on loop.h.
10481
10482 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
10483
10484 * tree.h (warn_about_unused_variables): Declare.
10485 * stmt.c (warn_about_unused_variables): New function, split out
10486 from ...
10487 (expand_end_bindings): Here.
10488
10489 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
10490
10491 * stmt.c (preserve_subexpressions_p): Don't crash when
10492 current_function->stmt is unset.
10493
10494 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
10495
10496 * stmt.c (expand_start_bindings): Allow callers to pass a flag
10497 indicating that no NOTE_INSN_BLOCK_BEG note is required.
10498 (expand_start_target_temps): Use it.
10499 * except.c (expand_eh_region_start_for_decl): Likewise.
10500 * expr.c (expand_expr): Likewise.
10501
10502 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
10503
10504 * fold-const.c (operand_equal_p): Pay attention to side effects.
10505
10506 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
10507
10508 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
10509 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
10510
10511 * tlink.c (scan_linker_output): Look for keywords before accepting
10512 a mangled name in quotes.
10513
10514 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
10515
10516 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
10517 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
10518
10519 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
10520
10521 * alpha.md: Revert Thu Nov 26 change that came in through the
10522 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
10523 Avoid earlyclobber when possible.
10524
10525 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10526
10527 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
10528
10529 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
10530 Define HAVE_ON_EXIT.
10531
10532 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10533
10534 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
10535 CTYPE_CONV in all ctype macros.
10536
10537 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
10538 from system.h.
10539
10540 * cexp.y (initialize_random_junk): Likewise.
10541
10542 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
10543
10544 * i370.c (handle_pragma): Likewise.
10545
10546 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
10547
10548 * v850.c (override_options): Likewise.
10549
10550 * doprint.c (_doprnt): Likewise.
10551
10552 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
10553 Likewise.
10554
10555 * fixinc/server.c (load_data): Likewise.
10556
10557 * fold-const.c (real_hex_to_f): Likewise.
10558
10559 * genattr.c (write_upcase, gen_attr): Likewise.
10560
10561 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
10562 write_upcase): Likewise.
10563
10564 * genemit.c (print_code): Likewise.
10565
10566 * genopinit.c (gen_insn): Likewise.
10567
10568 * genpeep.c (print_code): Likewise.
10569
10570 * genrecog.c (print_code): Likewise.
10571
10572 * optabs.c (init_libfuncs): Likewise.
10573
10574 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
10575
10576 * haifa-sched.c (sched_analyze): Keep the list of notes organized
10577 in pairs.
10578 (reemit_notes): Likewise.
10579
10580 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
10581
10582 * ggc.h (ggc_root): Move to ggc-common.c.
10583 (roots): Remove.
10584 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
10585 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
10586 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
10587 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
10588 * ggc-common.c (ggc_root): Move from ggc.h.
10589 (roots): Declare, static.
10590 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
10591 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
10592 null or check/set mark bit.
10593 (ggc_mark_roots): New.
10594 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
10595
10596 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
10597
10598 * m32r.c: Include toplev.h.
10599 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
10600 (gen_compare): Rename swap_p to must_swap to match uses.
10601 Add default abort case.
10602 (m32r_output_function_epilogue): Remove unused variables.
10603 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
10604 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
10605 define to empty parameter list. Update all uses.
10606 (predicate decls): Use enum machine_mode not int.
10607 * m32r.md (movsi): Call abort, not fatal_insn.
10608 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
10609
10610 1999-09-14 Andrew Haley <aph@cygnus.com>
10611
10612 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
10613 use $0 instead of 0.
10614
10615 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10616
10617 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
10618 computation out of loop over hard regs.
10619
10620 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
10621
10622 * function.c (identify_blocks): Don't shadow a variable in an
10623 outer scope.
10624 * integrate.c (integrate_decl_tree): Don't use pushlevel,
10625 pushdecl, or poplevel to build up the new BLOCK tree.
10626 (expand_inline_function): Likewise.
10627 (integrate_parm_decls): Likewise.
10628
10629 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
10630
10631 * c-typeck.c (qualify_type): Merge qualifiers from both types.
10632
10633 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
10634
10635 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
10636 * invoke.texi: Document this change.
10637
10638 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
10639
10640 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
10641 Free the struct.
10642 (mark_emit_status): Renamed from mark_emit_state.
10643 * except.c (mark_eh_status): Renamed from mark_eh_state.
10644 Check not null before marking.
10645 (free_eh_status): New.
10646 * expr.c (mark_expr_status, free_expr_status): New.
10647 * function.c (free_machine_status): New.
10648 (free_after_parsing): New.
10649 (free_after_compilation): Move bits to free_after_parsing; call
10650 free_eh_status, free_expr_status; zero the marked members of the
10651 function state.
10652 (prepare_function_start): No can_garbage_collect.
10653 Call init_eh_for_function.
10654 (expand_dummy_function_end): Free up current_function state.
10655 (mark_function_status): Renamed from mark_function_state.
10656 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
10657 * function.h (struct function): No can_garbage_collect.
10658 (free_machine_status, free_after_parsing): Declare.
10659 (free_eh_status, free_expr_status): Declare.
10660 * ggc.h (mark_expr_status): Declare.
10661 * stmt.c (free_stmt_status): Free the struct.
10662 (mark_stmt_status): Renamed from mark_stmt_state.
10663 (init_stmt): Don't call init_eh.
10664 (init_stmt_for_function): Don't call init_eh_for_function.
10665 * toplev.c (compile_file): Call init_eh.
10666 (rest_of_compilation): Free basic block info before ggc_collect.
10667 Call free_after_parsing; conditionally call free_after_compilation.
10668 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
10669 Check not null before marking.
10670 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
10671
10672 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
10673
10674 * c-lex.c (yylex): Initialize warn.
10675
10676 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
10677
10678 * pa.c (emit_move_sequence): Properly set the mode of the scratch
10679 register when performing secondary reloads for the SAR register.
10680
10681 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
10682
10683 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
10684 (NOTE_BLOCK): New macro.
10685 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
10686 * function.h (identify_blocks): Change prototype.
10687 * function.c (identify_blocks): Simplify.
10688 (reorder_blocks): Likewise.
10689 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
10690 NOTE_INSN_BLOCK_{BEG,END}.
10691 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
10692 the list of saved notes if the note isn't a
10693 NOTE_INSN_BLOCK_{BEG,END}.
10694 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
10695 NOTE_BLOCK_NUMBER.
10696 (reemit_notes): Adjust recreation of notes to reflect new saved
10697 note structure.
10698 * print-rtl.c (print_rtx): Print the address of the BLOCK when
10699 printing a block note.
10700 * stmt.c (block_vector): Remove.
10701 (find_loop_tree_blocks): Simplify.
10702 (unroll_block_trees): Likewise.
10703 * tree.h (reorder_block): Change prototype.
10704
10705 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
10706
10707 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
10708 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
10709 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
10710 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
10711 (atexit, exit): Simplify.
10712 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
10713 * config/lots: Remove defns of HAVE_ATEXIT.
10714
10715 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
10716
10717 * calls.c (precompute_arguments): Fix typo in comment.
10718 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
10719 TARGET_EXPR.
10720
10721 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
10722
10723 * dsp16xx.c (override_options): Fix typos in GC root registration.
10724
10725 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
10726
10727 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
10728 from config/svr4.h.
10729 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
10730 (FUNCTION_PROFILER): Redefine appropriately for Linux.
10731 (CC1_SPEC): Likewise.
10732
10733 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10734
10735 * genattr.c (main): Add extern prototype. Call return, not exit.
10736 * genattrtab.c (main): Likewise.
10737 * gencheck.c (main): Likewise.
10738 * gencodes.c (main): Likewise.
10739 * genconfig.c (main): Likewise.
10740 * genemit.c (main): Likewise.
10741 * genextract.c (main): Likewise.
10742 * genflags.c (main): Likewise.
10743 * gengenrtl.c (main): Likewise.
10744 * genopinit.c (main): Likewise.
10745 * genoutput.c (main): Likewise.
10746 * genpeep.c (main): Likewise.
10747 * genrecog.c (main): Likewise.
10748
10749 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
10750 * genattrtab.c (get_insn_name): Likewise.
10751 * gencodes.c (get_insn_name): Likewise.
10752 * genconfig.c (get_insn_name): Likewise.
10753 * genemit.c (get_insn_name): Likewise.
10754 * genextract.c (get_insn_name): Likewise.
10755 * genflags.c (get_insn_name): Likewise.
10756 * genopinit.c (get_insn_name): Likewise.
10757 * genpeep.c (get_insn_name): Likewise.
10758
10759 * gencheck.c (usage): Add static prototype.
10760 * genextract.c (print_path): Constify a char*.
10761 * genopinit.c (optabs): Likewise.
10762 * genoutput.c (operand_data, data, output_predicate_decls,
10763 compare_operands): Likewise.
10764 * genrecog.c (write_tree): Add default case in switch.
10765
10766 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10767
10768 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
10769
10770 * print-rtl.c (get_insn_name): Remove prototype.
10771
10772 * toplev.h (progname): Declare const.
10773
10774 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
10775 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
10776 dump_sched_info, dump_local_alloc, regset_release_memory,
10777 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
10778 error_with_file_and_line, error_with_decl, error_for_asm, error,
10779 fatal, warning_with_file_and_line, warning_with_decl, warning,
10780 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
10781 Remove redundant prototypes.
10782
10783 (notice, check_lang_option, report_file_and_line, vnotice,
10784 mark_file_stack): Add static prototype.
10785 (set_fatal_function): Add prototype.
10786 (vnotice, report_file_and_line, set_fatal_function,
10787 check_lang_option): Constify a char*.
10788 (main): Prototype. Call return, not exit.
10789
10790 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10791
10792 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
10793
10794 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
10795
10796 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
10797
10798 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
10799
10800 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10801
10802 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
10803 behave as if it's zero in all cases.
10804 (expand_function_start): Adjust call to assign_parms.
10805 * tree.h (assign_parms): Adjust prototype.
10806 * objc/objc-act.c (hack_method_prototype): Adjust call to
10807 assign_parms.
10808
10809 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
10810
10811 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
10812 arg_pointer_rtx fixed if the argument pointer register is
10813 not fixed.
10814 (NONZERO_BASE_PLUS_P): Likewise.
10815
10816 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
10817
10818 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
10819 match_insn2 to match_insn.
10820 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
10821
10822 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
10823
10824 * Makefile.in (USER_H): Remove va-foo.h.
10825
10826 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
10827 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
10828 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
10829 va-spur.h,va-v850.h}: Remove.
10830
10831 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
10832
10833 * sparc/sparc.md (eligible_for_return_delay): New attribute.
10834 (in_return_delay): Use it instead of match_insn.
10835
10836 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10837
10838 * config/alpha/va_list.h (va-alpha.h): Do not include.
10839 (__gnuc_va_list): Typedef as in varargs.h.
10840
10841 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
10842
10843 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
10844 DECL_LIVE_RANGE_RTL.
10845
10846 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
10847
10848 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
10849 not NOTE_BLOCK_NUMBER.
10850 (expand_eh_region_end): Likewise.
10851 (find_exception_handler_labels): Likewise.
10852 (scan_region): Likewise.
10853 (exception_optimize): Likewise.
10854 (update_rethrow_references): Likewise.
10855 (set_insn_eh_region): Likewise.
10856 * final.c (final_scan_insn): Likewise.
10857 * flow.c (make_edges): Likewise.
10858 * integrate.c (expand_inline_function): Likewise.
10859 * print-rtl.c (print_rtx): Likewise.
10860
10861 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
10862
10863 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
10864 terms of builtin functions and types.
10865
10866 * mips.c (mips_build_va_list): New.
10867 (mips_va_start, mips_va_arg): New.
10868 * mips.h (BUILD_VA_LIST_TYPE): New.
10869 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
10870
10871 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
10872 (sh_build_va_list, sh_va_start, sh_va_arg): New.
10873 * sh.h (BUILD_VA_LIST_TYPE): New.
10874 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
10875
10876 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
10877
10878 * recog.h (struct recog_data): Make dup_num, operand_address_p,
10879 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
10880 (struct insn_data): Likewise with n_operands, n_dups,
10881 n_alternatives, output_format.
10882 * regclass.c (scan_one_insn): Cast n_operands to int before
10883 arithmetic inside comparison.
10884
10885 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
10886
10887 * toplev.c (compile_function): Unconditionally emit nop.
10888
10889 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10890
10891 * haifa-sched.c (actual_hazard): Move declaration of variable
10892 `this_cost' into the scope where it is used.
10893
10894 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10895
10896 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
10897 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
10898 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
10899
10900 * genrecog.c (make_insn_sequence): Call memset, not bzero.
10901
10902 * jump.c (find_insert_position): Don't declare or define unless
10903 !HAVE_conditional_arithmetic.
10904 (returnjump_p_1, delete_prior_computation): Add static prototypes.
10905
10906 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
10907
10908 * recog.c (offsettable_address_p): Prototype function pointer.
10909 (preprocess_constraints): Call memset, not bzero.
10910
10911 * tree.c (tree_node_kind_names): Constify a char*. Make static.
10912 (gcc_obstack_init): Don't declare.
10913 (fix_sizetype): Add static prototype.
10914 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
10915 (tree_cons): Call memset, not bzero.
10916
10917 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
10918 definition in macro ASM_WEAKEN_LABEL.
10919 (mark_const_hash_entry): Add static prototype.
10920
10921 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10922
10923 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
10924
10925 * unroll.c (find_common_reg_term, subtract_reg_term,
10926 loop_find_equiv_value): Add static prototypes.
10927 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
10928 (copy_loop_body): Remove unreachable break statement.
10929
10930 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
10931
10932 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
10933
10934 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10935
10936 Undo some changes from the gcc2 merge:
10937 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
10938 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
10939 pointers.
10940
10941 Undo this change:
10942 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
10943 * emit-rtl.c (gen_lowpart_common): Disable optimization of
10944 initialized float-int union if the value is a NaN.
10945
10946 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
10947
10948 * gthr-win32.h: New file.
10949
10950 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
10951 shared as a valid attribute.
10952 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
10953 * extend.texi: Document `shared' variable attribute.
10954
10955 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
10956
10957 * configure.in: Handle --enable-threads on FreeBSD.
10958 * configure: Rebuit.
10959
10960 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10961
10962 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
10963 thread support.
10964 * configure: Rebuilt.
10965
10966 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
10967 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
10968 Rosimildo DaSilva <rdasilva@connecttel.com>
10969
10970 * configure.in (m68k-*-rtemscoff*): Added.
10971 * configure.in (mips64orion-*-rtems*): Converted to ELF.
10972 * configure.in (sparc-*-rtemsaout*): Added as alias for old
10973 sparc-rtems configuration.
10974 * configure.in (sparc-*-rtemself*): Added.
10975 * configure.in (sparc-*-rtems*): Now ELF not a.out.
10976 * config/i386/rtems.h: Added comment.
10977 * config/sparc/rtemself.h: New file.
10978
10979 * configure.in (m68k-rtemself): Added.
10980 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
10981 and DWARF_DEBUGGING_INFO.
10982 * config/m68k/crti.s: New file.
10983 * config/m68k/crtn.s: New file.
10984 * config/m68k/t-crtstuff: New file.
10985 * config/m68k/rtemself.h: New file.
10986
10987 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
10988 global ctor/dtor and C++ exception handling.
10989 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
10990 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
10991 ENDFILE_SPEC.
10992 * config/i386/t-rtems-i386: New File.
10993
10994 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
10995
10996 * stmt.c (expand_end_case): Return right away if the case stack is
10997 empty.
10998
10999 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
11000
11001 * Makefile.in (version.c): Remove rule incorrectly brought in from
11002 the gcc2 merge.
11003
11004 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
11005
11006 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
11007 * msdos/top.sed: Take into account a prepended $(SHELL) to
11008 move-if-change.
11009 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
11010
11011 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
11012
11013 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11014
11015 * regmove.c (fixup_match_1): Don't change an unchanging register.
11016 (stable_but_for_p): Renamed to:
11017 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
11018 Changed all callers.
11019
11020 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
11021
11022 * loop.c (strength_reduce): Don't call reg_used_between_p if the
11023 insn from BL2 is after the insn from BL.
11024
11025 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
11026
11027 * recog.h (INSN_OUTPUT_FORMAT_*): New.
11028 (struct insn_data): Merge `template' and `outfun' into `output'.
11029 Add `output_format'.
11030 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
11031 (struct data): Remove `outfun'; add `output_format'.
11032 (name_for_index): Remove declaration.
11033 (output_insn_data): Handle output formats.
11034 (process_template): Emit the bare array for @.
11035 (gen_expand, gen_split): Set output_format to NONE.
11036 * output.h (get_insn_template): Declare.
11037 * final.c (get_insn_template): New.
11038 (final_scan_insn): Use it.
11039 * toplev.c (compile_file): Likewise.
11040
11041 * c4x/c4x.c (c4x_process_after_reload): Likewise.
11042 * i860/i860.c (output_delayed_branch): Likewise.
11043 (output_delay_insn): Likewise.
11044
11045 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11046
11047 * rtl.c (obstack_alloc_rtx): Removed.
11048
11049 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
11050
11051 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
11052
11053 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
11054
11055 * i386.c (call_insn_operand): Reject const_int.
11056 (expander_call_insn_operand): Use call_insn_operand.
11057
11058 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11059
11060 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
11061
11062 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
11063
11064 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
11065 Use DImode operation.
11066
11067 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
11068
11069 * gcc.c: Include sys/resource.h.
11070 (report_times): New flag.
11071 (execute): If report_times is set, calculate and report the
11072 CPU time consumed by each subprocess.
11073
11074 (rus, prus): New globals.
11075 (option_map): Add --time.
11076 (display_help): Document -time.
11077 (process_command): Set report_times if -time is given.
11078 Turn off -pipe if -time is given.
11079
11080 * invoke.texi: Document new option -time.
11081
11082 * configure.in: Check for getrusage. Check if we have to
11083 prototype getrusage.
11084 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
11085 * configure: Regenerate.
11086 * config.in: Regenerate.
11087
11088 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
11089
11090 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
11091 fields.
11092
11093 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
11094
11095 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
11096 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
11097 (nan): Return _thenan_sf or _thenan_df as appropriate.
11098 (L_thenan_sf): Define _thenan_sf.
11099 (L_thenan_df): Define _thenan_df.
11100
11101 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
11102 (DPBIT_FUNCS): Add _thenan_df.
11103
11104 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
11105
11106 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
11107 TYPE_SIZE_UNIT.
11108
11109 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11110
11111 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
11112
11113 * gcc.h: New file.
11114 (lang_specific_driver): Don't take a function pointer parameter.
11115 All callers changed.
11116
11117 * gcc.c: Include gcc.h.
11118 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
11119 lang_specific_extra_outfiles, fatal): Don't declare.
11120 (multilib_defaults_raw): Constify.
11121 (read_specs): Call memset, rather than bzero.
11122 (main): Call return, not exit.
11123 (lookup_compiler): Call memcpy, not bcopy.
11124 (fatal): Make extern.
11125
11126 * cppspec.c: Include gcc.h.
11127 (lang_specific_driver): Initialize variable `quote'. Constify a
11128 char*. All calls to the function pointer parameter now
11129 explicitly call `fatal'.
11130
11131 * gccspec.c (lang_specific_driver): Include gcc.h.
11132
11133 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
11134
11135 * arm.c (note_invalid_constants): Use recog_data.operand_type
11136 for recog_op_type.
11137
11138 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11139
11140 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
11141 Declare.
11142
11143 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
11144 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
11145 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
11146 reload_secondary_in_reload, reload_secondary_out_reload,
11147 reload_secondary_in_icode, reload_secondary_out_icode,
11148 reload_reg_rtx, reload_when_needed): Delete declarations.
11149 (struct reload): New structure.
11150 (rld): Declare new array.
11151 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
11152 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
11153 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
11154 reload_secondary_in_reload, reload_secondary_out_reload,
11155 reload_secondary_in_icode, reload_secondary_out_icode,
11156 reload_reg_rtx, reload_when_needed): Delete definitions.
11157 (rld): New array.
11158 (whole file): Replace uses of the deleted arrays with uses of rld.
11159 * reload1.c (whole file): Replace uses of the deleted arrays with
11160 uses of rld.
11161 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
11162 explicit loops, not with bcopy.
11163
11164 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
11165
11166 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
11167 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
11168 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
11169 insn_name): Delete and consolidate into new structures.
11170 (insn_operand_predicate_fn): New.
11171 (insn_output_fn): New.
11172 (insn_gen_fn): New.
11173 (struct insn_operand_data): New.
11174 (struct insn_data): New.
11175 (insn_data): New.
11176 (OUT_FCN): Update for insn_data change.
11177 * builtins.c (expand_builtin_strlen): Likewise.
11178 (expand_builtin_memcmp): Likewise.
11179 * combine.c (make_extraction, simplify_comparison): Likewise.
11180 * cse.c (canon_reg, cse_insn): Likewise.
11181 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
11182 * expmed.c (store_bit_field, extract_bit_field): Likewise.
11183 (emit_store_flag): Likewise.
11184 * expr.c (convert_move, emit_block_move): Likewise.
11185 (clear_storage, emit_push_insn, expand_increment): Likewise.
11186 (do_store_flag): Likewise.
11187 * expr.h (GEN_FCN): Likewise.
11188 (insn_gen_function): Die.
11189 * final.c (final_scan_insn): Update for insn_data change.
11190 (output_asm_name): Likewise.
11191 * function.c (fixup_var_refs_1): Likewise.
11192 * loop.c (check_dbra_loop): Likewise.
11193 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
11194 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
11195 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
11196 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
11197 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
11198 * regmove.c (gen_add3_insn): Likewise.
11199 * reload.c (push_secondary_reload, combine_reloads): Likewise.
11200 (find_reloads, find_reloads_address_1): Likewise.
11201 (debug_reload_to_stream): Likewise.
11202 * reload1.c (emit_reload_insns, gen_reload): Likewise.
11203 * stmt.c (expand_end_case): Likewise.
11204 * toplev.c (compile_file): Likewise.
11205
11206 * c4x/c4x.c (c4x_process_after_reload): Likewise.
11207 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
11208
11209 * print-rtl.c (insn_name_ptr): Remove declaration.
11210 (get_insn_name): Declare.
11211 (print_rtx): Use it.
11212 * genoutput.c (insn_name_ptr): Remove.
11213 (next_operand_number): New.
11214 (struct operand_data): New.
11215 (null_operand, odata, odata_end): New.
11216 (struct data): Use struct operand_data.
11217 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
11218 (get_insn_name): Renamed from name_for_index.
11219 (output_prologue): Define NO_MD_PROTOTYPES.
11220 (output_predicate_decls): Break out from output_epilogue.
11221 Iterate over the operands list.
11222 (output_operand_data): Break out from output_epilogue. Emit
11223 just the operands list.
11224 (output_insn_data): Break out from output_epilogue. Emit just
11225 the insn data.
11226 (output_epilogue): Remove.
11227 (output_get_insn_name): New.
11228 (constraints, op_n_alternatives, predicates, address_p): Die.
11229 (modes, strict_low, seen): Die.
11230 (scan_operands): Take new param `d' instead of writing to
11231 seven global variables.
11232 (compare_operands): New.
11233 (place_operands): New.
11234 (validate_insn_alternatives): Update for struct data change.
11235 (gen_insn): Don't zero or copy 7 global arrays. Update for
11236 scan_operands; call place_operands.
11237 (gen_peephole, gen_expand, gen_split): Likewise.
11238 (main): Update for new output routines.
11239
11240 * genattr.c (insn_name_ptr): Remove.
11241 (get_insn_name): New function.
11242 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
11243 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
11244 * genrecog.c: Likewise.
11245
11246 * alpha.md (adddi3): Make `pattern' array static.
11247
11248 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11249
11250 * config/c4x/c4x.h (c4x_rpts_cycles_string,
11251 c4x_cpu_version_string): Constify char *.
11252 * config/c4x/c4x.c (c4x_rpts_cycles_string,
11253 c4x_cpu_version_string): Likewise.
11254
11255 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
11256
11257 * tree.c (save_tree_status): Revert 10 Sep change.
11258 (restore_tree_status): Likewise. Call obstack_free with NULL
11259 before freeing the obstack proper.
11260
11261 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
11262
11263 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
11264
11265 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
11266 surrounding context.
11267
11268 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
11269
11270 * tree.c (type_hash_canon): Put all types in the hash-table, when
11271 GC'ing.
11272
11273 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
11274
11275 * recog.h (struct recog_data, recog_data): New.
11276 (recog_foo variables): Kill.
11277 * recog.c (recog_operand, recog_operand_loc): Kill.
11278 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
11279 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
11280 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
11281 (recog_data): Define.
11282 (extract_insn): Update all recog_foo references to use recog_data.
11283 (preprocess_constraints, constrain_operands): Likewise.
11284 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
11285 * genattrtab.c (main): Likewise.
11286 * genextract.c (main): Likewise.
11287 * genoutput.c: Likewise.
11288 * genrecog.c (write_subroutine, main): Likewise.
11289 * local-alloc.c (block_alloc): Likewise.
11290 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
11291 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
11292 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
11293 * reload.c (find_reloads, find_reloads_toplev): Likewise.
11294 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
11295 (reload_cse_simplify_operands): Likewise.
11296
11297 * arc/arc.c (arc_final_prescan_insn): Likewise.
11298 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
11299 * h8300/h8300.c (notice_update_cc): Likewise.
11300 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
11301 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
11302 * mn10200/mn10200.c (notice_update_cc): Likewise.
11303 * mn10300/mn10300.c (notice_update_cc): Likewise.
11304 * romp/romp.c (update_cc): Likewise.
11305 * sparc/sparc.c (check_pic): Likewise.
11306 * v850/v850.c (notice_update_cc): Likewise.
11307
11308 * genemit.c (main): Don't declare recog_operand.
11309
11310 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
11311
11312 * ggc.h (rtvec_def): Forward declare.
11313 (tree_node): Likewise.
11314 (ggc_root): Define.
11315 (roots): Declare.
11316 (ggc_set_mark_rtx): Add prototype.
11317 (ggc_set_mark_rtvec): Likewise.
11318 (ggc_set_mark_tree): Likewise.
11319 * ggc-simple.c (ggc_root): Don't define.
11320 (roots): Don't declare.
11321 (ggc_mark_rtx): Remove.
11322 (ggc_mark_rtvec): Likewise.
11323 (ggc_mark_tree): Likewise.
11324 (ggc_mark_varray): Likewise.
11325 (ggc_mark_tree_hash_table_entry): Likewise.
11326 (ggc_mark_tree_hash_table): Likewise.
11327 (ggc_set_mart_rtx): New function.
11328 (ggc_set_mark_rtvec): Likewise.
11329 (ggc_set_mark_tree): Likewise.
11330 (ggc_add_root): Remove.
11331 (ggc_add_rtx_root): Likewise.
11332 (ggc_remove_tree_root): Likewise.
11333 (ggc_add_string_root): Likewise.
11334 (ggc_add_tree_varray_root): Likewise.
11335 (ggc_add_tree_hash_table_root): Likewise.
11336 (ggc_del_root): Likewise.
11337 (ggc_mark_rtx_ptr): Likewise.
11338 (ggc_mark_tree_ptr): Likewise.
11339 (ggc_mark_string_ptr): Likewise.
11340 (ggc_mark_tree_varray_ptr): Likewise.
11341 (ggc_mark_tree_hash_table_ptr): Likewise.
11342 * ggc-common.c: New file.
11343 * Makefile.in (OBJS): Add ggc-common.o.
11344 (ggc-common.o): List dependencies.
11345
11346 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
11347
11348 * cppalloc.c (xstrdup): Use memcpy.
11349 * cpperror.c (cpp_print_containing_files): Don't use
11350 cpp_notice.
11351 * cpplib.c (conditional_skip): Set temp->lineno.
11352 (do_endif): Make error message less obscure.
11353 (if_directive_name): New function.
11354 (cpp_get_token [case EOF]): Unwind the if stack and generate
11355 error messages for each unterminated conditional in this file.
11356 (parse_string): Do not behave differently if -traditional.
11357
11358 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
11359
11360 * builtins.c (expand_builtin_va_arg): Cope with an array-type
11361 va_list decomposing to pointer-type.
11362 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
11363 (rs6000_va_arg): Likewise.
11364
11365 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
11366
11367 * except.c (start_dynamic_handler): Compute size using
11368 STACK_SAVEAREA_MODE.
11369
11370 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11371
11372 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
11373 include directory headers. Don't define strrchr. Don't provide
11374 my_* replacement functions. Prefer PTR over `pointer_type'.
11375 Don't prototype system functions. Don't redefine getopt.
11376
11377 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
11378 safe_read, safe_write, save_pointers, restore_pointers,
11379 is_id_char, in_system_include_dir, directory_specified_p,
11380 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
11381 find_corresponding_lparen, referenced_file_is_newer,
11382 save_def_or_dec, munge_compile_params, gen_aux_info_file,
11383 process_aux_info_file, identify_lineno, check_source,
11384 seek_to_line, forward_to_next_token_char, output_bytes,
11385 output_string, output_up_to, other_variable_style_function,
11386 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
11387 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
11388 find_static_definition, connect_defs_and_decs, add_local_decl,
11389 add_global_decls, needs_to_be_converted, visit_each_hash_node,
11390 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
11391 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
11392 scan_for_missed_items, edit_file, string_list_cons): Add static
11393 prototypes.
11394 (standard_exec_prefix, target_machine, target_version,
11395 default_syscalls_dir, string_list, string_list_cons, find_file,
11396 do_cleaning): Constify a char*.
11397 (safe_read, safe_write): Use PTR, not a char*.
11398 (is_id_char): Take an int, not a char.
11399 (main): Add prototype. Call return, not exit.
11400
11401 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
11402
11403 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
11404 when comparing types.
11405
11406 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
11407
11408 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
11409 (strength_reduce): Release the varrays from the no-bivs early exit.
11410
11411 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
11412 the loop over the registers.
11413
11414 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
11415 for a new obstack.
11416 (restore_tree_status): Check that instead when freeing the obstack.
11417
11418 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
11419
11420 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
11421 as pointers.
11422
11423 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11424
11425 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
11426 operand size modifiers.
11427
11428 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11429
11430 * c-common.c (c_common_nodes_and_builtins): Don't build
11431 va_list_type_node.
11432 * c-common.h (enum c_tree_index and related accesor macros): Remove
11433 everything now declared in tree.h.
11434 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
11435 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
11436 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
11437 (error_mark_node, void_type_node, char_type_node, integer_type_node,
11438 unsigned_type_node, ptr_type_node, va_list_type_node,
11439 integer_zero_node, null_pointer_node, integer_one_node): Delete.
11440 (init_decl_processing): Call build_common_tree_nodes and
11441 build_common_tree_nodes_2 instead of building their nodes here.
11442 Don't add roots for these nodes.
11443 * stor-layout.c (size_zero_node, size_one_node): Delete.
11444 (set_sizetype): Make a new node for bitsizetype each time.
11445 * tree.c (global_trees): New variable.
11446 (init_obstacks): Add a gc root for it.
11447 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
11448 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
11449 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
11450 (build_common_tree_nodes): New function.
11451 (fix_sizetype): New function.
11452 (build_common_tree_nodes_2): New function.
11453 * tree.h (enum tree_index): New.
11454 (global_trees): Declare.
11455 Add accessor macros for all nodes now moved to global_trees.
11456 Delete their declarations.
11457
11458 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
11459
11460 * c-decl.c (finish_function): When processing a nested function,
11461 push and pop GC context around rest_of_compilation.
11462
11463 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
11464
11465 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
11466 Default ix86_arch to PROCESSOR_I386.
11467 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
11468 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
11469 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
11470 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
11471 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
11472 (EXTRA_SPECS): Remove deleted specs.
11473
11474 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
11475
11476 * function.c (assign_stack_local_1): Allocate from
11477 function->x_frame_offset, not frame_offset.
11478
11479 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
11480
11481 * ggc.h (lang_cleanup_tree): Remove.
11482 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
11483 * ggc-callbacks.c (lang_cleanup_tree): Remove.
11484
11485 * c-decl.c (finish_struct): Use ggc_alloc to allocate
11486 TYPE_LANG_SPECIFIC when garbage collecting.
11487 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
11488 (lang_cleanup_tree): Remove.
11489
11490 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
11491
11492 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
11493 * crtstuff.c: Not here.
11494 * dwarf2out.c: Or here.
11495 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
11496 info.
11497
11498 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
11499
11500 * function.h (free_after_compilation): Remove decl parameter.
11501 (free_varasm_status0: Likewise.
11502 (free_emit_status): Likewise.
11503 (free_stmt_status): Likewise.
11504 (free_after_compilation): Likewise.
11505 (init_lang_status): New variable.
11506 (free_lang_status): Likewise.
11507 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
11508 * function.c (init_lang_status): New variable.
11509 (free_lang_status): Likewise.
11510 (push_function_context_to): Don't set function::decl here.
11511 (free_after_copmilation): Make decl parameter implicit. Call
11512 free_lang_status if defined.
11513 (prepare_function_start): Call init_lang_status if defined.
11514 (init_function_start): Set function::decl here.
11515 * profile.c (output_func_start_profiler): Don't call pushdecl
11516 until we've actually started the function.
11517 * stmt.c (free_stmt_status): Make decl parameter implicit.
11518 * toplev.c (rest_of_compilation): Don't pass decl to
11519 free_after_compilation.
11520 * varasm.c (free_varasm_status): Likewise.
11521
11522 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11523
11524 * except.c (call_get_eh_context): Add root when allocating static
11525 tree variable.
11526
11527 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
11528
11529 * arm.c: Include "ggc.h".
11530 (arm_add_gc_roots): New function.
11531 (arm_override_options): Call it.
11532 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
11533
11534 * arm.md (define_asm_attributes): Add a pool_range attribute.
11535
11536 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
11537
11538 * extend.texi (Volatiles): New node.
11539
11540 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
11541
11542 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
11543 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
11544 (struct ggc_any): Replace `mark' with `magic_mark'.
11545 (ggc_alloc_string): Use memcpy, not bcopy.
11546 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
11547 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
11548 (ggc_free_any): New.
11549 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
11550 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
11551 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
11552 Use IS_MARKED. Use ggc_free_any.
11553
11554 1999-09-09 Scott Bambrough <scottb@netwinder.org>
11555
11556 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
11557
11558 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
11559
11560 * toplev.c (main): Always init_ggc.
11561
11562 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
11563
11564 * except.c (find_all_handler_type_matches): Free the list if
11565 we found no matches.
11566
11567 * combine.c (SUBST): Break out to a real function do_SUBST.
11568 (SUBST_INT): Likewise.
11569 * gcse.c (free_pre_mem): Free `temp_bitmap'.
11570 (pre_insert): Free `inserted'.
11571 * loop.c (basic_induction_var): Always set `location'.
11572
11573 * function.c (expand_function_end): Add initial_trampoline as a root.
11574 * rtl.h (init_varasm_once): Declare.
11575 * toplev.c (compile_file): Call it.
11576 * ggc-simple.c (ggc_mark_string_ptr): New.
11577 (ggc_add_string_root): New.
11578 (ggc_collect): Disable collection avoidance temporarily.
11579 * ggc.h (ggc_add_string_root): Declare.
11580 * except.c (create_rethrow_ref): Use ggc_alloc_string.
11581 * optabs.c (init_libfuncs): Likewise.
11582 * varasm.c (named_section): Use ggc_alloc_string.
11583 (make_function_rtl): Likewise.
11584 (make_decl_rtl): Likewise.
11585 (assemble_static_space): Likewise.
11586 (assemble_trampoline_template): Likewise.
11587 (output_constant_def): Likewise.
11588 (force_const_mem): Likewise.
11589 (mark_const_hash_entry): New.
11590 (mark_pool_sym_hash_table): New.
11591 (mark_varasm_state): Use it.
11592 (init_varasm_once): New.
11593
11594 * expr.h (init_one_libfunc): Declare.
11595 * optabs.c (init_one_libfunc): New.
11596 (init_optabs): Use it.
11597 * config/gofast.h: Likewise.
11598 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
11599 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
11600
11601 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
11602
11603 * Makefile.in (cppexp.o): Depend on cpphash.h.
11604 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
11605 Include cpphash.h.
11606 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
11607 * cpplib.c (do_define): Generalise to handle poisoned definitions,
11608 redefining poisoned identifiers, etc.
11609 (do_undef): Don't allow poisoned identifiers to be undefined.
11610 (do_pragma): Add #pragma poison.
11611 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
11612
11613 * cccp.c: Add T_POISON node type.
11614 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
11615 poisoned xxx.
11616 (do_define): Generalise to handle poisoned definitions,
11617 redefining poisoned identifiers, etc.
11618 (do_undef): Don't allow poisoned identifiers to be undefined.
11619 (do_pragma): Add #pragma poison.
11620 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
11621
11622 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
11623 * c-pragma.h: Add ps_poison state. We now always have generic
11624 pragmas.
11625
11626 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
11627
11628 * ggc.h (ggc_alloc): New function.
11629 (ggc_mark): Likewise.
11630 * ggc-simple.c (ggc_any): New structure.
11631 (ggc_status): Add anys.
11632 (n_anys_collected): New variable.
11633 (ggc_alloc): Define.
11634 (ggc_mark): Likewise.
11635 (ggc_collect): Collect the anys.
11636
11637 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11638
11639 * c-decl.c (mark_binding_level): Make static to match prototype.
11640
11641 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
11642
11643 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
11644
11645 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
11646
11647 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
11648 will use into account. Expand the max width to 5.
11649 * rtl.c: Likewise.
11650
11651 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
11652
11653 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
11654 for the rtx length.
11655
11656 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
11657
11658 * alpha.md (call value patterns): Remove the result predicates.
11659
11660 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
11661
11662 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
11663 last change.
11664
11665 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11666
11667 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
11668 changed from extern char *, to extern PTR. Also fix typo in
11669 NEED_DECLARATION_REALLOC test.
11670
11671 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
11672
11673 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11674
11675 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
11676 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
11677 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
11678 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
11679
11680 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
11681
11682 * cccp.c (pcfinclude): Likewise.
11683
11684 * global.c (allocno_compare): Likewise.
11685
11686 * haifa-sched.c (rank_for_schedule): Likewise.
11687
11688 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
11689
11690 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
11691
11692 * stupid.c (stupid_reg_compare): Likewise.
11693
11694 * tree.c (_obstack_allocated_p): Likewise.
11695
11696 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
11697
11698 1999-09-08 Bruce Korb autogen@linuxbox.com
11699
11700 * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
11701 why "gperf -F" fails.
11702 * gcc/cp/Makefile.in: ditto
11703 * gcc/Makefile.in: ditto
11704 * gcc/java/Makefile.in: ditto
11705
11706 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
11707
11708 * lists.c: Include ggc.h.
11709 (zap_lists): New.
11710 (init_EXPR_INSN_LIST_cache): Install it.
11711
11712 * ggc-simple.c (init_ggc): Absorb the old init.
11713 (ggc_push_context): Use xcalloc.
11714 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
11715 (ggc_collect): Add [rvts] tags to the collection stats.
11716
11717 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
11718
11719 * cccp.c (main): Fix handling of -include and -imacros options.
11720
11721 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
11722
11723 * cpplib.c (cpp_push_buffer): Fix order of arguments.
11724
11725 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
11726
11727 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
11728 genrtl.c.
11729
11730 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
11731
11732 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
11733 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
11734 and SET_DEST. Update comment.
11735
11736 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11737
11738 * config/c4x/c4x.c: Include ggc.h.
11739 (c4x_add_gc_roots): New function.
11740 (c4x_override_options): Call c4x_add_gc_roots.
11741
11742 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
11743
11744 * defaults.h (TARGET_ESC): Move ...
11745 * system.h: ... here, where Linas had it in the first place. Silly me.
11746
11747 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
11748
11749 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
11750 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
11751 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
11752 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
11753 * defaults.h (TARGET_ESC): Add default.
11754
11755 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
11756
11757 * configure.in: add i370-*-openedition, i370-*-mvs and
11758 i370-*-linux targets
11759
11760 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
11761
11762 * dsp16xxx.c: Include ggc.h
11763 (override_options): Mark GC roots.
11764 * mn10200.c: Include ggc.h.
11765 (asm_file_start): Mark GC roots.
11766 * tahoe.c: Include ggc.h.
11767 (extensible_operand): Mark GC roots.
11768
11769 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
11770
11771 * README: Add section discussing status of ELF ABI.
11772 * i370.c: Fix misc spelling mistakes.
11773 (i370_label_scan): Updated notes, exception handling.
11774 (i370_function_prolog): Simplify ELF stack handling.
11775 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
11776 (STACK_GROWS_DOWNWARD): ELF stack grows down.
11777 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
11778 * i370.md: (movdi): Add notes.
11779 (floatsidf2): Use stack not rtca for scratch float area.
11780 (iorsi3): Correct operand constraints.
11781 * x-oe: Restore TAROUTOPTS which are used by pax.
11782
11783 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
11784
11785 * rs6000.c: Include ggc.h.
11786 (rs6000_add_gc_roots): New function.
11787 (override_options): Call it.
11788
11789 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
11790
11791 * alpha.h (alpha_compare): New.
11792 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
11793 * alpha.c: Likewise for the definitions.
11794 (alpha_emit_conditional_branch): Update for alpha_compare.
11795 (alpha_emit_conditional_move): Likewise.
11796 * alpha.md (cmpdf, cmpdi): Likewise.
11797 (setcc patterns): Likewise. Zero alpha_compare after use.
11798 (sne): Optimize (x != 0) into (0U < x).
11799
11800 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
11801
11802 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
11803 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
11804 (INIT_EXPANDERS): Remove.
11805 * alpha.c: Include ggc.h.
11806 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
11807 (alpha_init_machine_status, alpha_mark_machine_status): New.
11808 (override_options): Install them.
11809 (struct machine_function): Moved to alpha.h.
11810 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
11811 (alpha_init_expanders): Remove.
11812 (alpha_return_addr): Adjust to use current_function->machine.
11813 (alpha_ra_ever_killed): Likewise.
11814 (alpha_expand_epilogue): Likewise.
11815 * alpha.md (eh_epilogue): Likewise.
11816
11817 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
11818 Melissa O'Neill <oneill@cs.sfu.ca>
11819 Geoffrey Keating <geoffk@cygnus.com>
11820
11821 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
11822 call-used registers (call-saved registers must still be contiguous
11823 and end with r31, of course).
11824
11825 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
11826
11827 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
11828 (self_promoting_type_p): Delete.
11829 (self_promoting_args_p): Move ...
11830 * c-common.c: ... here.
11831 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
11832 (simple_type_promotes_to): New.
11833 * builtins.c (lang_type_promotes_to): New.
11834 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
11835 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
11836 * c-common.h: ... here.
11837 (self_promoting_args_p, simple_type_promotes_to): Declare.
11838 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
11839 (grokdeclarator): Likewise.
11840 * tree.h (lang_type_promotes_to): Declare.
11841
11842 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
11843
11844 Add some machine-dependent GC roots.
11845 * sparc.c: Include ggc.h.
11846 (sparc_add_gc_roots): New function.
11847 (mark_ultrasparc_pipeline_state): Likewise.
11848 (override_options): Call sparc_add_gc_roots.
11849 * pa.c: Include ggc.h.
11850 (pa_add_gc_roots): New function.
11851 (mark_deferred_plabels): Likewise.
11852 (override_options): Call pa_add_gc_roots.
11853 * mips.c: Include ggc.h.
11854 (mips_add_gc_roots): New function.
11855 (override_options): Use it.
11856
11857 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11858
11859 * cpperror.c (cpp_file_line_for_message): Constify a char*.
11860
11861 * cppexp.c (parse_number, parse_charconst, cpp_lex,
11862 cpp_parse_expr): Add static prototypes.
11863 (parse_charconst): Don't cast away const-ness.
11864 (token): Constify a char*.
11865
11866 * cppfiles.c (file_name_list, include_hash, find_include_file,
11867 finclude, initialize_input_buffer): Constify a char*.
11868 (file_cleanup, find_position): Add static prototypes.
11869
11870 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
11871 collect_expansion): Add static prototypes.
11872 (cpp_install, create_definition, monthnames): Constify a char*.
11873
11874 * cpphash.h (cpp_install): Likewise.
11875
11876 * cppinit.c (known_suffixes, default_include,
11877 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
11878 (base_name, dump_special_to_buffer, initialize_dependency_output):
11879 Add static prototypes.
11880
11881 * cpplib.c (my_strerror): Constify a char*.
11882 (null_underflow, null_cleanup, skip_comment, copy_comment,
11883 copy_rest_of_line, handle_directive, pass_thru_directive,
11884 get_directive_token, read_line_number, cpp_print_file_and_line,
11885 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
11886 v_cpp_warning_with_line, detect_if_not_defined,
11887 consider_directive_while_skipping): Add static prototypes.
11888 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
11889 cpp_pedwarn_with_file_and_line): Constify a char*.
11890
11891 * cpplib.h (cpp_options, include_hash, progname, definition,
11892 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
11893 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
11894 find_include_file, deps_output, include_hash): Constify a char*.
11895
11896 * cppmain.c (progname): Constify.
11897 (main): Add prototype. Use return, not exit.
11898
11899 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
11900 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
11901 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
11902 check_protection): Add static prototype.
11903 (xfree): Remove.
11904 (progname, recognized_macrom, recognized_extern): Constify a char*.
11905 (main): Add prototype.
11906
11907 * gen-protos.c (progname): Constify a char*.
11908
11909 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
11910
11911 * emit-rtl.c (free_emit_status): Take decl as a parameter.
11912 (init_emit_once): Add more GC roots.
11913 * except.c (mark_func_eh_entry): New function.
11914 (mark_eh_node): Mark false_label and rethrow_label.
11915 (init_eh): Add more GC roots.
11916 * function.c (free_after_compilation): Take decl as a paramter.
11917 Call free_stmt_status.
11918 (mark_function_state): Don't assume x_parm_reg_stack_loc is
11919 non-NULL.
11920 * function.h (free_after_compilation): Change prototype.
11921 (free_varasm_status): Likewise.
11922 (free_emit_status): Likewise.
11923 (free_stmt_status): New function.
11924 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
11925 Remove, replacing with ...
11926 (ggc_status): New structure.
11927 (ggc_chain): New variable.
11928 (init_gcc): Define.
11929 (ggc_push_context): New function.
11930 (ggc_pop_context): Likewise.
11931 (ggc_alloc_rtx): Adjust for use of ggc_chain.
11932 (ggc_alloc_rtvec): Likewise.
11933 (ggc_alloc_tree): Likewise.
11934 (ggc_alloc_string): Likewise.
11935 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
11936 (ggc_mark_tree): Give language-dependent code a chance to mark
11937 `x' nodes.
11938 (ggc_mark_tree_varray): Handle empty arrays.
11939 (ggc_collect): Adjust for use of ggc_chain. Clear
11940 bytes_alloced_since_last_gc.
11941 * ggc.h (ggc_pop_context): New function.
11942 (ggc_push_context): Likewise.
11943 * print-tree.c (print_node): Don't print obstacks when GC'ing.
11944 * stmt.c (free_stmt_status): New function.
11945 (init_stmt_for_function): Clear last_expr_value.
11946 * toplev.c (rest_of_compilation): Always call free_after_compilation.
11947 Conditionalize call to ggc_collect.
11948 (main): Call init_ggc.
11949 * tree.c (push_obstacks): Do the push, even when GC'ing.
11950 (push_obstacks_nochange): Likewise.
11951 (pop_obstacks): Liekwise.
11952 * varasm.c (free_varasm_status): Take decl as a parameter.
11953
11954 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
11955
11956 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
11957 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
11958 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
11959 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
11960
11961 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
11962
11963 * pa/x-pa-mpeix: New file for the MPE port.
11964
11965 * pa/quadlib.asm: New file for long double support.
11966
11967 * configure.in: Add hppa1.0-*-mpeix for MPE port.
11968 * configure: Rebuilt.
11969
11970 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
11971
11972 * final.c (shorten_branches): Fix last change.
11973
11974 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
11975
11976 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
11977
11978 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
11979
11980 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
11981 details.
11982
11983 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11984
11985 * c-aux-info.c (concat): Don't define.
11986
11987 * cccp.c (my_strerror): Likewise. All callers changed to use
11988 xstrerror instead.
11989 (do_include): Call xstrdup, not xmalloc/strcpy.
11990 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
11991 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
11992
11993 * collect2.c (my_strsignal): Likewise. All callers changed to use
11994 strsignal instead.
11995 (locatelib): Call xstrdup, not xmalloc/strcpy.
11996
11997 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
11998
11999 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
12000
12001 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
12002
12003 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
12004
12005 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
12006
12007 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
12008
12009 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
12010 malloc/realloc.
12011 (find_all_handler_type_matches): Likewise. Don't check return
12012 value.
12013 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
12014 xmalloc, not malloc.
12015 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
12016
12017 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
12018 (init_spec): Call xcalloc, not xmalloc/bzero.
12019 (set_spec): Call xstrdup, not save_string.
12020 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
12021 (find_a_file): Call xstrdup, not xmalloc/strcpy.
12022 (process_command): Call xstrdup, not save_string.
12023 (main): Call xcalloc, not xmalloc/bzero.
12024
12025 * gcov.c (xmalloc): Don't define.
12026 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
12027 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
12028 (output_data): Call xcalloc, not xmalloc/bzero.
12029
12030 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
12031
12032 * mips-tdump.c (xmalloc): Don't define.
12033 (print_symbol): Call xmalloc, not malloc.
12034 (read_tfile): Call xcalloc, not calloc.
12035
12036 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
12037 Don't define. All callers of xfree/my_strsignal changed to use
12038 free/strsignal instead.
12039 (allocate_cluster): Call xcalloc, not calloc.
12040
12041 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
12042 Fix memory leak, free allocated memory.
12043
12044 * prefix.c (translate_name): Call xstrdup, not save_string.
12045 (update_path): Likewise.
12046
12047 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
12048
12049 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
12050 Don't define. Callers of xfree/savestring2 changed to use
12051 free/concat instead.
12052
12053 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
12054 (init_elim_table): Likewise.
12055
12056 * resource.c (init_resource_info): Likewise.
12057
12058 * stupid.c (stupid_life_analysis): Likewise.
12059
12060 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
12061 (open_dump_file): Call concat, not xmalloc/strcpy/...
12062 (clean_dump_file): Likewise.
12063 (compile_file): Call xstrdup, not xmalloc/strcpy.
12064
12065 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
12066
12067 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
12068 * v850.c (v850_va_arg): New.
12069
12070 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12071
12072 * haifa-sched.c: Tidy comments.
12073
12074 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12075
12076 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
12077 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
12078 $(out_object_file)): Depend on ggc.h.
12079 * c-common.c: Include "ggc.h".
12080 (combine_strings): If doing GC, use ggc_alloc_string.
12081 * c-decl.c: Include "ggc.h".
12082 (ggc_p): Define with value 0.
12083 (mark_binding_level): New function.
12084 (init_decl_processing): Add GC roots.
12085 (mark_c_function_context): New function.
12086 (lang_mark_false_label_stack): New function.
12087 (lang_mark_tree): New function.
12088 (lang_cleanup_tree): New function.
12089 * c-lang.c: Include "ggc.h".
12090 (lang_init): Call c_parse_init.
12091 * c-lex.c: Include "ggc.h".
12092 (check_linenum): If doing GC, don't copy filenames to permanent
12093 obstack.
12094 * c-parse.in: Include "ggc.h".
12095 (c_parse_init): New function.
12096 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
12097 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
12098
12099 * except.c (mark_eh_state): Mark more state.
12100 * function.c (mark_function_state): Likewise.
12101 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
12102 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
12103 * toplev.c (mark_file_stack): New function.
12104 (compile_file): If doing GC, use ggc_alloc_string on input filename.
12105 (main): Add root for input_file_stack.
12106
12107 * i386.c: Include "ggc.h".
12108 (ix86_mark_machine_status): New function.
12109 (override_options): Set mark_machine_status.
12110
12111 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12112
12113 * tree.c (copy_node): Copy node contents also if doing GC.
12114
12115 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
12116
12117 * collect2.c (scan_libraries): Fix double-thinko :-).
12118
12119 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
12120
12121 * collect2.c (scan_libraries): Fix thinko.
12122
12123 * cse.c (delete_trivially_dead_insns): Do not skip the last
12124 insn if it is a real insn.
12125
12126 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
12127
12128 * Makefile.in (ggc-simple.o): Depend on hash.h.
12129 * ggc.h (ggc_add_tree_hash_table_root): Declare.
12130 (ggc_mark_tree_varray): Likewise.
12131 (ggc_mark_tree_hash_table): Likewise.
12132 * ggc-simple.c: Include hash.h.
12133 (ggc_mark_tree_hash_table_ptr): New function.
12134 (ggc_mark_tree_hash_table_entry): Likewise.
12135 (ggc_mark_tree_hash_table): Likewise.
12136 (ggc_add_tree_hash_table_root): Likewise.
12137 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
12138 rtx, when defining fields.
12139
12140 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
12141
12142 * profile.c (output_func_start_profiler): Remove apparently
12143 nonsensical call to start_sequence.
12144
12145 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
12146
12147 * clipper/clipper.c (clipper_va_start): Fix typos.
12148
12149 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
12150 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
12151 (spur_va_arg): New stub.
12152
12153 * configure.in: Comment out pyramid.
12154
12155 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
12156
12157 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
12158 don't conflict with the bits that win32, cygwin, and dgux
12159 defines.
12160
12161 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
12162 Bernd Schmidt <bernds@cygnus.co.uk>
12163
12164 * integrate.c (function_cannot_inline_p): Do not inline
12165 functions with forced labels.
12166
12167 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
12168 Bernd Schmidt <bernds@cygnus.co.uk>
12169 Mark Mitchell <mark@codesourcery.com>
12170
12171 * Makefile.in (ggc-simple.o): Depend on varray.h.
12172 (rtl.o): Depend on ggc.h.
12173 (genattrtab.o): Depend on ggc.h.
12174 (print-tree.o): Likewise.
12175 (fold-const.o): Likewise.
12176 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
12177 (make_insn_raw): Don't cache insns when GC'ing.
12178 (emit_insn_before): Likewise.
12179 (emit_insn_after): Likewise.
12180 (emit_insn): Likewise.
12181 (start_sequence): Use xmalloc to allocate the sequence_stack.
12182 (end_sequence): Add free to free it.
12183 (gen_sequence): Don't cache insns when GC'ing.
12184 (clear_emit_caches): Don't use sequence_element_free_list.
12185 (init_emit): Use xcalloc, not xmalloc+bzero.
12186 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
12187 * function.c (pop_function_context_from): Use free to free the
12188 fixup_var_refs_queue.
12189 (put_reg_into_stack): Allocate it with xmalloc.
12190 * genattrtab.c: Include ggc.h.
12191 (operate_exp): Don't use obstack_free when GC'ing.
12192 (simplify_cond): Likewise.
12193 (simplify_text_exp): Likewise.
12194 (optimize_attrs): Likewise.
12195 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
12196 GC'ing.
12197 (gencode): Generate a #include for ggc.h.
12198 * ggc-callbacks.c (ggc_p): Define it to zero.
12199 * ggc-none.c (ggc_p): Likewise.
12200 * ggc-simple.c: Include varray.h.
12201 (ggc_mark_tree_varray): New function.
12202 (ggc_add_tree_varray_root): Likewise.
12203 (ggc_mark_tree_varray_ptr): Likewise.
12204 * ggc.h (ggc_p): Declare.
12205 (varray_head_tag): Likewise.
12206 (ggc_add_tree_varray_root): Declare.
12207 * print-tree.c (print_node): Don't check for TREE_PERMANENT
12208 inconsistencies when GC'ing.
12209 * rtl.c: Include ggc.h.
12210 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
12211 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
12212 (rtx_free): Don't call obstack_free when GC'ing.
12213 * toplev.c (rest_of_compilation): Call ggc_collect after every
12214 pass, if GC'ing.
12215 * tree.c (push_obstacks): Do nothing, if GC'ing.
12216 (pop_obstacks_nochange): Likewise.
12217 (pop_obstacks): Likewise.
12218 (make_node): Use ggc_alloc_tree when GC'ing.
12219 (copy_node): Likewise.
12220 (get_identifier): Use ggc_alloc_string when GC'ing.
12221 (build_string): Likewise.
12222 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
12223 (tree_cons): Likewise.
12224 (build1): Likewise.
12225 (type_hash_canon): Don't call obstack_free when GC'ing.
12226
12227 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
12228
12229 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
12230 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
12231
12232 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
12233 Bernd Schmidt <bernds@cygnus.co.uk>
12234 Mark Mitchell <mark@codesourcery.com>
12235
12236 * Makefile.in (stor-layout.o): Depend on ggc.h.
12237 (expr.o): Depend on ggc.h.
12238 (profile.o): Depend on ggc.h.
12239 (stor-layout.o): Depend on ggc.h.
12240 * emit-rtl.c (init_emit_once): Add gc roots.
12241 * expr.c: Include ggc.h.
12242 (emit_block_move): Add gc roots.
12243 (clear_storage): Likewise.
12244 * expr.h (init_stor_layout_once): New function.
12245 * profile.c: Include ggc.h.
12246 (init_arc_profiler): profiler_label is a root.
12247 * scan.c (make_sstring_space): Trust xrealloc to function
12248 correctly with first parameter NULL.
12249 * stor-layout.c: Include ggc.h.
12250 (set_sizetype): Add gc root.
12251 (init_stor_layout_once): New function.
12252 * toplev.c (compile_file): Call it.
12253
12254 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
12255 Bernd Schmidt <bernds@cygnus.co.uk>
12256 Mark Mitchell <mark@codesourcery.com>
12257
12258 * Makefile.in (tree.o): Depend on ggc.h.
12259 (varasm.o): Likewise.
12260 (function.o): Likewise.
12261 (stmt.o): Likewise.
12262 (except.o): Likewise.
12263 (optabs.o): Likewise.
12264 (emit-rtl.o): Likewise.
12265 * emit-rtl.c: Include ggc.h.
12266 (sequence_element_free_list): Remove, and all references.
12267 (mark_sequence): New functions.
12268 (mark_emit_state): New function.
12269 * except.c: Include ggc.h.
12270 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
12271 (mark_tree_label_node): New functions.
12272 (mark_eh_state): New function.
12273 * function.c: Include ggc.h.
12274 (mark_temp_slot, mark_function_chain): New functions.
12275 (mark_function_state): New function.
12276 (init_function_once): New function.
12277 * function.h (init_function_once): New function.
12278 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
12279 * ggc.h (label_node): Declare.
12280 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
12281 (lang_mark_false_label_stack): New function.
12282 (mark_temp_slot): Remove declaration.
12283 (mark_function_chain): Likewise.
12284 (mark_eh_state): Adjust prototype.
12285 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
12286 Likewise.
12287 * optabs.c: Include ggc.h.
12288 (mark_optab): New function.
12289 (init_optabs): Add gc roots.
12290 * stmt.c: Include ggc.h.
12291 (mark_cond_nesting, mark_loop_nesting): New functions.
12292 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
12293 (mark_stmt_state): New function.
12294 * toplev.c (compile_file): Call init_function_once.
12295 * tree.c: Include ggc.h.
12296 (type_hash): Move declaration earlier in file.
12297 (TYPE_HASH_SIZE, type_hash_table): Likewise.
12298 (init_obstacks): Add gc roots.
12299 (mark_type_hash): New function.
12300 * varasm.c: Include ggc.h.
12301 (mark_pool_constant): New function.
12302 (mark_varasm_state): New function.
12303
12304 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12305
12306 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
12307
12308 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12309
12310 * c-decl.c (struct language_function): Renamed from struct c_function.
12311 Delete elt NEXT.
12312 (c_function_chain): Delete.
12313 (push_c_function_context): New arg F. Don't warn about nested
12314 functions here. Fill LANGUAGE elt of F. Delete code to update
12315 c_function_chain. Don't call push_function_context.
12316 (pop_c_function_context): New arg F. Restore from there instead of
12317 from c_function_chain. Don't call pop_function_context. Clear out
12318 LANGUAGE field of F when done.
12319 * c-lang.c: Include "function.h"
12320 (lang_init): Initialize save_lang_status and restore_lang_status.
12321 * c-parse.in (nested_function, nested_function_notype): Warn about
12322 nested functions. Call push_function_context/pop_function_context
12323 instead of the _c_ variants.
12324 * c-tree.h (push_c_function_context, pop_c_function_context): Update
12325 prototype.
12326 * Makefile.in (c-lang.o): Update dependencies.
12327
12328 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
12329 regno_pointer_flag, regno_pointer_align.
12330 (gen_reg_rtx): Use xrealloc to enlarge them.
12331 (free_emit_status): New function.
12332 * function.c (mark_machine_status, mark_lang_status): New variables.
12333 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
12334 in some bits from assign_stack_local. All callers changed to use new
12335 name.
12336 (assign_stack_local): Just call assign_stack_local_1.
12337 (free_after_compilation): New function.
12338 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
12339 (trampoline_address): Likewise.
12340 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
12341 (prepare_function_start): Explicitly clear some more variables.
12342 * function.h (struct function): New elt can_garbage_collect.
12343 (mark_machine_status, mark_lang_status): Declare variables.
12344 (free_after_compilation, free_emit_status, free_varasm_status,
12345 init_varasm_status): Declare functions.
12346 * toplev.c (rest_of_compilation): Call free_after_compilation when
12347 done with the current function.
12348 * varasm.c (free_varasm_status): New function.
12349
12350 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
12351
12352 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
12353 (EXPAND_BUILTIN_VA_ARG): Define.
12354 * sparc.c (sparc_va_start): New.
12355 (sparc_va_arg): New.
12356
12357 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12358
12359 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
12360
12361 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12362
12363 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
12364
12365 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
12366
12367 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
12368 (OBJS): Add $(GGC).
12369 (ggc-callbacks.o): New target.
12370 * ggc-callbacks.c: New file.
12371
12372 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12373
12374 * expr.h: Collapse individual optab and libfunc vars to arrays.
12375 (optab_index, libfunc_index): New enumerations.
12376 (optab_table, libfunc_table): New arrays.
12377 Add accessor macros for both.
12378
12379 * optabs.c (optab_table, libfunc_table): New.
12380 Delete declarations for individual optab and libfunc vars.
12381
12382 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
12383
12384 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
12385
12386 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
12387
12388 * Makefile.in (GGC, GGC_LIB): New.
12389 (HOST_RTL): Include ggc-none.o.
12390 (ggc-simple.o): New target.
12391 (ggc-none.o): Likewise.
12392 * tree.h (tree_common): Add gc_mark.
12393 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
12394 (struct rtvec_def): Add gc_mark.
12395 * emit-rtl.c (global_rtl): Update static initializers to contain
12396 enough initializers.
12397 * ggc.h, ggc-none.c, ggc-simple.c: New files.
12398 * toplev.c (gc_time): New variable.
12399 (all_time): New variable.
12400 (compile_file): Print gc time.
12401 (print_time): Calculate percentage of the whole.
12402
12403 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12404
12405 Change obstack memory management and varasm constant pool handling so
12406 that nested functions are treated like any other functions.
12407 * function.c (init_machine_status): New variable.
12408 (push_function_context_to): Set contains_functions for the outer
12409 function. Don't call save_varasm_status.
12410 (pop_function_context_from): Don't call restore_varasm_status. Don't
12411 set current_function_contains_functions.
12412 (prepare_function_start): Call init_varasm_status rather than
12413 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
12414 is non-null.
12415 * function.h (struct function) Add field varasm. Delete fields
12416 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
12417 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
12418 (init_machine_status): Declare.
12419 (save_varasm_status, restore_varasm_status): Delete declarations.
12420 (save_tree_status, restore_tree_status): Delete last argument.
12421 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
12422 code. All callers changed.
12423 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
12424 save_constants_in_decl_trees, restore_constants, save_constants,
12425 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
12426 functions.
12427 (inlining): New variable.
12428 (reg_map, label_map, insn_map, orig_asm_operands_vector,
12429 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
12430 variables.
12431 (save_for_inline_nocopy): Don't save constants.
12432 Don't set inl_emit field in current_function.
12433 (expand_inline_function): Use emit field, not inl_emit, of the inlined
12434 function. Set new variable inlining before
12435 calling copy_rtx_and_substitute.
12436 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
12437 constant pool references if inlining is nonzero.
12438 Delete ADDRESS and (most of the) CONST cases.
12439 (output_inline_function): Save and restore current_function/
12440 current_function_decl. Delete restore_constants code. Don't call
12441 init_const_rtx_hash_table.
12442 * output.h (init_const_rtx_hash_table): Don't declare.
12443 * rtl.h (struct function): Declare.
12444 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
12445 * toplev.c (rest_of_compilation): Don't treat nested functions or
12446 functions containing them specially. Delete all code to deal with
12447 save_for_inline_copying.
12448 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
12449 inline_obstacks): Delete variables.
12450 (save_tree_status): Lose arg CONTEXT. All callers changed.
12451 Simply allocate a new function_maybepermanent_obstack for the new
12452 function, delete all the special cases.
12453 Don't save inline_obstacks.
12454 (restore_tree_status): Lose arg CONTEXT. All callers changed.
12455 Delete special handling for function_maybepermanent_obstack; simply
12456 free it if empty.
12457 Don't restore inline_obstacks.
12458 (permanent_allocation): Delete code that frees inline_obstacks.
12459 (print_inline_obstack_statistics): Delete function.
12460 (dump_tree_statistics): Don't call it.
12461 * varasm.c (struct varasm_status): New.
12462 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
12463 last_pool, pool_offset, const_double_chain): Delete global
12464 variables, replace with accessor macros.
12465 (immed_double_const): Don't walk const_double_chain outside a
12466 function, but don't treat nested functions specially anymore.
12467 (immed_real_const_1): Likewise.
12468 (clear_const_double_mem): Don't treat nested functions specially.
12469 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
12470 (save_varasm_status, restore_varasm_status): Delete functions.
12471 (init_varasm_status): New function.
12472 (force_const_mem): Don't treat nested functions specially.
12473 (find_pool_constant): Accept new arg F, search for constants in
12474 that function's pool rather than the current one. All callers
12475 changed.
12476 (get_pool_constant_for_function, get_pool_mode_for_function): New
12477 functions.
12478
12479 * i386.c (init_386_machine_status): New function, mostly from
12480 clear_386_stack_locals.
12481 (struct machine_functions): Rename element names to avoid name
12482 clashes.
12483 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
12484 macros, replacing global variables.
12485 (clear_386_stack_locals, save_386_machine_status,
12486 restore_386_machine_status): Delete functions.
12487 (override_options): Initialize init_machine_status.
12488 * i386.h (INIT_EXPANDERS): Delete macro.
12489 (save_386_machine_status, restore_386_machine_status,
12490 clear_386_stack_locals): Delete declarations.
12491
12492 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12493
12494 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
12495 (doloop_begin): Simplify pattern and use emit_jump_insn.
12496 (doloop_end): Simplify pattern, switch operand order,
12497 and use emit_jump_insn.
12498
12499 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
12500
12501 * function.h (struct function): Add new element LANGUAGE.
12502 (save_lang_status): Declare new variable.
12503 (restore_lang_status): Likewise.
12504 * function.c (save_lang_status): Define.
12505 (restore_lang_status): Likewise.
12506 (push_function_context_to): Call language-specific save function.
12507 (pop_function_context_from): Call language-specific restore function.
12508
12509 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
12510
12511 * i386.md (movsf_1): Check REG_P before use of REGNO.
12512 (movdf_1): Likewise.
12513 (movxf_1): Likewise.
12514 (extendsfdf2): Likewise.
12515 (extendsfxf2): Likewise.
12516 (extenddfxf2): Likewise.
12517
12518 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12519
12520 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
12521 constants into memory.
12522 (c4x_shiftable_constant): New function.
12523 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
12524 (c4x_shiftable_constant): Declare.
12525 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
12526 ashlqi3_noclobber): Add new patterns and associated splitters.
12527
12528 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
12529
12530 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
12531 * dwarf2out.c (dwarf2out_frame_init): Likewise.
12532 * final.c (shorten_branches): Likewise.
12533 * global.c (global_alloc): Likewise.
12534 * haifa-sched.c (build_control_flow): Likewise.
12535 * stmt.c (check_for_full_enumeration_handling): Likewise.
12536 (estimate_case_costs): Likewise.
12537
12538 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
12539
12540 * rtl.h (RTL_CHECKC2): Fix typo in last change.
12541
12542 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
12543
12544 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
12545 (recompute_reg_usage): Likewise.
12546 * rtlanal.c (find_regno_fusage): Likewise.
12547
12548 * rtl.c (rtl_check_failed_code1): New function.
12549 (rtl_check_failed_code2): New.
12550 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
12551 (RTL_CHECKC1, RTL_CHECKC2): New.
12552 (XC*): New accessor macros.
12553 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
12554 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
12555 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
12556 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
12557 (TRAP_*, RANGE_INFO_*): Likewise.
12558
12559 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12560
12561 * Makefile.in (tlink.o): Don't depend on toplev.h.
12562
12563 * collect2.c (c_file, o_file, export_file, import_file, ldout,
12564 output_file, nm_file_name, ldd_file_name, strip_file_name,
12565 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
12566 add_prefix, prefix_from_env, prefix_from_string, do_wait,
12567 fork_execute, maybe_unlink, add_to_list,
12568 extract_init_priority, write_list, dump_list,
12569 dump_prefix_list, write_list_with_asm, write_c_file,
12570 write_c_file_stat, write_c_file_glob, scan_prog_file,
12571 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
12572 ignore_library, extract_string, notice, dump_file, target_machine,
12573 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
12574 read_file, print_load_command): Constify a char*.
12575 (fdopen, error, fatal, fatal_perror): Don't prototype.
12576 (my_strerror): Remove. All callers use xstrerror instead.
12577 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
12578 (main): Add prototype. Constify lots of char* ptrs. Change calls
12579 to xcalloc/strcpy/strcat/... to one call to concat.
12580 (main, scan_prog_file, scan_libraries): Use an intermediate
12581 `const char **' to build an argv array.
12582 (mapfile, libselect, libcompare, locatelib): Add prototypes.
12583
12584 * collect2.h (collect_execute, collect_wait, dump_file,
12585 file_exists): Constify a char*.
12586 (ldout, c_file_name, temporary_obstack, permanent_obstack,
12587 temporary_firstobj, vflag, debug): Add extern declarations.
12588 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
12589
12590 * tlink.c: Don't include toplev.h.
12591 (vflag, debug, ldout, c_file_name, temporary_obstack,
12592 permanent_obstack, temporary_firstobj): Don't declare.
12593 (tlink_execute, frob_extension, symbol_hash_lookup,
12594 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
12595 recompile_files, read_repo_files, demangle_new_symbols,
12596 scan_linker_output): Constify a char*.
12597 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
12598 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
12599
12600 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
12601
12602 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
12603 (relative) rather than jsr (absolute) subroutine call insns.
12604 * config/m68k/m68k-coff.h: Ditto.
12605
12606 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
12607
12608 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
12609 now rework these too.
12610 (arm_reorg): If an insn can't reach the end of the current pool,
12611 ensure that we emit that pool before the insn.
12612
12613 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
12614
12615 * tlink.c (scan_linker_output): Skip the initial underscore in
12616 a mangled name if appropriate.
12617
12618 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12619
12620 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
12621 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
12622 error_with_ivar, gen_declarator, create_builtin_decl,
12623 my_build_string, generate_descriptor_table, generate_ivars_list,
12624 generate_dispatch_table, check_protocols, TAG_GETCLASS,
12625 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
12626 dump_base_name, lang_decode_option, build_encode_expr,
12627 start_class, finish_class, encode_pointer, really_start_method,
12628 gen_declaration, dump_interface, handle_class_ref, handle_impent):
12629 Constify.
12630 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
12631 Add static prototypes.
12632 (build_objc_string_decl, build_selector_reference_decl,
12633 encode_bitfield, build_class_reference_decl): Remove unused
12634 parameter, all callers changed.
12635 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
12636 (objc_printable_name): Likewise. Change second parameter to type int.
12637 (init_objc): Use memcpy, not bcopy, to avoid casts.
12638
12639 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
12640
12641 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
12642 reg notes on a deleted insn.
12643 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
12644
12645 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
12646
12647 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
12648
12649 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12650
12651 * stmt.c (expand_asm_operands): Fix index into inout_mode when
12652 reading it.
12653
12654 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
12655
12656 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
12657 * tm.texi (MD_ASM_CLOBBERS): Document it.
12658
12659 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
12660
12661 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
12662 * except.c (expand_rethrow): Remove unused variable.
12663 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
12664 * flow.c (replace_insns): Likewise.
12665 (create_edge_list, verify_edge_list): Likewise.
12666 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
12667
12668 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
12669 is special code to run.
12670 (main): Don't define operands to emit_operand.
12671 * genrecog.c (main): Don't emit an empty peephole2_insn function.
12672
12673 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
12674
12675 * alpha/alpha.h (normal_memory_operand): Declare.
12676 (reg_no_subreg_operand): Declare.
12677 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
12678
12679 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
12680
12681 * c-parse.in (compstmt_primary_start): New, broken out of first
12682 part of compstmt handling in primary.
12683 (primary): Use it. Add an error clause.
12684 (compstmt_nostart): Renamed from compstmt; remove all
12685 initial invocations of compstmt_start.
12686 (compstmt): New.
12687
12688 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
12689
12690 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
12691 needed.
12692
12693 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
12694
12695 * combine.c (simplify_shift_const): Remove extra semicolon.
12696 * dwarf2out.c (remove_AT): Likewise.
12697 * expmed.c (expand_mult): Likewise.
12698 * gcov.c (create_program_flow_graph): Likewise.
12699 * reorg.c (mostly_true_jump): Likewise.
12700
12701 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
12702
12703 * fold-const.c (fold_range_test): Do not try to fold the range
12704 test if the rhs or lhs has side effects.
12705
12706 * combine.c (simplify_rtx): Recognize another case of a synthesized
12707 sign extension.
12708
12709 * varasm.c (mark_constant_pool): When marking indirect references,
12710 only look at SYMBOL_REFs.
12711
12712 * except.c (expand_fixup_region_end): Do not peek at
12713 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
12714
12715 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
12716
12717 * flags.h: New variables align_loops, align_loops_log,
12718 align_jumps, align_jumps_log, align_labels, align_labels_log,
12719 align_functions, align_functions_log.
12720 * toplev.c: Define them.
12721 (f_options): Handle -falign-* when they have no argument.
12722 (main): Add logic to set variables for -falign-functions,
12723 -falign-jumps, -falign-labels, -falign-loops.
12724 Make it -fsched-verbose=<n> and -finline-limit=<n>.
12725 (display_help): Change help to match options.
12726 * final.c (LABEL_ALIGN): Default to align_labels_log.
12727 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
12728 (LOOP_ALIGN): Default to align_loops_log.
12729 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
12730 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
12731 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
12732 * varasm.c (assemble_start_function): Handle align_functions.
12733
12734 * config/sparc/sparc.h: Don't declare sparc_align_*.
12735 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
12736 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
12737 sparc.c.
12738 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
12739 it's a promise.
12740 * config/sparc/sparc.c: Delete sparc_align_loops,
12741 sparc_align_jumps, sparc_align_funcs and the corresponding string
12742 variables.
12743 (sparc_override_options): Default align_functions on ultrasparc.
12744 Delete -malign-* handling.
12745
12746 * config/mips/mips.c (override_options): On 64-bit targets,
12747 try to align code to 64-bit boundaries.
12748 (print_operand): New substitution, %~,
12749 which aligns labels to align_labels_log.
12750 * config/mips/mips.md (div_trap_normal): Use %~.
12751 (div_trap_mips16): Likewise.
12752 (abssi): Likewise.
12753 (absdi2): Likewise.
12754 (ffssi2): Likewise.
12755 (ffsdi2): Likewise.
12756 (ashldi3_internal): Likewise.
12757 (ashrdi3_internal): Likewise.
12758 (lshrdi3_internal): Likewise.
12759 (casesi_internal): Likewise.
12760
12761 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
12762
12763 Merge new ia32 backend from the branch!
12764
12765 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
12766 See ChangeLog.P2 on new_ia32_branch for details.
12767
12768 * rtl.h (stack_regs_mentioned_p): Delete prototype.
12769 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
12770 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
12771 * i386/gas.h (ASM_FILE_START): Define.
12772 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
12773 for name change of ix86_valid_decl_attribute_p.
12774 (i386_pe_valid_type_attribute_p): Similarly.
12775
12776 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
12777
12778 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
12779 to step through CC modes.
12780
12781 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12782
12783 * regmove.c (fixup_match_1): Don't move INSN in front of P if
12784 it would end up in the shadow of a live flags regsiter.
12785
12786 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12787
12788 * reload1.c: Fix many indentation problems.
12789 * reload.c: Likewise.
12790
12791 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
12792
12793 * alias.c (non_local_reference_p): Constify fmt.
12794
12795 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
12796
12797 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
12798
12799 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
12800
12801 * cse.c (delete_trivially_dead_insns): Do not delete stores to
12802 the internal_arg_pointer.
12803
12804 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
12805
12806 Merge peephole2 from new_ia32_branch:
12807 * Makefile.in (STAGESTUFF): Add *.peephole2.
12808 (mostlyclean): Likewise.
12809 (recog.o): Depend on resource.h.
12810
12811 * final.c (peephole): Conditionalize decl on HAVE_peephole.
12812 (final_scan_insn): Likewise for the invocation of peephole.
12813 * genconfig.c (main): Look for peephole and peephole2 patterns.
12814 Emit HAVE_peephole* accordingly.
12815 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
12816 * flags.h (flag_peephole2): Declare.
12817 * toplev.c: New pass peephole2. New flag -fpeephole2.
12818
12819 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
12820 * gencodes.c (main): Likewise.
12821 * genextract.c (main): Likewise.
12822 * genoutput.c (main): Likewise.
12823 * genemit.c (max_operand_1): Look for the max scratch operand.
12824 (gen_rtx_scratch): New.
12825 (gen_exp): Use it, and pass on new arg subroutine_type.
12826 (gen_expand): Take max scratch into account.
12827 (gen_split): Emit peephole2 functions.
12828 (output_peephole2_scratch): New.
12829 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
12830 * genrecog.c (routine_type): Add PEEPHOLE2.
12831 (IS_SPLIT): New.
12832 (make_insn_sequence): Match outer parallel for peep2. Discard
12833 top level scratches and dups.
12834 (add_to_sequence): New args insn_type and top. Update all callers.
12835 Handle toplevel peep2 matching insns.
12836 (write_subroutine): Handle peep2.
12837 (write_tree_1): Likewise.
12838 (write_tree): Likewise.
12839 (main): Likewise.
12840 (change_state): New arg afterward. Update all callers.
12841 Handle matching separate insns.
12842 * recog.c (recog_next_insn): New.
12843 (peephole2_optimize): New.
12844 * rtl.def (DEFINE_PEEPHOLE2): New.
12845 * resource.c (find_free_register): New argument last_insn. Use it
12846 to find a register available through the entire span.
12847 * resource.h (find_free_register): Update prototype.
12848
12849 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
12850
12851 * i386.c (output_strlen_unroll): Don't write xops[7]
12852 label if it wasn't set.
12853
12854 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
12855
12856 * cpplib.c (struct directive): Const-ify name pointer and
12857 function pointer prototype.
12858 (validate_else, do_define, do_line, do_include, do_undef,
12859 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
12860 do_elif, do_endif, do_sccs, do_assert, do_unassert,
12861 do_warning): Const-ify second arg.
12862 (directive_table): Mark const. Reorder entries by frequency
12863 of usage, record statistics.
12864
12865 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
12866
12867 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
12868 bounds- check RTL accesses if --enable-checking.
12869 (RTVEC_ELT): Bounds check if --enable-checking.
12870 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
12871 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
12872 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
12873 GET_NUM_ELEM.
12874 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
12875 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
12876
12877 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
12878 (NOTE_SOURCE_FILE): Use X0STR.
12879 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
12880 MEM_ALIAS_SET): Use X0INT.
12881 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
12882 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
12883 Use X0EXP.
12884 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
12885 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
12886 (rtl_check_failed_bounds, rtl_check_failed_type1,
12887 rtl_check_failed_type2, rtvec_check_failed_bounds): New
12888 functions.
12889 (fancy_abort): Fix comment.
12890
12891 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
12892 (cse_insn): Decrement LABEL_NUSES for jump target before
12893 deleting jump insn.
12894 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
12895 * final.c (alter_subreg): Compute regno before changing x to
12896 REG; set REGNO(x) after changing it.
12897 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
12898 notes containing CONST_INTs.
12899 (delete_eh_regions): Use NOTE_EH_HANDLER.
12900 * function.c (put_reg_into_stack): Make reg a MEM before
12901 initializing it.
12902 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
12903 delete insn.
12904 (gen_mem_addressof): Make reg a MEM before initializing it.
12905 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
12906 X0WINT.
12907 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
12908 deleting an insn, not after.
12909 (block_alloc): Only look at PATTERN(insn) if we have to, and
12910 only if it's format class 'i'.
12911 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
12912 CONST_INT before using its INTVAL.
12913 * print-rtl.c (print_rtx): Use X0STR.
12914 * regmove.c (fixup_match_1): Don't look at PATTERN of
12915 non-class-'i' insn chain elements.
12916 * reload.c (loc_mentioned_in_p): Take address of
12917 in->fld[1].rtx directly.
12918 * reload1.c (reload): Change reg to a MEM before initializing
12919 it.
12920 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
12921 have no names.
12922 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
12923
12924 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
12925
12926 * config/mips/mips.c (machine_dependent_reorg): Force a
12927 barrier to output the local constant pool if a barrier hasn't
12928 been found at a natural point in the instruction stream.
12929
12930 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12931
12932 * c-parse.in (language_string): Constify.
12933
12934 * dwarf2out.c (language_string): Remove declaration.
12935
12936 * dwarfout.c (language_string): Likewise.
12937
12938 * toplev.c (language_string, init_parse, finish_parse): Likewise.
12939
12940 * tree.h (language_string, init_parse, finish_parse): Declare.
12941
12942 * i386/sun386.h (language_string): Remove declaration.
12943
12944 * mips.h (language_string): Likewise.
12945
12946 * nextstep.h (language_string): Likewise.
12947
12948 * nextstep21.h (language_string): Likewise.
12949
12950 * rs6000.c (language_string): Likewise.
12951
12952 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12953
12954 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
12955 (getpwd.o): Remove target.
12956
12957 * getpwd.c: Delete file. Its in libiberty now.
12958
12959 * dbxout.c (getpwd): Don't prototype.
12960 * dwarf2out.c (getpwd): Likewise
12961 * dwarfout.c (getpwd): Likewise
12962 * final.c (getpwd): Likewise.
12963 * protoize.c (getpwd): Likewise.
12964
12965 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12966
12967 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
12968
12969 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
12970
12971 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
12972 mark_set_resources.
12973
12974 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
12975
12976 * fixinc/Makefile.in (subdir): New.
12977 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
12978 (Makefile): New.
12979
12980 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
12981
12982 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
12983 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
12984 be shared.
12985
12986 * invoke.texi: Fix typo.
12987
12988 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
12989 changed. Handle autoincrement addressing modes.
12990
12991 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
12992 just like we would the virtual incoming args register when
12993 integrating.
12994
12995 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
12996
12997 * rs6000.h (ASM_FILE_START): Specify complete filename, including
12998 path, in .file directive.
12999
13000 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
13001
13002 * gcc.texi (External Bugs): Remove obsolete note about Perl on
13003 SunOS.
13004
13005 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
13006
13007 * stdbool.h: Make the typedef name _Bool, with bool a #defined
13008 alias.
13009
13010 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13011
13012 * tree.c (tree_code_name): Constify a char*.
13013
13014 * tree.h (tree_code_name, decl_printable_name): Likewise.
13015
13016 * function.h (struct function): Likewise.
13017
13018 * toplev.c (decl_name, decl_printable_name): Likewise.
13019
13020 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
13021
13022 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
13023 (init_objc): Remove function pointer cast.
13024
13025 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
13026
13027 * pa.md (interspace_jump): New pattern.
13028 (builtin_longjmp): New expander.
13029
13030 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
13031
13032 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
13033 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
13034 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
13035
13036 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
13037
13038 * jump.c (delete_prior_computation): Also check calls
13039 to constant functions. Don't bother checking for a
13040 REG_UNUSED note before adding it.
13041 (delete_computation): Handle multi-word hard registers
13042 when synthesizing missing REG_DEAD notes for a register
13043 which is both set and used by an insn.
13044
13045 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13046
13047 * loop.c (this_loop_info): New variable.
13048 (loop_has_call, loop_has_volatile, loop_has_tablejump,
13049 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
13050 All uses updated.
13051 (prescan_loop, strength_reduce): New argument loop_info. All callers
13052 updated.
13053 (scan_loop): New variable loop_info, initialise to address of
13054 this_loop_info.
13055 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
13056 Delete variable loop_has_multiple_exit targets and replace with
13057 field in this_loop_info.
13058 (find_and_verify_loops): Rename this_loop to this_loop_num.
13059 (strength_reduce): Delete loop_iteration_info. Replace variable
13060 loop_info with function argument of same name.
13061 (insert_bct): Rework test for loop being completely unrolled.
13062
13063 * loop.h (struct loop_info): New fields num, loops_enclosed,
13064 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
13065 has_indirect_jump, and cont. Redefine use of unroll_number.
13066 (loop_unroll_number): Delete.
13067
13068 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
13069 field of loop_info.
13070 (loop_iterations): Delete variable vtop and instead use
13071 loop_info->vtop computed in prescan_loop.
13072
13073 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
13074
13075 * fix-header.c (main): Do not pass a null pointer to strcmp.
13076
13077 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
13078
13079 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
13080 filenames.
13081 * configure: Rebuilt.
13082
13083 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
13084
13085 * jump.c (jump_optimize_1): Do not delete assignments to
13086 internal_arg_pointer.
13087 * cse.c (delete_trivially_dead_insns): Always consider a set of
13088 the internal_arg_pointer live.
13089
13090 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
13091
13092 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
13093 (update_life_info) [REG_WAS_0]: Search the original insns rather
13094 than the new insns for the note. Fix typos finding note_dest.
13095 If no dest found, discard the note rather than abort.
13096 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
13097 (replace_insns): Remove the old insn list after update_life_info
13098 not before.
13099
13100 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
13101
13102 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
13103 sched_analyze_insn.
13104 (sched_analyze_1): Let add_dependence care for not adding dups.
13105 (sched_analyze_2): Likewise.
13106 (add_branch_dependences): Likewise.
13107
13108 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
13109
13110 * i386/winnt.c (export_list): New type.
13111 (exports_head): Rename to
13112 (export_head): this.
13113 (i386_pe_record_exported_symbol): Add is_data flag.
13114 (i386_pe_asm_file_end): Emit directive for exported variables.
13115 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
13116 prototype.
13117 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
13118 (ASM_DECLARE_OBJECT_NAME): Likewise.
13119 (ASM_DECLARE_FUNCTION_NAME): Likewise.
13120 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
13121
13122 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
13123
13124 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
13125
13126 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
13127 operand.
13128
13129 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
13130
13131 * config/openbsd.h: Define SET_ASM_OP.
13132 * tm.texi: cross-reference SET_ASM_OP in the index.
13133
13134 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
13135
13136 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
13137 for a CONST_DOUBLE, at compile time. Initialize rtx_length
13138 and class_narrowest_mode at compile time. Kill init_rtl.
13139 Mark rtx_length, mode_class, mode_size, mode_unit_size,
13140 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
13141 rtx_format as const. Kill all references to EXTRA_CC_MODES or
13142 EXTRA_CC_NAMES.
13143 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
13144 format.
13145 * rtl.h: Declare rtx_length and rtx_format as const.
13146 * machmode.def: Define CC(). Use CC() to define CCmode. If
13147 EXTRA_CC_MODES is defined, expand it here.
13148 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
13149 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
13150 const. Kill all references to EXTRA_CC_MODES.
13151
13152 * toplev.c: Don't prototype or call init_rtl.
13153 * optabs.c: Don't call init_mov_optab.
13154 * genemit.c: Don't generate init_mov_optab. Don't call
13155 init_rtl.
13156 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
13157 here.
13158 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
13159 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
13160 genrecog.c: Don't call init_rtl.
13161
13162 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
13163 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
13164 definition of EXTRA_CC_MODES.
13165
13166 * md.texi: Kill ref to EXTRA_CC_NAMES.
13167 * tm.texi: Document new way to define EXTRA_CC_MODES.
13168
13169 * genrecog.c: Do not look up the name of a define_split.
13170 (Unrelated bugfix.)
13171
13172 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
13173
13174 * config/v850/v850.md: Fix typo introduced by previous delta.
13175
13176 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13177
13178 * gcc.c (fatal): Make definition static to match prototype.
13179
13180 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13181
13182 * combine.c (get_last_value): Don't look for earlier sets if the last
13183 known set is somewhere in between the insns being combined.
13184
13185 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
13186
13187 * configure.in: Don't use shell ! to negate exit codes
13188 * configure: Regenerate
13189
13190 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
13191
13192 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
13193 the fact that ALIGN is measured in bits, not bytes.
13194
13195 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
13196
13197 * errors.c: New file; defines functions error, warning, and
13198 fatal, variables have_error and progname.
13199 * errors.h: New file; prototypes and decls for stuff in errors.c.
13200
13201 * Makefile: Add rules to build errors.o and
13202 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
13203 genopinit, genrecog, genextract, genpeep, genattr, and
13204 genoutput with errors.o. Add errors.h to deps of genconfig.o,
13205 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
13206 genpeep.o, genattr.o, and genoutput.o.
13207
13208 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
13209 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
13210 define or prototype fatal. Set progname at beginning of main.
13211 * genoutput.c: Likewise, and don't define or prototype error
13212 either.
13213
13214 * c-typeck.c (c_expand_start_case): Return immediately if exp
13215 is an ERROR_MARK.
13216 * fold-const.c (operand_equal_p): Return immediately if arg1
13217 or arg0 are ERROR_MARKs.
13218 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
13219 fields of type ERROR_MARK when calculating if the record can
13220 go in a register.
13221
13222 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
13223 with much help from Jeffrey A Law and Richard Henderson
13224
13225 * i386.md: In the 6 insns which call output_fix_trunc,
13226 earlyclobber operands[0].
13227
13228 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
13229
13230 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
13231 creating new registers.
13232
13233 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
13234
13235 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
13236 i386_reg_alloc_order, i386_regparm_string,
13237 i386_align_loops_string, i386_align_jumps_string,
13238 i386_align_funcs_string, i386_preferred_stack_boundary_string,
13239 and i386_branch_cost_string as type "const char *".
13240 * i386.c: Define all above strings as type "const char *".
13241
13242 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
13243
13244 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
13245 when emitting alignment padding. Emit padding byte of 0 instead of 4.
13246
13247 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
13248
13249 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
13250 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
13251
13252 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
13253
13254 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
13255 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
13256 (dwarf2out_line, dwarf2out_finish): Likewise.
13257 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
13258
13259 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
13260
13261 * tree.c (lang_unsave_expr_now) : Correct return type.
13262 * tree.h (lang_unsave_expr_now) : Same.
13263
13264 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
13265
13266 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
13267 instead of duplicating code.
13268
13269 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13270
13271 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
13272
13273 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
13274
13275 * tree.h: fancy_abort always takes three args.
13276 * resource.c: Move include of system.h before toplev.h.
13277
13278 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
13279
13280 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
13281 as SYMBOL_REFs.
13282
13283 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
13284
13285 * system.h: Don't redefine abort or trim_filename.
13286 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
13287 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
13288 whether or not __FUNCTION__ is available.
13289 * tree.h: Duplicate rtl.h's definition of abort, for files
13290 that don't include rtl.h. Delete all code to perform type
13291 checking with a compiler other than GCC.
13292 * varray.h: Delete all code to perform type checking with a
13293 compiler other than GCC. Make VARRAY_CHECK() always evaluate
13294 its arguments exactly once, using a statement expression.
13295 Adjust the VARRAY_<type> accessor macros to match.
13296 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
13297 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
13298 caller's location. Define fatal_insn and fatal_insn_not_found
13299 as macros that use _fatal_insn and _fatal_insn_not_found.
13300 (fancy_abort, trim_filename): Kill prototypes.
13301
13302 * rtl.c (trim_filename): Move here from toplev.c.
13303 (fancy_abort): New function.
13304 (DIR_SEPARATOR): Provide default definition.
13305 * tree.c (tree_check_failed, tree_class_check_failed): Go
13306 through fancy_abort.
13307 (tree_check, tree_class_check, cst_or_constructor_check,
13308 expr_check): Delete.
13309 * varray.c (varray_check_failed): New function.
13310 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
13311 _fatal_insn and _fatal_insn_not_found. Go through
13312 fancy_abort.
13313 (trim_filename, fancy_abort): Delete.
13314
13315 * builtins.c (expand_builtin_args_info): Report ICE with abort.
13316 * except.c (start_catch_handler): Report ICE with error/abort
13317 combo.
13318 * final.c (output_operand_lossage): Likewise.
13319 * flow.c (verify_flow_info): Likewise.
13320
13321 * gcc.c: Prototype fatal.
13322 * gengenrtl.c: Undef abort after including rtl.h not system.h.
13323 * genattr.c, genattrtab.c, genemit.c, genextract.c,
13324 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
13325 Don't define fancy_abort.
13326
13327 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
13328
13329 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
13330 canonization.
13331
13332 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
13333
13334 * m88k.h (VERSION_INFO2): Kill.
13335 (VERSION_STRING): Kill.
13336 (TM_RCS_ID): Kill.
13337 (VERSION_INFO1): Tidy.
13338 (TARGET_VERSION): Update.
13339 * m88k/dgux.h (VERSION_INFO2): Kill.
13340 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
13341 * m88k/luna.h (VERSION_INFO1): Tidy.
13342 * m88k/sysv4.h (VERSION_INFO1): Likewise.
13343 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
13344 (output_file_start): Adjust for death of VERSION_STRING.
13345
13346 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
13347
13348 * cpplib.c (detect_if_not_defined): New function.
13349 (do_if): Use it to detect potential once-only headers.
13350
13351 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
13352
13353 * c-common.c (combine_strings): Always set TREE_CONSTANT.
13354
13355 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
13356
13357 * combine.c (nonzero_bits) : Allow single-ly set registers to be
13358 anywere in the function only if they are pseudos and set before
13359 being used (not live at the start of the function).
13360 (num_sign_bit_copies) : Same.
13361 (get_last_value_validate) : Same.
13362 (get_last_value) : Same.
13363
13364 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
13365
13366 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
13367 where N and M are constant and N is an integer multiple of M.
13368
13369 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13370
13371 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
13372 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
13373 sbitmap_union_of_preds): Add prototypes.
13374 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
13375 the intersection of successors with the new flow graph structures.
13376 (sbitmap_intersection_of_preds): New function to compute the
13377 intersection of predecessors with the new flow graph structures.
13378 (sbitmap_union_of_succs): New function to compute the union of
13379 successors with the new flow graph structures.
13380 (sbitmap_union_of_preds): New function to compute the union of
13381 predecessors with the new flow graph structures.
13382 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
13383 (expr_reaches_here_p): Use edge and basic_block structures instead
13384 of s_preds and s_succs.
13385 (compute_cprop_avinout): Use new sbitmap routines.
13386 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
13387 of s_preds and s_succs.
13388 * flow.c (compute_flow_dominators): Compute dominators using
13389 edges and basic blocks instead of s_preds and s_succs.
13390
13391 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13392
13393 * lists.c (unused_insn_list, unused_expr_list): New file for
13394 maintaining various types of lists. New statics for maintaining a
13395 cache of available INSN_LIST and EXPR_LIST nodes.
13396 (free_list): Static function for freeing a list of INSN/EXPR nodes.
13397 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
13398 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
13399 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
13400 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
13401 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
13402 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
13403 (free_INSN_LIST_node): Free an individual INSN_LIST node.
13404 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
13405 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
13406 (remove_dependence, free_pending_lists): Use new global routines.
13407 (flush_pending_lists, sched_analyze_insn): Use new global routines.
13408 (sched_analyze, compute_block_backward_dependences): Use new routines.
13409 (sched_analyze_1, sched_analyze_2): Use new routines.
13410 (schedule_insns): Use new global routines.
13411 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
13412 prototypes.
13413 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
13414 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
13415 prototypes.
13416 * toplev.c (rest_of_compilation): Initialize node cache.
13417 * Makefile.in (OBJS): Add lists.o to list of object files.
13418 (lists.o): Add dependancies.
13419
13420 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
13421
13422 * config/v850/v850.md: Fix compile time warning messages.
13423 * config/v850/v850.c: Fix compile time warning messages.
13424 * config/v850/v850.h: Fix compile time warning messages.
13425
13426 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13427
13428 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
13429 Remove unused prototype for `init_lengths'.
13430
13431 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13432
13433 * calls.c (emit_call_1): Mark parameter `stack_size' with
13434 ATTRIBUTE_UNUSED.
13435 (expand_call): Initialize variable `insn'.
13436 (emit_library_call): Likewise for variable `high_to_save'.
13437 (emit_library_call_value): Likewise.
13438 (store_one_arg): Likewise for variables `lower_bound' and
13439 `upper_bound'.
13440
13441 * combine.c (try_combine): Likewise for variables `i2_code_number'
13442 and `other_code_number'.
13443 (find_split_point): Likewise for variables `pos', `unsignedp' and
13444 `inner'.
13445 (simplify_if_then_else): Likewise for variables `op' and `c1'.
13446 (simplify_and_const_int): Remove unused variable `width'.
13447 (merge_outer_ops): Likewise.
13448
13449 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
13450 HOST_WIDE_INT' when comparing against one.
13451 (simplify_relational_operation): Likewise.
13452 (cse_insn): Initialize variables `src_eqv_volatile',
13453 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
13454
13455 * final.c (init_final): Constify parameter `filename'.
13456 (final_start_function): Mark parameter `optimize' with
13457 ATTRIBUTE_UNUSED.
13458 (profile_function): Likewise for parameters `first' and `optimize'.
13459 (output_source_line): Likewise for parameter `file'.
13460
13461 * integrate.c (subst_constants): Cast a value to `size_t' when
13462 comparing against one.
13463 (mark_stores): Initialize variable `mode'. Cast a value to
13464 `size_t' when comparing against one.
13465
13466 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
13467
13468 * loop.c (move_movables): Initialize variable `first'.
13469 (strength_reduce): Likewise for variable `increment'.
13470 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
13471 value to `size_t' when comparing against one.
13472 (load_mems): Initialize variable `end_label'.
13473
13474 * output.h (init_final): Constify parameter.
13475
13476 * reload.c (decompose): Initialize variable `base'.
13477
13478 * reload1.c (reload): Likewise for variable `is_scalar'.
13479 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
13480 (choose_reload_regs): Initialize variable `mode'.
13481 (emit_reload_insns): Likewise for variable `store_insn'.
13482 (reload_cse_noop_set_p): Mark parameter `insn' with
13483 ATTRIBUTE_UNUSED.
13484 (reload_combine): Initialize variable `set'.
13485
13486 * unroll.c (unroll_loop): Likewise for variable `local_label'.
13487 (copy_loop_body): Cast a value to `size_t' when comparing against
13488 one.
13489
13490 * varasm.c (assemble_variable): Initialize variable `size_tree'.
13491 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
13492 (remove_from_pending_weak_list): Mark parameter `name' with
13493 ATTRIBUTE_UNUSED.
13494
13495 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13496
13497 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
13498 gcse dump file.
13499
13500 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
13501
13502 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
13503 (ASM_DECLARE_FUNCTION_NAME): Define.
13504 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
13505 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
13506 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
13507 not already defined.
13508
13509 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
13510
13511 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
13512 of n_popped when call/call_value are not defined.
13513
13514 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
13515
13516 * tm.texi: GNU CC -> GCC conversion.
13517 (CC1_SPEC): Indicate it is used for all language front ends.
13518
13519 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
13520
13521 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
13522 NOTE_INSN_EH_REGION_END correctly.
13523
13524 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
13525 Jeff Law <law@cygnus.com>
13526
13527 * loop.c (strength_reduce): Automatically unroll loops if the
13528 unrolled loop size is smaller than the rolled loop size.
13529
13530 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
13531 and delete comment that code should be rewritten.
13532
13533 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
13534
13535 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
13536 as reachable.
13537
13538 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
13539
13540 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
13541
13542 * fixinc/mkfixinc.sh: Don't fix uwin headers.
13543 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
13544 (LINK_SPEC): Add -u _main when building executables.
13545 (ASM_DECLARE_FUNCTION): Update from Cygwin.
13546 (ASM_FILE_END): Use the default for ix86-pe.
13547 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
13548
13549 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
13550
13551 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
13552 and ASM_CLOSE_PAREN are empty strings.
13553
13554 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
13555 Geoffrey Keating <geoffk@cygnus.com>
13556
13557 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
13558 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
13559 (unprotoize.o): Ditto.
13560 (test-protoize-simple): Don't define STD_PROTO_DIR.
13561 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
13562 changes to make 'test-protoize-simple' pass.
13563 (STD_PROTO_DIR): Remove define.
13564 (STANDARD_EXEC_PREFIX): Supply default define.
13565 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
13566 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
13567 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
13568 (GET_ENV_PATH_LIST): New macro.
13569 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
13570 (do_processing): Initialize default_syscalls_dir using new
13571 macros. Use it to initialize syscalls_absolute_filename.
13572
13573 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
13574
13575 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
13576 B into a register before emit_conditional_move.
13577
13578 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
13579
13580 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
13581 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
13582 multiplicand out of (+ (* a b) (* c d)).
13583
13584 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
13585 Richard Henderson <rth@cygnus.com>
13586
13587 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
13588 (new_insn_dead_notes): Likewise.
13589 (update_n_sets): Likewise.
13590 (update_flow_info): Move to flow.c, renamed to update_life_info;
13591 extend to handle multiple source insns.
13592 * flow.c: Include resource.h
13593 (unlink_insn_chain): New.
13594 (split_hard_reg_notes): New.
13595 (maybe_add_dead_note): New.
13596 (maybe_add_dead_note_use): New.
13597 (find_insn_with_note): New.
13598 (new_insn_dead_notes): New.
13599 (update_n_sets): New.
13600 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
13601 (maybe_remove_dead_notes): New.
13602 (update_life_info): New.
13603 (prepend_reg_notes): New.
13604 (replace_insns): New.
13605 * output.h (update_life_info): Declare.
13606 * recog.c (split_block_insns): Use update_life_info.
13607 * resource.c (find_free_register): Use reg_alloc_order, don't use
13608 fixed regs, make sure the mode is supported, don't use new regs.
13609 (reg_dead_p): New.
13610 * rtl.h (replace_insns): Declare.
13611
13612 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
13613
13614 * expr.c (expand_expr): Cope with COND_EXPRs with one
13615 non-returning branch.
13616
13617 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
13618
13619 * expr.c (store_expr): Always pass down the target, even when not
13620 doing CSE.
13621
13622 1999-08-24 Nick Clifton <nickc@cygnus.com>
13623
13624 * configure.in: Define target_cpu_default for v850 targets.
13625 * configure: Regenerate
13626
13627 * config/v850/v850.h (TARGET_CPU_generic): Define.
13628 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
13629 addresses are 4 byte aligned.
13630
13631 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
13632 addresses.
13633
13634 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13635
13636 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
13637 (main): Add prototypes.
13638
13639 * genattrtab.c (substitute_address, write_const_num_delay_slots,
13640 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
13641 (write_attr_get): Emit prototypes along with function definition.
13642 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
13643 (write_complex_function): Emit static prototype along with
13644 function definition.
13645
13646 * genemit.c (gen_split): Emit prototypes along with function
13647 definition.
13648
13649 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
13650 Likewise for predicates and `insn_operand_predicate'.
13651 (process_template): Emit static prototype along with function
13652 definition.
13653
13654 * genrecog.c (make_insn_sequence): Constify a char*. Add
13655 prototypes for get_split_*().
13656 (write_subroutine): Emit prototypes along with function
13657 definition.
13658
13659 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13660
13661 * gcse.c (find_avail_set): Follow chains of register-register copies.
13662 Use oprs_not_set_p to guarantee that the returned value can be
13663 substituted.
13664 (cprop_insn): Don't verify the return value of find_avail_set with
13665 oprs_not_set_p.
13666
13667 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
13668 (cprop_cc0_jump): New function.
13669 (cprop_insn): Break out new function cprop_jump and use it.
13670 Also use cprop_cc0_jump for machines with CC0.
13671 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
13672
13673 * tree.h (current_function_calls_setjmp,
13674 current_function_calls_longjmp): Delete declarations.
13675 * dsp16xx.c: Include "function.h".
13676 * elxsi.c: Likewise.
13677 * gmicro.c: Likewise.
13678 * h8300.c: Likewise.
13679 * i370.c: Likewise.
13680 * m32r.c: Likewise.
13681 * mn10200.c: Likewise.
13682 * mn10300.c: Likewise.
13683 * ns32k.c: Likewise.
13684 * spur.c: Likewise.
13685 * v850.c: Likewise.
13686
13687 * rtl.h (rtx_equal_function_value_matters): Declare.
13688 * toplev.c (rtx_equal_function_value_matters): Don't declare.
13689 * cse.c: Likewise.
13690 * function.c: Likewise.
13691 * emit-rtl.c: Likewise.
13692
13693 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
13694
13695 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
13696 call.
13697
13698 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13699
13700 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
13701 exactly.
13702
13703 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
13704
13705 * cpp.texi: Add a node documenting macro varargs (copied
13706 from extend.texi).
13707
13708 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
13709
13710 * cppspec.c: Put a null pointer at the end of the new argv.
13711
13712 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
13713
13714 * configure.in: Remove code to select/de-select the haifa
13715 scheduler. Every scheduled port gets haifa now.
13716 * configure: Rebuilt.
13717 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
13718 * sched.c Deleted.
13719 * Makefile.in: Corresponding changes.
13720
13721 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13722
13723 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
13724 All callers changed.
13725 (prepare_float_lib_cmp): Likewise.
13726 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
13727 * expr.h (emit_float_lib_cmp): Delete declaration.
13728 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
13729 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
13730 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
13731 specially.
13732 (cmptf): Now conditional on TARGET_HARD_QUAD.
13733
13734 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
13735
13736 * resource.c (mark_target_live_regs): Use
13737 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
13738
13739 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13740
13741 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
13742
13743 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
13744
13745 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
13746
13747 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13748
13749 * rtl.h (rtx_format): Constify a char*.
13750
13751 * rtl.c (rtx_format): Likewise.
13752 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
13753 (init_rtl): Use accessor macro, not `rtx_format'.
13754
13755 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
13756 char*.
13757
13758 * caller-save.c (mark_referenced_regs): Likewise.
13759
13760 * combine.c (subst, make_compound_operation, known_cond,
13761 gen_rtx_combine, update_table_tick, get_last_value_validate,
13762 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
13763
13764 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
13765 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
13766 count_reg_usage): Likewise.
13767
13768 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
13769 Likewise.
13770
13771 * final.c (leaf_renumber_regs_insn): Likewise.
13772
13773 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
13774 dump_edge_info, count_reg_references): Likewise.
13775
13776 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
13777 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
13778 Likewise.
13779
13780 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
13781 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
13782 add_label_notes): Likewise.
13783
13784 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
13785 clear_struct_flag, count_sub_rtxs, count_alternatives,
13786 compares_alternatives_p, contained_in_p, walk_attr_value,
13787 write_expr_attr_cache): Likewise.
13788
13789 * genconfig.c (walk_insn_part): Likewise.
13790
13791 * genemit.c (max_operand_1, gen_exp): Likewise.
13792
13793 * genextract.c (walk_rtx): Likewise.
13794
13795 * genflags.c (num_operands): Likewise.
13796
13797 * genoutput.c (scan_operands): Likewise.
13798
13799 * genpeep.c (match_rtx): Likewise.
13800
13801 * genrecog.c (add_to_sequence): Likewise.
13802
13803 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
13804 Likewise.
13805
13806 * integrate.c (save_constants, copy_for_inline,
13807 copy_rtx_and_substitute, subst_constants, restore_constants):
13808 Likewise.
13809
13810 * jump.c (mark_jump_label, invert_exp, redirect_exp,
13811 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
13812
13813 * local-alloc.c (contains_replace_regs, memref_referenced_p):
13814 Likewise.
13815
13816 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
13817 add_label_notes, replace_call_address, count_nonfixed_reads,
13818 invariant_p, find_single_use_in_loop, find_mem_givs,
13819 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
13820 Likewise.
13821
13822 * print-rtl.c (reg_names, print_rtx): Likewise.
13823
13824 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
13825
13826 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
13827 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
13828 print_blocks): Likewise.
13829
13830 * regclass.c (fix_register, record_address_regs,
13831 reg_scan_mark_refs): Likewise.
13832
13833 * regmove.c (stable_but_for_p): Likewise.
13834
13835 * reload.c (loc_mentioned_in_p, operands_match_p,
13836 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
13837 copy_replacements, refers_to_regno_for_reload_p,
13838 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
13839 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
13840 Likewise.
13841
13842 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
13843 delete_address_reloads_1, count_occurrences,
13844 reload_cse_mem_conflict_p, reload_combine_note_use,
13845 add_auto_inc_notes): Likewise.
13846
13847 * resource.c (mark_referenced_resources, mark_set_resources):
13848 Likewise.
13849
13850 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
13851 reg_mentioned_p, regs_set_between_p, modified_between_p,
13852 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
13853 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
13854 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
13855 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
13856
13857 * sched.c (sched_analyze_2, attach_deaths): Likewise.
13858
13859 * stupid.c (stupid_mark_refs): Likewise.
13860
13861 * unroll.c (remap_split_bivs): Likewise.
13862
13863 * varasm.c (mark_constants): Likewise.
13864
13865 * a29k/a29k.c (uses_local_reg_p): Likewise.
13866
13867 * alpha/alpha.c (summarize_insn): Likewise.
13868
13869 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
13870 eliminate_lr2ip): Likewise.
13871
13872 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
13873
13874 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
13875 reg_mentioned_in_mem): Likewise.
13876
13877 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
13878 symbolic_reference_mentioned_p): Likewise.
13879
13880 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
13881
13882 * sh/sh.c (regs_used, mark_use): Likewise.
13883
13884 * vax/vax.c (vax_rtx_cost): Likewise.
13885
13886 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13887
13888 * machmode.h (mode_name): Constify a char*.
13889
13890 * rtl.c (mode_name): Likewise.
13891
13892 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
13893
13894 * optabs.c (init_libfuncs): Constify a char*.
13895
13896 * print-tree.c (mode_name): Remove redundant declaration.
13897 (print_node): Use accessor macro, not `mode_name'.
13898
13899 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
13900 not `mode_name'.
13901 (new_spill_reg): Constify a char*.
13902
13903 * tree.c (mode_name): Remove redundant declaration.
13904
13905 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13906
13907 * rtl.c (rtx_name): Constify a char*.
13908
13909 * rtl.h (rtx_name, fix_sched_param): Likewise.
13910
13911 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
13912 (mypr): Use accessor macro, not `rtx_name'.
13913
13914 * genemit.c (print_code): Constify a char*.
13915
13916 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
13917
13918 * genpeep.c (print_code): Constify a char*.
13919
13920 * genrecog.c (print_code): Likewise.
13921
13922 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
13923 end_bb): Add static prototype.
13924 (draw_edge): Constify a char*.
13925 (end_bb): Remove unused parameter.
13926
13927 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
13928 print_block_visualization): Constify a char*.
13929
13930 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
13931
13932 * c-common.c (c_get_alias_set): Update comment.
13933
13934 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
13935
13936 * linux.h (LIB_SPEC): Added.
13937
13938 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13939
13940 * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
13941
13942 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
13943
13944 * tree.c (expr_check): Fix typo in last change.
13945
13946 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
13947
13948 * rtl.def (NOTE): Change format to "iuu0n".
13949 (ADDR_DIFF_VEC): Change format to "eEee0".
13950 (ADDRESSOF): Change format to "eit".
13951
13952 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
13953 (RTVEC_ELT): Change to match.
13954 (XVECEXP): Use XVEC and RTVEC_ELT.
13955 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
13956 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
13957 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
13958 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
13959 TRAP_CONDITION, TRAP_CODE): Use XEXP.
13960 (INTVAL): Use XWINT.
13961 (ADDRESSOF_DECL): Use XTREE.
13962 (SET_ADDRESSOF_DECL): Delete.
13963 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
13964 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
13965 ifdefed out since 2.6 at least.
13966 (gen_rtvec_vv): Delete prototype.
13967
13968 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
13969 not rtunion.
13970 (copy_most_rtx): Handle 't' format letter.
13971 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
13972 (gen_rtvec_vv): Delete function. All callers changed to use
13973 gen_rtvec_v instead.
13974 * print-rtl.c (print_rtx): Move special casing of NOTEs to
13975 the '0' format letter.
13976
13977 * function.c (gen_mem_addressof): Don't use
13978 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
13979 instead.
13980 * integrate.c (copy_rtx_and_substitute): Likewise.
13981 Copy 't' slots with XTREE.
13982 (subst_constants): Treat 't' slots like '[swi]' slots.
13983 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
13984 * jump.c (rtx_equal_for_thread_p): Likewise.
13985 * rtlanal.c (rtx_equal_p): Likewise.
13986 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
13987 only four arguments.
13988 * gengenrtl.c (type_from_format): Provide correct types for
13989 'b' and 't' slots.
13990
13991
13992 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
13993 If a recent gcc is in use (always in stage2 and beyond), use
13994 statement expressions, so we don't make a function call unless
13995 the check fails. Evaluate arguments exactly once.
13996 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
13997 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
13998 Delete.
13999 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
14000 they evaluate their arguments exactly once, irrespective of
14001 the compiler in use.
14002
14003 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
14004 is used by the currently-enabled check macros. This is:
14005 (tree_check_failed, tree_class_check_failed): For gcc.
14006 (tree_check, tree_class_check, cst_or_constructor_check,
14007 expr_check): For other compilers.
14008
14009 * gencheck.c: Do not define any *_CHECK1 macros.
14010
14011 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
14012 Mark Mitchell <mark@codesourcery.com>
14013
14014 * c-common.c (c_get_alias_set): Fix support for poitners and
14015 references.
14016
14017 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
14018
14019 * alias.c: Include tree.h.
14020 (nonlocal_reference_p, mark_constant_function): New functions.
14021 * flow.c (life_analysis): Call mark_constant_function.
14022 * rtl.h (mark_constant_function): Declare it.
14023
14024 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
14025
14026 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
14027 unrecognisable switches.
14028
14029 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14030
14031 * loop.c (recombine_givs): Set ix field after sorting.
14032 (recombine_givs): Remove bogus index / giv lockstep looping.
14033
14034 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14035
14036 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
14037 on CODE.
14038 (emit_store_flag_force): Use do_compare_rtx_and_jump.
14039 (do_cmp_and_jump): Formatting fixes.
14040 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
14041 do_compare_rtx_and_jump instead of compare_from_rtx.
14042 (do_compare_rtx_and_jump): New function; mostly copied from
14043 compare_from_rtx.
14044 (do_jump_for_compare): Delete.
14045 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
14046 MIN_EXPR.
14047 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
14048 of compare/do_jump_for_compare pairs.
14049 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
14050 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
14051 compare_from_rtx/do_jump_for_compare pairs.
14052 (do_jump_by_parts_equality): Likewise.
14053 (do_jump_by_parts_equality_rtx): Likewise.
14054 * expr.h (do_compare_rtx_and_jump): Declare.
14055 * optabs.c (prepare_cmp_insn): New function, contains most of the code
14056 that used to be in emit_cmp_insn.
14057 (cmp_available_p): New function.
14058 (prepare_operand): New function.
14059 (emit_cmp_and_jump_insn_1): New function, contains some code that used
14060 to be in emit_cmp_insn.
14061 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
14062 parameters to be pointers; don't emit final compare but modify some of
14063 the values pointed to by the args so the caller can perform the
14064 correct comparison.
14065 (expand_binop): Call emit_store_flag_force with signed forms of
14066 comparison code.
14067 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
14068 emit_jump_insn pair.
14069 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
14070 emit_cmp_and_jump_insn_1. Call emit_queue.
14071 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
14072 arg.
14073 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
14074 jump sets cc0 before deleting it.
14075 * integrate.c (expand_inline_function): Likewise.
14076 * unroll.c (unroll_loop): Similar changes in several places.
14077 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
14078 before deleting it.
14079
14080 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14081
14082 * Makefile.in (insn-recog.o): Update dependencies.
14083 * genrecog.c (main): Make generated file include "function.h".
14084
14085 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
14086
14087 * cse.c (cse_insn): Call never_reached_warning when a jump is
14088 changed to be unconditional.
14089 * flags.h: Declare warn_notreached.
14090 * flow.c (delete_block): Call never_reached_warning when
14091 a block is deleted.
14092 * jump.c (delete_barrier_successors): Call never_reached_warning
14093 when we delete everything after a BARRIER.
14094 (never_reached_warning): New function.
14095 * rtl.h: Declare never_reached_warning.
14096 * toplev.c (warn_notreached): New variable.
14097 (lang_independent_options): Set warn_notreached
14098 when -Wunreachable-code.
14099 (compile_file): We need line numbers for -Wunreachable-code.
14100
14101 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
14102
14103 * haifa-sched.c (insn_unit): Fix typo on out of range test.
14104 * sched.c (insn_unit): Likewise.
14105
14106 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
14107
14108 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
14109
14110 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
14111
14112 * flow.c (create_edge_list): Use xmalloc, not malloc.
14113
14114 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
14115
14116 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
14117 C-style comments. Do not lose the character before double slash.
14118
14119 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
14120
14121 * basic-block.h (struct edge_list): Stucture to maintain a vector
14122 of edges.
14123 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
14124 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
14125 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
14126 New function prototypes.
14127 * flow.c (create_edge_list): Function to create an edge list.
14128 (free_edge_list): Discards memory used by an edge list.
14129 (print_edge_list): Debug output showing an edge list.
14130 (verify_edge_list): Internal consistency check for an edge list.
14131 (find_edge_index): Function to find an edge index for a pred and succ.
14132
14133 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
14134
14135 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
14136 hashtable.
14137
14138 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
14139
14140 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
14141
14142 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
14143
14144 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
14145
14146 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
14147
14148 * toplev.c (rest_of_compilation): Allow machine dependent
14149 reorganisation pass to place information into the RTL dump
14150 file if it so wishes.
14151
14152 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
14153
14154 * explow.c (hard_function_value): Use VOIDmode instead of
14155 MAX_MACHINE_MODE.
14156 * stmt.c (expand_return): Likewise.
14157 * stor-layout.c (get_best_mode): Likewise.
14158
14159 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
14160 emit call instead of emit_insn call.
14161
14162 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
14163
14164 * configure.in: Handle --disable/enable-win32-registry.
14165 * install.texi: Document --disable/enable-win32-registry.
14166 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
14167 (WIN32_REGISTRY_KEY): New macro.
14168 * prefix.c: Use to enable/disable win32-specific code.
14169 (lookup_key): Use versioned key.
14170 * configure: Regenerate.
14171 * config.in: Likewise.
14172
14173 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
14174
14175 * cpplib.c (read_line_number): New fn, split out of...
14176 (do_line): Here.
14177
14178 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
14179
14180 tree.c (lang_unsave_expr_now) : New.
14181 (unsave_expr_now): Call lang_unsave_expr_now.
14182 tree.h (lang_unsave_expr_now) : New.
14183
14184 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
14185
14186 * toplev.c (flag_new_exceptions): On by default.
14187
14188 1999-08-13 Michael Meissner <meissner@cygnus.com>
14189
14190 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
14191
14192 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
14193
14194 * dwarfout.c (fundamental_type_code): Return FT_boolean for
14195 INTEGER_TYPE with precision==1, it's __java_boolean.
14196
14197 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14198
14199 * global.c (prune_preferences): Move some invariants out of the
14200 inner loop.
14201
14202 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
14203
14204 * configure.in (alpha*-dec-osf*): Add osf5.
14205
14206 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
14207
14208 * configure.in: Rework handling of ARM GNU/Linux slightly.
14209 (arm*-*-linux-gnuoldld): New target.
14210 * configure: Regenerate.
14211 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
14212 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
14213 * config/arm/linux-oldld.h: New file.
14214 * config/arm/linux-elf26.h: Don't include linux-elf.h.
14215 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
14216 Don't define.
14217 * config/arm/linux-elf.h (ASM_SPEC): Define.
14218 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
14219 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
14220 for 26-bit APCS and old linker.
14221 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
14222 `arm_elf'.
14223 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
14224 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
14225 don't define `arm' or `arm_elf'.
14226 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
14227 MULTILIB_DIRNAMES): Define. Fix typo in comment.
14228
14229 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
14230
14231 * rtl.texi: Fix typo.
14232
14233 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
14234
14235 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
14236
14237 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
14238
14239 * extend.texi (C++ Signatures): Remove node.
14240 * invoke.texi: Remove discussion of -fhandle-signatures,
14241 signature, sigof, __signature__, and __sigof__.
14242
14243 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
14244
14245 * Makefile.in (JAVAGC): Removed.
14246
14247 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
14248
14249 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
14250
14251 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
14252
14253 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
14254
14255 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
14256
14257 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
14258 a register that is already known to be a pointer.
14259
14260 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
14261
14262 * fixinc/inclhack.tpl: Only install assert.h conditionally.
14263 * fixinc/inclhack.sh: Regenerated.
14264 * fixinc/fixincl.sh: Regenerated.
14265
14266 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
14267
14268 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
14269 Fix documentation of -ansi flag to describe its C++ behavior.
14270 Remove bogus reference to GCC 2.9.
14271
14272 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
14273
14274 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
14275 note if it is non-NULL.
14276
14277 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
14278
14279 * except.h (eh_nesting_info): Add new structure defintion.
14280 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
14281 (reachable_handlers, update_rethrow_references): Add function
14282 prototypes.
14283 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
14284 a rethrow symbol instead of an integer exception region number.
14285 * flow.c (Make_edges): Use new exception nesting routines to determine
14286 which handlers are reachable from a CALL or asynchronous insn.
14287 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
14288 goto receivers.
14289 (delete_eh_regions): Update rethrow labels, and don't delete
14290 regions which are the target of a rethrow.
14291 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
14292 avoid overloading the SYMBOL_REF_USED flag.
14293 (rethrow_symbol_map): Use new rethrow_ref field.
14294 (rethrow_used): Use new rethrow_ref field.
14295 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
14296 of an integer. Fix formatting.
14297 (output_exception_table_entry): Use new rethrow_ref field.
14298 (can_throw): Check for EH_REGION_NOTE before deciding
14299 whether a CALL can throw or not.
14300 (scan_region): Call rethrow_used() instead of accessing data structure.
14301 (update_rethrow_references): New function to make sure only regions
14302 which are still targets of a rethrow are flagged as such.
14303 (process_nestinfo): New static function to initialize a handler
14304 list for a specific region.
14305 (init_eh_nesting_info): New function to allocate and initialize
14306 the list of all EH handlers reachable from all regions.
14307 (reachable_handlers): New function to retrieve the list of handlers
14308 reachable from a specific region and insn.
14309 (free_eh_nesting_info): New function to dispose of a list of
14310 reachable handlers.
14311
14312 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
14313
14314 * flow.c (split_edge): Set JUMP_LABEL field.
14315 (commit_one_edge_insertion): Set head correctly for insert_before.
14316 When inserting insns, update insn block numbers if allocated.
14317
14318 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14319
14320 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
14321 retry_incomplete_types): Add static prototype.
14322 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
14323 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
14324 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
14325 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
14326 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
14327 Constify a char*.
14328
14329 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
14330 dwarf2out_start_source_file, dwarf2out_line): Likewise.
14331
14332 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14333
14334 * output.h (assemble_name): Constify a char*.
14335
14336 * varasm.c (UNIQUE_SECTION, assemble_start_function,
14337 assemble_variable, assemble_name): Likewise.
14338
14339 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
14340
14341 * arm/pe.c (arm_pe_unique_section): Likewise.
14342
14343 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
14344
14345 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
14346
14347 * i386/interix.c (i386_pe_unique_section): Likewise.
14348
14349 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
14350
14351 * i386/winnt.c (i386_pe_unique_section): Likewise.
14352
14353 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
14354
14355 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
14356
14357 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
14358
14359 * pa/pa.c (output_call): Likewise.
14360
14361 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
14362
14363 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
14364
14365 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
14366 Likewise.
14367
14368 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
14369 Likewise.
14370
14371 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
14372
14373 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
14374 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
14375
14376 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
14377
14378 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14379
14380 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
14381
14382 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14383
14384 * tree.h (lang_identify): Constify a char*.
14385 (print_error_function): Add extern prototype. Constify a char*.
14386
14387 * c-lang.c (lang_identify): Constify a char*.
14388
14389 * objc/objc-act.c (lang_identify): Constify a char*.
14390
14391 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14392
14393 * genpeep.c (main): Make generated file include "function.h".
14394 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
14395
14396 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14397
14398 * Makefile.in: Update dependencies.
14399 * alias.c: Include "function.h"
14400 * c-decl.c: Likewise.
14401 * caller-save.c: Likewise.
14402 * calls.c: Likewise.
14403 * combine.c: Likewise.
14404 * cse.c: Likewise.
14405 * explow.c: Likewise.
14406 * final.c: Likewise.
14407 * global.c: Likewise.
14408 * graph.c: Likewise.
14409 * local-alloc.c: Likewise.
14410 * loop.c: Likewise.
14411 * optabs.c: Likewise.
14412 * profile.c: Likewise.
14413 * recog.c: Likewise.
14414 * regclass.c: Likewise.
14415 * regmove.c: Likewise.
14416 * reload.c: Likewise.
14417 * reorg.c: Likewise.
14418 * resource.c: Likewise.
14419 * sched.c: Likewise.
14420 * stupid.c: Likewise.
14421 * config/1750a/1750a.c: Likewise.
14422 * config/a29k/a29k.c: Likewise.
14423 * config/arc/arc.c: Likewise.
14424 * config/arm/arm.c: Likewise.
14425 * config/arm/thumb.c: Likewise.
14426 * config/c4x/c4x.c: Likewise.
14427 * config/clipper/clipper.c: Likewise.
14428 * config/convex/convex.c: Likewise.
14429 * config/fx80/fx80.c: Likewise.
14430 * config/i860/i860.c: Likewise.
14431 * config/m68k/m68k.c: Likewise.
14432 * config/m88k/m88k.c: Likewise.
14433 * config/mips/mips.c: Likewise.
14434 * config/pdp11/pdp11.c: Likewise.
14435 * config/pyr/pyr.c: Likewise.
14436 * config/romp/romp.c: Likewise.
14437 * config/sh/sh.c: Likewise.
14438 * config/tahoe/tahoe.c: Likewise.
14439 * config/vax/vax.c: Likewise.
14440 * config/we32k/we32k.c: Likewise.
14441 * config/sparc/sparc.c: Include "function.h".
14442 (mem_min_alignment): Test current_function rather than
14443 regno_pointer_align.
14444 * config/pa/pa.c: Likewise.
14445 (compute_frame_size): Delete declaration of
14446 current_function_outgoing_args_size.
14447 * config/arc/arc.h (current_function_varargs): Delete declaration.
14448 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
14449 declaration.
14450 * config/i370/i370.h (current_function_outgoing_args_size): Delete
14451 declaration.
14452 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
14453 current_function_uses_pic_offset_table.
14454 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
14455 of current_function_returns_pointer.
14456 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14457 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14458 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14459 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14460 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14461 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14462 * config/m88k/m88k.c: Include "function.h"
14463 (call_used_regs, current_function_pretend_args_size,
14464 current_function_outgoing_args_size, frame_pointer_needed): Delete
14465 declarations.
14466 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
14467 declaration.
14468 * config/mips/mips.h (current_function_calls_alloca): Delete
14469 declaration.
14470 * config/mn10200/mn10200.h (current_function_needs_context,
14471 rtx_equal_function_value_matters): Delete declarations.
14472 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
14473 flag_pic): Delete declarations.
14474 * config/pa/pa.h (current_function_pretend_args_size,
14475 current_function_decl): Delete declarations.
14476 * config/pa/som.h (current_function_varargs): Delete declaration.
14477 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
14478 declaration.
14479 * config/pyr/pyr.h (current_function_pretend_args_size,
14480 current_function_args_size, current_function_calls_alloca): Delete
14481 declarations.
14482 * config/sh/sh.h (current_function_varargs): Delete declaration.
14483 * config/sparc/sparc.h (current_function_outgoing_args_size,
14484 current_function_calls_alloca, current_function_decl): Delete
14485 declarations.
14486 * config/spur/spur.h (current_function_pretend_args_size,
14487 current_function_calls_alloca): Delete declarations.
14488 * config/v850/v850.c (current_function_outgoing_args_size): Delete
14489 declaration.
14490 * config/vax/vms.h (current_function_name): Delete declaration.
14491 * gcse.c: Include "function.h".
14492 (current_function_name, current_function_calls_setjmp): Delete
14493 declarations.
14494 * haifa-sched.c: Include "function.h".
14495 (forced_labels): Delete declaration.
14496 * jump.c: Likewise.
14497 * reg-stack.c: Likewise.
14498 * reload1.c: Likewise.
14499 * genemit.c (main): Make generated file include function.h.
14500 * genoutput.c (output_prologue): Likewise.
14501
14502 * builtins.c (saveregs_value, apply_args_value): Delete variables.
14503 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
14504 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
14505 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
14506 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
14507 macros for some of them.
14508 (emit_filename, emit_lineno): Delete declarations.
14509 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
14510 regno_pointer_* variables through current_function.
14511 (gen_inline_header_rtx): Delete function.
14512 (save_emit_status): Delete function.
14513 (set_new_last_label_num): New function.
14514 (clear_emit_caches): New function.
14515 (restore_emit_status): Just clear last_labelnum and call
14516 clear_emit_caches.
14517 (get_last_insn_anywhere): Variable sequence_stack is now accessed
14518 through macro seq_stack.
14519 (add_insn_after): Likewise.
14520 (add_insn_before): Likewise.
14521 (remove_insn): Likewise.
14522 (pop_topmost_sequence): Likewise.
14523 (in_sequence_p): Likewise.
14524 (start_sequence_for_rtl_expr): Likewise.
14525 (start_sequence): Likewise, and likewise for
14526 sequence_rtl_expr/seq_rtl_expr.
14527 (push_topmost_sequence): Likewise.
14528 (end_sequence): Likewise.
14529 (init_virtual_regs): Now takes a "struct emit_status *" argument.
14530 All callers changed. Store into that pointer instead of globals.
14531 (init_emit): Allocate emit elt of current_function.
14532 Changes for sequence_rtl_expr/sequence_stack renaming.
14533 Call clear_emit_caches instead of doing it in-line.
14534 Access regno_pointer_* variables through current_function.
14535 (init_emit_once) Don't clear sequence_stack.
14536
14537 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
14538 Delete variables.
14539 (arg_pointer_save_area): Delete declaration.
14540 (finish_expr_for_function): Renamed from init_queue; no longer static.
14541 (init_expr): Don't call init_queue.
14542 (save_expr_status, restore_expr_status): Delete functions.
14543 (expand_expr): Changes to reflect new layout of struct function.
14544 Don't access current_function_check_memory_usage when current_function
14545 is 0.
14546 * expr.h (forced_labels, save_expr_regs, saveregs_value,
14547 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
14548 current_function_outgoing_args_size, current_function_arg_offset_rtx,
14549 current_function_uses_const_pool, function_call_count,
14550 current_function_uses_pic_offset_table, nonlocal_labels,
14551 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
14552 current_function_check_memory_usage, nonlocal_goto_handler_slots,
14553 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
14554 declarations.
14555 (finish_expr_for_function): Declare.
14556 * flags.h (current_function_has_nonlocal_label,
14557 current_function_has_nonlocal_goto, current_function_is_thunk,
14558 current_function_has_computed_jump): Delete declarations.
14559 * flow.c (forced_labels): Delete declaration.
14560 * function.c (current_function_pops_args,
14561 current_function_returns_struct, current_function_returns_pcc_struct,
14562 current_function_needs_context, current_function_calls_setjmp,
14563 current_function_calls_longjmp, current_function_has_nonlocal_label,
14564 current_function_has_nonlocal_goto, current_function_is_thunk,
14565 current_function_has_computed_jump, current_function_calls_alloca,
14566 current_function_contains_functions, current_function_returns_pointer,
14567 current_function_epilogue_delay_list, current_function_args_size,
14568 current_function_pretend_args_size, current_function_arg_offset_rtx,
14569 current_function_outgoing_args_size, current_function_varargs,
14570 current_function_stdarg, current_function_args_info, cleanup_label,
14571 current_function_name, current_function_uses_const_pool,
14572 current_function_instrument_entry_exit, current_function_return_rtx,
14573 current_function_uses_pic_offset_table, nonlocal_labels,
14574 current_function_internal_arg_pointer, current_function_cannot_inline,
14575 current_function_check_memory_usage, function_call_count,
14576 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
14577 nonlocal_goto_stack_level, return_label, save_expr_regs,
14578 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
14579 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
14580 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
14581 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
14582 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
14583 Delete variables.
14584 (push_function_context_to): Don't save them. Don't call
14585 save_storage_status, save_emit_status or save_expr_status.
14586 (pop_function_context_from): Don't restore them. Don't call
14587 restore_storage_status or restore_expr_status.
14588 (get_func_frame_size): New function.
14589 (get_frame_size): Use it.
14590 (assign_outer_stack_local): Reflect some member name changes in struct
14591 function.
14592 (put_reg_into_stack): Likewise.
14593 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
14594 seq_rtl_expr.
14595 (fixup_var_refs): Likewise.
14596 (fix_lexical_addr): Likewise.
14597 (trampoline_address): Likewise.
14598 (prepare_function_start): Clear field inlinable of current_function.
14599 (init_function_for_compilation): New function.
14600 (expand_dummy_function_end): New function.
14601 (expand_function_end): Call finish_expr_for_function.
14602 * function.h (struct emit_status): New; fields moved here from struct
14603 function and from global variables. Add accessor macros for some of
14604 the fields.
14605 (struct expr_status): Likewise.
14606 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
14607 (struct function): Add fields expr and emit, inlinable, inl_emit,
14608 original_arg_vector, original_decl_initial, inl_last_parm_insn,
14609 inl_max_label_num. Add many comments.
14610 Add accessor macros for all elts of struct function that no longer
14611 have a global variable.
14612 (cleanup_label, return_label, frame_offset, tail_recursion_label,
14613 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
14614 stack_slot_list): Delete declarations.
14615 (get_func_frame_size): Declare.
14616 (save_expr_status, restore_expr_status, save_emit_status,
14617 save_storage_status, restore_storage_status): Delete declarations.
14618 (init_virtual_regs): Declare.
14619 * output.h (current_function_pops_args,
14620 current_function_returns_struct, current_function_returns_pcc_struct,
14621 current_function_needs_context, current_function_calls_setjmp,
14622 current_function_calls_longjmp, current_function_calls_alloca,
14623 current_function_has_nonlocal_label, current_function_varargs,
14624 current_function_has_computed_jump, current_function_returns_pointer,
14625 current_function_contains_functions, current_function_args_size,
14626 current_function_pretend_args_size, current_function_stdarg,
14627 current_function_outgoing_args_size, current_function_args_info,
14628 current_function_name, current_function_return_rtx,
14629 current_function_epilogue_delay_list,
14630 current_function_uses_const_pool, current_function_cannot_inline):
14631 Delete declarations.
14632 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
14633 regno_reg_rtx): Delete declaration.
14634 (REGNO_POINTER_FLAG): Delete macro.
14635 * stmt.c (expand_goto): Changes to reflect that some fields in struct
14636 function were renamed.
14637 * stor-layout.c (save_storage_status, restore_storage_status): Delete
14638 functions.
14639 * toplev.c: Include "function.h".
14640 (current_function_decl): Delete declaration.
14641 (compile_file): Call init_dummy_function_start and
14642 expand_dummy_function_end around some initializations that need to
14643 emit rtl.
14644 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
14645 Call init_function_for_compilation.
14646 * unroll.c: Include "function.h"
14647 (unroll_loop): Access regno_pointer_* variables through
14648 current_function.
14649
14650 * tree.h (struct tree_decl): Add elt f to saved_insns member.
14651 (DECL_SAVED_INSNS): use it.
14652 (expand_dummy_function_end): Declare.
14653 (init_function_for_compilation): Declare.
14654 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
14655 that it's no longer an INLINE_HEADER.
14656 (expand_call): Likewise.
14657 * integrate.c (finish_inline): Delete function.
14658 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
14659 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
14660 args. Don't generate an INLINE_HEADER rtx, just return the arg
14661 vector. All callers changed.
14662 (save_for_inline_copying): Create a duplicate struct emit_status to
14663 hold the emit state for compiling the current function. Use this and
14664 the other new fields in struct function that are for integration
14665 instead of an INLINE_HEADER.
14666 Use memcpy instead of bcopy.
14667 Store the current struct function in DECL_SAVED_INSNS of fndecl.
14668 (save_for_inline_nocopy): Similar changes, except no new emit_status
14669 is needed here.
14670 (expand_inline_function): Get information from function structure,
14671 not from an inline header rtx.
14672 (output_inline_function): Lose code to extract the necessary
14673 information from an inline header; simply put back the function
14674 structure into current_function. Clear its inlinable elt.
14675 * rtl.def (INLINE_HEADER): Delete.
14676 * rtl.h: Delete all accessors for an INLINE_HEADER.
14677 (gen_inline_header_rtx): Delete declaration.
14678 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
14679 Delete declarations.
14680 (REGNO_POINTER_ALIGN): Delete.
14681 (clear_emit_caches): Declare.
14682 (set_new_last_label_num): Declare.
14683
14684 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
14685
14686 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
14687
14688 * except.c (expand_eh_region_start_for_decl): Always start a new block.
14689 * stmt.c (is_eh_region): Make sure current_function is present, too.
14690
14691 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
14692
14693 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
14694 for 64bit PA targets.
14695
14696 * pa.h (SELECT_SECTION): Define.
14697 * som.h (SELECT_SECTION): Delete.
14698
14699 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14700
14701 * alias.c (init_alias_analysis): Wrap call to
14702 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
14703
14704 1999-08-07 Bruce Korb <autogen@linuxbox.com>
14705
14706 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
14707 <sys/asm.h> contains an asm comment with an apostrophe
14708 * fixinc/inclhack.sh: regen
14709 * fixinc/fixincl.x: regen
14710
14711 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
14712
14713 * function.c (init_function_start): Clear prologue & epilogue.
14714 (prologue_epilogue_contains): New function.
14715 * alias.c (init_alias_analysis): Use it.
14716 * rtl.h (prologue_epilogue_contains): Declare it.
14717
14718 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
14719
14720 * jump.c (onlyjump_p): New function.
14721 * rtl.h: Declare it.
14722 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
14723 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
14724
14725 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
14726
14727 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
14728 to invert loops. Simplify block scanning.
14729
14730 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14731
14732 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
14733 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
14734
14735 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
14736
14737 * config/sparc/liteelf.h: New file to support sparclite-elf target
14738 * config/sparc/t-sp86x: New file to support sparc86x targets
14739 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
14740 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
14741 * configure.in: Support above target triplets
14742 * configure: Regenerated
14743
14744 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
14745
14746 * fixinc/server.c (server_setup): Do not prefix function used as
14747 parameter with `&'.
14748
14749 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
14750
14751 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
14752 Remove fp reg alternatives.
14753
14754 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
14755
14756 * Makefile.in (TAROUTOPTS): Kill.
14757 (install-headers-tar): Use "xpf" for tar headerfile extraction
14758 * i370/x-oe (TAROUTOPTS): Delete.
14759 * m68k/x-apollo68 (TAROUTOPTS): Delete.
14760 * m68k/x-hp320 (TAROUTOPTS): Delete.
14761 * m68k/x-hp320g (TAROUTOPTS): Delete.
14762 * gcc.texi: Update bug reporting text.
14763
14764 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14765
14766 * reg-stack.c (change_stack) Fixed problem with negative array index.
14767
14768 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
14769
14770 * extend.texi, install.texi: Fix spelling mistakes.
14771
14772 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
14773 (s-attrtab); No longer try to use pre-made insn-attrtab file.
14774 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
14775 PREMADE_ATTRTAB_MD.
14776 * mips/t-ecoff: Likewise.
14777 * mips/t-elf: Likewise.
14778 * mips/t-mips: Likewise.
14779 * mips/t-osfrose: Likewise.
14780 * mips/t-r3900: Likewise.
14781 * mips/t-svr3: Likewise.
14782 * mips/t-svr4: Likewise.
14783 * mips/t-ultrix: Likewise.
14784
14785 * gcc.texi: Document recommend means to provide software floating
14786 point libraries in libgcc.a
14787
14788 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
14789
14790 * c-lex.c (yylex): We can have a number with no digits.
14791
14792 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
14793
14794 * jump.c (delete_prior_computation): New function, broken
14795 out of delete_computation. Check for side effects with
14796 side_effects_p instead of FIND_REG_INC_NOTE. Handle
14797 multi-word hard registers.
14798 (delete_computation): Use it. Check for side effects with
14799 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
14800 missing REG_DEAD note for a register which is both set and
14801 used by an insn.
14802
14803 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
14804
14805 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
14806 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
14807 (ASM_FILE_START): Import _mcount with the right type.
14808 (ASM_DECLARE_FUNCTION_NAME): Define.
14809 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
14810 * pa.c (output_function_prologue): Always emit the function's label
14811 here.
14812 * pa.h (TEXT_SPACE_P): Define.
14813 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
14814 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
14815 * som.h (TEXT_SPACE_P): Delete.
14816 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
14817 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
14818
14819 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
14820
14821 * expr.c (emit_group_load): Allow src to be a CONCAT.
14822
14823 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14824
14825 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
14826 (___mulsi3): Use '!' comment character.
14827
14828 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14829
14830 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
14831
14832 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
14833
14834 * gcc.c: Update URLs and mail addresses.
14835 * gcc.texi: Likewise.
14836
14837 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
14838
14839 * rs6000.c (current_file_function_operand): Return zero for
14840 weak functions.
14841 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
14842 weak symbols.
14843 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
14844 for weak symbols.
14845
14846 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
14847
14848 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
14849 allocate space in the stack frame for the PIC register.
14850
14851 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
14852
14853 * m68k.md (xordi3, anddi3): These patterns are not available on
14854 the coldfire.
14855
14856 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
14857
14858 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
14859 (PUT_REAL): Likewise.
14860
14861 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14862
14863 * final.c (shorten_branches): Don't add an alignment for loops
14864 that have no label inside.
14865
14866 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14867
14868 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
14869 prototypes in macro HAVE_cmpstrsi.
14870
14871 * cpplib.c (cpp_get_token): Remove unused label `op3'.
14872
14873 * emit-rtl.c (operand_subword): Remove unused variable
14874 `bits_per_word'.
14875
14876 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
14877
14878 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
14879
14880 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
14881
14882 * cpphash.c (macroexpand): Delete leading whitespace when arg
14883 is concatenated before.
14884 (unsafe_chars): Correct test for whether + and - can extend a
14885 token.
14886
14887 * cppinit.c (cpp_start_read): Do dependencies for
14888 -include/-imacros files also.
14889
14890 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
14891 tokenizing non-directive lines.
14892 (cpp_expand_to_buffer): Temporarily disable no-output mode.
14893 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
14894 the input file.
14895
14896 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
14897
14898 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
14899
14900 * c-lex.c: Sync with C++ frontend.
14901 (linemode): New variable.
14902 (parse_float): imag, conversion_errno, and type are output only.
14903 (yylex): Adjust. Move initial '.' case into main switch.
14904 Use linemode.
14905 (handle_generic_pragma): Just deal with tokens.
14906 (readescape): Use ISXDIGIT and ISGRAPH.
14907 * c-parse.in: Add END_OF_LINE token.
14908
14909 * c-lex.c (lang_init): Generalize.
14910 (nextchar): Remove. Replace uses with UNGETC.
14911 (skip_white_space): Handle linemode here. Optimize for cpplib.
14912 (skip_white_space_on_line): Remove.
14913 (extend_token_buffer_to): New fn.
14914 (extend_token_buffer): Use it.
14915 (read_line_number, check_newline): Just deal with tokens.
14916 (token_getch, token_put_back): New fns.
14917 (yylex): Use them. More cpplib optimizations. Simplify.
14918
14919 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
14920 Jason Merrill <jason@yorick.cygnus.com>
14921
14922 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
14923 (consume_string): Make this smart about USE_CPPLIB.
14924 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
14925 (yylex): Rewrite to be intelligent about USE_CPPLIB.
14926 Also, clean up cases where we redundantly set token_buffer[0].
14927 (read_line_number): New fn.
14928 (ignore_escape_flag): New variable.
14929
14930 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
14931
14932 * a29k/t-a29kbare: Fix some comments.
14933 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
14934 (FPBIT, DPBIT): Define.
14935 * a29k/t-vx29k: Likewise.
14936 * arc/t-arc: Likewise.
14937 * arm/t-arm-elf: Likewise.
14938 * arm/t-bare: Likewise.
14939 * arm/t-pe: Likewise.
14940 * arm/t-pe-thumb: Likewise.
14941 * arm/t-semi: Likewise.
14942 * arm/t-thumb: Likewise.
14943 * arm/t-thumb-elf: Likewise.
14944 * arm/t-thumb-linux: Likewise.
14945 * h8300/t-h8300: Likewise.
14946 * i960/t-i960: Likewise.
14947 * i960/t-vxworks960: Likewise.
14948 * m32r/t-m32r: Likewise.
14949 * mips/t-ecoff: Likewise.
14950 * mips/t-elf: Likewise.
14951 * mips/t-r3900: Likewise.
14952 * pa/t-pro: Likewise.
14953 * rs6000/t-aix43: Likewise.
14954 * rs6000/t-beos: Likewise.
14955 * rs6000/t-newas: Likewise.
14956 * rs6000/t-ppccomm: Likewise.
14957 * rs6000/t-rs6000: Likewise.
14958 * rs6000/t-winnt: Likewise.
14959 * rs6000/t-xnewas: Likewise.
14960 * rs6000/t-xrs6000: Likewise.
14961 * sh/t-sh: Likewise.
14962 * sparc/t-elf: Likewise.
14963 * sparc/t-sparcbare: Likewise.
14964 * sparc/t-sparclite: Likewise.
14965 * sparc/t-splet: Likewise.
14966 * v850/t-v850: Likewise.
14967 * mn10200/t-mn10200: Fix comments.
14968 * mn10300/t-mn10300: Likewise.
14969
14970 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
14971 dummy operand. Allocate a new pseudo for the dummy operand.
14972 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
14973
14974 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
14975
14976 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
14977
14978 * configure: Rebuilt.
14979 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
14980
14981 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
14982
14983 * recog.c (preproces_constraints): Zero recog_op_alt before
14984 processing the constraints.
14985
14986 * arm.c (typedef minipool_node): Renamed from pool_node.
14987 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
14988 (add_minipool_constant): New function.
14989 (dump_minipool): New function.
14990 (find_barrier): Remove special case for getting the insn size of
14991 an insn that references the constant pool.
14992 (minipool_fixup): New structure.
14993 (push_minipool_barrier): New function.
14994 (push_minipool_fix): New function.
14995 (note_invalid_constants): New function.
14996 (add_pool_constant, dump_table, fixit, broken_move): Delete.
14997 (arm_reorg): Rewrite code to fix up the constant pool into a
14998 series of mini-pools embedded in the insn stream.
14999 (arm_output_epilogue): New function, made mainly from the body
15000 of output_func_epilogue.
15001 (output_func_epilogue): Move insn generation part of epilogue code
15002 to arm_output_epilogue.
15003 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
15004 * arm.md (pool_range): New attribute.
15005 (zero_extendqidi2): Add attribute pool_range.
15006 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
15007 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
15008 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
15009 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
15010 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
15011 (epilogue): New expand.
15012 (epilogue_insn): New insn. Call arm_output_epilogue.
15013
15014 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
15015 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
15016
15017 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
15018
15019 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
15020
15021 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
15022
15023 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
15024
15025 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
15026
15027 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
15028
15029 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
15030
15031 * global.c: Fix comment.
15032
15033 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
15034
15035 * gcc.c (access_check): New static function.
15036 (find_a_file): Use it when searching a directory list.
15037 * collect2.c (find_a_file): Don't accept directories found when
15038 searching a directory list.
15039
15040 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
15041
15042 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
15043 function parameters with `&'.
15044 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
15045
15046 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
15047
15048 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
15049 or tidy_fallthru_edge if the last insn in the block is not
15050 an unconditional jump or a simple conditional jump.
15051
15052 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15053
15054 * Makefile.in (c-decl.o): Depends on defaults.h.
15055
15056 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
15057
15058 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
15059 PA1.1 and above.
15060 (CLASS_MAX_NREGS): Likewise.
15061
15062 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
15063
15064 * cse.c (cse_insn): Fix dumb thinko in last change.
15065
15066 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15067
15068 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
15069 "const char *".
15070
15071 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
15072
15073 * dwarf2out.c (add_location_or_const_value_attribute): Correct
15074 test for sizes of passed and declared parameter types.
15075
15076 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15077
15078 * fixincludes: Fix the return type of bsearch, char* -> void*.
15079
15080 * fixinc/inclhack.def: Likewise.
15081
15082 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
15083
15084 * invoke.texi (-fdump-translation-unit): New option.
15085
15086 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
15087
15088 * expr.h (PROMOTE_PROTOTYPES): Move ...
15089 * defaults.h: ... to here.
15090 * c-decl.c: Include defaults.h instead of expr.h.
15091 * c-typeck.c: Include defaults.h.
15092
15093 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
15094
15095 * toplev.h (errorcount): Declare.
15096 (warningcount): Likewise.
15097 (sorrycount): Likewise.
15098 * c-lex.c (errorcount): Don't declare.
15099 * dwarf2out.c (errorcount): Don't declare.
15100
15101 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
15102
15103 * config/libgloss.h: Add a note discouraging use with ELF.
15104 * configure.in: Don't use libgloss.h for ELF targets.
15105 Always use_collect2 on a.out targets.
15106
15107 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
15108
15109 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
15110 (force_to_mode, case ASHIFTRT): Add shiftrt label.
15111
15112 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15113
15114 * loop.c (strength_reduce): When doing biv->giv conversion, update
15115 reg note of NEXT->insn.
15116
15117 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
15118
15119 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
15120
15121 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
15122
15123 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
15124 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
15125 Ensure expr.h is included.
15126 * c-typecheck.c (convert_arguments): Ditto.
15127
15128 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
15129
15130 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
15131 * config/convex/convex.h: Ditto.
15132 * config/dsp16xx/dsp16xx.h: Ditto.
15133 * config/fx80/fx80.h: Ditto.
15134 * config/gmicro/gmicro.h: Ditto.
15135 * config/i370/i370.h: Ditto.
15136 * config/i386/i386.h: Ditto.
15137 * config/m32r/m32r.h: Ditto.
15138 * config/m68k/m68k.h: Ditto.
15139 * config/m88k/m88k.h: Ditto.
15140 * config/mips/mips.h: Ditto.
15141 * config/pa/pa.h: Ditto.
15142 * config/pyr/pyr.h: Ditto.
15143 * config/tahoe/tahoe.h: Ditto.
15144 * config/we32k/we32k.h: Ditto.
15145
15146 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
15147 based on arch size.
15148
15149 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
15150
15151 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
15152 from comment.
15153
15154 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
15155
15156 1999-08-02 Richard Henderson <rth@cygnus.com>
15157
15158 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
15159 for the register spill block.
15160 (m32r_va_arg): New.
15161 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
15162 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
15163
15164 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
15165 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
15166 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
15167
15168 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
15169
15170 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
15171 MAX_WCHAR_TYPE defined in sparc.h.
15172 * config/sparc/linuxaout.h: Likewise.
15173 * config/sparc/linux64.h: Likewise.
15174 Also default to -mvis if CPU is UltraSPARC.
15175
15176 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
15177
15178 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
15179 (RTX_OK_FOR_OLO10): Likewise.
15180 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
15181 %lo(), allow it in addresses...
15182 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
15183 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
15184 does not make sense.
15185 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
15186 (sparc_output_scratch_registers): New function.
15187 (output_function_prologue, sparc_flat_output_function_prologue): Use
15188 it.
15189 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
15190 defined.
15191 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
15192 * configure.in: Add check for .register pseudo-op support in as and
15193 check for offsetable %lo().
15194 * acconfig.h: Add templates for the above checks.
15195 * configure: Regenerate.
15196
15197 1999-08-02 Richard Henderson <rth@cygnus.com>
15198
15199 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
15200 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
15201 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
15202
15203 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15204
15205 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
15206 reg_biv_class.
15207
15208 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
15209
15210 * config/float-sparc.h: New file.
15211 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
15212 sparc-*-linux-gnu and sparc64-*-linux*.
15213
15214 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15215
15216 * rs6000.c (rs6000_va_list): Type is an array.
15217 (rs6000_va_start): Don't doubly adjust for varargs.
15218 (rs6000_va_arg): Evaluate long long GPR adjustment.
15219
15220 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
15221
15222 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
15223 -maix64 and -maix32.
15224 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
15225 LINK_SPEC): Change appropriately.
15226 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
15227 (u_short_cint_operand): Likewise.
15228 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
15229 for 64-bit hosts.
15230 * rs6000/t-aix43 (MULTILIB): Change to -m64.
15231
15232 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
15233
15234 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
15235
15236 * rs6000/rs6000.c (num_insns_constant_wide): Correct
15237 for type promotion.
15238 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
15239 (non_add_cint_operand): Likewise.
15240 (logical_operand): Likewise.
15241 (non_logical_cint_operand): Likewise.
15242 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
15243 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
15244 (rs6000_select_rtx_section): Suppress warning.
15245 (small_data_operand): Suppress warning.
15246 (rs6000_got_register): Suppress warning.
15247 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
15248 type, so `J' is generally the wrong constraint for a SImode value;
15249 use `L' instead.
15250 (andsi3_internal2): Likewise.
15251 (andsi3_internal3): Likewise.
15252 (iorsi3_internal1): Likewise.
15253 (xorsi3_internal1): Likewise.
15254 (movsi): Likewise.
15255 (movsf_softfloat): Likewise.
15256 (scc insns): Likewise.
15257 (movsi+2): Preserve sign bits of SImode constant.
15258 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
15259 (movdf+1): Sign-extend properly.
15260 (movdi_32+1): Sign-extend properly.
15261 (scc insns): Sign-extend properly.
15262
15263 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
15264 K, L, and T.
15265
15266 1999-08-02 Richard Henderson <rth@cygnus.com>
15267
15268 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
15269 -mcpu parsing code.
15270 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
15271 * alpha.md (all fp insns): Likewise.
15272
15273 1999-08-02 Nick Clifton <nickc@cygnus.com>
15274
15275 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
15276 already defined.
15277
15278 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
15279
15280 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
15281 pic_load_label generator directly.
15282 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
15283 No longer a named pattern.
15284
15285 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
15286
15287 * explow.c (force_reg): Call force_operand if X does not
15288 satisfy general_operand.
15289
15290 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
15291
15292 * fix-header.c (main): When testing for CONTINUED, use string
15293 equality, not pointer equality.
15294
15295 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
15296
15297 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
15298
15299 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
15300
15301 * cse.c (cse_insn): Fix loop which deletes insns after a jump
15302 that has become an unconditional jump.
15303
15304 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
15305 (output_function_epilogue): Similarly.
15306
15307 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15308
15309 * tree.h (init_dummy_function_start): Declare.
15310
15311 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15312
15313 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
15314 last_expr_type, last_expr_value, block_start_count, block_stack,
15315 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
15316 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
15317 dynamically in stmt elt of struct function for each function.
15318 (struct nesting): Rename function_call_count elt to n_function_calls,
15319 target_temp_slot_level to block_target_temp_slot_level. All users
15320 changed.
15321 (struct stmt_status): New structure definition.
15322 Add many accessor macros for stmt_status elements which previously
15323 were global variables.
15324 (init_stmt_for_function): Allocate stmt elt for current_function.
15325 Reflect that block_start_count was renamed to
15326 current_block_start_count.
15327 (save_stmt_status, restore_stmt_status): Delete functions.
15328 (preserve_subexpressions_p): Don't access loop_stack when outside
15329 a function.
15330 (expand_start_bindings): Reflect that block_start_count was renamed to
15331 current_block_start_count.
15332 (expand_fixup): Likewise.
15333 (expand_decl): Don't access block_stack when outside a function.
15334 (expand_decl_cleanup): Likewise.
15335 (expand_dcc_cleanup): Likewise.
15336 (expand_dhc_cleanup): Likewise.
15337 (expand_anon_union_decl): Likewise.
15338 (set_file_and_line_for_stmt): New function.
15339 (in_control_zone_p): New function.
15340
15341 * function.h (struct function): Add new elt stmt.
15342 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
15343 case_stack, nesting_stack, nesting_depth, block_start_count,
15344 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
15345 emit_lineno, goto_fixup_chain.
15346 (save_eh_status, restore_eh_status, save_stmt_status,
15347 restore_stmt_status): Delete declarations.
15348 * function.c (push_function_context_to): Don't call save_stmt_status.
15349 (pop_function_context_to): Don't call restore_stmt_status.
15350 * tree.h (in_control_zone_p): Declare.
15351 * rtl.h (set_file_and_line_for_stmt): Declare.
15352
15353 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
15354 call set_file_and_line_for_stmt.
15355
15356 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
15357
15358 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
15359 Also update copyright.
15360
15361 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15362
15363 * c-pragma.c: Don't include "except.h".
15364 * emit-rtl.c: Likewise.
15365 * stor-layout.c: Likewise.
15366 * tree.c: Likewise.
15367 * varasm.c: Likewise.
15368
15369 * flow.c: Include "function.h".
15370 * tree.h (init_dummy_function_start): Declare new function.
15371
15372 * except.h (struct eh_status): New structure.
15373 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
15374 been included.
15375 (eh_return_stub_label, ehstack, catchstack, ehqueue,
15376 catch_clauses, false_label_stack, caught_return_label_stack,
15377 protect_list, current_function_ehc): Add accessor macros for the
15378 corresponding fields in current_function->eh; delete declarations
15379 for all items that used to be declared here.
15380 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
15381 catch_clauses, false_label_stack, caught_return_label_stack,
15382 protect_list, current_function_ehc): Delete variables.
15383 (init_eh_for_function): Allocate current_function->eh.
15384 (save_eh_status, restore_eh_status): Delete functions.
15385
15386 * function.h (struct function): Add fields next_global and eh.
15387 Delete all exception handling related fields.
15388 * function.c (current_function): New variable.
15389 (all_functions): New variable.
15390 (push_function_context_to): Don't allocate a struct function,
15391 use current_function instead. Call init_dummy_function_start when
15392 outside a function. Clear current_function before returning.
15393 (pop_function_context_from): Restore current_function.
15394 Don't free the restored struct function.
15395 (prepare_function_start): New function.
15396 (init_dummy_function_start): New function.
15397 (init_function_start): Break out some code into prepare_function_start
15398 and call it here.
15399
15400 * stmt.c (save_stmt_status): Don't call save_eh_status.
15401 (restore_stmt_status): Don't call restore_eh_status.
15402
15403 * Makefile.in: Update dependencies.
15404
15405 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
15406
15407 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
15408 of depending on a magic constant value. Update comments.
15409 (hppa_expand_prologue): Similarly.
15410
15411 * pa.md (reload_indi, reload_outdi): Allow any register for the
15412 original reload register.
15413
15414 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
15415
15416 * cccp.c (print_help): Change marcos to macros.
15417
15418 1999-07-30 Richard Henderson <rth@cygnus.com>
15419
15420 * c-typeck.c (initializer_constant_valid_p): Move ...
15421 * c-common.c (initializer_constant_valid_p): ... here. Use
15422 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
15423 of label addresses.
15424 * c-common.h (initializer_constant_valid_p): Declare.
15425 * c-tree.h (initializer_constant_valid_p): Remove.
15426
15427 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
15428
15429 * config/i386/sol2-c1.asm: Align the stack.
15430 * config/i386/sol2-gc1.asm: Likewise.
15431
15432 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
15433
15434 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
15435 -Asparclite for sparc86x.
15436 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
15437 sparc86x.
15438 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
15439
15440 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
15441
15442 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
15443 the user if using the non-default arch size in BI_ARCH configuration.
15444 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
15445
15446 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
15447 Fix patterns so that they actually match.
15448 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
15449 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
15450 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
15451 TARGET_HARD_MUL32.
15452 (mulsidi3): Reflect this in the expand.
15453 (smulsi3_highpart): Only on TARGET_ARCH32.
15454 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
15455 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
15456 (umulsidi3): Reflect this in the expand.
15457 (umulsi3_highpart): Only on TARGET_ARCH32.
15458 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
15459 don't require g0 to be zero.
15460 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
15461 ({,u}divsi3): New expands.
15462 ({,u}divsi3_sp64): New patterns.
15463 (after lshrdi3_v8plus): Four new patterns to help combiner
15464 optimizing nested mixed mode shifts.
15465
15466 * config/sparc/sparc.c (sparc_override_options): Use deprecated
15467 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
15468 speed things up. Don't use them by default on plain v9 in 64bit
15469 mode, according to what SPAMv9 sais.
15470
15471 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
15472 top 32 bits of %[og][0-7] in signal handlers.
15473 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
15474
15475 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
15476
15477 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
15478 (ashlsi3): Corresponding changes.
15479
15480 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
15481
15482 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
15483
15484 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
15485
15486 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15487
15488 * arm.h (Hint): Delete macro.
15489 Substitute HOST_WIDE_INT for Hint in some prototypes.
15490 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
15491
15492 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
15493
15494 * builtins.c (expand_builtin_setjmp): Use force_operand to
15495 make sure that the buffer address is in a suitable form to be
15496 passed to force_reg.
15497
15498 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
15499
15500 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
15501 them here.
15502
15503 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
15504
15505 * pa.md (indirect_jump): Remove mode from match_operand. Verify
15506 proper mode in the condition string.
15507 (icacheflush, dcacheflush): Remove modes from match_operands.
15508
15509 * pa.c (emit_move_sequence): Always convert scratch_reg to the
15510 proper mode before using it.
15511
15512 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
15513 pair.
15514
15515 * pa.c (store_reg): Do not call add_high_const generator directly.
15516 (load_reg, set_reg_plus_d): Likewise.
15517 * pa.md (add_high_const): No longer a named pattern.
15518
15519 * pa.c (legitimize_address): Consistently use Pmode rather than
15520 SImode. Do not call gen_pic2_highpart directly anymore.
15521 * pa.md (pic2_highpart): No longer a named pattern.
15522 (pic2_lo_sum): Similarly. Reformat to make more readable.
15523
15524 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
15525 needed.
15526
15527 * README: Update.
15528
15529 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15530
15531 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
15532
15533 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
15534
15535 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
15536 and tag the spill mems.
15537 (hppa_va_start): New.
15538 (hppa_va_arg): New.
15539 * pa.h (EXPAND_BUILTIN_VA_START): New.
15540 (EXPAND_BUILTIN_VA_ARG): New.
15541
15542 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
15543
15544 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
15545 and tag the spill mems.
15546 (mn10300_va_start): New.
15547 (mn10300_va_arg): New.
15548 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
15549 (EXPAND_BUILTIN_VA_ARG): New.
15550
15551 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
15552
15553 * mn10200.c (mn10200_va_arg): New.
15554 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
15555
15556 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
15557
15558 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
15559 rather than play with TREE_INT_CST_LOW.
15560
15561 1999-07-27 Philip Blundell <pb@nexus.co.uk>
15562
15563 * config/arm/telf.h: Include dbxelf.h.
15564 (CPP_PREDEFINES): Only define if not already defined.
15565 (ASM_IDENTIFY_GCC): Likewise.
15566 (SUBTARGET_EXTRA_SECTIONS): Likewise.
15567 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
15568 * config/arm/thumb.h (LINK_SPEC): Only define if not already
15569 defined.
15570 (DBX_DEBUGGING_INFO): Don't define.
15571 * config/arm/linux-telf.h: New file.
15572 * config/arm/linux-tgas.h: New file.
15573 * config/arm/t-thumb-linux: New file.
15574 * config/arm/uclinux-elf.h: New file.
15575 * config/arm/uclinux-telf.h: New file.
15576 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
15577 thumb-*-uclinux): New targets.
15578 * configure: Regenerate.
15579
15580 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
15581
15582 * pa.md (post_store, pre_load): New expanders.
15583 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
15584 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
15585 need to directly generate RTL for them.
15586 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
15587 changes.
15588
15589 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
15590
15591 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
15592 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
15593 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
15594 (secndary_reload_class): Make TARGET_ELF conditional compile.
15595 (print_operand_address): Similar.
15596 (output_toc): Print all values as hex.
15597 (get_issue_rate): Rearrange and add RS64A and PPC630.
15598 * rs6000.h (processor_type): Add RS64A and PPC630.
15599 (PROCESSOR_POWERPC64): New.
15600 (PROMOTE_MODE): Use word_mode.
15601 (RTX_COSTS): Add RS64A and PPC630.
15602 * rs6000.md (scheduling information): Add lmul and ldiv
15603 representing 64-bit integer multiply and divide. Add rs64a and
15604 PPC630 information.
15605 (ashldi3): Add support for "rldic" instruction.
15606 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
15607
15608 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
15609
15610 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
15611 instead of V8 for sparclite86x in cpu_table.
15612
15613 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15614
15615 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
15616 output_file_directive.
15617
15618 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
15619
15620 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
15621 tree for op1, not the rtl.
15622
15623 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
15624
15625 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
15626 to m88k_va_start, leaving only the register spill.
15627 (m88k_build_va_list): New.
15628 (m88k_va_start): New.
15629 (m88k_va_arg): New.
15630 * m88k.h (BUILD_VA_LIST_TYPE): New.
15631 (EXPAND_BUILTIN_VA_START): New.
15632 (EXPAND_BUILTIN_VA_ARG): New.
15633
15634 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
15635
15636 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
15637 Rename from expand_builtin_saveregs.
15638 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
15639
15640 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
15641
15642 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
15643 for the register spill block.
15644 (i960_build_va_list): New.
15645 (i960_va_start): New.
15646 (i960_va_arg): New.
15647 * i960.h (BUILD_VA_LIST_TYPE): New.
15648 (EXPAND_BUILTIN_VA_START): New.
15649 (EXPAND_BUILTIN_VA_ARG): New.
15650 * i960.md (store_multiple): Use change_address on individul mems.
15651
15652 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
15653
15654 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
15655 an ARRAY_TYPE.
15656 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
15657 (expand_builtin_va_end): Evaluate arg for side effects.
15658 * c-common.c (c_common_nodes_and_builtins): Construct a
15659 va_list_arg_type_node to handle array decomposition to pointer.
15660
15661 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
15662
15663 * except.c (start_dynamic_cleanup): Use force_operand on the
15664 buffer's address.
15665
15666 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
15667
15668 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
15669 * c4x.c (c4x_va_arg): New.
15670
15671 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
15672
15673 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
15674 has manual_pop set.
15675
15676 1999-07-26 Nathan Sidwell <nathan@acm.org>
15677
15678 * eh-common.h (__eh_matcher): Prototype correctly.
15679
15680 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
15681
15682 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
15683 (TARGET_SINGLE_PIC_BASE): Likewise.
15684 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
15685 definitions.
15686 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
15687 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
15688 (TARGET_OPTIONS): Add -mpic-register=N.
15689 (OUTPUT_INT_ADDR_CONST): New macro.
15690 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
15691 LEGITIMATE_PIC_OPERAND_P): Likewise.
15692 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
15693 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
15694 output_addr_const directly.
15695 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
15696 ARM port.
15697 (thumb_pic_register, thumb_pic_register_string): Declare.
15698
15699 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
15700 from arm.c.
15701 (label_mentioned_p): New function: Imported from arm.c.
15702 (legitimize_pic_address): New function: Imported from arm.c.
15703 (is_pic):New function: Imported from arm.c.
15704 (thumb_finalize_pic):New function: Imported from arm.c.
15705 (add_constant): Cope with PIC constants.
15706 (fixit): Cope with PIC constants.
15707 (output_return): Do not treat the PIC register as live if
15708 TARGET_SINGLE_PIC_BASE is true.
15709 (thumb_function_prologue): Do not treat the PIC register as live if
15710 TARGET_SINGLE_PIC_BASE is true.
15711 (thumb_expand_prologue): Do not treat the PIC register as live if
15712 TARGET_SINGLE_PIC_BASE is true.
15713 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
15714 TARGET_SINGLE_PIC_BASE is true.
15715 (thumb_print_operand): Accept '|'.
15716 (thumb_override_options): Process PIC options.
15717
15718 * config/arm/thumb.md (movsi): Support PIC.
15719 (call_insn): Change "i" constraint to "X".
15720 (call_value_insn): Likewise.
15721 (consttable_4, consttable_8, consttable_end): Set and clear
15722 "making_const_table" as appropriate.
15723 (pic_load_addr, pic_add_dot_plus_four): New insns.
15724
15725 * invoke.texi (Thumb Options): Fix spelling. Document new
15726 options -msingle-pic-base and -mpic-register=.
15727
15728 1999-07-26 Andrew Haley <aph@cygnus.com>
15729
15730 * config/m32r/initfini.c (__init): Use a full word immediate for
15731 __fini: this allows it to be placed in any memory region.
15732
15733 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
15734 -mmodel=medium. This is OK for all memory models.
15735
15736 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
15737
15738 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
15739 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
15740
15741 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
15742
15743 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
15744 defined.
15745
15746 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
15747
15748 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
15749
15750 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
15751 (BUILD_VA_LIST_TYPE): New.
15752 (EXPAND_BUILTIN_VA_START): New.
15753 (EXPAND_BUILTIN_VA_ARG): New.
15754 * i860.c (output_delayed_branch): Disable.
15755 (output_delay_insn): Likewise.
15756 (i860_saveregs): New.
15757 (i860_build_va_list): New.
15758 (i860_va_start): New.
15759 (i860_va_arg): New.
15760 * i860.md: Disable all peepholes using output_delayed_branch.
15761 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
15762
15763 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
15764
15765 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
15766 (BUILD_VA_LIST_TYPE): New.
15767 (EXPAND_BUILTIN_VA_START): New.
15768 (EXPAND_BUILTIN_VA_ARG): New.
15769 * clipper.c (clipper_builtin_saveregs): Only dump registers.
15770 Return the address of the save area.
15771 (clipper_build_va_list): New.
15772 (clipper_va_start): New.
15773 (clipper_va_arg): New.
15774
15775 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
15776
15777 * arc.h (EXPAND_BUILTIN_VA_START): New.
15778 (EXPAND_BUILTIN_VA_ARG): New.
15779 * arc.c (arc_setup_incoming_varargs): Set alias set of
15780 varargs save area.
15781 (arc_va_start): New.
15782 (arc_va_arg): New.
15783
15784 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
15785
15786 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
15787 (BUILD_VA_LIST_TYPE): New.
15788 (EXPAND_BUILTIN_VA_START): New.
15789 (EXPAND_BUILTIN_VA_ARG): New.
15790 * alpha.c (alpha_builtin_saveregs): Delete.
15791 (alpha_build_va_list): New.
15792 (alpha_va_start): New.
15793 (alpha_va_arg): New.
15794
15795 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
15796
15797 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
15798 column zero.
15799 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
15800 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
15801
15802 * gcc.texi: More changes related to list conversion.
15803 * invoke.texi: Likewise.
15804
15805 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
15806
15807 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
15808 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
15809 (expand_builtin_next_arg): Accept ARGLIST not EXP.
15810 (stabilize_va_list): New function.
15811 (std_expand_builtin_va_start): New function.
15812 (expand_builtin_va_start): New function.
15813 (get_varargs_alias_set): New function.
15814 (std_expand_builtin_va_arg): New function.
15815 (expand_builtin_va_arg): New function.
15816 (expand_builtin_va_end): New function.
15817 (expand_builtin_va_copy): New function.
15818 (expand_builtin): Call them.
15819 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
15820 __builtin_{varargs_start,stdarg_start,end,copy}.
15821 (build_va_arg): New function.
15822 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
15823 (build_va_arg): Declare.
15824 * c-decl.c (ptr_type_node, va_list_type_node): New.
15825 * c-parse.gperf (__builtin_va_arg): New.
15826 * c-parse.in (VA_ARG): New token.
15827 (unary_expr): Recognize it.
15828 * expr.c (expand_expr): Expand VA_ARG_EXPR.
15829 * expr.h (std_expand_builtin_va_start): Declare.
15830 (std_expand_builtin_va_arg): Declare.
15831 (expand_builtin_va_arg): Declare.
15832 (get_varargs_alias_set): Declare.
15833 * tree.def (VA_ARG_EXPR): New.
15834 * tree.h (BUILT_IN_VARARGS_START): New.
15835 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
15836 (ptr_type_node, va_list_type_node): Declare.
15837 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
15838 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
15839 * m88k.h, m88k.c: Likewise.
15840 * mn10300.h, mn10300.c: Likewise.
15841 * pa.h, pa.c: Likewise.
15842 * rs6000.h, rs6000.c: Likewise.
15843 * sh.h, sh.c: Likewise.
15844 * sparc.h, sparc.c: Likewise.
15845
15846 * emit-rtl.c (operand_subword): Copy alias set.
15847 (change_address): Likewise.
15848
15849 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
15850
15851 * pa.c (compute_frame_size): Scan all the used callee saved registers,
15852 not just the first one.
15853
15854 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
15855
15856 * config/arm/arm.h (TARGET_SWITCHES): Add
15857 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
15858 (TARGET_OPTIONS): Add -mpic-register=.
15859 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
15860 (arm_pic_register_string): Declare.
15861 (NEED_PLT_GOT): Delete, replace with ...
15862 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
15863 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
15864 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
15865 * config/arm/arm.c (arm_override_options): Add new option
15866 -mpic-register=N.
15867 (arm_pic_register_string): New variable.
15868 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
15869 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
15870 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
15871 (output_return_instruction): Likewise.
15872 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
15873 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
15874 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
15875
15876 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
15877 mention of -msched-prolog. Document new options -msingle-pic-base
15878 and -mpic-register=.
15879
15880 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
15881
15882 * haifa-sched.c (reemit_notes): Tidy.
15883 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
15884 haifa's routine.
15885
15886 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
15887
15888 * explow.c (trunc_int_for_mode): New function.
15889 (plus_constant_wide): Use it.
15890 * combine.c (simplify_and_const_int): Likewise.
15891 (merge_outer_ops): Likewise.
15892 (simplify_shift_const): Likewise.
15893 * cse.c (simplify_unary_operation): Likewise.
15894 (simplify_binary_operation): Likewise.
15895 * emit-rtl.c (operand_subword): Likewise.
15896 * rtl.h: Declare it.
15897
15898 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15899
15900 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
15901 (use NUM_REGS instead of NUM_INTS).
15902
15903 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15904
15905 * builtins.c: New file.
15906 * expr.c (saveregs_value, apply_args_value): Delete definition,
15907 moved into builtins.c.
15908 (string_constant): No longer static.
15909 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
15910 apply_args_size, apply_result_size, result_vector,
15911 expand_builtin_apply_args, expand_builtin_apply,
15912 expand_builtin_return): Delete functions, moved into builtins.c.
15913 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
15914 * expr.h (saveregs_value, apply_args_value): Declare variables.
15915 (expand_builtin, string_constant): Declare functions.
15916 * Makefile.in: Update to build builtin.o.
15917
15918 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
15919
15920 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
15921 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
15922 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
15923 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
15924 false.
15925 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
15926 Define to zero.
15927
15928 1999-07-21 Michael Meissner <meissner@cygnus.com>
15929
15930 * print-rtl.c (print_rtx): Print the names of the virtual
15931 registers.
15932
15933 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
15934
15935 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
15936 introduced in previous delta.
15937
15938 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15939
15940 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
15941 to avoid name clash.
15942
15943 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
15944
15945 * c-lex.c (yylex) : Correct the test for overflow when lexing
15946 integer literals.
15947
15948 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
15949
15950 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
15951 (adjust_priority): Always call ADJUST_PRIORITY.
15952 (schedule_insn): Only put insns into the ready at cost 0.
15953 (schedule_block): Remove redundant initial sort. Give clock_var
15954 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
15955 is not 0.
15956 * tm.texi (MD_SCHED_REORDER): Update docs.
15957
15958 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
15959 * sparc.c (ultra_reorder_called_this_block): Delete.
15960 (ultrasparc_sched_init): Don't set it.
15961 (ultrasparc_sched_reorder): Don't check it.
15962
15963 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
15964
15965 * rs6000.h (struct rs6000_args): Add sysv_gregno.
15966 * rs6000.c (init_cumulative_args): Init sysv_gregno.
15967 (function_arg_boundary): Align DFmode.
15968 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
15969 to get fp reg and stack overflow correct.
15970 (function_arg): Likewise.
15971 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
15972 (setup_incoming_varargs): Restructure for ABI_V4; use
15973 function_arg_advance to skip final named argument.
15974 (expand_builtin_saveregs): Properly unskip the last integer arg
15975 when doing varargs. Adjust overflow location calculation.
15976
15977 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
15978 explicitly unsigned.
15979 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
15980 (__VA_GP_REGSAVE): Similarly.
15981 (__va_longlong_p): Delete.
15982 (__va_arg_type_violation): New declaration.
15983 (va_arg): Restructure. Flag promotion errors. Align double.
15984 TFmode passed by reference.
15985
15986 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
15987 in the HOST_BITS_PER_WIDE_INT > 32 case.
15988
15989 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
15990
15991 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
15992
15993 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
15994
15995 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
15996 * toplev.c (documented_lang_options): Add -fpreprocessed.
15997 * cpplib.h (struct cpp_buffer): Add preprocessed.
15998 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
15999 (cpp_start_read): Don't expand macros or emit an initial #line
16000 directive if -fpreprocessed.
16001
16002 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
16003
16004 * cpplib.h (struct cpp_buffer): Added manual_pop for
16005 better C++ tokenization.
16006 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
16007 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
16008 * c-common.c (cpp_token): Make non-static.
16009
16010 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16011
16012 * c-common.h: New file.
16013 * c-common.c (permanent_obstack): Delete unused declaration.
16014 (c_global_trees): New array.
16015 (c_common_nodes_and_builtins): New function; split off common code
16016 from init_decl_processing in both c-decl.c and cp/decl.c.
16017 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
16018 c_global_trees and accessor macros defined in c-common.h.
16019 Include c-common.h.
16020 * c-decl.c: Delete definitions for tree nodes that were replaced by
16021 c_global_trees.
16022 (init_decl_processing): Build void_list_node.
16023 Call c_common_nodes_and_builtins; delete code to generate the common
16024 builtins here.
16025 * objc/objc-act.c (build_module_descriptor): Rename variable
16026 void_list_node to avoid clash with c-common.h.
16027
16028 * Makefile.in: Update dependencies.
16029 * objc/Make-lang.in: Likewise.
16030
16031 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
16032
16033 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
16034 (UNIQUE_SECTION_P): Likewise.
16035 (UNIQUE_SECTION): Likewise.
16036
16037 1999-07-19 Linas Vepstas <linas@linas.org>
16038
16039 * config/i370/README: New file.
16040 * config/i370/linux.h: New file.
16041 * config/i370/mvs.h: New file.
16042 * config/i370/oe.h: New file.
16043 * config/i370/t-linux: New file.
16044 * config/i370/t-mvs: New file.
16045 * config/i370/t-oe: New file.
16046 * config/i370/x-oe: New file.
16047 * config/i370/xm-linux.h: New file.
16048 * config/i370/xm-mvs.h: New file.
16049 * config/i370/xm-oe.h: New file.
16050
16051 * i370.c (label_node_t): Add first_ref_page, label_addr,
16052 label_first_ref, label_last_ref members.
16053 (mvs_need_base_reload): Renamed from mvs_label_emitted.
16054 (MAX_MVS_LABEL_SIZE): Define.
16055 (MAX_LONG_LABEL_SIZE): Define.
16056 (alias_node_t, alias_anchor, alias_number): New.
16057 (mvs_function_table): Reorder for EBCDIC.
16058 (ascebc, ebcasc): Unconditionally define.
16059 (i370_branch_dest, i370_branch_length): New functions.
16060 (i370_short_branch, i370_label_scan): New functions.
16061 (mvs_get_label): Renamed from mvs_add_label. Search for
16062 an existing label before creating a new one.
16063 (mvs_add_label): New function.
16064 (mvs_get_label_page): New function.
16065 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
16066 over the entire list.
16067 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
16068 (mvs_check_page) [TARGET_ELF_ABI]: New function.
16069 (mvs_add_alias, mvs_need_alias): New functions.
16070 (mvs_get_alias, mvs_check_alias): New functions.
16071 (handle_pragma): New function.
16072 (mvs_function_check): New function.
16073 (unsigned_jump_follows_p): Search harder.
16074 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
16075 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
16076 * i370.h (TARGET_VERSION): Delete.
16077 (CPP_SPEC, CPP_PREDEFINES): Delete.
16078 (mvs_label_emitted): Delete.
16079 (TARGET_EBCDIC): Delete.
16080 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
16081 (HANDLE_PRAGMA): Define.
16082 (HARD_REGNO_NREGS): Handle complex modes.
16083 (HARD_REGNO_MODE_OK): Likewise.
16084 (CLASS_MAX_NREGS): Likewise.
16085 (RET_REG): Likewise.
16086 (EXTRA_CONSTRAINT): Define.
16087 (RETURN_IN_MEMORY): True for DImode.
16088 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
16089 (FUNCTION_PROFILER): Delete.
16090 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
16091 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
16092 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
16093 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
16094 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
16095 (ASM_FILE_START): Add "RMODE ANY".
16096 (ASM_OUTPUT_EXTERNAL): Check for aliases.
16097 (ASM_GLOBALIZE_LABEL): Likewise.
16098 (ASM_OUTPUT_LABELREF): Likewise.
16099 (ASM_OUTPUT_COMMON): Likewise.
16100 (PRINT_OPERAND): Handle 'K', 'W', default.
16101 (PRINT_OPERAND_ADDRESS): New.
16102 (Lots of defines): Add support for TARGET_ELF_ABI.
16103 * i370.md (attr length): New. Define for all patterns.
16104 (*): Lots of tweeks to assembly output and constraints.
16105
16106 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
16107
16108 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
16109 Disable patterns performing SImode comparisons with SImode values
16110 if TARGET_POWERPC64 and instruction does not sign-extend or does
16111 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
16112 differ for signed quantities.
16113 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
16114 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
16115 (decrement_and_branch_on_count): Add 64-bit variant.
16116
16117 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16118
16119 * final.c (output_asm_insn): When searching for the matching string
16120 for a given dialect, don't run past the end of the list of
16121 alternatives if there are fewer alternatives in the template than
16122 dialects.
16123
16124 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
16125
16126 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
16127 Removed paragraph about compression of files and size limitation,
16128 duplicated in the FAQ. Use gcc-patches for posting patches.
16129 * gcc.c (main): Updated URL with bug reporting instructions to
16130 gcc.gnu.org. Removed e-mail address.
16131 * system.h (abort): Likewise.
16132
16133 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16134
16135 * Makefile.in (stmp-multilib-sub): Make the files extracted
16136 from $(LIBGCC1) writable.
16137
16138 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
16139
16140 * config/arm/aout.h: Reformat for improved readability.
16141
16142 * config/arm/arm.h: Reformat for improved readability.
16143 Replace uses of fprintf with asm_fprintf where appropriate.
16144 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
16145 function declaration assembler actions.
16146 (NUM_INTS): New macro: Convert from bytes to words.
16147 (NUM_REGS): New macro: Compute number of registers required to
16148 hold a quanitity of tyep MODE.
16149 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
16150 types.
16151 (NUM_ARG_REGS): New macro: The number of argument registers
16152 available.
16153 (ARG_REGISTER): New macro: Compute the register number of the Nth
16154 argument register.
16155 (LAST_ARG_REGNUM): New macro: The number of the last argument
16156 register.
16157 (SP_REGNUM): New macro: Register number of the stack pointer.
16158 (FP_REGNUM): New macro: Register number of the frame pointer.
16159 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
16160 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
16161 CUMULATIVE_ARGS so that it counts registers not bytes.
16162
16163 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
16164 TARGET_INTERWORK.
16165 Replace uses of fprintf with asm_fprintf where appropriate.
16166 (output_ascii_pseudo_op): Replace with version from thumb.c
16167
16168 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
16169
16170 * config/arm/elf.h (CPP_PREDEFINES): Replace with
16171 SUBTARGET_CPP_SPEC.
16172 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
16173 (ASM_FILE_START): Emit ASM_APP_OFF.
16174
16175 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
16176
16177 * pa.c (compute_frame_size): Round frame according to
16178 STACK_BOUNDARY rather than a hardwired value.
16179
16180 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
16181
16182 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
16183 of "1".
16184 * configure: Rebuilt.
16185
16186 * configure.in (hppa*-*-linux*): New configuration.
16187 * configure: Rebuilt.
16188 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
16189 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
16190 * pa/pa-linux.h: New file.
16191 * pa/t-linux: New file.
16192 * pa/xm-linux.h: New file.
16193
16194 * pa.c (hppa_legitimize_address): Change references from SImode to
16195 either Pmode or word_mode as appropriate.
16196 (emit_move_sequence, store_reg, load_reg): Likewise.
16197 (set_reg_plus_d, hppa_expand_prologue): Likewise.
16198 (output_mul_insn): Likewise.
16199 * pa.h (PROMOTE_MODE): Likewise.
16200 (INITIALZE_TRAMPOLINE): Likewise.
16201 (Pmode): Define to word_mode.
16202
16203 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
16204 value of 4. Allocate 8 bytes for each FP register save.
16205 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
16206 value of 4.
16207 (hppa_expand_prologue): Likewise.
16208 * pa.h (PROMOTE_MODE): Likewise.
16209 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
16210 (FUNCTION_ARG_BOUNDARY): Likewise.
16211
16212 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
16213
16214 * pa.c (out_of_line_prologue_epilogue): Delete.
16215 (override_options): Remove -mspace related code.
16216 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
16217 (compute_frame_size): Only allocate space for register that
16218 actually need to be saved.
16219 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
16220 (TARGET_SWITCHES): Remove -mspace, -mno-space
16221 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
16222 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
16223 * pa/ee.asm, pa/ee_fp.asm: Delete.
16224
16225 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
16226
16227 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
16228 directive in column zero.
16229
16230 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
16231
16232 * m68k.c (output_function_prologue): Fix computation of save mask
16233 when generating PIC code.
16234
16235 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
16236
16237 * tree.c (build_type_attribute_variant): Move current_obstack restore
16238 after build_qualified_type call.
16239
16240 1999-07-15 Mark Mitchell <mark@codesourcery.com>
16241
16242 * configure.in: Use t-iris6, even with GNU LD.
16243 * config/mips/iris6gld.h: Fix typo in linker spec.
16244 * config/mips/t-iris6gld: Remove.
16245
16246 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
16247
16248 * rs6000.md (insv, extzv): Remove SImode dependence in named
16249 patterns. Explicitly generate DImode RTL if PowerPC64 and
16250 operand is DImode.
16251 (insvdi): Reverse start and size in instruction template.
16252
16253 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
16254
16255 * invoke.texi: Typo fixes.
16256
16257 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
16258
16259 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
16260 handle at this time instead of silently generating incorrect code.
16261 (gen_imagpart): Likewise.
16262
16263 * reload.c (find_reloads): Emit a USE for a pseudo register without
16264 a hard register if we could not create an optional reload for the
16265 pseudo.
16266
16267 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16268
16269 * c-typeck.c (output_init_element, process_init_element):
16270 When advancing constructor_unfilled_fields for a RECORD_TYPE,
16271 check for nameless bit fields.
16272
16273 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
16274
16275 * regclass.c (scan_one_insn): Notice subregs that change the
16276 size of their operand.
16277 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
16278
16279 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
16280
16281 * configure.in (alpha*-*-*): Include alpha/t-ieee.
16282 * configure: Rebuilt.
16283 * alpha/t-ieee: New file.
16284
16285 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
16286
16287 * rs6000.c (find_addr_reg): Do not select r0 as an address
16288 register.
16289
16290 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
16291
16292 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
16293
16294 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
16295
16296 * rs6000.md (movsf): Do not force easy FP constants into memory.
16297
16298 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
16299 immed_double_const to ensure they are properly truncated then
16300 sign extended.
16301
16302 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
16303
16304 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
16305 always unless NO_DEBUG is used. Compile this code
16306 unconditionally.
16307 (replace_symbols_in_block): Compile it unconditionally.
16308
16309 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
16310
16311 * configure.in (i?86-*-elf*): New target.
16312 * configure: Rebuilt.
16313 * i386/i386elf.h, i386/t-i386elf: New files.
16314
16315 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
16316
16317 * toplev.c (main): Don't complain about saying -gdwarf.
16318 (rest_of_compilation): Remove redundant code.
16319
16320 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
16321
16322 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
16323
16324 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
16325
16326 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
16327 "Li960R:", to avoid name clash.
16328
16329 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16330
16331 * loop.c (check_dbra_loop): When reversing a loop, delete all
16332 REG_EQUAL notes referencing the reversed biv except those which are
16333 for a giv based on it.
16334
16335 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
16336
16337 * version.c: Drop "gcc-" prefix from version #.
16338
16339 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
16340
16341 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
16342 the label if we're being verbose.
16343
16344 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
16345
16346 * m68k.c (output_function_prologue): Add pic register to mask
16347 if live and flag_pic.
16348 (output_function_epilogue): Likewise.
16349
16350 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
16351
16352 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
16353 directives in column zero.
16354
16355 * pa/elf.h (ASM_FILE_START): Define.
16356 * pa/som.h (ASM_FILE_START): Include .level directives.
16357 * pa/hpux10.h (ASM_FILE_START): Delete.
16358 * pa/hpux11.h (ASM_FILE_START): Delete.
16359
16360 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
16361
16362 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16363
16364 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
16365 when reload_out equals reload_in.
16366
16367 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
16368
16369 * invoke.texi (Spec Files): New node: Describe the contents of
16370 spec files.
16371
16372 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
16373
16374 * invoke.texi (DEC Alpha Options): Put @end table at
16375 beginning of line, to avoid confusing texi2html.
16376
16377 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
16378
16379 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
16380 introduced in previous delta.
16381
16382 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16383
16384 * reload1.c (gen_reload): When synthesizing a 3 operand add
16385 sequence, improve test for when to reload OP1 into the reload
16386 register instead of OP0.
16387
16388 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
16389
16390 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
16391
16392 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
16393
16394 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
16395 string literal.
16396
16397 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
16398
16399 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
16400 (va_dcl): Use __builtin_va_alist_t.
16401
16402 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
16403
16404 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
16405 on the permanent_obstack.
16406 * dwarfout.c (output_type): Likewise.
16407
16408 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
16409
16410 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
16411 Merged from c-typeck.c and cp/typeck.c.
16412 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
16413 Merged into c-common.
16414
16415 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
16416
16417 * c-lex.c (errorcount): Declare it.
16418 (finish_parse): Update errorcount when using CPPLIB.
16419
16420 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
16421
16422 * fixinc/inclhack.def(end_else_label): Double the backslash so
16423 sed gets a chance to see it.
16424 * fixinc/inclhack.sh: regen
16425 * fixinc/fixincl.x: regen
16426
16427 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
16428
16429 Add framework to support armv5 architecture when it becomes
16430 available:
16431
16432 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
16433 (arm_arch5): New variable.
16434 (all_architectures): Add armv5 line.
16435 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
16436 -march=armv5 is specified on the command line.
16437 (arm_arch5): Export this variable.
16438 * invoke.texi: Document new string accepted by -march= switch for
16439 ARM ports.
16440
16441 * config/arm/arm.h: Replace use of constant 12 as a register
16442 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
16443 * config/arm/arm.c: Replace use of constant 12 as a register
16444 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
16445
16446 * config/arm/elf.h: Tidy up.
16447 * config/arm/coff.h: Tidy up.
16448
16449 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
16450
16451 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
16452 * gcc/config/mips/t-iris6gld: New file.
16453 * gcc/config/mips/iris6gld.h: Likewise.
16454
16455 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
16456
16457 * c-decl.c (widest_integer_literal_type_node,
16458 widest_unsigned_literal_type) : New.
16459 (init_decl_processing): Handle/use the two new types.
16460 * c-common.c (type_for_size,type_for_mode) : Same.
16461 * c-lex.c (yylex) : Same.
16462 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
16463 Same.
16464 * c-tree.h (widest_integer_literal_type_node,
16465 widest_unsigned_literal_type) : New.
16466
16467 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
16468
16469 * dwarfout.c (field_byte_offset): Correctly compute the object's
16470 byte offset for the first bit of a field which crosses an alignment
16471 boundary on a !BYTES_BIG_ENDIAN target.
16472
16473 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
16474
16475 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
16476 ntohs.
16477
16478 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
16479 Jeff Law <law@cygnus.com>
16480
16481 * ginclude/varargs.h (va_dcl): Use word_mode for type of
16482 __builtin_va_list.
16483
16484 * except.c: Include intl.h.
16485 (expand_eh_return): Set current_function_cannot_inline.
16486 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
16487 * function.h (struct function): Add eh_return_stub_label.
16488 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
16489 * Makefile.in (except.o): Depend on intl.h.
16490
16491 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
16492
16493 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
16494 same as offsettable in cases 1 and 2.
16495
16496 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
16497
16498 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
16499 (extlh, extwh): Likewise.
16500
16501 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
16502
16503 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
16504
16505 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
16506
16507 * configure.in: Add arm-pe and thumb-pe targets.
16508 * configure: Regenerate.
16509
16510 * thumb.c (arm_naked_function_p): New function: Determines if
16511 a function is naked (has no gcc generated prologue/epilogue).
16512 (is_called_in_ARM_mode): Return true if the func has the
16513 interfacearm attribute.
16514 (output_return): Do not generate a return for naked functions.
16515 (thumb_function_prologue): Do not generate a prologue for
16516 naked functions.
16517 (thumb_expand_prologue): Do not generate a prologue for naked
16518 functions.
16519 (thumb_expand_epilogue): Do not generate an epilogue for naked
16520 functions.
16521 (arm_valid_machine_decl_attribute): New function, copied from
16522 arm.c: Permit naked and interfacearm attributes.
16523
16524 * config/arm/pe.c: New file: Support code for arm-pe target.
16525 * config/arm/pe.h: New file: Header file for arm-pe target.
16526 * config/arm/tpe.h: New file: Header file for thumb-pe target.
16527 * config/arm/t-thumb-pe: New file: Makefile fragment for
16528 thumb-pe target.
16529
16530 1999-07-01 Mark Kettenis <kettenis@gnu.org>
16531
16532 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
16533 -fPIC or -fpic is specified.
16534
16535 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
16536
16537 * expr.c (emit_block_move): Use copy_to_mode_reg for
16538 !TARGET_MEM_FUNCTIONS case too.
16539
16540 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
16541 appropriate.
16542 * configure: Rebuilt.
16543 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
16544 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
16545 definitions made redundant by dbxelf.h inclusion. Delete
16546 lots of definitions related to assembly output that are
16547 specific to the SOM object format.
16548 * pa.c (output_function_prologue): Do not emit the function's
16549 name for OBJ_ELF.
16550 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
16551 * pa-pro.h: Deleted.
16552 * som.h: New file with SOM specific definitions.
16553 * elf.h: New file with ELF specific definitions.
16554
16555 * elfos.h (const_section): Output a tab before assembler directives.
16556 (ctors_section, dtors_section): Likewise.
16557 (ASM_OUTPUT_SECTION_NAME): Likewise.
16558
16559 * pa/pa1.h: Delete unused file.
16560
16561 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
16562
16563 * configure.in (hppa*-hp-hpux11*): New configuration.
16564 * configure: Rebuilt.
16565 * pa/pa-hpux11.h: New file.
16566 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
16567 command line.
16568
16569 * mips.md (leasi, leadi): New patterns.
16570
16571 * expr.c (emit_block_move): Properly handle case where one of the
16572 block move arguments has a queued increment or decrement.
16573 (clear_storage): Similarly. Fix formatting goof.
16574
16575 1999-06-28 "David O'Brien" <obrien@NUXI.com>
16576
16577 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
16578 semicolon from the BSD VA_LIST replacement expression.
16579
16580 * fixinc/inclhack.sh: regen
16581 * fixinc/fixincl.x: regen
16582
16583 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
16584 now use the fixincl program.
16585
16586 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
16587
16588 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
16589 case. Also make the PIC register call_used.
16590
16591 * m68k.h (FINALIZE_PIC): Delete.
16592 * m68k.c (finalize_pic): Delete.
16593
16594 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
16595
16596 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
16597 to memory.
16598
16599 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
16600
16601 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
16602
16603 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
16604
16605 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
16606
16607 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
16608
16609 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
16610
16611 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
16612
16613 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
16614
16615 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
16616
16617 * rs6000.c (output_toc): Always use hex values for floating-point
16618 constants. Store single-precision values in upper-half of TOC
16619 entry in 64-bit mode.
16620 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
16621 to final constraints.
16622 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
16623 (fctiwz): Improve accuracy of RTL for pattern.
16624
16625 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
16626
16627 * expr.c (expand_expr): Allow RTL_EXPR's through the
16628 MAX_INTEGER_COMPUTATION_MODE checks.
16629
16630 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
16631
16632 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
16633 such that MASK_SUPPORT_ARCH is not negative.
16634
16635 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
16636
16637 * loop.c (verify_dominator): Properly handle ADDR_VEC and
16638 ADDR_DIFF_VEC insns that appear inside loops.
16639
16640 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
16641 Jeff Law <law@cygnus.com>
16642
16643 * rs6000.md (movdf_hardfloat32): Revert previous patch.
16644 Handle LO_SUM the same as offsettable in cases 1 and 2.
16645 * rs6000.c (find_addr_reg): Revert previous patch.
16646
16647 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
16648
16649 * system.h (strstr): New external function declaration.
16650 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
16651 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
16652 * config.in, configure: Rebuilt.
16653
16654 1999-06-24 Tom Tromey <tromey@cygnus.com>
16655
16656 * gcc.c (main): Read user-specified specs files after computing
16657 additional startfile_prefixes.
16658
16659 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
16660
16661 Revert these two patches:
16662
16663 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16664 * loop.c (strength_reduce): When doing biv->giv conversion, update
16665 reg note of NEXT->insn.
16666
16667 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16668 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
16669 reg_biv_class.
16670 (recombine_givs): Set ix field after sorting.
16671
16672 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16673
16674 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
16675 for the parts of an UNSPEC / UNSPEC_VOLATILE.
16676
16677 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
16678
16679 *fixinc/inclhack.def: Add fix development commentary
16680 (read_ret_type): reactivate and add selection clause
16681 (zzz_*): tweak output file name to match what is used in hackshell.tpl
16682 *fixinc/{fixincl.x|inclhack.sh}: regen
16683
16684 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
16685
16686 * expr.c (expand_expr): STRIP_NOPS before checking against
16687 MAX_INTEGER_COMPUTATION_MODE
16688 (check_max_integer_computation_mode): Likewise.
16689
16690 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
16691
16692 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
16693
16694 1999-06-22 Jim Wilson <wilson@cygnus.com>
16695
16696 * expr.c (store_expr): When target is a promoted subreg, return a
16697 promoted subreg as a result.
16698
16699 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
16700
16701 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
16702 coding standards.
16703 (dwarf2out_define): Mark unused parameters appropriately.
16704 (gen_unspecified_parameters_die): Ditto.
16705 (gen_subprogram_die): Fix signed/unsigned warnings.
16706 (gen_variable_die): Ditto.
16707
16708 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
16709
16710 * fixinc/inclhack.def(end_else_label): combined else_label
16711 and endif_label and fixed the sed expression.
16712 *fixinc/{fixincl.x|inclhack.sh}: regen
16713
16714 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
16715
16716 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
16717 'x' when handling non-offsettable addresses
16718
16719 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
16720
16721 * final.c (shorten_branches): Don't try to split an insn that has
16722 been deleted.
16723
16724 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
16725
16726 * config/mips/mips.c (symbolic_expression_p): New function.
16727 (mips_select_rtx_section): Put symbolic expressions in the
16728 data section, not the read-only data section.
16729
16730 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
16731
16732 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
16733
16734 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
16735
16736 * collect2.c (main): Log frame table count.
16737 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
16738 (scan_prog_file) [COFF]: Handle frame tables.
16739
16740 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
16741 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
16742 * alpha/elf.h: Undef them again.
16743 * alpha/vms.h: Remove their definitions.
16744
16745 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16746
16747 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
16748 remove the clobber of r0 and change the REG_UNUSED note to
16749 REG_INC.
16750
16751 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
16752
16753 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
16754 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
16755 fits in HOST_WIDE_INT and one uses union to access a long constant
16756 as double.
16757
16758 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
16759
16760 * sparc.c (sparc_override_options): Don't allow profiling for
16761 code models other than medlow.
16762 (sparc_function_profiler): New function from old FUNCTION_PROFILER
16763 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
16764 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
16765 (sparc_block_profiler): Likewise.
16766 (sparc_function_block_profiler_exit): Likewise.
16767 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
16768 (FUNCTION_BLOCK_PROFILER): Likewise.
16769 (BLOCK_PROFILER): Likewise.
16770 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
16771 (MCOUNT_FUNCTION): New.
16772 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
16773 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
16774 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
16775 (MCOUNT_FUNCTION): New.
16776 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
16777 (BLOCK_PROFILER): Delete.
16778 (MCOUNT_FUNCTION): New.
16779
16780 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
16781
16782 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
16783
16784 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
16785
16786 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16787 Add the macros.
16788
16789 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16790 Ditto.
16791
16792 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16793 Ditto.
16794
16795 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
16796 Ditto.
16797
16798 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
16799
16800 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
16801 types.
16802
16803 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
16804
16805 * i386/djgpp.h (LIB_SPEC): New.
16806 (STARTFILE_SPEC): New.
16807
16808 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
16809
16810 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
16811
16812 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
16813 compiler flags.
16814
16815 * system.h (WSTOPSIG): New macro.
16816
16817 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
16818
16819 * c-pragma.c (push_alignment): Don't ignore alignments greater than
16820 4 bytes.
16821 (insert_pack_attributes): Take into account member natural
16822 alignment.
16823
16824 * i386/winnt.c (exports_head): New static variable.
16825 (i386_pe_record_exported_symbol): New function.
16826 (i386_pe_asm_file_end): Use.
16827 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
16828 symbols to be emitted at end of assembly.
16829 (ASM_DECLARE_OBJECT_NAME): Likewise.
16830 (ASM_DECLARE_FUNCTION_NAME): Likewise.
16831
16832 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
16833 -iwithprefix.
16834
16835 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
16836
16837 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
16838 in last change.
16839
16840 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
16841
16842 * haifa-sched.c (sched_analyze_1): Use free_list instead of
16843 zapping reg_last_uses directly.
16844 (sched_analyze_2, sched_analyze_insn): Likewise.
16845 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
16846
16847 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
16848
16849 * rs6000.md (movdf_hardfloat32): Use worst case insn length
16850 attributes for cases 1 and 2.
16851
16852 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
16853
16854 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
16855 instead of set.
16856
16857 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
16858
16859 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
16860
16861 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
16862
16863 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
16864 PIC_OFFSET_TABLE_REGNUM for general alloaction.
16865 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
16866 must be stacked if it is used for PIC accesses.
16867 * arm.c (use_return_insn): Handle PIC register specially.
16868 (output_return_instruction): Likewise.
16869 (output_func_{prologue,epilogue}): Likewise.
16870 (output_expand_prologue): Likewise.
16871
16872 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
16873 (*strsi_predec): Renamed from *strqi_predec.
16874 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
16875 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
16876
16877 * arm.c (arm_override_options): Remove warning about PIC code
16878 not being supported.
16879
16880 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
16881
16882 * rs6000.c (find_addr_reg): New function.
16883 * rs6000.h (find_addr_reg): Declare.
16884 (offsettable_addr_operand): Delete.
16885 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
16886 from and stores to GPRs.
16887
16888 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
16889
16890 * alpha.c (alpha_expand_block_move): Use get_insns rather than
16891 gen_sequence as argument to emit_no_conflict_block.
16892
16893 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16894
16895 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
16896 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
16897 *fixinc/fixincl.x: regen
16898 *fixinc/inclhack.sh: regen
16899
16900 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
16901
16902 * added support for -mpcrel (PC relative addressing for m68k)
16903 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
16904 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
16905 * m68k.c (print_operand_address): Handle 32-bit PIC case.
16906 (comments for general_src_operand): Add some explanation
16907 about EXTRA_CONSTRAINTS.
16908 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
16909 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
16910 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
16911 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
16912 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
16913 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
16914 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
16915 if not already set.
16916 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
16917 * m68k.h (TARGET_PCREL): New target flag.
16918 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
16919 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
16920 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
16921 contains a SYMBOL_REF. Relax this constraint during reload, since
16922 we want to use the predicates, not reload's built-in concept of a
16923 valid memory address, to control what insns need reloading.
16924 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
16925 operands (essentially 'g', 'm', and 's' under normal circumstances).
16926 * m68k.c (print_operand): Cause printing of pc-relative addresses
16927 to include pc register.
16928 (print_operand_address): Ditto.
16929 (general_src_operand): Accept operands that are not only
16930 general_operands, but are also valid when used as a pc-relative
16931 source.
16932 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
16933 (memory_src_operand): Similar, for memory_operands.
16934 (pcrel_address): New predicate to accept the special case of a
16935 pc-relative address.
16936 * m68k.md (many patterns): Rewrite common SImode, HImode, and
16937 QImode insns to accept *_src_operand instead of *_operand where
16938 pc-relative operands can fit. For example, a pc-relative operand
16939 can be used as a memory source operand for addsi3, but not as a
16940 memory destination.
16941 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
16942
16943 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
16944
16945 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
16946 .thumb_set pseudo op to mark aliases of thumb functions.
16947
16948 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
16949
16950 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
16951 preference to ASM_OUTPUT_DEF, if it is defined.
16952
16953 * tm.texi: Document new, optional target macro
16954 ASM_OUTPUT_DEF_FROM_DECLS.
16955
16956 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
16957
16958 * fixincludes: ISCNTL patch
16959 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
16960 (dgux_int_varargs): new for DG/UX
16961 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
16962
16963 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
16964
16965 * invoke.texi (ia32 options): Fix typo.
16966
16967 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16968
16969 * loop.c (strength_reduce): When doing biv->giv conversion, update
16970 reg note of NEXT->insn.
16971
16972 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
16973
16974 * loop.c (move_movables): Note issues with replacing REGs with
16975 SUBREGs.
16976 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
16977
16978 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
16979
16980 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
16981
16982 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
16983 the reference to `mcount' was not correct for the ELF on FreeBSD.
16984
16985 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16986
16987 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
16988 reg_biv_class.
16989
16990 (recombine_givs): Set ix field after sorting.
16991
16992 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
16993
16994 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
16995 to safe to extract a subword out of a REG.
16996
16997 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16998
16999 * sh.md (mulsi3): Don't add a no-op move at the end.
17000
17001 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17002
17003 * cse.c (cse_insn): Don't put hard register source into tables for
17004 the last insn of a libcall.
17005
17006 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17007
17008 * loop.c (strength_reduce): Insert sets of derived givs at every
17009 biv increment, even if it's the only one.
17010
17011 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
17012
17013 * dwarfout.c (add_incomplete_type): New fn.
17014 (output_type): Call it.
17015 (retry_incomplete_types): New fn.
17016 (dwarfout_finish): Call it.
17017
17018 From Eric Raskin <ehr@listworks.com>:
17019 (output_type): Output types for bases.
17020
17021 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
17022
17023 * mips.c (mips_output_conditional_branch): Add `break'
17024 between `default' label and `close braces'.
17025
17026 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
17027
17028 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
17029 specifications and make it realistic.
17030 (LIB_SPEC): Likewise.
17031
17032 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
17033
17034 * config/mips/mips.c (mips_secondary_reload_class): Check for
17035 (PLUS (SP) (REG)) and return appropriate register class.
17036 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
17037 Handle (PLUS (SP) (REG)).
17038 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
17039 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
17040 of emit_insn for tablejump.
17041
17042 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
17043
17044 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
17045 asm_fprintf format string by itself.
17046 (output_function_profiler): Likewise.
17047
17048 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
17049
17050 * combine.c (simplify_logical, case AND): Only call
17051 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
17052 or the constant is positive.
17053
17054 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
17055
17056 * configure.in: Fix typo in rs6000-ibm-aix4 case.
17057 * configure: Regenerate.
17058
17059 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
17060
17061 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
17062 require a sub-version #.
17063 * configure: Rebuilt.
17064
17065 1999-06-14 Robert Lipe (robertlipe@usa.net)
17066
17067 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
17068
17069 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
17070
17071 * c-typeck.c (process_init_element): Detect excess elements in
17072 char array initializer.
17073
17074 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
17075
17076 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
17077
17078 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
17079
17080 * invoke.texi (Option Summary): Add -fpermissive flag.
17081
17082 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
17083
17084 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
17085 that require PIC code sequences.
17086
17087 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
17088
17089 * configure.in: Add new target: thumb-elf.
17090 * configure: Regenerate.
17091 * config/arm/t-thumb-elf: New file: Makefile fragment for
17092 thumb-elf build.
17093 * config/arm/telf.h: New file: Header file for thumb-elf
17094 build.
17095
17096 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
17097
17098 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
17099 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
17100 initializers is some circumstances.
17101
17102 * fixinc/inclhack.def (endif_label): Add additional selector for
17103 more bogus stuff after #endif statements.
17104 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
17105
17106 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
17107
17108 * i386/cygwin.h (SET_ASM_OP): Define.
17109
17110 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
17111
17112 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
17113
17114 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17115
17116 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
17117 latter.
17118
17119 * sh.md (ic_invalidate_line_i): Remove second alternative.
17120
17121 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17122
17123 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
17124 test for the presence of valid prototypes. Delete bypass expr.
17125 (ioctl_fix_ctrl): Correct the selection expression.
17126 (no_double_slash): Correct quoting rules
17127 *fixinc/fixincl.x: regen
17128 *fixinc/inclhack.sh: regen
17129
17130 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
17131
17132 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
17133
17134 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17135
17136 * rs6000.md (movsi_got_internal_mem): Delete.
17137 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
17138 (GOT_TOC_REGNUM): Delete.
17139 (PIC_OFFSET_TABLE_REGNUM): Define.
17140 (FINALIZE_PIC): Disable.
17141 * rs6000.c (rs6000_got_register): New code for fixed pic register.
17142 (rs6000_replace_regno): Delete.
17143 (rs6000_finalize_pic): Likewise.
17144 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
17145
17146 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17147
17148 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
17149 is a note; use <= for the compare; advance P while it is
17150 a NOTE.
17151
17152 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
17153
17154 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
17155 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
17156
17157 * varasm.c (remove_from_pending_weak_list): Verify t->name
17158 is non-NULL before passing it to strcmp.
17159
17160 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17161
17162 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
17163 the typed arguments are not part of a comment
17164 (ioctl_fix_ctrl): Added a purpose comment
17165 *fixinc/fixincl.x: regenerate
17166 *fixinc/inclhack.sh: regenerate
17167
17168 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17169
17170 * invoke.texi: Add C4x invocation docs.
17171
17172 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17173
17174 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
17175 Define new macros.
17176 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
17177 TARGET_EXPOSE_LDP.
17178 (c4x_legitimize_reload_address): New function.
17179 * config/c4x/c4x.md: Update docs.
17180
17181 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
17182
17183 * fixincludes: Avoid removing '.'.
17184 * fixinc/fixinc.svr4: Likewise.
17185 * fixinc/fixinc.winnt: Likewise.
17186 * fixinc/inclhack.tpl: Likewise.
17187 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
17188
17189 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17190
17191 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
17192 pattern.
17193 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
17194
17195 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
17196
17197 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
17198 correctly.
17199
17200 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
17201
17202 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
17203 * configure: Regenerate.
17204
17205 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
17206
17207 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
17208 values.
17209
17210 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
17211
17212 * fixinc/inclhack.def (avoid_bool): Also catch
17213 "typedef [unsigned] int bool".
17214 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
17215
17216 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
17217 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
17218 * configure: Rebuilt.
17219
17220 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
17221
17222 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
17223 such that we can override its definitions if necessary.
17224 (CPP_SPEC): New define. Support processor specific predefines via
17225 %(cpp_cpu).
17226 (CC1_SPEC): New define. Support processor specific compiler
17227 options via %(cc1_cpu).
17228 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
17229 -static.
17230
17231 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17232
17233 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
17234 between sed's -e flag, and the open-quote following it.
17235 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
17236
17237 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
17238 Jeffrey A Law (law@cygnus.com)
17239
17240 * varasm.c (assemble_start_function): Remove the function
17241 from the pending weak decls list when we define a function.
17242 (assemble_variable): Similarly for variables.
17243 (weak_finish): Ignore items on the list with a NULL name.
17244 (remove_from_ending_weak_list); New function to "remove" an item
17245 from the pending weak declarations list.
17246
17247 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
17248
17249 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
17250
17251 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
17252
17253 * c-lex.c (GETC): Redefine to call getch.
17254 (UNGETC): Redefine to call put_back.
17255 (putback_buffer): New structure type.
17256 (putback): New static structure.
17257 (getch): New function.
17258 (put_back): New function.
17259 (yylex): Replace unused bytes from bad multibyte character.
17260
17261 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
17262
17263 * cpplib.c (do_define): Cast `alloca' return value.
17264 (do_include, do_undef, do_pragma): Likewise.
17265 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
17266 values.
17267 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
17268 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
17269
17270 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
17271
17272 * sparc.md (abstf2): This should be an expand.
17273 (split after abstf2_notv9): Fix mode.
17274 (abstf2_hq_v9): New pattern.
17275 (abstf2_v9): Only use when no hard quad.
17276 (absdf2_v9): Fix if target is not the same as source.
17277 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
17278 Add correct output constraints.
17279
17280 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
17281
17282 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
17283 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
17284
17285 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
17286
17287 * mips.h (mips_output_conditional_branch): New function.
17288 (mips_adjust_insn_length): Likewise.
17289 (ASSEMBLER_SCRATCH_REGNUM): New macro.
17290 (ADJUST_INSN_LENGTH): Likewise.
17291 * mips.c (print_operand): Add `F' and `W' for floating-point
17292 comparison opcodes.
17293 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
17294 are now in bytes.
17295 (mips_adjust_insn_length): New function.
17296 (mips_output_conditional_branch): New function.
17297 * mips.md (length): Adjust attribute definition to handle
17298 conditional branches. Change lengths to bytes, rather than
17299 instructions throughout. Remove length attribute from
17300 instructions whose length is four bytes, and rely on the default
17301 instead.
17302 (dslot): Fix typo in comment.
17303 Reword conditional branch patterns to use
17304 mips_output_conditional_branch.
17305
17306 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
17307
17308 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
17309 (LIB_SPEC): Likewise.
17310 Link with -lprof1_r for -g/-pg.
17311
17312 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
17313
17314 * loop.c (check_dbra_loop): Fix change of Jan 19.
17315
17316 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
17317
17318 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
17319 (STARTFILE_SPEC): Define, override the svr4.h version.
17320 (ENDFILE_SPEC): Likewise.
17321
17322 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
17323
17324 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
17325 * fixinc/fixincl.x: Regenerated.
17326 * fixinc/inclhack.sh: Regenerated.
17327
17328 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17329
17330 * sh.c (barrier_align): Don't return early for normal branch/barrier
17331 when optimizing for SH2.
17332
17333 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
17334
17335 * i386/udk.h (LINK_SPEC): Correct linker search path for
17336 system libraries.
17337
17338 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17339
17340 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
17341 (braf_label_ref_operand): Delete.
17342 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
17343 * sh.md (casesi_jump_2): Operand1 is now the inside of a
17344 label_ref, and has no predicate.
17345 The patten has a predicate to guard against invalid substitutions.
17346 (dummy_jump): Delete.
17347 (casesi): Update use of casesi_jump_2.
17348
17349 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17350
17351 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
17352 *fixinc/fixincl.x: regenerate
17353 *fixinc/inclhack.sh: regenerate
17354
17355 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
17356
17357 * dwarf2out.c (add_incomplete_type): New fn.
17358 (gen_struct_or_union_type_die): Call it.
17359 (retry_incomplete_types): New fn.
17360 (dwarf2out_finish): Call it.
17361
17362 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
17363
17364 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
17365 current block starts with a CODE_LABEL and ends with a CALL and
17366 we can not find all the argument setup instructions for the CALL.
17367
17368 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
17369
17370 Revert this change:
17371 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
17372 something is a candidate for optimize_bit_field_compare.
17373
17374 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17375
17376 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
17377
17378 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
17379
17380 * alpha.c (override_options): Thinko in last patch.
17381
17382 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
17383 (LIB_SPEC): Recognize -pthread.
17384
17385 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
17386
17387 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
17388 definition in config/arm/coff.h
17389 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
17390
17391 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17392
17393 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
17394 fixes that need "file=xxx\n" prepended before invocation
17395 (start_fixer - new): starting the fixer process is complex enough
17396 to warrent its own routine. It prepends the "file=xxx\n" stuff.
17397 (process): uses the new routine; omit usage of putenv()
17398 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
17399 * fixinc/fixincl.x: regenerate
17400
17401 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
17402
17403 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
17404 and version #s (1.1 -> 2.96) as needed.
17405 * README.g77: Kill way out of date file in the toplevel directory.
17406
17407 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
17408
17409 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
17410 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
17411 * configure: Rebuilt.
17412 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
17413 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
17414 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
17415 (SWITCH_TAKES_ARG): Likewise.
17416 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
17417 * config/t-freebsd: Moved from config/i386/ so it can used for all
17418 FreeBSD targets.
17419
17420 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
17421
17422 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
17423
17424 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
17425
17426 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
17427 * configure: Rebuilt.
17428
17429 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
17430
17431 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
17432 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
17433 * rs6000/rs6000.c (rs6000_file_start): Use putc.
17434 (rs6000_output_load_toc_table): Same.
17435 (output_prolog, output_mi_thunk): Same.
17436 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
17437 (ASM_GLOBALIZE_LABEL): Use putc.
17438
17439 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
17440
17441 * alpha.md (reload_*_help): New patterns and splitters.
17442 (reload_*): Use them.
17443 (mov[qh]i): Likewise.
17444
17445 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
17446
17447 * cccp.c (handle_directive): Handle backslash-newlines in quoted
17448 strings correctly.
17449
17450 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
17451
17452 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
17453
17454 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
17455
17456 * flow.c (mark_regs_live_at_end, insn_dead_p,
17457 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
17458 and HARD_FRAME_POINTER_REGNUM special treatment if reload
17459 hasn't run or the frame pointer is needed.
17460 * haifa-sched.c (attach_deaths): Likewise.
17461 * sched.c (attach_deaths): Likewise.
17462
17463 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
17464
17465 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
17466 calculate_can_reach_end returns nonzero.
17467
17468 * configure.in (native gas tests): Search for an assembler in the
17469 same manner that the installed compiler will.
17470 * configure: Rebuilt.
17471 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
17472
17473 * alias.c (find_base_term): Improve handling of addresses
17474 constructed from binary operations.
17475
17476 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
17477
17478 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
17479
17480 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
17481
17482 * function.h (cleanup_label, frame_offset): Declare.
17483 (tail_recursion_label, tail_recursion_reentry): Likewise.
17484 (arg_pointer_save_area, rtl_expr_chain): Likewise.
17485 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
17486 (tail_recursion_label, tail_recursion_reentry): Likewise.
17487 (arg_pointer_save_area, rtl_expr_chain): Likewise.
17488
17489 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
17490
17491 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
17492 defined.
17493 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
17494 (MAX_OFILE_ALIGNMENT): Define.
17495
17496 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
17497
17498 * fixincl.c: Replace local include scheme with #includes of
17499 gansidecl.h and system.h.
17500 * procopen.c: Likewise.
17501 * server.c: Likewise.
17502
17503 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
17504
17505 * i386/t-dgux (EXTRA_PARTS): Add crti.o
17506 (crti.o): Add build rule and dependencies.
17507 * fixinc/fixinc.dgux: Use modified _int_varargs.h
17508
17509 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17510
17511 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
17512 (LIB_LINUX_SPEC): Likewise.
17513 (LIB_LINUX_SPEC): Add support for -pthread
17514 (CPP_OS_LINUX_SPEC): Likewise.
17515 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
17516 specified.
17517
17518 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
17519
17520 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
17521 conditional move.
17522 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
17523 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
17524 for IEEE math and CC_FCOMI.
17525 (put_jump_code): No IEEE if CC_FCOMI is set.
17526
17527 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
17528
17529 * fold-const.c (fold_truthop): Make the field reference unsigned
17530 when converting a single bit compare.
17531
17532 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17533
17534 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
17535
17536 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
17537
17538 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
17539 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
17540 version did.
17541
17542 * reload.c (push_reload): Do not call remove_address_replacements
17543 when presented with identical optional reloads.
17544
17545 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
17546
17547 * alpha.h (MASK_FIX, TARGET_FIX): New.
17548 (MASK_*): Reorganize constants.
17549 (CPP_AM_FIX_SPEC): New.
17550 (TARGET_SWITCHES): Add FIX.
17551 (EXTRA_SPECS): Likewise.
17552 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
17553 (SECONDARY_MEMORY_NEEDED): Likewise.
17554 (REGISTER_MOVE_COST): Likewise.
17555 * alpha.c (override_options): Add FIX support. Always use
17556 ALPHA_TP_PROG for ev6.
17557 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
17558 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
17559 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
17560
17561 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
17562
17563 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
17564 something is a candidate for optimize_bit_field_compare.
17565
17566 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
17567
17568 * gcc.texi (Passes): Document branch-shortening.
17569 * invoke.texi (Debugging Options): Document the fact that `-dp'
17570 outputs length information for instructions.
17571
17572 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
17573
17574 * flow.c: Revert previous delta.
17575
17576 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
17577
17578 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
17579 FRAME_POINTER_REGNUM.
17580 (mark_set_1): Ditto.
17581 (mark_used_regs): Ditto.
17582
17583 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
17584
17585 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
17586 (GOT_PCREL): New macro. Define to 1 if not already defined.
17587 * arm/elf.h (GOT_PCREL): Define to 0.
17588 * arm.c (arm_finalize_pic): Take into account the setting of
17589 GOT_PCREL.
17590
17591 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
17592
17593 * output.h (STRIP_NAME_ENCODING): Provide default definition.
17594 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
17595
17596 * flow.c (mark_set_1): Do not record BLKmode stores as dead
17597 store elimination candidates.
17598
17599 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
17600
17601 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
17602 TARGET_GAS.
17603
17604 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
17605
17606 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
17607 Add use of x-aix41-gld.
17608
17609 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
17610
17611 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
17612 (ASM_OUTPUT_DESTRUCTOR): Define.
17613
17614 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
17615
17616 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
17617 last CODE_LABEL in a loop if we have previously passed a jump
17618 to the top of the loop.
17619
17620 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
17621
17622 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
17623 applying Philip's patch.
17624
17625 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
17626
17627 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
17628 are not VAR_DECLs.
17629
17630 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
17631
17632 * loop.c (strength_reduce): Grow reg_single_usage as needed.
17633
17634 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
17635
17636 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
17637 Also remove a useless comment.
17638
17639 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
17640
17641 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
17642
17643 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
17644
17645 * collect2.c (main): Only generate import or export file and add
17646 to link arguments if non-empty. Use xmalloc not alloca.
17647 (write_{export,import}_file): Delete.
17648 (write_aix_file): New function.
17649 (locatelib): Use xmalloc not malloc.
17650 (GCC_OK_SYMBOL): Do not check type if aix64.
17651
17652 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
17653
17654 Based on patch by Scott Bambrough and Pat Beirne:
17655 * config/arm/arm.c (making_const_table): New variable.
17656 * config/arm/arm.h (making_const_table): Declare.
17657 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
17658 appropriate.
17659 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
17660 Keep track of when we are building the constant table.
17661
17662 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
17663
17664 * config/arm/arm.c (arm_override_options): Fix erroneous warning
17665 message.
17666
17667 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
17668
17669 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
17670 defined.
17671
17672 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
17673
17674 * tm.texi (FUNCTION_ARG): Correct description of a stack element
17675 in a PARALLEL.
17676
17677 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
17678
17679 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
17680
17681 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17682
17683 * rs6000.c (output_mi_thunk): Enable full support again.
17684
17685 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17686
17687 * sh.h (BRANCH_COST): Define.
17688
17689 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
17690
17691 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
17692
17693 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
17694
17695 * function.c (assign_stack_local): Align stack slot propertly.
17696 (assign_outer_stack_local): Likewise.
17697
17698 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
17699
17700 * expr.h (lang_expand_constant): Declare.
17701 * toplev.c (lang_expand_constant): Define it.
17702 * varasm.c (output_constant): Use it.
17703
17704 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17705
17706 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
17707 Change function definitions to K&R style.
17708
17709 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17710
17711 * fixinc/fixincl.c: We must not ignore SIGCLD now.
17712
17713 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
17714
17715 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
17716 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
17717 (several places): omit static initialization
17718 (process): use single fd, since only the read fd is used
17719 * fixinc/gnu-regex.c: define 'const' away, if not supported
17720 * fixinc/procopen.c(several places): omit static initialization
17721 * fixinc/server.c: define 'volitile' away, if not supported
17722
17723 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
17724
17725 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
17726 asm_fprintf and %L to generate the label name.
17727 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
17728 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
17729
17730 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
17731
17732 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
17733 insn for a conditional jump can not be found.
17734
17735 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
17736
17737 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
17738 on variables in specific sections other than .sbss and .sdata.
17739
17740 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
17741
17742 * stmt.c (expand_return): Call start_cleanup_deferral and
17743 end_cleanup_deferral around conditional code.
17744
17745 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17746
17747 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
17748 filename lists. Utilizes new "krstr" AutoGen function.
17749 * fixinc/fixincl.x: Rebuilt.
17750
17751 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
17752
17753 * i386.c (output_float_compare): Avoid GNU-C extensions.
17754
17755 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
17756
17757 * version.c: Bump to distinguish mainline tree from the
17758 gcc-2.95 branch.
17759
17760 See ChangeLog.1 for earlier changes.
This page took 0.841176 seconds and 5 git commands to generate.