44a19e6a9c691bfe717105294c29017bd0a95220
[gcc.git] / gcc / ChangeLog
1 2000-02-16 Jason Merrill <jason@casey.cygnus.com>
2
3 * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
4
5 2000-02-16 Nick Clifton <nickc@cygnus.com>
6
7 * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
8 (make_insn_raw): Move RTL check here.
9
10 2000-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11
12 * version.c: Include gansidecl.h and version.h.
13
14 * version.h: Wrap entire file in macro __GCC_VERSION_H__.
15
16 * configure.in (gcc_version): When setting, narrow search to
17 lines containing `version_string'.
18
19 * Makefile.in (mainversion): Likewise.
20 (GCC_H): New variable.
21 (gcc.h): Delete target.
22 (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
23 (version.o): Depend on version.h.
24 (dbxout.o): Don't depend on gcc.h.
25
26 Wed Feb 16 15:04:49 2000 Hans-Peter Nilsson <hp@bitrange.com>
27 Michael Meissner <meissner@cygnus.com>
28
29 * md.texi (Simple Constraints): Add item about whitespace.
30 * genoutput.c (strip_whitespace): New.
31 (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
32 strip_whitespace for constraints.
33 Test pointer using NULL, not 0.
34
35 2000-02-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
36
37 * cpplib.c (do_line): Pedwarn for #line > 32767.
38
39 * c-lex.c (readescape): Warn about '\x', but do not reject it.
40
41 2000-02-15 Jonathan Larmour <jlarmour@redhat.co.uk>
42
43 * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
44 to default cpp spec.
45 (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
46 * cpp.texi: Document __GNUC_PATCHLEVEL__.
47 * cpp.1: Likewise.
48
49 * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
50 default spec.
51
52 2000-02-15 Denis Chertykov <denisc@overta.ru>
53
54 * configure.in: Add support for avr target.
55
56 Wed Feb 16 03:21:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
57
58 * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
59 (sh_addr_diff_vec_mode): Don't declare.
60 * sh.c (sh_addr_diff_vec_mode): Delete.
61
62 Wed Feb 16 01:27:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
63
64 * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
65
66 Wed Feb 16 00:58:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
67
68 * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
69 (smulsi3_highpart_i): Name.
70 (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
71 (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
72 (smulsi3_highpart, umulsi3_highpart): Likewise.
73
74 (mulsidi3_i, umulsidi3_i): Make rtl describe operation
75 correctly independent of endianness.
76 (mulsidi3, umulsidi3): Now define_insn. Hide details that
77 confuse the optimizers.
78 (mulsidi3+1, umulsidi3+1): New define_split.
79
80 Tue Feb 15 23:22:26 2000 Andrew Haley <aph@cygnus.com>
81
82 * config/sh/sh.md: Guard insn splits against illegal registers.
83 * config/sh/sh.h: Correct comment about macros.
84
85 Tue Feb 15 22:30:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
86 Andrew MacLeod <amacleod@cygnus.com>
87
88 * Makefile.in (lcm.o): Depend on insn-attr.h.
89 * basic-block.h (optimize_mode_switching): Declare.
90 * lcm.c (tm_p.h, insn-attr.h): #include.
91 (seginfo, bb_info): New structs.
92 (antic, transp, comp, delete, insert) : New file-scope static variables.
93 (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
94 (reg_becomes_live, optimize_mode_switching): Likewise.
95 * tm.texi: Add description of mode switching macros.
96 * toplev.c (rest_of_compilation): Call optimize_mode_switching.
97
98 * sh-protos.h (remove_dead_before_cse): Remove prototype.
99 (fldi_ok, fpscr_set_from_mem): New prototypes.
100 * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
101 (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
102 Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
103 (sh_flag_remove_dead_before_cse): Remove declaration.
104 (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
105 (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
106 (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
107 * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
108 (barrier_align): Allow for JUMP_INSNS containing a parallel.
109 (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
110 (fldi_ok): New function.
111 (get_fpscr_rtx): Add fpscr_rtx as GC root.
112 (emit_sf_insn): Only generate fpu switches when optimize < 1.
113 (emit_df_insn): Likewise.
114 (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
115 (sh_flag_remove_dead_before_cse): Delete.
116 (get_free_reg, fpscr_set_from_mem): New functions.
117 * sh.md (movdf, movsf): Remove no_new_pseudos code.
118 (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
119
120 2000-02-15 Loren Rittle <ljrittle@acm.org>
121
122 * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
123
124 2000-02-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
125
126 * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
127 cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
128
129 * cccp.c: Include version.h and/or don't declare `version_string'.
130 * collect2.c: Likewise.
131 * alpha.c: Likewise.
132 * arm/aof.h: Likewise.
133 * arm/coff.h: Likewise.
134 * arm/elf.h: Likewise.
135 * arm/pe.h: Likewise.
136 * arm/tcoff.h: Likewise.
137 * arm/telf.h: Likewise.
138 * arm/tpe.h: Likewise.
139 * arm/vxarm.h: Likewise.
140 * convex/convex.c: Likewise.
141 * i386/dgux.c: Likewise.
142 * i386/sun386.h: Likewise.
143 * m88k/m88k.c: Likewise.
144 * mcore/mcore-pe.h: Likewise.
145 * mips/mips.h: Likewise.
146 * romp/romp.h: Likewise.
147 * sh/sh.c: Likewise.
148 * cpphash.c: Likewise.
149 * cppinit.c: Likewise.
150 * dwarf2out.c: Likewise.
151 * dwarfout.c: Likewise.
152 * gcc.c: Likewise.
153 * gcc.h: Likewise.
154 * mips-tfile.c: Likewise.
155 * protoize.c: Likewise.
156 * toplev.c: Likewise.
157 * tree.h: Likewise.
158
159 * version.c (version_string): Constify a char*.
160
161 * version.h: New file.
162
163 2000-02-14 Nick Clifton <nickc@cygnus.com>
164
165 * configure.in: Add mcore-elf and mcore-pe targets.
166 * configure: Regenerate.
167
168 * NEWS: Add note that MCore port has been contributed.
169
170 * invoke.texi: Document command line switches for MCore port.
171 * install.texi: Add MCore to list of supported targets.
172
173 2000-02-14 Geoff Keating <geoffk@cygnus.com>
174
175 * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
176 then we will need to import the frame handling functions.
177 (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
178 to import the frames themselves.
179
180 Mon Feb 14 13:31:01 2000 Stan Cox <scox@cygnus.com>
181 Jason Eckhardt <jle@cygnus.com>
182
183 * basic_block.h: Added prototype for reorder_basic_blocks.
184 * toplev.c: Changes to add -freorder-blocks and graph dump after
185 block reordering is done.
186 * flow.c (reorder_block_def): New structure for use during block
187 reordering.
188 (REORDER_BLOCK_*): New macros to access members of above structure.
189 (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
190 make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
191 functions for block reordering.
192
193 Mon Feb 14 11:24:44 2000 Hans-Peter Nilsson <hp@bitrange.com>
194
195 * gcc.texi (Passes): Fix typo.
196 * md.texi (Standard Names): Ditto.
197 * tm.texi (Storage Layout): Ditto.
198
199 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
200
201 * cpplib.c (do_define): Only free the old definition if it
202 actually had one.
203
204 2000-02-13 Neil Booth <NeilB@earthling.net>
205
206 * cppfiles.c (read_and_prescan): When emitting deferred
207 newlines, test speccase[] again instead of checking each
208 possible whitespace character in turn. When we encounter \r,
209 look behind for \n first, then ahead.
210
211 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
212
213 * cse.c (cse_altered): New internal flag.
214 (cse_insn): Set it if we changed an insn.
215 (cse_main): Clear cse_altered before each basic block.
216 Only garbage collect if cse_altered is true afterward.
217
218 Sun Feb 13 14:12:28 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
219
220 * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
221
222 Sun Feb 13 13:21:55 2000 Jeffrey A Law (law@cygnus.com)
223
224 * combine.c (simplify_comparison): Fix typo.
225
226 Sun Feb 13 12:57:52 2000 Neil Booth <NeilB@earthling.net>
227
228 * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
229 consistently.
230
231 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
232
233 * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
234 previously inserted node instead of root node. Caller changed.
235
236 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
237
238 * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
239
240 2000-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
241
242 * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
243 __dereg_frame_dtor): Add prototype argument.
244
245 * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
246
247 * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
248
249 * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
250
251 * gthr-vxworks.h (__gthread_once): Likewise.
252
253 * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
254
255 Sat Feb 12 01:44:26 MET 2000 Jan Hubicka <jh@suse.cz>
256
257 * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
258 (ix86_expand_epilogue): ... here. Use mov instead of add to restore
259 stack pointer in functions w/o saved registers, output LEAVE more often
260 on TARGET_USE_LEAVE machines.
261
262 2000-02-07 Dmitri Makarov <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
263
264 * config/arm/arm.c (arm_init_cumulative_args); New function:
265 Initlaise the CUMULATIE_ARGS strcuture for a function
266 defintion.
267 (arm_function_arg): New function: Determine where to place a
268 function's argument. Also handles deciding the function's
269 call cookie.
270 (current_file_function_operand): New function: Return true if
271 the symbol is a function which has already been compiled.
272 (arm_is_long_call_p): New function: Return true if the
273 indicated function should be called via a long call.
274 (arm_valid_type_attribute_p): New function: Return true if the
275 attribute is a valid, arm specific, attribute.
276 (arm_comp_type_attribute): New function: Return true if the
277 two types have compatable, arm specific, attributes.
278
279 * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
280 structure.
281 (FUNCTION_ARG): Redefine to call arm_function_arg.
282 (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
283 structure field.
284 (INIT_CUMULATIVE_ARGS): Redefine to call
285 arm_init_cumulative_args.
286 (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
287 field.
288 (SETUP_INCOMING_VARARGS): Redefine to use correct structure
289 field.
290 (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
291 functions.
292 (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
293 (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
294 (COMP_TYPE_ATTRIBUTES): Define.
295
296 * config/arm/arm.md (call): Call arm_is_long_call_p to decide
297 if a long call is needed.
298 (call_value): Call arm_is_long_call_p to decide if a long call
299 is needed.
300 (call_symbol): Call arm_is_long_call_p to decide if a long call
301 is needed.
302
303 * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
304
305 2000-02-11 Denis Chertykov <denisc@overta.ru>
306
307 * README.AVR: New file with information about the avr ports.
308 * config/avr: New directory with avr port files.
309
310 2000-02-11 Andreas Jaeger <aj@suse.de>
311
312 * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
313
314 2000-02-11 Zack Weinberg <zack@wolery.cumb.org>
315
316 * cpphash.c: Fix formatting, update commentary.
317 (dump_definition): Take three separate arguments instead of a
318 MACRODEF structure argument.
319 * cpphash.h: Update prototype of dump_definition.
320 * cppinit.c (cpp_finish): Update call of dump_definition.
321
322 * cpplib.c (do_define): Always create new hash entry with
323 T_MACRO type. Remove redundant check for redefinition of
324 poisoned identifier. Update call of dump_definition.
325 (do_undef): Don't call check_macro_name. Rename sym_length to
326 len.
327 (do_error, do_warning): Don't use copy_rest_of_line or
328 SKIP_WHITE_SPACE.
329 (do_warning): Don't use pedwarn for the actual warning,
330 only the notice about its not being in the standard. (Fixes
331 bug with #warning in system headers.)
332 (do_ident): Stricter argument checking - accept only a single
333 string after #ident. Also, macro-expand the line.
334 (do_xifdef): Use cpp_defined. De-obfuscate.
335
336 (do_pragma): Split out specific pragma handling to separate
337 functions. Use get_directive_token. Update commentary. Do
338 not pass on #pragma once or #pragma poison to the front end.
339 (do_pragma_once, do_pragma_implementation, do_pragma_poison,
340 do_pragma_default): New.
341
342 Feb 11 12:30:53 2000 Jeffrey A Law (law@cygnus.com)
343
344 * jump.c (jump_optimize_1): The first operand in a relational
345 can be a CONST_INT.
346 * optabs.c (emit_conditional_move): Handle relationals which
347 have a known true/false result.
348
349 2000-02-11 Geoff Keating <geoffk@cygnus.com>
350
351 * function.c (thread_prologue_and_epilogue_insns): Don't insert
352 a RETURN insn into a block which already ends with a jump.
353
354 2000-02-11 Geoff Keating <geoffk@cygnus.com>
355
356 * haifa-sched.c (BUF_LEN): Increase a lot.
357
358 2000-02-11 Nick Clifton <nickc@cygnus.com>
359
360 * configure.in: Add tm_p_file specification for thumb targets.
361 * configure: Regenerate.
362
363 * config/arm/thumb-protos.h: New file: Prototypes for exported
364 functions defined in thumb.c.
365
366 2000-02-11 Robert Lipe <robertl@sco.com>
367
368 * Makefile.in (bootstrap-lean): Remove additional files.
369 (bootstrap2-lean): Likewise.
370 (VOL_FILES): List of files for above.
371
372 2000-02-11 Nathan Sidwell <nathan@acm.org>
373
374 * cpphash.c (special_symbol): Remove spurious argument to
375 cpp_lookup.
376
377 2000-02-11 Joel Sherrill (joel@OARcorp.com>
378
379 * configure.in: (i*86-*-rtems*): Swapped elf and coff
380 stanzas.
381 * configure: Rebuilt.
382
383 2000-02-11 Rodney Brown <RodneyBrown@pmsc.com>
384
385 * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
386
387 Fri Feb 11 02:59:05 2000 Jeffrey A Law (law@cygnus.com)
388
389 * pa.c, pa.h: Remove trigraph sequences within comments.
390
391 Fri Feb 11 02:51:56 2000 Pavel Roskin <pavel_roskin@geocities.com>
392
393 * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
394
395 Fri Feb 11 02:48:30 2000 Brad Lucier (lucier@math.purdue.edu)
396
397 * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
398
399 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
400
401 * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
402
403 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
404
405 * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
406 (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
407 (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
408 (ASM_FILE_END): Use c4x_file_end.
409 * config/c4x/c4x.c (c4x_global_label): New function.
410 (c4x_external_ref, c4x_file_end): Likewise.
411
412 * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
413 (c4x_external_ref, c4x_end_file): Likewise.
414
415 2000-02-10 Zack Weinberg <zack@wolery.cumb.org>
416
417 * cppexp.c: Don't include cpphash.h.
418 (parse_charconst, cpp_lex): Use cpp_defined.
419 (cpp_lex): Use get_directive_token throughout. Remove
420 unnecessary cases from switch. Move assertion-handling code
421 down to OTHER case.
422 (cpp_parse_expr): If we see '+' or '-', check the context to
423 determine if they are unary or binary operators. Streamline
424 the jumps a bit. Do not call skip_rest_of_line.
425
426 * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
427 static. Export get_directive_token. Update commentary.
428 (cpp_defined): New function.
429 (do_define): Remove reference to T_PCSTRING. Call
430 free_definition to release memory for old definition, when
431 redefining a macro.
432 (eval_if_expression): Set only_seen_white to 0 before calling
433 cpp_parse_expr. Call skip_rest_of_line after it returns.
434 (cpp_read_check_assertion): Don't preserve a pointer into the
435 token buffer across a call to cpp_get_token.
436
437 * Makefile.in (cppexp.o): Don't depend on cpphash.h.
438 * cppfiles.c (redundant_include_p): Use cpp_defined.
439 * cpphash.c (free_definition): New function.
440 (delete_macro): Use it. Update commentary.
441 * cpphash.h: Typedef HASHNODE here. Prototype cpp_lookup and
442 free_definition.
443 * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
444 from enum node_type. Prototype cpp_defined and get_directive_token.
445 Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
446
447 * fix-header.c (check_macro_names): Use cpp_defined.
448 (read_scan_file): Set inhibit_warnings and inhibit_errors in
449 the options structure.
450
451 2000-02-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
452
453 * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
454
455 2000-02-10 Jason Merrill <jason@casey.cygnus.com>
456
457 * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
458 rather than die->die_tag.
459
460 Thu Feb 10 16:26:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
461
462 * combine.c (make_extraction, force_to_mode): Avoid warning on
463 mixed-signedness conditionals.
464 (make_field_assignment, nonzero_bits): Likewise.
465 * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
466 (store_split_bit_field, extract_split_bit_field): Likewise.
467 (extract_fixed_bit_field, store_bit_field,
468 * expr.c: Change alignment to be unsigned everywhere.
469 (move_by_pieces, store_constructor_field, store_constructor):
470 Alignment parm is unsigned.
471 (emit_block_move, emit_group_load, emit_group_store): Likewise.
472 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
473 (do_compare_rtx_and_jump): Likewise.
474 (move_by_pieces_ninsns, clear_by_pieces): Likewise.
475 Compare align with GET_MODE_ALIGNMENT.
476 (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
477 (get_inner_reference): Likewise.
478 (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
479 (expand_assignment): Local vars for alignment now unsigned.
480 (store_constructor, store_field, expand_expr, do_jump): Likewise.
481 (do_compare_and_jump): Likewise.
482 (store_field): Call new function expr_align.
483 * expr.h (emit_block_move, emit_group_load, emit_group_store):
484 Alignment arg now unsigned.
485 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
486 (do_compare_rtx_and_jump, store_bit_field): Likewise.
487 (extract_bit_field): Likewise.
488 * fold-const.c (add_double): Add cast to eliminate signedness warning.
489 * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
490 (get_best_mode): Alignment arg is unsigned.
491 * rtl.h (move_by_pieces): Likewise.
492 * store-layout.c (maximum_field_alignment, set_alignment):
493 Now unsigned.
494 (layout_decl): Alignment arg is now unsigned.
495 Remove unneeded casts.
496 (layout_record, layout_union, layout_type): Remove unneeded casts.
497 Local alignment variables now unsigned.
498 (get_best_mode): Alignment arg now unsigned.
499 * tree.c (expr_align): New function.
500 * tree.h (expr_align): Likewise.
501 (maximum_field_alignment, set_alignment): Now unsigned.
502 (get_inner_reference): Alignment argument is now pointer to unsigned.
503 * varasm.c (assemble_variable): Add cast to eliminate warning.
504
505 Thu Feb 10 12:56:47 2000 Jim Wilson <wilson@cygnus.com>
506
507 * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
508 then store directly into op0.
509
510 * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
511 the CALL_INSN, and emit the note immediately after it.
512
513 2000-02-10 Nick Clifton <nickc@cygnus.com>
514
515 * config/arm/thumb.md (epilogue): Include a (return) in the
516 generated insn, and emit it using emit_jump_insn not
517 emit_insn.
518
519 Thu Feb 10 18:28:59 MET 2000 Jan Hubicka <jh@suse.cz>
520
521 * function.c (assign_temp): Change zero-sized arrays to size 1.
522 * integrate.c (expand_inline_function): Do not update
523 stack_alignment_needed
524 * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
525 add some sanity checking, remove optimization for function with
526 zero frame size.
527
528 2000-02-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
529
530 * flow.c (mark_regs_live_at_end): Delete unused variables.
531
532 * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
533
534 * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
535 in macro FRAME_GROWS_DOWNWARD.
536
537 * stmt.c (expand_end_bindings): Delete unused variable.
538
539 * unroll.c (iteration_info): Mark parameter `loop' with
540 ATTRIBUTE_UNUSED.
541
542 2000-02-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
543
544 * fixinc/server.c (load_data): Return NULL if the marker line is
545 not found.
546 (run_shell): If load_data returns NULL, retry the command once, in
547 a new shell.
548
549 * configure: Rebuilt.
550
551 2000-02-09 Bruce Korb <bkorb@gnu.org>
552
553 * gcc/fixincludes: ** DELETED **
554 * gcc/fixcpp: ** DELETED **
555 * gcc/fixinc-nt.sed: ** DELETED **
556 * gcc/just-fixinc: ** DELETED **
557 * gcc/Makefile.in: Removed out-dated commentary
558 * gcc/configure.in: Removed fast-fixincludes disablement.
559 * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
560
561 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
562 * function.c (thread_prologue_and_epilogue_insns): Uncomment
563 last change.
564
565 2000-02-09 Richard Henderson <rth@cygnus.com>
566
567 * jump.c (delete_insn): Don't delete user labels at -O0.
568
569 2000-02-09 Robert Lipe <robertl@sco.com>
570
571 * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
572 Don't link with HOST_LIBS.
573
574 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
575
576 * configure.in: Correct --help text for --with-dwarf2.
577 Put tm-dwarf2.h after other tm files, if it's requested.
578 * configure: Regenerate.
579 * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
580 defining it.
581
582 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
583
584 * cpplib.h: Provide HASHNODE typedef and forward decl of
585 struct hashnode only. Kill cpp_hashnode typedef. MACRODEF,
586 DEFINITION, struct hashnode, struct macrodef, struct
587 definition, scan_decls prototype, default defn of
588 INCLUDE_LEN_FUDGE moved elsewhere.
589
590 * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
591 definition, and struct hashnode moved here. Remove the unused
592 'predefined' field from struct definition. Replace the 'args'
593 union with its sole member. All users updated (cpphash.c).
594 Delete HASHSTEP and MAKE_POS macros, and hashf prototype. Add
595 multiple include guard.
596
597 * cpphash.c (hashf): Make static; use better algorithm; drop
598 HASHSIZE parameter; return an unsigned int.
599 (cpp_lookup): Drop HASH parameter. PFILE parameter is
600 used. Calculate HASHSIZE modulus here.
601 (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
602 here.
603 (create_definition): Drop PREDEFINITION parameter.
604 * cpplib.c (do_define): Don't calculate a hash value here.
605 Don't pass (keyword == NULL) to create_definition.
606
607 * scan.h: Prototype scan_decls here.
608 * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
609 * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
610 callers of cpp_lookup and cpp_install updated.
611
612 * cpphash.c (macarg): Hoist all the flag diddling out of the
613 function...
614 (macroexpand): ... and out of the loop that calls macarg.
615 Skip over the initial paren before macro arguments with
616 cpp_get_non_space_token; point may be some distance before
617 that paren. Abort if it's not there.
618
619 * cpplib.c (parse_clear_mark): Delete function.
620 (parse_set_mark, parse_goto_mark): Make static.
621 (ACTIVE_MARK_P): New macro.
622 (skip_block_comment, skip_line_comment): Do not bump the line
623 if ACTIVE_MARK_P is true.
624 (cpp_pop_buffer): The buffer to be popped may not have an
625 active mark.
626 (cpp_get_token): When looking for the initial paren before
627 macro arguments, only set a mark in a file buffer, Always
628 return to that mark before proceeding to call macroexpand or
629 return a NAME token.
630
631 * cpplib.h: Remove prototypes of parse_set_mark,
632 parse_clear_mark, parse_goto_mark.
633 (struct cpp_options): Rename 'put_out_comments' to
634 'discard_comments' and invert its sense.
635 * cppinit.c, cpphash.c, cpplib.c: All users of
636 put_out_comments changed to use discard_comments, with
637 opposite sense.
638
639 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
640
641 * function.c (thread_prologue_and_epilogue_insns): Don't delete
642 the edge from a block that both jumps and falls through to the
643 fallthru block.
644
645 2000-02-09 Scott Bambrough <scottb@netwinder.org>
646
647 * config/arm/arm.md (movsi): In PIC mode, make sure that a
648 constant source address is legitimate.
649
650 2000-02-09 Philip Blundell <pb@futuretv.com>
651
652 * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
653 correctly.
654
655 * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
656 generating PIC.
657 (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
658
659 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
660
661 * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
662 ends with a newline and a NUL. Don't be so clever manipulating
663 strings.
664
665 Wed Feb 9 14:18:08 MET 2000 Jan Hubicka <jh@suse.cz>
666
667 * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
668 not to BIGGEST_ALIGNMENT.
669
670 2000-02-08 Geoff Keating <geoffk@cygnus.com>
671
672 * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
673 * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
674 (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
675 (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
676 * frame.c (execute_cfa_insn): Handle
677 DW_CFA_GNU_negative_offset_extended.
678
679 2000-02-08 Richard Henderson <rth@cygnus.com>
680
681 * flow.c (tidy_fallthru_edges): Split out from ...
682 (delete_unreachable_blocks): ... here.
683 (find_basic_blocks): Use it.
684
685 Tue Feb 8 15:51:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
686
687 * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
688
689 2000-02-08 Zack Weinberg <zack@wolery.cumb.org>
690
691 * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
692 (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
693 (fix-header.o): Don't depend on cpphash.h.
694
695 * scan.c (hashstr): New function.
696 * scan.h: Prototype it.
697 * fix-header.c: Don't include cpphash.h. Use hashstr.
698 * gen-protos.c: Don't include cpphash.h or cpplib.h. Use
699 hashstr. Report hash table statistics. Add private
700 definition of xrealloc.
701
702 2000-02-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
703
704 * i386.h (TARGET_SWITCHES): Fix typo in option name.
705
706 2000-02-08 Clinton Popetz <cpopetz@cygnus.com>
707
708 * function.c (thread_prologue_and_epilogue_insns): Don't replace
709 jumps with returns unless they are jumps to the fallthru block.
710
711 Tue Feb 8 07:53:55 2000 Jan Hubicka <jh@suse.cz>
712
713 * i386.md (addqi3_cc): Fix contraints.
714
715 Tue Feb 8 01:39:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
716
717 * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
718
719 2000-02-07 Mark Mitchell <mark@codesourcery.com>
720
721 * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
722 carriage return after a macro name.
723
724 2000-02-07 Fred Fish <fnf@be.com>
725
726 * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
727 so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
728
729 2000-02-07 Zack Weinberg <zack@wolery.cumb.org>
730
731 * cppfiles.c (deps_output): Count spacers in deps_column.
732
733 2000-02-07 Neil Booth <NeilB@earthling.net>
734
735 * cppinit.c (initialize_dependency_output): If there is no
736 suffix, don't try to look for known suffixes. Use strrchr.
737 (cpp_start_read): Remove duplicate initialization.
738
739 Mon Feb 7 18:36:41 MET 2000 Jan Hubicka <jh@suse.cz>
740
741 * calls.c (compute_argument_block_size): New argument
742 preferred_stack_boundary.
743 (expand_call): update cfun->preferred_stack_boundary, update call of
744 compute_argument_block_size
745 (emit_library_call): Increate cfun->preferred_stack_boundary
746 to PREFERRED_STACK_BOUNDARY
747 (emit_library_call_value): Likewise.
748 * explow.c (allocate_dynamic_stack_spave): Likewise.
749 * function.c (prepare_function_start): Set
750 cfun->preferred_stack_boundary
751 * function.h (struct function): Add preferred_stack_boundary field.
752 * integrate.c (expand_inline_function): Update
753 cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
754 (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
755 * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
756
757 2000-02-06 Zack Weinberg <zack@wolery.cumb.org>
758
759 * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
760 cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
761 cpp_pedwarn, cpp_pedwarn_with_line,
762 cpp_pedwarn_with_file_and_line): Move to cpperror.c.
763 (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
764 v_cpp_error_with_line, v_cpp_warning_with_line,
765 cpp_message_from_errno, cpp_perror_with_name): Delete.
766
767 * cpperror.c (cpp_print_containing_files): Take starting
768 buffer as argument.
769 (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
770 (v_cpp_message): Now called directly by all entry points.
771 Remove -1 case.
772 (cpp_pfatal_with_name, cpp_message): Delete.
773 (cpp_notice_from_errno, cpp_ice): New functions.
774 (cpp_notice): Is now for reporting error conditions, just
775 without an associated file.
776 (cpp_error, cpp_error_with_line): Don't do anything if
777 opts->inhibit_errors is on.
778 (cpp_pedwarn_with_file_and_line): Take column argument also.
779
780 * cpplib.h: Update prototypes of exported functions.
781 (struct cpp_options): Add inhibit_errors.
782
783 * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
784 non-error messages. Include intl.h.
785
786 * cppinit.c, cppmain.c: Likewise. Also, use
787 cpp_notice_from_errno instead of cpp_perror_with_name or
788 cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
789
790 * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
791 report internal errors.
792
793 * cpplib.c (do_define): Switch bcopy to memcpy.
794 Give cpp_pedwarn_with_file_and_line a dummy column argument.
795
796 * cpplib.c (copy_rest_of_line): Revert previous change: don't
797 bail out early if we hit a line comment.
798
799 2000-02-06 Richard Henderson <rth@cygnus.com>
800
801 * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
802 * basic-block.h: Declare them.
803 * emit-rtl.h (active_insn_p): New.
804 (next_active_insn, prev_active_insn): Use it.
805 * rtl.h: Declare it.
806 * function.c (emit_return_into_block): New.
807 (thread_prologue_and_epilogue_insns): Insert return insns instead
808 of epilogues when possible.
809 * jump.c (jump_optimize_1): Remove code to insert a return insn
810 on the fallthru to the exit block.
811
812 * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
813 and for non-empty stack frames.
814 * i386.md (return): Expand to return-pop as needed.
815
816 2000-02-06 Richard Henderson <rth@cygnus.com>
817
818 * simplify-rtx.c (simplify_relational_operation): Canonicalize
819 constant to op1 for testing.
820
821 2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
822
823 * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
824 (fixuns_truncqfqi2): Use it.
825
826 2000-02-06 Richard Henderson <rth@cygnus.com>
827
828 * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
829 as a TYPE_LEA insn.
830
831 * i386.md (widening and peepholes): Mask the constant instead of
832 using gen_lowpart.
833
834 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
835
836 * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
837 input pointer before possibly branching off to the backslash
838 code.
839 * cpphash.c (macroexpand): Correctly delete \r escapes when
840 stringifying parameters.
841 * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
842 if we can; bail out early if we hit a line comment.
843 (handle_directive): Treat '# 123' in an .S file just like
844 '# <punctuation>'. Discard the shifted '#' if we hit '#\n'.
845 Return 1 for '# not_a_directive'.
846 (get_directive_token): Pop macro buffers here, so that
847 cpp_get_token can't sneakily move past a newline.
848 Add sanity checks.
849 (cpp_get_token): goto randomchar if handle_directive returns 0.
850
851 * cppalloc.c: Update copyright.
852 * cpplib.c: Merge all the static function prototypes into one
853 block.
854 * cpplib.h: Remove #if 0 block.
855
856 * cpperror.c: Remove #ifdef EMACS block.
857 * cppmain.c: Likewise.
858 * cpphash.c: Remove #if 0 blocks.
859 * cppinit.c: Remove #if 0 blocks, and the -lint option.
860 * cpplib.c: Remove #if 0 blocks and code referencing
861 pcp_inside_if or for_lint. Remove duplicate error message.
862 Fix error messages for #else after #else or #elif. Reformat.
863 Remove archaic TODO list.
864 * cpplib.h: Remove pcp_inside_if and for_lint flags.
865
866 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
867
868 * i386/osf1elf.h: Add missing backslash to multiline string.
869
870 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
871
872 * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
873
874 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
875
876 * Makefile.in (c-common.o): Depend on $(EXPR_H).
877
878 * c-common.c: Include expr.h.
879
880 * c-pragma.c (mark_align_stack): Add prototype.
881
882 * caller-save.c (add_stored_regs): Likewise.
883
884 * combine.c (record_promoted_value): Likewise.
885
886 * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
887 Likewise.
888
889 * cppinit.c (new_pending_define): Likewise.
890
891 * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
892
893 * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
894 AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
895 AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
896 class_scope_p): Likewise.
897
898 * dwarf2out.h (dwarf2out_set_demangle_name_func,
899 dwarf2out_add_library_unit_info): Likewise.
900
901 * ggc.h (ggc_page_print_statistics): Likewise.
902
903 * haifa-sched.c (propagate_deps): Likewise.
904
905 * reg-stack.c (next_flags_user, record_label_references): Likewise.
906
907 * rtl.h (set_stack_check_libfunc): Likewise.
908
909 * toplev.h (set_fatal_function): Likewise.
910
911 * toplev.c (set_fatal_function): Delete prototype.
912
913 * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
914
915 2000-02-05 Geoff Keating <geoffk@cygnus.com>
916
917 * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
918 (FUNC_END): Likewise.
919
920 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
921
922 * caller-save.c: Include tm_p.h.
923
924 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
925
926 * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
927
928 2000-02-04 Neil Booth <NeilB@earthling.net>
929
930 * cccp.c (main): Check 'dir' for a NULL pointer before passing
931 it to strcmp.
932
933 2000-02-04 Zack Weinberg <zack@wolery.cumb.org>
934
935 * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
936 * genflags.c: Use the max_operand_1 logic from genemit.c to
937 calculate how many arguments gen_insn prototypes have. Remove
938 NO_MD_PROTOTYPES ifdefs from the generated file.
939 * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
940 file. Cast gen_insn initializers to insn_gen_fn.
941 * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
942 * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
943
944 2000-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
945
946 * fixinc/Makefile.in (HDR): Add machname.h.
947 (clean): Likewise.
948
949 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
950
951 * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
952 (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
953 (c4x_cpu_version): Ditto.
954 * config/c4x/c4x-protos.h: ... here.
955
956 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
957
958 * dwarf2out.c (add_abstract_origin_attribute): Don't call
959 gen_abstract_function on our context if we're a nested function.
960
961 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
962
963 * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
964 * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
965
966 2000-02-04 Bruce Korb <bkorb@gnu.org>
967
968 * fixinc/genfixes(machname.h):
969 Move the functionality from gen-machine.h into this file.
970 UNdef MN_NAME_PAT if there are no names to change.
971 Also, be a little kinder when AutoGen is not present.
972
973 * fixinc/Makefile.in(machname.h):
974 Change the generation rule to use genfixes.
975
976 * fixinc/fixfixes.c(machine_name):
977 machine_name_fix's functionality now dependent upon whether
978 MN_NAME_PAT is defined.
979
980 * fixinc/fixtests.c(machine_name):
981 ditto.
982
983 * fixinc/fixlib.c(mn_get_regexps): conditional on definition
984 of MN_NAME_PAT.
985
986 * fixinc/fixlib.h(mn_get_regexps):
987 ditto
988
989 * fixinc/gen-machine.h: DELETED
990
991 2000-02-04 Jan Hubicka <jh@suse.cz>
992 Richard Henderson <rth@cygnus.com>
993
994 * i386.c (SAVE_REGS_FIRST): Remove.
995 (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
996 (ix86_compute_frame_size): Likewise.
997 (ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack.
998 (ix86_emit_restore_regs): Remove.
999 (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
1000 when a frame pointer is in use.
1001 (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov
1002 instead of pop to restore a register when profitable; emit leave
1003 when profitable.
1004 (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
1005 as a TYPE_LEA insn.
1006 (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
1007 * i386.md (prologue_allocate_stack): Remove.
1008 (epilogue_deallocate_stack): Remove.
1009 (pro_epilogue_adjust_stack): New.
1010
1011 2000-02-04 Richard Henderson <rth@cygnus.com>
1012
1013 * function.c (diddle_return_value): Rework to use a callback function.
1014 Use current_function_return_rtx if it's been set up.
1015 (do_clobber_return_reg, clobber_return_register): New.
1016 (do_use_return_reg, use_return_register): New.
1017 (expand_function_end): Use them.
1018 * stmt.c (expand_null_return): Likewise.
1019 * function.h: Declare them.
1020 * flow.c (mark_regs_live_at_end): Use diddle_return_value.
1021 (mark_reg): Change arguments as appropriate for callback.
1022 * integrate.c (expand_inline_function): Revert 19 Jan change.
1023
1024 Fri Feb 4 20:25:42 2000 Hans-Peter Nilsson <hp@bitrange.com>
1025
1026 * tm.texi (Values in Registers): Fix typo: "fo" "for".
1027 (Misc): Say the scheduler, not the Haifa scheduler.
1028
1029 2000-02-04 Clinton Popetz <cpopetz@cygnus.com>
1030
1031 * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
1032 when in_mem is set. Update all callers.
1033
1034 2000-02-04 Richard Henderson <rth@cygnus.com>
1035
1036 * i386/openbsd.h (INT_ASM_OP): Define.
1037
1038 Fri Feb 4 10:51:30 2000 Hans-Peter Nilsson <hp@bitrange.com>
1039
1040 * tm.texi: Fix various typos.
1041
1042 Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
1043
1044 * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
1045 (MD_STARTFILE_PREFIX_1): New macro.
1046
1047 Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
1048
1049 * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
1050 destination when needed.
1051 (strmovsi, strsetsi): New expander.
1052 (strmovsi_1, strsetsi_1): New pattern.
1053 * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
1054 TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
1055 (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
1056 * invoke.texi (align-stringops, inline-all-stringops): Document.
1057
1058 Wed Feb 2 23:04:47 2000 Krister Walfridsson <cato@df.lth.se>
1059
1060 * i386/netbsd.h (INT_ASM_OP): Define.
1061
1062 2000-02-02 Zack Weinberg <zack@wolery.cumb.org>
1063
1064 * cpplib.h (cpp_reader): Add new flag, no_directives.
1065 * cpphash.c (macarg): Set it.
1066 * cpplib.c (handle_directive): If no_directives is on and we
1067 find a directive, issue an error and discard the line.
1068
1069 Wed Feb 2 13:07:10 2000 Jim Wilson <wilson@cygnus.com>
1070
1071 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
1072 FP constants. Add ! TARGET_FPU check for FP constants.
1073
1074 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
1075
1076 * flow.c (find_basic_blocks): Don't kill label_value_list
1077 here.
1078 (cleanup_cfg): Kill it here.
1079
1080 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1081
1082 * expr.c (store_field): Ensure ALIGN is no stricter than the
1083 alignment of EXP.
1084
1085 2000-02-02 Richard Henderson <rth@cygnus.com>
1086
1087 * jump.c (delete_insn): Partially revert 19 Jan change;
1088 don't convert unused code labels to notes at -O0.
1089
1090 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1091
1092 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
1093 split_all_insns to recreate REG_LABEL notes for flow2 pass.
1094
1095 2000-02-01 Richard Henderson <rth@cygnus.com>
1096
1097 * i386.c (general_no_elim_operand): New.
1098 (nonmemory_no_elim_operand): New.
1099 (ix86_expand_move): Copy eliminable operands before a push.
1100 * i386-protos.h: Declare new functions.
1101 * i386.h (CAN_ELIMINATE): Simplify.
1102 (PREDICATE_CODES): Update.
1103 * i386.md (push insns): Don't allow eliminable register operands.
1104
1105 2000-02-01 Richard Henderson <rth@cygnus.com>
1106
1107 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
1108 replace BLKmode with DECL_RTL's mode.
1109
1110 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
1111
1112 * frame.c (find_fde): Convert for loop to do-while so compiler
1113 sees it's always executed at least once.
1114 * libgcc2.c (BBINBUFSIZE): Kill.
1115 (__bb_init_prg): Use fgets.
1116 (__bb_exit_trace_func): Don't paste strings.
1117 * unroll.c (unroll_loop): Initialize unroll_type, not
1118 unroll_number, and tweak logic to match.
1119
1120 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
1121 all failure paths.
1122 (ix86_flags_dependant): Likewise. Disentangle control flow.
1123 (ix86_sched_reorder): Break guts out to
1124 ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
1125 (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
1126 any possible use.
1127
1128 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
1129 use string concatenation. Don't save and restore esi.
1130
1131 * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
1132 (machname.h): Remove script to separate file. Use two-step
1133 sequence so target is not created if script fails.
1134 * fixinc/gen-machname.h: New file. Handle case where no non-reserved
1135 identifiers are defined.
1136 * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
1137 an empty string, machine_name doesn't need to do anything at
1138 all.
1139 (is_cxx_header): Add more cases to regexp.
1140 * fixinc/fixlib.h: Update prototype.
1141 * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
1142 mn_get_regexps.
1143 * fixinc/fixincl.c: Define NO_BOGOSITY.
1144
1145 * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
1146 (hp_sysfile): Add missing comma.
1147 (math_exception): Put the wrapper ifdefs at the beginning and
1148 the end of the file.
1149 * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
1150
1151 2000-02-01 Richard Henderson <rth@cygnus.com>
1152
1153 * sparc.c (fp_zero_operand): Turn into a normal predicate.
1154 Use CONST0_RTX. Update all callers.
1155 * sparc.h, sparc-protos.h: Update accordingly.
1156 * sparc.md (fp mov insns): Use fp_zero_operand directly
1157 where applicable.
1158
1159 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
1160
1161 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
1162 example.
1163
1164 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1165
1166 * Makefile.in (specs.ready): New target.
1167 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
1168
1169 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1170
1171 * fixinc.irix: Use unique filenames for writing into /tmp,
1172 * fixinc.ptx: Likewise.
1173 * fixinc.sco: Likewise.
1174 * fixinc.svr4: Likewise.
1175 * fixinc.winnt: Likewise.
1176
1177 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1178
1179 * tsystem.h: New file.
1180
1181 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
1182 s-crtS): Depend on tsystem.h.
1183
1184 * crtstuff.c: Include tsystem.h.
1185 * frame.c: Likewise.
1186 * libgcc2.c: Likewise.
1187
1188 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
1189
1190 * builtins.c (expand_builtin_memset): Expand for variable sized
1191 lengths too.
1192
1193 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
1194
1195 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
1196 on ABI.
1197
1198 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
1199
1200 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
1201
1202 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
1203
1204 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
1205
1206 * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
1207 case 3->2 combining (combining with splitting) in which 2 is CC0
1208 setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
1209 checked at the begining of the function with the aid of calling
1210 function 'can_combine_p'.
1211
1212 2000-01-31 Dave Brolley <brolley@redhat.com>
1213
1214 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
1215
1216 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
1217
1218 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
1219 new label.
1220
1221 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1222
1223 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
1224
1225 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
1226 PROTO -> PARAMS.
1227
1228 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
1229
1230 * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
1231 i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
1232 i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
1233 i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
1234 i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
1235 i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
1236 i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
1237 i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
1238 i386/vxi386.h, i386/win-nt.h, i386/win32.h:
1239 Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
1240
1241 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
1242 Add %(cpp_cpu) to CPP_SPEC.
1243
1244 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
1245 Add %(cc1_cpu) to CC1_SPEC.
1246
1247 2000-01-28 Ulrich Drepper <drepper@redhat.com>
1248
1249 * c-decl.c (c_decode_option): Accept optional numeric argument to
1250 -Wformat and set warn_format.
1251 * c-common.c: Don't emit warning about non-constant printf format
1252 string unless warn_format > 1.
1253
1254 2000-01-30 Richard Henderson <rth@cygnus.com>
1255
1256 * alpha.md (return_internal): Allow after reload only.
1257
1258 2000-01-30 Richard Henderson <rth@cygnus.com>
1259
1260 * i386.c (ix86_compute_frame_size): Omit padding1 if the
1261 local frame size is zero.
1262
1263 2000-01-30 Richard Henderson <rth@cygnus.com>
1264
1265 * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
1266 * alpha.h (EPILOGUE_USES): New. Mark $26 live.
1267 * alpha.md (return): Turn into an expander.
1268 (return_internal): Don't use $26.
1269 (epilogue): Emit the return insn.
1270
1271 2000-01-30 Richard Henderson <rth@cygnus.com>
1272
1273 * alpha.md (negtf2, abstf2): Fix word order thinko.
1274 (extendsftf2): New.
1275 (trunctfsf2): Avoid intermediate rounding errors.
1276
1277 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
1278
1279 * cppfiles.c (find_position): Drop 'colp' argument, return the
1280 new line base.
1281 (read_and_prescan): Adjust to match. Don't ever manipulate
1282 line or line_base except via find_position.
1283
1284 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
1285
1286 * c-parse.in: Apply Ulrich's changes from c-parse.y.
1287 * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
1288 Regenerate.
1289
1290 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
1291
1292 * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
1293 just print "<command line>". If 'filename' is null or an
1294 empty string, print "<stdin>" for the filename.
1295 * cpplib.c (do_define): Don't print the 'location of the
1296 previous definition' message if we're still parsing the
1297 command line.
1298 (cpp_pedwarn_with_file_and_line): Always call
1299 cpp_file_line_for_message.
1300
1301 2000-01-29 Mark Mitchell <mark@codesourcery.com>
1302
1303 * flow.c (mark_regs_live_at_end): Fix typo.
1304
1305 2000-01-28 Ulrich Drepper <drepper@redhat.com>
1306
1307 * c-common.c: Adjust variable names, comments, help strings to c99.
1308 * c-lex.c: Likewise.
1309 * c-parse.y: Likewise.
1310 * c-tree.h: Likewise.
1311 * cccp.c: Likewise.
1312 * cpplib.h: Likewise.
1313 * c-decl.c: Likewise. Recognize options with names "*99" as well.
1314 * cppinit.c: Likewise.
1315
1316 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1317
1318 * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
1319 * c4x.c: Define the optab rtx values.
1320 (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
1321 (c4x_emit_libcall): Use new optab rtx values.
1322 (c4x_emit_libcall3): Likewise.
1323 (c4x_emit_libcall_mulhi): Likewise.
1324 * c4x-protos.h: Add prototypes for optab rtx values and change
1325 prototypes for above c4x_emit_libcall functions.
1326
1327 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1328
1329 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
1330 syntax is used.
1331 (c4x_function_prologue): Use regnames intead of float_reg_names when
1332 TI syntax is used.
1333 (c4x_function_epilogue): Likewise.
1334 (c4x_print_operand): Likewise.
1335 * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
1336 * c4x.md (set_high): Disable for TARGET_TI.
1337
1338 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1339
1340 * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
1341 of framepointer + constant to ADDR_REGS class.
1342 * c4x.md (addqi3, addqi3_noclobber_reload): Update.
1343 * c4x.c (std_or_reg_operand): New function.
1344 * c4x-protos.h (std_or_reg_operand): Prototype it.
1345
1346 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1347
1348 * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
1349 object names as libgcc2.c.
1350 * libgcc.S: Use newly defined names.
1351
1352 Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
1353 * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
1354 function.
1355 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
1356 * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
1357 (FLOW_LOOP_LAST_BLOCK): Likewise.
1358
1359 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1360
1361 * basic-block.h (struct loop): New fields 'first' and 'last'.
1362 * flow.c (flow_loops_find): Compute loop->first and loop->last.
1363 (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
1364 and loop->last to check for NOTE_INSN_LOOP_END.
1365
1366 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
1367
1368 * predict.c (estimate_probability): Use the new FIRST and LAST fields
1369 of the loop descriptor rather than HEADER and LATCH. Also added
1370 missing break statements as well making some coding style modifications
1371 as suggested by Michael Hayes.
1372
1373 2000-01-28 Richard Henderson <rth@cygnus.com>
1374
1375 * flow.c (find_basic_blocks): Remove do_cleanup argument.
1376 Break out that code ...
1377 (cleanup_cfg): ... here.
1378 (commit_one_edge_insertion): Detect a return instruction being
1379 emitted to an edge. Emit a barrier following; clear fallthru.
1380 (commit_edge_insertions): Verify CFG consistency.
1381 * function.c (expand_function_start): Kill unused variable.
1382 (expand_function_end): Likewise.
1383 (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
1384 to insert the epilogue.
1385
1386 * gcse.c (gcse_main): Adjust for find_basic_blocks change.
1387 (delete_null_pointer_checks): Likewise.
1388 * output.h: Likewise.
1389 * reg-stack.c (reg_to_stack): Likewise.
1390 * toplev.c (rest_of_compilation): Likewise. Run
1391 thread_prologue_and_epilogue_insns after rebuilding the CFG.
1392
1393 2000-01-28 Richard Henderson <rth@cygnus.com>
1394
1395 * Makefile.in (flow.o): Revert 24 Jan change.
1396 * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
1397 FUNCTION_VALUE result to DECL_RESULT's mode.
1398
1399 * haifa-sched.c (schedule_insns): Don't recompute reg info
1400 after reload.
1401
1402 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
1403
1404 * configure.in: Make --enable-cpplib the default.
1405 * configure: Regenerate.
1406 * gcc.dg/990119-1.c: No longer expected to fail.
1407
1408 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
1409
1410 * jump.c (jump_optimize_1): Delete an optimization that is also done
1411 by merge_blocks in flow.
1412
1413 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1414
1415 * diagnostic.c (build_message_string, output_printf,
1416 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
1417 (build_location_prefix): Fix non-literal format string.
1418
1419 2000-01-27 Richard Henderson <rth@cygnus.com>
1420
1421 * alpha.md (trunctfsf2): New.
1422
1423 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
1424
1425 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
1426
1427 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
1428
1429 * cppinit.c (cpp_handle_option): Recognize C++ comments under
1430 -std=gnu89.
1431 * cpplib.c (skip_block_comment, skip_line_comment): Split code
1432 out of...
1433 (skip_comment) ... here. Permit C++ comments in system
1434 headers always. Warn about C++ comments in user code under
1435 -std=gnu89 -pedantic.
1436 (copy_comment): Use skip_comment.
1437 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
1438 return EOF.
1439 (consider_directive_while_skipping, do_else, do_endif): Call
1440 validate_else unconditionally.
1441 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
1442 text after the conditional in a system header.
1443 * cpplib.h (struct cpp_buffer): Add flag
1444 warned_cplusplus_comments.
1445
1446 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
1447
1448 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
1449 Use unshare_all_rtl_1.
1450 (unshare_all_rtl_again): New function.
1451 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
1452
1453 * function.c (purge_addressof_1): Use unshare_all_rtl_again
1454 rather than resetting the 'used' flags ourself.
1455
1456 * toplev.c (rest_of_compilation): Add current_function_decl
1457 to the unshare_all_rtl call.
1458 * tree.h: Prototype unshare_all_rtl.
1459 * rtl.h: Prototype unshare_all_rtl_again here.
1460
1461 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
1462
1463 * genoutput.c (output_prologue): Include ggc.h in generated
1464 files.
1465 * Makefile.in (insn-output.o): Depends on ggc.h.
1466
1467 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
1468 Hans-Peter Nilsson <hp@bitrange.com>
1469
1470 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
1471 Remove redundant include of xm-ns32k.h.
1472 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
1473 Remove redundant include of xm-ns32k.h.
1474 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
1475 Remove redundant include of xm-ns32k.h.
1476 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
1477
1478 * ns32k/ns32k.h: Update comment on multiply-add instructions.
1479 (TARGET_SWITCHES): Add documentation strings.
1480 (DWARF_FRAME_REGNUM): Override default definition.
1481 (REG_CLASS_CONTENTS): Add comments.
1482 (SUBSET_P): Format to reduce line length.
1483 (SMALL_REGISTER_CLASSES): Make a run time option.
1484 (GO_IF_NONINDEXED_ADDRESS): Reformat.
1485 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
1486 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
1487 (regclass_map): fix typo in comment.
1488 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
1489 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
1490 (trace, reg_or_mem_operand): Delete, unused function.
1491 (calc_address_cost): Small offsets are cheaper than large ones.
1492 (expand_block_move): Generate more efficient code when bytes is a
1493 known at compile time.
1494 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
1495 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
1496 instead of reg_or_mem_operand.
1497
1498 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
1499 not general_operand. Similarly use "=rm" or stricter, not "=g".
1500 For input operands, use stricter constraints than "g" if not
1501 general_operand. Similarly use stricter predicate than
1502 "general_operand" when stricter constraints than "g" are present,
1503 except for matching constraints.
1504 (movstrsi): Use "memory_operand" for operands 0 and 1.
1505 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
1506 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
1507 not reg_or_mem_operand.
1508 (udivmoddisi4): Ditto.
1509 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
1510 Use nonimmediate_operand for operand 3, not register_operand.
1511 (udivmoddiqi4_internal): Use register_operand for operand 1, not
1512 reg_or_mem_operand.
1513
1514 2000-01-27 Fred Fish <fnf@be.com>
1515
1516 * gthr-posix.h: Fix typo; compatibily -> compatibility.
1517 * gthr-single.h: Likewise.
1518 * gthr-solaris.h: Likewise.
1519 * gthr-vxworks.h: Likewise.
1520 * gthr-win32.h: Likewise.
1521 * gthr.h: Likewise.
1522
1523 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
1524
1525 * cppinit.c: Add " (cpplib)" to end of string printed by
1526 -v / --version.
1527
1528 2000-01-27 Richard Henderson <rth@cygnus.com>
1529
1530 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
1531 testing for a signed comparison.
1532 (alpha_emit_floatuns): New.
1533 * alpha-protos.h: Declare it.
1534 * alpha.md (floatunsdisf2, floatunsdidf2): New.
1535 (extendsfdf2): Tidy.
1536
1537 2000-01-27 Jakub Jelinek <jakub@redhat.com>
1538
1539 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
1540 no -g option specifying debugging format, default to -gstabs+.
1541
1542 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1543
1544 * calls.c (special_function_p): New argument fork_or_exec.
1545 (expand_call): When profile_arc_flag is set and the function
1546 is in the fork_or_exec group, call __bb_fork_func first.
1547 * libgcc2.c, _bb module (__bb_fork_func): New function.
1548 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
1549 output file.
1550 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
1551 * tree.h (special_function_p): Update prototype.
1552
1553 2000-01-26 Richard Henderson <rth@cygnus.com>
1554
1555 * alpha.c (alpha_split_tfmode_pair): New.
1556 * alpha-protos.h: Declare it.
1557 * alpha.md (abstf2, negtf2): New.
1558 (movtf insn): Add input G constraint.
1559 (movtf splitter): Use alpha_split_tfmode_pair.
1560
1561 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1562
1563 * i386/cygwin.h: PROTO -> PARAMS.
1564
1565 2000-01-26 Jakub Jelinek <jakub@redhat.com>
1566
1567 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
1568 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
1569 using _Qp_cmp/_Q_cmp and testing the return value.
1570 (print_operand): Call reverse_condition_maybe_unordered if
1571 we are handling CCFPmode or CCFPEmode.
1572 Handle ORDERED, UN* and LTGT comparisons.
1573 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
1574 if not TARGET_HARD_QUAD.
1575 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
1576 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
1577 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
1578 Adjust gen_b* calls so that they reflect return comparison of
1579 sparc_emit_float_lib_cmp.
1580
1581 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1582
1583 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
1584 incoming operands array is large enough for one more operand.
1585 (alpha_emit_xfloating_arith): Likewise.
1586
1587 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
1588
1589 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
1590 file with one line and no trailing newline.
1591 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
1592 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
1593 checking if the match is on the line.
1594 * fixinc/gnu-regex.c: Provide regerror not __regerror.
1595
1596 2000-01-25 Richard Henderson <rth@cygnus.com>
1597
1598 * sparc.c (output_cbranch): Fix accidental squashing of the
1599 fp branch pre-delay nop.
1600
1601 2000-01-25 Richard Henderson <rth@cygnus.com>
1602
1603 * tree.def (UNNE_EXPR): Remove.
1604 * c-typeck.c (build_binary_op): Don't handle it.
1605 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
1606
1607 * rtl.def (UNNE): Remove.
1608 (LTGT): Add.
1609 * jump.c (reverse_condition): Update accordingly.
1610 (swap_condition): Likewise.
1611 (comparison_dominates_p): Handle unordered comparisons.
1612 (reverse_condition_maybe_unordered): New.
1613 * rtl.h (reverse_condition_maybe_unordered): Declare.
1614
1615 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
1616 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
1617 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
1618 * sparc.md (bltgt): New.
1619
1620 2000-01-25 Nick Clifton <nickc@redhat.com>
1621
1622 * emit-rtl.c (emit_insn): Only check machine class insns for
1623 improper emission of a RETURN.
1624
1625 2000-01-25 Richard Henderson <rth@cygnus.com>
1626
1627 * Makefile.in (flow.o): Depend on $(EXPR_H).
1628 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
1629 duplicate the structure of diddle_return_value for keeping regs live.
1630
1631 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1632
1633 * loop.c (current_loop_info): Delete.
1634 (consec_sets_invariant_p): Add loop argument, update callers.
1635 (get_condition_for_loop): Likewise.
1636 (count_nonfixed_reads, update_giv_derive): Likewise.
1637 (simplify_giv_expr, general_induction_var): Likewise.
1638 (consec_sets_giv, recombine_givs): Likewise.
1639 (move_movables): Delete loop_start and loop_end arguments,
1640 add loop argument, and update callers.
1641 (find_mem_givs, check_final_value): Likewise.
1642 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
1643 (loop_invariant_p): Rename from invariant_p, add loop argument, and
1644 update callers.
1645 (basic_induction_var): Add loop argument, delete loop_level argument,
1646 and update callers.
1647 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
1648 add loop argument, and update callers.
1649 (find_splittable_regs, find_splittable_givs): Likewise.
1650 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
1651 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
1652 (biv_total_increment): Delete loop_start and loop_end arguments;
1653 update callers.
1654 (precondition_loop_p): Delete loop_start and loop_info arguments;
1655 update callers.
1656 * loop.h (get_condition_for_loop): Add loop argument.
1657 (biv_total_increment): Delete loop_start and loop_end arguments.
1658 (precondition_loop_p): Delete loop_start and loop_info arguments;
1659 add loop argument.
1660 (final_biv_value): Delete loop_start and loop_end arguments;
1661 add loop argument.
1662 (final_giv_value, back_branch_in_range_p): Likewise.
1663
1664 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
1665
1666 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
1667
1668 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
1669
1670 * Makefile.in (c-gperf.h) : Change the "See" pointer to
1671 point to the new "generated_files" doc.
1672
1673 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
1674
1675 * config/fp-bit.c (_unord_f2): Fix typo.
1676
1677 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
1678
1679 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
1680 c-typeck.c, objc/objc-act.c: Remove all references to obstack
1681 functions obsoleted by GC, such as push_obstacks_nochange,
1682 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
1683 and code which existed only to decide whether or not to call
1684 them. Remove now-unused NESTED argument from start_function;
1685 all callers changed. Do not change behavior based on ggc_p.
1686 The use of the ixp_obstack in c-iterate.c and the util_obstack
1687 in objc/objc-act.c remain; these are not obsoleted by garbage
1688 collection.
1689 * c-tree.h: Update prototype for start_function.
1690
1691 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
1692
1693 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
1694
1695 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
1696 mips16.
1697
1698 2000-01-25 Richard Henderson <rth@cygnus.com>
1699
1700 * sparc-protos.h (select_cc_mode): Declare.
1701 * sparc.c (select_cc_mode): New. Handle unordered compares.
1702 (output_cbranch): Always reverse via code change. Handle
1703 unordered compares. Factor tests and string updates.
1704 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
1705 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
1706 * sparc.md (bunordered, bordered): New.
1707 (bungt, bunlt, buneq, bunge, bunle): New.
1708
1709 2000-01-25 Richard Henderson <rth@cygnus.com>
1710
1711 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
1712 * ggc-common.c (ggc_add_rtx_varray_root): New.
1713 (ggc_mark_rtx_varray): New.
1714 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
1715 functions down below ggc_mark_foo.
1716 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
1717
1718 2000-01-25 Richard Henderson <rth@cygnus.com>
1719
1720 * alpha.c (secondary_reload_class): Don't allocate a secondary
1721 for integral mode memories into FLOAT_REGS. Rearrange the more
1722 complicated memory expression inward.
1723
1724 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
1725
1726 * inclhack.def: Fixes to play nicer with FreeBSD, and
1727 corrections to comments.
1728 (cxx_unready): Add select expression.
1729 (irix_sockaddr): Add bypass expression.
1730 (machine_ansi_h_va_list): New fix.
1731 (stdio_va_list): No need to edit _BSD_VA_LIST_.
1732 Split out addition of "#include <stdarg.h>" to...
1733 (stdio_stdarg_h): ... here.
1734 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
1735 to stdlib.h also. Do not munge _BSD_SIZE_T_.
1736 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
1737 size_t.
1738 (ultrix_ifdef): Tighten up select expression.
1739
1740 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
1741 re_ct and max_mach to avoid use of shell. Make printed names
1742 match names in inclhack.def. Use static copyright date.
1743 Don't count c_test and test expressions as requiring regex_t
1744 slots. Add some commentary.
1745 * inclhack.tpl: Do not include the 'This script contains N
1746 fixup scripts' line if PROGRAM is defined. Use static
1747 copyright date.
1748
1749 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
1750
1751 * dwarf2out.c: include "varray.h", not dyn-string.h.
1752 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
1753 (addr_const_to_string, addr_to_string): Lose.
1754 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
1755 (struct dw_val_struct): val_addr is now an rtx.
1756 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
1757 (used_rtx_varray): New varray.
1758 (dwarf2out_init): Initialize it.
1759 (save_rtx): New fn.
1760 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
1761 addr_to_string.
1762 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
1763 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
1764 * Makefile.in (dwarf2out.o): Update dependencies.
1765
1766 2000-01-24 Richard Henderson <rth@cygnus.com>
1767
1768 * i386.c (i386_dwarf_output_addr_const): New.
1769 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
1770
1771 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
1772 if defined.
1773 * dwarfout.c (output_mem_loc_descriptor): Likewise.
1774 * i386.c (i386_simplify_dwarf_addr): New.
1775 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
1776
1777 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
1778
1779 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
1780 TYPE_STUB_DECL is NULL.
1781
1782 2000-01-24 Richard Henderson <rth@cygnus.com>
1783
1784 * builtins.c (expand_tree_builtin): Move ...
1785 * c-common.c (expand_tree_builtin): ... here.
1786
1787 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1788
1789 * loop.h (LOOP_INFO): New accessor macro.
1790 * basic-block.h (struct loop): Rename field `info' to `aux'.
1791 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
1792 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
1793 * unroll.c (loop_iterations, unroll_loop): Likewise.
1794
1795 2000-01-24 Christopher Faylor <cgf@cygnus.com>
1796
1797 * config/i386/t-cygwin: Accomodate new winsup directory layout
1798 when searching for include files.
1799
1800 2000-01-24 Richard Henderson <rth@cygnus.com>
1801
1802 * rtl.def: Add unordered fp comparisions.
1803 * tree.def: Likewise.
1804 * tree.h: Add ISO C 9x unordered fp comparision builtins.
1805
1806 * builtins.c (expand_tree_builtin): New function.
1807 * c-typeck.c (build_function_call): Use it.
1808 (build_binary_op): Support unordered compares.
1809 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
1810
1811 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
1812 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
1813 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
1814 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
1815 * jump.c (reverse_condition): Don't abort for UNLE etc, but
1816 return UNKNOWN.
1817 (swap_condition): Handle unordered compares.
1818 (thread_jumps): Check can_reverse before reversing.
1819 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
1820 reversed for FP.
1821
1822 * optabs.c (can_compare_p): New argument CODE. Verify branch or
1823 setcc is present before acking for cmp_optab. Update all callers.
1824 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
1825 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
1826 * expr.c (expand_expr): Likewise. Support unordered compares.
1827 (do_jump, do_store_flag): Likewise.
1828 * expr.h (enum libfunc_index): Add unordered compares.
1829
1830 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
1831 (DPBIT_FUNCS): Add _unord_df.
1832 * config/fp-bit.c (_unord_f2): New.
1833 * fp-test.c (main): Try unordered compare builtins.
1834
1835 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
1836 * alpha.c (alpha_comparison_operator): Check mode properly.
1837 (alpha_swapped_comparison_operator): Likewise.
1838 (signed_comparison_operator): Likewise.
1839 (alpha_fp_comparison_operator): New.
1840 (alpha_emit_conditional_branch): Handle unordered compares.
1841 * alpha.h (PREDICATE_CODES): Update.
1842 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
1843 (bunordered, bordered): New.
1844
1845 2000-01-24 Richard Henderson <rth@cygnus.com>
1846
1847 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
1848 * alpha.md (movtf): New expander, insn, and splitter.
1849
1850 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
1851
1852 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
1853 dead registers.
1854
1855 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
1856
1857 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
1858 (FIXED_REGISTERS, CALL_USED_REGISTERS,
1859 REG_ALLOC_ORDER): Add frame pointer
1860 (FRAME_POINTER_REGNUM): Set to 20
1861 (HARD_FRAME_POINTER_REGNUM): New macro.
1862 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
1863 to HARD_FRAME_POINTER.
1864 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
1865 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
1866 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
1867 (HI_REGISTER_NAMES): Add "frame".
1868 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
1869 (debug_reg): Handle FRAME_POINTER_REGNUM.
1870 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
1871 GENERAL_REGS and INDEX_REGS.
1872 * i386.c (SAVED_REGS_FIRST): new macro.
1873 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
1874 (ix86_decompose_address, memory_address_length): Likewise.
1875 (regclass_map): Add frame pointer.
1876 (call_insn_operand): Handle frame_pointer_rtx.
1877 (reg_no_sp_operand): Likewise.
1878 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
1879 (print_operand, legitimize_pic_address): Fix formating.
1880 (ix86_compute_frame_size): Make static, update prototype, new
1881 parameters padding1, padding2, use ix86_nsaved_regs, use
1882 stack_alignment_needed.
1883 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
1884 to HARD_FRAME_POINTER_REGNUM conversions.
1885 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
1886 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
1887 (print_reg): Abort on FRAME_POINTER_REGNUM
1888
1889 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
1890
1891 * i386.h (PREDICATE_CODES): Add aligned_operand.
1892 * i386.c (aligned_operand): New function.
1893 (ix86_aligned_p): Kill.
1894 * i386.md (movhi_1): Emit mov for aligned operands.
1895 (promoting peep2s): Use aligned_operand.
1896
1897 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
1898
1899 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
1900 expression to allow underscores in macro names.
1901 (fix_char_macro_defines): Increment scanning pointer.
1902
1903 2000-01-23 Richard Henderson <rth@cygnus.com>
1904
1905 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
1906 * alpha/osf5.h: New file.
1907 * configure.in (alpha-*-osf5): Add it to tm_file.
1908
1909 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
1910
1911 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
1912 (alpha_emit_xfloating_cvt, function_arg): Declare.
1913 * alpha.c (alpha_emit_conditional_branch): Call
1914 alpha_emit_xfloating_compare for TFmode compares.
1915 (alpha_lookup_xfloating_lib_func): New.
1916 (alpha_compute_xfloating_mode_arg): New.
1917 (alpha_emit_xfloating_libcall): New.
1918 (alpha_emit_xfloating_arith): New.
1919 (alpha_emit_xfloating_compare): New.
1920 (alpha_emit_xfloating_cvt): New.
1921 (print_operand): Add default abort case.
1922 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
1923 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
1924 (BIGGEST_ALIGNMENT): Increase to 128 bits.
1925 (RETURN_IN_MEMORY): True for TF/TCmode.
1926 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
1927 (FUNCTION_ARG): Move to function_arg.
1928 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
1929 (ASM_OUTPUT_LONG_DOUBLE): New.
1930 (ASM_OUTPUT_DOUBLE): Always output bits.
1931 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
1932 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
1933 (extenddftf2, trunctfdf2): New.
1934
1935 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1936
1937 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
1938 * config/sparc/sol2.h: ... here.
1939
1940 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1941
1942 * basic-block.h (struct loops): New field `levels'.
1943 * flow.c (flow_loops_level_compute): Traverse all outer loops.
1944 (flow_loop_level_compute): Initialise level to 1.
1945 (flow_loops_find): Set loops->levels.
1946 (flow_loops_dump): Print loops->levels.
1947
1948 2000-01-23 Richard Henderson <rth@cygnus.com>
1949
1950 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
1951 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
1952
1953 2000-01-23 Richard Henderson <rth@cygnus.com>
1954
1955 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
1956 * i386.h (DBX_REGISTER_NUMBER): Use them.
1957 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
1958 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
1959 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
1960 * i386/sequent.h: Kill incorrect comment.
1961
1962 2000-01-23 Mark Mitchell <mark@codesourcery.com>
1963
1964 * ggc-page.c (struct page_entry): Make `context_depth' an
1965 `unsigned short'.
1966 (struct globals): Likewise.
1967
1968 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
1969
1970 * loop.c (check_dbra_loop): When checking a loop for
1971 reversability, check the source of any stores to ensure
1972 they don't depend on an initial value.
1973
1974 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1975
1976 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
1977
1978 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
1979
1980 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
1981 'pz_scan' into scope of entire function. Only affects
1982 compiles with -DDEBUG.
1983
1984 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
1985
1986 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
1987 section naming to that prior to 2000-01-07 patch.
1988 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
1989 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
1990 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
1991 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
1992 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
1993
1994 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
1995
1996 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
1997 constant.
1998
1999 2000-01-21 Jim Wilson <wilson@cygnus.com>
2000
2001 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
2002 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
2003
2004 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
2005
2006 * cpphash.c (change_newlines): Delete function.
2007 (struct argdata): Delete 'newlines' and 'use_count' fields.
2008 (macroexpand): Remove code referencing those fields.
2009
2010 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2011
2012 * loop.c (loops_info): New variable.
2013 (loop_optimize): Allocate loops->array and free it on exit.
2014 Allocate memory for loops_info and assign to each loop,
2015 replacing alloca.
2016 (find_and_verify_loops): Do not allocate loops->array.
2017
2018 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
2019
2020 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
2021
2022 2000-01-21 Jakub Jelinek <jakub@redhat.com>
2023
2024 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
2025 pseudos if expanded after first flow.
2026 (movdi_pic_label_ref): Likewise.
2027
2028 2000-01-20 Richard Henderson <rth@cygnus.com>
2029
2030 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
2031
2032 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
2033
2034 * Makefile.in (fixinc.sh): Depend on specs.
2035 * fixinc/Makefile.in: Add rule to create machname.h.
2036 (fixlib.o): Depend on machname.h.
2037 * fixinc/fixtests.c (machine_name): New test.
2038 * fixinc/fixfixes.c (machine_name): New fix.
2039 * fixinc/fixlib.c (mn_get_regexps): New helper function for
2040 the machine_name test and fix.
2041 * fixinc/fixlib.h: Prototype it.
2042 * fixinc/inclhack.def (machine_name): Use the C test and fix.
2043 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
2044
2045 * gcc.c (do_spec_1) [case P]: Take care not to create
2046 identifiers with three leading or trailing underscores.
2047
2048 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
2049 (fixincl): Don't specify libraries twice on link line.
2050 (gnu-regex.o): Remove special rule.
2051 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
2052 defined by config.h. Do not define _REGEX_RE_COMP.
2053 (regcomp): Allocate and initialize a fastmap.
2054 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
2055
2056 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
2057
2058 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
2059
2060 2000-01-19 Richard Henderson <rth@cygnus.com>
2061
2062 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
2063 arguments with BB. Update all callers. Tidy line wrapping.
2064
2065 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
2066
2067 * emit-rtl.c (try_split): Return last_insn if we split the
2068 last_insn.
2069
2070 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
2071
2072 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
2073 (ix86_initial_elimination_offset): Declare.
2074 * i386.c (ix86_nsaved_regs): Break out from ...
2075 (ix86_can_use_return_insn_p): ... here.
2076 (ix86_emit_save_regs): Break out from ...
2077 (ix86_expand_prologue): ... here.
2078 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
2079 out from ...
2080 (ix86_expand_epilogue): ... here.
2081 (ix86_compute_frame_size): Make static, add prototype.
2082 (ix86_initial_elimination_offset): Break out from ...
2083 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
2084
2085 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2086
2087 * recog.h (OUT_FCN): Delete.
2088
2089 * vax.md: Call `get_insn_template' instead of OUT_FCN.
2090
2091 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2092
2093 * cppalloc.c: PROTO -> PARAMS.
2094 * cpperror.c: Likewise.
2095 * cppfiles.c: Likewise.
2096 * cpplib.c: Likewise.
2097 * cpplib.h: Likewise.
2098
2099 * config/arm/arm-protos.h: PROTO -> PARAMS.
2100 * config/arm/arm.c: Likewise.
2101 * config/c4x/c4x.c: Likewise.
2102 * config/fr30/fr30-protos.h: Likewise.
2103 * config/nextstep.c: Likewise.
2104 * config/pa/pa.c: Likewise.
2105 * config/pj/pj.c: Likewise.
2106 * config/rs6000/rs6000.c: Likewise.
2107 * config/v850/v850-protos.h: Likewise.
2108 * config/v850/v850.c: Likewise.
2109
2110 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2111
2112 * i370-protos.h: New file.
2113
2114 * i370.c: Include tm_p.h. Fix compile time warnings.
2115
2116 * i370.h: Move prototypes to i370-protos.h. Fix compile time
2117 warnings.
2118
2119 * i370.md: Likewise.
2120
2121 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2122
2123 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
2124 (target_isinf, target_isnan, eisnan): Mark parameter with
2125 ATTRIBUTE_UNUSED.
2126 (eiisinf): Wrap in INFINITY.
2127 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
2128 (ibmtoe): Remove unused variable `rndsav'.
2129
2130 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2131
2132 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
2133 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
2134
2135 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
2136
2137 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
2138 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
2139 (fix_char_macro_defines, fix_char_macro_uses): New functions.
2140
2141 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
2142 Recognize Emacs mode markers also.
2143 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
2144 C++ comments in C++ headers. Call is_cxx_header only if
2145 necessary.
2146
2147 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
2148 bypass for ncurses.
2149 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
2150 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
2151 ... these, which use the new C fixes.
2152 (math_exception): Escape literal '+' in bypass expression.
2153
2154 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
2155 Regenerate.
2156
2157 2000-01-19 Geoff Keating <geoffk@cygnus.com>
2158
2159 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
2160 inside the MEM.
2161
2162 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2163
2164 * loop.c (loop_optimize): Allocate loop_info structure for each loop
2165 prior to calling scan_loop.
2166
2167 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2168
2169 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
2170 (split_branches, calc_live_regs): Likewise.
2171
2172 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2173
2174 * sh.md (fpu_single, fp_mode): New attributes.
2175
2176 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2177
2178 * loop.c (current_loop_info): Renamed from loop_info_data
2179 and changed to a pointer.
2180 (loop_optimize): Allocate loop_info structure for each loop
2181 and initialise to zero.
2182 (scan_loop): Set current_loop_info.
2183
2184 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
2185 on iteration_var.
2186
2187 2000-01-19 Richard Henderson <rth@cygnus.com>
2188
2189 * stupid.c: Die die die.
2190 * Makefile.in (OBJS): Remove stupid.o.
2191 (stupid.o): Likewise.
2192
2193 * except.c (emit_eh_context): Don't emit USEs for stupid.
2194 * explow.c (probe_stack_range): Likewise.
2195 * flags.h (obey_regdecls): Remove.
2196 * flow.c (find_basic_blocks): Don't run try_merge_blocks
2197 when not optimizing.
2198 (life_analysis): Limit data collection when not optimizing.
2199 (mark_regs_live_at_end): Always mark the return value registers.
2200 (mark_used_regs): Remove dummy RETURN case.
2201 (print_rtl_with_bb): Don't consult obey_regdecls.
2202 * function.c (use_variable, use_variable_after): Remove.
2203 (assign_parms): Consult optimize not obey_regdecls.
2204 (expand_function_start): Don't emit USEs for stupid.
2205 (expand_function_end): Likewise.
2206 * global.c (build_insn_chain): Export.
2207 * integrate.c (expand_inline_function): Kill return-value USE
2208 handling code.
2209 * jump.c (jump_optimize_1): Do simple jump optimizations and
2210 dead code elimination.
2211 (calculate_can_reach_end): Remove check_deleted argument.
2212 (delete_insn): Patch out insns even when not optimizing.
2213 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
2214 * rtl.h (use_variable, use_variable_after): Remove declarations.
2215 (build_insn_chain): Declare.
2216 * stmt.c (expand_value_return): Don't emit USEs for stupid.
2217 (expand_end_bindings): Likewise.
2218 (expand_decl): Likewise. Consult optimize not obey_regdecls.
2219 * toplev.c (obey_regdecls): Remove.
2220 (rest_of_compilation): Don't set it. Kill stupid in favour of
2221 flow1, local-alloc, and reload.
2222 (main): Don't set obey_regdecls.
2223
2224 * config/nextstep.c (handle_pragma): Likewise.
2225
2226 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
2227
2228 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
2229
2230 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2231
2232 * alpha-protos.h: PROTO -> PARAMS.
2233 * alpha.c: Likewise.
2234 * elf.h: Likewise.
2235 * h8300.c: Likewise.
2236 * i386-protos.h: Likewise.
2237 * i386.c: Likewise.
2238 * m32r-protos.h: Likewise.
2239 * m32r.c: Likewise.
2240 * mips.c: Likewise.
2241 * mips.md: Likewise.
2242 * gmon-sol2.c: Likewise.
2243 * sparc.c: Likewise.
2244
2245 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2246
2247 * ns32k-protos.h: New file.
2248
2249 * ns32k.c: Fix compile time warnings.
2250
2251 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
2252 warnings.
2253
2254 * ns32k.md: Likewise.
2255
2256 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2257
2258 * vax-protos.h: New file.
2259
2260 * vax.c: Fix compile time warnings.
2261
2262 * vax.h: Move prototypes to vax-protos.h. Fix compile time
2263 warnings.
2264
2265 * vax.md: Likewise.
2266
2267 * vaxv.md: Likewise.
2268
2269 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2270
2271 * romp-protos.h: New file.
2272
2273 * romp.c: Fix compile time warnings.
2274
2275 * romp.h: Move prototypes to romp-protos.h. Fix compile time
2276 warnings.
2277
2278 * romp.md: Likewise.
2279
2280 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2281
2282 * we32k-protos.h: New file.
2283
2284 * we32k.c: Fix compile time warnings.
2285
2286 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
2287 warnings.
2288
2289 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2290
2291 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
2292
2293 * except.c (eh_regs): Likewise.
2294
2295 * final.c (output_operand): Likewise.
2296
2297 * fold-const.c (target_isinf, target_isnan): Likewise.
2298
2299 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
2300
2301 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
2302 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
2303
2304 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
2305 when optimize_size.
2306 (clrstrsi): Rewrite.
2307 (strsethi, strsetqi): New expanders.
2308 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
2309 (cmpstrsi): Emit compare insn before cmpstrsi_1
2310 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
2311 (strlensi_1): Likewise.
2312 (cmpstrsi_1): Likewise; do not output compare.
2313 (strlen expander): Do not unroll when optimizing for size.
2314 (*subsi3_carry): Rename to subsi3_carry
2315 (addqi3_cc): New pattern.
2316 * i386.h (processor_costs): Add move_ratio field.
2317 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
2318 * i386.c (*_cost): Set move_ratio.
2319 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
2320 (x86_expand_strlensi_1): Rewrite the main loop.
2321
2322 2000-01-17 Richard Henderson <rth@cygnus.com>
2323
2324 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
2325 * cse.c (find_comparison_args, fold_rtx): Likewise.
2326 * integrate.c (subst_constants): Likewise.
2327 * loop.c (get_condition): Likewise.
2328
2329 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
2330
2331 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
2332
2333 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2334
2335 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
2336 (RESTORE_WARN_FLAGS): Unpack it.
2337 Change semantic type of extension to ttype.
2338 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
2339 * c-parse.y, c-parse.c, objc/objc-parse.y,
2340 objc/objc-parse.c: Regenerate.
2341
2342 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
2343
2344 * fixinc/fixlib.c: Add copyright notice.
2345 (compile_re): New function.
2346 * fixinc/fixlib.h: Prototype compile_re.
2347
2348 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
2349 Use compile_re to compile regular expressions.
2350
2351 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
2352 where the pattern matched.
2353
2354 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
2355 use 'replace'.
2356 (ultrix_ansi_compat): Likewise.
2357 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
2358 add egrep test.
2359 (interactv_add2, interactv_add3): Delete.
2360 (x11_sprintf): Don't use filename glob.
2361 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
2362 Regenerate.
2363
2364 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2365
2366 * print-rtl.c: PROTO -> PARAMS.
2367 * real.c: Likewise.
2368 * reg-stack.c: Likewise.
2369 * resource.c: Likewise.
2370 * sdbout.h: Likewise.
2371 * simplify-rtx.c: Likewise.
2372 * stor-layout.c: Likewise.
2373 * stupid.c: Likewise.
2374 * xcoffout.c: Likewise.
2375 * xcoffout.h: Likewise.
2376
2377 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2378
2379 * toplev.c: PROTO -> PARAMS.
2380 * toplev.h: Likewise.
2381 * tree.c: Likewise.
2382 * tree.h: Likewise.
2383 * unroll.c: Likewise.
2384 * varasm.c: Likewise.
2385 * varray.c: Likewise.
2386 * varray.h: Likewise.
2387
2388 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2389
2390 * reload.c: PROTO -> PARAMS.
2391 * reload.h: Likewise.
2392 * reload1.c: Likewise.
2393 * reorg.c: Likewise.
2394 * resource.h: Likewise.
2395 * rtl.c: Likewise.
2396 * rtl.h: Likewise.
2397 * rtlanal.c: Likewise.
2398 * sbitmap.h: Likewise.
2399 * sdbout.c: Likewise.
2400 * stack.h: Likewise.
2401 * stmt.c: Likewise.
2402 * system.h: Likewise.
2403
2404 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2405
2406 * machmode.h: PROTO -> PARAMS.
2407 * mbchar.h: Likewise.
2408 * mips-tdump.c: Likewise.
2409 * mips-tfile.c: Likewise.
2410 * optabs.c: Likewise.
2411 * output.h: Likewise.
2412 * prefix.c: Likewise.
2413 * profile.c: Likewise.
2414 * protoize.c: Likewise.
2415 * real.h: Likewise.
2416 * recog.c: Likewise.
2417 * recog.h: Likewise.
2418 * regclass.c: Likewise.
2419 * regmove.c: Likewise.
2420 * regs.h: Likewise.
2421
2422 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2423
2424 * ggc-common.c: PROTO -> PARAMS.
2425 * ggc-page.c: Likewise.
2426 * ggc-simple.c: Likewise.
2427 * ggc.h: Likewise.
2428 * global.c: Likewise.
2429 * graph.c: Likewise.
2430 * gthr-win32.h: Likewise.
2431 * haifa-sched.c: Likewise.
2432 * halfpic.h: Likewise.
2433 * integrate.c: Likewise.
2434 * integrate.h: Likewise.
2435 * jump.c: Likewise.
2436 * lcm.c: Likewise.
2437 * local-alloc.c: Likewise.
2438 * loop.c: Likewise.
2439 * loop.h: Likewise.
2440
2441 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2442
2443 * genattr.c: PROTO -> PARAMS.
2444 * genattrtab.c: Likewise.
2445 * gencheck.c: Likewise.
2446 * gencodes.c: Likewise.
2447 * genconfig.c: Likewise.
2448 * genemit.c: Likewise.
2449 * genextract.c: Likewise.
2450 * genflags.c: Likewise.
2451 * gengenrtl.c: Likewise.
2452 * genopinit.c: Likewise.
2453 * genoutput.c: Likewise.
2454 * genpeep.c: Likewise.
2455 * genrecog.c: Likewise.
2456
2457 2000-01-16 Mark Mitchell <mark@codesourcery.com>
2458
2459 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
2460
2461 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2462
2463 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
2464 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
2465 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
2466 * configure, config.in: Rebuilt.
2467
2468 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
2469
2470 * config/i386/i386.md: Add peephole to merge successive stack
2471 adjusts.
2472
2473 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
2474
2475 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
2476 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
2477 when walking backwards to find all the parameter loads when
2478 the basic block ends in a call.
2479
2480 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2481
2482 * loop.c (this_loop_info): Delete.
2483 (uid_loop): Add in place of uid_loop_num. All uses updated.
2484 (loop_number_exit_count): Delete and replace with entry in loop
2485 structure. All uses updated.
2486 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
2487 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
2488 (loop_outer_loop): Likewise.
2489 (loop_invalid, loop_number_exit_labels): Likewise.
2490 (loop_used_count_register): Delete and replace with entry in
2491 loop_info structure.
2492 (find_and_verify_loops): Add loops argument.
2493 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
2494 loop_end, etc. arguments with loop structure pointer. All callers
2495 changed.
2496 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
2497 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
2498 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
2499 (insert_bct): Likewise.
2500 (basic_induction_var): New argument level.
2501 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
2502 vtop, and cont. Add used_count_register.
2503 (uid_loop): Delete declaration.
2504 (loop_number_exit_count): Likewise.
2505 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
2506 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
2507 (loop_outer_loop, loop_used_count_register): Likewise.
2508 (loop_invalid, loop_number_exit_labels): Likewise.
2509 (unroll_loop): Replace loop_start and loop_end arguments
2510 with loop structure pointer.
2511 (loop_precondition_p, loop_iterations): Likewise.
2512 Include basic-block.h.
2513 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
2514 with loop structure pointer.
2515 (loop_precondition_p, loop_iterations): Likewise.
2516 * basic-block.h (struct loop): New entries vtop, cont,
2517 cont_dominator, start, end, top, scan_start, exit_labels,
2518 exit_count.
2519 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
2520
2521 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2522
2523 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
2524
2525 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
2526
2527 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
2528
2529 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2530
2531 * pdp11-protos.h: New file.
2532
2533 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
2534 time warnings.
2535
2536 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
2537 warnings.
2538
2539 * pdp11.md: Likewise.
2540
2541 * 2bsd.h: Likewise.
2542
2543 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2544
2545 * mn10300-protos.h: New file.
2546
2547 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
2548 time warnings.
2549
2550 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
2551 warnings.
2552
2553 * mn10300.md: Likewise.
2554
2555 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2556
2557 * mn10200-protos.h: New file.
2558
2559 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
2560 time warnings.
2561
2562 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
2563 warnings.
2564
2565 * mn10200.md: Likewise.
2566
2567 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2568
2569 * h8300-protos.h: New file.
2570
2571 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
2572 time warnings.
2573
2574 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
2575 warnings.
2576
2577 * h8300.md: Likewise.
2578
2579 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2580
2581 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
2582 (asm_emit_uninitialised): Likewise.
2583
2584 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
2585
2586 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
2587 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
2588
2589 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
2590
2591 * config/mips/mips.c (override_options): Don't turn on extra
2592 alignment for mips16.
2593
2594 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
2595
2596 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
2597 eabi, and make sure queued POSTINCREMENT rtl is emitted at
2598 the right point.
2599
2600 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
2601
2602 * builtins.c (PAD_VARARGS_DOWN): Define.
2603 (std_expand_builtin_va_arg): Use the above macro.
2604 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
2605 * tm.texi (Register Arguments): Document the above macro.
2606
2607 2000-01-14 Nick Clifton <nickc@cygnus.com>
2608
2609 * emit-rtl.c (emit_insn): If checking is enabled, make sure
2610 that this function has not been used to emit a jump
2611 instruction.
2612
2613 * jump.c (return_jump_1): Cope with being passed a null rtx.
2614
2615 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2616
2617 * eh-common.h: PROTO -> PARAMS.
2618 * emit-rtl.c: Likewise.
2619 * errors.c: Likewise.
2620 * errors.h: Likewise.
2621 * except.c: Likewise.
2622 * except.h: Likewise.
2623 * explow.c: Likewise.
2624 * expmed.c: Likewise.
2625 * expr.c: Likewise.
2626 * expr.h: Likewise.
2627 * final.c: Likewise.
2628 * fix-header.c: Likewise.
2629 * flow.c: Likewise.
2630 * fold-const.c: Likewise.
2631 * function.c: Likewise.
2632 * function.h: Likewise.
2633 * gcc.c: Likewise.
2634 * gcov-io.h: Likewise.
2635 * gcov.c: Likewise.
2636 * gcse.c: Likewise.
2637
2638 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2639
2640 * sh-protos.h: New file.
2641
2642 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
2643 Add static prototypes. Fix compile time warnings.
2644
2645 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
2646 * sh.md: Likewise.
2647 * elf.h: Likewise.
2648
2649 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2650
2651 * arc-protos.h: New file.
2652
2653 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
2654 time warnings.
2655
2656 * arc.h: Move prototypes to arc-protos.h. Fix compile time
2657 warnings.
2658
2659 * arc.md: Likewise.
2660
2661 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2662
2663 * dsp16xx-protos.h: New file.
2664
2665 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
2666 time warnings.
2667
2668 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
2669 warnings.
2670
2671 * dsp16xx.md: Likewise.
2672
2673 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2674
2675 * convex-protos.h: New file.
2676
2677 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
2678 time warnings.
2679
2680 * convex.h: Move prototypes to convex-protos.h. Fix compile time
2681 warnings.
2682
2683 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2684
2685 * elxsi-protos.h: New file.
2686
2687 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
2688 time warnings.
2689
2690 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
2691 warnings.
2692
2693 * elxsi.md: Likewise.
2694
2695 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
2696
2697 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
2698 case for moving from HI/LO/HI_LO_REG. This makes the behavior
2699 match the comment for MIPS16.
2700
2701 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
2702
2703 * flow.c (split_edge): Do not call set_block_for_insn if we
2704 do not have a basic_block_for_insn structure.
2705
2706 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
2707 and destination functions are 32bit aligned within the trampoline.
2708 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
2709 (TRAMPOLINE_ALIGNMENT): Define.
2710
2711 * cse.c (cse_insn): When changing (set (pc) (reg)) to
2712 (set (pc) (label_ref)), verify the change creates a valid insn.
2713
2714 * fr30.c (call_operand): Tighten and rework to match rules for
2715 call RTL expressions.
2716 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
2717 * fr30.md (call patterns): Improve constraints.
2718
2719 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
2720
2721 * fr30.c (fr30_expand_epilogue): Revert last change.
2722 Use emit_jump_insn for the return insn.
2723
2724 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
2725 Stan Cox <scox@cygnus.com>
2726
2727 * predict.c: New file. Preliminary infrastructure work for static
2728 branch prediction and basic block reordering.
2729 * basic-block.h: Add prototype for estimate_probability.
2730 * Makefile.in: Add rules for predict.o.
2731
2732 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
2733
2734 * fixincludes (va_list): Use __not_va_list__ for the dummy.
2735 * fixinc/*: Likewise.
2736
2737 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2738
2739 * cccp.c: PROTO -> PARAMS.
2740 * cexp.y: Likewise.
2741 * collect2.c: Likewise.
2742 * combine.c: Likewise.
2743 * convert.h: Likewise.
2744 * cse.c: Likewise.
2745 * dbxout.c: Likewise.
2746 * dbxout.h: Likewise.
2747 * diagnostic.c: Likewise.
2748 * doprint.c: Likewise.
2749 * dwarf2out.c: Likewise.
2750 * dwarf2out.h: Likewise.
2751 * dwarfout.c: Likewise.
2752 * dwarfout.h: Likewise.
2753 * dyn-string.h: Likewise.
2754
2755 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2756
2757 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
2758 macro conditionals guarding use.
2759
2760 * dwarf2out.c: Include "tm_p.h".
2761
2762 * function.c (locate_and_pad_parm): Mark parameter with
2763 ATTRIBUTE_UNUSED.
2764 (expand_function_end): Likewise for variable `context'.
2765
2766 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
2767
2768 2000-01-13 Nick Clifton <nickc@cygnus.com>
2769
2770 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
2771 register to prevent compile time warnings.
2772
2773 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
2774
2775 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
2776 to avoid -Wtraditional warning.
2777
2778 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2779
2780 * 1750a-protos.h: New file.
2781
2782 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
2783 time warnings.
2784
2785 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
2786 warnings.
2787
2788 * 1750a.md: Likewise.
2789
2790 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2791
2792 * a29k-protos.h: New file.
2793
2794 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
2795 time warnings.
2796
2797 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
2798 warnings.
2799
2800 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2801
2802 * clipper-protos.h: New file.
2803
2804 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
2805 time warnings.
2806
2807 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
2808 warnings.
2809
2810 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2811
2812 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
2813
2814 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
2815
2816 * configure.in (--enable-new-gxx-abi): New option.
2817 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
2818 * Makefile.in (GXX_ABI_FLAG): New variable.
2819 * configure: Regenerate.
2820
2821 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2822
2823 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
2824 * tm.texi (FORCE_STRUCT_BLK): Document.
2825 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
2826
2827 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
2828
2829 * config/ns32k/ns32k.md: Revert Jan 9 change.
2830
2831 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
2832 to a mode-test, if the predicate is address_operand.
2833
2834 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
2835
2836 * combine.c (if_then_else_cond): Be careful about what kinds
2837 of RTL expressions are passed to operand_subword.
2838
2839 * flow.c (split_edge): If we have to insert a new jump, make
2840 sure to associate it with a basic block.
2841
2842 * flow.c (commit_one_edge_insertion): A block with one successor
2843 can end in a JUMP_INSN that is not a simplejump.
2844
2845 2000-01-12 Robert Lipe <robertl@sco.com>
2846
2847 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
2848 (BUILD_VA_LIST_TYPE): Define.
2849 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
2850 with crtstuff.c.
2851
2852 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
2853
2854 * cccp.c (do_pragma): Add cast to (char *).
2855
2856 2000-01-12 Richard Henderson <rth@cygnus.com>
2857 Fred Fish <fnf@be.com>
2858 Jason Merrill <jason@cygnus.com>
2859
2860 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
2861 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
2862 * i386/beos-elf.h, i386/beos-pe.h: New files.
2863
2864 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
2865 * cross-make (SYSTEM_HEADER_DIR): Define using
2866 CROSS_SYSTEM_HEADER_DIR.
2867
2868 * gcc.c (LIBRARY_PATH_ENV): Provide default.
2869 (process_command): Use it.
2870 (main): Likewise. Kill trailing = from env vars.
2871 (build_search_list): Put it back.
2872 * collect2.c (main): Use LIBRARY_PATH_ENV.
2873
2874 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
2875 * toplev.c: Use NEED_DECLARATION_ENVIRON.
2876
2877 * tm.texi (Frame Layout): Document SMALL_STACK.
2878 * c-common.c (c_common_nodes_and_builtins): Check it.
2879
2880 * system.h: Undef alloca after including glibc's <stdlib.h>,
2881 if USE_C_ALLOCA is defined.
2882
2883 * gcc.c (set_input): New fn.
2884 (main): After all input files are compiled, reset the input file
2885 info to the first.
2886
2887 * aclocal.m4 (rindex, index): If already defined, don't attempt
2888 to redefine.
2889
2890 * ginclude/varargs.h: (__va_list__): Define ifndef.
2891 * ginclude/stdarg.h: Likewise.
2892
2893 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
2894 instead of unsigned char.
2895
2896 * hash.h (true, false, boolean): Undef before enum.
2897
2898 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
2899 proper type of "HOST_WIDE_INT *", rather than their natural type of
2900 "unsigned HOST_WIDE_INT *".
2901
2902 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2903
2904 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
2905
2906 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
2907
2908 * regclass.c (choose_hard_reg_mode): Likewise.
2909
2910 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
2911
2912 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
2913
2914 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2915
2916 * c-common.c: PROTO -> PARAMS.
2917 * c-common.h: Likewise.
2918 * c-decl.c: Likewise.
2919 * c-iterate.c: Likewise.
2920 * c-lang.c: Likewise.
2921 * c-lex.c: Likewise.
2922 * c-lex.h: Likewise.
2923 * c-parse.in: Likewise.
2924 * c-pragma.c: Likewise.
2925 * c-pragma.h: Likewise.
2926 * c-tree.h: Likewise.
2927 * c-typeck.c: Likewise.
2928 * objc/objc-act.c: Likewise.
2929 * objc/objc-act.h: Likewise.
2930
2931 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2932
2933 * m88k-protos.h: New file.
2934
2935 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
2936 time warnings.
2937
2938 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
2939
2940 * m88k.md: Likewise.
2941
2942 * tekXD88.h: Likewise.
2943
2944 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2945
2946 * m68k-protos.h: New file.
2947
2948 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
2949 time warnings.
2950
2951 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
2952
2953 * mot3300.h: Likewise.
2954
2955 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
2956
2957 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
2958 extract_bitlst.
2959 (extract_bitlist): Declare bitlen.
2960
2961 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
2962
2963 * cccp.c: Accept and ignore -lang-fortran.
2964
2965 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
2966 qualifiers don't match at any level of pointerness.
2967
2968 2000-01-12 Robert Lipe <robertl@sco.com>
2969
2970 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
2971
2972 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
2973
2974 * reload1.c (reload_reg_unavailable): New static variable.
2975 (reload_reg_free_p): Test it.
2976 (reload_reg_free_for_value_p): Test it instead of
2977 reload_reg_used.
2978 (choose_reload_regs_init): Compute it.
2979
2980 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
2981
2982 * reorg.c (fill_slots_from_thread): Check modified_in_p
2983 before replacing.
2984
2985 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
2986
2987 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
2988 these nodes even if INTERNALS is not set.
2989
2990 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
2991
2992 * gcse.c (delete_null_pointer_checks_1): Cope when
2993 get_condition cannot determine the condition.
2994
2995 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
2996
2997 * toplev.h (set_message_length): Declare.
2998
2999 * diagnostic.c (obstack_chunk_alloc): Define macro.
3000 (obstack_chunk_free): Likewise.
3001 (struct output_buffer): New data structure.
3002 (vmessage): Remove.
3003 (output_maximum_width): New variable.
3004 (doing_line_wrapping, set_message_length, init_output_buffer,
3005 get_output_prefix, output_space_left, emit_output_prefix,
3006 output_newline, output_append, output_puts, dump_output,
3007 vbuild_message_string, build_message_string, build_location_prefix,
3008 voutput_notice, output_printf, line_wrapper_printf,
3009 vline_wrapper_message_with_location): New functions. Implement
3010 automatic line wrapping.
3011 (v_message_with_decl): Make it handle automatic line wrapping.
3012 (v_error_with_file_and_line): Likewise.
3013 (v_warning_with_file_and_line): Likewise.
3014 (announce_function): Likewise.
3015 (default_print_error_function): Likewise.
3016
3017 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
3018
3019 * cpplib.h (struct cpp_options): Change lang_asm to char.
3020 Add lang_fortran.
3021 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
3022 done in cpp_handle_option now.
3023 (initialize_builtins): Take out special case code used only by
3024 __STDC_VERSION__.
3025 (cpp_handle_option): Turn off trigraphs and trigraph warnings
3026 if -traditional. Recognize -lang-fortran and set
3027 lang_fortran, also turn off cplusplus_comments.
3028 (print_help): Document -lang-fortran.
3029 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
3030 lang_asm. Ignore all directives other than `# 123 "file"' if
3031 CPP_PREPROCESSED.
3032 (cpp_get_token): If -traditional, don't recognize directives
3033 unless the # is in column 1.
3034 (parse_string): If lang_fortran or lang_asm, silently
3035 terminate strings ('' or "") at end of line.
3036 Remove unnecessary braces.
3037
3038 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3039 Richard Henderson <rth@cygnus.com>
3040
3041 * resource.c (mark_referenced_resources): Mark a set strict_low_part
3042 as used.
3043 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
3044 strict_low_part when possible.
3045
3046 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3047
3048 * alias.c: PROTO -> PARAMS.
3049 * basic-block.h: Likewise.
3050 * bitmap.c: Likewise.
3051 * bitmap.h: Likewise.
3052 * builtins.c: Likewise.
3053 * c-aux-info.c: Likewise.
3054 * caller-save.c: Likewise.
3055 * calls.c: Likewise.
3056
3057 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3058
3059 * Makefile.in (toplev.o): Depend on regs.h.
3060
3061 * output.h (tdesc_section): Prototype.
3062
3063 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
3064
3065 * sdbout.c: Include "tm_p.h".
3066
3067 * toplev.c: Include "regs.h".
3068
3069 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
3070
3071 * unroll.c (unroll_loop): Add EH support.
3072
3073 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3074
3075 * pa-protos.h: New file.
3076
3077 * pa.c: Include recog.h and tm_p.h.
3078 (compute_zdepwi_operands, compute_movstrsi_length,
3079 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
3080 find_addr_reg, import_milli): Add static prototypes.
3081 (pa_cpu_string, pa_arch_string): Constify a char*.
3082 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
3083 (read_only_operand): Add argument `mode'.
3084 (singlemove_string, output_move_double, output_fp_move_double,
3085 output_block_move, output_and, output_ior, output_ascii,
3086 remove_useless_addtr_insns, milli_names, output_mul_insn,
3087 output_div_insn, output_mod_insn, output_arg_descriptor,
3088 output_cbranch, output_bb, output_bvb, output_dbra, ,
3089 output_millicode_call, output_call, hppa_encode_label,
3090 output_parallel_movb, output_parallel_addb): Constify a char*.
3091 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
3092 (output_parallel_addb): Remove extra arg to `constrain_operands'
3093
3094 * pa.h: Move all prototypes to pa-protos.h.
3095 (pa_cpu_string, pa_arch_string): Constify a char*.
3096 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
3097
3098 * pa.md: Call `function_label_operand' with mode argument.
3099 Likewise for `read_only_operand'.
3100 Fix nesting of parens in call to `symbolic_operand'.
3101
3102 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3103
3104 * i860-protos.h: New file.
3105
3106 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
3107 time warnings.
3108
3109 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
3110
3111 * i860.md: Likewise.
3112
3113 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
3114
3115 * i386.md (movstrsi expander): Rewrite.
3116 (movstrsi_1 insn): Deleted.
3117 (strmovhi, strmovqi expander): New expanders.
3118 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
3119 * i386.c (x86_single_stringop): New global variable.
3120 * i386.h (x86_single_stringop): Declare.
3121 (TARGET_SINGLE_STRINGOP): New macro.
3122
3123 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
3124
3125 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
3126 integer vararg POSTINCREMENT before the destination of the jump
3127 for the hard fp case.
3128 (function_arg_pass_by_reference): Pass a copy of CUM to
3129 FUNCTION_ARG.
3130
3131 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
3132 for CONSTANT_ADDRESS_P above while loop for subreg.
3133
3134 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
3135
3136 * flow.c (propagate_block): When a prologue/epilogue insn
3137 is marked dead, unconditionally clear libcall_is_dead and
3138 insn_is_dead, and only dump rtl if warnings aren't being
3139 suppressed.
3140
3141 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
3142
3143 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
3144 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
3145 (FIXED_REGISTERS): Set dirflag as fixed.
3146 (CALL_USED_REGISTERS): Set dirflag as used.
3147 (REG_ALLOC_ORDER): Set dirflag as last one.
3148 (DIRFLAG_REG): New macro.
3149 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
3150 (HI_REGISTER_NAMES): Add dirflag.
3151 (DEBUF_PRINT_REG): Handle dirflag.
3152 * i386.md (type attribute): New cld and str types.
3153 (length_opcode attribute): Set cld and str to 1.
3154 (memory attribute): Set str to unknown - it is not clear from the
3155 patterns.
3156 (pent_np function unit): Prefixed string operations takes 12 cycles
3157 minimally; cld takes 2 cycles.
3158 (ppro_uops attribute): Str is "many" and cld is "few".
3159 (ppro_p0 unit): Handle cld here.
3160 (k6_alux unit): Handle cld and str types.
3161 (k6_load unit): It is ocupied by str opcodes.
3162 (k6_store unit): It is ocupied by str opcodes.
3163 (athlon_decode): Str is vector decoded.
3164 (athlon_ieu): Handle str and cld.
3165 (cld pattern): New.
3166 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
3167 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
3168 cmpstrsi_nz_1 insn): Do not output cld instruction
3169
3170 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
3171
3172 * gcc.texi (G++ and GCC): Add Java and Chill.
3173 (Bug Critera): Don't list languages.
3174
3175 * gcc.texi (Incompatibilities): No longer claim most C compilers
3176 are K&R.
3177
3178 * gcc.texi (G++ and GCC): Update other front-ends list.
3179
3180 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
3181
3182 * i386.c (ix86_expand_setcc): Fix typo.
3183 (ix86_expand_movcc): Similarly.
3184
3185 * Band-aid until haifa's bitset implementation is nuked.
3186 * haifa-sched.c (extract_bitlst): New parameter for size of the
3187 bitset in bits. All callers changed. Avoid looking at undefined
3188 bits in the bitset.
3189 (edgeset_bitsize): New variable.
3190 (schedule_region): Initialize edgeset_bitsize.
3191
3192 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3193
3194 * Makefile.in (optabs.o): Depend on real.h
3195 (resource.o): Depend on insn-attr.h
3196
3197 * builtins.c (result_vector): Wrap prototype in macro conditions
3198 governing definition and use.
3199
3200 * c-common.c: Include tm_p.h.
3201
3202 * c-lex.c: Likewise.
3203
3204 * elfos.h: Constify a char*.
3205
3206 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
3207 (get_attr_length, shorten_branches, profile_after_prologue): Mark
3208 parameter with ATTRIBUTE_UNUSED.
3209
3210 * fold-const.c (exact_real_inverse): Wrap variable `i' in
3211 CHECK_FLOAT_VALUE.
3212
3213 * haifa-sched.c (schedule_insns): Mark parameter with
3214 ATTRIBUTE_UNUSED.
3215
3216 * optabs.c: Include real.h.
3217
3218 * real.h (ereal_atof): Add prototype arguments.
3219
3220 * resource.c: Include insn-attr.h.
3221
3222 * sdbout.c (sdbout_queue_anonymous_type,
3223 sdbout_dequeue_anonymous_types): Wrap in macro
3224 SDB_ALLOW_FORWARD_REFERENCES.
3225 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
3226 ATTRIBUTE_UNUSED.
3227
3228 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
3229
3230 * stupid.c: Include tm_p.h.
3231
3232 * tree.c (real_value_from_int_cst): Mark parameter with
3233 ATTRIBUTE_UNUSED.
3234
3235 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3236
3237 * i960-protos.h: New file.
3238
3239 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
3240 time warnings.
3241
3242 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
3243
3244 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3245
3246 * combine.c (expand_field_assignment): Do not discard SUBREGs
3247 while computing nonzero_bits.
3248
3249 2000-01-09 Nick Clifton <nickc@cygnus.com>
3250
3251 * config/arm/arm.c: Fix compile time warnings about signed vs
3252 unsigned constants.
3253 * config/arm/arm.h: Fix compile time warnings about signed vs
3254 unsigned constants.
3255
3256 2000-01-09 Philip Blundell <philb@gnu.org>
3257
3258 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
3259 than `ldm' with only one register.
3260 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
3261 only one register.
3262
3263 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
3264 clobbered.
3265
3266 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
3267
3268 * config/ns32k/ns32k.md (load or push effective address): Operand 1
3269 must have SImode.
3270
3271 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3272
3273 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
3274 assignment used as truth value.
3275
3276 * function.c (assign_temp): Mark parameter `dont_promote' with
3277 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
3278 PROMOTE_FOR_CALL_ONLY.
3279
3280 * genrecog.c (write_subroutine): Mark variable `operands' with
3281 ATTRIBUTE_UNUSED.
3282
3283 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
3284 ATTRIBUTE_UNUSED.
3285
3286 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
3287 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
3288
3289 * toplev.c (note_deferral_of_defined_inline_function): Likewise
3290 for `decl'.
3291
3292 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3293
3294 * config/c4x.h: Tidy up comments.
3295 * config/c4x.c: Likewise.
3296
3297 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
3298
3299 * fold-const.c (lshift_double, rshift_double): Handle
3300 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
3301
3302 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3303
3304 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
3305 in prepare_function_start().
3306
3307 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
3308
3309 * config/v850/v850.c (expand_epilogue): Interrupt functions no
3310 longer allocate extra stack for function calls.
3311
3312 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3313
3314 * config/c4x/c4x.md (*subqf3_set): Fix typo.
3315
3316 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3317
3318 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
3319
3320 2000-01-07 David Edelsohn <edelsohn@gnu.org>
3321
3322 * rs6000.c (processor_target_table): Add power3 as alias for 630.
3323 * aix43.h: Revert Aug 2 change.
3324 (HAS_INIT_SECTION): Define, not visible yet.
3325 (LD_INIT_SWITCH): Define, not visible yet.
3326 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
3327
3328 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
3329
3330 * collect2.c (main): Expand ld2 size further.
3331 (export_object_lst): Cast assignment to avoid warning.
3332 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
3333 (scan_prog_file, COFF): Do not collect initialization or
3334 finalization functions generated for entire shared object if
3335 init/fini support present.
3336
3337 2000-01-07 Nick Clifton <nickc@cygnus.com>
3338
3339 * config/elfos.h: Tidy up formatting of marcos. Make sure
3340 that .section directives are always prefixed by a tab.
3341
3342 * config/svr4.h: Add #include "elfos.h" and remove duplicate
3343 definitions.
3344
3345 2000-01-07 Matt Austern <austern@sgi.com>
3346
3347 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
3348 expon.
3349
3350 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
3351
3352 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
3353 crtstuff.c.
3354 (crtbegin.o, s-crtS): Likewise.
3355
3356 2000-01-06 Richard Henderson <rth@cygnus.com>
3357
3358 * alpha.md (adddi_2+1): Limit offset such that it will be
3359 loadable with a single ldah+lda pair.
3360 (adddi_2+2): Explicitly fail split if we can't make it work.
3361
3362 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
3363
3364 * protoize.c: Conditionally include unistd.h.
3365 (IS_SAME_PATH_CHAR): New macro.
3366 (IS_SAME_PATH): New macro.
3367 (CPLUS_FILE_SUFFIX): New macro.
3368 (cplus_suffix): New static variable.
3369 (is_abspath): New static function.
3370 (in_system_include_dir): Handle DOS style pathnames.
3371 (file_could_be_converted): Likewise.
3372 (file_normally_convertible): Likewise.
3373 (directory_specified_p): Likewise.
3374 (file_excluded_p): Likewise.
3375 (abspath): Likewise.
3376 (shortpath): Likewise.
3377 (referenced_file_is_newer): Likewise.
3378 (save_def_or_dec): Likewise.
3379 (do_processing): Likewise.
3380 (main): Likewise.
3381 (edit_file): Likewise. Use rename instead of link.
3382 (rename_c_file): Likewise. Don't rename syscalls file.
3383 (munge_compile_params): Define null device for DOS based systems.
3384 (process_aux_info_file): Use binary mode if appliable.
3385 (edit_file): Likewise.
3386 * invoke.texi (Running Protoize): Document C++ suffixes used.
3387
3388 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
3389 IS_DIR_SEPARATOR macros.
3390 * collect2.c: Likewise.
3391 * cppinit.c: Likewise.
3392 * dwarf2out.c: Likewise.
3393 * gcc.c: Likewise.
3394 * gcov.c: Likewise.
3395 * prefix.c: Likewise.
3396 * rtl.c: Likewise.
3397 * toplev.c: Likewise.
3398 * system.h: And move to here.
3399
3400 * prefix.c (update_path): Fix typo in variable name.
3401
3402 2000-01-06 Richard Henderson <rth@cygnus.com>
3403
3404 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
3405 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
3406 (count_reg_sets_1, count_reg_references): Likewise.
3407 (flow_loops_level_compute): Start counting actual loop depth at 1.
3408 (flow_loops_find): Likewise.
3409 * local-alloc.c (update_equiv_regs): Likewise.
3410 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
3411
3412 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3413
3414 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
3415 FIRST_PSEUDO_REGISTER
3416 * dwarf2out.c: Don't include frame.h
3417 * dwarfout.c: Likewise
3418 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
3419 frame.h
3420
3421 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
3422
3423 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
3424 dead registers.
3425
3426 * i386.c (movsf splitter): Fix typo in my last checkin.
3427
3428 2000-01-05 Nick Clifton <nickc@cygnus.com>
3429
3430 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
3431 own definition of this macro.
3432 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
3433 flag_data_sections or UNIQUE_SECTION_P are true.
3434
3435 * tm.texi (UNIQUE_SECTION): Document that it can be called for
3436 unitialised data decls.
3437
3438 * config/i386/winnt.c (i386_pe_unique_section): Cope with
3439 being called for uninitialised data.
3440
3441 * config/i386/interix.c (i386_pe_unique_section): Cope with
3442 being called for uninitialised data.
3443
3444 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
3445 for uninitialised data.
3446
3447 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
3448 for uninitialised data.
3449
3450 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
3451 for uninitialised data.
3452
3453 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
3454 (UNIQUE_SECTION_P): Always generate a unique section if
3455 flag_data_sections is true.
3456 (UNIQUE_SECTION): Also generate unique sections for
3457 uninitialised data.
3458 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
3459 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
3460 named_section().
3461
3462 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3463
3464 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
3465 SI, or DI.
3466
3467 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3468
3469 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
3470 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
3471 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
3472 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
3473 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
3474
3475 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
3476
3477 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
3478
3479 * c-decl.c (finish_enum): Simplify code to determine minimum and
3480 maximum values of the enum, and calculate the type. Remove check
3481 for FUNCTION_DECLs in the values list, which cannot happen. Replace
3482 the DECL_INITIAL of each enumeration constant with a copy converted
3483 to the enumeration type. When updating variant types, don't bother
3484 updating the type itself.
3485
3486 * c-typeck.c (build_binary_op): Simplify conditional expressions
3487 when weeding out spurious signed-unsigned warnings. Add new
3488 spurious warning category: if the unsigned quantity is an enum
3489 and its maximum value fits in signed_type(result_type). Update
3490 commentary.
3491 (build_conditional_expr): Warn here if one alternative is signed
3492 and the other is unsigned.
3493
3494 2000-01-05 Nick Clifton <nickc@cygnus.com>
3495
3496 * config/fr30/fr30.h: Remove extraneous comments.
3497
3498 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
3499
3500 * reload1.c (choose_reload_regs): When disabling a reload, also
3501 set reload_spill_index to -1.
3502
3503 2000-01-04 Joel Sherrill (joel@OARcorp.com>
3504
3505 * configure.in (m68*-*-rtemscoff*): New target, formal name for
3506 old m68*-*-rtems*.
3507 (m68*-*-rtemself*): New target.
3508 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
3509 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
3510 (sparc*-*-rtemself*): New target.
3511 (sparc*-*-rtems*): Now elf not a.out.
3512 * config/i386/rtems.h: Include config/rtems.h.
3513 * config/i386/rtemself.h: Include config/rtems.h.
3514 * config/i960/rtems.h: Include config/rtems.h.
3515 * config/m68k/rtems.h: Include config/rtems.h.
3516 * config/m68k/rtemself.h: Include config/rtems.h.
3517 * config/mips/rtems64.h: Include config/rtems.h.
3518 * config/pa/rtems.h: Include config/rtems.h.
3519 * config/rs6000/rtems.h: Include config/rtems.h.
3520 * config/sh/rtems.h: Include config/rtems.h.
3521 * config/sh/rtemself.h: Include config/rtems.h.
3522 * config/sparc/rtems.h: Include config/rtems.h.
3523 * config/sparc/rtemself.h: Include config/rtems.h
3524
3525 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
3526
3527 * final.c (shorten_branches): Correctly compute length of
3528 asms without operands.
3529
3530 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
3531
3532 * configure.in: Add pj target.
3533 * configure: Regenerate.
3534 * config/pj: New directory.
3535 * config/pj/lib1funcs.S: New file.
3536 * config/pj/linux.h: New file.
3537 * config/pj/pj.c: New file.
3538 * config/pj/pj.md: New file.
3539 * config/pj/pjl.h: New file.
3540 * config/pj/t-pj: New file.
3541 * config/pj/xm-pj.h: New file
3542
3543 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
3544
3545 * toplev.c (rest_of_compilation): Run shorten-branches before
3546 reg-stack for now.
3547
3548 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3549
3550 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
3551 macros so that they're consistent with their names.
3552 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
3553 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
3554
3555 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3556
3557 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
3558 modified inadvertently.
3559
3560 2000-01-04 Joel Sherrill <joel@OARcorp.com>
3561
3562 * configure.in (v850*-*-rtems*): New target.
3563 * configure: Regenerate.
3564 * config/v850/rtems.h: New file.
3565
3566 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
3567
3568 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
3569 (__gthread_key_create): Likewise.
3570 (__gthread_key_dtor): Likewise.
3571 (__gthread_once): Fix logic.
3572 (__gthread_key_delete): Cast away constness.
3573
3574 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
3575 * invoke.texi: Document.
3576 * i386/mingw32.h (CPP_SPEC): Use.
3577 (LIBGCC_SPEC): Likewise.
3578 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
3579
3580 2000-01-04 David Edelsohn <edelsohn@gnu.org>
3581
3582 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
3583 (HANDLE_PRAGMA_PACK): Undefine.
3584 (SLOW_UNALIGNED_ACCESS): Define.
3585
3586 2000-01-04 David Edelsohn <edelsohn@gnu.org>
3587
3588 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
3589 to default definition.
3590 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
3591 (store_fixed_bit_field): Call macro with word_mode and alignment.
3592 (extract_bit_field): Call macro with relevant mode and alignment.
3593 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
3594 to default definition.
3595 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
3596 and alignment.
3597 (move_by_pieces_ninsns): Likewise.
3598 (clear_by_pieces): Likewise.
3599 (emit_push_insn): Likewise.
3600 (store_field): Call macro with relevant mode and alignment.
3601 (expand_expr): Likewise.
3602 (expand_expr_unaligned): Likewise.
3603
3604 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
3605 (SLOW_UNALIGNED_ACCESS): Define.
3606 (CASE_VECTOR_MODE): Always use 32-bit offsets.
3607 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
3608 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
3609 (toc_section): Likewise and .toc pseudo-op.
3610 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
3611 64-bit mode.
3612 (TEXT_SECTION_ASM_OP): Likewise.
3613 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
3614 32-bit offsets.
3615
3616 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
3617 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
3618 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
3619 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
3620 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
3621
3622 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
3623
3624 * regclass.c: Revert my Jan 4 change to loop cost computation.
3625
3626 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
3627
3628 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
3629 compilation.
3630
3631 2000-01-04 Stan Cox <scox@cygnus.com>
3632
3633 * haifa-sched.c (build_control_flow): Change unreachable simple
3634 loop test to check if current block has only one predecessor.
3635 (find_rgns): Initialize degree. Use dest as degree index, not src.
3636
3637 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3638
3639 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
3640
3641 * calls.c (expand_call): Likewise for
3642 `old_stack_arg_under_construction'.
3643
3644 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
3645
3646 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
3647 `save_constant'.
3648
3649 * gcc.c (execute): Likewise for `ut' and `st'.
3650
3651 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
3652
3653 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
3654
3655 * jump.c (jump_optimize_1): Likewise for `temp2'.
3656
3657 * local-alloc.c (block_alloc): Likewise for `r1'.
3658
3659 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
3660
3661 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
3662 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
3663
3664 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
3665 and `set2'.
3666
3667 * reload.c (find_reloads): Likewise for `goal_alternative_number'
3668 and `goal_earlyclobber'.
3669
3670 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
3671
3672 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
3673
3674 * stupid.c (stupid_life_analysis): Likewise for `chain'.
3675
3676 * unroll.c (copy_loop_body): Likewise for `copy'.
3677
3678 * varasm.c (output_constructor): Likewise for `byte'.
3679
3680 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
3681
3682 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
3683 all FP constants for constant->reg moves.
3684 (ix86_split_to_parts): Try to convert memory address into immediate
3685 when available in the constant pool.
3686 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
3687 moves.
3688 (LEGITIMATE_CONSTANT_P): Return 1.
3689 * i386.md (pushsf): New splitter to convert constant pool memory
3690 reference to immediate.
3691 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
3692 reload.
3693
3694 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
3695
3696 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
3697 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
3698 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
3699 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
3700 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
3701
3702 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
3703
3704 * ginclude/stdbool.h: Support compilation as C++.
3705
3706 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3707
3708 * fold-const.c (make_range): Don't try to reverse an unbounded range.
3709
3710 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
3711
3712 * regclass.c (regclass): Properly compute loop_cost. Adjust
3713 comments.
3714
3715 * regclass.c: Fix minor whitespace problems.
3716
3717 2000-01-03 Anthony Green <green@cygnus.com>
3718
3719 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
3720 Restore the pic register if required.
3721
3722 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
3723
3724 * c-common.c (format_char_info): Update comment.
3725 (check_format_info): Recognize 'z' modifier in the same way 'Z'
3726 was recognized. Emit warning for formats new in ISO C99 only
3727 if flag_isoc9x is not set.
3728
3729 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
3730
3731 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
3732
3733 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
3734
3735 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
3736 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
3737 (make_compound_operation): Choose cheaper alternative between
3738 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
3739
3740 * regclass.c (op_costs): Remove global variable.
3741 (record_reg_classes): New parameter "op_costs" and "reg_pref".
3742 (record_operand_costs): Break out from ...
3743 (scan_one_insn): ... here.
3744 (dump_regclass): Make dumps nicer.
3745 (regclass): Dump preferrences choosed and changes done during passes.
3746
3747 2000-01-03 Jakub Jelinek <jakub@redhat.com>
3748
3749 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
3750
3751 2000-01-03 Jakub Jelinek <jakub@redhat.com>
3752
3753 * config/sparc/sparc.c (gen_df_reg): New function.
3754 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
3755 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
3756 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
3757 movtf_cc_reg_sp64+1): Use it.
3758
3759 2000-01-02 Mark Mitchell <mark@codesourcery.com>
3760
3761 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
3762 copied LABEL_DECLs.
3763
3764 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
3765
3766 * config/i386/i386.c (ix86_expand_unary_operator): Function
3767 definition made void.
3768 (ix86_expand_binary_operator): Update outdated preceding comment.
3769 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
3770 prototype.
3771
3772 * config/i386/i386.c (override_options): Fix option-name typo.
3773
3774 2000-01-02 Mark Mitchell <mark@codesourcery.com>
3775
3776 * system.h (CEIL): Define.
3777 * builtins.c (CEIL): Remove.
3778 * expmed.c (CEIL): Likewise.
3779 * expr.c (CEIL): Likewise.
3780 * stor-layout.c (CEIL): Likewise.
3781
3782 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3783
3784 * expr.c (store_constructor_field): Fix typo introduced with last
3785 gcc2 merge.
3786
3787 2000-01-01 Mark Mitchell <mark@codesourcery.com>
3788
3789 * tree.h (BINFO_N_BASETYPES): New macro.
3790
3791 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
3792
3793 * expmed.c (emit_store_flag): Prevent losing a pending stack
3794 adjust the same way we prevent losing queued increments.
3795
3796 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3797
3798 * function.c (update_temp_slot_address): Handle case where sum of
3799 temporary address plus offset in register is a valid address.
3800
3801 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3802
3803 * genrecog.c (change_state) Corrected typo.
3804
3805 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3806
3807 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
3808 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
3809 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
3810
3811 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
3812
3813 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
3814 case, expand GT comparisons correctly. Fix a comment before this
3815 part of the code.
3816
3817 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3818
3819 * dwarfout.c: Include "frame.h"
3820 * dwarf2out.c: Likewise.
3821 * Makefile.in (dwarfout.o): Depend on frame.h
3822 (dwarf2out.o): Likewise.
3823
3824 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
3825
3826 Restore i386 binary compatibility in Dwarf EH info.
3827 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
3828 value of FIRST_PSEUDO_REGISTER.
3829 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
3830 (struct frame_state): Use DWARF_FRAME_REGISTERS.
3831 * dwarfout.c (output_reg_number): Ditto.
3832 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
3833 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
3834
3835 1999-12-29 Bruce Korb <autogen@linuxbox.com>
3836
3837 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
3838 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
3839 (<hack>_RE_CT): not needed
3840 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
3841 rewritten to scan the file text once only
3842 "template<..." test added
3843 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
3844 (is_cxx_header): declaration added
3845 * fixinc/fixtests.c(is_cxx_header): removed
3846 (apply_fix_p_t): removed
3847 (double_slash_test): is_cxx_header is only called once now
3848 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
3849 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
3850 within the templates.
3851 The borken spelling of "broken" was fixed.
3852 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
3853 The default level depends on FIXINC_DEBUG.
3854
3855 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3856
3857 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
3858 Otherwise provide a declaration for atexit.
3859 (init_dummy): Make sure dummy call to atexit is nevertheless
3860 called with correct number of args.
3861
3862 * frame.c: Update comments referring to other files.
3863
3864 * libgcc2.c: Likewise.
3865
3866 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3867
3868 * cse.c (free_element, get_element): Remove unused prototypes.
3869
3870 * fold-const.c (extract_muldiv): Initialize variables `op0' and
3871 `op1'.
3872
3873 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
3874 `else' clauses.
3875
3876 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
3877
3878 * configure.in,configure: case arm for mn10200-*-* now sets
3879 float_format=i32 so that float.h will correctly claim "double"
3880 to be 32 bits. Ran autoconf to generate configure from .in file.
3881
3882 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
3883
3884 * pa.md (conditional zero): If op1 is a register, force it into
3885 the same register as op0.
3886
3887 1999-12-28 Mark Mitchell <mark@codesourcery.com>
3888
3889 * tree.h (BINFO_BASETYPES): Improve documentation.
3890
3891 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3892
3893 * configure.in (--enable-checking): Use a more portable `for'
3894 loop syntax.
3895
3896 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3897
3898 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
3899 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
3900
3901 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
3902 Delete files.
3903
3904 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
3905 Delete descriptions.
3906
3907 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
3908 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
3909 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
3910 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
3911 xm-svr4.h: Remove all instances of sys_siglist handling.
3912
3913 1999-12-27 Jakub Jelinek <jakub@redhat.com>
3914
3915 * config/sparc/sparc.md (cmp_zero_qi,
3916 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
3917 cmp_zero_extendqidi2_andcc_set): New patterns.
3918
3919 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
3920
3921 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
3922 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
3923 (fpgnulib.c, xfgnulib.c): Add rules.
3924 * m68k/t-mot3300-gas: Likewise.
3925
3926 1999-12-27 Ian Lance Taylor <ian@zembu.com>
3927
3928 * configure.in: Avoid [[ by using test and changequote. Add
3929 changequote required by 1999-12-14 change.
3930 * configure: Rebuild.
3931
3932 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
3933
3934 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
3935
3936 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
3937
3938 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
3939 * flow.c (find_use_as_address): Likewise.
3940 * function.c (fixup_var_refs_1): Likewise.
3941 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
3942 * jump.c (invert_exp, redirect_exp): Likewise.
3943 * loop.c (replace_call_address): Likewise.
3944 (count_nonfixed_reads): Likewise.
3945 * rtlanal.c (modified_between_p): Likewise.
3946 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
3947 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
3948 * unroll.c (remap_split_bivs): Likewise.
3949
3950 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3951
3952 * diagnostic.c (v_message_with_decl): Use .* format specifier
3953 instead of building the format specifier width manually.
3954
3955 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
3956 determining whether to provide a prototype. Remove the
3957 sys_siglist clause in the conditional.
3958
3959 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3960
3961 * fold-const.c (operand_equal_p): Use memcmp to compare string
3962 constants.
3963 Suggested by D. J. Bernstein
3964
3965 1999-12-17 Jakub Jelinek <jakub@redhat.com>
3966
3967 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
3968 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
3969 compiling libgcc2.
3970 * config/mips/mips.h (TARGET_64BIT): Likewise.
3971 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
3972 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
3973 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
3974 dsps. Give routines proper names if SI/DI modes are not used.
3975 * longlong.h: Use DWunion instead of DIunion.
3976
3977 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
3978
3979 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
3980 GC_CHECKING, GC_ALWAYS_COLLECT.
3981 * configure.in: Allow --enable-checking with an argument
3982 listing check modes to enable.
3983 * config.in, configure: Rebuilt.
3984 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
3985 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
3986 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
3987 ENABLE_GC_ALWAYS_COLLECT.
3988 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
3989 throughout.
3990 * tree.h, tree.c: Change ENABLE_CHECKING to
3991 ENABLE_TREE_CHECKING throughout.
3992
3993 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3994
3995 * fold-const.c (fold_truthop): Properly check for FP RHS.
3996
3997 1999-12-24 Mark Mitchell <mark@codesourcery.com>
3998
3999 * toplev.h (note_deferall_of_defined_inline_function): Declare.
4000 * toplev.c (note_deferral_of_defined_inline_function): New
4001 function, split out from ...
4002 (rest_of_compilation): ... here. Use it.
4003
4004 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4005
4006 * expr.c (store_constructor): Don't call clear_storage if size is
4007 variable.
4008
4009 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4010
4011 * Makefile.in (toplev.o): Depend on loop.h.
4012
4013 * dwarfout.c: Include tm_p.h.
4014
4015 * emit-rtl.c (restore_emit_status): Mark parameter with
4016 ATTRIBUTE_UNUSED.
4017
4018 * final.c (final_scan_insn): Likewise.
4019
4020 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
4021 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
4022 flow_depth_first_order_compute, flow_loop_pre_header_find,
4023 flow_loop_tree_node_add, flow_loops_tree_build,
4024 flow_loop_level_compute, flow_loops_level_compute,
4025 flow_loop_outside_edge_p): Add prototypes.
4026 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
4027
4028 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
4029 Mark with ATTRIBUTE_NORETURN.
4030
4031 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
4032
4033 * local-alloc.c (no_conflict_p): Likewise.
4034
4035 * loop.c (insert_bct): Hide definitions of variables with hidden
4036 usage.
4037 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
4038
4039 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
4040 with ATTRIBUTE_UNUSED.
4041 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
4042 (reg_scan): Likewise.
4043
4044 * reload.c (find_reloads): Remove unused variables `changed'.
4045
4046 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
4047 away const-ness.
4048 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
4049 Remove unused variable `insn'.
4050
4051 * toplev.c: Include loop.h.
4052 (report_file_and_line): Remove unnecessary prototype.
4053
4054 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
4055
4056 * unroll.c (biv_total_increment): Likewise.
4057
4058 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4059
4060 * reload1.c (emit_input_reload_insns): Restore old behaviour
4061 wrt. 'special' reloads.
4062
4063 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
4064
4065 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
4066 hash.h. (cse.c): Don't depend on hashtab.h.
4067
4068 * cse.c: Don't include hashtab.h.
4069 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
4070 of dead functions.
4071 * ggc-simple.c: Don't include hash.h.
4072
4073 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
4074
4075 * dwarf2out.c (add_abstract_origin_attribute): Call
4076 gen_abstract_function on our function context.
4077
4078 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
4079
4080 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
4081
4082 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4083
4084 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
4085 case in switch.
4086
4087 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4088
4089 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
4090 constraints to "a!r".
4091
4092 1999-12-21 Mark Mitchell <mark@codesourcery.com>
4093
4094 * Makefile.in (calls.o): Depend on function.h.
4095 (alias.o): Likewise.
4096
4097 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
4098
4099 * reload1.c (emit_reload_insns): Break out code and variables into...
4100 (input_reload_insns, other_input_address_reload_insns,
4101 other_input_reload_insns, input_address_reload_insns,
4102 inpaddr_address_reload_insns, output_reload_insns,
4103 output_address_reload_insns, outaddr_address_reload_insns,
4104 operand_reload_insns, other_operand_reload_insns,
4105 other_output_reload_insns): ... new static variables, and...
4106 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
4107 do_output_reload): ... new functions.
4108
4109 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4110
4111 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
4112
4113 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4114
4115 * md.texi: Add c4x constraints documentation.
4116
4117 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4118
4119 * config/i386/dgux.c (struct option): Rename to
4120 lang_independent_option.
4121 (struct m_options): Add description field.
4122 (output_options): Rename option type, add sep declaration, output
4123 ix86_cpu_string and ix86_arch_string only if set.
4124 (output_file_start): Rename option type.
4125
4126 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
4127
4128 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
4129 stmp-int-hdrs.
4130 (libgcc2.a): Similarly.
4131
4132 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
4133
4134 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
4135 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
4136 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
4137
4138 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
4139
4140 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
4141 Remove redundant initialization of "frexpon" and "expon".
4142
4143 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4144
4145 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
4146
4147 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
4148 (store_constructor_field, expand_expr): Pass new arg.
4149
4150 1999-12-20 Mark Mitchell <mark@codesourcery.com>
4151
4152 * Makefile.in (explow.o): Depend on function.h.
4153
4154 * stor-layout.c (set_sizetype): Fix typo.
4155
4156 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
4157
4158 * function.c (cfun): Renamed from current_function. All users
4159 changed.
4160 * function.h (cfun): Rename declaration as well.
4161
4162 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
4163 to be of type regset_head, not regset. All users changed by adding
4164 address operator.
4165 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
4166
4167 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4168
4169 * config/c4x/rtems.h: New file.
4170
4171 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
4172
4173 * reload1.c (spill_failure): Take class of failed reload as argument
4174 and print it. Caller changed.
4175
4176 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4177
4178 * rs6000.h (SUBTARGET_DEFAULT): New macro.
4179 (TARGET_SWITCHES): Allow subtargets to default switches.
4180 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
4181
4182 1999-12-18 Mark Mitchell <mark@codesourcery.com>
4183
4184 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
4185 in a main program.
4186
4187 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
4188
4189 * cccp.c (main): Define __STDC_VERSION__ as necessary.
4190 * cppinit.c (cpp_handle_option): Likewise.
4191
4192 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
4193 determine when to define.
4194
4195 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
4196
4197 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
4198 cmove with mismatched test and data modes.
4199
4200 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
4201
4202 * c-typeck.c (c_expand_start_case): Don't warn for long switch
4203 in system headers.
4204
4205 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4206
4207 * alias.c: Minor reformatting.
4208 * flow.c: Likewise.
4209 * regs.h: Likewise.
4210 * stor-layout.c: Likewise.
4211 * fold-const.c: Likewise.
4212 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
4213 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
4214 not arg itself.
4215 (size_int_wide): Cache nodes even if garbage collecting.
4216 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
4217 of SAVE_EXPR has no side effects.
4218 * cse.c: Move a comment.
4219 * tree.c: Minor reformatting.
4220 (int_size_in_bytes): Return -1 if constant overflows.
4221
4222 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4223
4224 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
4225
4226 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
4227
4228 * objc/objc-parse.c: Regenerate. This file must be rebuilt
4229 after any change to c-parse.in, even if objc-parse.y didn't
4230 change. Oops.
4231
4232 1999-12-18 David S. Miller <davem@redhat.com>
4233
4234 * toplev.c (rest_of_compilation): Restore BLOCK tree
4235 reconstruction and branch shortening changes lost in
4236 December 18th change.
4237
4238 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
4239
4240 * config/arm/linux-elf.h: Change all instances of
4241 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
4242 * config/arm/uclinux-elf.h: Likewise.
4243
4244 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
4245
4246 * toplev.c (notice, vmessage, v_message_with_file_and_line,
4247 v_message_with_decl, file_and_line_for_asm,
4248 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
4249 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
4250 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
4251 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
4252 pfatal_with_name, fatal_io_error, need_error_newline,
4253 last_error_function, last_error_tick, announce_function,
4254 default_print_error_function, print_error_function,
4255 report_error_function, fnotice, error_with_file_and_line,
4256 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
4257 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
4258 warning_with_decl, warning_for_asm, warning, pedwarn,
4259 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
4260 diagnostic.c
4261 (compile_file): Use fnotice instead of notice. Adjust call.
4262
4263 * diagnostic.c: New file.
4264
4265 * Makefile.in (OBJS): Include diagnostic.o
4266 (diagnostic.o): Define dependence.
4267
4268 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4269
4270 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
4271 Tweak formatting.
4272
4273 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4274
4275 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
4276
4277 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
4278
4279 * fixtests.c (is_cxx_header): New fn, split out of
4280 double_slash_test.
4281 (else_endif_label): Allow "#endif // comment" in C++ headers,
4282 as determined by is_cxx_header.
4283 * fixfixes.c (else_endif_label_fix): Update comment.
4284 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
4285 a tty.
4286 * genfixes: Correct double thinko in commandline parsing.
4287 * hackshell.tpl: Generate correct sh syntax for bypass
4288 entries.
4289
4290 * inclhack.def (all): Whenever an inserted preprocessor
4291 conditional is split over multiple lines, use double
4292 backslashes in this file so the fixed header will be readable.
4293
4294 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
4295 and add bypass entry for correct version of this header.
4296 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
4297 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
4298
4299 (hpux8_bogus_inlines): New fix, split from...
4300 (ultrix_atof_param) ... here.
4301 (math_expression): Add bypass entry keyed to glibc comment
4302 indicating the problem has been dealt with; disable
4303 unnecessary sed operations; update commentary.
4304 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
4305 add select and bypass entries, simplify shell operation.
4306 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
4307
4308 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
4309 ultrix_atof_param): Add select entry.
4310 (stdio_va_list, sunos_mather_decl): Add bypass entry.
4311 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
4312 comments with the fixes they describe.
4313
4314 * c-parse.in (string action): Do not warn about ANSI string
4315 concatenation in system headers. Affects C parser only.
4316 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
4317
4318 1999-12-16 Jakub Jelinek <jakub@redhat.com>
4319
4320 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
4321 compiling libgcc2 the macro depends always on arch cpp defines.
4322
4323 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
4324
4325 * loop.c (insert_loop_mem): Don't record MEMs from inside
4326 EXPR_LISTs.
4327
4328 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
4329
4330 * regclass.c (regclass): Do not use flowgraph when not optimizing.
4331
4332 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
4333 notes too, create one when replacement failed, attempt to simplify
4334 resulting notes.
4335 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
4336 or REG_EQUIV notes.
4337
4338 1999-12-16 Mark Mitchell <mark@codesourcery.com>
4339
4340 * crtstuff.c (__dso_handle): Declare.
4341 (__cxa_finalize): Likewise.
4342 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
4343 non-NULL.
4344
4345 * invoke.texi: Document -fuse-cxa-atexit.
4346
4347 * tree.h (ptr_type_node): Document.
4348 (const_ptr_type_node): Likewise.
4349
4350 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4351
4352 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
4353 (optimize_reg_copy_2): Likewise.
4354 (optimize_reg_copy_3): Likewise.
4355 (fixup_match_2): Likewise.
4356 (regmove_optimize): Likewise.
4357 (fixup_match_1): Liekwise.
4358
4359 * i386.md (HI to SImode promoting splitters): Rewrite.
4360 (pushsf mem peep2): New.
4361 (testhi to andhi peep2): Remove.
4362 * i386.h (x86_promote_QImode): New.
4363 (TARGET_PROMOTE_QImode): New.
4364 (PREDICATE_CODES): Add promotable_binary_operator.
4365 * i386.c (x86_promote_QImode0: New.
4366 (promotable_binary_operator): New.
4367 * i386-protos.h (promotable_binary_operator): New.
4368
4369 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
4370 condition.
4371 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
4372
4373 1999-12-16 Mark Mitchell <mark@codesourcery.com>
4374
4375 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
4376 * function.c (insert_block_after_note): Remove.
4377 (retrofit_block): Likewise.
4378 (identify_blocks): Fix indentation.
4379 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
4380 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
4381 * function.h (insert_block_after_note): Remove prototype.
4382 (retrofit_block): Likewise.
4383 * integrate.c (expand_inline_function): Don't call
4384 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
4385 just expand_start_bindings. Use the block_map to remap old
4386 NOTE_BLOCKs to new ones.
4387 (integrate_decl_tree): Keep track of remapped blocks.
4388 * integrate.h (struct inline_remap): Add block_map.
4389 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
4390 NOTE_BLOCK on the notes.
4391 (expand_start_bindings): Rename to ...
4392 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
4393 (expand_end_bindings): Set NOTE_BLOCK.
4394 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
4395 reconstruct the BLOCK tree.
4396 * tree.h (expand_start_bindings): Macroize. Call ...
4397 (expand_start_bindings_and_block): New function.
4398
4399 1999-12-16 Jakub Jelinek <jakub@redhat.com>
4400
4401 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
4402 to match the format.
4403
4404 1999-12-16 David S. Miller <davem@redhat.com>
4405
4406 * expr.c (emit_move_insn_1): Only emit clobbers if one of
4407 the outputs is a SUBREG.
4408 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
4409 change.
4410
4411 * config/sparc/sparc.c (epilogue_renumber): Add default case
4412 to switch stmt.
4413
4414 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4415
4416 * toplev.c (rest_of_compilation): Run branch shortening after
4417 reg-stack.
4418
4419 * regclass.c (loop_depth): Remove
4420 (scan_one_insn): Do not handle LOOP_NOTE insns.
4421 (regclass): Go through basic blocks and set loop_cost
4422
4423 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
4424
4425 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
4426
4427 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4428
4429 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
4430 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
4431 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
4432
4433 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
4434
4435 * loop.c (insert_loop_mem): Ignore memory clobbers.
4436
4437 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
4438 to (OP A B).
4439
4440 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
4441
4442 * profile.c: Remove redundant #include "output.h".
4443
4444 * h8300.md (HImode preinc peephole): Fix typo.
4445
4446 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
4447
4448 * function.c (retrofit_block): Abort if we don't find a suitable insn.
4449 (insert_block_after_note): Abort if we don't have a previous block.
4450 Remove FN parameter.
4451 * function.h: Adjust.
4452
4453 1999-12-15 Mark Mitchell <mark@codesourcery.com>
4454
4455 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
4456 argument more than once.
4457
4458 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
4459
4460 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
4461
4462 1999-12-15 Jakub Jelinek <jakub@redhat.com>
4463
4464 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
4465
4466 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4467
4468 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
4469 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
4470 update stack_alignment_needed.
4471 (prepare_function_start): Initialize stack_alignment_needed
4472 * function.h (struct function): Add field stack_alignment_needed.
4473
4474 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4475
4476 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
4477 Handle live_throughout / dead_or_set instead of live_before /
4478 live_after.
4479 (save_call_clobbered_regs): Get register livenessinformation from
4480 chain->live_throughout.
4481 (add_stored_regs): New function.
4482 (insert_restore, insert_save): Add restored / saved registers to
4483 dead_or_set.
4484 * global.c (reg_dies): New parameter chain.
4485 (reg_becomes_live): Third parameter is regs_set now.
4486 Changed all callers.
4487 (reg_dies): New parameter chain. Changed all callers.
4488 (build_insn_chain): Set live_throughout instead of
4489 live_before / live_after.
4490 * reload.h (struct insn_chain): Replace members live_before /
4491 live_after with live_throughout / dead_or_set.
4492 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
4493 instead of live_before / live_after.
4494 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
4495 (order_regs_for_reload, find_reg, finish_spills): Likewise.
4496 (choose_reload_regs_init): Likewise.
4497 * stupid.c (current_chain, find_clobbered_regs): Delete.
4498 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
4499 instead of chain->live_before / chain->live_after.
4500 (mark_hard_ref): New function.
4501 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
4502
4503 1999-12-15 David S. Miller <davem@redhat.com>
4504
4505 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
4506
4507 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4508
4509 * flow.c (calculate_loop_depth): Make global, remove prototype,
4510 rewrite to use new loop infrastructure.
4511 (find_basic_block): Remove calculate_loop_depth call.
4512 * toplev.c (rest_of_compilation): Call find_basic_block.
4513 * output.h (calculate_loop_depth): Declare.
4514
4515 * flow.c (dump_flow_info): Dump loop_depth.
4516 (flow_loops_nodes_find): Increase loop_depth for basic block in the
4517 body.
4518 (flow_loops_find): Initialize the loop_depth for each basic block.
4519
4520 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
4521
4522 * tree.c (decl_function_context): Handle virtual functions.
4523
4524 * tlink.c (scan_linker_output): Don't look in demangled name when
4525 looking for linker output keywords.
4526
4527 * dwarfout.c (output_type): We can defer namespace-scope classes.
4528
4529 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
4530
4531 * regclass.c (record_reg_classes): Update comment for merging
4532 register class preferences in reg->reg copies. Tighten conditions
4533 for merging register class preferences in reg->reg copies.
4534
4535 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
4536
4537 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
4538
4539 1999-12-14 Geoff Keating <geoffk@cygnus.com>
4540
4541 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
4542 (INIT_SECTION_ASM_OP): Delete.
4543 (FINI_SECTION_ASM_OP): Delete.
4544 (STARTFILE_SPEC): Define to hold just crtbegin.o.
4545
4546 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
4547
4548 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
4549 the abstract origin wasn't emitted.
4550
4551 * dwarf2out.c (class_scope_p): New fn.
4552 (gen_subprogram_die): Use it.
4553 (gen_variable_die): Use it. Tweak logic.
4554 (gen_struct_or_union_type_die): Check context_die to determine
4555 if we're function-local.
4556 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
4557
4558 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
4559
4560 * loop.c (check_dbra_loop): Can't reverse a biv that has
4561 maybe_multiple set.
4562
4563 1999-12-14 Nick Clifton <nickc@cygnus.com>
4564
4565 * config/arm/arm.c: Add support for -mcpu=arm720 command line
4566 switch.
4567
4568 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4569
4570 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
4571 for givs made from biv increments.
4572
4573 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
4574
4575 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
4576 * alpha.c (override_options): Recognize -mcpu=ev67.
4577 * alpha.h (CPP_CPU_EV67_SPEC): New.
4578 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
4579 (EXTRA_SPECS): Update.
4580
4581 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
4582
4583 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
4584 appropriate for -lang-c89 and -std=*.
4585 * cppinit.c (cpp_handle_option): Likewise.
4586 (new_pending_define): New, split out from cpp_handle_option.
4587 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
4588 or enable trigraphs for -ansi/-std=*.
4589
4590 * ginclude/stdarg.h (__va_copy): New.
4591 (va_copy): Don't define for C89.
4592
4593 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
4594
4595 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
4596 for long long multiply-accumulate.
4597
4598 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4599
4600 * regclass.c (scan_one_insn): Set loop_cost to 1 when
4601 optimizing for size.
4602
4603 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
4604
4605 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
4606 if something changed. Back out that part of yesterday's changes.
4607
4608 * loop.c (loop_max_reg): New static variable.
4609 (loop_optimize): Initialize it. Eliminate one unnecessary call to
4610 max_reg_num.
4611 (scan_loop): Call reg_scan_update whenever we may have added new
4612 registers, and update loop_max_reg.
4613
4614 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4615
4616 * regclass.c (record_reg_classes): Do not do the copying preferrencing
4617 when source does not die.
4618
4619 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
4620
4621 1999-12-14 Jakub Jelinek <jakub@redhat.com>
4622
4623 * config/sparc/linux64.h (TARGET_LIVE_G0,
4624 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
4625 variants on Linux.
4626 * config/sparc/linux.h (TARGET_LIVE_G0,
4627 TARGET_BROKEN_SAVERESTORE): Likewise.
4628 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
4629 TARGET_BROKEN_SAVERESTORE): Likewise.
4630
4631 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
4632 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
4633 not %g2.
4634 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
4635 as sparc64 block profiling register.
4636 * config/sparc/sparc.c (sparc_override_options): Allow block
4637 profiling with -m32.
4638 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
4639 profiling register.
4640 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
4641 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
4642 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
4643
4644 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
4645 for sparc64.
4646 * config/sparc/sparc.h: Likewise.
4647 * config/sparc/xm-sysv4-64.h: Likewise.
4648 * config/float-sparc.h: Likewise.
4649 * glimits.h: Likewise.
4650 * longlong.h: Likewise.
4651
4652 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
4653 (ASM_IDENTIFY_GCC): Remove.
4654
4655 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
4656
4657 * combine.c (combine_simplify_rtx): Don't make shared rtl.
4658 (simplify_logical): Likewise.
4659
4660 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
4661
4662 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
4663 * cppfiles.c (INO_T_EQ): Likewise.
4664
4665 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
4666
4667 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
4668 * i386/mingw32.h (LIB_SPEC): Likewise.
4669 (STARTFILE_SPEC): Likewise.
4670 * i386/uwin.h (LIB_SPEC): Likewise.
4671 (STARTFILE_SPEC): Likewise.
4672
4673 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
4674 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
4675
4676 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
4677
4678 * combine.c (combine_simplify_rtx): Fix order of checks for
4679 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
4680
4681 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
4682
4683 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
4684 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
4685
4686 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
4687
4688 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
4689 defined.
4690 * regclass.c (inv_reg_alloc_order): New array.
4691 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
4692
4693 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
4694 counted_for_groups, counted_for_nongroups. Add fields rld and
4695 n_reloads.
4696 * reload.c (push_secondary_reload): Don't set nongroup field of
4697 new reloads.
4698 (push_reload): Likewise.
4699 (find_reloads): Delete code to compute nongroup fields.
4700 * reload1.c (reload_insn_firstobj): New static variable.
4701 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
4702 users changed.
4703 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
4704 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
4705 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
4706 functions.
4707 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
4708 functions.
4709 (struct hard_reg_n_uses): Deleted.
4710 (potential_reload_regs): Deleted.
4711 (init_reload): Initialize spilled_pseudos and pseudos_counted.
4712 (reload): Don't try to allocate reload registers if we already know
4713 we have to make another pass. Call select_reload_regs. Free memory
4714 starting with reload_firstobj when starting another pass.
4715 Don't allocate spilled_pseudos.
4716 (calculate_needs_all_insns): Call copy_reloads for an insn that
4717 needs reloads; don't call calculate_needs.
4718 (spill_cost): New static array.
4719 (used_spill_regs_local): New static variable.
4720 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
4721 to compute potential_reload_regs.
4722 (find_reload_regs): Completely rewritten to use find_reg.
4723 (allocate_reload_reg): Don't test counted_for_groups or
4724 counted_for_nongroups. Lose NOERROR arg and code to give an error;
4725 all cllers changed.
4726 (choose_reload_regs): Add fallback code that uses the existing
4727 register allocation from find_reload_regs.
4728
4729 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
4730
4731 * flow.c (create_edge_list): Cast xmalloc return value.
4732
4733 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
4734
4735 * doprnt.c: Remove incorrect comment closure.
4736
4737 * cse.c: Fix a few minor whitespace goofs.
4738
4739 1999-12-13 Don Bowman <don@pixstream.com>
4740
4741 * mips/vxworks.h: Fix problem with comment termination.
4742 (EXTRA_SECTIONS): Add in_sbss.
4743 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
4744
4745 1999-12-12 David S. Miller <davem@redhat.com>
4746
4747 * cse.c (struct cse_reg_info): Add hash_next member,
4748 reorder rest of struct for better packing on 64-bit
4749 hosts.
4750 (cse_reg_info_tree): Kill.
4751 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
4752 REGHASH_FN): New custom pow2 hash mechanism.
4753 (NBUCKETS): Kill.
4754 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
4755 use a pow2 hash table.
4756 (get_cse_reg_info): Rework to use new REGHASH.
4757 (new_basic_block): Likewise, use HASH_SIZE, and inline
4758 free_element call.
4759 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
4760 and inline free_element call.
4761 (lookup_as_function, insert, flush_hash_table, invalidate,
4762 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
4763 invalidate_for_call, use_related_value, find_comparison_args,
4764 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
4765 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
4766 get_element): Kill.
4767
4768 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
4769
4770 * cse.c (cse_basic_block): Free qty_table consistently.
4771
4772 1999-12-12 David S. Miller <davem@redhat.com>
4773 Jakub Jelinek <jakub@redhat.com>
4774
4775 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
4776 SUBREGs by hand, gen the appropriate hard reg directly.
4777 (movtf reg/mem split): Likewise and alter_subreg on destination
4778 if necessary.
4779 (movtf mem/reg split): Similarly.
4780 (movdf_cc_sp64): Rename from hidden pattern.
4781 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
4782 (movtf_cc_sp64, following split): New pattern and splitter.
4783 (movdf_cc_reg_sp64): Rename from hidden pattern.
4784 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
4785 TARGET_HARD_QUAD.
4786 (movtf_cc_reg_sp64, following split): New pattern and splitter.
4787
4788 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
4789
4790 * loop.c (load_mems): Don't hoist written floating point mem
4791 if -ffloat-store.
4792
4793 1999-12-12 Mark Mitchell <mark@codesourcery.com>
4794
4795 * except.h (struct eh_queue): Add `next' pointer.
4796 (struct eh_status): Make x_ehqueue a pointer.
4797 (push_ehqueue): Declare.
4798 (pop_ehqueue): Likewise.
4799 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
4800 pointer.
4801 (expand_fixup_region_end): Likewise.
4802 (expand_leftover_cleanups): Likewise.
4803 (push_ehqueue): Define.
4804 (pop_ehqueue): Likewise.
4805 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
4806 than doing it inline.
4807 (expand_start_all_catch): Adjust now that ehqueue is a
4808 pointer.
4809 (mark_eh_queue): Mark all level of the queue.
4810 (mark_eh_status): Adjust now that ehqueue is a
4811 pointer.
4812 (init_eh_for_function): Allocate ehqueue.
4813 (free_eh_status): Free it.
4814 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
4815 expansion for a fixup.
4816
4817 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4818
4819 * gthr-single.h (__gthread_active_p): Add prototype arguments.
4820
4821 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
4822 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
4823 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
4824 function_ptr, getpagesize, __enable_execute_stack,
4825 __enable_execute_stack, __clear_insn_cache,
4826 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
4827 _cleanup, _exit, __default_terminate, __terminate_func,
4828 __terminate, __empty, __throw, new_eh_context,
4829 eh_context_initialize, eh_context_static, eh_context_specific,
4830 get_eh_context, __get_eh_context, __get_eh_info,
4831 init_reg_size_table, eh_threads_initialize,
4832 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
4833 __unwinding_cleanup, throw_helper, __throw, __rethrow,
4834 __pure_virtual): Add prototype arguments.
4835 (__bb_exit_func): Cast a sizeof to long when comparing against one.
4836 Cast a signed value to unsigned long when comparing against one.
4837 (new_eh_context): Wrap in _GTHREADS macro.
4838 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
4839 declaration.
4840 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
4841 (throw_helper): Initialize variables `handler_p' and `pc_p'.
4842
4843 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4844
4845 * combine.c (record_promoted_value): Remove unused variable
4846 `links2'.
4847
4848 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
4849
4850 * global.c (record_conflicts): Likewise for `j'.
4851
4852 * genoutput.c (output_insn_data): Don't unnecessarily cast away
4853 const-ness.
4854
4855 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4856
4857 * i386-protos.h (output_387_binary_op, output_fix_trunc,
4858 output_fp_compare): Constify a char*.
4859
4860 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
4861 static prototypes.
4862 (override_options, ix86_comp_type_attributes, print_operand,
4863 output_387_binary_op, output_fix_trunc, output_fp_compare):
4864 Constify a char*.
4865 (ix86_sched_reorder): Mark parameter `clock_var' with
4866 ATTRIBUTE_UNUSED.
4867
4868 * i386.h (DEBUG_PRINT_REG): Constify a char*.
4869
4870 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
4871
4872 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
4873 operand, for use in the Java front-end.
4874
4875 1999-12-10 Ben Collins <bcollins@debian.org>
4876
4877 * configure.in: Fix typo for "-64" in 64bit as check.
4878 * configure: Rebuilt.
4879
4880 1999-12-10 Jakub Jelinek <jakub@redhat.com>
4881
4882 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
4883 appropriate.
4884
4885 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4886
4887 * c-parse.in (string): With -Wtraditional, warn if ANSI string
4888 concatenation is utilized.
4889
4890 * invoke.texi (-Wtraditional): Document it.
4891
4892 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4893
4894 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
4895 Cast a ptrdiff_t to long and pass it to printf with %ld.
4896
4897 1999-12-10 Geoff Keating <geoffk@cygnus.com>
4898
4899 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
4900 68881, we have no 68881 registers at all.
4901 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
4902 value in a 68881 register if it is available.
4903
4904 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
4905
4906 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
4907 for long long multiply-accumulate.
4908
4909 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
4910
4911 * loop.c (insert_loop_mem): Undo last change.
4912
4913 1999-12-10 David S. Miller <davem@redhat.com>
4914
4915 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
4916 New functions.
4917 * config/sparc/sparc-protos.h: Add them.
4918 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
4919 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
4920 constraints which use those helpers.
4921 (EXTRA_CONSTRAINT): Use this new macro.
4922 * md.texi: Update sparc target constraints documentation.
4923 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
4924 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
4925 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
4926 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
4927 (movsf high/lo_sum split): Rework for new patterns.
4928 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
4929
4930 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
4931
4932 * c-common.c (c_common_nodes_and_builtins):
4933 Create __builtin_ptrdiff_t and __builtin_size_t.
4934
4935 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
4936
4937 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
4938
4939 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4940
4941 * regclass.c (globalize_reg): Re-instate test that allows
4942 fixed registers to be declared as a variable even after functions
4943 are defined.
4944
4945 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4946
4947 * i386.md (cpu attribute): Add "athlon".
4948 (athlon_decode): New attribute.
4949 (Athlon scheduling units definitions): New.
4950 (fcmp and shld patterns): Set athlon_decode to "vector".
4951 * i386.c (athlon_cost): New.
4952 (m_ATHLON): New.
4953 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
4954 x86_use_sahf): Set for Athlon.
4955 (x86_use_fiop): Unset for Athlon.
4956 (override_options): Define Athlon alignments and "athlon" name.
4957 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
4958 * i386.h (TARGET_ATHLON): New.
4959 (enum processor_type): Add PROCESSOR_ATHLON.
4960 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
4961 for CPU_DEFAULT==5
4962 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
4963
4964 1999-12-09 Andreas Jaeger <aj@suse.de>
4965
4966 * loop.c (record_biv): Declare parameter as int.
4967
4968 * config/i386/i386-protos.h: Declare long_memory_operand.
4969
4970 1999-12-09 Mark Mitchell <mark@codesourcery.com>
4971
4972 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
4973 EXPR_WITH_FILE_LOCATION.
4974
4975 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4976
4977 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
4978 in expander.
4979
4980 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
4981
4982 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
4983 updating code.
4984
4985 1999-12-09 Jakub Jelinek <jakub@redhat.com>
4986
4987 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
4988 default on linux64 again.
4989 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
4990 models for multilibing.
4991 * genmultilib: Accept | as alternative separator within a set in
4992 MULTILIB_OPTIONS.
4993
4994 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
4995
4996 * calls.c (precompute_arguments): Make sure initial_value contains
4997 value pseudo which CSE expects.
4998 * cse.c (struct set): New entry orig_src.
4999 (cse_insn): Set it early on entry, use it for libcall EQUIV note
5000 replacement.
5001
5002 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
5003
5004 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
5005
5006 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
5007
5008 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
5009
5010 1999-12-08 Jakub Jelinek <jakub@redhat.com>
5011
5012 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
5013 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
5014
5015 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
5016 if TARGET_ARCH32.
5017
5018 * longlong.h: Merge in changes from glibc.
5019 Also don't clobber %g2 register in 32bit SPARC assembly, so that
5020 -mno-app-regs libgcc can be compiled.
5021 * libgcc2.c: Add defines so that the updated longlong.h
5022 can be used in libgcc2.a. Also, make sure on most architectures
5023 (at least on all which have optimized code in longlong.h defined
5024 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
5025
5026 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5027
5028 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
5029 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
5030 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
5031 is GNU ld.
5032 * configure: Rebuilt.
5033
5034 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
5035
5036 * alpha.c (secondary_reload_class): For !BWX, sub-simode
5037 outputs require a register.
5038
5039 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
5040
5041 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
5042 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
5043 functions like dptoul will be resolved.
5044 (libgcc2.a): Make sure that the object files from DPBIT are named
5045 differently (prefix `_dp') from those that would be coming from
5046 FPBIT.
5047
5048 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
5049
5050 * configure.in: When target is sparc* and tm_file contains 64,
5051 test for 64bit support in assembler. If not supported, remove
5052 sparc/t-sol2-64 from target-dependent Makefile fragments.
5053 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
5054 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
5055 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
5056 * acconfig.h (AS_SPARC64_FLAG): Added.
5057 * configure, config.in: Rebuilt.
5058 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
5059 support. Use AS_SPARC64_FLAG.
5060
5061 1999-12-07 Jakub Jelinek <jakub@redhat.com>
5062
5063 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
5064 suitable for holding OFmode values so that gcc works with complex
5065 quad long doubles.
5066 (hard_64bit_mode_classes): Likewise.
5067
5068 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
5069 so that it is actually matched.
5070 (sethi_di_medlow): Likewise.
5071
5072 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
5073 as legitimate constant if -mvis.
5074 * config/sparc/sparc.md (movtf): Likewise.
5075 (clear_sf): Use const_double_operand.
5076 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
5077
5078 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
5079 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
5080 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
5081 routines, _Qp_* cannot be handled like that now.
5082 (INIT_TARGET_OPTABS): Likewise.
5083 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
5084 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
5085 sparc_emit_float_lib_cmp if ARCH64 and soft float.
5086 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
5087 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
5088 divtf3, sqrttf3): New expanders.
5089 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
5090 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
5091 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
5092 non-_hq patterns.
5093
5094 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
5095 * configure: Rebuilt.
5096 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
5097 -mcpu is given and we're doing 64bit compiles.
5098
5099 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
5100
5101 * loop.h (struct induction): Add multi_insn_incr.
5102 * loop.c (basic_induction_var): New multi_insn_incr argument.
5103 Set it if we search back through previous insns for the biv.
5104 (record_biv): New multi_insn_incr argument; fill in struct induction.
5105 (strength_reduce): Discard an iv with multiple bivs, any of
5106 which require multiple insns to increment.
5107
5108 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
5109
5110 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
5111 documentation.
5112
5113 1999-12-06 David S. Miller <davem@redhat.com>
5114
5115 * combine.c (check_promoted_subreg): Do not conditionalize this upon
5116 PROMOTE_FUNCTION_RETURN.
5117
5118 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
5119
5120 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
5121 and handle REG_UNUSED note on insn.
5122
5123 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
5124 inner_mask instead of mask.
5125
5126 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
5127
5128 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
5129 zero if there was an error.
5130
5131 1999-12-06 Jakub Jelinek <jakub@redhat.com>
5132
5133 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
5134 output string.
5135
5136 * longlong.h: Fix clobbers in SPARC asm statements.
5137
5138 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
5139 valid sethi operations when TARGET_ARCH64.
5140
5141 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
5142 always use move_by_pieces to avoid infinite recursion.
5143 (restore_fixed_argument_area): Likewise.
5144
5145 * combine.c (check_promoted_subreg, record_promoted_value): New
5146 functions.
5147 (combine_instructions): Use them to retain nonzero and sign bit
5148 information after SUBREGs are eliminated by optimizations in
5149 this pass if PROMOTE_FUNCTION_RETURN.
5150
5151 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
5152 .register declaration. Don't use variables with __ prefixes.
5153
5154 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5155
5156 * fold-const.c (optimize_bit_field_compare): Only use one mode
5157 for both RHS and LHS in non-constant case.
5158
5159 1999-12-06 Nathan Sidwell <nathan@acm.org>
5160
5161 * frame.c (start_fde_sort): Only allocate erratic array, if
5162 linear one was allocated. Return allocated flag.
5163 (fde_insert): Only insert, if there's a valid array.
5164 (fde_end_sort): Split, sort and merge if linear and erratic
5165 arrays exist, else just sort linear one.
5166 (search_fdes): New function. Linear search through original fde
5167 structure.
5168 (frame_init): Permit multiple initializations. Cope with
5169 memory shortages.
5170 (find_fde): Fallback on linear search, if failed to sort array.
5171 (__deregister_frame_info): Only free sorted array, if we
5172 allocated it.
5173
5174 1999-12-06 Jakub Jelinek <jakub@redhat.com>
5175
5176 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
5177
5178 1999-12-05 Jakub Jelinek <jakub@redhat.com>
5179
5180 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
5181
5182 1999-12-05 Mark Mitchell <mark@codesourcery.com>
5183
5184 * tree.h (special_function_p): Declare.
5185 * calls.c (special_function_p): Make it global. Don't take `name'
5186 as a parameter. Fix typo in 1999-11-28 change.
5187 (expand_cal): Adjust.
5188
5189 1999-12-04 Mark Mitchell <mark@codesourcery.com>
5190
5191 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
5192 * tree.h (EXPR_WFL_FILENAME): Define in terms of
5193 EXPR_WFL_FILENAME_NODE.
5194 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
5195 the TREE_CHAIN.
5196 * print-tree.c (print_note): Print TREE_PRIVATE and
5197 TREE_PROTECTED.
5198
5199 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
5200 the original die cannot be found.
5201
5202 * varray.h (varray_head_tag): Add elements_used.
5203 (VARRAY_PUSH): New macro.
5204 (VARRAY_POP): Likewise.
5205 (VARRAY_TOP): Likewise.
5206 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
5207 types.
5208 * varray.c (varray_init): Initialize elements_used.
5209 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
5210 (INTEGRATE_H): New variable.
5211 (integrate.o): Depend on INTEGRATE_H.
5212 (unroll.o): Likewise.
5213
5214 * function.h (insert_block_after_note): Declare.
5215 * function.c (insert_block_after_note): Split out from ...
5216 (retrofit_block): ... here.
5217
5218 * stmt.c (expand_fixup): Fix typo in comment.
5219
5220 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5221
5222 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
5223 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
5224 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
5225 (regmove_optimize, fixup_match_1): Likewise.
5226
5227 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5228
5229 * flow.c (flow_loops_dump): Add missing argument when calling
5230 flow_loop_nested_p.
5231
5232 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
5233 Greg McGary <gkm@gnu.org>
5234
5235 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
5236 (init_attributes): Add A_NO_LIMIT_STACK.
5237 (decl_attributes): Handle A_NO_LIMIT_STACK.
5238 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
5239 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
5240 Handle stack bounds checking.
5241 * flags.h (flag_stack_check): Use the word 'probe' rather than
5242 'check', because the flag doesn't actually cause any checking to
5243 be done.
5244 * function.c (expand_function_start): Set
5245 current_function_limit_stack.
5246 * function.h (struct function): Add limit_stack.
5247 (current_function_limit_stack): Define.
5248 * invoke.texi (Code Gen Options): Document new options.
5249 * rtl.h: Declare stack_limit_rtx.
5250 * toplev.c (stack_limit_rtx): New variable.
5251 (decode_f_option): Handle new options -fstack-limit-register=REG,
5252 -fstack-limit-symbol=IDENT, -fno-stack-limit.
5253 (main): Add stack_limit_rtx as GC root.
5254 * tree.h (DECL_NO_LIMIT_STACK): New macro.
5255 (struct tree_decl): New member no_limit_stack.
5256
5257 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
5258 stack_limit_rtx.
5259 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
5260 (conditional_trap+1): Get new mnemonic correct.
5261 (conditional_trap+2): New pattern for DImode traps.
5262
5263 * config/m68k/m68k.c (output_function_prologue): Handle
5264 stack_limit_rtx.
5265 * config/m68k/m68k.md (trap): New insn.
5266 (conditional_trap): New insn.
5267 * md.texi (Standard Names): Document `trap' and
5268 `conditional_trap'.
5269 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
5270 so a cc0 setter doesn't get emitted at some random place in the
5271 function.
5272
5273 * config/i960/i960.md (trap): New insn.
5274 (conditional_trap): New expander.
5275 (conditional_trap+1, conditional_trap+2): New insns for signed
5276 and unsigned cases.
5277 * config/i960/i960.c (i960_function_prologue): Use
5278 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
5279
5280 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
5281 Geoffrey Keating <geoffk@cygnus.com>
5282
5283 * flags.h (warn_padded, warn_packed): Add global var decls.
5284 * toplev.c (warn_padded, warn_packed): Add global var defns.
5285 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
5286 * stor-layout.c (layout_record): Add local variable `type'
5287 to hold often-used TREE_TYPE (field). Add local variable
5288 `unpacked_align' to hold alignment that would be in force
5289 if no `packed' attribute were present. Warn if `packed' attribute
5290 is unnecessary, or even harmful. Warn when gcc inserts padding
5291 to satisfy alignment requirements of members. Use NULL_TREE
5292 when checking whether var_size is set.
5293 * invoke.texi: Document new flags.
5294
5295 1999-12-03 Nathan Sidwell <nathan@acm.org>
5296
5297 * frame.c (fde_split): Reimplement to avoid variable sized array.
5298
5299 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5300
5301 * combine.c (try_combine): Before fixing up LOG_LINKS for the
5302 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
5303
5304 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
5305
5306 * invoke.texi: Document the mips option -mno-crt0
5307
5308 1999-12-02 Mike Karr <mkarr@mathworks.com>
5309
5310 * cccp.c (argdata): Added free_ptr member.
5311 (macroexpand): Initialize free_ptr of each argument. When an
5312 argument's buffers are freed, if the argument's free_ptr corresponds
5313 to a buffer on the input stack, then return the free_ptr to that stack
5314 frame, otherwise, free it.
5315 (macarg): If an argument begins and ends on the same input stack level,
5316 then transfer the free_ptr of that buffer to the argument in case
5317 the stack is popped during the processing of a subsequent argument.
5318
5319 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
5320
5321 * loop.c (note_reg_stored): New function.
5322 (struct note_reg_stored_arg): New structure.
5323 (try_copy_prop): Change to be more conservative; only replace within
5324 one extended basic block and stop replacing if a store to the
5325 replacement reg is seen.
5326
5327 1999-12-02 Nick Clifton <nickc@cygnus.com>
5328
5329 * config/fp-bit.c: Initialise all fields of the NAN
5330 constants.
5331
5332 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
5333 to HANDLE_PRAGMA.
5334
5335 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
5336
5337 * i386.md (extend?f?f2): Force the input into a register, not
5338 the output.
5339
5340 1999-12-01 Jakub Jelinek <jakub@redhat.com>
5341
5342 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
5343 regclass' sake.
5344 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
5345 alternative because setting up 64bit constant is usually costly,
5346 especially when reload is in progress or completed.
5347 (movdf_const_intreg_sp64): Likewise.
5348 (movdf_const_intreg split): Fix building up constants when
5349 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
5350
5351 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
5352
5353 * combine.c (if_then_else_cond): Use const_true_rtx instead of
5354 const1_rtx for return values in EQ/NE comparison against (const_int 0)
5355 case.
5356
5357 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
5358 (asm_file_start): Emit .am33 into assembly file when compiling for
5359 the AM33.
5360 (print_operand_address): Handle POST_INC addresses.
5361 (can_use_return_insn, initial_offset): Check AM33 registers too.
5362 (expand_prologue): Check & save AM33 registers too.
5363 (expand_epilogue): Similarly.
5364 (secondary_reload_class): Handle AM33 specific secondary reloads.
5365 (output_tst): Emit efficient code for the AM33 too.
5366 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
5367 (TARGET_SWITCHES): Add -mam33 switch.
5368 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
5369 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
5370 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
5371 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
5372 (enum reg_class, REG_CLASS_NAMES): Likewise.
5373 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
5374 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
5375 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
5376 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
5377 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
5378 (HAVE_POST_INCREMENT): Define.
5379 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
5380 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
5381 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
5382 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
5383 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
5384 (zero_extend to SI from QI/HI): Likewise.
5385 (sign_extend to SI from QI/HI): Likewise.
5386 (mulsidi3, umulsidi3): New patterns for the AM33.
5387 (tstsi with zero extension from QI/HI): Add AM33 variants.
5388 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
5389 (return_internal_regs, store_movm): Handle new AM33 registers.
5390 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
5391 (LIBGCC, INSTALL_LIBGCC): Likewise.
5392 * invoke.texi: Document new flags.
5393
5394 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
5395
5396 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
5397 (addsi3_carry): Likewise.
5398 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
5399 (sbbsi3_carry): Likewise.
5400 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
5401 (mulhi3): Likewise.
5402 (test?i_1): Ensure that only one operand is memory.
5403 (conditional move patterns): likewise.
5404 (shift and rotate patterns): Rewrite to expander, add
5405 "binary_operator_ok" to the condition.
5406
5407 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
5408 * i386.h (procesor_costs): Add movzbl_load field.
5409 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
5410 non-Q registers, accept DImode registers anywhere.
5411 (Q_CLASS_P): New.
5412 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
5413 * i386.c (*_cost): Set value for movxbl_load field.
5414
5415 * (addsi): New add to lea splitter.
5416 (ashlsi): Likewise.
5417 (lea to add/shift peep2): New.
5418
5419 1999-12-01 Mark Salter <msalter@cygnus.com>
5420
5421 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
5422 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
5423 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
5424
5425 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5426
5427 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
5428 * i386.md (movsi_xor): New.
5429 (movsi_or): New.
5430 (movsi_1, movhi_1, movqi_1): Remove.
5431 (movsi_2): Rename to movsi_1.
5432 (movhi_2): Rename to movhi_1.
5433 (movqi_2): Rename to movqi_1.
5434 (movdi_1): Remove; remove splitter.
5435 (movdi_2): Rename to movdi_1.
5436 (divmodsi4 splitter): Do not emit clobbers for move patterns.
5437 (long move peep2): Do not create QI or HI mode mov0s
5438 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
5439
5440 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
5441 rewrite splitters.
5442
5443 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
5444 (abs?f2_if): Likewise.
5445
5446 1999-11-30 Alex Samuel <samuel@codesourcery.com>
5447
5448 * ggc.h (ggc_test_and_set_mark): New macro.
5449 (ggc_mark_rtx): Use ggc_test_and_set_mark.
5450 (ggc_mark_tree): Likewise.
5451 (ggc_mark_rtvec): Likewise.
5452 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
5453
5454 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
5455
5456 * dwarf2out.c (scope_die_for): Only handle types. Only search for
5457 containing types.
5458 (decl_scope_table): Just an array of trees now.
5459 (push_decl_scope): Simplify.
5460 (dwarf2out_init): Adjust.
5461 (local_scope_p): New fn.
5462 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
5463 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
5464 (gen_typedef_die): Likewise.
5465 (gen_lexical_block_die): Don't call push/pop_decl_scope.
5466 (gen_inlined_subroutine_die): Likewise.
5467 (gen_abstract_function): Set current_function_decl temporarily.
5468 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
5469 Handle block extern declarations. Don't call push/pop_decl_scope.
5470 (gen_decl_die): Fix logic for block externs.
5471
5472 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5473
5474 * calls.c (special_function_p): Remove `realloc' and add `strdup'
5475 to the list of functions which have attribute malloc by default.
5476
5477 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5478
5479 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
5480 integer constant does not match the traditional type, limit the
5481 warnings to cases where the base of the type is ten.
5482
5483 * invoke.texi (-Wtraditional): Document it.
5484
5485 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5486
5487 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
5488 * rs6000.md: Only access a CONST_INT with INTVAL
5489
5490 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
5491
5492 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
5493 (compute_nearerout): Likewise.
5494 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
5495 size_t to unsigned long for formatting.
5496
5497 1999-11-30 Jakub Jelinek <jakub@redhat.com>
5498
5499 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
5500 Allow the user to override call-used/fixed state of %g2-5
5501 registers from the command line (with the exception of %g4 for
5502 embedded model).
5503 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
5504 there is a higher chance of having a leaf function.
5505 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
5506 for ARCH64 which has %ccr register.
5507 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
5508 patterns.
5509 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
5510 insn accept into delay slot any insn which does not use %[ol]
5511 registers. Accept some LO_SUM and shift left by 1 for the normal
5512 restore case.
5513 (output_function_epilogue): Likewise.
5514 (epilogue_renumber): Added argument which inhibits any renumbering
5515 and just tests if the rtx does not use any %[ol] registers.
5516 (output_return): Reflect above change.
5517
5518 1999-11-30 Jakub Jelinek <jakub@redhat.com>
5519
5520 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
5521 aggregate passing for sizes <= 16 bytes.
5522
5523 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
5524
5525 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
5526 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
5527 * reload.c (find_dummy_reload): Likewise.
5528 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
5529 * reload1.c (reload_as_needed): Likewise.
5530 * stupid.c (stupid_find_reg): Likewise.
5531 * tm.texi (Obsolete Register Macros): Delete section.
5532 * gmicro.h: Remove all traces of the two macros.
5533 * i386.h: Likewise.
5534 * m88k.h: Likewise.
5535 * mips.h: Likewise.
5536
5537 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
5538
5539 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
5540 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
5541 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
5542 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
5543 units for the sparclite86x chip.
5544 (flush): Revert October 14th change; add SImode specifically.
5545 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
5546 * invoke.texi: Document it.
5547
5548 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
5549
5550 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
5551 psimode_truncation_operand.
5552
5553 * config/mn10200/mn10200.c (psimode_truncation_operand): New
5554 function. Return true if the operand is either a MEM valid
5555 for a PSImode address or not a MEM at all.
5556
5557 * config/mn10200/mn10200.md (truncsipsi2): Use
5558 psimode_truncation_operand.
5559
5560 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5561
5562 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
5563 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
5564 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
5565 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
5566 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
5567 (flow_loop_level_compute, low_loops_level_compute): Likewise.
5568 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
5569 * basic-block.h: Protect from multiple inclusion.
5570 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
5571 (struct loops, struct loop): Define structures.
5572 * sbitmap.c (sbitmap_a_subset_b_p): New function.
5573 * sbitmap.h: Protect from multiple inclusion.
5574 (sbitmap_a_subset_b_p): Add prototype.
5575 * Makefile.in (LOOP_H): New macro.
5576 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
5577
5578 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
5579
5580 * cppinit.c (CAT): The argument list of this macro may not contain
5581 spaces !
5582
5583 1999-11-29 David S. Miller <davem@redhat.com>
5584
5585 Move quantity tables and register equivalence chains into
5586 per-qty and per-register structure arrays respectively.
5587 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
5588 qty_const_insn, qty_comparison_code, qty_comparison_const,
5589 qty_comparison_qty): Delete, replace with...
5590 (qty_table): this structure table.
5591 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
5592 (reg_eqv_table): this structure table.
5593 (make_new_qty): Add argument MODE. Caller updated.
5594 Update to use qty_table and reg_eqv_table.
5595 (make_regs_eqv, delete_reg_equiv, insert_regs,
5596 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
5597 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
5598 cse_process_notes, cse_main, cse_basic_block): Likewise.
5599
5600 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5601
5602 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
5603 operation if C is negative.
5604 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
5605 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
5606 law for some divisions if constant is negative and change other
5607 divisions to the opposite rounding.
5608
5609 * expr.c (store_constructor_field): If bit position is not multiple
5610 of alignment of TARGET's mode, use BLKmode.
5611
5612 * expr.c (expand_expr_unaligned): Add more code from full case
5613 that is needed when OP0 is in a register.
5614
5615 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5616
5617 * dwarfout.c (field_byte_offset): Size can be zero if there was
5618 an error.
5619
5620 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
5621
5622 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
5623 (associate_trees): Delete unused var TEM.
5624 (extract_muldiv): Delete unused var CANCEL_P.
5625
5626 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
5627 (target_isinf, target_isnan, target_negative): Add return types to
5628 function definitions.
5629
5630 1999-11-29 Bruce Korb <autogen@linuxbox.com>
5631
5632 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
5633 * fixinc/hackshell.tpl: ditto
5634 * fixinc/fixtests.c(double_slash_test): more C++ header testing
5635 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
5636
5637 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
5638
5639 * reload.c (push_reload): When looking for a register to put into
5640 reg_rtx, make sure all hard regs in a multi-reg register are in the
5641 right class and nonfixed.
5642
5643 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
5644 pending_read_insns, pending_write_insns, pending_read_mems,
5645 pending_write_mems, pending_list_length, last_pending_memory_flush,
5646 last_function_call, sched_before_next_call): Move static variables
5647 into a structure.
5648 (bb_ prefixed versions): Replace with single array bb_deps.
5649 (struct deps): New structure.
5650 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
5651 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
5652 argument of type "struct deps *"; use that instead of global
5653 variables. All callers changed.
5654 (init_rgn_data_dependencies): Delete function.
5655 (init_rtx_vector): Delete function.
5656 (init_deps): New function.
5657
5658 (free_pending_lists): Simplify, we always use the bb_deps array even
5659 if only one basic block.
5660 (compute_block_backward_dependences): Likewise.
5661 (schedule_region): Likewise.
5662
5663 (propagate_deps): New function, broken out of
5664 compute_block_backward_dependences.
5665 (compute_block_backward_dependences): Use it.
5666
5667 * alpha.md: Delete useless patterns that tried to work around
5668 register elimination problems.
5669
5670 * unroll.c (loop_iterations): Don't abort if iteration variable
5671 was made by loop.
5672
5673 From Joern Rennecke:
5674 * reload1.c (reloads_conflict): Reverse test comparing operand
5675 numbers when testing for conflict between output/outaddr reloads.
5676
5677 1999-11-29 David S. Miller <davem@redhat.com>
5678
5679 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
5680 arg.
5681 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
5682
5683 1999-11-28 Robert Lipe <robertl@cygnus.com>
5684
5685 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
5686 table from .fini into .dtor.
5687
5688 1999-11-28 Anthony Green <green@cygnus.com>
5689
5690 * tree.h (struct tree_decl): Add malloc_flag.
5691 (DECL_IS_MALLOC): Define.
5692 * c-common.c (attrs): Add A_MALLOC attribute.
5693 (init_attributes): Add this attribute to the table.
5694 (decl_attributes): Handle malloc attribute.
5695 * calls.c (special_function_p): Check for the malloc attribute.
5696 * extend.texi (Function Attributes): Document malloc attribute.
5697
5698 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
5699
5700 * pa.md (reload shift-add patterns): Remove.
5701
5702 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5703
5704 * reorg.c (dbr_schedule) Print more statistics. Corrected
5705 problem when printing info when 3 delay slots are filled.
5706
5707 1999-11-28 Jakub Jelinek <jakub@redhat.com>
5708
5709 * combine.c (setup_incoming_promotions): Pass an outgoing
5710 regno to FUNCTION_ARG_REGNO_P which it expects.
5711
5712 1999-11-28 Andreas Jaeger <aj@suse.de>
5713
5714 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
5715
5716 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
5717
5718 * cccp.c (do_include): Avoid initialization of automatic variable.
5719
5720 * integrate.c (mark_stores): Function definition made void, to match
5721 previous declaration.
5722 * regclass.c (dump_regclass): Ditto.
5723 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
5724
5725 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5726
5727 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
5728 known to be multiple of divisor.
5729
5730 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
5731
5732 * combine.c (try_combine): Add code to try to merge a set of a
5733 two-word pseudo to a constant with a setting of one of those words
5734 to a constant.
5735
5736 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
5737 (split_tree): Completely rework to make more general.
5738 (make_range, fold): Call negate_expr.
5739 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
5740 (fold, associate): Call new split_tree and associate_trees.
5741 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
5742
5743 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
5744
5745 * loop.c (try_copy_prop): Avoid GNU C extension.
5746
5747 1999-11-25 Mark Mitchell <mark@codesourcery.com>
5748
5749 * except.c (init_eh_for_function): Still zero eh_return_context,
5750 eh_return_stack_adjust, and eh_return_handler.
5751
5752 * except.h (eh_status): Adjust documentation for x_protect_list.
5753 (begin_protect_partials): New function.
5754 * except.c (enqueue_eh_entry): Fix formatting.
5755 (get_first_handler): Add consistency check.
5756 (add_partial_entry): Adjust usage of protect_list.
5757 (emit_cleanup_handler): Save and restore ehqueue.
5758 (expand_start_all_catch): Add comment.
5759 (begin_protect_partials): New function.
5760 (end_protect_partials): Adjust usage of protect_list.
5761 (init_eh_for_function): Use xcalloc.
5762
5763 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5764
5765 * c-common.c (check_format_info): Don't call a variadic function
5766 with a non-literal format string.
5767
5768 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
5769
5770 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
5771 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
5772 Likewise.
5773
5774 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
5775 Likewise.
5776
5777 * collect2.c (collect_wait): Likewise.
5778
5779 * dbxout.c (dbxout_type): Likewise.
5780
5781 * gcc.c (do_spec_1): Likewise.
5782
5783 * genemit.c (gen_insn, gen_expand): Likewise.
5784
5785 * genrecog.c (write_switch, write_subroutine): Likewise.
5786
5787 * mips-tfile.c (catch_signal, botch): Likewise.
5788
5789 * print-rtl.c (print_rtx): Likewise.
5790
5791 * toplev.c (default_print_error_function, report_error_function,
5792 _fatal_insn): Likewise.
5793
5794 1999-11-25 Mark Mitchell <mark@codesourcery.com>
5795
5796 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
5797
5798 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5799
5800 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
5801 operations when needed.
5802 * i386.md (fop_?f_comm): New.
5803 (fop_?f_1): Do not accept commutative operands.
5804
5805 1999-11-25 Andreas Jaeger <aj@suse.de>
5806
5807 * config/mips/mips.md (casesi_internal): Add missing brace.
5808
5809 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
5810
5811 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
5812 (splice_child_die): Handle moving a child DIE from the declaration
5813 DIE of a class to its specification.
5814 (gen_struct_or_union_type_die): Use 'complete' consistently.
5815 (gen_decl_die): Generate the virtual context DIE first.
5816 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
5817
5818 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
5819
5820 * config/mips/mips.md (call_value_multiple_interanal1): New.
5821
5822 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
5823
5824 * dwarf2out.c (free_AT, free_die): New fns.
5825 (remove_children): Call them.
5826 (output_line_info): Disable removal of duplicate notes.
5827
5828 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
5829 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
5830 means pretend the type isn't defined.
5831 Don't defer emitting types.
5832 (gen_type_die_for_member): New fn.
5833 (gen_decl_die): Call it.
5834 (splice_child_die): New fn.
5835 (gen_member_die): Call it rather than generate duplicate dies.
5836
5837 Defer emitting information for the abstract instance of an inline
5838 until we either inline it or emit an out-of-line copy.
5839 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
5840 from output_inline_function if DECL_ABSTRACT is also set.
5841 (block_ultimate_origin): Likewise.
5842 (gen_abstract_function): New fn.
5843 (gen_decl_die, gen_inlined_subroutine_die): Call it.
5844 (gen_subprogram_die): An abstract instance is not a declaration
5845 just because it doesn't match current_function_decl. Don't abort
5846 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
5847 has an abstract origin.
5848 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
5849 abstract instance here.
5850
5851 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
5852
5853 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
5854 where we need to reload fpul from a system register.
5855
5856 1999-11-24 Andreas Jaeger <aj@suse.de>
5857
5858 * config/mips/linux.h (CPP_PREDEFINES): Added.
5859 (LINK_SPEC): Remove -Y since this is only needed on sparc.
5860
5861 1999-11-24 Andreas Jaeger <aj@suse.de>
5862
5863 * config/mips/linux.h (TARGET_VERSION): Added.
5864 (HANDLE_SYSV_PRAGMA): Added.
5865 (DEFAULT_VTABLE_THUNKS): Added.
5866
5867 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5868
5869 * local-alloc.c (qty): New structure and static variable.
5870 (qty_phys_reg): Remove, all references changed to qty.
5871 (qty_n_refs): Likewise.
5872 (qty_min_class): Likewise.
5873 (qty_birth): Likewise.
5874 (qty_death): Likewise.
5875 (qty_size): Likewise.
5876 (qty_mode): Likewise.
5877 (qty_n_calls_crossed): Likewise.
5878 (qty_alternate_class): Likewise.
5879 (qty_changes_size): Likewise.
5880 (qty_first_reg): Likewise.
5881 (alloc_qty): Rename variable QTY to QTYNO.
5882 (finf_free_reg): Likewise.
5883 (local_alloc): Allocate qty, do not allocate the removed variables.
5884
5885 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
5886
5887 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
5888 when -membedded-pic is passed.
5889
5890 * config/mips/mips.md (casesi): Handle 64-bit case too.
5891 (casesi_internal_di): New insn.
5892
5893 * config/mips/mips.c (embedded_pic_offset): Always make the
5894 embedded-pic subtractions relative to the name of the current
5895 function by use of the magic string "..CURRENT_FUNCTION".
5896 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
5897
5898 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
5899
5900 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
5901 of (const_int 0), when what we really care about is
5902 whether it's a zero constant anyway.
5903 (div_trap_mips16): Likewise.
5904
5905 1999-11-23 Mark Mitchell <mark@codesourcery.com>
5906
5907 * loop.c (loop_optimize): Always find_loop_tree_blocks and
5908 unroll_block_trees when generating debuggable code.
5909
5910 * tree.h (unsave_expr_1): New function.
5911 (lang_unsave): New variable.
5912 (get_callee_fndecl): New function.
5913 * tree.c (unsave_expr_now_r): New function.
5914 (lang_unsave): Define.
5915 (unsave_expr_1): Likewise.
5916 (unsave_expr_now_r): Split out from unsave_expr_now.
5917 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
5918 call unsave_expr_now_r.
5919 (get_callee_fndecl): Define.
5920
5921 * Makefile.in (gencheck): Don't depend on lang_tree_files.
5922 (gencheck.o): Do depend on lang_tree_files.
5923
5924 * integrate.h (copy_decl_for_inlining): New declaration.
5925 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
5926 (copy_decl_for_inlining): New function.
5927 (integrate_parm_decls): Use it.
5928 (integrate_decl_tree): Likewise.
5929
5930 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
5931
5932 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
5933 the second two from the first.
5934 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
5935 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
5936 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
5937 ISA_HAS_FP4.
5938 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
5939 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
5940 ISA_HAS_FP4.
5941
5942 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
5943
5944 * pa.md (call_internal_symref, call_value_internal_symref): No mode
5945 needed on the address operand.
5946 * pa.c (call_operand_address): Check for the correct mode.
5947
5948 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
5949
5950 * loop.c: Include "basic-block.h".
5951 (try_copy_prop, replace_loop_reg): New functions.
5952 (load_mems): Detect registers that just hold copies of the hoisted
5953 mem, and call try_copy_prop to eliminate them.
5954 * Makefile.in (loop.o): Update dependencies.
5955
5956 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
5957
5958 * Makefile.in (gencheck.o): Depend on gencheck.h.
5959 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
5960 (insn-peep.o): Depend on except.h and function.h.
5961 (insn-attrtab.o): Depend on RECOG_H.
5962 (insn-output.o): Depend on toplev.h and flags.h.
5963 (gengenrtl.o): Depend on real.h.
5964 (gen-protos.o): Depend on cpplib.h and cpphash.h.
5965 Unify all dependencies to be on RECOG_H rather than recog.h.
5966
5967 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5968
5969 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
5970 * configure.in: Try building a bi-arch 32/64-bit compiler on
5971 sparc-*-solaris2.7 and higher.
5972 * configure: Rebuild.
5973
5974 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
5975
5976 * config/freebsd.h: New, FreeBSD architecture independent file.
5977 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
5978 independent pieces.
5979 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
5980 directly by i386/freebsd.h.
5981 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
5982 independent configuration file.
5983 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
5984 directly by i386/freebsd.h.
5985 * configure: Rebuilt.
5986
5987 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
5988 which is in the user's namespace.
5989 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
5990 `i386' which is not in our namespace.
5991
5992 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
5993
5994 * invoke.texi (ARM Options): Add in -mno-alignment-traps
5995
5996 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
5997
5998 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
5999 (add_dwarf_attr, add_child_die): Just push onto the front.
6000 (reverse_die_lists): New fn.
6001 (add_sibling_attributes): Use it.
6002 (push_decl_scope): Reorganize.
6003 (add_name_and_src_coords_attributes): Don't set file and line for
6004 an artificial decl.
6005 (gen_subprogram_die): An artificial function doesn't need to match
6006 file and line.
6007 (gen_compile_unit_die): Return the generated die. Only add
6008 AT_comp_dir if the filename is relative.
6009 (remove_AT): Simplify loop. Also free string values.
6010 (output_die): A DIE ref can't be null.
6011 (output_value_format, value_format): Take a dw_attr_ref.
6012 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
6013 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
6014 AT_addr, AT_lbl): New fns.
6015 (various): Use them.
6016 (various): Constify.
6017
6018 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6019
6020 * combine.c (combine_simplify_rtx): When handling a SUBREG,
6021 take SUBREG_WORD into account.
6022 (if_then_else_cond): Likewise.
6023
6024 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
6025
6026 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
6027 clause from BSD license, pursuant with
6028
6029 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
6030
6031 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
6032
6033 * loop.c (load_mems): Reformat slightly.
6034 * basic-block.h (regset_head): New typedef.
6035 (INIT_REG_SET): New macro.
6036
6037 1999-11-22 Bruce Korb <autogen@linuxbox.com
6038
6039 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
6040 (mips-dec-bsd*): non-functional code
6041 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
6042
6043 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
6044 added three replacement fixes
6045 (no_double_slash): removed comments that are not (any longer) pertinent
6046 (bad_lval): this fix currently runs against many files.
6047 The comment seems to indicate that we should select for files
6048 containing 'pragma extern_prefix'.
6049
6050 * fixinc/fixinc.x86-linux-gnu: deleted
6051 * fixinc/inclhack.sh: regen
6052 * fixinc/fixincl.x: regen
6053 * fixinc/fixincl.sh: regen
6054
6055 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
6056
6057 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
6058 its code is INSN and it has no notes.
6059
6060 1999-11-22 Andrew Haley <aph@cygnus.com>
6061
6062 * varasm.c (function_defined): Remove.
6063 (make_function_rtl): Don't set function_defined.
6064 (make_decl_rtl): Remove global register warning.
6065 * regclass.c (no_global_reg_vars): New variable.
6066 (globalize_reg): Warn if function has already been defined.
6067 (regclass_init): Set no_global_reg_vars.
6068
6069 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
6070
6071 * regclass.c (reg_pref): New structure and static variable
6072 (prefclass): Delete.
6073 (altclass): Delete.
6074 (all uses of prefclass and altclass): Use reg_pref instead.
6075
6076 1999-11-21 Nick Clifton <nickc@cygnus.com>
6077
6078 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
6079 -malignment-traps.
6080 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
6081 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
6082 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
6083
6084 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
6085
6086 * varasm.c (output_constructor): Solve problem with long long
6087 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
6088
6089 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
6090
6091 * global.c (allocno): New structure and static variable.
6092 (allocno_reg): Remove, all references replaced by allocno.
6093 (allocno_size): Likewise.
6094 (hard_reg_conflicts): Likewise.
6095 (hard_reg_preferences): Likewise.
6096 (hard_reg_copy_preferences): Likewise.
6097 (hard_reg_full_preferences): Likewise.
6098 (regs_someone_prefers): Likewise.
6099 (allocno_calls_crossed): Likewise.
6100 (allocno_n_refs): Likewise.
6101 (allocno_live_length): Likewise.
6102 (find_reg): Rename ALLOCNO to NUM.
6103
6104 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
6105 references updated.
6106 (may_move_out_cost): New variable.
6107 (init_reg_sets_1): Initialize may_move_out_cost.
6108 (record_reg_classes): Use may_move_out_cost.
6109
6110 * regclass.c (dump_regclass): New function.
6111 (regclass): New parameter DUMP, call DUMP_REGCLASS.
6112 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
6113 pass rtl_dump_file to regclass.
6114 * rtl.h (regclass): Update prototype.
6115
6116 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
6117
6118 * i386.md (neg, not and abs patterns): Revmap to use
6119 ix86_expand_unary_operator and ix86_unary_operator_ok.
6120 (add?f and sub?f expanders): Force operand 1 to register.
6121 * i386.c (ix86_expand_unary_operator): Rewrite.
6122 (ix86_unary_operator_ok): Ensure that memory operands
6123 match real opcode.
6124 (ix86_binary_operator_ok): Do not allow operand 1 to
6125 come into memory and operand 0 not.
6126 (ix86_expand_binary_operator): Ensure that
6127 src1 is not non-matching memory.
6128
6129 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
6130 to support integer registers and memory.
6131 (abss?2_integer): Likewise.
6132
6133 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
6134 (REG_CLASS_NAMES): Likewise.
6135 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
6136 and GENERAL_REGS.
6137 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
6138 (movsf): Likewise; unify 4th and 5th alternative.
6139 (pushdf): Likewise.
6140 (movdf_1): Likewise; rename to movdf_integer.
6141 (pushxf): Likewise; rename to pushxf_integer; fix output template;
6142 remove redundant splitter.
6143 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
6144 (movdf_nointeger): New.
6145 (movxf_nointeger): New.
6146 (pushxf_nointeger): New.
6147
6148 * i386.md (extend?f?f): Split to expander and pattern, refuse two
6149 memory operands in patterns.
6150 (fop*): Refuse two memory operands.
6151
6152 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
6153 on !TARGET_USE_CLTD CPUs.
6154
6155 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
6156
6157 * extend.texi: Document C++ restricted pointers and references.
6158
6159 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
6160
6161 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
6162 (invalidate_skipped_set): Call it unconditionally.
6163 (cse_set_around_loop): Likewise.
6164
6165 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
6166
6167 * rtl.texi (mem): Add documentation for alias-set argument
6168 to RTX `mem'.
6169
6170 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
6171
6172 * i386.h (struct_processor_costs): New fields int_load, int_store,
6173 fp_move, fp_load and fp_store
6174 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
6175 fp->int moves
6176 (MEMORY_MOVE_COST): New macro.
6177 * i386.c (386_cost): Define new fields.
6178 (i486_cost): Likewise.
6179 (pentium_cost): Likewise.
6180 (pentiumpro_cost): Likewise.
6181 (k6_cost): Likewise.
6182
6183 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
6184 Geoffrey Keating <geoffk@cygnus.com>
6185
6186 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
6187
6188 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
6189 MASK_ALIGN_INT.
6190
6191 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
6192 (TARGET_STRICT_ALIGNMENT): New macro.
6193 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
6194 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
6195 * invoke.texi (M680x0 Options): Document -mstrict-align.
6196
6197 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
6198 Richard Henderson <rth@cygnus.com>
6199
6200 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
6201 (ix86_split_long_move): Declare.
6202 * i386.c (split_xf, ix86_split_movdi): Remove.
6203 (ix86_split_to_parts, ix86_split_long_move): New.
6204 * i386.md (dimode move splitters): Use ix86_split_long_move.
6205 (dfmode move splitters): Likewise.
6206 (xfmode move splitters): Likewise.
6207 (movsf_1): Allow F->r.
6208 (movdf_1, movxf_1): Allow F->ro.
6209
6210 1999-11-17 Mark Mitchell <mark@codesourcery.com>
6211
6212 * except.h (struct eh_entry): Add goto_entry_p.
6213 (eh_region_from_symbol): Remove prototype.
6214 * except.c (find_func_region_from_symbol): New function.
6215 (emit_cleanup_handler): Likewise.
6216 (eh_region_from_symbol): Make it static.
6217 (add_new_handler): Verify the argument.
6218 (find_func_region): Update comment.
6219 (expand_eh_region_end): Expand handlers here, rater than waiting
6220 until expand_leftover_cleanups or start_all_catch.
6221 (expand_leftover_cleanups): Don't expand here.
6222 (expand_start_all_catch): Or here.
6223 (expand_rethrow): Check the return value from find_func_region.
6224 * function.c (expand_function_end): Emit the catch_clauses.
6225
6226 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
6227
6228 * integrate.c (expand_inline_function): Add necessary check for NULL.
6229
6230 1999-11-18 Nick Clifton <nickc@cygnus.com>
6231
6232 * toplev.c (main): Correctly detect an unrecognised option.
6233
6234 * cppinit.c (cpp_handle_option): Do not claim to have consumed
6235 a -f option if it has not been recognised.
6236
6237 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
6238
6239 * basic-block.h (update_life_extent): Remove trailing comma on
6240 enumeration type list.
6241
6242 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6243
6244 * varasm.c (output_constructor) Solved problem with long long
6245 bitfields. Corrected calculating this_time and shift. Also
6246 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
6247
6248 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
6249
6250 * flow.c (split_edge): Take looping structure into account when
6251 determining where to put the new block note.
6252
6253 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
6254
6255 * Makefile.in (ggc-none.o): Provide host specific version if
6256 needed.
6257
6258 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
6259
6260 * cse.c (delete_trivially_dead_insns): Identify no-op insns
6261 containing subregs too.
6262
6263 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
6264
6265 * invoke.texi: Add documentation for -muninit-const-in-rodata.
6266 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
6267 (TARGET_UNINIT_CONST_IN_RODATA): Define.
6268 (text_section): Add switches -munint-const-in-rodata and
6269 -mno-uninit-const-in-rodata.
6270 (ASM_OUTPUT_COMMON): Remove.
6271 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
6272 const objects should be placed in read-only data. Otherwise declare
6273 them in common.
6274
6275 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
6276
6277 * jump.c (jump_optimize_1): Revert last change.
6278
6279 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
6280
6281 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
6282 test if optimizing for size.
6283
6284 1999-11-17 Mark Mitchell <mark@codesourcery.com>
6285
6286 * Makefile.in (toplev.o): Depend on except.h.
6287 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
6288
6289 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
6290
6291 * i386.md (divmodsi4): Rewrite to expander.
6292 (*divmodsi4_nocltd): New.
6293 (*divmodsi4_cltd): New.
6294 (divmodsi4 splitter): Handle the case when input comes in edx.
6295 (udivmodhi4): Do not use constraints in exander.
6296 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
6297
6298 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
6299
6300 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
6301 for the common case.
6302
6303 1999-11-16 Jakub Jelinek <jakub@redhat.com>
6304
6305 * explow.c (hard_function_value): Add outgoing argument.
6306 * expr.h (hard_function_value): Declare it.
6307 * calls.c (expand_call, emit_library_call_value): Update callers.
6308 * function.c (aggregate_value_p): Ditto.
6309 (diddle_return_value): Must look at the outgoing registers
6310 on archs with register windows.
6311
6312 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
6313
6314 * alpha.c (alpha_build_va_list): Use make_lang_type and
6315 initialize TYPE_NAME for the va_list record.
6316
6317 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
6318
6319 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
6320 for printing.
6321 * ggc.h (struct ggc_statistics): Rearrange elements for better
6322 packing on 64-bit hosts.
6323 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
6324 (compute_nearerout): Likewise.
6325
6326 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
6327
6328 * config/rs6000/rs6000.c (first_reg_to_save): Save
6329 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
6330
6331 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
6332
6333 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
6334 notion of nesting to find the DIE for a type or function.
6335 DIEs can go in limbo even if we got a context_die.
6336 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
6337 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
6338 for local type.
6339 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
6340 (gen_type_die): Writing out the context doesn't cause member class
6341 template instantiations to be written out as well.
6342
6343 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
6344
6345 * rs6000.h (ASM_OUTPUT_DEF): New.
6346 Based on proposed addition from David Edelsohn.
6347
6348 1999-11-15 Robert Lipe <RobertLipe@usa.net>
6349 Bruce Korb <autogen@linuxbox.com>
6350
6351 * fixinc/inclhack.def
6352 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
6353 (unixware7_byteorder_fix): added. Removes conflicts for new defs
6354 in net/inet.h.
6355 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
6356 (svr4_endian): enabled with SVR5
6357 (svr4_mkdev): simplified syntax and enabled with SVR5
6358
6359 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
6360
6361 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
6362 * configure: Rebuilt.
6363 * config/t-freebsd-thread: New file.
6364
6365 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
6366
6367 * i386.c (ix86_decompose_address): Verify the base is a REG
6368 before trying to examine its register number.
6369
6370 * basic-block.h: Remove all #defines and prototypes related to
6371 integer lists.
6372 (free_bb_mem, compute_preds_succs): Remove prototype.
6373 * rtl.h (free_bb_mem): Remove prototype.
6374 * flow.c (alloc_int_list_node); Remove function.
6375 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
6376 (compute_preds_succs, free_bb_mem): Likewise.
6377 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
6378 * toplev.c (rest_of_compilation): Likewise.
6379 * haifa-sched.c (build_control_flow): Use flow generated edge
6380 list to build the haifa specific edge list.
6381 (find_rgns): Use new CFG data structures instead of pred/succ lists.
6382 (schedule_insns): Do not build pred/succ lists anymore. Instead
6383 build the edge table.
6384
6385 * basic-block.h (dump_bb_data): Remove declaration.
6386 * flow.c (dump_bb_data): Remove function.
6387 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
6388 (sbitmap_union_of_predsucc): Likewise.
6389
6390 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
6391 argument. All callers changed.
6392 (delete_null_pointer_checks_1): No longer need to compute the
6393 pred/succ lists.
6394
6395 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
6396 All callers changed.
6397 (pre_expr_reaches_here_p_work): Likewise.
6398 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
6399 * lcm.c (compute_laterin): Fix initialization of LATER.
6400 (compute_nearerout): Similarly for NEARER.
6401
6402 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6403
6404 * cse.c (set_nonvarying_address_components): Delete unused function.
6405 (refers_to_p): Likewise.
6406
6407 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
6408
6409 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
6410 needed.
6411
6412 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6413
6414 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
6415 definition in do while (0).
6416
6417 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
6418
6419 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
6420
6421 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
6422
6423 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
6424
6425 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
6426
6427 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
6428 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
6429 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
6430 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
6431
6432 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
6433 saved on the stack. Output more accurate stack frame statistics
6434 into assembler file.
6435
6436 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
6437
6438 * genextract.c (record_insn_name): New function.
6439 (get_insn_name): No longer a stub.
6440 (main): Call record_insn_name for each insn. After each label
6441 written, print the insn name in a comment.
6442
6443 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6444
6445 * output.h (const_section, init_section, fini_section): Add
6446 prototypes.
6447
6448 * alpha/elf.h (const_section): Delete declaration.
6449
6450 * svr4.h (const_section): Likewise.
6451
6452 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
6453
6454 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
6455 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
6456 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
6457 expressions.
6458 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
6459 variable-sized array bounds.
6460
6461 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
6462
6463 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
6464 ASM_OUTPUT_LABEL.
6465
6466 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6467
6468 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
6469 addresses the same way GO_IF_LEGITIMATE_INDEX does.
6470
6471 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6472
6473 * cse.c (hash_arg_in_struct): Delete.
6474 (struct table_elt): Delete elt in_struct.
6475 (struct set): Delete elt src_in_struct.
6476 (merge_equiv_classes): Don't set either hash_arg_in_struct or
6477 the corresponding in_struct elts.
6478 (canon_hash): Likewise.
6479 (safe_hash): Likewise.
6480 (find_best_addr): Likewise.
6481 (record_jump_cond): Likewise.
6482 (cse_insn): Likewise.
6483
6484 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
6485
6486 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
6487
6488 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
6489 unsigned types.
6490
6491 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
6492
6493 * function.c (diddle_return_value): Put back check that the DECL_RTL
6494 for the function is a register.
6495
6496 * function.c (diddle_return_value): Use hard_function_value to
6497 get an rtx suitable for use in the USE/CLOBBER insn.
6498
6499 * global.c (global_conflicts): Update comments.
6500 (record_conflicts): No need to record conflicts between pseudos here.
6501
6502 1999-11-11 Bruce Korb <autogen@linuxbox.com>
6503
6504 * fixinc/fixincl.c: Added verbose levels for status messages
6505
6506 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6507
6508 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
6509 operand as argument to expand_and or expand_binop.
6510
6511 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
6512
6513 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
6514 gcc_add_string_root.
6515
6516 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
6517
6518 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
6519
6520 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
6521
6522 * flow.c (compute_flow_dominators): Initially put all blocks on
6523 the worklist.
6524 * lcm.c (compute_antinout_edge, compute_available): Similarly.
6525 * gcse.c (compute_cprop_avinout): Remove.
6526 (compute_cprop_data): Use compute_available.
6527 (delete_null_pointer_checks_1): Use compute_available.
6528
6529 * basic-block.h (compute_available): Returns a void now.
6530 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
6531 to return a value anymore.
6532 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
6533 worklists. Fix boundary cases. Compute maximal solutions.
6534 (compute_laterin, compute_nearerout): Similarly.
6535
6536 * dwarf2out.c (add_AT_location_description): Allow
6537 (mem (plus (pseudo) (...)) too.
6538
6539 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
6540
6541 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
6542
6543 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
6544 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6545
6546 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
6547
6548 * gansidecl.h: Likewise.
6549
6550 * rtl.c: Likewise.
6551
6552 * rtl.h: Likewise.
6553
6554 * toplev.h: Likewise.
6555
6556 * tree.c: Likewise.
6557
6558 * tree.h: Likewise.
6559
6560 * varray.c: Likewise.
6561
6562 * varray.h: Likewise.
6563
6564 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
6565
6566 * gcov.c (struct arcdata): Add hits and total, remove prob.
6567 (output_branch_counts): New.
6568 (process_args): Set output_branch_counts if -c.
6569 (calculate_branch_probs): Store hits and total instead of
6570 percentage.
6571 (output_data): Emit counts if output_branch_counts is true.
6572 * gcov.texi (Invoking Gcov): Document -c switch..
6573
6574 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
6575
6576 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
6577 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
6578
6579 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
6580
6581 * invoke.texi (C Dialect Options): Add missing builtins from
6582 c-common.c to list.
6583 * extend.texi (Other Builtins): Copy to this list.
6584
6585 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6586
6587 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
6588 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
6589 redundant bitmap.h.
6590
6591 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
6592
6593 * flow.c (compute_flow_dominators): No longer treat basic block 0
6594 or (n_basic_blocks - 1) specially. Clear the AUX field before
6595 starting computation of doms/pdoms. Fix initial state for pdoms.
6596
6597 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6598
6599 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
6600 match rtl.o's: added ggc.h and toplev.h
6601 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
6602 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
6603 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
6604
6605 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
6606
6607 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
6608 from HAVE_DOS_BASED_FILESYSTEM.
6609 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
6610 HAVE_DOS_BASED_FILESYSTEM.
6611 (main): Likewise.
6612 (split_directories): Only special-case DOS file names if
6613 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
6614 instead of explicit tests. Conditionalize on !VMS.
6615 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
6616 tests. Conditionalize on !VMS.
6617 (process_command): Only use make_relative_prefix if !VMS.
6618 (free_split_directories): Conditionalize on !VMS.
6619 (DIR_UP): Conditionalize on !VMS.
6620
6621 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
6622
6623 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
6624
6625 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
6626
6627 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
6628 case.
6629
6630 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
6631
6632 * invoke.texi (Environment Variables): Document relative path
6633 lookup.
6634 * gcc.c (DIR_UP): If not defined, define as "..".
6635 (standard_bindir_prefix): New static, holds target location to
6636 install binaries.
6637 (split_directories): New function to split a filename into
6638 component directories.
6639 (free_split_directories): New function, release memory allocated
6640 by split_directories.
6641 (make_relative_prefix): New function, make a relative pathname if
6642 the compiler is not in the expected location.
6643 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
6644 can figure out an appropriate prefix from argv[0].
6645 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
6646 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
6647 STANDARD_BINDIR_PREFIX.
6648
6649 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6650
6651 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
6652 in c4x.c.
6653 * config/c4x/c4x.h: Moved prototypes to c4x.h.
6654 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
6655 c4x_secondary_memory_needed) Delete.
6656 (fp_zero_operand): Add mode argument.
6657
6658 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
6659
6660 * reload1.c (reload_reg_free_for_value_p): Don't use a register
6661 that is in reload_reg_used.
6662
6663 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
6664
6665 * config/arm/arm-protos.h: New file: Prototypes for functions
6666 defined in arm.c and pe.c.
6667 * config/arm/arm.h: Fix compile time warnings.
6668 * config/arm/arm.c: Fix compile time warnings.
6669 * config/arm/pe.h: Fix compile time warnings.
6670 * config/arm/aout.h: Fix compile time warnings.
6671
6672 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
6673
6674 * config/m32r/m32r-protos.h: New file: Prototypes for functions
6675 defined in m32r.c
6676
6677 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
6678 Add support for subtargets.
6679 Add prototypes for new predicates.
6680 Add scheduling macros.
6681
6682 * config/m32r/m32r.c: Fix compile time warnings.
6683 (int8_operand): New predicate function.
6684 (reg_or_cmp_int16_operand): New predicate function.
6685 (extend_operand): New predicate function.
6686 (m32r_adjust_code): New scheduling function.
6687 (m32r_adjust_priorty): New scheduling function.
6688 (m32r_sched_init): New scheduling function.
6689 (m32r_sched_reorder): New scheduling function.
6690 (m32r_sched_variable_issue): New scheduling function.
6691 (direct_return): New codegen function.
6692 (m32r_not_same_reg): New rtl testsing function.
6693
6694 * config/m32r/m32r.md: Fix compile time warnings.
6695 Add support for pre decrement and post increment memory
6696 references.
6697 Add S<cc> patterns.
6698 Add fabs patterns.
6699
6700 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6701
6702 * global.c (EXECUTE_IF_CONFLICT): Don't define.
6703 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
6704 (find_reg): Likewise.
6705
6706 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
6707
6708 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
6709 to avoid assembler errors.
6710
6711 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
6712
6713 * config/v850/v850-protos.h: New file: Prototypes for functions
6714 defined in v850.c
6715 * config/v850/v850.h: Move prototypes to v850-protos.h
6716 * config/v850/v850.c: Move prototypes to v850-protos.h
6717 * config/v850/v850.md: Fix compile time warnings.
6718
6719 * config/fr30/fr30-protos.h: New file: Prototypes for functions
6720 defined in fr30.c
6721 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
6722 * config/fr30/fr30.c: Fix compile time warnings.
6723 * config/fr30/fr30.md: Fix compile time warnings.
6724
6725 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
6726
6727 * tree.h (get_containing_scope): Declare it.
6728 * tree.c (get_containing_scope): New fucntion.
6729 (decl_function_context): Use it.
6730 * toplev.c (rest_of_compilation): Use get_containing_scope.
6731
6732 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6733
6734 * Makefile.in (rtl.o): Depend on toplev.h.
6735
6736 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
6737
6738 * cse.c (delete_trivially_dead_insns): Replace alloca with
6739 xmalloc/xcalloc.
6740 * except.c (update_rethrow_references): Likewise.
6741 (init_eh_nesting_info): Likewise.
6742 * function.c (identify_blocks): Likewise.
6743 * gcse.c (dump_hash_table): Likewise.
6744 * graph.c (print_rtl_graph_with_bb): Likewise.
6745 * loop.c (combine_movables): Likewise.
6746 (move_movables): Likewise.
6747 (count_loop_regs_set): Likewise.
6748 (strength_reduce): Likewise.
6749 * profile.c (compute_branch_probabilities): New function, split
6750 out from ...
6751 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
6752 * regclass.c (regclass): Likewise.
6753 * regmove.c (regmove_optimize): Likewise.
6754 * toplev.c (compile_file): Likewise.
6755 (main): Don't mess with the stack rlimit.
6756
6757 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
6758
6759 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
6760 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
6761
6762 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
6763
6764 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
6765
6766 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
6767
6768 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
6769 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
6770 macro expansion.
6771
6772 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
6773
6774 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
6775
6776 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
6777
6778 * gcse.c (post_dominators): Kill.
6779 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
6780 (compute_code_hoist_data): Use compute_flow_dominators. Do not
6781 pass in a pdom array since we do not need pdoms.
6782 * haifa-sched.c (schedule_insns): Similarly.
6783 * flow.c (compute_dominators): Remove dead function.
6784 (compute_flow_dominators): Do not compute doms or pdoms if the
6785 caller does not request them. Split up loop to build doms and
6786 pdoms. Use a worklist to compute doms and pdoms.
6787 * basic-block.h (compute_dominators): Remove prototype.
6788
6789 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
6790
6791 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
6792 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
6793 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
6794 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
6795 (cant_move, fed_by_spec_load, is_load_insn): Remove.
6796 (schedule_region): Remove unused variable.
6797 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
6798
6799 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
6800
6801 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
6802 (update_equiv_regs): Likewise.
6803 (block_alloc): Likewise.
6804 * reg-stack.c (reg_to_stack): Likewise.
6805 (convert_regs_2): Likewise.
6806 * reload1.c (reload_as_needed): Likewise.
6807
6808 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
6809
6810 * Makefile.in (dbxout.o): Depend on ggc.h.
6811 (dwarf2out.o): Likewise.
6812 (xcoffout.o): Likewise.
6813 * dbxout.c: Include ggc.h.
6814 (dbxout_init): Register lastfile as a root.
6815 * dwarf2out.c: Include ggc.h.
6816 (dwarf2out_line): Register lastfile as a root.
6817 * xcoffout.c: Include ggc.h.
6818 (xcoffout_source_line): Register xcoff_lastfile as a root.
6819
6820 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
6821
6822 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
6823
6824 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
6825
6826 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
6827 defined.
6828 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
6829
6830 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6831
6832 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
6833 (EXECUTE_IF_CONFLICT): Likewise.
6834 (ALLOCNO_LIVE_P): Avoid signed division.
6835 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
6836 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
6837 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
6838
6839 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
6840
6841 * haifa-sched.c (schedule_block): Don't crash if there's no
6842 next insn for an interblock movement.
6843 (add_branch_dependences): Don't allow clobber insns to move either.
6844
6845 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
6846
6847 * i386.c (split_xf): New.
6848 * i386-protos.h: Declare it.
6849 * i386.md (movxf_1): Add general regs alternatives.
6850 (movxf_1+1): New splitter for same.
6851
6852 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
6853
6854 * function.c (purge_addressof_1): Add missing return values.
6855
6856 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
6857
6858 * function.c (is_addressof): New function. Returns true if
6859 the given piece of RTL is an ADDRESSOF.
6860 (purge_addressof_1): Make boolean. Return false if the
6861 ADDRESSOFs could not be purged.
6862 (purge_addressof): If ADDRESSOFs could not be purged from the
6863 notes attached to an insn, remove the offending note(s),
6864 unless they are attached to a libcall.
6865
6866 1999-11-05 Andreas Jaeger <aj@suse.de>
6867
6868 * genoutput.c (null_operand =): Initialize all fields.
6869
6870 * errors.h: Add extern to prototypes.
6871
6872 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
6873
6874 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
6875 * configure: Rebuilt.
6876
6877 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6878
6879 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
6880 (mirror_conflicts): New function.
6881 (global_alloc): Call it.
6882 (expand_preferences): Remove redundant CONFLICTP test.
6883 (find_reg, dump_conflicts): Likewise.
6884 (prune_preferences): Process conflicts one word at a time.
6885
6886 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
6887
6888 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
6889 instead of an explicit loop.
6890
6891 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
6892
6893 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
6894 if REG_RETVAL check succeeds, then put classp in src_elt.
6895
6896 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
6897
6898 * function.c (pad_to_arg_alignment): Only update argument_pad
6899 if the argument's alignment is greater than STACK_BOUNDARY.
6900
6901 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
6902
6903 * bitmap.h (BITMAP_XFREE): New.
6904 * flow.c (life_analysis): Use it.
6905 (life_analysis_1): Free blocks.
6906
6907 * combine.c (undo_commit): New.
6908 (try_combine): Use it. Don't zap undobuf.undos.
6909 (combine_instructions): Don't zap undobuf.undos; free the
6910 undobuf.frees list.
6911
6912 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
6913
6914 * stmt.c (cost_table_): New.
6915 (estimate_case_costs): Use it instead of xmalloc.
6916
6917 * toplev.c (compile_file): Reuse dumpname memory instead
6918 of strdup'ing it.
6919
6920 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
6921
6922 * reg-stack.c (convert_regs_1): Initialize target_stack->top
6923 after verifying an EH edge.
6924
6925 * haifa-sched.c (init_rgn_data_dependences): Correctly
6926 size bb_pending_lists_length when zeroing.
6927
6928 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
6929
6930 * function.c (diddle_return_value): New.
6931 (expand_function_end): Use it.
6932 * stmt.c (expand_null_return): Likewise.
6933 (expand_value_return): Likewise.
6934
6935 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
6936
6937 * reload1.c (reload): Don't remove return value clobbers.
6938
6939 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
6940
6941 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
6942
6943 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
6944
6945 * cse.c (cse_main): Use xmalloc, not alloca.
6946 (cse_basic_block): Likewise.
6947 * local-alloc.c (local_alloc): Likewise.
6948
6949 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
6950 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6951
6952 * rtl.c: Include toplev.h.
6953 (fatal): Remove declaration.
6954
6955 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
6956
6957 * haifa-sched.c (schedule_block): Fix thinko.
6958
6959 1999-11-03 James McKelvey <mckelvey@fafnir.com>
6960
6961 * fixinc/fixincl.c(create_file): Allow for systems that do not have
6962 S_IR* defined values
6963
6964 1999-11-03 Philippe De Muyter <phdm@macqel.be>
6965
6966 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
6967 call `malloc' instead.
6968
6969 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
6970
6971 * flags.h (flag_renumber_insns): Declare.
6972 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
6973 renumbering table.
6974 * rtl.h (renumber_insns): Change prototype.
6975 * toplev.c (flag_renumber_insns): Define.
6976 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
6977
6978 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
6979
6980 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
6981 and fpsqrtd. Use them and create fdiv function unit to more
6982 accurately represent fpu sqrt pipeline semantics on UltraSparc.
6983 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
6984
6985 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
6986
6987 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
6988 3 on UltraSparc.
6989 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
6990 insn into ready list, do not use just a raw swap.
6991
6992 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
6993
6994 * rtl.h (renumber_insns): New function.
6995 (remove_unnecessary_notes): Likewise.
6996 * emit-rtl.c (renumber_insns): Define.
6997 (remove_unncessary_notes): Likewise.
6998 * toplev.c (rest_of_compilation): Remove dead code.
6999 Use renumber_insns and remove_unncessary_notes.
7000
7001 * gcse.c (struct null_pointer_info): New type.
7002 (get_bitmap_width): New function.
7003 (current_block): Remove.
7004 (nonnull_local): Likewise.
7005 (nonnull_killed): Likewise.
7006 (invalidate_nonnull_info): Take a null_pointer_info as input.
7007 (delete_null_pointer_checks_1): New function.
7008 (delete_null_pointer_checks): Use it.
7009
7010 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
7011 (split_edges): Likewise.
7012 (schedule_block): Likewise.
7013 (compute_block_backward_dependencies): Likewise.
7014 (schedule_region): Likewise.
7015 (schedule_insns): Likewise.
7016
7017 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
7018
7019 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
7020 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
7021 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
7022 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
7023 * jump.c (delete_unreferenced_labels): Don't delete if
7024 LABEL_ALTERNATE_NAME is set.
7025 * print-rtl.c (print_rtx): Dump alternate name.
7026 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
7027 * rtl.h (LABEL_ALTERNATE_NAME): Define.
7028 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
7029 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
7030
7031 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7032
7033 * fix-header.c (recognized_extern, recognized_function): Constify
7034 a char*.
7035
7036 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
7037 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
7038 (compute_available): Remove unused variable `last'.
7039 (compute_nearerout): Remove unused variable `temp_bitmap'.
7040 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
7041 Remove unused variable `x'.
7042
7043 * scan.h (recognized_function, recognized_extern): Constify a
7044 char*.
7045
7046 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
7047
7048 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7049
7050 * varasm.c (decode_rtx_const): Use XSTR to access the string
7051 of a SYMBOL_REF.
7052
7053 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
7054
7055 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
7056
7057 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7058
7059 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
7060
7061 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
7062
7063 * pa.c (ireg_operand): New function.
7064 * pa.h (PREDICATE_CODES): Handle ireg_operand.
7065 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
7066 Fix out of date comment.
7067
7068 * pa.md (negdi2): Turn into expander + anonymous pattern.
7069
7070 * reload.c (find_reloads): Fix typos in recent change.
7071
7072 * dwarf2out.c: Do not include ctype.h.
7073
7074 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7075
7076 * regclass.c (record_reg_classes): Always use may_move_cost when
7077 seeing how operand fits with various register classes.
7078
7079 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
7080
7081 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
7082 * toplev.c: Revert Nov 1 13:22 change.
7083
7084 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
7085
7086 * config/pa/pa.md (height reduction patterns): Add checks for
7087 overlapping operands to avoid semantic-destroying splits for
7088 height reduction patterns.
7089
7090 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7091
7092 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
7093 have been an hyphen, fixed.
7094 * configure: Rebuilt.
7095
7096 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
7097
7098 * config/arm/tpe.h: Add prototypes for exported functions.
7099 * config/arm/pe.c: Fix compile time warnings.
7100 * config/arm/semi.h: Fix compile time warnings.
7101 * config/arm/arm.c: Fix compile time warnings.
7102 * config/arm/arm.h: Fix compile time warnings.
7103 * config/arm/arm.md: Fix compile time warnings.
7104 * config/arm/thumb.c: Fix compile time warnings.
7105 * config/arm/thumb.h: Fix compile time warnings.
7106 * config/arm/thumb.md: Fix compile time warnings.
7107
7108 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
7109
7110 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
7111 detection code
7112
7113 * unroll.c (unroll_loop): Remove LOOP notes when loop is
7114 completely unrolled.
7115
7116 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7117
7118 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
7119
7120 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
7121
7122 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
7123 * rtl.h (rtx_equal_p): Move prototype.
7124 * rtl.c (rtx_equal_function_value_matters): Move from
7125 rtlanal.c
7126 (rtx_equal_p): Likewise.
7127 * rtlanal.c (rtx_equal_function_value_matters): Delete.
7128 (rtx_equal_p): Likewise.
7129
7130 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
7131
7132 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
7133 ! HAS_INIT_SECTION.
7134
7135 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
7136
7137 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
7138
7139 * pa.h (ADDR_VEC_ALIGN): Define.
7140
7141 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
7142 notes when presented with "if (foo) break; end_of_loop" and
7143 the break sequence gets moved out of the loop.
7144
7145 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
7146 Remove explicit zero initializations of entries within MAP.
7147
7148 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
7149
7150 * reg-stack.c (convert_regs_1): Handle EH edges specially.
7151
7152 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
7153
7154 * bitmap.h (BITMAP_XMALLOC): New macro.
7155 * flow.c (CLEAN_ALLOCA): Remove.
7156 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
7157 (life_analysis): Likewise.
7158 (update_life_info): Don't use CLEAN_ALLOCA.
7159 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
7160 (calculate_global_regs_live): Likewise.
7161 (print_rtl_with_bb): Likewise.
7162 (verify_flow_info): Likewise.
7163 * global.c (global_alloc): Likewise.
7164 (global_conflicts): Likewise.
7165 * integrate.c (save_for_inline_nocopy): Likewise.
7166 (expand_inline_function): Likewise.
7167 * jump.c (jump_optimize_1): Likewise.
7168 (duplicate_loop_exit_test): Likewise.
7169 (thread_jumps): Likewise.
7170 * loop.c (loop_optimize): Likewise.
7171 (combine_givs): Likewise.
7172 (recombine_givs): Likewise.
7173 * reorg.c (dbr_schedule): Likewise.
7174 * unroll.c (unroll_loop): Likewise.
7175
7176 * combine.c (combine_instructions): Use xmalloc instead of alloca.
7177
7178 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
7179
7180 * toplev.c (rest_of_compilation): Don't optimize the CFG
7181 when rebuilding, just before dbr.
7182
7183 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7184
7185 * output.h (assemble_end_function, assemble_destructor,
7186 assemble_constructor, assemble_gc_entry, assemble_global,
7187 assemble_label, output_constant_pool) Constify a char*.
7188
7189 * varasm.c (assemble_destructor, assemble_constructor,
7190 assemble_gc_entry, assemble_end_function, assemble_global,
7191 assemble_label, output_constant_pool): Likewise.
7192
7193 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
7194
7195 * config/arm/thumb.c (thumb_expand_prologue): Add comments
7196 explaining what is goin on in this function.
7197
7198 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7199
7200 * regclass.c (record_reg_classes): In matching case, recompute
7201 costs since the direction of movement is different.
7202
7203 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
7204
7205 * resource.c (mark_target_live_regs): For unconditional branches,
7206 the resources found at the branch target should be added to the
7207 resources found so far, not intersected.
7208
7209 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
7210
7211 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
7212 old cpp's.
7213 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
7214 (sys/mman.h): Include this file only if #HAVE_MMAP.
7215 (run_compiles): Initialize `esac_fmt' with one old KR string, not
7216 with automatically concatenated ANSI strings.
7217
7218 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
7219
7220 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
7221 (DIV_ROUND_UP): Robustify.
7222 (ggc_recalculate_in_use_p): New function.
7223 (release_pages): Don't inline it.
7224 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
7225 outer contexts.
7226 (ggc_pop_context): Use ggc_recalculate_in_use_p.
7227 (clear_marks): Always save in_use_p.
7228 (sweep_pages): Use ggc_recalculate_in_use_p.
7229 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
7230 Release pages before counting statistics.
7231
7232 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
7233
7234 * toplev.c (rest_of_compilation): Fix thinko in this change:
7235
7236 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
7237
7238 (rest_of_compilation): If inside an inlined external function,
7239 pretend we are just being declared.
7240
7241 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
7242
7243 * flow.c (calculate_global_regs_live): Fix thinko.
7244
7245 * integrate.c (expand_inline_function): Fix bugs in previous
7246 change from Oct 28, 1999.
7247
7248 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
7249
7250 * stmt.c (expand_value_return): Fix typo in this change:
7251
7252 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7253 (expand_value_return): Correctly convert VAL when promoting function
7254 return; support RETURN_REG being a PARALLEL.
7255
7256 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
7257
7258 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
7259
7260 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7261
7262 * hard-reg-set.h (reg_names): Constify a char*.
7263
7264 * regclass.c (reg_names): Likewise.
7265
7266 * regs.h (reg_names): Likewise
7267
7268 * a29k/a29k.c (reg_names): Delete declaration.
7269
7270 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
7271
7272 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
7273 arc_output_function_epilogue): Likewise.
7274
7275 * elxsi/elxsi.c (reg_names): Likewise.
7276
7277 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
7278
7279 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
7280 Likewise.
7281
7282 * m88k/m88k.c (output_function_profiler): Likewise.
7283
7284 * sparc/sparc.c (sparc_flat_output_function_prologue,
7285 sparc_flat_output_function_epilogue): Likewise.
7286
7287 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
7288
7289 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
7290 warning from -Wuninitialized and put it under -W.
7291 * function.c (uninitialized_vars_warning): Warn only when the
7292 corresponding flag is set.
7293
7294 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
7295
7296 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
7297 is nonzero and the single set does not have an elt, then assign
7298 it an elt.
7299
7300 * simplify-rtx.c: New file.
7301 * Makefile.in (OBJS): Add simplify-rtx.o
7302 (simplify-rtx.o): Add dependencies.
7303 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
7304 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
7305 (cse_gen_binary, simplify_unary_operation): Delete.
7306 (simplify_binary_operation, simplify_plus_minus): Likewise.
7307 (check_fold_consts, simplify_relation_operation): Likewise.
7308 (simplify_ternary_operation): Likewise.
7309 (delete_trivially_dead_insns): Simplify the contents of the
7310 REG_EQUAL note before trying to substitute it into the source
7311 of the reg-reg copy at the end of a libcall sequence.
7312
7313 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
7314 references/callers changed.
7315
7316 * mn10200.c (mn10200_va_arg): Force the return value into a
7317 register.
7318
7319 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
7320
7321 * cccp.c (macroexpand): Avoid out of range accesses for omitted
7322 arguments.
7323
7324 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
7325
7326 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
7327
7328 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
7329
7330 * fold-const.c (fold): Fix thinko when optimizing comparisons
7331 against -0.0.
7332
7333 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
7334
7335 * gcc.texi (Passes): Update front-end files to their current
7336 location.
7337
7338 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
7339
7340 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
7341 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
7342 (PREDICATE_CODES): Add addition_operation.
7343 * alpha-protos.h (addition_operation): Declare.
7344 (secondary_reload_class): Likewise.
7345 * alpha.c (addition_operation): New.
7346 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
7347 * alpha.md (adddi3): Turn into expander.
7348 (*lda, *adddi_2): New.
7349 (movsf, movdf patterns): Don't preference integer regs.
7350 (movsi, movdi patterns): Don't preference fp regs.
7351
7352 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
7353
7354 * genrecog.c (write_switch): Check for duplicate CODE cases.
7355
7356 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
7357
7358 * ggc-common.c: Update pre-function commentary.
7359 * ggc-page.c: Likewise.
7360 (poison): Remove.
7361 (poison_pages): Use memset directly.
7362 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
7363 (ggc_collect): Poison before sweeping.
7364 * ggc-simple.c: Update pre-function commentary.
7365 (ggc_alloc_obj): Poison non-zeroed memory.
7366
7367 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
7368
7369 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
7370 match format string, even on 64-bit hosts.
7371 * gcc-page.c (ggc_page_print_statistics): Likewise.
7372
7373 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
7374
7375 * config/i386/i386.c (ix86_cpu): Revert last patch.
7376 * config/i386/i386.h (ix86_cpu): Ditto.
7377
7378 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
7379
7380 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
7381 TYPE_SIZE, convert type of result to sizetype.
7382
7383 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
7384
7385 * flow.c (count_or_remove_death_notes): Equate NULL with the
7386 universal set.
7387
7388 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
7389 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
7390 dbr_schedule.
7391
7392 * i386.c (pic_label_no): Delete.
7393 (ix86_attr_length_default): Don't use single_set to peek
7394 inside a parallel.
7395
7396 * recog.c (peephole2_optimize): Allow recog_next_insn to index
7397 the first insn after bb->end.
7398 * i386.md (push mem peeps): Scratch is live after evaluation
7399 of the memory.
7400 (cmp mem peep): Similarly.
7401
7402 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
7403
7404 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
7405 * function.c (pad_to_arg_alignment): Add missing braces.
7406
7407 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7408
7409 * alpha/alpha-protos.h (literal_section): Add prototype.
7410 (alpha_need_linkage, alpha_start_function,alpha_end_function):
7411 Constify a char*.
7412
7413 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
7414 prototype.
7415 (alpha_start_function, alpha_end_function, float_strings,
7416 alpha_need_linkage): Constify a char*
7417
7418 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
7419
7420 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
7421
7422 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7423
7424 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
7425
7426 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7427
7428 * flow.c (debug_flow_info): Add prototype.
7429
7430 * gcc.c (main): Likewise.
7431
7432 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
7433 Likewise.
7434
7435 * reload1.c (failed_reload, set_reload_reg): Likewise.
7436
7437 * mips-tfile.c (main): Likewise.
7438 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
7439 with ATTRIBUTE_NORETURN.
7440
7441 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
7442
7443 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
7444 DECL is not a memory ref.
7445
7446 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
7447
7448 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
7449 * config/i386/i386.c (ix86_cpu): Add extern attribute.
7450
7451 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
7452
7453 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
7454 * config/mips/elf64.h: ditto.
7455
7456 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
7457
7458 * expr.c (emit_push_insn): New argument alignment_pad.
7459 Update all callers. Adjust stack pointer based on alignment pad.
7460 * function.c (pad_to_arg_alignment): New argument alignment_pad.
7461 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
7462 (locate_and_pad_parm): New argument alignment_pad. Update all
7463 callers.
7464 * expr.h (emit_push_insn): Update prototype.
7465 (locate_and_pad_parm): Update prototype.
7466 * calls.c (arg_data): Add new field alignment_pad.
7467 (initialize_argument_information): Initialize alignment_pad.
7468
7469 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
7470
7471 * except.c (free_eh_nesting_info): Free the info itself.
7472 * function.c (free_after_compilation): Don't free NULL.
7473 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
7474 (pre_edge_insert): Free inserted.
7475 * stmt.c (free_stmt_status): Don't free NULL.
7476
7477 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
7478
7479 * gcov.c (DIR_SEPARATOR): Provide default.
7480 (output_data): Add test for MS-DOS format absolute filename.
7481 (fancy_abort): Correct program name.
7482 (open_files): Open all files in binary mode.
7483 * libgcc2.c (__bb_exit_func): Likewise.
7484
7485 * profile.c (init_branch_prob): Specify binary when opening files.
7486
7487 * flags.h (flag_unwind_tables): New decl.
7488 * toplev.c (flag_unwind_table): New definition.
7489 (f_options): Add -funwind-tables.
7490 (decode_g_option): Clarify warning when unknown -g option is given.
7491 (rest_of_compilation): If inside an inlined external function,
7492 pretend we are just being declared.
7493
7494 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
7495 (dwarf2out_frame_finish): Likewise.
7496
7497 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
7498
7499 * fold-const.c (merge_ranges): If not in0, but in1, handle
7500 upper bounds equal like subset case.
7501
7502 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
7503
7504 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
7505 passed in a register but moved to the stack.
7506
7507 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
7508
7509 * gcc.c (pass_exit_codes, greatest_status): New variables.
7510 (struct option_map): Add entry for "--pass-exit-codes".
7511 (execute): Update greatest_status if error.
7512 (display_help): Add documentation for -pass-exit-codes.
7513 (process_command): Handle -pass-exit-codes.
7514 (main): Look at pass_exit_codes and greatest_status on call to exit.
7515
7516 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7517
7518 * reload.c (find_reloads): Refine test for no input reload
7519 case to not includes reloads emitted after insn.
7520
7521 * function.c (find_temp_slots_from_address): Handle sum involving
7522 a register that points to a temp slot.
7523 (update_temp_slot_address): Make recursive call if both old and
7524 new are PLUS with a common operand.
7525 * calls.c (expand_call): Mark temp slot for result as having
7526 address taken.
7527
7528 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
7529
7530 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
7531 component as well as "BINUTILS".
7532
7533 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
7534 * integrate.c (copy_rtx_and_substitute): Likewise.
7535 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
7536 All callers changed.
7537 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
7538
7539 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
7540 gdb extensions, write size of type; also be more consistent
7541 in using references when this is a subtype.
7542
7543 * pa.md (extv, extzv, insv): Use define_expand to reject constant
7544 that is out of range.
7545
7546 * loop.c (unknown_constant_address_altered): New variable.
7547 (prescan_loop): Initialize it.
7548 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
7549 (invariant_p, case MEM): Remove handling for volatile and readonly;
7550 check new variable if readonly.
7551 (check_dbra_loop): Chdeck unknown_constant_address_altered.
7552
7553 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
7554 (addr_affects_sp_p): Removed from note_mem_written and only
7555 define #ifdef AUTO_INC_DEC.
7556
7557 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
7558
7559 * regclass.c (record_reg_classes): Properly handle register move
7560 directions.
7561
7562 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
7563 Don't think valid if both operands are invalid.
7564 (struct constant_descriptor): New field RTL.
7565 (mark_const_hash_entry): Mark it.
7566 (record_constant{,_rtx}): Initialize it.
7567 (output_constant_def): Allocate RTL in permanent obstack and
7568 save in table.
7569 ({record,compare}_constant_1): Modes must match for
7570 CONSTRUCTOR of ARRAY_TYPE.
7571
7572 * c-common.h (initializer_constant_valid_p): Delete decl from here.
7573 * output.h (initializer_constant_valid_p): Move decl to here.
7574 * c-common.c (initializer_constant_valid_p): Delete function from here.
7575 * varasm.c (initializer_constant_valid_p): Move function to here.
7576
7577 * tree.h (STRIP_SIGN_NOPS): New macro.
7578 * fold-const.c (optimize_minmax_comparison): New function.
7579 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
7580 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
7581 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
7582 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
7583 widening conversions.
7584 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
7585 to look at size of mode, not precision of type; also add missing cases.
7586 (optimize_bit_field_compare, decode_field_reference): Don't try to
7587 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
7588
7589 * dwarf2out.c (ctype.h): Include.
7590 (dwarf2out_set_demangle_name_func): New function.
7591 (size_of_line_info): Deleted.
7592 (output_line_info): Compute size of line info table from difference
7593 of labels.
7594 (base_type_die, add_name_attribute): Call demangle function, if any.
7595 (field_byte_offset): Use bits per word for variable length fields.
7596 (gen_array_type_die): Add array name.
7597 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
7598 (dwarf2out_add_library_unit_info): New function.
7599
7600 * explow.c (set_stack_check_libfunc): New function.
7601 (stack_check_libfunc): New static variable.
7602 (probe_stack_range): Allow front-end to set up a libfunc to call.
7603
7604 * combine.c (simplify_comparison): When making comparison in wider
7605 mode, check for having commuted an AND and a SUBREG.
7606 (contains_muldiv): New function.
7607 (try_combine): Call it when dividing a PARALLEL.
7608 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
7609 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
7610 a PLUS.
7611 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
7612 use one of the CLOBBERs instead.
7613 (if_then_else_cond): If comparing against zero, just return thing
7614 being compared.
7615
7616 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
7617 Don't generate shifts and subtract if have conditional arithmetic.
7618
7619 * rtl.h (delete_barrier): New declaration.
7620 * jump.c (jump_optimize): Set up to handle conditional call.
7621 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
7622 (delete_barrier): New function.
7623
7624 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
7625
7626 * recog.c (nonmemory_operand): Accept ADDRESSOF.
7627
7628 * tree.c (build_type_attribute_variant): Push to obstack of
7629 ttype around type_hash_canon call.
7630
7631 * expr.c (placeholder_list): Move decl to file scope.
7632 (expand_expr): Don't force access to volatile just because its
7633 address is taken.
7634 If ignoring reference operations, just expand the operands.
7635 (expand_expr, case COMPONENT_REF): Propagate
7636 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
7637 Refine test for using bitfield operations vs pointer punning.
7638 (expand_expr, case CONVERT_EXPR): If converting to
7639 BLKmode UNION_TYPE from BLKmode, just return inner object.
7640 Use proper mode in store_field call.
7641 Properly set sizes of object to store and total size in store_field
7642 call for convert to union.
7643 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
7644 memory (like for ADDR_EXPR). Also, don't put constant in register if
7645 we'll want it in memory.
7646 (readonly_fields_p): New function.
7647 (expand_expr, case INDIRECT_REF): Call it if LHS.
7648 (expand_assignment): Handle a RESULT_DECL where
7649 DECL_RTL is a PARALLEL.
7650 (do_jump, case WITH_RECORD_EXPR): New case.
7651 (get_inner_reference): Always go inside a CONVERT_EXPR
7652 and NOP_EXPR if both modes are the same.
7653 (store_field): Use bitfield operations if size of bitsize is not same
7654 as size of RHS's type.
7655 Check for bitpos not a multiple of alignment in BLKmode case.
7656 Do block move in largest possible alignment.
7657 (store_constructor): Set BITSIZE to -1 for variable size and properly
7658 in case of array of BLKmode.
7659 (expand_expr_unaligned): New function.
7660 (do_compare_and_jump): Call it.
7661
7662 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
7663 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
7664 does not include 'o'.
7665
7666 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
7667 both SET_DEST and SET_SRC reference a virtual register.
7668 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
7669
7670 * integrate.c (expand_inline_function): Handle case of setting
7671 virtual stack vars register (from built in setjmp); when parameter
7672 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
7673 (subst_constant): Add new parm, MEMONLY.
7674 (expand_inline_function, integrate_parm_decls): Pass new parm.
7675 (integrate_decl_tree): Likewise.
7676 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
7677 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
7678 (copy_rtx_and_substitute, case SET): Add explicit calls to
7679 copy_rtx_and_substitute for both sides.
7680
7681 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
7682 constraints.
7683 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
7684 within INDEX_TYPE, instead of before.
7685 (fixup_gotos): Use f->target_rtl, not the next insn,
7686 since latter may be from a later fixup.
7687 (expand_value_return): Correctly convert VAL when promoting function
7688 return; support RETURN_REG being a PARALLEL.
7689 (expand_return): When checking for result in regs and having
7690 cleanup, consider PARALLEL in DECL_RTL as being in regs.
7691
7692 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
7693
7694 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
7695 last_nominal_fname): Mark const.
7696 (struct include_hash: name, nshort, control_macro): Mark
7697 const.
7698 (struct macrodef: symnam): Mark const.
7699 (struct if_stack: fname): Mark const.
7700 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
7701 (IStable): New character-syntax array which encompasses all
7702 the old is_foo arrays.
7703 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
7704 is_space): New macros for interrogating IStable.
7705 (check_macro_name): Kill last argument. All callers changed.
7706
7707 * cppinit.c (initialize_char_syntax): Delete.
7708 (is_idchar, is_idstart, is_hor_space, is_space,
7709 trigraph_table): Delete.
7710 (IStable): New. Initialize with clever macros to avoid
7711 information duplication.
7712 (builtin_array): Table of builtins to get rid of explicit list
7713 in initialize_builtins.
7714 (initialize_builtins): Use builtins_array.
7715 (cpp_start_read): Call init_IStable, and set IStable['$'] if
7716 opts->dollars_in_ident.
7717
7718 * cppexp.c: Change all refs to is_xyz[] arrays to use new
7719 is_xyz() macros.
7720 (cpp_parse_expr): Avoid 'format string is not constant'
7721 warning. Use ISGRAPH to identify printable chars.
7722 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
7723 is_xyz() macros.
7724 (read_and_prescan): Map trigraphs to chars with open-coded
7725 if-else-if-... sequence, not a lookup table.
7726 * cpphash.c: Change all refs to is_xyz[] arrays to use new
7727 is_xyz() macros.
7728 * cpplib.c: Change all refs to is_xyz[] arrays to use new
7729 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
7730 (check_macro_name): Remove ability to report an invalid
7731 assertion name, which is never used.
7732 (do_line): Constify a couple of char *'s.
7733 * cppmain.c (main): Call cpp_cleanup before returning.
7734
7735 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
7736
7737 * ggc.h (struct ggc_statistics): New type.
7738 (ggc_get_size): New function.
7739 (ggc_print_statistics): Likewise.
7740 * ggc-common.c (ggc_stats): New variable.
7741 (ggc_mark_rtx_children): Keep statistics.
7742 (ggc_mark_tree_children): Likewise.
7743 (ggc_print_statistics): New function.
7744 * ggc-page.c (struct globals): Add bytes_mapped field.
7745 (alloc_anon): Update it.
7746 (release_pages): Likewise.
7747 (ggc_get_size): New function.
7748 (ggc_page_print_statistics): New function.
7749 * ggc-simple.c (ggc_get_size): New function.
7750
7751 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
7752
7753 * flow.c (propagate_block): When the last reference to a label
7754 before an ADDR_VEC is deleted because the reference is a dead
7755 store, delete the ADDR_VEC.
7756
7757 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
7758
7759 * resource.c (find_free_register): Don't use the frame pointer
7760 if frame_pointer_needed.
7761
7762 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
7763
7764 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
7765 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
7766
7767 * config/i960/i960.c (i960_va_start): New locals base, num.
7768 Use INDIRECT_REF instead of ARRAY_REF on valist.
7769 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
7770
7771 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
7772
7773 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
7774
7775 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
7776
7777 * tree.def (PLACEHOLDER_EXPR): Update comments.
7778
7779 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7780
7781 * c-common.c (check_format_info): Avoid non-literal format string
7782 warnings when `first_arg_num' is zero.
7783
7784 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7785
7786 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
7787
7788 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
7789
7790 * arm.md (casesi_insn): Add a clobber of the condition code
7791 register.
7792
7793 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
7794
7795 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
7796 used by both cc1 and cc1plus.
7797
7798 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
7799
7800 * config/arm/arm.c: Initialise arm_structure_size_boundary to
7801 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
7802 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
7803 to the value 32 if it has not already been defined.
7804 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
7805 Override definition in arm.h with a value of 8.
7806
7807 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
7808
7809 * c-pragma.c (push_alignment): Don't check the return value
7810 of xmalloc.
7811
7812 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
7813
7814 * sparc.h (ADJUST_COST): Fix thinko.
7815
7816 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
7817
7818 * cccp.c (rescan): Fixed obp pointer handling around call to
7819 check_expand subroutine.
7820
7821 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
7822
7823 * gcse.c (delete_null_pointer_checks): Only record non-null info
7824 for pseudos when examining stores.
7825
7826 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
7827 splitters for these patterns. Use "#" for output templates.
7828 (addsi3_carryin_shift): New pattern.
7829
7830 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
7831
7832 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
7833 of the function return register into a plain REG until
7834 after function inlining is done.
7835
7836 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
7837
7838 * jump.c (jump_optimize_1): If we did cross-jumping, and
7839 the data will matter, rebuild the CFG.
7840 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
7841 not optimizing. Don't run shorten_branches.
7842 * toplev.c (rest_of_compilation): Run shorten_branches after
7843 reg_to_stack.
7844
7845 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
7846
7847 * rtl.h (note_stores): Add additional paramter.
7848 * rtlanal.c (reg_set_p_1): Take additional paramter.
7849 (reg_set_last_1): Likewise.
7850 (reg_set_p): Adjust call to note_stores.
7851 (reg_set_last): Likewise.
7852 (note_stores): Pass data parameter to worker function.
7853 * alias.c (record_set): Take additional parameter.
7854 (init_alias_analysis): Pass it.
7855 * caller-save.c (mark_set_regs): Take additional parameter.
7856 (save_call_clobbered_regs): Pass NULL to note_stores.
7857 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
7858 parameter.
7859 (record_dead_and_set_regs_1): Likewise.
7860 (reg_dead_at_p_1): Likewise.
7861 (combine_instructions): Adjust calls to note_stores.
7862 (try_combine): Likewise.
7863 (record_dead_insn): Remove.
7864 (record_dead_and_set_regs): Adjust calls to note_stores.
7865 (reg_dead_at_p): Likewise.
7866 * cse.c (invalidate_skipped_set): Take additional parameter.
7867 (cse_check_loop_start): Likewise.
7868 (cse_check_loop_start_value): Remove.
7869 (cse_set_around_loop): Adjust calls to note_stores.
7870 * flow.c (notice_stack_pointer_modification): Take additional
7871 parameter. Remove duplicate declaration.
7872 (record_volatile_insns): Adjust calls to note_stores.
7873 * gcse.c (record_set_info): Take additional parameter.
7874 (record_last_set_info): Likewise.
7875 (invalidate_nonnull_info): Likewise.
7876 (record_set_insn): Remove.
7877 (compute_sets): Adjust calls to note_stores.
7878 (last_set_insn): Remove.
7879 (compute_hash_table): Adjust calls to note_stores.
7880 (insert_insn_end_bb): Likewise.
7881 (delete_null_pointer_checks): Likewise.
7882 * global.c (mark_reg_store): Take additional parameter.
7883 (mark_reg_clobber): Likewise.
7884 (reg_becomes_live): Likewise.
7885 (global_conflicts): Adjust calls to note_stores.
7886 (build_insn_chain): Likewise.
7887 * integrate.c (note_modified_parmregs): Take additional parameter.
7888 (mark_stores): Likewise. Make it static.
7889 (save_for_inline_nocopy): Adjust calls to note_stores.
7890 (try_constants): Likewise.
7891 * integrate.h (mark_stores): Remove declaration.
7892 * jump.c (mark_modified_reg): Take additional parameter.
7893 (thread_jumps): Adjust calls to note_stores.
7894 * local-alloc.c (validate_equiv_mem_from_store): Take additional
7895 parameter.
7896 (no_equiv): Likewise.
7897 (reg_is_set): Likewise.
7898 (validate_equiv_mem): Adjust calls to note_stores.
7899 (update_equiv_regs): Likewise.
7900 (block_alloc): Likewise.
7901 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
7902 (note_addr_stored): Take additional parameter.
7903 (note_set_pseudo_multiple_uses): Likewise.
7904 (record_initial): Likewise.
7905 (prescan_loop): Adjust calls to note_stores.
7906 (strength_reduce): Likewise.
7907 (check_dbra_loop): Likewise.
7908 * regmove.c (flags_set_1): Take additional paramter.
7909 (mark_flags_life_zones): Adjust calls to note_stores.
7910 * reload1.c (mark_not_eliminable): Take additional parameter.
7911 (forget_old_reloads_1): Likewise.
7912 (reload_cse_invalidate_rtx): Likewise.
7913 (reload_cse_check_clobber): Likewise.
7914 (reload_combine_note_store): Likewise.
7915 (move2add_note_store): Likewise.
7916 (reload): Adjust calls to note_stores.
7917 (reload_as_needed): Likewise.
7918 (emit_reload_insns): Likewise.
7919 (reload_cse_regs_1): Likewise.
7920 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
7921 (reload_combine): Adjust calls to note_stores.
7922 * resource.c (update_live_status): Take additional paramter.
7923 (mark_target_live_regs): Adjust calls to note_stores.
7924 * stupid.c (find_clobbered_regs): Take additional parameter.
7925 (stupid_life_analysis): Adjust calls to note_stores.
7926
7927 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
7928
7929 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
7930 definition.
7931
7932 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
7933 definition.
7934
7935 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
7936 of the variable arm_structure_size_boundary.
7937
7938 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
7939
7940 * alias.c (init_alias_analysis): Allocate reg_known_value and
7941 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
7942 and reg_seen.
7943 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
7944 * cse.c (cse_main): Call end_alias_analysis.
7945 * haifa-sched.c (schedule_insns): Likewise.
7946 * local-alloc. (update_equiv_regs): Likewise.
7947 * reload1.c (reload_cse_regs): Likewise.
7948
7949 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7950
7951 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
7952 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
7953 mapping from MASK_FPU.
7954
7955 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
7956
7957 * sparc.md (call): Don't bound structure return size to 0xfff.
7958
7959 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
7960
7961 * resource.c (mark_target_live_regs): Check that the target
7962 insn wasn't created after compute_bb_for_insn.
7963
7964 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
7965
7966 * ggc-page.c (poison_pages): Don't be overzealous.
7967
7968 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
7969
7970 * alias.c: Update comments for ADDRESS.
7971 (nonlocal_reference_p): Look inside the ADDRESS to determine if
7972 it is a local memory reference.
7973
7974 * c-typeck.c (build_function_call): Check that the built-in
7975 function is of class BUILT_IN_NORMAL before trying to recongize
7976 it as BUILT_IN_ABS.
7977 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
7978 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
7979
7980 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
7981
7982 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
7983 of alloca.
7984 (pre_gcse): Likewise.
7985 (hoist_expr_reaches_here_p): Likewise.
7986 (hoist_code): Likewise.
7987 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
7988 code to ...
7989 (pre_expr_reaches_here_p_work): ... here.
7990 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
7991 code to ...
7992 (expr_reaches_here_p_work): ... here.
7993
7994 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
7995
7996 * resource.c (find_basic_block): Delete.
7997 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
7998 (init_resource_info): Call compute_bb_for_insn.
7999
8000 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
8001
8002 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
8003 with already adjacent blocks, but no fallthru.
8004 (merge_blocks_move_successor_nojumps): Simplify.
8005 (debug_flow_info): New.
8006
8007 * toplev.c (rest_of_compilation): Open jump1 dump file before
8008 jump and close after, as opposed to just using dump_rtl.
8009
8010 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8011
8012 * reload.h (earlyclobber_operand_p): Declare.
8013 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
8014 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
8015 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
8016 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
8017
8018 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
8019 Richard Henderson <rth@cygnus.com>
8020
8021 * emit-rtl.c (emit_block_insn_before): New.
8022 (emit_block_insn_after): New.
8023 * basic-block.h: Declare them.
8024
8025 * bitmap.h: Protect from multiple inclusion.
8026
8027 * recog.c (scratch_operand): Handle VOIDmode correctly.
8028
8029 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
8030
8031 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
8032 * function.c (assign_parms): Likewise.
8033 * global.c (global_conflicts): Clarify STACK_REGS commentary.
8034
8035 * reg-stack.c (max_uid): Remove.
8036 (blocks, block_begin, block_end, block_drops_in): Remove.
8037 (block_stack_in, block_out_reg_set, block_number): Remove.
8038 (struct block_info_def, BLOCK_INFO): New.
8039 (enum emit_where): New.
8040 (current_block): New.
8041 (BLOCK_NUM): Remove.
8042 (mark_regs_pat, record_label_references): Remove.
8043 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
8044 (nan): New.
8045 (goto_block_pat, print_blocks, dump_stack_info): Remove.
8046 (reg_to_stack): Simplified test for existance of fp code. Use
8047 flow.c code. Call shorten_branches after cross-jump opt.
8048 (check_asm_stack_operands): Renamed from record_asm_reg_life.
8049 Return false if the asm doesn't use stack regs. Don't do life
8050 analysis on the asm.
8051 (emit_pop_insn): Replace function pointer arg `when' with
8052 enum `where'. Update all callers.
8053 (change_stack): Likewise. Update basic block end.
8054 (emit_swap_insn): Use current_block->head to limit reverse search
8055 for start of block. Use emit_block_insn_after.
8056 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
8057 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
8058 structure assignment instead of bcopy.
8059 (print_stack): New.
8060 (convert_regs_entry, convert_regs_exit): New.
8061 (convert_regs_1, convert_regs_2): Split out from convert_regs.
8062 Work on basic blocks and the CFG.
8063 (convert_regs): Use them.
8064
8065 * i386.c (output_fix_trunc): Remove code for DImode input operand
8066 not at top-of-stack.
8067 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
8068 appropriate mode.
8069 (fix_truncdi_1): Allow any mode scratch.
8070
8071 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
8072
8073 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
8074 * linux.h, netbsd.h, vms.h: Not here.
8075
8076 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
8077
8078 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
8079 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
8080 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
8081 CONDITIONAL_REGISTER_USEAGE): Use them.
8082 * config/mips/mips.c (mips_move_1word,mips_move_2words,
8083 gen_conditional_branch,override_options) : Use them.
8084 * config/mips/mips.md : Use them.
8085
8086 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
8087
8088 * i386.md (zero_extendqihi2): Use SImode register name with andl.
8089
8090 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
8091
8092 * integrate.c (function_cannot_inline_p): Don't allow inlining
8093 if setjmp is used.
8094
8095 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8096
8097 * c-parse.in (cast_expr): Constify.
8098
8099 * cccp.c (special_symbol): Likewise.
8100
8101 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
8102
8103 * dwarf2out.c (base_type_die): Likewise.
8104
8105 * global.c (allocno_compare): Likewise.
8106
8107 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
8108
8109 * regclass.c (fix_register): Likewise.
8110
8111 * rtl.h (fix_register): Likewise.
8112
8113 * stupid.c (stupid_reg_compare): Likewise.
8114
8115 * toplev.c (decode_f_option): Likewise.
8116
8117 * tree.c (build_complex_type): Likewise.
8118
8119 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
8120
8121 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
8122
8123 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8124
8125 * reload.c (find_reloads): Compute mode and nregs fields of all
8126 reloads.
8127 * reload1.c (calculate_needs_all_insns): Simplify a bit.
8128 (calculate_needs): Use precomputed mode/nregs values.
8129 (allocate_reload_reg): Likewise.
8130 Break out two...
8131 (failed_reload, set_reload_reg): ... new functions.
8132 (choose_reload_regs_init): New function, mostly broken out from...
8133 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
8134 Also lose one #if 0 block.
8135
8136 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
8137
8138 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
8139 substitution.
8140
8141 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
8142
8143 * tree.h (BLOCK_TYPE_TAGS): Remove.
8144 (BLOCK_END_NOTE): Likewise.
8145 (BLOCK_LIVE_RANGE_FLAG): Likewise.
8146 (BLOCK_LIVE_RANGE_START): Likewise.
8147 (BLOCK_LIVE_RANGE_END): Likewise.
8148 (tree_block): Remove live_range_flag, live_range_var_flag, and
8149 type_tags. Remove end_note, live_range_start, and live_range_end.
8150 (remember_end_note): Remove prototype.
8151 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
8152 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
8153 remember_end_note.
8154 * ggc-common.c (ggc_mark_tree_children): Don't mark
8155 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
8156 * integrate.c (adjust_copied_decl_tree): Remove.
8157 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
8158 * stmt.c (last_block_end_note): Remove.
8159 (init_stmt): Don't add a GC root for it.
8160 (expand_fixup): Don't set it.
8161 (remember_end_note): Remove.
8162 (expand_end_bindings): Don't set last_block_end_note.
8163
8164 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8165
8166 * reload1.c (reload_reg_free_for_value_p): Show
8167 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
8168 reloads.
8169
8170 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
8171
8172 * expmed.c (extract_bit_field): Allow for the case of non-integer
8173 objects that are smaller than a word (like SFmode on a 64-bit
8174 machine).
8175
8176 * loop.c (basic_induction_var): A non-integer variable which is
8177 being set by a paradoxical subreg is probably not a biv.
8178
8179 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8180
8181 * prefix.c (translate_name) Check for empty prefix string.
8182
8183 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
8184
8185 * Makefile.in (CPP_CROSS_NAME): New variable.
8186 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
8187 xcpp.
8188 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
8189 names of the files to be uninstalled.
8190
8191 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
8192
8193 * collect2.c (IS_DIR_SEPARATOR): Define.
8194 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
8195
8196 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
8197 functions too.
8198
8199 * haifa-sched.c (add_dependence): Update the true dependency
8200 cache the first time we add a true dependence to the LOG_LINKS chain.
8201
8202 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
8203
8204 * fold-const.c (fold): Fix comment.
8205
8206 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8207
8208 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
8209 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
8210 dbxout_start_new_source_file, dbxout_source_file,
8211 dbxout_source_line, dbxout_finish, dbxout_type_fields,
8212 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
8213 Constify a char*.
8214 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
8215 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
8216 (dbxout_block): Initialize variable `blocknum'.
8217
8218 * dbxout.h (dbxout_init, dbxout_finish,
8219 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
8220 dbxout_args, dbxout_source_line): Constify a char*.
8221
8222 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
8223 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
8224 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
8225 low_pc_attribute, high_pc_attribute, body_begin_attribute,
8226 body_end_attribute, comp_dir_attribute, sf_names_attribute,
8227 src_info_attribute, mac_info_attribute, producer_attribute,
8228 lookup_filename, generate_macinfo_entry, fundamental_type_code,
8229 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
8230 dwarfout_undef): Constify a char*.
8231 (add_incomplete_type, retry_incomplete_types): Add prototypes.
8232
8233 * dwarfout.h (dwarfout_define, dwarfout_undef,
8234 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
8235
8236 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
8237
8238 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
8239 (MULTILIB_ISA_DEFAULT): New.
8240 (MULTILIB_DEFAULTS): Use it.
8241 * config/mips/mips.c (): Remove the now unnecessary definition
8242 of MIPS_ISA_DEFAULT.
8243 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
8244 unnecessary definition.
8245
8246 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
8247
8248 * arm.md (pic_load_addr): Add constraints to operand 1.
8249
8250 1999-10-25 Bruce Korb <autogen@linuxbox.com>
8251
8252 * fixinc/genfixes: Provide a means for specifying -D options to
8253 AutoGen
8254
8255 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
8256
8257 * arm.c (arm_override_options): Correct initialization of
8258 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
8259 arm_is_strong, and arm_is_6_or_7.
8260
8261 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
8262 (note_set_pseudo_multiple_uses): New function.
8263 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
8264 if a pseudo set in the loop exit is used elsewhere.
8265
8266 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
8267
8268 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
8269
8270 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
8271
8272 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
8273 a single load-address pattern.
8274
8275 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
8276
8277 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
8278 depending on whether or not line-number notes are present.
8279
8280 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8281
8282 * cccp.c (progname, file_buf, default_include, include_file,
8283 macrodef, definition, hashval, wchar_type, user_label_prefix,
8284 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
8285 expand_to_temp_buffer, is_system_include, base_name,
8286 absolute_filename, read_name_map, open_include_file,
8287 record_control_macro, check_precompiled, check_preconditions,
8288 pcfinclude, pass_thru_directive, create_definition,
8289 check_macro_name, comp_def_part, collect_expansion,
8290 check_assertion, read_token_list, assertion_install,
8291 assertion_lookup, eval_if_expression, conditional_skip,
8292 validate_else, skip_quoted_string, quote_string, macarg1,
8293 error_from_errno, install, lookup, hashf, dump_defn_1,
8294 perror_with_name, pfatal_with_name, main, trigraph_pcp,
8295 check_white_space, rescan, handle_directive, monthnames,
8296 special_symbol, do_include, remap_include_file, write_output,
8297 arglist, do_assert, do_unassert, do_line, do_error, do_once,
8298 do_ident, do_sccs, do_xifdef, skip_if_group,
8299 output_line_directive, macroexpand, macarg, change_newlines,
8300 initialize_builtins, make_definition): Constify a char*.
8301
8302 * pcp.h (stringdef): Likewise.
8303
8304 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
8305
8306 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
8307 not of pattern.
8308
8309 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
8310 Richard Henderson <rth@cygnus.com>
8311
8312 * alias.c: Include ggc.h.
8313 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
8314 (record_set): Verify enough room in reg_base_value.
8315 (init_alias_analysis): Allocate reg_base_value with xcalloc.
8316 Register it as a GC root.
8317 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
8318 * Makefile.in (alias.o): Depend on ggc.h.
8319
8320 * unroll.c (unroll_loop): Verify the insn before a barrier
8321 is a JUMP_INSN before checking JUMP_LABEL.
8322
8323 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8324
8325 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
8326 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
8327 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
8328 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
8329 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
8330 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
8331
8332 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8333
8334 * output.h (ctors_section, dtors_section, bss_section): Prototype.
8335
8336 * alpha/alpha-interix.h (text_section): Delete prototype.
8337 * alpha/elf.h (text_section): Likewise.
8338 * arm/linux-elf.h (text_section): Likewise.
8339 * arm/linux-telf.h (text_section): Likewise.
8340 * c4x/c4x.h (text_section): Likewise.
8341 * dsp16xx/dsp16xx.h (bss_section): Likewise.
8342 * elfos.h (text_section): Likewise.
8343 * i386/aix386ng.h (text_section): Likewise.
8344 * i386/i386-interix.h (text_section): Likewise.
8345 * i386/sco5.h (text_section): Likewise.
8346 * i386/svr3gas.h (text_section): Likewise.
8347 * nextstep.h (text_section): Likewise.
8348 * psos.h (text_section): Likewise.
8349 * ptx4.h (text_section): Likewise.
8350 * svr3.h (text_section): Likewise.
8351 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
8352
8353 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8354
8355 * final.c (peephole): Delete prototype.
8356
8357 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
8358 (pre_insert_copies): Remove unused variable `bb'.
8359
8360 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
8361 prototypes.
8362
8363 * output.h (peephole): Add prototype.
8364
8365 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
8366
8367 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
8368 -O0.
8369
8370 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
8371
8372 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
8373 for inlined declarations.
8374
8375 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
8376
8377 * arm.c (logical_binary_operator): New fucntion.
8378 * arm.h (logical_binary_operator): Declare it.
8379 (PREDICATE_CODES): Handle logical_binary_operator.
8380 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
8381 output constraints. Add appropriate splitters.
8382 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
8383 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
8384 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
8385
8386 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8387
8388 * genoutput.c (struct operand_data): New elt eliminable.
8389 (output_operand_data): Write it.
8390 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
8391 (compare_operands): Take it into account.
8392 * recog.h (struct insn_operand_data): New elt eliminable.
8393 * reload1.c (check_eliminable_occurrences, elimination_effects): New
8394 functions.
8395 (old_asm_operands_vec, new_asm_operands_vec): Delete.
8396 (eliminate_regs): Move code that detects changes to elimination
8397 target regs into new function elimination_effects.
8398 Delete one #if 0 block.
8399 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
8400 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
8401 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
8402 Only call eliminate_regs for real operands of the insn, not for parts
8403 of its structure or parts matched by things like match_operator.
8404 Use elimination_effects and check_eliminable_occurrences. Use
8405 copy_insn to duplicate the pattern when not in the final pass.
8406
8407 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
8408
8409 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
8410 and fld.
8411
8412 1999-10-22 Bruce Korb <autogen@linuxbox.com>
8413
8414 * fixinc/README: document the "mach" machine matching test
8415 * fixinc/fixfixes.c: Implement the #else/#endif label fix
8416 * fixinc/fixtests.c: Implement the #else/#endif label test
8417 * fixinc/inclhack.def: utilize these tests and fixes
8418 * fixinc/inclhack.sh: regen
8419 * fixinc/fixincl.x: regen
8420 * fixinc/fixincl.sh: regen
8421
8422 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
8423
8424 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
8425 depend on ggc.h.
8426
8427 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
8428
8429 * gcc.1: Document exit codes.
8430
8431 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8432
8433 * calls.c: Include tm_p.h later, so everything we need is defined.
8434 * expr.c: Likewise.
8435 * function.c: Likewise.
8436
8437 * except.c: Include tm_p.h.
8438
8439 * sparc.c: Likewise.
8440 (dwarf2out_cfi_label): Don't prototype.
8441 (check_return_regs, epilogue_renumber,
8442 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
8443 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
8444 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
8445 ultra_schedule_insn): Add static prototype.
8446 (data_segment_operand, text_segment_operand): Call itself with the
8447 proper number of arguments.
8448 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
8449
8450 * sparc.h: Move all declarations to sparc-protos.h.
8451 (SELECT_RTX_SECTION): Pass a missing MODE argument to
8452 symbolic_operand.
8453
8454 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
8455
8456 * config/svr4.h (text_section, ctors_section, dtors_section): Add
8457 Prototypes.
8458 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
8459 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
8460 ASM_OUTPUT_ASCII): Constify a char*.
8461
8462 * sparc-protos.h: New file for sparc prototypes.
8463
8464 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8465
8466 * function.c (record_insns, contains): Always declare and define.
8467 (record_insns): Mark with ATTRIBUTE_UNUSED.
8468
8469 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
8470
8471 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
8472 to .section when outputting a .bss section to deal with multiple
8473 .bss input sections (as happens with -fdata-sections)
8474 Also output %progbits, not @progbits so the assembler doesn't treat as
8475 a comment.
8476 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
8477
8478 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
8479 thumb parts even when building with non-thumb CPUs, by forcing
8480 thumb mode.
8481
8482 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
8483
8484 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
8485 (movdf_const_intreg_sp64): Similarly.
8486
8487 * local-alloc.c (update_equiv_regs): Check the correct insn
8488 for pre-existing REG_EQUIV notes.
8489
8490 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
8491
8492 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
8493 block reached by a branch if we're not going to actually process
8494 this block.
8495
8496 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
8497
8498 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
8499 a local extern function declaration.
8500
8501 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
8502
8503 * i386.c (ix86_expand_prologue): Properly wrap USE around
8504 reg for CALL_INSN_FUNCTION_USAGE.
8505
8506 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
8507
8508 * config/mips/mips.md (movdf_internal1a): Allow floating-point
8509 move between GP_REGs.
8510
8511 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
8512
8513 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
8514 the mode size when finding out if an offset is legal.
8515
8516 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
8517
8518 * basic-block.h (PROP_*): Move constants from ...
8519 * flow.c: ... here.
8520 (compute_bb_for_insn): Free the array before reallocating.
8521 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
8522 (allocate_reg_life_data): Reset all reg variables collected by
8523 propagate_block.
8524 (get_block_head_tail): Don't convert from bb to block.
8525 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
8526 (find_insn_reg_weight): Take block not bb.
8527 (schedule_block): Don't set block num for moved insns.
8528 (schedule_region): Don't update_life_info or find_insn_reg_weight.
8529 (schedule_insns): Do it here instead.
8530 * combine.c (combine_instructions): Invoke compute_bb_for_insn
8531 before update_life_info.
8532 * recog.c (split_all_insns, peephole2_optimize): Update for
8533 new arg to update_life_info.
8534 * rtlanal.c (remove_note): Cope with NULL note.
8535 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
8536 if we did sched1.
8537
8538 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
8539
8540 * jump.c (jump_optimize_1): More accurately detect casesi insns.
8541
8542 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
8543 block records so that merge_blocks_nomove will clean up correctly.
8544 (split_edge): Handle casesi insns.
8545
8546 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
8547
8548 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
8549
8550 * pa.md (call, call_value): Do not emit a blockage after restoring
8551 the PIC register.
8552
8553 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
8554
8555 * c-typeck.c (c_expand_asm_operands): Fix typo.
8556
8557 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8558
8559 * arm.c (fpu_rhs_operand): Verify modes.
8560 (fpu_add_operand): Likewise.
8561 (di_operand): Likewise.
8562 (soft_df_operand): Likewise.
8563
8564 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
8565
8566 * arm.c (arm_return_in_memory): APCS rules state that the elements
8567 of a structure returned in a register must be 'integer-like'.
8568
8569 1999-10-19 Bruce Korb <autogen@linuxbox.com>
8570
8571 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
8572 in the source tree when the generated targets are out of date
8573 * fixinc/genfixes: Alter it to run individual fixes for make.
8574 * fixinc/README: rewrite
8575 * fixinc/inclhack.def: moved initial comments to README
8576
8577 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
8578
8579 * toplev.c (main): Do not generate an error message if an
8580 unrecognised command line switch is recognisable by another
8581 language. If extra_warnings are enabled, then generate a
8582 warning message instead.
8583
8584 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
8585
8586 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
8587 (insert_pack_attributes): Delete prototype.
8588
8589 * c-pragma.c (default_alignment): New static variable.
8590 (push_alignment): Initialize to current effective alignment.
8591 (pop_alignment): Use to set new alignment.
8592 (insert_pack_attributes): Delete function.
8593 (handle_pragma_token): Set default_alignment as well each time
8594 a #pragma pack(<n>) is encountered.
8595
8596 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
8597
8598 * reg-stack.c (stack_result): Aggregates are not returned in
8599 stack registers.
8600
8601 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
8602
8603 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
8604
8605 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
8606
8607 * basic-block.h (set_block_num): Declare.
8608 * flow.c (update_life_info): Don't call compute_bb_for_insn
8609 or free_basic_block_vars.
8610 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
8611 (insn_orig_block): Remove.
8612 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
8613 (schedule_block): Keep BLOCK_NUM up-to-date.
8614 (schedule_insns): Use compute_bb_for_insn.
8615 * recog.c (split_all_insns): Likewise.
8616 (peephole2_optimize): Likewise.
8617
8618 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
8619
8620 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
8621 if the pic register is used.
8622
8623 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8624
8625 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
8626 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
8627 if that tests TREE_PERMANENT.
8628
8629 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
8630
8631 * cse.c (invalidate_for_call): Do not remove memory references from
8632 the table here. It's handled elsewhere.
8633
8634 * haifa-sched.c (add_dependence): Protect references to the
8635 true dependency cache with #ifdef INSN_SCHEDULING.
8636 (remove_dependence): Similarly.
8637
8638 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
8639 to the cfg code that this is a return instruction.
8640 * mn10300.md (return_internal): Similarly.
8641
8642 * combine.c (get_last_value): If the last set of a register
8643 is after subst_low_cuid, then we can not use it to determine
8644 the register's last value.
8645
8646 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
8647
8648 * Makefile.in: Back out previous change.
8649
8650 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
8651
8652 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
8653
8654 * haifa-sched.c (add_dependence): Only check/update the cache
8655 if it exists.
8656 (remove_dependence): Likewise.
8657 (schedule_insns): Only create the true_dependency_cache if the
8658 average number of instructions in a basic block is very large.
8659
8660 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
8661
8662 * Makefile.in (ggc-common.o): Depend on genrtl.h.
8663 (ggc-simple.o): Likewise.
8664 (ggc-page.o): Likewise.
8665
8666 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
8667
8668 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
8669 Prototype for exported functions.
8670 (pre_lcm, pre_rev_lcm): Remove prototypes.
8671 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
8672 (compute_available): Move to lcm.c, and change parameter order.
8673 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
8674 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
8675 (gcse_main): No longer call compute_preds_succs. Rebuild the
8676 set table after reach pre pass.
8677 (pre_insert_map, pre_delete_map, edge_list): New.
8678 (alloc_pre_mem): Allocate edge vectors.
8679 (free_pre_mem): Delete edge vectors.
8680 (compute_pre_data): Call new edge based lcm routines.
8681 (process_insert_insn): New function.
8682 (insert_insn_end_bb): Use it.
8683 (pre_edge_insert): New function.
8684 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
8685 needed.
8686 (pre_insert_copies): Revamp using new edge based lcm outputs.
8687 (pre_delete): Likewise.
8688 (one_pre_gcse_pass): Insert & remove fake edges to the exit
8689 block.
8690 (compute_code_hoist_vbeinout): New new edge based routines.
8691 * lcm.c: Remove all the old LCM functions. Replace with new ones
8692 that work with the new cfg datastructures and work with edges
8693 instead of blocks.
8694
8695 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8696
8697 * reload.h (struct reload): Add new fields "mode" and "nregs".
8698 * reload1.c: Change all occurrences of reload_mode and reload_nregs
8699 to reference the "mode" and "nregs" field within struct reload.
8700
8701 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
8702
8703 * haifa-sched.c (true_dependency_cache): New.
8704 (add_dependence): Use the true dependency cache to avoid expensive
8705 walks down the LOG_LINKS dependency list. Add entries to the
8706 cache as necessary.
8707 (remove_dependence): Remove entries from the true dependency cache
8708 as needed.
8709 (schedule_insns): Allocate and initialize and free the true
8710 dependency cache.
8711
8712 * haifa-sched.c (schedule_insns): Do not remove inter-block
8713 dependencies anymore.
8714
8715 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
8716
8717 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
8718 * i386/t-winnt: Likewise.
8719
8720 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
8721
8722 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
8723
8724 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
8725
8726 * Makefile.in (LANGUAGES): Omit "proto".
8727 (clean): Remove stale comment about removing unprotoize.c.
8728
8729 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8730
8731 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
8732 using arithmetic on void pointers.
8733
8734 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
8735
8736 * haifa-sched.c (compute_block_forward_dependencies): Only check
8737 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
8738
8739 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
8740
8741 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
8742 (expr_equiv_p): Reject memories with different alias sets.
8743
8744 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
8745
8746 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
8747 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
8748 (f_options): Add "bounded-pointers" and "bounds-check" entries.
8749 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
8750 (lang_init): Set default for flag_bounds_check if still "unspecified".
8751
8752 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8753
8754 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
8755
8756 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8757
8758 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
8759 instructions.
8760
8761 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8762
8763 * config/c4x/c4x.md (*db_noclobber,
8764 *decrement_and_branch_until_zero_noclobber): New patterns and
8765 associated splitters.
8766
8767 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8768
8769 * config/c4x/c4x.md (parallel instruction patterns): Rework
8770 constraints to keep reload happy.
8771
8772 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8773
8774 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
8775 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
8776 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
8777 Add new patterns and associated post-reload splitters.
8778
8779 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8780
8781 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
8782
8783 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8784
8785 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
8786 if appropriate.
8787 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
8788
8789 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8790
8791 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
8792 memory mode.
8793
8794 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
8795
8796 * pa.c (move_operand): Rely on memory_address_p to determine the
8797 validity of non-indexed memory addresses.
8798 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
8799 operand in DFmode and SFmode when generating PA2.0 code.
8800
8801 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
8802
8803 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
8804
8805 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
8806
8807 * mips.c (function_prologue): Fix argument types.
8808 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
8809 (casesi_internal): Write to the scratch register.
8810
8811 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
8812
8813 * cppexp.c (cpp_parse_escape): Make static. Change second arg
8814 to U_CHAR **.
8815 (parse_charconst): Delete unnecessary cast when calling
8816 cpp_parse_escape.
8817 (cpplib.h): Kill prototype of cpp_parse_escape.
8818
8819 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
8820
8821 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
8822 * unroll.c (unroll_loop): Cast return value of alloca.
8823 * i370/i370.c: Include function.h and toplev.h.
8824 (i370_label_scan): Remove c++ commented abort.
8825 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
8826 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
8827 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
8828 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
8829
8830 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
8831
8832 * config/t-freebsd: Do not override USER_H.
8833 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
8834
8835 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
8836 Mumit Khan <khan@xraylith.wisc.edu>
8837
8838 * c-parse.in (component_decl): Support anonymous struct/union.
8839 (%expect): Update.
8840 * c-parse.y: Regenerate.
8841 * c-parse.c: Likewise.
8842 * objc/objc-parse.y: Likewise.
8843 * objc/objc-parse.c: Likewise.
8844 * c-decl.c (finish_struct): Don't sort the fields.
8845 (field_decl_cmp): Delete unused function.
8846
8847 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
8848
8849 * sparc.md (movsf_const_intreg): Revert last constraint change.
8850 (movdf_const_intreg_sp32): Likewise.
8851
8852 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
8853
8854 * cse.c: Include hashtab.h instead of splay-tree.h
8855 (struct cse_reg_info): No longer use variant union. Add new
8856 field "regno". All references changed to avoid union.
8857 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
8858 (free_cse_reg_info): Remove.
8859 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
8860 (get_cse_reg_info): Revamp to use expandable hash tables instead
8861 of splay trees. Initialize new fields in cse_reg_info structure.
8862 (new_basic_block): Similarly.
8863
8864 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
8865
8866 * genrecog.c (message_with_line): Prototype.
8867 (validate_pattern): Pass along the set for the dest, not a flag.
8868 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
8869 Check for PC/CC0 as sources.
8870 (nodes_identical): Check for children position match before
8871 allowing the combination.
8872
8873 * rtl.c (read_rtx): Track line number across \\\n.
8874
8875 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
8876
8877 * mips.h (SPECIAL_MODE_PREDICATES): New.
8878 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
8879 (movdi+1, movsi+1): Add output reload constraint.
8880 (casesi_internal): Likewise. Fix commentary.
8881 (return_internal): Use pmode_register_operand.
8882
8883 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
8884
8885 * 1750a.md (movstrqi): Add missing output reload constraint.
8886 (call_value): Likewise.
8887 * a29k.md (cpxxx patterns): Add missing match_operator mode.
8888 (jmpfdec): Add missing inout reload constraint.
8889 * elxsi.md (addsi patterns): Add missing output reload constraint.
8890 (move from sp): Use @ alternates.
8891 (call_value): No constraint on output.
8892 * fr30.md (movsi_pop): Add missing output reload constraint.
8893 (movsf_constant_store): Likewise.
8894 (splits): Remove constraints.
8895 (subsi3): Add missing mode.
8896 * i370.md (cmpstrsi+1): Add missing output reload constraint.
8897 (call_value): Likewise.
8898 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
8899 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
8900 * m32r.md (movsicc_internal): Add output reload constraint.
8901 (movstrsi_internal): Add inout reload constraints.
8902 * m88k.h (reg_names): Don't declare.
8903 (SPECIAL_MODE_PREDICATES): New.
8904 * m88k.md (*): Use register_operand not reg_or_0_operand
8905 on destinations.
8906 * mn10200.h (PREDICATE_CODES): New.
8907 * ns32k.md (ffs pattern): Add output reload constraint.
8908 * pdp11.md (sob pattern): Add inout reload constraint.
8909 * sh.md (splits): Remove constraints.
8910 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
8911 * v850.md (pattern_is_ok_for_epilogue): Likewise.
8912 * vax.md (jgequ pattern): Add inout reload constraint.
8913
8914 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
8915
8916 * configure.in (djgpp): Revert previous patch.
8917 * configure: Rebuit.
8918 * config/i386/djgpp.h: Revert previous patch.
8919
8920 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
8921
8922 * fixinc/inclhack.def: Restore patch lost during last merge of
8923 "no_bogosity" branch.
8924 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
8925
8926 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
8927
8928 * fixincludes: Add a HPUX 11 fix for inttypes.h.
8929 * fixinc/inclhack.def: Same.
8930 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
8931
8932 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
8933
8934 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
8935 as the base of a PLUS.
8936
8937 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8938
8939 * config/c4x/c4x.md: Define mode for remaining unspec operators.
8940 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
8941
8942 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
8943
8944 * pa.md (post_stw+1): Use pmode_register_operand.
8945 (dcacheflush, icacheflush): Likewise.
8946
8947 * i386.md (movstricthi_1): Allow r/r.
8948
8949 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
8950
8951 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
8952 to (not (and (arg0) (arg1))). Similary for and.
8953
8954 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
8955 fallthrough to associate code.
8956 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
8957 bits in common.
8958
8959 * combine.c (simplify_logical): Convert XOR to IOR if operands have
8960 no bits in common; remove XOR to ROTATE conversion.
8961
8962 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8963
8964 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
8965
8966 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8967
8968 * config/c4x/c4x.c (dst_operand): New.
8969 (PREDICATE_CODES): Update.
8970 * config/c4x/c4x.h (dst_operand): Declare it.
8971 * config/c4x/c4x.md: Define mode for each unspec usage.
8972 (move patterns): Use dst_operand predicate instead of src_operand.
8973 (movqi_update, movqf_update): Delete.
8974
8975 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
8976
8977 * recog.c (pmode_register_operand): New.
8978 * recog.h: Declare it.
8979 * genrecog.c (pred_codes): Likewise.
8980 (special_mode_pred_table): Likewise.
8981 (validate_pattern): Don't warn no mode for address_operand.
8982
8983 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
8984 if the operand is not insn-like.
8985
8986 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
8987 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
8988
8989 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
8990
8991 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
8992
8993 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
8994 instead of general_operand in a SET_DEST. Use const_double_operand
8995 instead of an explicit test against CONST_DOUBLE.
8996 (movsf_const_lo): Add missing register mode.
8997 (goto_handler_and_restore): Add auxiliary test for Pmode.
8998 (flush): Adjust to use address_operand.
8999 (return_sf_no_fpu): Add missing output constraint.
9000
9001 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
9002
9003 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
9004 for call return value.
9005 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
9006
9007 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
9008
9009 * toplev.c (main): Only warn about options for other languages.
9010 * collect2.c (main): Pass -w to sub-gcc.
9011
9012 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
9013
9014 * flow.c (propagate_block): Add call-clobbered registers to
9015 significant too.
9016
9017 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
9018 zapping mem_set_list.
9019 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
9020 (mark_set_1, mark_used_regs): Likewise.
9021
9022 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
9023
9024 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
9025
9026 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
9027
9028 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
9029 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
9030 options. Also add a new item "C-only Warning Options" to the
9031 option summary.
9032
9033 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
9034
9035 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
9036 from multiple calls.
9037
9038 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
9039
9040 * i386.md (call value patterns): Move to the end of the file.
9041 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
9042
9043 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
9044
9045 * configure.in (djgpp configuration): Define extra_objects..
9046 * configure: Rebuilt.
9047 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
9048 (DTORS_SECTION_ASM_OP): Define.
9049 (INIT_SECTION_ASM_OP): Define.
9050 (FINI_SECTION_ASM_OP): Define.
9051 (DATA_SECTION_ASM_OP): Define.
9052 (TEXT_SECTION_ASM_OP): Define.
9053 (EH_FRAME_SECTION_ASM_OP): Define.
9054 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
9055 (STARTFILE_SPEC): Add crtbegin.o.
9056 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
9057 to here from LINK_COMMAND_SPEC.
9058 (DO_GLOBAL_CTORS_BODY): Define.
9059 (CRTSTUFF_USE_FINI_SECTION): Define
9060 (HAS_INIT_SECTION): Delete.
9061
9062 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
9063
9064 * Makefile.in (all.cross): Depend on xcpp$(exeext).
9065
9066 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
9067
9068 * pa.h (PREDICATE_CODES): New.
9069
9070 * genrecog.c (validate_pattern): Condense the destination
9071 non-lvalue message.
9072
9073 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
9074
9075 * alpha.md (call-1): Supply missing mode for operator.
9076 (*): Add missing output reload constraints. Remove constraints
9077 from define_splits.
9078
9079 * i386.h (SPECIAL_MODE_PREDICATES): New.
9080 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
9081 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
9082 (addsi_lea_3): Add missing mode for op 3.
9083 (prologue_set_got, prologue_get_pc): Add missing modes.
9084 (*) Add missing output reload constraints.
9085
9086 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
9087
9088 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
9089 check for member bit-size overflow and use var_size if it occurs.
9090 (layout_record): Use bitsize_int() to define the type size in bits.
9091 Likewise for computation and assignment to DECL_FIELD_BITPOS.
9092 (layout_decl): Likewise when assigning to DECL_SIZE.
9093
9094 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
9095
9096 * genrecog.c (validate_pattern): Typo last change. Verify
9097 that output operands have output reloads.
9098
9099 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
9100
9101 * genrecog.c (special_mode_pred_table): New.
9102 (NUM_SPECIAL_MODE_PREDS): New.
9103 (find_operand): New.
9104 (validate_pattern): New argument `insn'. Warn for assignment to
9105 any predicate accepting non-lvalues. Conditionaly warn for
9106 match_operand without a mode. Try much harder to match source
9107 and destination modes on a set.
9108 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
9109
9110 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
9111
9112 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
9113
9114 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
9115
9116 * combine.c (simplify_logical): Recognize xor pattern that encodes
9117 rotation.
9118
9119 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9120
9121 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
9122 alignment.
9123
9124 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
9125
9126 * ggc-page.c (MAP_FAILED): Provide default.
9127
9128 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
9129
9130 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
9131 * sparc.h (PREDICATE_CODES): Update.
9132
9133 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
9134
9135 * alpha.c (some_ni_operand): New.
9136 * alpha-protos.h: Declare it.
9137 * alpha.h (PREDICATE_CODES): Update.
9138 * alpha.md (sXaddq reload insns): Use some_ni_operand
9139 for SET_DEST instead of some_operand.
9140
9141 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
9142 Jim Wilson <wilson@cygnus.com>
9143
9144 * genrecog.c (maybe_both_true_2): Don't compare modes of
9145 two DT_pred tests.
9146 (process_tree): Elide peephole2_insns. Invoke simplify_tests
9147 after find_afterward.
9148 (debug_decision_1): Dump next and afterward codes.
9149
9150 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
9151
9152 * rtl.c (dump_and_abort): Remove.
9153 (fatal_with_file_and_line): New.
9154 (fatal_expected_char): New.
9155 (read_rtx_lineno, read_rtx_filename): New.
9156 (read_skip_spaces): Track line number.
9157 (read_name): Use fatal_with_file_and_line.
9158 (read_rtx): Use fatal_expected_char. Track line number.
9159 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
9160
9161 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
9162 if it isn't a CODE_LABEL.
9163
9164 * genattr.c (main): Set read_rtx_filename.
9165 * genattrtab.c (main): Likewise.
9166 * gencodes.c (main): Likewise.
9167 * genconfig.c (main): Likewise.
9168 * genemit.c (main): Likewise.
9169 * genextract.c (main): Likewise.
9170 * genflags.c (main): Likewise.
9171 * genopinit.c (main): Likewise.
9172 * genoutput.c (main): Likewise.
9173 * genpeep.c (main): Likewise.
9174
9175 * genrecog.c (decision_test.u.insn): Add `lineno'.
9176 (pattern_lineno, error_count): New variables.
9177 (message_with_line): New.
9178 (add_to_sequence): Break out checking code to ...
9179 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
9180 (merge_insn): Use message_with_line.
9181 (make_insn_sequence): Use validate_pattern. Record insn lineno.
9182 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
9183
9184 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9185
9186 * expr.c (store_constructor): Clear union if constructor is empty.
9187
9188 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
9189
9190 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
9191 Add !endian checks. Change %{...} to %(...).
9192
9193 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
9194
9195 * i386.md (*addsi3_cc): Renamed from addcsi3.
9196 (*addsi3_carry): Renamed from addxsi3.
9197 (*subsi3_cc): Renamed from subcsi3.
9198 (*subsi3_carry): Renamed from subxsi3.
9199 (*xorqi_cc_1): Renamed from xorcqi_1.
9200 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
9201 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
9202
9203 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
9204
9205 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
9206 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
9207
9208 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
9209
9210 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
9211 climb up the chain of insns.
9212
9213 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
9214
9215 * genrecog.c (write_subroutine): Careful for null trees.
9216 (process_tree): Don't elide empty functions.
9217
9218 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
9219
9220 * Makefile.in (genrtl.o): Depend on ggc.h.
9221 * configure.in (valloc): Probe for it.
9222 (with-gc): Use ggc-page if valloc present.
9223 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
9224 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
9225 (ggc_alloc_string): Moved from ggc-page.c.
9226 * ggc-none.c (ggc_alloc_obj): New.
9227 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
9228 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
9229 (struct globals): Likewise for dev_zero_fd.
9230 (init_ggc): Likewise for it's initialization.
9231 (ggc_allocated_p): Move careful dereference from ...
9232 (ggc_lookup_page_table): ... here. Delete.
9233 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
9234 (alloc_anon): Use valloc if no mmap.
9235 (release_pages): Use free if using valloc.
9236 (ggc_alloc_obj): Renamed from alloc_obj.
9237 (ggc_set_mark): Renamed from mark_obj.
9238 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
9239 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
9240 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
9241 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
9242 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
9243 (ggc_collect): Use fp printing instead of our own rounding.
9244 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
9245 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
9246 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
9247 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
9248 (struct ggc_string, struct ggc_any): Delete.
9249 (offsetof): Provide default definition.
9250 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
9251 (PTR_KEY): New.
9252 (struct ggc_mem): New, from corpse of ggc_any.
9253 (struct ggc_status): Delete.
9254 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
9255 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
9256 (n_strings_collected, n_anys_collected): Delete.
9257 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
9258 (ggc_alloc_string, ggc_alloc): Delete.
9259 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
9260 (ggc_free_string, ggc_free_any): Delete.
9261 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
9262 (ggc_compare_addresses, ggc_mark_string): Delete.
9263 (ggc_mark_string_if_gcable, ggc_mark): Delete.
9264 (search_data): Delete.
9265 (struct globals): New.
9266 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
9267 (tree_insert, tree_lookup): New.
9268 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
9269 (clear_marks, sweep_objs): New.
9270 (ggc_collect): Gut. Use clear_marks, sweep_objs.
9271 (init_ggc): Set allocated_last_gc.
9272 (ggc_push_context): Gut. Use G.context.
9273 (ggc_pop_context): Likewise.
9274 (ggc_pop_context_1): New.
9275 (debug_ggc_tree): New.
9276 (debug_ggc_balance, tally_leaves): New.
9277 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
9278 (ggc_mark_string_if_gcable): Remove decl.
9279 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
9280 (ggc_mark_rtvec_children): New.
9281 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
9282 (ggc_mark_if_gcable): New decl.
9283 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
9284 (ggc_alloc_tree, ggc_alloc): Likewise.
9285 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
9286 (ggc_alloc_obj): New decl.
9287 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
9288 (ggc_alloc_tree, ggc_alloc): Likewise.
9289 (ggc_set_mark): New decl.
9290 * rtl.h (struct rtx_def): Remove gc_mark.
9291 (struct rtvec_def): Likewise.
9292 * tree.h (struct tree_common): Likewise.
9293
9294 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
9295
9296 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
9297 float_format and thread_file definitions.
9298 * configure: Rebuilt.
9299
9300 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
9301
9302 * extend.texi (Function Names): Document types of function names.
9303
9304 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9305
9306 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
9307 an earlyclobbered output conflict with RELOAD_INPUT reloads.
9308
9309 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9310
9311 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
9312
9313 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9314
9315 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
9316
9317 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
9318
9319 * collect2.c (main): Do prelimnary link on AIX if rflag.
9320
9321 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
9322
9323 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
9324 __CTOR_LIST__ in opposite order, which is the correct order for sorted
9325 constructors.
9326 (__do_global_dtors): similarly for __DTOR_LIST__.
9327
9328 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9329 Diego Novillo <dnovillo@cygnus.com>
9330
9331 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
9332 FPUL_REGS.
9333
9334 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
9335
9336 * fixincl/*: Merged "no_bogosity" branch
9337 * fixincl/fixlib.h: protect against doubly defining t_bool
9338 * fixincl/server.h: protect against doubly defining t_bool
9339
9340 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
9341
9342 * genoutput.c: Include toplev.h.
9343
9344 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
9345
9346 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
9347 Undef.
9348 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
9349 * configure: Regenerate.
9350
9351 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
9352
9353 * gcse.c (delete_null_pointer_checks): Returns void.
9354
9355 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9356
9357 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
9358 * emit-rtl.c (copy_insn_1): Likewise.
9359
9360 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
9361
9362 * config/mips/mips.c (mips_build_va_list): Correct
9363 TREE_CHAIN setting when hard-float.
9364 (mips_va_start): Use corrected setting.
9365 (mips_va_arg): Likewise. Also pass a tree to build of
9366 POSTINCREMENT_EXPR rather than a naked 'int'.
9367
9368 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
9369
9370 * ggc.h (ggc_push_context): Fix comment.
9371 (ggc_pop_context): Likewise.
9372 (mark_string_if_gcable): Likewise.
9373 * ggc-common.c (ggc_mark_rtx_children): Use
9374 ggc_mark_string_if_gcable.
9375 * ggc-page.c (ggc_lookup_page_table): New function.
9376 (ggc_allocated_p): Likewise.
9377 (mark_obj): Fix formatting.
9378 (ggc_mark_string_if_gcable): New function.
9379 * ggc-simple.c (ggc_allocated_strings): New variable.
9380 (ggc_strings_used): Likewise.
9381 (ggc_compare_addresses): New function.
9382 (ggc_pop_context): Pop the `any' memory too.
9383 (ggc_mark_string_if_gcable): New function.
9384 (ggc_collect): Initialize and tear down ggc_allocated_strings.
9385
9386 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
9387
9388 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
9389 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
9390 * rs6000.c (expand_block_move): Match movstrsi_?reg register
9391 changes.
9392
9393 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
9394
9395 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
9396 (sched_reg_live_length, sched_reg_basic_block): Delete.
9397 (current_block_num, bb_live_regs, old_live_regs): Delete.
9398 (dead_notes, struct sometimes): Delete.
9399 (sched_note_set, birthing_insn_p): Delete.
9400 (adjust_priority): Gut useless reg lifetime code.
9401 (create_reg_dead_note, attach_deaths): Delete.
9402 (attach_deaths_insn, new_sometimes_live): Delete.
9403 (finish_sometimes_live): Delete.
9404 (find_pre_sched_live, find_post_sched_live): Delete.
9405 (update_reg_usage): Delete.
9406 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
9407 (schedule_insns): Delete reg lifetime code.
9408 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
9409 (unlink_other_notes): Adjust REG_NOTE commentary.
9410 (reemit_notes): Use REG_SAVE_NOTE.
9411 (schedule_block): Likewise.
9412 (schedule_region): Allocate bitmap of blocks in region. Use
9413 count_or_remove_death_notes. Use update_life_info.
9414
9415 * rtl.h (REG_SAVE_NOTE): New.
9416 * rtl.c (reg_note_name): Update.
9417
9418 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
9419
9420 * combine.c (refresh_blocks, need_refresh): New.
9421 (combine_instructions): Allocate refresh_blocks. Invoke
9422 update_life_info if needed.
9423 (distribute_notes): Mark refresh_blocks instead of installing
9424 USE insns.
9425 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
9426 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
9427
9428 * Makefile.in (recog.o): Depend on basic-block.h.
9429
9430 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
9431
9432 * genrecog.c (add_to_sequence): Thinko last change: delete
9433 shadowing allow_const_int variable.
9434
9435 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9436
9437 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
9438 __GNUC__ and __GNUC_MINOR__.
9439
9440 * gansidecl.h: Likewise.
9441
9442 * rtl.c: Likewise.
9443
9444 * rtl.h: Likewise.
9445
9446 * toplev.h: Likewise.
9447
9448 * tree.c: Likewise.
9449
9450 * tree.h: Likewise.
9451
9452 * varray.c: Likewise.
9453
9454 * varray.h: Likewise.
9455
9456 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9457
9458 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
9459 use one before a jump table.
9460
9461 * rtl.def (ADDRESS): Change documentation to match reality.
9462 * md.texi: Don't document it.
9463 * gmicro.md (load address pattern): Use 'p' constraint, delete use
9464 of ADDRESS rtx.
9465
9466 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
9467
9468 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
9469
9470 * genrecog.c (add_to_sequence): Move allow_const_int test outside
9471 known predicate block; default allow_const_int true.
9472 (debug_decision_list): New.
9473
9474 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
9475
9476 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
9477
9478 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
9479
9480 * gcse.c (gcse_main): Avoid global optimizations if we have a
9481 large number of basic blocks and the ratio of edges to blocks
9482 is high.
9483 (delete_null_pointer_checks): Likewise.
9484
9485 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
9486
9487 * c-common.c (check_format_info): Warn if format string isn't a
9488 string literal.
9489
9490 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
9491
9492 * configure.in (arm*-*-*): Don't let autoconf remove brackets
9493 * configure: regenerate
9494
9495 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
9496
9497 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
9498 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
9499 (peepholes): Re-enable.
9500
9501 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
9502
9503 * Makefile.in (flow.o): Depend on TREE_H.
9504 * basic-block.h (REG_SET_EQUAL_P): New.
9505 (XOR_REG_SET): New.
9506 (n_edges): Declare.
9507 (free_regset_vector): Remove declaration.
9508 (flow_delete_insn_chain): Declare.
9509 (enum update_life_extent): New.
9510 (update_life_info, count_or_remove_death_notes): Declare.
9511 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
9512 Verify register live at bb->global_live_at_start before adding USE.
9513 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
9514 (CLEAN_ALLOCA): New.
9515 (n_edges): New.
9516 (PROP_*): New flags.
9517 (find_basic_blocks_1): Use alloc_EXPR_LIST.
9518 (clear_edges): Zero n_edges.
9519 (make_edge): Increment n_edges.
9520 (split_edge): Don't allocate bb->local_set. Increment n_edges.
9521 (flow_delete_insn_chain): Export.
9522 (delete_block): Decrement n_edges.
9523 (merge_blocks_nomove): Likewise.
9524 (life_analysis): Give life_analysis_1 PROP flags.
9525 (verify_wide_reg_1, verify_wide_reg): New.
9526 (verify_local_live_at_start): New.
9527 (update_life_info): Rewrite to call into propogate_block.
9528 (mark_reg): New.
9529 (mark_regs_live_at_end): After reload, if epilogue as rtl,
9530 always mark stack pointer. Conditionally mark PIC register.
9531 After reload, mark call-saved registers, return regsiters.
9532 (life_analysis_1): Accept PROP flags not remove_dead_code.
9533 Call mark_regs_live_at_end before zeroing regs_ever_live.
9534 Use calculate_global_regs_live. Copy global_live_at_end before
9535 calling final propagate_block. Zero reg_next_use on exit.
9536 (calculate_global_regs_live): New.
9537 (allocate_bb_life_data): Don't allocate bb->local_set.
9538 (init_regset_vector, free_regset_vector): Remove.
9539 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
9540 Test flags before every operation. Warn if prologue/epilogue insn
9541 would have been deleted.
9542 (mark_set_regs, mark_set_1): Accept and use FLAGS.
9543 Use alloc_EXPR_LIST.
9544 (mark_used_regs): Accept and use FLAGS, not FINAL.
9545 Remove special handling for RETURN.
9546 (try_pre_increment): Use alloc_EXPR_LIST.
9547 (dump_flow_info): Dump n_edges.
9548 (unlink_insn_chain, split_hard_reg_notes): Remove.
9549 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
9550 (find_insn_with_note, new_insn_dead_notes): Remove.
9551 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
9552 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
9553 (replace_insns): Remove.
9554 (count_or_remove_death_notes): New.
9555 (verify_flow_info): Abort on error after all checks.
9556 (remove_edge): Decrement n_edges.
9557 (remove_fake_edges): Tweek format.
9558 * haifa-sched.c (schedule_insns): Use split_all_insns.
9559 * output.h (update_life_info): Remove declaration.
9560 * recog.c (split_all_insns): From the corpse of split_block_insns,
9561 do the whole function block by block. Use update_life_info.
9562 (recog_last_allowed_insn): New.
9563 (recog_next_insn): Mind it.
9564 (peephole2_optimize): Set it. Walk backwards through blocks.
9565 Use update_life_info.
9566 * rtl.h (update_flow_info, replace_insns): Remove declarations.
9567 (split_all_insns): Declare.
9568 * toplev.c (rest_of_compilation): Thread prologue before flow2.
9569 Use split_all_insns.
9570
9571 * i386.md (or -1 peep2s): Disable.
9572
9573 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
9574
9575 * config/mips/mips.md (movstrsi+[123]) : Combine these into
9576 a single pattern. Scrap the 'd' versions as unnecessary.
9577
9578 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
9579 tablejump_mips162,tablejump_internal4): The operands to a
9580 label_ref must be VOIDmode.
9581
9582 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9583
9584 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
9585
9586 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
9587
9588 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
9589
9590 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
9591
9592 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
9593 cache every function if ggc_p.
9594
9595 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9596
9597 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
9598 instead of copy_rtx. Accept sequences that contain asm statements.
9599 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
9600 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
9601 orig_asm_operands_vector, copy_asm_operands_vector,
9602 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
9603 variables.
9604 * rtl.h (copy_insn, copy_insn_1): Declare.
9605
9606 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9607
9608 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
9609
9610 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
9611 arguments to `current_file_function_operand'.
9612
9613 * genrecog.c: Include hard-reg-set.h and resource.h in the
9614 generated output file.
9615
9616 * real.c: Include tm_p.h.
9617
9618 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9619
9620 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
9621 output operand.
9622
9623 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
9624
9625 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
9626 before the fctiwz insn.
9627
9628 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9629 Mark Mitchell <mark@codesourcery.com>
9630
9631 * tree.c (make_lang_type_fn): New funtion pointer.
9632 (make_lang_type): Call it.
9633 * tree.h (make_lang_type): Declare.
9634 (make_lang_type_fn): Likewise.
9635 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
9636
9637 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
9638
9639 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
9640 make sure that HIGH instructions are copied into BASE_REGS.
9641
9642 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
9643
9644 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
9645
9646 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
9647
9648 * c-decl.c (finish_struct): Use simpler method of
9649 removing elements of a singly-linked list.
9650
9651 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
9652
9653 * alpha.md (peephole2's): Comment out peephole2's that generate
9654 buggy code.
9655
9656 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
9657
9658 * genrecog.c (add_to_sequence): Disable mode check for
9659 wildcard matches.
9660
9661 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9662
9663 * ggc-simple.c (init_ggc): Set empty_string.
9664
9665 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
9666
9667 * configure.in: Detect mmap. Add --with-gc=foo to select
9668 garbage collector; default to page if mmap available.
9669 * Makefile.in (GGC): Substitute.
9670
9671 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
9672
9673 * c-decl.c (ggc_p): Enable.
9674
9675 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9676
9677 * flow.c (verify_flow_info): Make it extern & unconditionally define.
9678
9679 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
9680
9681 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
9682 string for little-endian-data.
9683
9684 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
9685
9686 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
9687 case somebody tries to compile --enable-checking code with gcc
9688 1.34 or such.
9689
9690 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
9691
9692 * genrecog.c (add_to_sequence): Verify operand to label_ref is
9693 VOIDmode.
9694
9695 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
9696
9697 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
9698 * jump.c (jump_optimize_1): Document why.
9699
9700 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9701
9702 * collect2.c (scan_prog_file, scan_libraries): Prototype function
9703 pointers and casts for `int_handler' and `quit_handler'.
9704
9705 * flow.c (verify_flow_info, split_hard_reg_notes,
9706 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
9707 remove_edge, remove_fake_successors): Add static prototypes.
9708 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
9709 (mark_set_1): Initialize variable `regno'.
9710 (unlink_insn_chain): Likewise for variable `curr'.
9711 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
9712
9713 * loop.c (strength_reduce): Initialize variable
9714 `unrolled_insn_copies'.
9715 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
9716 prototypes. Change these functions to take const PTR parameters
9717 to avoid prototype conflict when used as the comparson argument
9718 for qsort.
9719 (check_dbra_loop): Initialize variable `comparison_val'.
9720
9721 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
9722 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
9723 (find_valid_class): Initialize variable `best_class'.
9724 (find_reloads): Call memcpy, not bcopy.
9725
9726 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
9727 (hard_reg_use_compare): Don't needlessly cast away const.
9728 (reload_reg_class_lower): Likewise.
9729 (choose_reload_regs): Initialize variable `regno'.
9730
9731 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
9732
9733 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
9734
9735 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
9736
9737 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
9738 ({,d}discard): Add forward declarations. Declare parameter as
9739 unused.
9740 (main_without_main): Explicitly declare return type to be int.
9741 (memcpy): Properly declare.
9742
9743 * libgcc2.c (toplevel): If inhibit_libc is defined and not
9744 building the trampoline support, declare malloc, free, and
9745 atexit.
9746 (__clear_cache): Mark arguments as potentially unused.
9747
9748 * frame.c (toplevel): If inhibit_libc is defined, declare
9749 malloc and free.
9750
9751 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
9752
9753 * flow.c (make_edge): Accept an optional 2D bitmap in which
9754 to cache edge existence. Update all callers.
9755 (make_label_edge, make_eh_edge): Pass through the edge cache.
9756 (make_edges): Provide the cache.
9757
9758 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9759
9760 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
9761 a char*.
9762 (local_mbtowc): Change the type of variable `i' from int to size_t.
9763
9764 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
9765 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
9766
9767 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
9768
9769 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
9770 after other includes that define the appropriate types. Include
9771 tm_p.h for getting user prototypes.
9772 * ggc-callbacks.c (toplevel): Ditto.
9773 * ggc-none.c (toplevel): Ditto.
9774 * gcc-page.c (toplevel): Ditto.
9775 * ggc-simple.c (toplevel): Ditto.
9776
9777 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
9778 Jonathan Larmour <jlarmour@cygnus.co.uk>
9779
9780 * config/mips/mips.c (mips_move_2words): Split doubles if
9781 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
9782
9783 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
9784
9785 * genrecog.c (struct decision_test): New.
9786 (struct decision): Remove test-related members, sort the rest by size.
9787 (IS_SPLIT): Simplify.
9788 (new_decision, new_decision_test): New.
9789 (add_to_sequence): Use them. No special handling for args of
9790 non-MATCH codes.
9791 (maybe_both_true): Renamed from not_both_true; return sense changed.
9792 (maybe_both_true_1, maybe_both_true_2): New. Broken out
9793 of maybe_both_true and adjusted for decision_test.
9794 (position_merit): Remove.
9795 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
9796 (merge_accept_insn): New, broken out of merge_trees.
9797 (merge_trees): Use them. No special case for c_test; no node
9798 splitting; use test type instead of position_merit.
9799 (factor_tests): New.
9800 (simplify_tests): New.
9801 (break_out_subroutines): Don't write code now.
9802 (find_afterward): New.
9803 (write_afterward, write_switch, write_cond): New.
9804 (write_action, is_unconditional): New.
9805 (write_node): New. Use them.
9806 (write_tree_1): Rewrite. Use the new functions above.
9807 (write_tree): Remove afterward processing.
9808 (write_subroutine): Simplify function variant emission.
9809 (write_subroutines): New.
9810 (same_codes, clear_codes): Remove.
9811 (same_modes, clear_modes): Remove.
9812 (write_header): New, broken out of main.
9813 (make_insn_sequence): Use new_decision and new_decision_test.
9814 (process_tree): New, broken out of main.
9815 (main): Adjust for merge_trees interface change.
9816 Don't #define operands in the output file.
9817 (record_insn_name): New, broken out of make_insn_sequence.
9818 (debug_decision_2, debug_decision_1, debug_decision_0): New.
9819 (debug_decision): New.
9820
9821 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
9822
9823 * resource.c (find_free_register): Mark class_str argument const.
9824 * resource.h: Update prototype to match.
9825
9826 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
9827 * i386.md: Give all anonymous insns names.
9828
9829 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
9830
9831 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
9832 blocks.
9833
9834 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
9835
9836 * toplev.c (dbr_sched_time): Unconditional.
9837 (peephole2_time): New.
9838 (compile_file): Add pass numbers to all of the dump file suffixes.
9839 Dump peephole2_time. Don't dump times for non-applicable passes.
9840 (rest_of_compilation): Add pass numbers to dump file suffixes.
9841 Conditionalize calls to the scheduler.
9842 * invoke.texi: Update.
9843
9844 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
9845
9846 * flow.c (make_edges): Fix insn iteration.
9847 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
9848 (find_basic_blocks_1): Fix spelling mistake.
9849
9850 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
9851
9852 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
9853 always have side-effects. Use memset not bzero.
9854 (make_node): Likewise.
9855
9856 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
9857
9858 * stmt.c (expand_anon_union_decl): When any of the elements of the
9859 union is addressable, so is the entire union.
9860
9861 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
9862
9863 * sbitmap.c (sbitmap_ones): Don't set too many bits.
9864
9865 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
9866 * bitmap.c (bitmap_operation): Return true iff TO changed.
9867 (bitmap_equal_p): New.
9868 (bitmap_bit_p): Tidy arithmetic.
9869 (debug_bitmap_file): Likewise.
9870
9871 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
9872
9873 * toplev.c (rest_of_compilation): Turn on cse_not_expected
9874 before cse2 instead of after.
9875
9876 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
9877
9878 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
9879 register offsets.
9880
9881 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9882
9883 * cppinit.c (is_idchar initializer): Loosen tests to accept
9884 gcc 2.>6 and >2.
9885
9886 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
9887
9888 * mips.md: Define conditional move patterns for floating point
9889 operands and DI mode conditions.
9890
9891 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
9892
9893 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
9894 always have side-effects.
9895
9896 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
9897
9898 * mn10200.c (asm_file_start): Fix typo.
9899
9900 * cppinit.c (is_idchar initializer): Tighten tests for when
9901 to put the table into initialized memory.
9902
9903 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
9904 not an array of rtunion.
9905 * gcc-page.c (ggc_alloc_rtvec): Similarly.
9906 * gcc-simple (ggc_free_rtvec): Similarly.
9907
9908 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
9909 of rtunions.
9910
9911 * mbchar.h: Add missing #endif.
9912
9913 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
9914 (FPBIT, DPBIT): Define.
9915
9916 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9917
9918 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
9919
9920 * profile.c (instrument_arcs, output_gcov_string,
9921 tablejump_entry_p): Add static prototypes.
9922 (output_gcov_string): Constify a char*.
9923
9924 * regmove.c (replacement_quality, fixup_match_2): Add static
9925 prototypes.
9926
9927 * resource.h (reg_dead_p): Add extern prototype.
9928
9929 * rtl.c (trim_filename): Add static prototype.
9930
9931 * scan-decls.c (skip_to_closing_brace): Likewise.
9932
9933 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
9934 (expand_end_case): Initialize variable `range'.
9935 (emit_case_nodes): Remove unused prototype `rtx_fn'.
9936
9937 * varasm.c (asm_emit_uninitialised): Add static prototype.
9938 (asm_emit_uninitialised, assemble_variable): Mark parameter with
9939 ATTRIBUTE_UNUSED.
9940
9941 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9942
9943 * cpplib.c (if_directive_nameo): Add static prototype.
9944
9945 * cse.c (cse_insn): Remove unused variable `p'.
9946
9947 * except.c (create_rethrow_ref, push_entry,
9948 receive_exception_label, new_eh_region_entry, find_func_region,
9949 clear_function_eh_region, process_nestinfo): Add static prototypes.
9950 (get_reg_for_handler): Hide definition.
9951 (process_nestinfo): Initialize variable `extra_handlers'.
9952
9953 * expr.h (expand_builtin_longjmp): Add extern prototype.
9954
9955 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
9956
9957 * function.c (prepare_function_start): Likewise.
9958 (pop_function_context_from): Mark parameter `context' with
9959 ATTRIBUTE_UNUSED.
9960 (push_temp_slots_for_block, flush_addressof): Hide definition.
9961
9962 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
9963 solve_program_flow_graph, calculate_branch_probs,
9964 function_summary, main, fancy_abort): Add prototypes.
9965
9966 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
9967 (add_hash): Constify a char*.
9968
9969 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
9970 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
9971 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
9972
9973 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
9974
9975 * lists.c (free_list, zap_lists): Likewise.
9976
9977 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9978
9979 * alias.c (nonlocal_reference_p): Add static prototype.
9980
9981 * bitmap.c (bitmap_element_allocate): Prototype args in function
9982 pointer cast.
9983
9984 * builtins.c (stabilize_va_list): Add static prototype.
9985 (expand_builtin_va_arg): Constify a char*.
9986
9987 * c-lex.c (getch, put_back, extend_token_buffer_to,
9988 read_line_number, token_getch, token_put_back): Add static
9989 prototypes.
9990
9991 * c-parse.gperf (hash, is_reserved_word): Likewise.
9992
9993 * cccp.c (is_dir_separator): Likewise.
9994
9995 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9996
9997 * graph.h: New file to prototype functions exported by graph.c.
9998
9999 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
10000
10001 * graph.c: Include graph.h.
10002
10003 * toplev.c: Likewise. Remove redundant prototypes.
10004
10005 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
10006
10007 * invoke.texi: Removed duplicated description for -Q.
10008
10009 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
10010
10011 * extend.texi: Grammar fix in __extension__ text.
10012
10013 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
10014
10015 * md.texi (define_peephole2): New section.
10016
10017 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
10018
10019 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
10020 (mov $-1 to or peepholer): Enable for pentium when optimizing for
10021 speed.
10022
10023 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
10024
10025 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
10026
10027 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
10028
10029 * i386.md (ffs expander): Emit Pentium friendly code for
10030 TARGET_PENTIUM.
10031
10032 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
10033
10034 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
10035 for non-trees.
10036 (build1): Likewise.
10037
10038 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10039
10040 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
10041
10042 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
10043
10044 * config/m68k/m68k.c (use_return_insn): Return false if the pic
10045 register is in use.
10046
10047 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10048
10049 * md.texi (No Constraints): Delete section.
10050 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
10051 * final.c (final_scan_insn): We always have register constraints.
10052 * genattrtab.c: Don't include "insn-config.h".
10053 (write_attr_case): We always have register constraints.
10054 * genconfig.c (register_constraint_flag): Delete.
10055 (walk_insn_part): Don't check whether we have register constraints.
10056 (main): Don't write out "#define REGISTER_CONSTRAINTS".
10057 * genoutput.c (have_constraints): Delete.
10058 (main): Don't set it.
10059 (output_operand_data): We always have constraints.
10060 (scan_operands): Likewise.
10061 (compare_operands): Likewise.
10062 * local-alloc.c (block_alloc): We always have constraints.
10063 (requires_inout): Always compile this function.
10064 * recog.c (extract_insn): We always have constraints.
10065 (constrain_operands, reg_fits_class_p): Always compile these
10066 functions.
10067 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
10068 fields.
10069 (struct insn_operand_data): Likewise.
10070 * regclass.c (regclass): We always have constraints.
10071 (record_reg_classes, copy_cost, record_address_regs,
10072 auto_inc_dec_reg_p): Always compile these functions.
10073 * regmove.c (regmove_optimize): We always have constraints.
10074 * reload.c (find_reloads): Likewise.
10075 * reload1.c (reload): Likewise.
10076 (reload_cse_simplify_operands): Likewise.
10077 * i860.c (output_delay_insn): Likewise.
10078
10079 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
10080
10081 * iris6.h (BUILD_VA_LIST_TYPE): Define.
10082
10083 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10084
10085 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
10086 for the va_list record.
10087
10088 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
10089
10090 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
10091 prologues.
10092
10093 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
10094
10095 * alias.c: Include insn-flags.h.
10096 * Makefile.in (alias.o): Update.
10097
10098 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
10099
10100 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
10101 to LTU and GEU. Handle more cases using sbb.
10102
10103 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
10104
10105 * i386.md (truncatexfdf splitters): Do not use subreg.
10106 (fop XFmode patterns): Fix mode in operand testing.
10107
10108 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
10109
10110 * jump.c (jump_optimize_1): Amend last change to test only the
10111 form of the operand, not the insn.
10112
10113 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
10114 not register_operand to determine when B may need preloading.
10115
10116 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
10117
10118 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
10119 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
10120 (call-value patterns): Move to end of file.
10121 (*): Remove mode from label_ref in (pc) context.
10122 (movstrqi): Use memory not general_operand for BLKmode operands.
10123 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
10124 to register_operand operands.
10125 (peep2 patterns): Convert from commented-out peephole patterns.
10126
10127 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10128
10129 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
10130 to BUILT_IN_INIT_DWARF_REG_SIZES.
10131 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
10132 Renamed from BUILT_IN_DWARF_REG_SIZE; call
10133 expand_builtin_init_dwarf_reg_sizes.
10134 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
10135 with __builtin_init_dwarf_reg_size_table.
10136 * dwarf2out.c (struct reg_size_range): Delete.
10137 (expand_builtin_init_dwarf_reg_sizes): New function.
10138 (expand_builtin_dwarf_reg_size): Delete.
10139 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
10140 (expand_builtin_dwarf_reg_size): Don't declare.
10141 * libgcc2.c (dwarf_reg_size_table_initialized): New.
10142 (dwarf_reg_size_table): New.
10143 (init_reg_size_table): New function.
10144 (copy_reg): Use dwarf_reg_size_table.
10145 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
10146 before use.
10147
10148 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
10149
10150 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
10151 Correctly build argument list to constructor and destructor functions.
10152
10153 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
10154
10155 * c-tree.h (warn_float_equal): Declare.
10156 * c-decl.c (warn_float_equal): Define.
10157 (c_decode_option): Recognize -W[no-]float-equal.
10158 * c-typeck.c (build_binary_op): Conditionally warn
10159 about equality tests of floating point types.
10160 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
10161 * invoke.texi: Add docs for -Wfloat-equal warning.
10162
10163 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
10164
10165 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
10166 generating RTL directly.
10167 * mips.h (INIT_TARGET_OPTABS): Likewise.
10168 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
10169
10170 * expr.h (init_mov_optab): Delete declaration
10171
10172 * h8300.c (WORD_REG_USED): Update to avoid useless register
10173 saves in interrupt functions and functions which never return.
10174
10175 * cse.c (struct set): Delete inner_dest_loc field.
10176 (cse_insn): Remove assignments to inner_dest_loc field.
10177
10178 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
10179
10180 * ggc-page.c: Don't include <unistd.h> etc taken care of
10181 by "system.h". Include <sys/mman.h> afterward.
10182
10183 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
10184
10185 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
10186 ggc_alloc_string.
10187
10188 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
10189
10190 * xcoffout.c (xcoffout_declare_function): Add documentation.
10191 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
10192 TARGET_64BIT. Compare constant to -1, not bit pattern.
10193 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
10194 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
10195 gen_movsi typos.
10196
10197 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
10198
10199 * dwarf2out.c (add_abstract_origin_attribute): Abort if
10200 origin_die is NULL.
10201 (gen_inlined_enumeration_type_die): Do not abort if the type has
10202 not been writeen out.
10203 (gen_inlined_structure_type_die): Do not abort if the type has
10204 not been writeen out.
10205 (gen_inlined_union_type_die): Do not abort if the type has
10206 not been writeen out.
10207 (gen_tagged_type_instantiation_die): Do not abort if the type
10208 has not been written out.
10209
10210 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10211
10212 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
10213 call it.
10214 * reg-stack.c (straighten_stack): Copy hard reg set with
10215 COPY_HARD_REG_SET.
10216
10217 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
10218
10219 * builtins.c (stabilize_va_list): Stabilize array type va_list
10220 to a pointer type, not the base record type.
10221 (expand_builtin_va_copy): Dereference the pointers explicitly;
10222 use the correct size for the copy.
10223
10224 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
10225 (rs6000_va_arg): Likewise.
10226
10227 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
10228
10229 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
10230
10231 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
10232
10233 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
10234 field.
10235 (DECL_BUILT_IN_CLASS): Adjust accordingly.
10236
10237 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
10238
10239 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
10240 (init_ggc): Use it instead of a constant.
10241 (ggc_collect): Bound allocated_last_gc by it.
10242
10243 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
10244
10245 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
10246 with va_list.
10247
10248 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
10249
10250 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
10251 (mips*-*-openbsd*): Let big endian configuration be a fragment.
10252 * configure: Regen.
10253 * config/mips/openbsd.h: New, OpenBSD little endian target.
10254 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
10255 * config/mips/xm-openbsd.h: New, OpenBSD host.
10256
10257 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
10258
10259 * config/m68k/m68k.c (output_function_prologue,
10260 output_function_epilogue): Use
10261 current_function_uses_pic_offset_table instead of regs_ever_live
10262 to decide whether to save/restore pic register.
10263 (legitimize_pic_address): Don't modify regs_ever_live any more.
10264
10265 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
10266
10267 * function.h (struct function): Add x_dont_save_pending_sizes_p.
10268 * stor-layout.c (variable_size): Don't add sizes to the pending
10269 sizes list if x_dont_save_pending_sizes_p is set.
10270
10271 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
10272
10273 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
10274 for symbolic_operand().
10275 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
10276
10277 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10278
10279 * combine.c (gen_rtx_combine): Add missing call to va_end().
10280
10281 * final.c (asm_fprintf): Likewise.
10282
10283 * genattrtab.c (attr_rtx): Likewise.
10284
10285 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
10286
10287 * cse.c: Update comments.
10288 (cse_insn): When converting a conditional/computed jump into
10289 an unconditional jump, always make sure a BARRIER immediately
10290 follows the converted jump. Do not delete unreachable code.
10291 (cse_basic_block): Do not delete unreachable code.
10292 * toplev.c (rest_of_compilation): Move call to
10293 delete_trivially_dead_insns after the conditional call to
10294 jump_optimize.
10295
10296 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10297
10298 * collect2.c (make_temp_file): Don't prototype.
10299
10300 * gcc.c (make_temp_file): Likewise.
10301
10302 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
10303
10304 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
10305
10306 * varasm.c (asm_emit_uninitialised): New function: Generate
10307 the assembler statements necessary to declare an uninitialised
10308 variable.
10309 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
10310 variable.
10311 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
10312 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
10313 section.
10314 (assemble_variable): Use asm_emit_uninitialised to emit an
10315 uninitialised variable.
10316
10317 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
10318
10319 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
10320 constant on a 64 bit host. Patch supplied by Geoffrey Keating
10321 <geoffk@cygnus.com>.
10322
10323 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10324
10325 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
10326 * c-common.h (builtin_function): Don't declare.
10327
10328 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
10329 DECL_BUILT_IN.
10330 (pushdecl): Likewise.
10331 (finish_decl): Likewise.
10332 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
10333 int. All callers changed.
10334 Set the builtin's DECL_BUILT_IN_CLASS.
10335 * tree.h (enum built_in_class): New.
10336 (enum built_in_function): Delete NOT_BUILT_IN.
10337 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
10338 in a union.
10339 (DECL_SET_FUNCTION_CODE): Likewise.
10340 (DECL_BUILT_IN_CLASS): New macro.
10341 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
10342 (struct tree_decl): Split builtin function code field into a
10343 struct.
10344 (builtin_function): Declare.
10345
10346 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
10347
10348 * optabs.c (init_traps): Fix typo in last change.
10349
10350 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
10351
10352 * toplev.c (rest_of_decl_compilation): Update comment.
10353
10354 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
10355
10356 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
10357 in .sbss if appropriate.
10358 (EXTRA_SECTION_FUNCTIONS): Add sbss.
10359 (SBSS_SECTION_ASM_OP): New macro.
10360 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
10361 (EXTRA_SECTIONS): Add in_sbss.
10362 * config/mips/mips.h: Prototype sbss_section.
10363
10364 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
10365
10366 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
10367 to disappear.
10368
10369 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
10370
10371 * optabs.c (init_traps): Register trap_rtx as a GC root.
10372
10373 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10374
10375 * config/mips/mips.c (function_arg_pass_by_reference): Define
10376 unconditionally, since it's called unconditionally.
10377
10378 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
10379
10380 * toplev.c (documented_lang_options): Add -fshort-wchar.
10381 * c-decl.c (c_decode_option): Likewise.
10382 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
10383 for wchar_t.
10384 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
10385 * gcc.c (default_compilers): If -fshort-wchar,
10386 override __WCHAR_TYPE__.
10387 * tm.texi (C Dialect Options): Add -fshort-wchar.
10388
10389 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
10390 symbol for a variable.
10391
10392 * cpplib.h (CPP_PREPROCESSED): New macro.
10393 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
10394 we're seeing this input for a second time.
10395
10396 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
10397
10398 * emit-rtl.c (init_emit_once): Initialize modes first.
10399
10400 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
10401
10402 * config/i386/i386.c (pic_label_name): Change to char pointer.
10403 (global_offset_table): New variable.
10404 (load_pic_register): Fill global_offset_table if it hasn't
10405 already been done. Allocate pic_label_name dynamically.
10406 * ggc.h (empty_string): New variable.
10407 * ggc-simple.c (empty_string): Likewise.
10408 (init_ggc): Allocate empty_string and add as root.
10409 * stmt.c (digit_strings): New variable.
10410 (init_stmt): Add last_block_end_note as root. Allocate and
10411 initialize digit_strings.
10412 (expand_asm_operands): Use empty_string instead of string
10413 constant. Use digit_strings instead of string constants.
10414 * profile.c (init_arc_profiler): Allocate string with
10415 ggc_alloc_string instead of xmalloc.
10416 (output_func_start_profiler): Likewise.
10417 * c-typeck.c (digest_init): Check if init is error_mark_node.
10418
10419 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
10420 Richard Henderson <rth@cygnus.com>
10421
10422 * ggc-page.c: New file.
10423 * Makefile.in (ggc-page.o): New.
10424
10425 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
10426
10427 * invoke.texi: Document -fdelete-null-pointer-checks
10428 * toplev.c (flag_delete_null_pointer_checks): New.
10429 (f_options): Add entry for -fdelete-null-pointer-checks.
10430 (rest_of_compilation): Conditionalize null pointer check
10431 elimination on flag_delete_null_pointer_checks.
10432 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
10433
10434 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
10435
10436 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
10437 copyright notice and special exception to GPL.
10438
10439 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10440
10441 * abi64.h (mips_function_value): Add prototype arguments.
10442
10443 * mips-protos.h: New file with mips prototypes.
10444
10445 * mips.c: Include "tm_p.h".
10446 (mktemp, lookup_name): Add prototype arguments.
10447 (extern_list, string_constant, mips_fill_delay_slot,
10448 mips_output_external, mips_output_external_libcall,
10449 mips_output_filename, mips_declare_object, function_prologue,
10450 mips_expand_prologue, function_epilogue, mips16_constant,
10451 build_mips16_function_stub, mips_output_conditional_branch):
10452 Constify a char*.
10453 (mips_va_start): Remove unused variable `u'.
10454 (mips_va_arg): Cast value to unsigned when comparing against one.
10455 (trace): Delete.
10456 (save_restore_insns, mips_expand_prologue): Add missing arg in
10457 call to `large_int'.
10458
10459 * mips.h: Move prototypes to mips-protos.h.
10460 (data_section, memory_address_p, rdata_section,
10461 readonly_data_section, simple_epilogue_p, text_section): Delete
10462 prototypes delcared elsewhere.
10463 (mips_epilogue_delay_slots, print_options): Delete unused decls.
10464 (trace): Delete.
10465 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
10466
10467 * mips.md: Delete extra args in call to `mips_move_2words'.
10468
10469 * xm-iris6.h (alloca): Add prototype argument.
10470
10471 * genpeep.c: Include "tm_p.h" in generated output file.
10472
10473 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
10474
10475 * basic-block.h (find_edge_index): Change parameters.
10476 * flow.c (verify_edge_list): Pass basic_block parameters to
10477 find_edge_index instead of integers.
10478
10479 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
10480
10481 * combine.c (simplify_comparison): Use an unsigned shift to adjust
10482 the constant.
10483
10484 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
10485
10486 * gcc.1: Fix a formatting error.
10487
10488 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
10489
10490 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
10491 i786, mn10200, mn10300, pdp11, v850.
10492
10493 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
10494
10495 * libgcc2.c (num_digits): Add prototype with
10496 __attribute__((const)).
10497 (__terminate): Add prototype.
10498
10499 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
10500
10501 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
10502
10503 * alpha/alpha.c (print_operand): Fix type of `code'.
10504 (alpha_output_filename): Constify.
10505 * alpha/alpha.h: Move all function declarations ...
10506 * alpha/alpha-protos.h: ... here. New file.
10507 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
10508 (SECTION_FUNCTION_TEMPLATE): Likewise.
10509
10510 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10511
10512 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
10513 * expr.c (expand_expr): Likewise.
10514 (do_jump): Likewise.
10515 (do_store_flag): Pass ccp_store_flag to can_compare_p.
10516 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
10517 accessor macros.
10518 (enum can_compare_purpose): New.
10519 (can_compare_p): Adjust prototype.
10520 (prepare_cmp_insn, prepare_operand): Declare.
10521 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
10522 * optabs.c (cmp_available_p): Deleted.
10523 (expand_abs): Pass ccp_jump to can_compare_p.
10524 (can_compare_p): New arg PURPOSE. Check for combined optabs.
10525 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
10526 Call can_compare_p rather than cmp_available_p.
10527 (prepare_operand): No longer static.
10528 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
10529 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
10530 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
10531 sequence to use emit_cmp_and_jump_insns.
10532 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
10533
10534 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
10535
10536 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
10537 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
10538 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
10539 (plus (reg) (const_int 0))
10540 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
10541
10542 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
10543
10544 * rs6000.c (expand_block_move): DImode loads and stores require
10545 word-aligned displacements. Increment address registers with
10546 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
10547
10548 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
10549
10550 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
10551 is no name for the base type, rather than segfault. If we are
10552 writing out a complex integer type, use DW_ATE_lo_user.
10553
10554 * expr.c (emit_move_insn_1): If we are copying a complex that fits
10555 in one word or less (complex char, complex short, or on 64 bit
10556 systems complex float) to/from a hard register, copy it through
10557 memory instead of dying in gen_{real,imag}part. If we have a
10558 short complex type, prevent inlining since it allocates stack
10559 memory.
10560
10561 * tree.c (build_complex_type): If we are writing dwarf2 output,
10562 generate a name for complex integer types.
10563
10564 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
10565
10566 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
10567 * flow.c (remove_edge): Remove extra whitespace.
10568 (remove_fake_edges): Fix comment.
10569 (add_noreturn_fake_exit_edges): Use the correct name.
10570
10571 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
10572
10573 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
10574 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
10575 (clean): Depend on INTL_CLEAN.
10576 (maintainer-clean): Adjust.
10577
10578 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10579
10580 * configure.in (AC_PREREQ): Bump to 2.13.
10581 (AC_C_STRINGIZE): Call this instead of using a custom macro.
10582
10583 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
10584
10585 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
10586
10587 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
10588
10589 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
10590 (HAVE_STRINGIZE): Define.
10591
10592 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
10593
10594 * c-parse.in: save and restore warn_pointer_arith on __extension__
10595 along with pedantic.
10596 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
10597 Set the type of extension to itype rather than $<itype>1 kludge.
10598 * extend.texi (Alternate Keywords): Adjust documentation.
10599 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
10600
10601 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
10602
10603 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
10604 most assembler templates.
10605
10606 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
10607 FP loads and stores.
10608 (following_call): Always return zero for the PA8000.
10609 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
10610 FP loads and stores.
10611 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
10612
10613 * pa.h (BRANCH_COST): Define.
10614
10615 * pa.md (return, return_internal): Use bve for PA2.0.
10616
10617 * pa.md (fused multiply): Add variants which reduce height for the
10618 fused multiply, but which still generate 2 insns.
10619 (fnegabs): Similarly.
10620
10621 * pa.md (subsi3): Turn into an expander. Create two anonymous
10622 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
10623 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
10624
10625 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
10626 for TARGET_PA_20.
10627 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
10628 code generation.
10629 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
10630 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
10631
10632 * regclass.c (init_regs): Add "top_of_stack" as a garbage
10633 collection root.
10634
10635 * flow.c (record_active_eh_regions): Terminate loop after finding
10636 the last insn in the last basic block.
10637
10638 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10639
10640 * config/c4x/c4x.md: Delete parallel instruction peepholes.
10641
10642 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10643
10644 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
10645
10646 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10647
10648 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
10649 splitting to not use output template.
10650
10651 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10652
10653 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
10654 * config/c4x/c4x.c (c4x_va_start): New function.
10655
10656 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
10657
10658 * genrecog.c (not_both_true): Handle correctly cases when called for
10659 tests with different positions in the insn.
10660
10661 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10662
10663 * machmode.h (HOST_PTR_PRINTF): Move from here ...
10664
10665 * system.h (HOST_PTR_PRINTF): ... to here.
10666
10667 * mips-tfile.c: Don't include machmode.h.
10668
10669 * Makefile.in (MACHMODE_H): New variable. Update to use it.
10670 (mips-tfile.o): Don't depend on machmode.h.
10671
10672 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10673
10674 * haifa-sched.c (sched_analyze): Rename local variable `region' to
10675 avoid conflicts with typedef struct `region' at the top level scope.
10676
10677 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
10678
10679 * basic-block.h (basic_block): Add eh_beg, eh_end.
10680 * flow.c (entry_exit_blocks): Update.
10681 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
10682 Call new functions.
10683 (find_basic_blocks_1): Don't record eh_list at each bb. Use
10684 lists.c functions to allocate insn lists.
10685 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
10686 edge creation ...
10687 (make_eh_edge): ... here. New.
10688 (move_stray_eh_region_notes): New.
10689 (record_active_eh_regions): New.
10690 (delete_unreachable_blocks): Split out block merging ...
10691 (try_merge_blocks): ... here. New.
10692 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
10693 Dump debugging data.
10694 (merge_blocks_move_successor_nojumps): Likewise.
10695 (merge_blocks): Use eh_beg+eh_end to validate block movement.
10696
10697 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
10698
10699 * extend.texi (Bound member functions): Document unbound pmf
10700 conversion.
10701
10702 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
10703
10704 * flow.c (split_edge): Handle insertion on a fallthrough edge which
10705 has the EXIT_BLOCK as a dest.
10706
10707 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
10708
10709 * flow.c (remove_edge): New function to remove an edge from the
10710 flow graph.
10711 (remove_fake_successors): New function to remove fake successor edges.
10712 (remove_fake_edges): New function to remove all fake edges from the
10713 flow graph.
10714 (add_fake_exit_edges): New function to add fake edges from all blocks
10715 with no successors to the exit block.
10716 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
10717 prototypes for new functions.
10718
10719 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
10720
10721 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
10722 Use Pmode to determine whether to output .dword or .word.
10723
10724 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
10725
10726 * tree.c (built_in_filename): New variable.
10727 (BUILT_IN_FILENAME): New macro.
10728 (init_tree_codes): Allocate built_in_filename.
10729 (make_node): Use built_in_filename instead of string constant.
10730
10731 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
10732
10733 * configure.in: Add fr30 target.
10734 * configure: Regenerate.
10735 * config/fr30: New directory.
10736 * config/fr30/crti.asm: New file.
10737 * config/fr30/fr30.c: New file.
10738 * config/fr30/crtn.asm: New file.
10739 * config/fr30/fr30.h: New file.
10740 * config/fr30/fr30.md: New file.
10741 * config/fr30/lib1funcs.asm: New file.
10742 * config/fr30/t-fr30: New file.
10743 * config/fr30/xm-fr30.h: New file.
10744
10745 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
10746
10747 * flow.c (merge_blocks_move_successor_nojumps): Delete the
10748 BARRIER at the end of the successor, not the BARRIER before
10749 the successor.
10750
10751 * pa.c (pa_add_gc_roots): Fix thinko in last change.
10752
10753 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
10754
10755 * stmt.c (any_pending_cleanups): Don't crash when
10756 current_function->stmt is unset.
10757
10758 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10759
10760 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
10761 other initializations that may use it for relative offsets.
10762
10763 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10764
10765 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
10766 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
10767 * config/i386/sol2dbg.h: Removed.
10768 * config/i386/sol2gas.h: New file, to enable gas work-around.
10769 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
10770 Don't use sol2dbg.h.
10771 * configure: Rebuilt.
10772
10773 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
10774
10775 * invoke.texi (-fthis-is-variable): Remove documentation.
10776
10777 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
10778
10779 * basic-block.h (compute_bb_for_insn): Declare.
10780 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
10781 to use; set size of basic_block_for_insn directly.
10782 (find_basic_blocks): Update.
10783
10784 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10785
10786 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
10787
10788 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10789
10790 * crtstuff.c (ON_EXIT): Delete empty macro definition.
10791 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
10792
10793 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
10794
10795 * c-decl.c (c_decode_option): Extend comment.
10796
10797 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
10798
10799 * toplev.c (progname): Make 'const char *'
10800 (flag_print_mem): Move out of main.
10801 (version_flag): Move out of main.
10802 (filename): Move out of main.
10803 (debug_args): Remove g prefix from options.
10804 (documented_lang_options): Remove cpplib specific options.
10805 (display_help): Add g prefix to debug options.
10806 (check_lang_option): Delete this function.
10807 (decode_d_option): New function: Decode -d... option.
10808 (decode_f_option): New function: Decode -f... option.
10809 (decode_W_option): New function: Decode -W... option.
10810 (decode_g_option): New function: Decode -g... option.
10811 (independent_decode_option): New function: Decode a language
10812 independent command line option.
10813 (main): Invoke lang_decode_option and then
10814 independent_decode_option on each command line option in
10815 turn.
10816
10817 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
10818
10819 Revert this change. Gavin's patch to operand_equal_p is a better fix.
10820 * fold-const.c (fold_range_test): Do not try to fold the range
10821 test if the rhs or lhs has side effects.
10822
10823 * basic-block.h (compute_flow_dominators): Declare.
10824
10825 * gcse.c (alloc_code_hoist_mem): New function.
10826 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
10827 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
10828 (hoist_code, one_code_hoisting_pass): Likewise.
10829 (gcse_main): If optimizing for size, then hoist expressions
10830 computed in multiple dominated basic blocks.
10831
10832 * gcse.c (invalid_nonnull_info): New function.
10833 (delete_null_pointer_checks): Likewise.
10834 * rtl.h (delete_null_pointer_checks): Declare.
10835 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
10836
10837 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
10838 (merge-blocks_move_successor_nojumps): Likewise.
10839 (merge_blocks): Allow merging of some blocks, even if it requires
10840 physical movement of the blocks, but not if it requires new jumps.
10841
10842 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
10843 Callers and prototype changed.
10844 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
10845
10846 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10847
10848 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
10849 -YP when both -p and -pg are present. From i386/sol2.h.
10850
10851 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10852
10853 * Makefile.in (distclean): Delete tm_p.h.
10854 * configure.in: Create a new file, "tm_p.h", from a list in
10855 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
10856 "i386/i386-protos.h".
10857
10858 * alias.c: Include "tm_p.h".
10859 * c-typeck.c: Likewise.
10860 * calls.c: Likewise.
10861 * cse.c: Likewise.
10862 * emit-rtl.c: Likewise.
10863 * explow.c: Likewise.
10864 * expmed.c: Likewise.
10865 * expr.c: Likewise.
10866 * final.c: Likewise.
10867 * flow.c: Likewise.
10868 * fold-const.c: Likewise.
10869 * function.c: Likewise.
10870 * gcse.c: Likewise.
10871 * global.c: Likewise.
10872 * haifa-sched.c: Likewise.
10873 * integrate.c: Likewise.
10874 * jump.c: Likewise.
10875 * local-alloc.c: Likewise.
10876 * loop.c: Likewise.
10877 * optabs.c: Likewise.
10878 * recog.c: Likewise.
10879 * reg-stack.c: Likewise.
10880 * regclass.c: Likewise.
10881 * regmove.c: Likewise.
10882 * reload.c: Likewise.
10883 * reload1.c: Likewise.
10884 * reorg.c: Likewise.
10885 * resource.c: Likewise.
10886 * stmt.c: Likewise.
10887 * stor-layout.c: Likewise.
10888 * toplev.c: Likewise.
10889 * tree.c: Likewise.
10890 * unroll.c: Likewise.
10891 * genattrtab.c (main): Make generated file include "tm_p.h".
10892 * genemit.c (main): Likewise.
10893 * genoutput.c (main): Likewise.
10894 * genrecog.c (main): Likewise.
10895
10896 * i386.h: Delete all prototypes.
10897 * i386.c: Include "tm_p.h".
10898 (ix86_attr_length_default): Call constant_call_address_operand
10899 with correct number of arguments.
10900 * i386-protos.h: New file.
10901 * i386.md (unnamed patterns): Call constant_call_address_operand
10902 with correct number of arguments.
10903 (exception_receiver): Call load_pic_register with correct number
10904 of arguments.
10905
10906 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
10907
10908 * c-pragma.c (mark_align_stack): Dereference the void* properly.
10909
10910 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
10911
10912 * rtl.h (insns_safe_to_move_p): New function.
10913 * loop.c (find_and_verify_loops): Use it.
10914 * rtlanal.c (insns_safe_to_move_p): Define it.
10915
10916 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
10917
10918 * c-pragma.c: Include ggc.h.
10919 * Makefile.in (c-pragma.o): Update.
10920
10921 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10922
10923 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
10924 (LIB_SPEC): Likewise.
10925 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
10926 Reindent -YP/-p/-pg.
10927 Copied from config/sparc/sol2.h.
10928
10929 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
10930
10931 * c-pragma.c (mark_align_stack): New.
10932 (init_pragma): New.
10933 * c-pragma.h (init_pragma): Declare it.
10934 * c-lex.c (init_parse): Call it.
10935
10936 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10937
10938 * configure.in: Pick up thread library on Solaris/x86 just
10939 like on Solaris/sparc.
10940 * configure: Rebuilt.
10941
10942 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
10943
10944 * rtl.h (global_rtx_index): New enum.
10945 (global_rtl): Change to array of rtx.
10946 (pc_rtx, cc0_rtx): Redefine accordingly.
10947 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
10948 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
10949 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
10950 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
10951 (const_int_rtx): Change to array of rtx.
10952 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
10953 accordingly.
10954 * emit-rtl.c (global_rtl): Change to array of rtx.
10955 (const_int_rtx): Change to aray of rtx.
10956 (gen_rtx_CONST_INT): Redefine accordingly.
10957 (init_emit_once): Allocate and initialize global_rtl. Likewise
10958 for const_int_rtx. Add both as GC roots.
10959 * genattrtab.c (global_rtl): Update declaration.
10960
10961 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
10962
10963 * Makefile (USER_H): Add iso646.h back.
10964
10965 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
10966
10967 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
10968 zapping the LOG_LINKS of sched_before_next_call.
10969
10970 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
10971 * pa.c (insn_refs_are_delayed): Renamed from
10972 insn_sets_and_refs_are_delayed.
10973
10974 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
10975
10976 * functiion.h (struct function): Add x_whole_function_mode_p.
10977 (retrofit_block): Declare.
10978 * function.c (retrofit_block): New function.
10979 (identify_blocks): Add assertions. Allow an incomplete set of
10980 block notes if we're still generating code for the function.
10981 * integrate.c: Include loop.h.
10982 (expand_inline_function): Call find_loop_tree_blocks to map block
10983 notes to blocks when in whole-function mode. Use retrofit_block
10984 to insert new BLOCKs for the inlined function, rather than
10985 insert_block.
10986 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
10987 * Makefile.in (integrate.o): Depend on loop.h.
10988
10989 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
10990
10991 * tree.h (warn_about_unused_variables): Declare.
10992 * stmt.c (warn_about_unused_variables): New function, split out
10993 from ...
10994 (expand_end_bindings): Here.
10995
10996 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
10997
10998 * stmt.c (preserve_subexpressions_p): Don't crash when
10999 current_function->stmt is unset.
11000
11001 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
11002
11003 * stmt.c (expand_start_bindings): Allow callers to pass a flag
11004 indicating that no NOTE_INSN_BLOCK_BEG note is required.
11005 (expand_start_target_temps): Use it.
11006 * except.c (expand_eh_region_start_for_decl): Likewise.
11007 * expr.c (expand_expr): Likewise.
11008
11009 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
11010
11011 * fold-const.c (operand_equal_p): Pay attention to side effects.
11012
11013 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
11014
11015 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
11016 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
11017
11018 * tlink.c (scan_linker_output): Look for keywords before accepting
11019 a mangled name in quotes.
11020
11021 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
11022
11023 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
11024 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
11025
11026 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
11027
11028 * alpha.md: Revert Thu Nov 26 change that came in through the
11029 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
11030 Avoid earlyclobber when possible.
11031
11032 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11033
11034 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
11035
11036 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
11037 Define HAVE_ON_EXIT.
11038
11039 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11040
11041 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
11042 CTYPE_CONV in all ctype macros.
11043
11044 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
11045 from system.h.
11046
11047 * cexp.y (initialize_random_junk): Likewise.
11048
11049 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
11050
11051 * i370.c (handle_pragma): Likewise.
11052
11053 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
11054
11055 * v850.c (override_options): Likewise.
11056
11057 * doprint.c (_doprnt): Likewise.
11058
11059 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
11060 Likewise.
11061
11062 * fixinc/server.c (load_data): Likewise.
11063
11064 * fold-const.c (real_hex_to_f): Likewise.
11065
11066 * genattr.c (write_upcase, gen_attr): Likewise.
11067
11068 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
11069 write_upcase): Likewise.
11070
11071 * genemit.c (print_code): Likewise.
11072
11073 * genopinit.c (gen_insn): Likewise.
11074
11075 * genpeep.c (print_code): Likewise.
11076
11077 * genrecog.c (print_code): Likewise.
11078
11079 * optabs.c (init_libfuncs): Likewise.
11080
11081 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
11082
11083 * haifa-sched.c (sched_analyze): Keep the list of notes organized
11084 in pairs.
11085 (reemit_notes): Likewise.
11086
11087 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
11088
11089 * ggc.h (ggc_root): Move to ggc-common.c.
11090 (roots): Remove.
11091 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
11092 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
11093 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
11094 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
11095 * ggc-common.c (ggc_root): Move from ggc.h.
11096 (roots): Declare, static.
11097 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
11098 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
11099 null or check/set mark bit.
11100 (ggc_mark_roots): New.
11101 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
11102
11103 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
11104
11105 * m32r.c: Include toplev.h.
11106 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
11107 (gen_compare): Rename swap_p to must_swap to match uses.
11108 Add default abort case.
11109 (m32r_output_function_epilogue): Remove unused variables.
11110 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
11111 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
11112 define to empty parameter list. Update all uses.
11113 (predicate decls): Use enum machine_mode not int.
11114 * m32r.md (movsi): Call abort, not fatal_insn.
11115 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
11116
11117 1999-09-14 Andrew Haley <aph@cygnus.com>
11118
11119 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
11120 use $0 instead of 0.
11121
11122 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11123
11124 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
11125 computation out of loop over hard regs.
11126
11127 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
11128
11129 * function.c (identify_blocks): Don't shadow a variable in an
11130 outer scope.
11131 * integrate.c (integrate_decl_tree): Don't use pushlevel,
11132 pushdecl, or poplevel to build up the new BLOCK tree.
11133 (expand_inline_function): Likewise.
11134 (integrate_parm_decls): Likewise.
11135
11136 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
11137
11138 * c-typeck.c (qualify_type): Merge qualifiers from both types.
11139
11140 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
11141
11142 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
11143 * invoke.texi: Document this change.
11144
11145 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
11146
11147 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
11148 Free the struct.
11149 (mark_emit_status): Renamed from mark_emit_state.
11150 * except.c (mark_eh_status): Renamed from mark_eh_state.
11151 Check not null before marking.
11152 (free_eh_status): New.
11153 * expr.c (mark_expr_status, free_expr_status): New.
11154 * function.c (free_machine_status): New.
11155 (free_after_parsing): New.
11156 (free_after_compilation): Move bits to free_after_parsing; call
11157 free_eh_status, free_expr_status; zero the marked members of the
11158 function state.
11159 (prepare_function_start): No can_garbage_collect.
11160 Call init_eh_for_function.
11161 (expand_dummy_function_end): Free up current_function state.
11162 (mark_function_status): Renamed from mark_function_state.
11163 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
11164 * function.h (struct function): No can_garbage_collect.
11165 (free_machine_status, free_after_parsing): Declare.
11166 (free_eh_status, free_expr_status): Declare.
11167 * ggc.h (mark_expr_status): Declare.
11168 * stmt.c (free_stmt_status): Free the struct.
11169 (mark_stmt_status): Renamed from mark_stmt_state.
11170 (init_stmt): Don't call init_eh.
11171 (init_stmt_for_function): Don't call init_eh_for_function.
11172 * toplev.c (compile_file): Call init_eh.
11173 (rest_of_compilation): Free basic block info before ggc_collect.
11174 Call free_after_parsing; conditionally call free_after_compilation.
11175 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
11176 Check not null before marking.
11177 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
11178
11179 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
11180
11181 * c-lex.c (yylex): Initialize warn.
11182
11183 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
11184
11185 * pa.c (emit_move_sequence): Properly set the mode of the scratch
11186 register when performing secondary reloads for the SAR register.
11187
11188 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
11189
11190 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
11191 (NOTE_BLOCK): New macro.
11192 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
11193 * function.h (identify_blocks): Change prototype.
11194 * function.c (identify_blocks): Simplify.
11195 (reorder_blocks): Likewise.
11196 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
11197 NOTE_INSN_BLOCK_{BEG,END}.
11198 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
11199 the list of saved notes if the note isn't a
11200 NOTE_INSN_BLOCK_{BEG,END}.
11201 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
11202 NOTE_BLOCK_NUMBER.
11203 (reemit_notes): Adjust recreation of notes to reflect new saved
11204 note structure.
11205 * print-rtl.c (print_rtx): Print the address of the BLOCK when
11206 printing a block note.
11207 * stmt.c (block_vector): Remove.
11208 (find_loop_tree_blocks): Simplify.
11209 (unroll_block_trees): Likewise.
11210 * tree.h (reorder_block): Change prototype.
11211
11212 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
11213
11214 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
11215 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
11216 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
11217 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
11218 (atexit, exit): Simplify.
11219 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
11220 * config/lots: Remove defns of HAVE_ATEXIT.
11221
11222 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
11223
11224 * calls.c (precompute_arguments): Fix typo in comment.
11225 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
11226 TARGET_EXPR.
11227
11228 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
11229
11230 * dsp16xx.c (override_options): Fix typos in GC root registration.
11231
11232 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
11233
11234 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
11235 from config/svr4.h.
11236 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
11237 (FUNCTION_PROFILER): Redefine appropriately for Linux.
11238 (CC1_SPEC): Likewise.
11239
11240 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11241
11242 * genattr.c (main): Add extern prototype. Call return, not exit.
11243 * genattrtab.c (main): Likewise.
11244 * gencheck.c (main): Likewise.
11245 * gencodes.c (main): Likewise.
11246 * genconfig.c (main): Likewise.
11247 * genemit.c (main): Likewise.
11248 * genextract.c (main): Likewise.
11249 * genflags.c (main): Likewise.
11250 * gengenrtl.c (main): Likewise.
11251 * genopinit.c (main): Likewise.
11252 * genoutput.c (main): Likewise.
11253 * genpeep.c (main): Likewise.
11254 * genrecog.c (main): Likewise.
11255
11256 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
11257 * genattrtab.c (get_insn_name): Likewise.
11258 * gencodes.c (get_insn_name): Likewise.
11259 * genconfig.c (get_insn_name): Likewise.
11260 * genemit.c (get_insn_name): Likewise.
11261 * genextract.c (get_insn_name): Likewise.
11262 * genflags.c (get_insn_name): Likewise.
11263 * genopinit.c (get_insn_name): Likewise.
11264 * genpeep.c (get_insn_name): Likewise.
11265
11266 * gencheck.c (usage): Add static prototype.
11267 * genextract.c (print_path): Constify a char*.
11268 * genopinit.c (optabs): Likewise.
11269 * genoutput.c (operand_data, data, output_predicate_decls,
11270 compare_operands): Likewise.
11271 * genrecog.c (write_tree): Add default case in switch.
11272
11273 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11274
11275 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
11276
11277 * print-rtl.c (get_insn_name): Remove prototype.
11278
11279 * toplev.h (progname): Declare const.
11280
11281 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
11282 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
11283 dump_sched_info, dump_local_alloc, regset_release_memory,
11284 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
11285 error_with_file_and_line, error_with_decl, error_for_asm, error,
11286 fatal, warning_with_file_and_line, warning_with_decl, warning,
11287 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
11288 Remove redundant prototypes.
11289
11290 (notice, check_lang_option, report_file_and_line, vnotice,
11291 mark_file_stack): Add static prototype.
11292 (set_fatal_function): Add prototype.
11293 (vnotice, report_file_and_line, set_fatal_function,
11294 check_lang_option): Constify a char*.
11295 (main): Prototype. Call return, not exit.
11296
11297 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11298
11299 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
11300
11301 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
11302
11303 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
11304
11305 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
11306
11307 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11308
11309 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
11310 behave as if it's zero in all cases.
11311 (expand_function_start): Adjust call to assign_parms.
11312 * tree.h (assign_parms): Adjust prototype.
11313 * objc/objc-act.c (hack_method_prototype): Adjust call to
11314 assign_parms.
11315
11316 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
11317
11318 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
11319 arg_pointer_rtx fixed if the argument pointer register is
11320 not fixed.
11321 (NONZERO_BASE_PLUS_P): Likewise.
11322
11323 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
11324
11325 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
11326 match_insn2 to match_insn.
11327 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
11328
11329 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
11330
11331 * Makefile.in (USER_H): Remove va-foo.h.
11332
11333 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
11334 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
11335 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
11336 va-spur.h,va-v850.h}: Remove.
11337
11338 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
11339
11340 * sparc/sparc.md (eligible_for_return_delay): New attribute.
11341 (in_return_delay): Use it instead of match_insn.
11342
11343 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11344
11345 * config/alpha/va_list.h (va-alpha.h): Do not include.
11346 (__gnuc_va_list): Typedef as in varargs.h.
11347
11348 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
11349
11350 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
11351 DECL_LIVE_RANGE_RTL.
11352
11353 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
11354
11355 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
11356 not NOTE_BLOCK_NUMBER.
11357 (expand_eh_region_end): Likewise.
11358 (find_exception_handler_labels): Likewise.
11359 (scan_region): Likewise.
11360 (exception_optimize): Likewise.
11361 (update_rethrow_references): Likewise.
11362 (set_insn_eh_region): Likewise.
11363 * final.c (final_scan_insn): Likewise.
11364 * flow.c (make_edges): Likewise.
11365 * integrate.c (expand_inline_function): Likewise.
11366 * print-rtl.c (print_rtx): Likewise.
11367
11368 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
11369
11370 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
11371 terms of builtin functions and types.
11372
11373 * mips.c (mips_build_va_list): New.
11374 (mips_va_start, mips_va_arg): New.
11375 * mips.h (BUILD_VA_LIST_TYPE): New.
11376 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
11377
11378 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
11379 (sh_build_va_list, sh_va_start, sh_va_arg): New.
11380 * sh.h (BUILD_VA_LIST_TYPE): New.
11381 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
11382
11383 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
11384
11385 * recog.h (struct recog_data): Make dup_num, operand_address_p,
11386 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
11387 (struct insn_data): Likewise with n_operands, n_dups,
11388 n_alternatives, output_format.
11389 * regclass.c (scan_one_insn): Cast n_operands to int before
11390 arithmetic inside comparison.
11391
11392 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
11393
11394 * toplev.c (compile_function): Unconditionally emit nop.
11395
11396 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11397
11398 * haifa-sched.c (actual_hazard): Move declaration of variable
11399 `this_cost' into the scope where it is used.
11400
11401 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11402
11403 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
11404 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
11405 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
11406
11407 * genrecog.c (make_insn_sequence): Call memset, not bzero.
11408
11409 * jump.c (find_insert_position): Don't declare or define unless
11410 !HAVE_conditional_arithmetic.
11411 (returnjump_p_1, delete_prior_computation): Add static prototypes.
11412
11413 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
11414
11415 * recog.c (offsettable_address_p): Prototype function pointer.
11416 (preprocess_constraints): Call memset, not bzero.
11417
11418 * tree.c (tree_node_kind_names): Constify a char*. Make static.
11419 (gcc_obstack_init): Don't declare.
11420 (fix_sizetype): Add static prototype.
11421 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
11422 (tree_cons): Call memset, not bzero.
11423
11424 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
11425 definition in macro ASM_WEAKEN_LABEL.
11426 (mark_const_hash_entry): Add static prototype.
11427
11428 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11429
11430 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
11431
11432 * unroll.c (find_common_reg_term, subtract_reg_term,
11433 loop_find_equiv_value): Add static prototypes.
11434 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
11435 (copy_loop_body): Remove unreachable break statement.
11436
11437 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
11438
11439 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
11440
11441 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11442
11443 Undo some changes from the gcc2 merge:
11444 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
11445 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
11446 pointers.
11447
11448 Undo this change:
11449 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
11450 * emit-rtl.c (gen_lowpart_common): Disable optimization of
11451 initialized float-int union if the value is a NaN.
11452
11453 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
11454
11455 * gthr-win32.h: New file.
11456
11457 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
11458 shared as a valid attribute.
11459 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
11460 * extend.texi: Document `shared' variable attribute.
11461
11462 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
11463
11464 * configure.in: Handle --enable-threads on FreeBSD.
11465 * configure: Rebuit.
11466
11467 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11468
11469 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
11470 thread support.
11471 * configure: Rebuilt.
11472
11473 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
11474 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
11475 Rosimildo DaSilva <rdasilva@connecttel.com>
11476
11477 * configure.in (m68k-*-rtemscoff*): Added.
11478 * configure.in (mips64orion-*-rtems*): Converted to ELF.
11479 * configure.in (sparc-*-rtemsaout*): Added as alias for old
11480 sparc-rtems configuration.
11481 * configure.in (sparc-*-rtemself*): Added.
11482 * configure.in (sparc-*-rtems*): Now ELF not a.out.
11483 * config/i386/rtems.h: Added comment.
11484 * config/sparc/rtemself.h: New file.
11485
11486 * configure.in (m68k-rtemself): Added.
11487 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
11488 and DWARF_DEBUGGING_INFO.
11489 * config/m68k/crti.s: New file.
11490 * config/m68k/crtn.s: New file.
11491 * config/m68k/t-crtstuff: New file.
11492 * config/m68k/rtemself.h: New file.
11493
11494 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
11495 global ctor/dtor and C++ exception handling.
11496 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
11497 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
11498 ENDFILE_SPEC.
11499 * config/i386/t-rtems-i386: New File.
11500
11501 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
11502
11503 * stmt.c (expand_end_case): Return right away if the case stack is
11504 empty.
11505
11506 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
11507
11508 * Makefile.in (version.c): Remove rule incorrectly brought in from
11509 the gcc2 merge.
11510
11511 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
11512
11513 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
11514 * msdos/top.sed: Take into account a prepended $(SHELL) to
11515 move-if-change.
11516 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
11517
11518 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
11519
11520 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11521
11522 * regmove.c (fixup_match_1): Don't change an unchanging register.
11523 (stable_but_for_p): Renamed to:
11524 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
11525 Changed all callers.
11526
11527 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
11528
11529 * loop.c (strength_reduce): Don't call reg_used_between_p if the
11530 insn from BL2 is after the insn from BL.
11531
11532 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
11533
11534 * recog.h (INSN_OUTPUT_FORMAT_*): New.
11535 (struct insn_data): Merge `template' and `outfun' into `output'.
11536 Add `output_format'.
11537 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
11538 (struct data): Remove `outfun'; add `output_format'.
11539 (name_for_index): Remove declaration.
11540 (output_insn_data): Handle output formats.
11541 (process_template): Emit the bare array for @.
11542 (gen_expand, gen_split): Set output_format to NONE.
11543 * output.h (get_insn_template): Declare.
11544 * final.c (get_insn_template): New.
11545 (final_scan_insn): Use it.
11546 * toplev.c (compile_file): Likewise.
11547
11548 * c4x/c4x.c (c4x_process_after_reload): Likewise.
11549 * i860/i860.c (output_delayed_branch): Likewise.
11550 (output_delay_insn): Likewise.
11551
11552 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11553
11554 * rtl.c (obstack_alloc_rtx): Removed.
11555
11556 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
11557
11558 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
11559
11560 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
11561
11562 * i386.c (call_insn_operand): Reject const_int.
11563 (expander_call_insn_operand): Use call_insn_operand.
11564
11565 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11566
11567 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
11568
11569 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
11570
11571 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
11572 Use DImode operation.
11573
11574 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
11575
11576 * gcc.c: Include sys/resource.h.
11577 (report_times): New flag.
11578 (execute): If report_times is set, calculate and report the
11579 CPU time consumed by each subprocess.
11580
11581 (rus, prus): New globals.
11582 (option_map): Add --time.
11583 (display_help): Document -time.
11584 (process_command): Set report_times if -time is given.
11585 Turn off -pipe if -time is given.
11586
11587 * invoke.texi: Document new option -time.
11588
11589 * configure.in: Check for getrusage. Check if we have to
11590 prototype getrusage.
11591 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
11592 * configure: Regenerate.
11593 * config.in: Regenerate.
11594
11595 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
11596
11597 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
11598 fields.
11599
11600 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
11601
11602 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
11603 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
11604 (nan): Return _thenan_sf or _thenan_df as appropriate.
11605 (L_thenan_sf): Define _thenan_sf.
11606 (L_thenan_df): Define _thenan_df.
11607
11608 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
11609 (DPBIT_FUNCS): Add _thenan_df.
11610
11611 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
11612
11613 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
11614 TYPE_SIZE_UNIT.
11615
11616 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11617
11618 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
11619
11620 * gcc.h: New file.
11621 (lang_specific_driver): Don't take a function pointer parameter.
11622 All callers changed.
11623
11624 * gcc.c: Include gcc.h.
11625 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
11626 lang_specific_extra_outfiles, fatal): Don't declare.
11627 (multilib_defaults_raw): Constify.
11628 (read_specs): Call memset, rather than bzero.
11629 (main): Call return, not exit.
11630 (lookup_compiler): Call memcpy, not bcopy.
11631 (fatal): Make extern.
11632
11633 * cppspec.c: Include gcc.h.
11634 (lang_specific_driver): Initialize variable `quote'. Constify a
11635 char*. All calls to the function pointer parameter now
11636 explicitly call `fatal'.
11637
11638 * gccspec.c (lang_specific_driver): Include gcc.h.
11639
11640 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
11641
11642 * arm.c (note_invalid_constants): Use recog_data.operand_type
11643 for recog_op_type.
11644
11645 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11646
11647 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
11648 Declare.
11649
11650 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
11651 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
11652 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
11653 reload_secondary_in_reload, reload_secondary_out_reload,
11654 reload_secondary_in_icode, reload_secondary_out_icode,
11655 reload_reg_rtx, reload_when_needed): Delete declarations.
11656 (struct reload): New structure.
11657 (rld): Declare new array.
11658 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
11659 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
11660 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
11661 reload_secondary_in_reload, reload_secondary_out_reload,
11662 reload_secondary_in_icode, reload_secondary_out_icode,
11663 reload_reg_rtx, reload_when_needed): Delete definitions.
11664 (rld): New array.
11665 (whole file): Replace uses of the deleted arrays with uses of rld.
11666 * reload1.c (whole file): Replace uses of the deleted arrays with
11667 uses of rld.
11668 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
11669 explicit loops, not with bcopy.
11670
11671 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
11672
11673 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
11674 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
11675 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
11676 insn_name): Delete and consolidate into new structures.
11677 (insn_operand_predicate_fn): New.
11678 (insn_output_fn): New.
11679 (insn_gen_fn): New.
11680 (struct insn_operand_data): New.
11681 (struct insn_data): New.
11682 (insn_data): New.
11683 (OUT_FCN): Update for insn_data change.
11684 * builtins.c (expand_builtin_strlen): Likewise.
11685 (expand_builtin_memcmp): Likewise.
11686 * combine.c (make_extraction, simplify_comparison): Likewise.
11687 * cse.c (canon_reg, cse_insn): Likewise.
11688 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
11689 * expmed.c (store_bit_field, extract_bit_field): Likewise.
11690 (emit_store_flag): Likewise.
11691 * expr.c (convert_move, emit_block_move): Likewise.
11692 (clear_storage, emit_push_insn, expand_increment): Likewise.
11693 (do_store_flag): Likewise.
11694 * expr.h (GEN_FCN): Likewise.
11695 (insn_gen_function): Die.
11696 * final.c (final_scan_insn): Update for insn_data change.
11697 (output_asm_name): Likewise.
11698 * function.c (fixup_var_refs_1): Likewise.
11699 * loop.c (check_dbra_loop): Likewise.
11700 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
11701 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
11702 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
11703 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
11704 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
11705 * regmove.c (gen_add3_insn): Likewise.
11706 * reload.c (push_secondary_reload, combine_reloads): Likewise.
11707 (find_reloads, find_reloads_address_1): Likewise.
11708 (debug_reload_to_stream): Likewise.
11709 * reload1.c (emit_reload_insns, gen_reload): Likewise.
11710 * stmt.c (expand_end_case): Likewise.
11711 * toplev.c (compile_file): Likewise.
11712
11713 * c4x/c4x.c (c4x_process_after_reload): Likewise.
11714 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
11715
11716 * print-rtl.c (insn_name_ptr): Remove declaration.
11717 (get_insn_name): Declare.
11718 (print_rtx): Use it.
11719 * genoutput.c (insn_name_ptr): Remove.
11720 (next_operand_number): New.
11721 (struct operand_data): New.
11722 (null_operand, odata, odata_end): New.
11723 (struct data): Use struct operand_data.
11724 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
11725 (get_insn_name): Renamed from name_for_index.
11726 (output_prologue): Define NO_MD_PROTOTYPES.
11727 (output_predicate_decls): Break out from output_epilogue.
11728 Iterate over the operands list.
11729 (output_operand_data): Break out from output_epilogue. Emit
11730 just the operands list.
11731 (output_insn_data): Break out from output_epilogue. Emit just
11732 the insn data.
11733 (output_epilogue): Remove.
11734 (output_get_insn_name): New.
11735 (constraints, op_n_alternatives, predicates, address_p): Die.
11736 (modes, strict_low, seen): Die.
11737 (scan_operands): Take new param `d' instead of writing to
11738 seven global variables.
11739 (compare_operands): New.
11740 (place_operands): New.
11741 (validate_insn_alternatives): Update for struct data change.
11742 (gen_insn): Don't zero or copy 7 global arrays. Update for
11743 scan_operands; call place_operands.
11744 (gen_peephole, gen_expand, gen_split): Likewise.
11745 (main): Update for new output routines.
11746
11747 * genattr.c (insn_name_ptr): Remove.
11748 (get_insn_name): New function.
11749 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
11750 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
11751 * genrecog.c: Likewise.
11752
11753 * alpha.md (adddi3): Make `pattern' array static.
11754
11755 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11756
11757 * config/c4x/c4x.h (c4x_rpts_cycles_string,
11758 c4x_cpu_version_string): Constify char *.
11759 * config/c4x/c4x.c (c4x_rpts_cycles_string,
11760 c4x_cpu_version_string): Likewise.
11761
11762 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
11763
11764 * tree.c (save_tree_status): Revert 10 Sep change.
11765 (restore_tree_status): Likewise. Call obstack_free with NULL
11766 before freeing the obstack proper.
11767
11768 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
11769
11770 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
11771
11772 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
11773 surrounding context.
11774
11775 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
11776
11777 * tree.c (type_hash_canon): Put all types in the hash-table, when
11778 GC'ing.
11779
11780 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
11781
11782 * recog.h (struct recog_data, recog_data): New.
11783 (recog_foo variables): Kill.
11784 * recog.c (recog_operand, recog_operand_loc): Kill.
11785 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
11786 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
11787 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
11788 (recog_data): Define.
11789 (extract_insn): Update all recog_foo references to use recog_data.
11790 (preprocess_constraints, constrain_operands): Likewise.
11791 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
11792 * genattrtab.c (main): Likewise.
11793 * genextract.c (main): Likewise.
11794 * genoutput.c: Likewise.
11795 * genrecog.c (write_subroutine, main): Likewise.
11796 * local-alloc.c (block_alloc): Likewise.
11797 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
11798 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
11799 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
11800 * reload.c (find_reloads, find_reloads_toplev): Likewise.
11801 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
11802 (reload_cse_simplify_operands): Likewise.
11803
11804 * arc/arc.c (arc_final_prescan_insn): Likewise.
11805 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
11806 * h8300/h8300.c (notice_update_cc): Likewise.
11807 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
11808 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
11809 * mn10200/mn10200.c (notice_update_cc): Likewise.
11810 * mn10300/mn10300.c (notice_update_cc): Likewise.
11811 * romp/romp.c (update_cc): Likewise.
11812 * sparc/sparc.c (check_pic): Likewise.
11813 * v850/v850.c (notice_update_cc): Likewise.
11814
11815 * genemit.c (main): Don't declare recog_operand.
11816
11817 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
11818
11819 * ggc.h (rtvec_def): Forward declare.
11820 (tree_node): Likewise.
11821 (ggc_root): Define.
11822 (roots): Declare.
11823 (ggc_set_mark_rtx): Add prototype.
11824 (ggc_set_mark_rtvec): Likewise.
11825 (ggc_set_mark_tree): Likewise.
11826 * ggc-simple.c (ggc_root): Don't define.
11827 (roots): Don't declare.
11828 (ggc_mark_rtx): Remove.
11829 (ggc_mark_rtvec): Likewise.
11830 (ggc_mark_tree): Likewise.
11831 (ggc_mark_varray): Likewise.
11832 (ggc_mark_tree_hash_table_entry): Likewise.
11833 (ggc_mark_tree_hash_table): Likewise.
11834 (ggc_set_mart_rtx): New function.
11835 (ggc_set_mark_rtvec): Likewise.
11836 (ggc_set_mark_tree): Likewise.
11837 (ggc_add_root): Remove.
11838 (ggc_add_rtx_root): Likewise.
11839 (ggc_remove_tree_root): Likewise.
11840 (ggc_add_string_root): Likewise.
11841 (ggc_add_tree_varray_root): Likewise.
11842 (ggc_add_tree_hash_table_root): Likewise.
11843 (ggc_del_root): Likewise.
11844 (ggc_mark_rtx_ptr): Likewise.
11845 (ggc_mark_tree_ptr): Likewise.
11846 (ggc_mark_string_ptr): Likewise.
11847 (ggc_mark_tree_varray_ptr): Likewise.
11848 (ggc_mark_tree_hash_table_ptr): Likewise.
11849 * ggc-common.c: New file.
11850 * Makefile.in (OBJS): Add ggc-common.o.
11851 (ggc-common.o): List dependencies.
11852
11853 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
11854
11855 * cppalloc.c (xstrdup): Use memcpy.
11856 * cpperror.c (cpp_print_containing_files): Don't use
11857 cpp_notice.
11858 * cpplib.c (conditional_skip): Set temp->lineno.
11859 (do_endif): Make error message less obscure.
11860 (if_directive_name): New function.
11861 (cpp_get_token [case EOF]): Unwind the if stack and generate
11862 error messages for each unterminated conditional in this file.
11863 (parse_string): Do not behave differently if -traditional.
11864
11865 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
11866
11867 * builtins.c (expand_builtin_va_arg): Cope with an array-type
11868 va_list decomposing to pointer-type.
11869 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
11870 (rs6000_va_arg): Likewise.
11871
11872 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
11873
11874 * except.c (start_dynamic_handler): Compute size using
11875 STACK_SAVEAREA_MODE.
11876
11877 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11878
11879 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
11880 include directory headers. Don't define strrchr. Don't provide
11881 my_* replacement functions. Prefer PTR over `pointer_type'.
11882 Don't prototype system functions. Don't redefine getopt.
11883
11884 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
11885 safe_read, safe_write, save_pointers, restore_pointers,
11886 is_id_char, in_system_include_dir, directory_specified_p,
11887 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
11888 find_corresponding_lparen, referenced_file_is_newer,
11889 save_def_or_dec, munge_compile_params, gen_aux_info_file,
11890 process_aux_info_file, identify_lineno, check_source,
11891 seek_to_line, forward_to_next_token_char, output_bytes,
11892 output_string, output_up_to, other_variable_style_function,
11893 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
11894 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
11895 find_static_definition, connect_defs_and_decs, add_local_decl,
11896 add_global_decls, needs_to_be_converted, visit_each_hash_node,
11897 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
11898 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
11899 scan_for_missed_items, edit_file, string_list_cons): Add static
11900 prototypes.
11901 (standard_exec_prefix, target_machine, target_version,
11902 default_syscalls_dir, string_list, string_list_cons, find_file,
11903 do_cleaning): Constify a char*.
11904 (safe_read, safe_write): Use PTR, not a char*.
11905 (is_id_char): Take an int, not a char.
11906 (main): Add prototype. Call return, not exit.
11907
11908 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
11909
11910 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
11911 when comparing types.
11912
11913 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
11914
11915 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
11916 (strength_reduce): Release the varrays from the no-bivs early exit.
11917
11918 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
11919 the loop over the registers.
11920
11921 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
11922 for a new obstack.
11923 (restore_tree_status): Check that instead when freeing the obstack.
11924
11925 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
11926
11927 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
11928 as pointers.
11929
11930 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11931
11932 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
11933 operand size modifiers.
11934
11935 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11936
11937 * c-common.c (c_common_nodes_and_builtins): Don't build
11938 va_list_type_node.
11939 * c-common.h (enum c_tree_index and related accesor macros): Remove
11940 everything now declared in tree.h.
11941 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
11942 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
11943 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
11944 (error_mark_node, void_type_node, char_type_node, integer_type_node,
11945 unsigned_type_node, ptr_type_node, va_list_type_node,
11946 integer_zero_node, null_pointer_node, integer_one_node): Delete.
11947 (init_decl_processing): Call build_common_tree_nodes and
11948 build_common_tree_nodes_2 instead of building their nodes here.
11949 Don't add roots for these nodes.
11950 * stor-layout.c (size_zero_node, size_one_node): Delete.
11951 (set_sizetype): Make a new node for bitsizetype each time.
11952 * tree.c (global_trees): New variable.
11953 (init_obstacks): Add a gc root for it.
11954 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
11955 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
11956 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
11957 (build_common_tree_nodes): New function.
11958 (fix_sizetype): New function.
11959 (build_common_tree_nodes_2): New function.
11960 * tree.h (enum tree_index): New.
11961 (global_trees): Declare.
11962 Add accessor macros for all nodes now moved to global_trees.
11963 Delete their declarations.
11964
11965 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
11966
11967 * c-decl.c (finish_function): When processing a nested function,
11968 push and pop GC context around rest_of_compilation.
11969
11970 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
11971
11972 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
11973 Default ix86_arch to PROCESSOR_I386.
11974 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
11975 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
11976 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
11977 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
11978 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
11979 (EXTRA_SPECS): Remove deleted specs.
11980
11981 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
11982
11983 * function.c (assign_stack_local_1): Allocate from
11984 function->x_frame_offset, not frame_offset.
11985
11986 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
11987
11988 * ggc.h (lang_cleanup_tree): Remove.
11989 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
11990 * ggc-callbacks.c (lang_cleanup_tree): Remove.
11991
11992 * c-decl.c (finish_struct): Use ggc_alloc to allocate
11993 TYPE_LANG_SPECIFIC when garbage collecting.
11994 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
11995 (lang_cleanup_tree): Remove.
11996
11997 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
11998
11999 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
12000 * crtstuff.c: Not here.
12001 * dwarf2out.c: Or here.
12002 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
12003 info.
12004
12005 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
12006
12007 * function.h (free_after_compilation): Remove decl parameter.
12008 (free_varasm_status0: Likewise.
12009 (free_emit_status): Likewise.
12010 (free_stmt_status): Likewise.
12011 (free_after_compilation): Likewise.
12012 (init_lang_status): New variable.
12013 (free_lang_status): Likewise.
12014 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
12015 * function.c (init_lang_status): New variable.
12016 (free_lang_status): Likewise.
12017 (push_function_context_to): Don't set function::decl here.
12018 (free_after_copmilation): Make decl parameter implicit. Call
12019 free_lang_status if defined.
12020 (prepare_function_start): Call init_lang_status if defined.
12021 (init_function_start): Set function::decl here.
12022 * profile.c (output_func_start_profiler): Don't call pushdecl
12023 until we've actually started the function.
12024 * stmt.c (free_stmt_status): Make decl parameter implicit.
12025 * toplev.c (rest_of_compilation): Don't pass decl to
12026 free_after_compilation.
12027 * varasm.c (free_varasm_status): Likewise.
12028
12029 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12030
12031 * except.c (call_get_eh_context): Add root when allocating static
12032 tree variable.
12033
12034 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
12035
12036 * arm.c: Include "ggc.h".
12037 (arm_add_gc_roots): New function.
12038 (arm_override_options): Call it.
12039 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
12040
12041 * arm.md (define_asm_attributes): Add a pool_range attribute.
12042
12043 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
12044
12045 * extend.texi (Volatiles): New node.
12046
12047 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
12048
12049 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
12050 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
12051 (struct ggc_any): Replace `mark' with `magic_mark'.
12052 (ggc_alloc_string): Use memcpy, not bcopy.
12053 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
12054 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
12055 (ggc_free_any): New.
12056 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
12057 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
12058 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
12059 Use IS_MARKED. Use ggc_free_any.
12060
12061 1999-09-09 Scott Bambrough <scottb@netwinder.org>
12062
12063 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
12064
12065 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
12066
12067 * toplev.c (main): Always init_ggc.
12068
12069 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
12070
12071 * except.c (find_all_handler_type_matches): Free the list if
12072 we found no matches.
12073
12074 * combine.c (SUBST): Break out to a real function do_SUBST.
12075 (SUBST_INT): Likewise.
12076 * gcse.c (free_pre_mem): Free `temp_bitmap'.
12077 (pre_insert): Free `inserted'.
12078 * loop.c (basic_induction_var): Always set `location'.
12079
12080 * function.c (expand_function_end): Add initial_trampoline as a root.
12081 * rtl.h (init_varasm_once): Declare.
12082 * toplev.c (compile_file): Call it.
12083 * ggc-simple.c (ggc_mark_string_ptr): New.
12084 (ggc_add_string_root): New.
12085 (ggc_collect): Disable collection avoidance temporarily.
12086 * ggc.h (ggc_add_string_root): Declare.
12087 * except.c (create_rethrow_ref): Use ggc_alloc_string.
12088 * optabs.c (init_libfuncs): Likewise.
12089 * varasm.c (named_section): Use ggc_alloc_string.
12090 (make_function_rtl): Likewise.
12091 (make_decl_rtl): Likewise.
12092 (assemble_static_space): Likewise.
12093 (assemble_trampoline_template): Likewise.
12094 (output_constant_def): Likewise.
12095 (force_const_mem): Likewise.
12096 (mark_const_hash_entry): New.
12097 (mark_pool_sym_hash_table): New.
12098 (mark_varasm_state): Use it.
12099 (init_varasm_once): New.
12100
12101 * expr.h (init_one_libfunc): Declare.
12102 * optabs.c (init_one_libfunc): New.
12103 (init_optabs): Use it.
12104 * config/gofast.h: Likewise.
12105 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
12106 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
12107
12108 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
12109
12110 * Makefile.in (cppexp.o): Depend on cpphash.h.
12111 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
12112 Include cpphash.h.
12113 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
12114 * cpplib.c (do_define): Generalise to handle poisoned definitions,
12115 redefining poisoned identifiers, etc.
12116 (do_undef): Don't allow poisoned identifiers to be undefined.
12117 (do_pragma): Add #pragma poison.
12118 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
12119
12120 * cccp.c: Add T_POISON node type.
12121 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
12122 poisoned xxx.
12123 (do_define): Generalise to handle poisoned definitions,
12124 redefining poisoned identifiers, etc.
12125 (do_undef): Don't allow poisoned identifiers to be undefined.
12126 (do_pragma): Add #pragma poison.
12127 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
12128
12129 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
12130 * c-pragma.h: Add ps_poison state. We now always have generic
12131 pragmas.
12132
12133 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
12134
12135 * ggc.h (ggc_alloc): New function.
12136 (ggc_mark): Likewise.
12137 * ggc-simple.c (ggc_any): New structure.
12138 (ggc_status): Add anys.
12139 (n_anys_collected): New variable.
12140 (ggc_alloc): Define.
12141 (ggc_mark): Likewise.
12142 (ggc_collect): Collect the anys.
12143
12144 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12145
12146 * c-decl.c (mark_binding_level): Make static to match prototype.
12147
12148 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
12149
12150 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
12151
12152 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
12153
12154 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
12155 will use into account. Expand the max width to 5.
12156 * rtl.c: Likewise.
12157
12158 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
12159
12160 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
12161 for the rtx length.
12162
12163 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
12164
12165 * alpha.md (call value patterns): Remove the result predicates.
12166
12167 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
12168
12169 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
12170 last change.
12171
12172 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12173
12174 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
12175 changed from extern char *, to extern PTR. Also fix typo in
12176 NEED_DECLARATION_REALLOC test.
12177
12178 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
12179
12180 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12181
12182 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
12183 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
12184 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
12185 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
12186
12187 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
12188
12189 * cccp.c (pcfinclude): Likewise.
12190
12191 * global.c (allocno_compare): Likewise.
12192
12193 * haifa-sched.c (rank_for_schedule): Likewise.
12194
12195 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
12196
12197 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
12198
12199 * stupid.c (stupid_reg_compare): Likewise.
12200
12201 * tree.c (_obstack_allocated_p): Likewise.
12202
12203 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
12204
12205 1999-09-08 Bruce Korb autogen@linuxbox.com
12206
12207 * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
12208 why "gperf -F" fails.
12209 * gcc/cp/Makefile.in: ditto
12210 * gcc/Makefile.in: ditto
12211 * gcc/java/Makefile.in: ditto
12212
12213 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
12214
12215 * lists.c: Include ggc.h.
12216 (zap_lists): New.
12217 (init_EXPR_INSN_LIST_cache): Install it.
12218
12219 * ggc-simple.c (init_ggc): Absorb the old init.
12220 (ggc_push_context): Use xcalloc.
12221 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
12222 (ggc_collect): Add [rvts] tags to the collection stats.
12223
12224 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
12225
12226 * cccp.c (main): Fix handling of -include and -imacros options.
12227
12228 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
12229
12230 * cpplib.c (cpp_push_buffer): Fix order of arguments.
12231
12232 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
12233
12234 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
12235 genrtl.c.
12236
12237 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
12238
12239 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
12240 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
12241 and SET_DEST. Update comment.
12242
12243 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12244
12245 * config/c4x/c4x.c: Include ggc.h.
12246 (c4x_add_gc_roots): New function.
12247 (c4x_override_options): Call c4x_add_gc_roots.
12248
12249 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
12250
12251 * defaults.h (TARGET_ESC): Move ...
12252 * system.h: ... here, where Linas had it in the first place. Silly me.
12253
12254 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
12255
12256 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
12257 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
12258 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
12259 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
12260 * defaults.h (TARGET_ESC): Add default.
12261
12262 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
12263
12264 * configure.in: add i370-*-openedition, i370-*-mvs and
12265 i370-*-linux targets
12266
12267 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
12268
12269 * dsp16xxx.c: Include ggc.h
12270 (override_options): Mark GC roots.
12271 * mn10200.c: Include ggc.h.
12272 (asm_file_start): Mark GC roots.
12273 * tahoe.c: Include ggc.h.
12274 (extensible_operand): Mark GC roots.
12275
12276 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
12277
12278 * README: Add section discussing status of ELF ABI.
12279 * i370.c: Fix misc spelling mistakes.
12280 (i370_label_scan): Updated notes, exception handling.
12281 (i370_function_prolog): Simplify ELF stack handling.
12282 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
12283 (STACK_GROWS_DOWNWARD): ELF stack grows down.
12284 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
12285 * i370.md: (movdi): Add notes.
12286 (floatsidf2): Use stack not rtca for scratch float area.
12287 (iorsi3): Correct operand constraints.
12288 * x-oe: Restore TAROUTOPTS which are used by pax.
12289
12290 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
12291
12292 * rs6000.c: Include ggc.h.
12293 (rs6000_add_gc_roots): New function.
12294 (override_options): Call it.
12295
12296 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
12297
12298 * alpha.h (alpha_compare): New.
12299 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
12300 * alpha.c: Likewise for the definitions.
12301 (alpha_emit_conditional_branch): Update for alpha_compare.
12302 (alpha_emit_conditional_move): Likewise.
12303 * alpha.md (cmpdf, cmpdi): Likewise.
12304 (setcc patterns): Likewise. Zero alpha_compare after use.
12305 (sne): Optimize (x != 0) into (0U < x).
12306
12307 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
12308
12309 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
12310 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
12311 (INIT_EXPANDERS): Remove.
12312 * alpha.c: Include ggc.h.
12313 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
12314 (alpha_init_machine_status, alpha_mark_machine_status): New.
12315 (override_options): Install them.
12316 (struct machine_function): Moved to alpha.h.
12317 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
12318 (alpha_init_expanders): Remove.
12319 (alpha_return_addr): Adjust to use current_function->machine.
12320 (alpha_ra_ever_killed): Likewise.
12321 (alpha_expand_epilogue): Likewise.
12322 * alpha.md (eh_epilogue): Likewise.
12323
12324 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
12325 Melissa O'Neill <oneill@cs.sfu.ca>
12326 Geoffrey Keating <geoffk@cygnus.com>
12327
12328 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
12329 call-used registers (call-saved registers must still be contiguous
12330 and end with r31, of course).
12331
12332 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
12333
12334 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
12335 (self_promoting_type_p): Delete.
12336 (self_promoting_args_p): Move ...
12337 * c-common.c: ... here.
12338 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
12339 (simple_type_promotes_to): New.
12340 * builtins.c (lang_type_promotes_to): New.
12341 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
12342 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
12343 * c-common.h: ... here.
12344 (self_promoting_args_p, simple_type_promotes_to): Declare.
12345 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
12346 (grokdeclarator): Likewise.
12347 * tree.h (lang_type_promotes_to): Declare.
12348
12349 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
12350
12351 Add some machine-dependent GC roots.
12352 * sparc.c: Include ggc.h.
12353 (sparc_add_gc_roots): New function.
12354 (mark_ultrasparc_pipeline_state): Likewise.
12355 (override_options): Call sparc_add_gc_roots.
12356 * pa.c: Include ggc.h.
12357 (pa_add_gc_roots): New function.
12358 (mark_deferred_plabels): Likewise.
12359 (override_options): Call pa_add_gc_roots.
12360 * mips.c: Include ggc.h.
12361 (mips_add_gc_roots): New function.
12362 (override_options): Use it.
12363
12364 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12365
12366 * cpperror.c (cpp_file_line_for_message): Constify a char*.
12367
12368 * cppexp.c (parse_number, parse_charconst, cpp_lex,
12369 cpp_parse_expr): Add static prototypes.
12370 (parse_charconst): Don't cast away const-ness.
12371 (token): Constify a char*.
12372
12373 * cppfiles.c (file_name_list, include_hash, find_include_file,
12374 finclude, initialize_input_buffer): Constify a char*.
12375 (file_cleanup, find_position): Add static prototypes.
12376
12377 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
12378 collect_expansion): Add static prototypes.
12379 (cpp_install, create_definition, monthnames): Constify a char*.
12380
12381 * cpphash.h (cpp_install): Likewise.
12382
12383 * cppinit.c (known_suffixes, default_include,
12384 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
12385 (base_name, dump_special_to_buffer, initialize_dependency_output):
12386 Add static prototypes.
12387
12388 * cpplib.c (my_strerror): Constify a char*.
12389 (null_underflow, null_cleanup, skip_comment, copy_comment,
12390 copy_rest_of_line, handle_directive, pass_thru_directive,
12391 get_directive_token, read_line_number, cpp_print_file_and_line,
12392 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
12393 v_cpp_warning_with_line, detect_if_not_defined,
12394 consider_directive_while_skipping): Add static prototypes.
12395 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
12396 cpp_pedwarn_with_file_and_line): Constify a char*.
12397
12398 * cpplib.h (cpp_options, include_hash, progname, definition,
12399 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
12400 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
12401 find_include_file, deps_output, include_hash): Constify a char*.
12402
12403 * cppmain.c (progname): Constify.
12404 (main): Add prototype. Use return, not exit.
12405
12406 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
12407 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
12408 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
12409 check_protection): Add static prototype.
12410 (xfree): Remove.
12411 (progname, recognized_macrom, recognized_extern): Constify a char*.
12412 (main): Add prototype.
12413
12414 * gen-protos.c (progname): Constify a char*.
12415
12416 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
12417
12418 * emit-rtl.c (free_emit_status): Take decl as a parameter.
12419 (init_emit_once): Add more GC roots.
12420 * except.c (mark_func_eh_entry): New function.
12421 (mark_eh_node): Mark false_label and rethrow_label.
12422 (init_eh): Add more GC roots.
12423 * function.c (free_after_compilation): Take decl as a paramter.
12424 Call free_stmt_status.
12425 (mark_function_state): Don't assume x_parm_reg_stack_loc is
12426 non-NULL.
12427 * function.h (free_after_compilation): Change prototype.
12428 (free_varasm_status): Likewise.
12429 (free_emit_status): Likewise.
12430 (free_stmt_status): New function.
12431 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
12432 Remove, replacing with ...
12433 (ggc_status): New structure.
12434 (ggc_chain): New variable.
12435 (init_gcc): Define.
12436 (ggc_push_context): New function.
12437 (ggc_pop_context): Likewise.
12438 (ggc_alloc_rtx): Adjust for use of ggc_chain.
12439 (ggc_alloc_rtvec): Likewise.
12440 (ggc_alloc_tree): Likewise.
12441 (ggc_alloc_string): Likewise.
12442 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
12443 (ggc_mark_tree): Give language-dependent code a chance to mark
12444 `x' nodes.
12445 (ggc_mark_tree_varray): Handle empty arrays.
12446 (ggc_collect): Adjust for use of ggc_chain. Clear
12447 bytes_alloced_since_last_gc.
12448 * ggc.h (ggc_pop_context): New function.
12449 (ggc_push_context): Likewise.
12450 * print-tree.c (print_node): Don't print obstacks when GC'ing.
12451 * stmt.c (free_stmt_status): New function.
12452 (init_stmt_for_function): Clear last_expr_value.
12453 * toplev.c (rest_of_compilation): Always call free_after_compilation.
12454 Conditionalize call to ggc_collect.
12455 (main): Call init_ggc.
12456 * tree.c (push_obstacks): Do the push, even when GC'ing.
12457 (push_obstacks_nochange): Likewise.
12458 (pop_obstacks): Liekwise.
12459 * varasm.c (free_varasm_status): Take decl as a parameter.
12460
12461 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
12462
12463 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
12464 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
12465 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
12466 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
12467
12468 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
12469
12470 * pa/x-pa-mpeix: New file for the MPE port.
12471
12472 * pa/quadlib.asm: New file for long double support.
12473
12474 * configure.in: Add hppa1.0-*-mpeix for MPE port.
12475 * configure: Rebuilt.
12476
12477 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
12478
12479 * final.c (shorten_branches): Fix last change.
12480
12481 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
12482
12483 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
12484
12485 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
12486
12487 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
12488 details.
12489
12490 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12491
12492 * c-aux-info.c (concat): Don't define.
12493
12494 * cccp.c (my_strerror): Likewise. All callers changed to use
12495 xstrerror instead.
12496 (do_include): Call xstrdup, not xmalloc/strcpy.
12497 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
12498 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
12499
12500 * collect2.c (my_strsignal): Likewise. All callers changed to use
12501 strsignal instead.
12502 (locatelib): Call xstrdup, not xmalloc/strcpy.
12503
12504 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
12505
12506 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
12507
12508 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
12509
12510 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
12511
12512 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
12513
12514 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
12515
12516 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
12517 malloc/realloc.
12518 (find_all_handler_type_matches): Likewise. Don't check return
12519 value.
12520 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
12521 xmalloc, not malloc.
12522 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
12523
12524 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
12525 (init_spec): Call xcalloc, not xmalloc/bzero.
12526 (set_spec): Call xstrdup, not save_string.
12527 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
12528 (find_a_file): Call xstrdup, not xmalloc/strcpy.
12529 (process_command): Call xstrdup, not save_string.
12530 (main): Call xcalloc, not xmalloc/bzero.
12531
12532 * gcov.c (xmalloc): Don't define.
12533 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
12534 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
12535 (output_data): Call xcalloc, not xmalloc/bzero.
12536
12537 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
12538
12539 * mips-tdump.c (xmalloc): Don't define.
12540 (print_symbol): Call xmalloc, not malloc.
12541 (read_tfile): Call xcalloc, not calloc.
12542
12543 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
12544 Don't define. All callers of xfree/my_strsignal changed to use
12545 free/strsignal instead.
12546 (allocate_cluster): Call xcalloc, not calloc.
12547
12548 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
12549 Fix memory leak, free allocated memory.
12550
12551 * prefix.c (translate_name): Call xstrdup, not save_string.
12552 (update_path): Likewise.
12553
12554 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
12555
12556 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
12557 Don't define. Callers of xfree/savestring2 changed to use
12558 free/concat instead.
12559
12560 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
12561 (init_elim_table): Likewise.
12562
12563 * resource.c (init_resource_info): Likewise.
12564
12565 * stupid.c (stupid_life_analysis): Likewise.
12566
12567 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
12568 (open_dump_file): Call concat, not xmalloc/strcpy/...
12569 (clean_dump_file): Likewise.
12570 (compile_file): Call xstrdup, not xmalloc/strcpy.
12571
12572 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
12573
12574 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
12575 * v850.c (v850_va_arg): New.
12576
12577 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12578
12579 * haifa-sched.c: Tidy comments.
12580
12581 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12582
12583 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
12584 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
12585 $(out_object_file)): Depend on ggc.h.
12586 * c-common.c: Include "ggc.h".
12587 (combine_strings): If doing GC, use ggc_alloc_string.
12588 * c-decl.c: Include "ggc.h".
12589 (ggc_p): Define with value 0.
12590 (mark_binding_level): New function.
12591 (init_decl_processing): Add GC roots.
12592 (mark_c_function_context): New function.
12593 (lang_mark_false_label_stack): New function.
12594 (lang_mark_tree): New function.
12595 (lang_cleanup_tree): New function.
12596 * c-lang.c: Include "ggc.h".
12597 (lang_init): Call c_parse_init.
12598 * c-lex.c: Include "ggc.h".
12599 (check_linenum): If doing GC, don't copy filenames to permanent
12600 obstack.
12601 * c-parse.in: Include "ggc.h".
12602 (c_parse_init): New function.
12603 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
12604 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
12605
12606 * except.c (mark_eh_state): Mark more state.
12607 * function.c (mark_function_state): Likewise.
12608 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
12609 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
12610 * toplev.c (mark_file_stack): New function.
12611 (compile_file): If doing GC, use ggc_alloc_string on input filename.
12612 (main): Add root for input_file_stack.
12613
12614 * i386.c: Include "ggc.h".
12615 (ix86_mark_machine_status): New function.
12616 (override_options): Set mark_machine_status.
12617
12618 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12619
12620 * tree.c (copy_node): Copy node contents also if doing GC.
12621
12622 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
12623
12624 * collect2.c (scan_libraries): Fix double-thinko :-).
12625
12626 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
12627
12628 * collect2.c (scan_libraries): Fix thinko.
12629
12630 * cse.c (delete_trivially_dead_insns): Do not skip the last
12631 insn if it is a real insn.
12632
12633 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
12634
12635 * Makefile.in (ggc-simple.o): Depend on hash.h.
12636 * ggc.h (ggc_add_tree_hash_table_root): Declare.
12637 (ggc_mark_tree_varray): Likewise.
12638 (ggc_mark_tree_hash_table): Likewise.
12639 * ggc-simple.c: Include hash.h.
12640 (ggc_mark_tree_hash_table_ptr): New function.
12641 (ggc_mark_tree_hash_table_entry): Likewise.
12642 (ggc_mark_tree_hash_table): Likewise.
12643 (ggc_add_tree_hash_table_root): Likewise.
12644 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
12645 rtx, when defining fields.
12646
12647 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
12648
12649 * profile.c (output_func_start_profiler): Remove apparently
12650 nonsensical call to start_sequence.
12651
12652 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
12653
12654 * clipper/clipper.c (clipper_va_start): Fix typos.
12655
12656 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
12657 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
12658 (spur_va_arg): New stub.
12659
12660 * configure.in: Comment out pyramid.
12661
12662 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
12663
12664 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
12665 don't conflict with the bits that win32, cygwin, and dgux
12666 defines.
12667
12668 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
12669 Bernd Schmidt <bernds@cygnus.co.uk>
12670
12671 * integrate.c (function_cannot_inline_p): Do not inline
12672 functions with forced labels.
12673
12674 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
12675 Bernd Schmidt <bernds@cygnus.co.uk>
12676 Mark Mitchell <mark@codesourcery.com>
12677
12678 * Makefile.in (ggc-simple.o): Depend on varray.h.
12679 (rtl.o): Depend on ggc.h.
12680 (genattrtab.o): Depend on ggc.h.
12681 (print-tree.o): Likewise.
12682 (fold-const.o): Likewise.
12683 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
12684 (make_insn_raw): Don't cache insns when GC'ing.
12685 (emit_insn_before): Likewise.
12686 (emit_insn_after): Likewise.
12687 (emit_insn): Likewise.
12688 (start_sequence): Use xmalloc to allocate the sequence_stack.
12689 (end_sequence): Add free to free it.
12690 (gen_sequence): Don't cache insns when GC'ing.
12691 (clear_emit_caches): Don't use sequence_element_free_list.
12692 (init_emit): Use xcalloc, not xmalloc+bzero.
12693 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
12694 * function.c (pop_function_context_from): Use free to free the
12695 fixup_var_refs_queue.
12696 (put_reg_into_stack): Allocate it with xmalloc.
12697 * genattrtab.c: Include ggc.h.
12698 (operate_exp): Don't use obstack_free when GC'ing.
12699 (simplify_cond): Likewise.
12700 (simplify_text_exp): Likewise.
12701 (optimize_attrs): Likewise.
12702 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
12703 GC'ing.
12704 (gencode): Generate a #include for ggc.h.
12705 * ggc-callbacks.c (ggc_p): Define it to zero.
12706 * ggc-none.c (ggc_p): Likewise.
12707 * ggc-simple.c: Include varray.h.
12708 (ggc_mark_tree_varray): New function.
12709 (ggc_add_tree_varray_root): Likewise.
12710 (ggc_mark_tree_varray_ptr): Likewise.
12711 * ggc.h (ggc_p): Declare.
12712 (varray_head_tag): Likewise.
12713 (ggc_add_tree_varray_root): Declare.
12714 * print-tree.c (print_node): Don't check for TREE_PERMANENT
12715 inconsistencies when GC'ing.
12716 * rtl.c: Include ggc.h.
12717 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
12718 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
12719 (rtx_free): Don't call obstack_free when GC'ing.
12720 * toplev.c (rest_of_compilation): Call ggc_collect after every
12721 pass, if GC'ing.
12722 * tree.c (push_obstacks): Do nothing, if GC'ing.
12723 (pop_obstacks_nochange): Likewise.
12724 (pop_obstacks): Likewise.
12725 (make_node): Use ggc_alloc_tree when GC'ing.
12726 (copy_node): Likewise.
12727 (get_identifier): Use ggc_alloc_string when GC'ing.
12728 (build_string): Likewise.
12729 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
12730 (tree_cons): Likewise.
12731 (build1): Likewise.
12732 (type_hash_canon): Don't call obstack_free when GC'ing.
12733
12734 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
12735
12736 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
12737 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
12738
12739 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
12740 Bernd Schmidt <bernds@cygnus.co.uk>
12741 Mark Mitchell <mark@codesourcery.com>
12742
12743 * Makefile.in (stor-layout.o): Depend on ggc.h.
12744 (expr.o): Depend on ggc.h.
12745 (profile.o): Depend on ggc.h.
12746 (stor-layout.o): Depend on ggc.h.
12747 * emit-rtl.c (init_emit_once): Add gc roots.
12748 * expr.c: Include ggc.h.
12749 (emit_block_move): Add gc roots.
12750 (clear_storage): Likewise.
12751 * expr.h (init_stor_layout_once): New function.
12752 * profile.c: Include ggc.h.
12753 (init_arc_profiler): profiler_label is a root.
12754 * scan.c (make_sstring_space): Trust xrealloc to function
12755 correctly with first parameter NULL.
12756 * stor-layout.c: Include ggc.h.
12757 (set_sizetype): Add gc root.
12758 (init_stor_layout_once): New function.
12759 * toplev.c (compile_file): Call it.
12760
12761 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
12762 Bernd Schmidt <bernds@cygnus.co.uk>
12763 Mark Mitchell <mark@codesourcery.com>
12764
12765 * Makefile.in (tree.o): Depend on ggc.h.
12766 (varasm.o): Likewise.
12767 (function.o): Likewise.
12768 (stmt.o): Likewise.
12769 (except.o): Likewise.
12770 (optabs.o): Likewise.
12771 (emit-rtl.o): Likewise.
12772 * emit-rtl.c: Include ggc.h.
12773 (sequence_element_free_list): Remove, and all references.
12774 (mark_sequence): New functions.
12775 (mark_emit_state): New function.
12776 * except.c: Include ggc.h.
12777 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
12778 (mark_tree_label_node): New functions.
12779 (mark_eh_state): New function.
12780 * function.c: Include ggc.h.
12781 (mark_temp_slot, mark_function_chain): New functions.
12782 (mark_function_state): New function.
12783 (init_function_once): New function.
12784 * function.h (init_function_once): New function.
12785 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
12786 * ggc.h (label_node): Declare.
12787 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
12788 (lang_mark_false_label_stack): New function.
12789 (mark_temp_slot): Remove declaration.
12790 (mark_function_chain): Likewise.
12791 (mark_eh_state): Adjust prototype.
12792 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
12793 Likewise.
12794 * optabs.c: Include ggc.h.
12795 (mark_optab): New function.
12796 (init_optabs): Add gc roots.
12797 * stmt.c: Include ggc.h.
12798 (mark_cond_nesting, mark_loop_nesting): New functions.
12799 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
12800 (mark_stmt_state): New function.
12801 * toplev.c (compile_file): Call init_function_once.
12802 * tree.c: Include ggc.h.
12803 (type_hash): Move declaration earlier in file.
12804 (TYPE_HASH_SIZE, type_hash_table): Likewise.
12805 (init_obstacks): Add gc roots.
12806 (mark_type_hash): New function.
12807 * varasm.c: Include ggc.h.
12808 (mark_pool_constant): New function.
12809 (mark_varasm_state): New function.
12810
12811 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12812
12813 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
12814
12815 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12816
12817 * c-decl.c (struct language_function): Renamed from struct c_function.
12818 Delete elt NEXT.
12819 (c_function_chain): Delete.
12820 (push_c_function_context): New arg F. Don't warn about nested
12821 functions here. Fill LANGUAGE elt of F. Delete code to update
12822 c_function_chain. Don't call push_function_context.
12823 (pop_c_function_context): New arg F. Restore from there instead of
12824 from c_function_chain. Don't call pop_function_context. Clear out
12825 LANGUAGE field of F when done.
12826 * c-lang.c: Include "function.h"
12827 (lang_init): Initialize save_lang_status and restore_lang_status.
12828 * c-parse.in (nested_function, nested_function_notype): Warn about
12829 nested functions. Call push_function_context/pop_function_context
12830 instead of the _c_ variants.
12831 * c-tree.h (push_c_function_context, pop_c_function_context): Update
12832 prototype.
12833 * Makefile.in (c-lang.o): Update dependencies.
12834
12835 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
12836 regno_pointer_flag, regno_pointer_align.
12837 (gen_reg_rtx): Use xrealloc to enlarge them.
12838 (free_emit_status): New function.
12839 * function.c (mark_machine_status, mark_lang_status): New variables.
12840 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
12841 in some bits from assign_stack_local. All callers changed to use new
12842 name.
12843 (assign_stack_local): Just call assign_stack_local_1.
12844 (free_after_compilation): New function.
12845 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
12846 (trampoline_address): Likewise.
12847 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
12848 (prepare_function_start): Explicitly clear some more variables.
12849 * function.h (struct function): New elt can_garbage_collect.
12850 (mark_machine_status, mark_lang_status): Declare variables.
12851 (free_after_compilation, free_emit_status, free_varasm_status,
12852 init_varasm_status): Declare functions.
12853 * toplev.c (rest_of_compilation): Call free_after_compilation when
12854 done with the current function.
12855 * varasm.c (free_varasm_status): New function.
12856
12857 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
12858
12859 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
12860 (EXPAND_BUILTIN_VA_ARG): Define.
12861 * sparc.c (sparc_va_start): New.
12862 (sparc_va_arg): New.
12863
12864 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12865
12866 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
12867
12868 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12869
12870 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
12871
12872 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
12873
12874 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
12875 (OBJS): Add $(GGC).
12876 (ggc-callbacks.o): New target.
12877 * ggc-callbacks.c: New file.
12878
12879 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12880
12881 * expr.h: Collapse individual optab and libfunc vars to arrays.
12882 (optab_index, libfunc_index): New enumerations.
12883 (optab_table, libfunc_table): New arrays.
12884 Add accessor macros for both.
12885
12886 * optabs.c (optab_table, libfunc_table): New.
12887 Delete declarations for individual optab and libfunc vars.
12888
12889 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
12890
12891 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
12892
12893 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
12894
12895 * Makefile.in (GGC, GGC_LIB): New.
12896 (HOST_RTL): Include ggc-none.o.
12897 (ggc-simple.o): New target.
12898 (ggc-none.o): Likewise.
12899 * tree.h (tree_common): Add gc_mark.
12900 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
12901 (struct rtvec_def): Add gc_mark.
12902 * emit-rtl.c (global_rtl): Update static initializers to contain
12903 enough initializers.
12904 * ggc.h, ggc-none.c, ggc-simple.c: New files.
12905 * toplev.c (gc_time): New variable.
12906 (all_time): New variable.
12907 (compile_file): Print gc time.
12908 (print_time): Calculate percentage of the whole.
12909
12910 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12911
12912 Change obstack memory management and varasm constant pool handling so
12913 that nested functions are treated like any other functions.
12914 * function.c (init_machine_status): New variable.
12915 (push_function_context_to): Set contains_functions for the outer
12916 function. Don't call save_varasm_status.
12917 (pop_function_context_from): Don't call restore_varasm_status. Don't
12918 set current_function_contains_functions.
12919 (prepare_function_start): Call init_varasm_status rather than
12920 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
12921 is non-null.
12922 * function.h (struct function) Add field varasm. Delete fields
12923 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
12924 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
12925 (init_machine_status): Declare.
12926 (save_varasm_status, restore_varasm_status): Delete declarations.
12927 (save_tree_status, restore_tree_status): Delete last argument.
12928 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
12929 code. All callers changed.
12930 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
12931 save_constants_in_decl_trees, restore_constants, save_constants,
12932 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
12933 functions.
12934 (inlining): New variable.
12935 (reg_map, label_map, insn_map, orig_asm_operands_vector,
12936 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
12937 variables.
12938 (save_for_inline_nocopy): Don't save constants.
12939 Don't set inl_emit field in current_function.
12940 (expand_inline_function): Use emit field, not inl_emit, of the inlined
12941 function. Set new variable inlining before
12942 calling copy_rtx_and_substitute.
12943 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
12944 constant pool references if inlining is nonzero.
12945 Delete ADDRESS and (most of the) CONST cases.
12946 (output_inline_function): Save and restore current_function/
12947 current_function_decl. Delete restore_constants code. Don't call
12948 init_const_rtx_hash_table.
12949 * output.h (init_const_rtx_hash_table): Don't declare.
12950 * rtl.h (struct function): Declare.
12951 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
12952 * toplev.c (rest_of_compilation): Don't treat nested functions or
12953 functions containing them specially. Delete all code to deal with
12954 save_for_inline_copying.
12955 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
12956 inline_obstacks): Delete variables.
12957 (save_tree_status): Lose arg CONTEXT. All callers changed.
12958 Simply allocate a new function_maybepermanent_obstack for the new
12959 function, delete all the special cases.
12960 Don't save inline_obstacks.
12961 (restore_tree_status): Lose arg CONTEXT. All callers changed.
12962 Delete special handling for function_maybepermanent_obstack; simply
12963 free it if empty.
12964 Don't restore inline_obstacks.
12965 (permanent_allocation): Delete code that frees inline_obstacks.
12966 (print_inline_obstack_statistics): Delete function.
12967 (dump_tree_statistics): Don't call it.
12968 * varasm.c (struct varasm_status): New.
12969 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
12970 last_pool, pool_offset, const_double_chain): Delete global
12971 variables, replace with accessor macros.
12972 (immed_double_const): Don't walk const_double_chain outside a
12973 function, but don't treat nested functions specially anymore.
12974 (immed_real_const_1): Likewise.
12975 (clear_const_double_mem): Don't treat nested functions specially.
12976 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
12977 (save_varasm_status, restore_varasm_status): Delete functions.
12978 (init_varasm_status): New function.
12979 (force_const_mem): Don't treat nested functions specially.
12980 (find_pool_constant): Accept new arg F, search for constants in
12981 that function's pool rather than the current one. All callers
12982 changed.
12983 (get_pool_constant_for_function, get_pool_mode_for_function): New
12984 functions.
12985
12986 * i386.c (init_386_machine_status): New function, mostly from
12987 clear_386_stack_locals.
12988 (struct machine_functions): Rename element names to avoid name
12989 clashes.
12990 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
12991 macros, replacing global variables.
12992 (clear_386_stack_locals, save_386_machine_status,
12993 restore_386_machine_status): Delete functions.
12994 (override_options): Initialize init_machine_status.
12995 * i386.h (INIT_EXPANDERS): Delete macro.
12996 (save_386_machine_status, restore_386_machine_status,
12997 clear_386_stack_locals): Delete declarations.
12998
12999 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13000
13001 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
13002 (doloop_begin): Simplify pattern and use emit_jump_insn.
13003 (doloop_end): Simplify pattern, switch operand order,
13004 and use emit_jump_insn.
13005
13006 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
13007
13008 * function.h (struct function): Add new element LANGUAGE.
13009 (save_lang_status): Declare new variable.
13010 (restore_lang_status): Likewise.
13011 * function.c (save_lang_status): Define.
13012 (restore_lang_status): Likewise.
13013 (push_function_context_to): Call language-specific save function.
13014 (pop_function_context_from): Call language-specific restore function.
13015
13016 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
13017
13018 * i386.md (movsf_1): Check REG_P before use of REGNO.
13019 (movdf_1): Likewise.
13020 (movxf_1): Likewise.
13021 (extendsfdf2): Likewise.
13022 (extendsfxf2): Likewise.
13023 (extenddfxf2): Likewise.
13024
13025 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13026
13027 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
13028 constants into memory.
13029 (c4x_shiftable_constant): New function.
13030 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
13031 (c4x_shiftable_constant): Declare.
13032 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
13033 ashlqi3_noclobber): Add new patterns and associated splitters.
13034
13035 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
13036
13037 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
13038 * dwarf2out.c (dwarf2out_frame_init): Likewise.
13039 * final.c (shorten_branches): Likewise.
13040 * global.c (global_alloc): Likewise.
13041 * haifa-sched.c (build_control_flow): Likewise.
13042 * stmt.c (check_for_full_enumeration_handling): Likewise.
13043 (estimate_case_costs): Likewise.
13044
13045 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
13046
13047 * rtl.h (RTL_CHECKC2): Fix typo in last change.
13048
13049 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
13050
13051 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
13052 (recompute_reg_usage): Likewise.
13053 * rtlanal.c (find_regno_fusage): Likewise.
13054
13055 * rtl.c (rtl_check_failed_code1): New function.
13056 (rtl_check_failed_code2): New.
13057 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
13058 (RTL_CHECKC1, RTL_CHECKC2): New.
13059 (XC*): New accessor macros.
13060 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
13061 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
13062 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
13063 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
13064 (TRAP_*, RANGE_INFO_*): Likewise.
13065
13066 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13067
13068 * Makefile.in (tlink.o): Don't depend on toplev.h.
13069
13070 * collect2.c (c_file, o_file, export_file, import_file, ldout,
13071 output_file, nm_file_name, ldd_file_name, strip_file_name,
13072 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
13073 add_prefix, prefix_from_env, prefix_from_string, do_wait,
13074 fork_execute, maybe_unlink, add_to_list,
13075 extract_init_priority, write_list, dump_list,
13076 dump_prefix_list, write_list_with_asm, write_c_file,
13077 write_c_file_stat, write_c_file_glob, scan_prog_file,
13078 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
13079 ignore_library, extract_string, notice, dump_file, target_machine,
13080 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
13081 read_file, print_load_command): Constify a char*.
13082 (fdopen, error, fatal, fatal_perror): Don't prototype.
13083 (my_strerror): Remove. All callers use xstrerror instead.
13084 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
13085 (main): Add prototype. Constify lots of char* ptrs. Change calls
13086 to xcalloc/strcpy/strcat/... to one call to concat.
13087 (main, scan_prog_file, scan_libraries): Use an intermediate
13088 `const char **' to build an argv array.
13089 (mapfile, libselect, libcompare, locatelib): Add prototypes.
13090
13091 * collect2.h (collect_execute, collect_wait, dump_file,
13092 file_exists): Constify a char*.
13093 (ldout, c_file_name, temporary_obstack, permanent_obstack,
13094 temporary_firstobj, vflag, debug): Add extern declarations.
13095 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
13096
13097 * tlink.c: Don't include toplev.h.
13098 (vflag, debug, ldout, c_file_name, temporary_obstack,
13099 permanent_obstack, temporary_firstobj): Don't declare.
13100 (tlink_execute, frob_extension, symbol_hash_lookup,
13101 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
13102 recompile_files, read_repo_files, demangle_new_symbols,
13103 scan_linker_output): Constify a char*.
13104 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
13105 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
13106
13107 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
13108
13109 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
13110 (relative) rather than jsr (absolute) subroutine call insns.
13111 * config/m68k/m68k-coff.h: Ditto.
13112
13113 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
13114
13115 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
13116 now rework these too.
13117 (arm_reorg): If an insn can't reach the end of the current pool,
13118 ensure that we emit that pool before the insn.
13119
13120 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
13121
13122 * tlink.c (scan_linker_output): Skip the initial underscore in
13123 a mangled name if appropriate.
13124
13125 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13126
13127 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
13128 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
13129 error_with_ivar, gen_declarator, create_builtin_decl,
13130 my_build_string, generate_descriptor_table, generate_ivars_list,
13131 generate_dispatch_table, check_protocols, TAG_GETCLASS,
13132 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
13133 dump_base_name, lang_decode_option, build_encode_expr,
13134 start_class, finish_class, encode_pointer, really_start_method,
13135 gen_declaration, dump_interface, handle_class_ref, handle_impent):
13136 Constify.
13137 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
13138 Add static prototypes.
13139 (build_objc_string_decl, build_selector_reference_decl,
13140 encode_bitfield, build_class_reference_decl): Remove unused
13141 parameter, all callers changed.
13142 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
13143 (objc_printable_name): Likewise. Change second parameter to type int.
13144 (init_objc): Use memcpy, not bcopy, to avoid casts.
13145
13146 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
13147
13148 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
13149 reg notes on a deleted insn.
13150 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
13151
13152 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
13153
13154 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
13155
13156 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13157
13158 * stmt.c (expand_asm_operands): Fix index into inout_mode when
13159 reading it.
13160
13161 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
13162
13163 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
13164 * tm.texi (MD_ASM_CLOBBERS): Document it.
13165
13166 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
13167
13168 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
13169 * except.c (expand_rethrow): Remove unused variable.
13170 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
13171 * flow.c (replace_insns): Likewise.
13172 (create_edge_list, verify_edge_list): Likewise.
13173 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
13174
13175 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
13176 is special code to run.
13177 (main): Don't define operands to emit_operand.
13178 * genrecog.c (main): Don't emit an empty peephole2_insn function.
13179
13180 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
13181
13182 * alpha/alpha.h (normal_memory_operand): Declare.
13183 (reg_no_subreg_operand): Declare.
13184 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
13185
13186 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
13187
13188 * c-parse.in (compstmt_primary_start): New, broken out of first
13189 part of compstmt handling in primary.
13190 (primary): Use it. Add an error clause.
13191 (compstmt_nostart): Renamed from compstmt; remove all
13192 initial invocations of compstmt_start.
13193 (compstmt): New.
13194
13195 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
13196
13197 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
13198 needed.
13199
13200 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
13201
13202 * combine.c (simplify_shift_const): Remove extra semicolon.
13203 * dwarf2out.c (remove_AT): Likewise.
13204 * expmed.c (expand_mult): Likewise.
13205 * gcov.c (create_program_flow_graph): Likewise.
13206 * reorg.c (mostly_true_jump): Likewise.
13207
13208 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
13209
13210 * fold-const.c (fold_range_test): Do not try to fold the range
13211 test if the rhs or lhs has side effects.
13212
13213 * combine.c (simplify_rtx): Recognize another case of a synthesized
13214 sign extension.
13215
13216 * varasm.c (mark_constant_pool): When marking indirect references,
13217 only look at SYMBOL_REFs.
13218
13219 * except.c (expand_fixup_region_end): Do not peek at
13220 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
13221
13222 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
13223
13224 * flags.h: New variables align_loops, align_loops_log,
13225 align_jumps, align_jumps_log, align_labels, align_labels_log,
13226 align_functions, align_functions_log.
13227 * toplev.c: Define them.
13228 (f_options): Handle -falign-* when they have no argument.
13229 (main): Add logic to set variables for -falign-functions,
13230 -falign-jumps, -falign-labels, -falign-loops.
13231 Make it -fsched-verbose=<n> and -finline-limit=<n>.
13232 (display_help): Change help to match options.
13233 * final.c (LABEL_ALIGN): Default to align_labels_log.
13234 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
13235 (LOOP_ALIGN): Default to align_loops_log.
13236 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
13237 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
13238 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
13239 * varasm.c (assemble_start_function): Handle align_functions.
13240
13241 * config/sparc/sparc.h: Don't declare sparc_align_*.
13242 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
13243 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
13244 sparc.c.
13245 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
13246 it's a promise.
13247 * config/sparc/sparc.c: Delete sparc_align_loops,
13248 sparc_align_jumps, sparc_align_funcs and the corresponding string
13249 variables.
13250 (sparc_override_options): Default align_functions on ultrasparc.
13251 Delete -malign-* handling.
13252
13253 * config/mips/mips.c (override_options): On 64-bit targets,
13254 try to align code to 64-bit boundaries.
13255 (print_operand): New substitution, %~,
13256 which aligns labels to align_labels_log.
13257 * config/mips/mips.md (div_trap_normal): Use %~.
13258 (div_trap_mips16): Likewise.
13259 (abssi): Likewise.
13260 (absdi2): Likewise.
13261 (ffssi2): Likewise.
13262 (ffsdi2): Likewise.
13263 (ashldi3_internal): Likewise.
13264 (ashrdi3_internal): Likewise.
13265 (lshrdi3_internal): Likewise.
13266 (casesi_internal): Likewise.
13267
13268 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
13269
13270 Merge new ia32 backend from the branch!
13271
13272 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
13273 See ChangeLog.P2 on new_ia32_branch for details.
13274
13275 * rtl.h (stack_regs_mentioned_p): Delete prototype.
13276 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
13277 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
13278 * i386/gas.h (ASM_FILE_START): Define.
13279 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
13280 for name change of ix86_valid_decl_attribute_p.
13281 (i386_pe_valid_type_attribute_p): Similarly.
13282
13283 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
13284
13285 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
13286 to step through CC modes.
13287
13288 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13289
13290 * regmove.c (fixup_match_1): Don't move INSN in front of P if
13291 it would end up in the shadow of a live flags regsiter.
13292
13293 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13294
13295 * reload1.c: Fix many indentation problems.
13296 * reload.c: Likewise.
13297
13298 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
13299
13300 * alias.c (non_local_reference_p): Constify fmt.
13301
13302 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
13303
13304 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
13305
13306 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
13307
13308 * cse.c (delete_trivially_dead_insns): Do not delete stores to
13309 the internal_arg_pointer.
13310
13311 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
13312
13313 Merge peephole2 from new_ia32_branch:
13314 * Makefile.in (STAGESTUFF): Add *.peephole2.
13315 (mostlyclean): Likewise.
13316 (recog.o): Depend on resource.h.
13317
13318 * final.c (peephole): Conditionalize decl on HAVE_peephole.
13319 (final_scan_insn): Likewise for the invocation of peephole.
13320 * genconfig.c (main): Look for peephole and peephole2 patterns.
13321 Emit HAVE_peephole* accordingly.
13322 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
13323 * flags.h (flag_peephole2): Declare.
13324 * toplev.c: New pass peephole2. New flag -fpeephole2.
13325
13326 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
13327 * gencodes.c (main): Likewise.
13328 * genextract.c (main): Likewise.
13329 * genoutput.c (main): Likewise.
13330 * genemit.c (max_operand_1): Look for the max scratch operand.
13331 (gen_rtx_scratch): New.
13332 (gen_exp): Use it, and pass on new arg subroutine_type.
13333 (gen_expand): Take max scratch into account.
13334 (gen_split): Emit peephole2 functions.
13335 (output_peephole2_scratch): New.
13336 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
13337 * genrecog.c (routine_type): Add PEEPHOLE2.
13338 (IS_SPLIT): New.
13339 (make_insn_sequence): Match outer parallel for peep2. Discard
13340 top level scratches and dups.
13341 (add_to_sequence): New args insn_type and top. Update all callers.
13342 Handle toplevel peep2 matching insns.
13343 (write_subroutine): Handle peep2.
13344 (write_tree_1): Likewise.
13345 (write_tree): Likewise.
13346 (main): Likewise.
13347 (change_state): New arg afterward. Update all callers.
13348 Handle matching separate insns.
13349 * recog.c (recog_next_insn): New.
13350 (peephole2_optimize): New.
13351 * rtl.def (DEFINE_PEEPHOLE2): New.
13352 * resource.c (find_free_register): New argument last_insn. Use it
13353 to find a register available through the entire span.
13354 * resource.h (find_free_register): Update prototype.
13355
13356 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
13357
13358 * i386.c (output_strlen_unroll): Don't write xops[7]
13359 label if it wasn't set.
13360
13361 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
13362
13363 * cpplib.c (struct directive): Const-ify name pointer and
13364 function pointer prototype.
13365 (validate_else, do_define, do_line, do_include, do_undef,
13366 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
13367 do_elif, do_endif, do_sccs, do_assert, do_unassert,
13368 do_warning): Const-ify second arg.
13369 (directive_table): Mark const. Reorder entries by frequency
13370 of usage, record statistics.
13371
13372 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
13373
13374 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
13375 bounds- check RTL accesses if --enable-checking.
13376 (RTVEC_ELT): Bounds check if --enable-checking.
13377 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
13378 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
13379 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
13380 GET_NUM_ELEM.
13381 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
13382 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
13383
13384 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
13385 (NOTE_SOURCE_FILE): Use X0STR.
13386 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
13387 MEM_ALIAS_SET): Use X0INT.
13388 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
13389 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
13390 Use X0EXP.
13391 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
13392 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
13393 (rtl_check_failed_bounds, rtl_check_failed_type1,
13394 rtl_check_failed_type2, rtvec_check_failed_bounds): New
13395 functions.
13396 (fancy_abort): Fix comment.
13397
13398 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
13399 (cse_insn): Decrement LABEL_NUSES for jump target before
13400 deleting jump insn.
13401 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
13402 * final.c (alter_subreg): Compute regno before changing x to
13403 REG; set REGNO(x) after changing it.
13404 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
13405 notes containing CONST_INTs.
13406 (delete_eh_regions): Use NOTE_EH_HANDLER.
13407 * function.c (put_reg_into_stack): Make reg a MEM before
13408 initializing it.
13409 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
13410 delete insn.
13411 (gen_mem_addressof): Make reg a MEM before initializing it.
13412 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
13413 X0WINT.
13414 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
13415 deleting an insn, not after.
13416 (block_alloc): Only look at PATTERN(insn) if we have to, and
13417 only if it's format class 'i'.
13418 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
13419 CONST_INT before using its INTVAL.
13420 * print-rtl.c (print_rtx): Use X0STR.
13421 * regmove.c (fixup_match_1): Don't look at PATTERN of
13422 non-class-'i' insn chain elements.
13423 * reload.c (loc_mentioned_in_p): Take address of
13424 in->fld[1].rtx directly.
13425 * reload1.c (reload): Change reg to a MEM before initializing
13426 it.
13427 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
13428 have no names.
13429 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
13430
13431 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
13432
13433 * config/mips/mips.c (machine_dependent_reorg): Force a
13434 barrier to output the local constant pool if a barrier hasn't
13435 been found at a natural point in the instruction stream.
13436
13437 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13438
13439 * c-parse.in (language_string): Constify.
13440
13441 * dwarf2out.c (language_string): Remove declaration.
13442
13443 * dwarfout.c (language_string): Likewise.
13444
13445 * toplev.c (language_string, init_parse, finish_parse): Likewise.
13446
13447 * tree.h (language_string, init_parse, finish_parse): Declare.
13448
13449 * i386/sun386.h (language_string): Remove declaration.
13450
13451 * mips.h (language_string): Likewise.
13452
13453 * nextstep.h (language_string): Likewise.
13454
13455 * nextstep21.h (language_string): Likewise.
13456
13457 * rs6000.c (language_string): Likewise.
13458
13459 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13460
13461 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
13462 (getpwd.o): Remove target.
13463
13464 * getpwd.c: Delete file. Its in libiberty now.
13465
13466 * dbxout.c (getpwd): Don't prototype.
13467 * dwarf2out.c (getpwd): Likewise
13468 * dwarfout.c (getpwd): Likewise
13469 * final.c (getpwd): Likewise.
13470 * protoize.c (getpwd): Likewise.
13471
13472 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13473
13474 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
13475
13476 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
13477
13478 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
13479 mark_set_resources.
13480
13481 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
13482
13483 * fixinc/Makefile.in (subdir): New.
13484 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
13485 (Makefile): New.
13486
13487 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
13488
13489 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
13490 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
13491 be shared.
13492
13493 * invoke.texi: Fix typo.
13494
13495 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
13496 changed. Handle autoincrement addressing modes.
13497
13498 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
13499 just like we would the virtual incoming args register when
13500 integrating.
13501
13502 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
13503
13504 * rs6000.h (ASM_FILE_START): Specify complete filename, including
13505 path, in .file directive.
13506
13507 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
13508
13509 * gcc.texi (External Bugs): Remove obsolete note about Perl on
13510 SunOS.
13511
13512 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
13513
13514 * stdbool.h: Make the typedef name _Bool, with bool a #defined
13515 alias.
13516
13517 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13518
13519 * tree.c (tree_code_name): Constify a char*.
13520
13521 * tree.h (tree_code_name, decl_printable_name): Likewise.
13522
13523 * function.h (struct function): Likewise.
13524
13525 * toplev.c (decl_name, decl_printable_name): Likewise.
13526
13527 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
13528
13529 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
13530 (init_objc): Remove function pointer cast.
13531
13532 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
13533
13534 * pa.md (interspace_jump): New pattern.
13535 (builtin_longjmp): New expander.
13536
13537 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
13538
13539 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
13540 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
13541 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
13542
13543 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
13544
13545 * jump.c (delete_prior_computation): Also check calls
13546 to constant functions. Don't bother checking for a
13547 REG_UNUSED note before adding it.
13548 (delete_computation): Handle multi-word hard registers
13549 when synthesizing missing REG_DEAD notes for a register
13550 which is both set and used by an insn.
13551
13552 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13553
13554 * loop.c (this_loop_info): New variable.
13555 (loop_has_call, loop_has_volatile, loop_has_tablejump,
13556 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
13557 All uses updated.
13558 (prescan_loop, strength_reduce): New argument loop_info. All callers
13559 updated.
13560 (scan_loop): New variable loop_info, initialise to address of
13561 this_loop_info.
13562 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
13563 Delete variable loop_has_multiple_exit targets and replace with
13564 field in this_loop_info.
13565 (find_and_verify_loops): Rename this_loop to this_loop_num.
13566 (strength_reduce): Delete loop_iteration_info. Replace variable
13567 loop_info with function argument of same name.
13568 (insert_bct): Rework test for loop being completely unrolled.
13569
13570 * loop.h (struct loop_info): New fields num, loops_enclosed,
13571 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
13572 has_indirect_jump, and cont. Redefine use of unroll_number.
13573 (loop_unroll_number): Delete.
13574
13575 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
13576 field of loop_info.
13577 (loop_iterations): Delete variable vtop and instead use
13578 loop_info->vtop computed in prescan_loop.
13579
13580 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
13581
13582 * fix-header.c (main): Do not pass a null pointer to strcmp.
13583
13584 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
13585
13586 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
13587 filenames.
13588 * configure: Rebuilt.
13589
13590 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
13591
13592 * jump.c (jump_optimize_1): Do not delete assignments to
13593 internal_arg_pointer.
13594 * cse.c (delete_trivially_dead_insns): Always consider a set of
13595 the internal_arg_pointer live.
13596
13597 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
13598
13599 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
13600 (update_life_info) [REG_WAS_0]: Search the original insns rather
13601 than the new insns for the note. Fix typos finding note_dest.
13602 If no dest found, discard the note rather than abort.
13603 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
13604 (replace_insns): Remove the old insn list after update_life_info
13605 not before.
13606
13607 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
13608
13609 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
13610 sched_analyze_insn.
13611 (sched_analyze_1): Let add_dependence care for not adding dups.
13612 (sched_analyze_2): Likewise.
13613 (add_branch_dependences): Likewise.
13614
13615 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
13616
13617 * i386/winnt.c (export_list): New type.
13618 (exports_head): Rename to
13619 (export_head): this.
13620 (i386_pe_record_exported_symbol): Add is_data flag.
13621 (i386_pe_asm_file_end): Emit directive for exported variables.
13622 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
13623 prototype.
13624 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
13625 (ASM_DECLARE_OBJECT_NAME): Likewise.
13626 (ASM_DECLARE_FUNCTION_NAME): Likewise.
13627 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
13628
13629 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
13630
13631 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
13632
13633 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
13634 operand.
13635
13636 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
13637
13638 * config/openbsd.h: Define SET_ASM_OP.
13639 * tm.texi: cross-reference SET_ASM_OP in the index.
13640
13641 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
13642
13643 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
13644 for a CONST_DOUBLE, at compile time. Initialize rtx_length
13645 and class_narrowest_mode at compile time. Kill init_rtl.
13646 Mark rtx_length, mode_class, mode_size, mode_unit_size,
13647 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
13648 rtx_format as const. Kill all references to EXTRA_CC_MODES or
13649 EXTRA_CC_NAMES.
13650 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
13651 format.
13652 * rtl.h: Declare rtx_length and rtx_format as const.
13653 * machmode.def: Define CC(). Use CC() to define CCmode. If
13654 EXTRA_CC_MODES is defined, expand it here.
13655 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
13656 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
13657 const. Kill all references to EXTRA_CC_MODES.
13658
13659 * toplev.c: Don't prototype or call init_rtl.
13660 * optabs.c: Don't call init_mov_optab.
13661 * genemit.c: Don't generate init_mov_optab. Don't call
13662 init_rtl.
13663 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
13664 here.
13665 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
13666 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
13667 genrecog.c: Don't call init_rtl.
13668
13669 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
13670 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
13671 definition of EXTRA_CC_MODES.
13672
13673 * md.texi: Kill ref to EXTRA_CC_NAMES.
13674 * tm.texi: Document new way to define EXTRA_CC_MODES.
13675
13676 * genrecog.c: Do not look up the name of a define_split.
13677 (Unrelated bugfix.)
13678
13679 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
13680
13681 * config/v850/v850.md: Fix typo introduced by previous delta.
13682
13683 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13684
13685 * gcc.c (fatal): Make definition static to match prototype.
13686
13687 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13688
13689 * combine.c (get_last_value): Don't look for earlier sets if the last
13690 known set is somewhere in between the insns being combined.
13691
13692 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
13693
13694 * configure.in: Don't use shell ! to negate exit codes
13695 * configure: Regenerate
13696
13697 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
13698
13699 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
13700 the fact that ALIGN is measured in bits, not bytes.
13701
13702 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
13703
13704 * errors.c: New file; defines functions error, warning, and
13705 fatal, variables have_error and progname.
13706 * errors.h: New file; prototypes and decls for stuff in errors.c.
13707
13708 * Makefile: Add rules to build errors.o and
13709 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
13710 genopinit, genrecog, genextract, genpeep, genattr, and
13711 genoutput with errors.o. Add errors.h to deps of genconfig.o,
13712 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
13713 genpeep.o, genattr.o, and genoutput.o.
13714
13715 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
13716 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
13717 define or prototype fatal. Set progname at beginning of main.
13718 * genoutput.c: Likewise, and don't define or prototype error
13719 either.
13720
13721 * c-typeck.c (c_expand_start_case): Return immediately if exp
13722 is an ERROR_MARK.
13723 * fold-const.c (operand_equal_p): Return immediately if arg1
13724 or arg0 are ERROR_MARKs.
13725 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
13726 fields of type ERROR_MARK when calculating if the record can
13727 go in a register.
13728
13729 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
13730 with much help from Jeffrey A Law and Richard Henderson
13731
13732 * i386.md: In the 6 insns which call output_fix_trunc,
13733 earlyclobber operands[0].
13734
13735 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
13736
13737 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
13738 creating new registers.
13739
13740 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
13741
13742 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
13743 i386_reg_alloc_order, i386_regparm_string,
13744 i386_align_loops_string, i386_align_jumps_string,
13745 i386_align_funcs_string, i386_preferred_stack_boundary_string,
13746 and i386_branch_cost_string as type "const char *".
13747 * i386.c: Define all above strings as type "const char *".
13748
13749 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
13750
13751 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
13752 when emitting alignment padding. Emit padding byte of 0 instead of 4.
13753
13754 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
13755
13756 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
13757 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
13758
13759 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
13760
13761 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
13762 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
13763 (dwarf2out_line, dwarf2out_finish): Likewise.
13764 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
13765
13766 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
13767
13768 * tree.c (lang_unsave_expr_now) : Correct return type.
13769 * tree.h (lang_unsave_expr_now) : Same.
13770
13771 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
13772
13773 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
13774 instead of duplicating code.
13775
13776 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13777
13778 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
13779
13780 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
13781
13782 * tree.h: fancy_abort always takes three args.
13783 * resource.c: Move include of system.h before toplev.h.
13784
13785 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
13786
13787 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
13788 as SYMBOL_REFs.
13789
13790 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
13791
13792 * system.h: Don't redefine abort or trim_filename.
13793 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
13794 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
13795 whether or not __FUNCTION__ is available.
13796 * tree.h: Duplicate rtl.h's definition of abort, for files
13797 that don't include rtl.h. Delete all code to perform type
13798 checking with a compiler other than GCC.
13799 * varray.h: Delete all code to perform type checking with a
13800 compiler other than GCC. Make VARRAY_CHECK() always evaluate
13801 its arguments exactly once, using a statement expression.
13802 Adjust the VARRAY_<type> accessor macros to match.
13803 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
13804 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
13805 caller's location. Define fatal_insn and fatal_insn_not_found
13806 as macros that use _fatal_insn and _fatal_insn_not_found.
13807 (fancy_abort, trim_filename): Kill prototypes.
13808
13809 * rtl.c (trim_filename): Move here from toplev.c.
13810 (fancy_abort): New function.
13811 (DIR_SEPARATOR): Provide default definition.
13812 * tree.c (tree_check_failed, tree_class_check_failed): Go
13813 through fancy_abort.
13814 (tree_check, tree_class_check, cst_or_constructor_check,
13815 expr_check): Delete.
13816 * varray.c (varray_check_failed): New function.
13817 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
13818 _fatal_insn and _fatal_insn_not_found. Go through
13819 fancy_abort.
13820 (trim_filename, fancy_abort): Delete.
13821
13822 * builtins.c (expand_builtin_args_info): Report ICE with abort.
13823 * except.c (start_catch_handler): Report ICE with error/abort
13824 combo.
13825 * final.c (output_operand_lossage): Likewise.
13826 * flow.c (verify_flow_info): Likewise.
13827
13828 * gcc.c: Prototype fatal.
13829 * gengenrtl.c: Undef abort after including rtl.h not system.h.
13830 * genattr.c, genattrtab.c, genemit.c, genextract.c,
13831 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
13832 Don't define fancy_abort.
13833
13834 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
13835
13836 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
13837 canonization.
13838
13839 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
13840
13841 * m88k.h (VERSION_INFO2): Kill.
13842 (VERSION_STRING): Kill.
13843 (TM_RCS_ID): Kill.
13844 (VERSION_INFO1): Tidy.
13845 (TARGET_VERSION): Update.
13846 * m88k/dgux.h (VERSION_INFO2): Kill.
13847 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
13848 * m88k/luna.h (VERSION_INFO1): Tidy.
13849 * m88k/sysv4.h (VERSION_INFO1): Likewise.
13850 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
13851 (output_file_start): Adjust for death of VERSION_STRING.
13852
13853 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
13854
13855 * cpplib.c (detect_if_not_defined): New function.
13856 (do_if): Use it to detect potential once-only headers.
13857
13858 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
13859
13860 * c-common.c (combine_strings): Always set TREE_CONSTANT.
13861
13862 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
13863
13864 * combine.c (nonzero_bits) : Allow single-ly set registers to be
13865 anywere in the function only if they are pseudos and set before
13866 being used (not live at the start of the function).
13867 (num_sign_bit_copies) : Same.
13868 (get_last_value_validate) : Same.
13869 (get_last_value) : Same.
13870
13871 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
13872
13873 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
13874 where N and M are constant and N is an integer multiple of M.
13875
13876 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13877
13878 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
13879 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
13880 sbitmap_union_of_preds): Add prototypes.
13881 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
13882 the intersection of successors with the new flow graph structures.
13883 (sbitmap_intersection_of_preds): New function to compute the
13884 intersection of predecessors with the new flow graph structures.
13885 (sbitmap_union_of_succs): New function to compute the union of
13886 successors with the new flow graph structures.
13887 (sbitmap_union_of_preds): New function to compute the union of
13888 predecessors with the new flow graph structures.
13889 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
13890 (expr_reaches_here_p): Use edge and basic_block structures instead
13891 of s_preds and s_succs.
13892 (compute_cprop_avinout): Use new sbitmap routines.
13893 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
13894 of s_preds and s_succs.
13895 * flow.c (compute_flow_dominators): Compute dominators using
13896 edges and basic blocks instead of s_preds and s_succs.
13897
13898 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13899
13900 * lists.c (unused_insn_list, unused_expr_list): New file for
13901 maintaining various types of lists. New statics for maintaining a
13902 cache of available INSN_LIST and EXPR_LIST nodes.
13903 (free_list): Static function for freeing a list of INSN/EXPR nodes.
13904 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
13905 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
13906 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
13907 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
13908 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
13909 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
13910 (free_INSN_LIST_node): Free an individual INSN_LIST node.
13911 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
13912 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
13913 (remove_dependence, free_pending_lists): Use new global routines.
13914 (flush_pending_lists, sched_analyze_insn): Use new global routines.
13915 (sched_analyze, compute_block_backward_dependences): Use new routines.
13916 (sched_analyze_1, sched_analyze_2): Use new routines.
13917 (schedule_insns): Use new global routines.
13918 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
13919 prototypes.
13920 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
13921 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
13922 prototypes.
13923 * toplev.c (rest_of_compilation): Initialize node cache.
13924 * Makefile.in (OBJS): Add lists.o to list of object files.
13925 (lists.o): Add dependancies.
13926
13927 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
13928
13929 * config/v850/v850.md: Fix compile time warning messages.
13930 * config/v850/v850.c: Fix compile time warning messages.
13931 * config/v850/v850.h: Fix compile time warning messages.
13932
13933 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13934
13935 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
13936 Remove unused prototype for `init_lengths'.
13937
13938 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13939
13940 * calls.c (emit_call_1): Mark parameter `stack_size' with
13941 ATTRIBUTE_UNUSED.
13942 (expand_call): Initialize variable `insn'.
13943 (emit_library_call): Likewise for variable `high_to_save'.
13944 (emit_library_call_value): Likewise.
13945 (store_one_arg): Likewise for variables `lower_bound' and
13946 `upper_bound'.
13947
13948 * combine.c (try_combine): Likewise for variables `i2_code_number'
13949 and `other_code_number'.
13950 (find_split_point): Likewise for variables `pos', `unsignedp' and
13951 `inner'.
13952 (simplify_if_then_else): Likewise for variables `op' and `c1'.
13953 (simplify_and_const_int): Remove unused variable `width'.
13954 (merge_outer_ops): Likewise.
13955
13956 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
13957 HOST_WIDE_INT' when comparing against one.
13958 (simplify_relational_operation): Likewise.
13959 (cse_insn): Initialize variables `src_eqv_volatile',
13960 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
13961
13962 * final.c (init_final): Constify parameter `filename'.
13963 (final_start_function): Mark parameter `optimize' with
13964 ATTRIBUTE_UNUSED.
13965 (profile_function): Likewise for parameters `first' and `optimize'.
13966 (output_source_line): Likewise for parameter `file'.
13967
13968 * integrate.c (subst_constants): Cast a value to `size_t' when
13969 comparing against one.
13970 (mark_stores): Initialize variable `mode'. Cast a value to
13971 `size_t' when comparing against one.
13972
13973 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
13974
13975 * loop.c (move_movables): Initialize variable `first'.
13976 (strength_reduce): Likewise for variable `increment'.
13977 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
13978 value to `size_t' when comparing against one.
13979 (load_mems): Initialize variable `end_label'.
13980
13981 * output.h (init_final): Constify parameter.
13982
13983 * reload.c (decompose): Initialize variable `base'.
13984
13985 * reload1.c (reload): Likewise for variable `is_scalar'.
13986 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
13987 (choose_reload_regs): Initialize variable `mode'.
13988 (emit_reload_insns): Likewise for variable `store_insn'.
13989 (reload_cse_noop_set_p): Mark parameter `insn' with
13990 ATTRIBUTE_UNUSED.
13991 (reload_combine): Initialize variable `set'.
13992
13993 * unroll.c (unroll_loop): Likewise for variable `local_label'.
13994 (copy_loop_body): Cast a value to `size_t' when comparing against
13995 one.
13996
13997 * varasm.c (assemble_variable): Initialize variable `size_tree'.
13998 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
13999 (remove_from_pending_weak_list): Mark parameter `name' with
14000 ATTRIBUTE_UNUSED.
14001
14002 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14003
14004 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
14005 gcse dump file.
14006
14007 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
14008
14009 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
14010 (ASM_DECLARE_FUNCTION_NAME): Define.
14011 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
14012 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
14013 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
14014 not already defined.
14015
14016 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
14017
14018 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
14019 of n_popped when call/call_value are not defined.
14020
14021 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
14022
14023 * tm.texi: GNU CC -> GCC conversion.
14024 (CC1_SPEC): Indicate it is used for all language front ends.
14025
14026 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
14027
14028 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
14029 NOTE_INSN_EH_REGION_END correctly.
14030
14031 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
14032 Jeff Law <law@cygnus.com>
14033
14034 * loop.c (strength_reduce): Automatically unroll loops if the
14035 unrolled loop size is smaller than the rolled loop size.
14036
14037 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
14038 and delete comment that code should be rewritten.
14039
14040 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
14041
14042 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
14043 as reachable.
14044
14045 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
14046
14047 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
14048
14049 * fixinc/mkfixinc.sh: Don't fix uwin headers.
14050 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
14051 (LINK_SPEC): Add -u _main when building executables.
14052 (ASM_DECLARE_FUNCTION): Update from Cygwin.
14053 (ASM_FILE_END): Use the default for ix86-pe.
14054 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
14055
14056 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
14057
14058 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
14059 and ASM_CLOSE_PAREN are empty strings.
14060
14061 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
14062 Geoffrey Keating <geoffk@cygnus.com>
14063
14064 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
14065 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
14066 (unprotoize.o): Ditto.
14067 (test-protoize-simple): Don't define STD_PROTO_DIR.
14068 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
14069 changes to make 'test-protoize-simple' pass.
14070 (STD_PROTO_DIR): Remove define.
14071 (STANDARD_EXEC_PREFIX): Supply default define.
14072 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
14073 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
14074 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
14075 (GET_ENV_PATH_LIST): New macro.
14076 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
14077 (do_processing): Initialize default_syscalls_dir using new
14078 macros. Use it to initialize syscalls_absolute_filename.
14079
14080 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
14081
14082 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
14083 B into a register before emit_conditional_move.
14084
14085 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
14086
14087 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
14088 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
14089 multiplicand out of (+ (* a b) (* c d)).
14090
14091 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
14092 Richard Henderson <rth@cygnus.com>
14093
14094 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
14095 (new_insn_dead_notes): Likewise.
14096 (update_n_sets): Likewise.
14097 (update_flow_info): Move to flow.c, renamed to update_life_info;
14098 extend to handle multiple source insns.
14099 * flow.c: Include resource.h
14100 (unlink_insn_chain): New.
14101 (split_hard_reg_notes): New.
14102 (maybe_add_dead_note): New.
14103 (maybe_add_dead_note_use): New.
14104 (find_insn_with_note): New.
14105 (new_insn_dead_notes): New.
14106 (update_n_sets): New.
14107 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
14108 (maybe_remove_dead_notes): New.
14109 (update_life_info): New.
14110 (prepend_reg_notes): New.
14111 (replace_insns): New.
14112 * output.h (update_life_info): Declare.
14113 * recog.c (split_block_insns): Use update_life_info.
14114 * resource.c (find_free_register): Use reg_alloc_order, don't use
14115 fixed regs, make sure the mode is supported, don't use new regs.
14116 (reg_dead_p): New.
14117 * rtl.h (replace_insns): Declare.
14118
14119 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
14120
14121 * expr.c (expand_expr): Cope with COND_EXPRs with one
14122 non-returning branch.
14123
14124 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
14125
14126 * expr.c (store_expr): Always pass down the target, even when not
14127 doing CSE.
14128
14129 1999-08-24 Nick Clifton <nickc@cygnus.com>
14130
14131 * configure.in: Define target_cpu_default for v850 targets.
14132 * configure: Regenerate
14133
14134 * config/v850/v850.h (TARGET_CPU_generic): Define.
14135 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
14136 addresses are 4 byte aligned.
14137
14138 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
14139 addresses.
14140
14141 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14142
14143 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
14144 (main): Add prototypes.
14145
14146 * genattrtab.c (substitute_address, write_const_num_delay_slots,
14147 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
14148 (write_attr_get): Emit prototypes along with function definition.
14149 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
14150 (write_complex_function): Emit static prototype along with
14151 function definition.
14152
14153 * genemit.c (gen_split): Emit prototypes along with function
14154 definition.
14155
14156 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
14157 Likewise for predicates and `insn_operand_predicate'.
14158 (process_template): Emit static prototype along with function
14159 definition.
14160
14161 * genrecog.c (make_insn_sequence): Constify a char*. Add
14162 prototypes for get_split_*().
14163 (write_subroutine): Emit prototypes along with function
14164 definition.
14165
14166 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14167
14168 * gcse.c (find_avail_set): Follow chains of register-register copies.
14169 Use oprs_not_set_p to guarantee that the returned value can be
14170 substituted.
14171 (cprop_insn): Don't verify the return value of find_avail_set with
14172 oprs_not_set_p.
14173
14174 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
14175 (cprop_cc0_jump): New function.
14176 (cprop_insn): Break out new function cprop_jump and use it.
14177 Also use cprop_cc0_jump for machines with CC0.
14178 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
14179
14180 * tree.h (current_function_calls_setjmp,
14181 current_function_calls_longjmp): Delete declarations.
14182 * dsp16xx.c: Include "function.h".
14183 * elxsi.c: Likewise.
14184 * gmicro.c: Likewise.
14185 * h8300.c: Likewise.
14186 * i370.c: Likewise.
14187 * m32r.c: Likewise.
14188 * mn10200.c: Likewise.
14189 * mn10300.c: Likewise.
14190 * ns32k.c: Likewise.
14191 * spur.c: Likewise.
14192 * v850.c: Likewise.
14193
14194 * rtl.h (rtx_equal_function_value_matters): Declare.
14195 * toplev.c (rtx_equal_function_value_matters): Don't declare.
14196 * cse.c: Likewise.
14197 * function.c: Likewise.
14198 * emit-rtl.c: Likewise.
14199
14200 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
14201
14202 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
14203 call.
14204
14205 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14206
14207 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
14208 exactly.
14209
14210 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
14211
14212 * cpp.texi: Add a node documenting macro varargs (copied
14213 from extend.texi).
14214
14215 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
14216
14217 * cppspec.c: Put a null pointer at the end of the new argv.
14218
14219 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
14220
14221 * configure.in: Remove code to select/de-select the haifa
14222 scheduler. Every scheduled port gets haifa now.
14223 * configure: Rebuilt.
14224 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
14225 * sched.c Deleted.
14226 * Makefile.in: Corresponding changes.
14227
14228 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14229
14230 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
14231 All callers changed.
14232 (prepare_float_lib_cmp): Likewise.
14233 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
14234 * expr.h (emit_float_lib_cmp): Delete declaration.
14235 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
14236 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
14237 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
14238 specially.
14239 (cmptf): Now conditional on TARGET_HARD_QUAD.
14240
14241 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
14242
14243 * resource.c (mark_target_live_regs): Use
14244 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
14245
14246 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14247
14248 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
14249
14250 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
14251
14252 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
14253
14254 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14255
14256 * rtl.h (rtx_format): Constify a char*.
14257
14258 * rtl.c (rtx_format): Likewise.
14259 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
14260 (init_rtl): Use accessor macro, not `rtx_format'.
14261
14262 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
14263 char*.
14264
14265 * caller-save.c (mark_referenced_regs): Likewise.
14266
14267 * combine.c (subst, make_compound_operation, known_cond,
14268 gen_rtx_combine, update_table_tick, get_last_value_validate,
14269 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
14270
14271 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
14272 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
14273 count_reg_usage): Likewise.
14274
14275 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
14276 Likewise.
14277
14278 * final.c (leaf_renumber_regs_insn): Likewise.
14279
14280 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
14281 dump_edge_info, count_reg_references): Likewise.
14282
14283 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
14284 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
14285 Likewise.
14286
14287 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
14288 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
14289 add_label_notes): Likewise.
14290
14291 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
14292 clear_struct_flag, count_sub_rtxs, count_alternatives,
14293 compares_alternatives_p, contained_in_p, walk_attr_value,
14294 write_expr_attr_cache): Likewise.
14295
14296 * genconfig.c (walk_insn_part): Likewise.
14297
14298 * genemit.c (max_operand_1, gen_exp): Likewise.
14299
14300 * genextract.c (walk_rtx): Likewise.
14301
14302 * genflags.c (num_operands): Likewise.
14303
14304 * genoutput.c (scan_operands): Likewise.
14305
14306 * genpeep.c (match_rtx): Likewise.
14307
14308 * genrecog.c (add_to_sequence): Likewise.
14309
14310 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
14311 Likewise.
14312
14313 * integrate.c (save_constants, copy_for_inline,
14314 copy_rtx_and_substitute, subst_constants, restore_constants):
14315 Likewise.
14316
14317 * jump.c (mark_jump_label, invert_exp, redirect_exp,
14318 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
14319
14320 * local-alloc.c (contains_replace_regs, memref_referenced_p):
14321 Likewise.
14322
14323 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
14324 add_label_notes, replace_call_address, count_nonfixed_reads,
14325 invariant_p, find_single_use_in_loop, find_mem_givs,
14326 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
14327 Likewise.
14328
14329 * print-rtl.c (reg_names, print_rtx): Likewise.
14330
14331 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
14332
14333 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
14334 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
14335 print_blocks): Likewise.
14336
14337 * regclass.c (fix_register, record_address_regs,
14338 reg_scan_mark_refs): Likewise.
14339
14340 * regmove.c (stable_but_for_p): Likewise.
14341
14342 * reload.c (loc_mentioned_in_p, operands_match_p,
14343 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
14344 copy_replacements, refers_to_regno_for_reload_p,
14345 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
14346 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
14347 Likewise.
14348
14349 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
14350 delete_address_reloads_1, count_occurrences,
14351 reload_cse_mem_conflict_p, reload_combine_note_use,
14352 add_auto_inc_notes): Likewise.
14353
14354 * resource.c (mark_referenced_resources, mark_set_resources):
14355 Likewise.
14356
14357 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
14358 reg_mentioned_p, regs_set_between_p, modified_between_p,
14359 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
14360 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
14361 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
14362 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
14363
14364 * sched.c (sched_analyze_2, attach_deaths): Likewise.
14365
14366 * stupid.c (stupid_mark_refs): Likewise.
14367
14368 * unroll.c (remap_split_bivs): Likewise.
14369
14370 * varasm.c (mark_constants): Likewise.
14371
14372 * a29k/a29k.c (uses_local_reg_p): Likewise.
14373
14374 * alpha/alpha.c (summarize_insn): Likewise.
14375
14376 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
14377 eliminate_lr2ip): Likewise.
14378
14379 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
14380
14381 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
14382 reg_mentioned_in_mem): Likewise.
14383
14384 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
14385 symbolic_reference_mentioned_p): Likewise.
14386
14387 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
14388
14389 * sh/sh.c (regs_used, mark_use): Likewise.
14390
14391 * vax/vax.c (vax_rtx_cost): Likewise.
14392
14393 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14394
14395 * machmode.h (mode_name): Constify a char*.
14396
14397 * rtl.c (mode_name): Likewise.
14398
14399 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
14400
14401 * optabs.c (init_libfuncs): Constify a char*.
14402
14403 * print-tree.c (mode_name): Remove redundant declaration.
14404 (print_node): Use accessor macro, not `mode_name'.
14405
14406 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
14407 not `mode_name'.
14408 (new_spill_reg): Constify a char*.
14409
14410 * tree.c (mode_name): Remove redundant declaration.
14411
14412 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14413
14414 * rtl.c (rtx_name): Constify a char*.
14415
14416 * rtl.h (rtx_name, fix_sched_param): Likewise.
14417
14418 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
14419 (mypr): Use accessor macro, not `rtx_name'.
14420
14421 * genemit.c (print_code): Constify a char*.
14422
14423 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
14424
14425 * genpeep.c (print_code): Constify a char*.
14426
14427 * genrecog.c (print_code): Likewise.
14428
14429 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
14430 end_bb): Add static prototype.
14431 (draw_edge): Constify a char*.
14432 (end_bb): Remove unused parameter.
14433
14434 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
14435 print_block_visualization): Constify a char*.
14436
14437 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
14438
14439 * c-common.c (c_get_alias_set): Update comment.
14440
14441 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
14442
14443 * linux.h (LIB_SPEC): Added.
14444
14445 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14446
14447 * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
14448
14449 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
14450
14451 * tree.c (expr_check): Fix typo in last change.
14452
14453 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
14454
14455 * rtl.def (NOTE): Change format to "iuu0n".
14456 (ADDR_DIFF_VEC): Change format to "eEee0".
14457 (ADDRESSOF): Change format to "eit".
14458
14459 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
14460 (RTVEC_ELT): Change to match.
14461 (XVECEXP): Use XVEC and RTVEC_ELT.
14462 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
14463 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
14464 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
14465 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
14466 TRAP_CONDITION, TRAP_CODE): Use XEXP.
14467 (INTVAL): Use XWINT.
14468 (ADDRESSOF_DECL): Use XTREE.
14469 (SET_ADDRESSOF_DECL): Delete.
14470 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
14471 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
14472 ifdefed out since 2.6 at least.
14473 (gen_rtvec_vv): Delete prototype.
14474
14475 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
14476 not rtunion.
14477 (copy_most_rtx): Handle 't' format letter.
14478 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
14479 (gen_rtvec_vv): Delete function. All callers changed to use
14480 gen_rtvec_v instead.
14481 * print-rtl.c (print_rtx): Move special casing of NOTEs to
14482 the '0' format letter.
14483
14484 * function.c (gen_mem_addressof): Don't use
14485 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
14486 instead.
14487 * integrate.c (copy_rtx_and_substitute): Likewise.
14488 Copy 't' slots with XTREE.
14489 (subst_constants): Treat 't' slots like '[swi]' slots.
14490 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
14491 * jump.c (rtx_equal_for_thread_p): Likewise.
14492 * rtlanal.c (rtx_equal_p): Likewise.
14493 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
14494 only four arguments.
14495 * gengenrtl.c (type_from_format): Provide correct types for
14496 'b' and 't' slots.
14497
14498
14499 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
14500 If a recent gcc is in use (always in stage2 and beyond), use
14501 statement expressions, so we don't make a function call unless
14502 the check fails. Evaluate arguments exactly once.
14503 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
14504 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
14505 Delete.
14506 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
14507 they evaluate their arguments exactly once, irrespective of
14508 the compiler in use.
14509
14510 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
14511 is used by the currently-enabled check macros. This is:
14512 (tree_check_failed, tree_class_check_failed): For gcc.
14513 (tree_check, tree_class_check, cst_or_constructor_check,
14514 expr_check): For other compilers.
14515
14516 * gencheck.c: Do not define any *_CHECK1 macros.
14517
14518 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
14519 Mark Mitchell <mark@codesourcery.com>
14520
14521 * c-common.c (c_get_alias_set): Fix support for poitners and
14522 references.
14523
14524 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
14525
14526 * alias.c: Include tree.h.
14527 (nonlocal_reference_p, mark_constant_function): New functions.
14528 * flow.c (life_analysis): Call mark_constant_function.
14529 * rtl.h (mark_constant_function): Declare it.
14530
14531 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
14532
14533 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
14534 unrecognisable switches.
14535
14536 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14537
14538 * loop.c (recombine_givs): Set ix field after sorting.
14539 (recombine_givs): Remove bogus index / giv lockstep looping.
14540
14541 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14542
14543 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
14544 on CODE.
14545 (emit_store_flag_force): Use do_compare_rtx_and_jump.
14546 (do_cmp_and_jump): Formatting fixes.
14547 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
14548 do_compare_rtx_and_jump instead of compare_from_rtx.
14549 (do_compare_rtx_and_jump): New function; mostly copied from
14550 compare_from_rtx.
14551 (do_jump_for_compare): Delete.
14552 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
14553 MIN_EXPR.
14554 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
14555 of compare/do_jump_for_compare pairs.
14556 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
14557 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
14558 compare_from_rtx/do_jump_for_compare pairs.
14559 (do_jump_by_parts_equality): Likewise.
14560 (do_jump_by_parts_equality_rtx): Likewise.
14561 * expr.h (do_compare_rtx_and_jump): Declare.
14562 * optabs.c (prepare_cmp_insn): New function, contains most of the code
14563 that used to be in emit_cmp_insn.
14564 (cmp_available_p): New function.
14565 (prepare_operand): New function.
14566 (emit_cmp_and_jump_insn_1): New function, contains some code that used
14567 to be in emit_cmp_insn.
14568 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
14569 parameters to be pointers; don't emit final compare but modify some of
14570 the values pointed to by the args so the caller can perform the
14571 correct comparison.
14572 (expand_binop): Call emit_store_flag_force with signed forms of
14573 comparison code.
14574 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
14575 emit_jump_insn pair.
14576 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
14577 emit_cmp_and_jump_insn_1. Call emit_queue.
14578 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
14579 arg.
14580 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
14581 jump sets cc0 before deleting it.
14582 * integrate.c (expand_inline_function): Likewise.
14583 * unroll.c (unroll_loop): Similar changes in several places.
14584 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
14585 before deleting it.
14586
14587 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14588
14589 * Makefile.in (insn-recog.o): Update dependencies.
14590 * genrecog.c (main): Make generated file include "function.h".
14591
14592 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
14593
14594 * cse.c (cse_insn): Call never_reached_warning when a jump is
14595 changed to be unconditional.
14596 * flags.h: Declare warn_notreached.
14597 * flow.c (delete_block): Call never_reached_warning when
14598 a block is deleted.
14599 * jump.c (delete_barrier_successors): Call never_reached_warning
14600 when we delete everything after a BARRIER.
14601 (never_reached_warning): New function.
14602 * rtl.h: Declare never_reached_warning.
14603 * toplev.c (warn_notreached): New variable.
14604 (lang_independent_options): Set warn_notreached
14605 when -Wunreachable-code.
14606 (compile_file): We need line numbers for -Wunreachable-code.
14607
14608 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
14609
14610 * haifa-sched.c (insn_unit): Fix typo on out of range test.
14611 * sched.c (insn_unit): Likewise.
14612
14613 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
14614
14615 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
14616
14617 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
14618
14619 * flow.c (create_edge_list): Use xmalloc, not malloc.
14620
14621 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
14622
14623 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
14624 C-style comments. Do not lose the character before double slash.
14625
14626 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
14627
14628 * basic-block.h (struct edge_list): Stucture to maintain a vector
14629 of edges.
14630 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
14631 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
14632 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
14633 New function prototypes.
14634 * flow.c (create_edge_list): Function to create an edge list.
14635 (free_edge_list): Discards memory used by an edge list.
14636 (print_edge_list): Debug output showing an edge list.
14637 (verify_edge_list): Internal consistency check for an edge list.
14638 (find_edge_index): Function to find an edge index for a pred and succ.
14639
14640 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
14641
14642 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
14643 hashtable.
14644
14645 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
14646
14647 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
14648
14649 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
14650
14651 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
14652
14653 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
14654
14655 * toplev.c (rest_of_compilation): Allow machine dependent
14656 reorganisation pass to place information into the RTL dump
14657 file if it so wishes.
14658
14659 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
14660
14661 * explow.c (hard_function_value): Use VOIDmode instead of
14662 MAX_MACHINE_MODE.
14663 * stmt.c (expand_return): Likewise.
14664 * stor-layout.c (get_best_mode): Likewise.
14665
14666 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
14667 emit call instead of emit_insn call.
14668
14669 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
14670
14671 * configure.in: Handle --disable/enable-win32-registry.
14672 * install.texi: Document --disable/enable-win32-registry.
14673 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
14674 (WIN32_REGISTRY_KEY): New macro.
14675 * prefix.c: Use to enable/disable win32-specific code.
14676 (lookup_key): Use versioned key.
14677 * configure: Regenerate.
14678 * config.in: Likewise.
14679
14680 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
14681
14682 * cpplib.c (read_line_number): New fn, split out of...
14683 (do_line): Here.
14684
14685 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
14686
14687 tree.c (lang_unsave_expr_now) : New.
14688 (unsave_expr_now): Call lang_unsave_expr_now.
14689 tree.h (lang_unsave_expr_now) : New.
14690
14691 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
14692
14693 * toplev.c (flag_new_exceptions): On by default.
14694
14695 1999-08-13 Michael Meissner <meissner@cygnus.com>
14696
14697 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
14698
14699 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
14700
14701 * dwarfout.c (fundamental_type_code): Return FT_boolean for
14702 INTEGER_TYPE with precision==1, it's __java_boolean.
14703
14704 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14705
14706 * global.c (prune_preferences): Move some invariants out of the
14707 inner loop.
14708
14709 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
14710
14711 * configure.in (alpha*-dec-osf*): Add osf5.
14712
14713 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
14714
14715 * configure.in: Rework handling of ARM GNU/Linux slightly.
14716 (arm*-*-linux-gnuoldld): New target.
14717 * configure: Regenerate.
14718 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
14719 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
14720 * config/arm/linux-oldld.h: New file.
14721 * config/arm/linux-elf26.h: Don't include linux-elf.h.
14722 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
14723 Don't define.
14724 * config/arm/linux-elf.h (ASM_SPEC): Define.
14725 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
14726 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
14727 for 26-bit APCS and old linker.
14728 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
14729 `arm_elf'.
14730 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
14731 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
14732 don't define `arm' or `arm_elf'.
14733 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
14734 MULTILIB_DIRNAMES): Define. Fix typo in comment.
14735
14736 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
14737
14738 * rtl.texi: Fix typo.
14739
14740 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
14741
14742 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
14743
14744 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
14745
14746 * extend.texi (C++ Signatures): Remove node.
14747 * invoke.texi: Remove discussion of -fhandle-signatures,
14748 signature, sigof, __signature__, and __sigof__.
14749
14750 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
14751
14752 * Makefile.in (JAVAGC): Removed.
14753
14754 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
14755
14756 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
14757
14758 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
14759
14760 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
14761
14762 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
14763
14764 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
14765 a register that is already known to be a pointer.
14766
14767 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
14768
14769 * fixinc/inclhack.tpl: Only install assert.h conditionally.
14770 * fixinc/inclhack.sh: Regenerated.
14771 * fixinc/fixincl.sh: Regenerated.
14772
14773 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
14774
14775 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
14776 Fix documentation of -ansi flag to describe its C++ behavior.
14777 Remove bogus reference to GCC 2.9.
14778
14779 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
14780
14781 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
14782 note if it is non-NULL.
14783
14784 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
14785
14786 * except.h (eh_nesting_info): Add new structure defintion.
14787 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
14788 (reachable_handlers, update_rethrow_references): Add function
14789 prototypes.
14790 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
14791 a rethrow symbol instead of an integer exception region number.
14792 * flow.c (Make_edges): Use new exception nesting routines to determine
14793 which handlers are reachable from a CALL or asynchronous insn.
14794 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
14795 goto receivers.
14796 (delete_eh_regions): Update rethrow labels, and don't delete
14797 regions which are the target of a rethrow.
14798 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
14799 avoid overloading the SYMBOL_REF_USED flag.
14800 (rethrow_symbol_map): Use new rethrow_ref field.
14801 (rethrow_used): Use new rethrow_ref field.
14802 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
14803 of an integer. Fix formatting.
14804 (output_exception_table_entry): Use new rethrow_ref field.
14805 (can_throw): Check for EH_REGION_NOTE before deciding
14806 whether a CALL can throw or not.
14807 (scan_region): Call rethrow_used() instead of accessing data structure.
14808 (update_rethrow_references): New function to make sure only regions
14809 which are still targets of a rethrow are flagged as such.
14810 (process_nestinfo): New static function to initialize a handler
14811 list for a specific region.
14812 (init_eh_nesting_info): New function to allocate and initialize
14813 the list of all EH handlers reachable from all regions.
14814 (reachable_handlers): New function to retrieve the list of handlers
14815 reachable from a specific region and insn.
14816 (free_eh_nesting_info): New function to dispose of a list of
14817 reachable handlers.
14818
14819 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
14820
14821 * flow.c (split_edge): Set JUMP_LABEL field.
14822 (commit_one_edge_insertion): Set head correctly for insert_before.
14823 When inserting insns, update insn block numbers if allocated.
14824
14825 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14826
14827 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
14828 retry_incomplete_types): Add static prototype.
14829 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
14830 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
14831 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
14832 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
14833 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
14834 Constify a char*.
14835
14836 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
14837 dwarf2out_start_source_file, dwarf2out_line): Likewise.
14838
14839 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14840
14841 * output.h (assemble_name): Constify a char*.
14842
14843 * varasm.c (UNIQUE_SECTION, assemble_start_function,
14844 assemble_variable, assemble_name): Likewise.
14845
14846 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
14847
14848 * arm/pe.c (arm_pe_unique_section): Likewise.
14849
14850 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
14851
14852 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
14853
14854 * i386/interix.c (i386_pe_unique_section): Likewise.
14855
14856 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
14857
14858 * i386/winnt.c (i386_pe_unique_section): Likewise.
14859
14860 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
14861
14862 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
14863
14864 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
14865
14866 * pa/pa.c (output_call): Likewise.
14867
14868 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
14869
14870 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
14871
14872 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
14873 Likewise.
14874
14875 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
14876 Likewise.
14877
14878 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
14879
14880 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
14881 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
14882
14883 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
14884
14885 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14886
14887 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
14888
14889 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14890
14891 * tree.h (lang_identify): Constify a char*.
14892 (print_error_function): Add extern prototype. Constify a char*.
14893
14894 * c-lang.c (lang_identify): Constify a char*.
14895
14896 * objc/objc-act.c (lang_identify): Constify a char*.
14897
14898 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14899
14900 * genpeep.c (main): Make generated file include "function.h".
14901 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
14902
14903 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14904
14905 * Makefile.in: Update dependencies.
14906 * alias.c: Include "function.h"
14907 * c-decl.c: Likewise.
14908 * caller-save.c: Likewise.
14909 * calls.c: Likewise.
14910 * combine.c: Likewise.
14911 * cse.c: Likewise.
14912 * explow.c: Likewise.
14913 * final.c: Likewise.
14914 * global.c: Likewise.
14915 * graph.c: Likewise.
14916 * local-alloc.c: Likewise.
14917 * loop.c: Likewise.
14918 * optabs.c: Likewise.
14919 * profile.c: Likewise.
14920 * recog.c: Likewise.
14921 * regclass.c: Likewise.
14922 * regmove.c: Likewise.
14923 * reload.c: Likewise.
14924 * reorg.c: Likewise.
14925 * resource.c: Likewise.
14926 * sched.c: Likewise.
14927 * stupid.c: Likewise.
14928 * config/1750a/1750a.c: Likewise.
14929 * config/a29k/a29k.c: Likewise.
14930 * config/arc/arc.c: Likewise.
14931 * config/arm/arm.c: Likewise.
14932 * config/arm/thumb.c: Likewise.
14933 * config/c4x/c4x.c: Likewise.
14934 * config/clipper/clipper.c: Likewise.
14935 * config/convex/convex.c: Likewise.
14936 * config/fx80/fx80.c: Likewise.
14937 * config/i860/i860.c: Likewise.
14938 * config/m68k/m68k.c: Likewise.
14939 * config/m88k/m88k.c: Likewise.
14940 * config/mips/mips.c: Likewise.
14941 * config/pdp11/pdp11.c: Likewise.
14942 * config/pyr/pyr.c: Likewise.
14943 * config/romp/romp.c: Likewise.
14944 * config/sh/sh.c: Likewise.
14945 * config/tahoe/tahoe.c: Likewise.
14946 * config/vax/vax.c: Likewise.
14947 * config/we32k/we32k.c: Likewise.
14948 * config/sparc/sparc.c: Include "function.h".
14949 (mem_min_alignment): Test current_function rather than
14950 regno_pointer_align.
14951 * config/pa/pa.c: Likewise.
14952 (compute_frame_size): Delete declaration of
14953 current_function_outgoing_args_size.
14954 * config/arc/arc.h (current_function_varargs): Delete declaration.
14955 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
14956 declaration.
14957 * config/i370/i370.h (current_function_outgoing_args_size): Delete
14958 declaration.
14959 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
14960 current_function_uses_pic_offset_table.
14961 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
14962 of current_function_returns_pointer.
14963 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14964 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14965 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14966 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14967 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14968 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
14969 * config/m88k/m88k.c: Include "function.h"
14970 (call_used_regs, current_function_pretend_args_size,
14971 current_function_outgoing_args_size, frame_pointer_needed): Delete
14972 declarations.
14973 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
14974 declaration.
14975 * config/mips/mips.h (current_function_calls_alloca): Delete
14976 declaration.
14977 * config/mn10200/mn10200.h (current_function_needs_context,
14978 rtx_equal_function_value_matters): Delete declarations.
14979 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
14980 flag_pic): Delete declarations.
14981 * config/pa/pa.h (current_function_pretend_args_size,
14982 current_function_decl): Delete declarations.
14983 * config/pa/som.h (current_function_varargs): Delete declaration.
14984 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
14985 declaration.
14986 * config/pyr/pyr.h (current_function_pretend_args_size,
14987 current_function_args_size, current_function_calls_alloca): Delete
14988 declarations.
14989 * config/sh/sh.h (current_function_varargs): Delete declaration.
14990 * config/sparc/sparc.h (current_function_outgoing_args_size,
14991 current_function_calls_alloca, current_function_decl): Delete
14992 declarations.
14993 * config/spur/spur.h (current_function_pretend_args_size,
14994 current_function_calls_alloca): Delete declarations.
14995 * config/v850/v850.c (current_function_outgoing_args_size): Delete
14996 declaration.
14997 * config/vax/vms.h (current_function_name): Delete declaration.
14998 * gcse.c: Include "function.h".
14999 (current_function_name, current_function_calls_setjmp): Delete
15000 declarations.
15001 * haifa-sched.c: Include "function.h".
15002 (forced_labels): Delete declaration.
15003 * jump.c: Likewise.
15004 * reg-stack.c: Likewise.
15005 * reload1.c: Likewise.
15006 * genemit.c (main): Make generated file include function.h.
15007 * genoutput.c (output_prologue): Likewise.
15008
15009 * builtins.c (saveregs_value, apply_args_value): Delete variables.
15010 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
15011 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
15012 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
15013 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
15014 macros for some of them.
15015 (emit_filename, emit_lineno): Delete declarations.
15016 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
15017 regno_pointer_* variables through current_function.
15018 (gen_inline_header_rtx): Delete function.
15019 (save_emit_status): Delete function.
15020 (set_new_last_label_num): New function.
15021 (clear_emit_caches): New function.
15022 (restore_emit_status): Just clear last_labelnum and call
15023 clear_emit_caches.
15024 (get_last_insn_anywhere): Variable sequence_stack is now accessed
15025 through macro seq_stack.
15026 (add_insn_after): Likewise.
15027 (add_insn_before): Likewise.
15028 (remove_insn): Likewise.
15029 (pop_topmost_sequence): Likewise.
15030 (in_sequence_p): Likewise.
15031 (start_sequence_for_rtl_expr): Likewise.
15032 (start_sequence): Likewise, and likewise for
15033 sequence_rtl_expr/seq_rtl_expr.
15034 (push_topmost_sequence): Likewise.
15035 (end_sequence): Likewise.
15036 (init_virtual_regs): Now takes a "struct emit_status *" argument.
15037 All callers changed. Store into that pointer instead of globals.
15038 (init_emit): Allocate emit elt of current_function.
15039 Changes for sequence_rtl_expr/sequence_stack renaming.
15040 Call clear_emit_caches instead of doing it in-line.
15041 Access regno_pointer_* variables through current_function.
15042 (init_emit_once) Don't clear sequence_stack.
15043
15044 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
15045 Delete variables.
15046 (arg_pointer_save_area): Delete declaration.
15047 (finish_expr_for_function): Renamed from init_queue; no longer static.
15048 (init_expr): Don't call init_queue.
15049 (save_expr_status, restore_expr_status): Delete functions.
15050 (expand_expr): Changes to reflect new layout of struct function.
15051 Don't access current_function_check_memory_usage when current_function
15052 is 0.
15053 * expr.h (forced_labels, save_expr_regs, saveregs_value,
15054 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
15055 current_function_outgoing_args_size, current_function_arg_offset_rtx,
15056 current_function_uses_const_pool, function_call_count,
15057 current_function_uses_pic_offset_table, nonlocal_labels,
15058 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
15059 current_function_check_memory_usage, nonlocal_goto_handler_slots,
15060 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
15061 declarations.
15062 (finish_expr_for_function): Declare.
15063 * flags.h (current_function_has_nonlocal_label,
15064 current_function_has_nonlocal_goto, current_function_is_thunk,
15065 current_function_has_computed_jump): Delete declarations.
15066 * flow.c (forced_labels): Delete declaration.
15067 * function.c (current_function_pops_args,
15068 current_function_returns_struct, current_function_returns_pcc_struct,
15069 current_function_needs_context, current_function_calls_setjmp,
15070 current_function_calls_longjmp, current_function_has_nonlocal_label,
15071 current_function_has_nonlocal_goto, current_function_is_thunk,
15072 current_function_has_computed_jump, current_function_calls_alloca,
15073 current_function_contains_functions, current_function_returns_pointer,
15074 current_function_epilogue_delay_list, current_function_args_size,
15075 current_function_pretend_args_size, current_function_arg_offset_rtx,
15076 current_function_outgoing_args_size, current_function_varargs,
15077 current_function_stdarg, current_function_args_info, cleanup_label,
15078 current_function_name, current_function_uses_const_pool,
15079 current_function_instrument_entry_exit, current_function_return_rtx,
15080 current_function_uses_pic_offset_table, nonlocal_labels,
15081 current_function_internal_arg_pointer, current_function_cannot_inline,
15082 current_function_check_memory_usage, function_call_count,
15083 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
15084 nonlocal_goto_stack_level, return_label, save_expr_regs,
15085 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
15086 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
15087 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
15088 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
15089 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
15090 Delete variables.
15091 (push_function_context_to): Don't save them. Don't call
15092 save_storage_status, save_emit_status or save_expr_status.
15093 (pop_function_context_from): Don't restore them. Don't call
15094 restore_storage_status or restore_expr_status.
15095 (get_func_frame_size): New function.
15096 (get_frame_size): Use it.
15097 (assign_outer_stack_local): Reflect some member name changes in struct
15098 function.
15099 (put_reg_into_stack): Likewise.
15100 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
15101 seq_rtl_expr.
15102 (fixup_var_refs): Likewise.
15103 (fix_lexical_addr): Likewise.
15104 (trampoline_address): Likewise.
15105 (prepare_function_start): Clear field inlinable of current_function.
15106 (init_function_for_compilation): New function.
15107 (expand_dummy_function_end): New function.
15108 (expand_function_end): Call finish_expr_for_function.
15109 * function.h (struct emit_status): New; fields moved here from struct
15110 function and from global variables. Add accessor macros for some of
15111 the fields.
15112 (struct expr_status): Likewise.
15113 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
15114 (struct function): Add fields expr and emit, inlinable, inl_emit,
15115 original_arg_vector, original_decl_initial, inl_last_parm_insn,
15116 inl_max_label_num. Add many comments.
15117 Add accessor macros for all elts of struct function that no longer
15118 have a global variable.
15119 (cleanup_label, return_label, frame_offset, tail_recursion_label,
15120 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
15121 stack_slot_list): Delete declarations.
15122 (get_func_frame_size): Declare.
15123 (save_expr_status, restore_expr_status, save_emit_status,
15124 save_storage_status, restore_storage_status): Delete declarations.
15125 (init_virtual_regs): Declare.
15126 * output.h (current_function_pops_args,
15127 current_function_returns_struct, current_function_returns_pcc_struct,
15128 current_function_needs_context, current_function_calls_setjmp,
15129 current_function_calls_longjmp, current_function_calls_alloca,
15130 current_function_has_nonlocal_label, current_function_varargs,
15131 current_function_has_computed_jump, current_function_returns_pointer,
15132 current_function_contains_functions, current_function_args_size,
15133 current_function_pretend_args_size, current_function_stdarg,
15134 current_function_outgoing_args_size, current_function_args_info,
15135 current_function_name, current_function_return_rtx,
15136 current_function_epilogue_delay_list,
15137 current_function_uses_const_pool, current_function_cannot_inline):
15138 Delete declarations.
15139 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
15140 regno_reg_rtx): Delete declaration.
15141 (REGNO_POINTER_FLAG): Delete macro.
15142 * stmt.c (expand_goto): Changes to reflect that some fields in struct
15143 function were renamed.
15144 * stor-layout.c (save_storage_status, restore_storage_status): Delete
15145 functions.
15146 * toplev.c: Include "function.h".
15147 (current_function_decl): Delete declaration.
15148 (compile_file): Call init_dummy_function_start and
15149 expand_dummy_function_end around some initializations that need to
15150 emit rtl.
15151 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
15152 Call init_function_for_compilation.
15153 * unroll.c: Include "function.h"
15154 (unroll_loop): Access regno_pointer_* variables through
15155 current_function.
15156
15157 * tree.h (struct tree_decl): Add elt f to saved_insns member.
15158 (DECL_SAVED_INSNS): use it.
15159 (expand_dummy_function_end): Declare.
15160 (init_function_for_compilation): Declare.
15161 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
15162 that it's no longer an INLINE_HEADER.
15163 (expand_call): Likewise.
15164 * integrate.c (finish_inline): Delete function.
15165 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
15166 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
15167 args. Don't generate an INLINE_HEADER rtx, just return the arg
15168 vector. All callers changed.
15169 (save_for_inline_copying): Create a duplicate struct emit_status to
15170 hold the emit state for compiling the current function. Use this and
15171 the other new fields in struct function that are for integration
15172 instead of an INLINE_HEADER.
15173 Use memcpy instead of bcopy.
15174 Store the current struct function in DECL_SAVED_INSNS of fndecl.
15175 (save_for_inline_nocopy): Similar changes, except no new emit_status
15176 is needed here.
15177 (expand_inline_function): Get information from function structure,
15178 not from an inline header rtx.
15179 (output_inline_function): Lose code to extract the necessary
15180 information from an inline header; simply put back the function
15181 structure into current_function. Clear its inlinable elt.
15182 * rtl.def (INLINE_HEADER): Delete.
15183 * rtl.h: Delete all accessors for an INLINE_HEADER.
15184 (gen_inline_header_rtx): Delete declaration.
15185 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
15186 Delete declarations.
15187 (REGNO_POINTER_ALIGN): Delete.
15188 (clear_emit_caches): Declare.
15189 (set_new_last_label_num): Declare.
15190
15191 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
15192
15193 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
15194
15195 * except.c (expand_eh_region_start_for_decl): Always start a new block.
15196 * stmt.c (is_eh_region): Make sure current_function is present, too.
15197
15198 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
15199
15200 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
15201 for 64bit PA targets.
15202
15203 * pa.h (SELECT_SECTION): Define.
15204 * som.h (SELECT_SECTION): Delete.
15205
15206 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15207
15208 * alias.c (init_alias_analysis): Wrap call to
15209 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
15210
15211 1999-08-07 Bruce Korb <autogen@linuxbox.com>
15212
15213 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
15214 <sys/asm.h> contains an asm comment with an apostrophe
15215 * fixinc/inclhack.sh: regen
15216 * fixinc/fixincl.x: regen
15217
15218 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
15219
15220 * function.c (init_function_start): Clear prologue & epilogue.
15221 (prologue_epilogue_contains): New function.
15222 * alias.c (init_alias_analysis): Use it.
15223 * rtl.h (prologue_epilogue_contains): Declare it.
15224
15225 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
15226
15227 * jump.c (onlyjump_p): New function.
15228 * rtl.h: Declare it.
15229 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
15230 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
15231
15232 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
15233
15234 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
15235 to invert loops. Simplify block scanning.
15236
15237 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15238
15239 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
15240 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
15241
15242 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
15243
15244 * config/sparc/liteelf.h: New file to support sparclite-elf target
15245 * config/sparc/t-sp86x: New file to support sparc86x targets
15246 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
15247 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
15248 * configure.in: Support above target triplets
15249 * configure: Regenerated
15250
15251 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
15252
15253 * fixinc/server.c (server_setup): Do not prefix function used as
15254 parameter with `&'.
15255
15256 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
15257
15258 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
15259 Remove fp reg alternatives.
15260
15261 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
15262
15263 * Makefile.in (TAROUTOPTS): Kill.
15264 (install-headers-tar): Use "xpf" for tar headerfile extraction
15265 * i370/x-oe (TAROUTOPTS): Delete.
15266 * m68k/x-apollo68 (TAROUTOPTS): Delete.
15267 * m68k/x-hp320 (TAROUTOPTS): Delete.
15268 * m68k/x-hp320g (TAROUTOPTS): Delete.
15269 * gcc.texi: Update bug reporting text.
15270
15271 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15272
15273 * reg-stack.c (change_stack) Fixed problem with negative array index.
15274
15275 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
15276
15277 * extend.texi, install.texi: Fix spelling mistakes.
15278
15279 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
15280 (s-attrtab); No longer try to use pre-made insn-attrtab file.
15281 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
15282 PREMADE_ATTRTAB_MD.
15283 * mips/t-ecoff: Likewise.
15284 * mips/t-elf: Likewise.
15285 * mips/t-mips: Likewise.
15286 * mips/t-osfrose: Likewise.
15287 * mips/t-r3900: Likewise.
15288 * mips/t-svr3: Likewise.
15289 * mips/t-svr4: Likewise.
15290 * mips/t-ultrix: Likewise.
15291
15292 * gcc.texi: Document recommend means to provide software floating
15293 point libraries in libgcc.a
15294
15295 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
15296
15297 * c-lex.c (yylex): We can have a number with no digits.
15298
15299 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
15300
15301 * jump.c (delete_prior_computation): New function, broken
15302 out of delete_computation. Check for side effects with
15303 side_effects_p instead of FIND_REG_INC_NOTE. Handle
15304 multi-word hard registers.
15305 (delete_computation): Use it. Check for side effects with
15306 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
15307 missing REG_DEAD note for a register which is both set and
15308 used by an insn.
15309
15310 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
15311
15312 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
15313 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
15314 (ASM_FILE_START): Import _mcount with the right type.
15315 (ASM_DECLARE_FUNCTION_NAME): Define.
15316 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
15317 * pa.c (output_function_prologue): Always emit the function's label
15318 here.
15319 * pa.h (TEXT_SPACE_P): Define.
15320 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
15321 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
15322 * som.h (TEXT_SPACE_P): Delete.
15323 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
15324 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
15325
15326 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
15327
15328 * expr.c (emit_group_load): Allow src to be a CONCAT.
15329
15330 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15331
15332 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
15333 (___mulsi3): Use '!' comment character.
15334
15335 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15336
15337 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
15338
15339 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
15340
15341 * gcc.c: Update URLs and mail addresses.
15342 * gcc.texi: Likewise.
15343
15344 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
15345
15346 * rs6000.c (current_file_function_operand): Return zero for
15347 weak functions.
15348 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
15349 weak symbols.
15350 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
15351 for weak symbols.
15352
15353 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
15354
15355 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
15356 allocate space in the stack frame for the PIC register.
15357
15358 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
15359
15360 * m68k.md (xordi3, anddi3): These patterns are not available on
15361 the coldfire.
15362
15363 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
15364
15365 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
15366 (PUT_REAL): Likewise.
15367
15368 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15369
15370 * final.c (shorten_branches): Don't add an alignment for loops
15371 that have no label inside.
15372
15373 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15374
15375 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
15376 prototypes in macro HAVE_cmpstrsi.
15377
15378 * cpplib.c (cpp_get_token): Remove unused label `op3'.
15379
15380 * emit-rtl.c (operand_subword): Remove unused variable
15381 `bits_per_word'.
15382
15383 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
15384
15385 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
15386
15387 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
15388
15389 * cpphash.c (macroexpand): Delete leading whitespace when arg
15390 is concatenated before.
15391 (unsafe_chars): Correct test for whether + and - can extend a
15392 token.
15393
15394 * cppinit.c (cpp_start_read): Do dependencies for
15395 -include/-imacros files also.
15396
15397 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
15398 tokenizing non-directive lines.
15399 (cpp_expand_to_buffer): Temporarily disable no-output mode.
15400 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
15401 the input file.
15402
15403 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
15404
15405 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
15406
15407 * c-lex.c: Sync with C++ frontend.
15408 (linemode): New variable.
15409 (parse_float): imag, conversion_errno, and type are output only.
15410 (yylex): Adjust. Move initial '.' case into main switch.
15411 Use linemode.
15412 (handle_generic_pragma): Just deal with tokens.
15413 (readescape): Use ISXDIGIT and ISGRAPH.
15414 * c-parse.in: Add END_OF_LINE token.
15415
15416 * c-lex.c (lang_init): Generalize.
15417 (nextchar): Remove. Replace uses with UNGETC.
15418 (skip_white_space): Handle linemode here. Optimize for cpplib.
15419 (skip_white_space_on_line): Remove.
15420 (extend_token_buffer_to): New fn.
15421 (extend_token_buffer): Use it.
15422 (read_line_number, check_newline): Just deal with tokens.
15423 (token_getch, token_put_back): New fns.
15424 (yylex): Use them. More cpplib optimizations. Simplify.
15425
15426 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
15427 Jason Merrill <jason@yorick.cygnus.com>
15428
15429 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
15430 (consume_string): Make this smart about USE_CPPLIB.
15431 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
15432 (yylex): Rewrite to be intelligent about USE_CPPLIB.
15433 Also, clean up cases where we redundantly set token_buffer[0].
15434 (read_line_number): New fn.
15435 (ignore_escape_flag): New variable.
15436
15437 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
15438
15439 * a29k/t-a29kbare: Fix some comments.
15440 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
15441 (FPBIT, DPBIT): Define.
15442 * a29k/t-vx29k: Likewise.
15443 * arc/t-arc: Likewise.
15444 * arm/t-arm-elf: Likewise.
15445 * arm/t-bare: Likewise.
15446 * arm/t-pe: Likewise.
15447 * arm/t-pe-thumb: Likewise.
15448 * arm/t-semi: Likewise.
15449 * arm/t-thumb: Likewise.
15450 * arm/t-thumb-elf: Likewise.
15451 * arm/t-thumb-linux: Likewise.
15452 * h8300/t-h8300: Likewise.
15453 * i960/t-i960: Likewise.
15454 * i960/t-vxworks960: Likewise.
15455 * m32r/t-m32r: Likewise.
15456 * mips/t-ecoff: Likewise.
15457 * mips/t-elf: Likewise.
15458 * mips/t-r3900: Likewise.
15459 * pa/t-pro: Likewise.
15460 * rs6000/t-aix43: Likewise.
15461 * rs6000/t-beos: Likewise.
15462 * rs6000/t-newas: Likewise.
15463 * rs6000/t-ppccomm: Likewise.
15464 * rs6000/t-rs6000: Likewise.
15465 * rs6000/t-winnt: Likewise.
15466 * rs6000/t-xnewas: Likewise.
15467 * rs6000/t-xrs6000: Likewise.
15468 * sh/t-sh: Likewise.
15469 * sparc/t-elf: Likewise.
15470 * sparc/t-sparcbare: Likewise.
15471 * sparc/t-sparclite: Likewise.
15472 * sparc/t-splet: Likewise.
15473 * v850/t-v850: Likewise.
15474 * mn10200/t-mn10200: Fix comments.
15475 * mn10300/t-mn10300: Likewise.
15476
15477 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
15478 dummy operand. Allocate a new pseudo for the dummy operand.
15479 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
15480
15481 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
15482
15483 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
15484
15485 * configure: Rebuilt.
15486 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
15487
15488 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
15489
15490 * recog.c (preproces_constraints): Zero recog_op_alt before
15491 processing the constraints.
15492
15493 * arm.c (typedef minipool_node): Renamed from pool_node.
15494 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
15495 (add_minipool_constant): New function.
15496 (dump_minipool): New function.
15497 (find_barrier): Remove special case for getting the insn size of
15498 an insn that references the constant pool.
15499 (minipool_fixup): New structure.
15500 (push_minipool_barrier): New function.
15501 (push_minipool_fix): New function.
15502 (note_invalid_constants): New function.
15503 (add_pool_constant, dump_table, fixit, broken_move): Delete.
15504 (arm_reorg): Rewrite code to fix up the constant pool into a
15505 series of mini-pools embedded in the insn stream.
15506 (arm_output_epilogue): New function, made mainly from the body
15507 of output_func_epilogue.
15508 (output_func_epilogue): Move insn generation part of epilogue code
15509 to arm_output_epilogue.
15510 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
15511 * arm.md (pool_range): New attribute.
15512 (zero_extendqidi2): Add attribute pool_range.
15513 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
15514 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
15515 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
15516 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
15517 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
15518 (epilogue): New expand.
15519 (epilogue_insn): New insn. Call arm_output_epilogue.
15520
15521 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
15522 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
15523
15524 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
15525
15526 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
15527
15528 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
15529
15530 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
15531
15532 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
15533
15534 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
15535
15536 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
15537
15538 * global.c: Fix comment.
15539
15540 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
15541
15542 * gcc.c (access_check): New static function.
15543 (find_a_file): Use it when searching a directory list.
15544 * collect2.c (find_a_file): Don't accept directories found when
15545 searching a directory list.
15546
15547 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
15548
15549 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
15550 function parameters with `&'.
15551 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
15552
15553 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
15554
15555 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
15556 or tidy_fallthru_edge if the last insn in the block is not
15557 an unconditional jump or a simple conditional jump.
15558
15559 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15560
15561 * Makefile.in (c-decl.o): Depends on defaults.h.
15562
15563 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
15564
15565 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
15566 PA1.1 and above.
15567 (CLASS_MAX_NREGS): Likewise.
15568
15569 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
15570
15571 * cse.c (cse_insn): Fix dumb thinko in last change.
15572
15573 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15574
15575 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
15576 "const char *".
15577
15578 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
15579
15580 * dwarf2out.c (add_location_or_const_value_attribute): Correct
15581 test for sizes of passed and declared parameter types.
15582
15583 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15584
15585 * fixincludes: Fix the return type of bsearch, char* -> void*.
15586
15587 * fixinc/inclhack.def: Likewise.
15588
15589 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
15590
15591 * invoke.texi (-fdump-translation-unit): New option.
15592
15593 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
15594
15595 * expr.h (PROMOTE_PROTOTYPES): Move ...
15596 * defaults.h: ... to here.
15597 * c-decl.c: Include defaults.h instead of expr.h.
15598 * c-typeck.c: Include defaults.h.
15599
15600 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
15601
15602 * toplev.h (errorcount): Declare.
15603 (warningcount): Likewise.
15604 (sorrycount): Likewise.
15605 * c-lex.c (errorcount): Don't declare.
15606 * dwarf2out.c (errorcount): Don't declare.
15607
15608 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
15609
15610 * config/libgloss.h: Add a note discouraging use with ELF.
15611 * configure.in: Don't use libgloss.h for ELF targets.
15612 Always use_collect2 on a.out targets.
15613
15614 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
15615
15616 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
15617 (force_to_mode, case ASHIFTRT): Add shiftrt label.
15618
15619 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15620
15621 * loop.c (strength_reduce): When doing biv->giv conversion, update
15622 reg note of NEXT->insn.
15623
15624 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
15625
15626 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
15627
15628 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
15629
15630 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
15631 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
15632 Ensure expr.h is included.
15633 * c-typecheck.c (convert_arguments): Ditto.
15634
15635 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
15636
15637 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
15638 * config/convex/convex.h: Ditto.
15639 * config/dsp16xx/dsp16xx.h: Ditto.
15640 * config/fx80/fx80.h: Ditto.
15641 * config/gmicro/gmicro.h: Ditto.
15642 * config/i370/i370.h: Ditto.
15643 * config/i386/i386.h: Ditto.
15644 * config/m32r/m32r.h: Ditto.
15645 * config/m68k/m68k.h: Ditto.
15646 * config/m88k/m88k.h: Ditto.
15647 * config/mips/mips.h: Ditto.
15648 * config/pa/pa.h: Ditto.
15649 * config/pyr/pyr.h: Ditto.
15650 * config/tahoe/tahoe.h: Ditto.
15651 * config/we32k/we32k.h: Ditto.
15652
15653 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
15654 based on arch size.
15655
15656 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
15657
15658 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
15659 from comment.
15660
15661 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
15662
15663 1999-08-02 Richard Henderson <rth@cygnus.com>
15664
15665 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
15666 for the register spill block.
15667 (m32r_va_arg): New.
15668 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
15669 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
15670
15671 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
15672 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
15673 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
15674
15675 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
15676
15677 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
15678 MAX_WCHAR_TYPE defined in sparc.h.
15679 * config/sparc/linuxaout.h: Likewise.
15680 * config/sparc/linux64.h: Likewise.
15681 Also default to -mvis if CPU is UltraSPARC.
15682
15683 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
15684
15685 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
15686 (RTX_OK_FOR_OLO10): Likewise.
15687 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
15688 %lo(), allow it in addresses...
15689 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
15690 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
15691 does not make sense.
15692 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
15693 (sparc_output_scratch_registers): New function.
15694 (output_function_prologue, sparc_flat_output_function_prologue): Use
15695 it.
15696 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
15697 defined.
15698 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
15699 * configure.in: Add check for .register pseudo-op support in as and
15700 check for offsetable %lo().
15701 * acconfig.h: Add templates for the above checks.
15702 * configure: Regenerate.
15703
15704 1999-08-02 Richard Henderson <rth@cygnus.com>
15705
15706 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
15707 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
15708 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
15709
15710 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15711
15712 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
15713 reg_biv_class.
15714
15715 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
15716
15717 * config/float-sparc.h: New file.
15718 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
15719 sparc-*-linux-gnu and sparc64-*-linux*.
15720
15721 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15722
15723 * rs6000.c (rs6000_va_list): Type is an array.
15724 (rs6000_va_start): Don't doubly adjust for varargs.
15725 (rs6000_va_arg): Evaluate long long GPR adjustment.
15726
15727 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
15728
15729 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
15730 -maix64 and -maix32.
15731 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
15732 LINK_SPEC): Change appropriately.
15733 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
15734 (u_short_cint_operand): Likewise.
15735 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
15736 for 64-bit hosts.
15737 * rs6000/t-aix43 (MULTILIB): Change to -m64.
15738
15739 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
15740
15741 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
15742
15743 * rs6000/rs6000.c (num_insns_constant_wide): Correct
15744 for type promotion.
15745 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
15746 (non_add_cint_operand): Likewise.
15747 (logical_operand): Likewise.
15748 (non_logical_cint_operand): Likewise.
15749 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
15750 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
15751 (rs6000_select_rtx_section): Suppress warning.
15752 (small_data_operand): Suppress warning.
15753 (rs6000_got_register): Suppress warning.
15754 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
15755 type, so `J' is generally the wrong constraint for a SImode value;
15756 use `L' instead.
15757 (andsi3_internal2): Likewise.
15758 (andsi3_internal3): Likewise.
15759 (iorsi3_internal1): Likewise.
15760 (xorsi3_internal1): Likewise.
15761 (movsi): Likewise.
15762 (movsf_softfloat): Likewise.
15763 (scc insns): Likewise.
15764 (movsi+2): Preserve sign bits of SImode constant.
15765 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
15766 (movdf+1): Sign-extend properly.
15767 (movdi_32+1): Sign-extend properly.
15768 (scc insns): Sign-extend properly.
15769
15770 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
15771 K, L, and T.
15772
15773 1999-08-02 Richard Henderson <rth@cygnus.com>
15774
15775 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
15776 -mcpu parsing code.
15777 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
15778 * alpha.md (all fp insns): Likewise.
15779
15780 1999-08-02 Nick Clifton <nickc@cygnus.com>
15781
15782 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
15783 already defined.
15784
15785 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
15786
15787 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
15788 pic_load_label generator directly.
15789 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
15790 No longer a named pattern.
15791
15792 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
15793
15794 * explow.c (force_reg): Call force_operand if X does not
15795 satisfy general_operand.
15796
15797 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
15798
15799 * fix-header.c (main): When testing for CONTINUED, use string
15800 equality, not pointer equality.
15801
15802 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
15803
15804 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
15805
15806 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
15807
15808 * cse.c (cse_insn): Fix loop which deletes insns after a jump
15809 that has become an unconditional jump.
15810
15811 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
15812 (output_function_epilogue): Similarly.
15813
15814 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15815
15816 * tree.h (init_dummy_function_start): Declare.
15817
15818 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15819
15820 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
15821 last_expr_type, last_expr_value, block_start_count, block_stack,
15822 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
15823 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
15824 dynamically in stmt elt of struct function for each function.
15825 (struct nesting): Rename function_call_count elt to n_function_calls,
15826 target_temp_slot_level to block_target_temp_slot_level. All users
15827 changed.
15828 (struct stmt_status): New structure definition.
15829 Add many accessor macros for stmt_status elements which previously
15830 were global variables.
15831 (init_stmt_for_function): Allocate stmt elt for current_function.
15832 Reflect that block_start_count was renamed to
15833 current_block_start_count.
15834 (save_stmt_status, restore_stmt_status): Delete functions.
15835 (preserve_subexpressions_p): Don't access loop_stack when outside
15836 a function.
15837 (expand_start_bindings): Reflect that block_start_count was renamed to
15838 current_block_start_count.
15839 (expand_fixup): Likewise.
15840 (expand_decl): Don't access block_stack when outside a function.
15841 (expand_decl_cleanup): Likewise.
15842 (expand_dcc_cleanup): Likewise.
15843 (expand_dhc_cleanup): Likewise.
15844 (expand_anon_union_decl): Likewise.
15845 (set_file_and_line_for_stmt): New function.
15846 (in_control_zone_p): New function.
15847
15848 * function.h (struct function): Add new elt stmt.
15849 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
15850 case_stack, nesting_stack, nesting_depth, block_start_count,
15851 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
15852 emit_lineno, goto_fixup_chain.
15853 (save_eh_status, restore_eh_status, save_stmt_status,
15854 restore_stmt_status): Delete declarations.
15855 * function.c (push_function_context_to): Don't call save_stmt_status.
15856 (pop_function_context_to): Don't call restore_stmt_status.
15857 * tree.h (in_control_zone_p): Declare.
15858 * rtl.h (set_file_and_line_for_stmt): Declare.
15859
15860 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
15861 call set_file_and_line_for_stmt.
15862
15863 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
15864
15865 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
15866 Also update copyright.
15867
15868 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15869
15870 * c-pragma.c: Don't include "except.h".
15871 * emit-rtl.c: Likewise.
15872 * stor-layout.c: Likewise.
15873 * tree.c: Likewise.
15874 * varasm.c: Likewise.
15875
15876 * flow.c: Include "function.h".
15877 * tree.h (init_dummy_function_start): Declare new function.
15878
15879 * except.h (struct eh_status): New structure.
15880 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
15881 been included.
15882 (eh_return_stub_label, ehstack, catchstack, ehqueue,
15883 catch_clauses, false_label_stack, caught_return_label_stack,
15884 protect_list, current_function_ehc): Add accessor macros for the
15885 corresponding fields in current_function->eh; delete declarations
15886 for all items that used to be declared here.
15887 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
15888 catch_clauses, false_label_stack, caught_return_label_stack,
15889 protect_list, current_function_ehc): Delete variables.
15890 (init_eh_for_function): Allocate current_function->eh.
15891 (save_eh_status, restore_eh_status): Delete functions.
15892
15893 * function.h (struct function): Add fields next_global and eh.
15894 Delete all exception handling related fields.
15895 * function.c (current_function): New variable.
15896 (all_functions): New variable.
15897 (push_function_context_to): Don't allocate a struct function,
15898 use current_function instead. Call init_dummy_function_start when
15899 outside a function. Clear current_function before returning.
15900 (pop_function_context_from): Restore current_function.
15901 Don't free the restored struct function.
15902 (prepare_function_start): New function.
15903 (init_dummy_function_start): New function.
15904 (init_function_start): Break out some code into prepare_function_start
15905 and call it here.
15906
15907 * stmt.c (save_stmt_status): Don't call save_eh_status.
15908 (restore_stmt_status): Don't call restore_eh_status.
15909
15910 * Makefile.in: Update dependencies.
15911
15912 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
15913
15914 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
15915 of depending on a magic constant value. Update comments.
15916 (hppa_expand_prologue): Similarly.
15917
15918 * pa.md (reload_indi, reload_outdi): Allow any register for the
15919 original reload register.
15920
15921 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
15922
15923 * cccp.c (print_help): Change marcos to macros.
15924
15925 1999-07-30 Richard Henderson <rth@cygnus.com>
15926
15927 * c-typeck.c (initializer_constant_valid_p): Move ...
15928 * c-common.c (initializer_constant_valid_p): ... here. Use
15929 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
15930 of label addresses.
15931 * c-common.h (initializer_constant_valid_p): Declare.
15932 * c-tree.h (initializer_constant_valid_p): Remove.
15933
15934 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
15935
15936 * config/i386/sol2-c1.asm: Align the stack.
15937 * config/i386/sol2-gc1.asm: Likewise.
15938
15939 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
15940
15941 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
15942 -Asparclite for sparc86x.
15943 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
15944 sparc86x.
15945 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
15946
15947 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
15948
15949 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
15950 the user if using the non-default arch size in BI_ARCH configuration.
15951 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
15952
15953 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
15954 Fix patterns so that they actually match.
15955 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
15956 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
15957 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
15958 TARGET_HARD_MUL32.
15959 (mulsidi3): Reflect this in the expand.
15960 (smulsi3_highpart): Only on TARGET_ARCH32.
15961 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
15962 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
15963 (umulsidi3): Reflect this in the expand.
15964 (umulsi3_highpart): Only on TARGET_ARCH32.
15965 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
15966 don't require g0 to be zero.
15967 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
15968 ({,u}divsi3): New expands.
15969 ({,u}divsi3_sp64): New patterns.
15970 (after lshrdi3_v8plus): Four new patterns to help combiner
15971 optimizing nested mixed mode shifts.
15972
15973 * config/sparc/sparc.c (sparc_override_options): Use deprecated
15974 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
15975 speed things up. Don't use them by default on plain v9 in 64bit
15976 mode, according to what SPAMv9 sais.
15977
15978 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
15979 top 32 bits of %[og][0-7] in signal handlers.
15980 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
15981
15982 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
15983
15984 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
15985 (ashlsi3): Corresponding changes.
15986
15987 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
15988
15989 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
15990
15991 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
15992
15993 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15994
15995 * arm.h (Hint): Delete macro.
15996 Substitute HOST_WIDE_INT for Hint in some prototypes.
15997 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
15998
15999 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
16000
16001 * builtins.c (expand_builtin_setjmp): Use force_operand to
16002 make sure that the buffer address is in a suitable form to be
16003 passed to force_reg.
16004
16005 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
16006
16007 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
16008 them here.
16009
16010 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
16011
16012 * pa.md (indirect_jump): Remove mode from match_operand. Verify
16013 proper mode in the condition string.
16014 (icacheflush, dcacheflush): Remove modes from match_operands.
16015
16016 * pa.c (emit_move_sequence): Always convert scratch_reg to the
16017 proper mode before using it.
16018
16019 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
16020 pair.
16021
16022 * pa.c (store_reg): Do not call add_high_const generator directly.
16023 (load_reg, set_reg_plus_d): Likewise.
16024 * pa.md (add_high_const): No longer a named pattern.
16025
16026 * pa.c (legitimize_address): Consistently use Pmode rather than
16027 SImode. Do not call gen_pic2_highpart directly anymore.
16028 * pa.md (pic2_highpart): No longer a named pattern.
16029 (pic2_lo_sum): Similarly. Reformat to make more readable.
16030
16031 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
16032 needed.
16033
16034 * README: Update.
16035
16036 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16037
16038 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
16039
16040 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
16041
16042 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
16043 and tag the spill mems.
16044 (hppa_va_start): New.
16045 (hppa_va_arg): New.
16046 * pa.h (EXPAND_BUILTIN_VA_START): New.
16047 (EXPAND_BUILTIN_VA_ARG): New.
16048
16049 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
16050
16051 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
16052 and tag the spill mems.
16053 (mn10300_va_start): New.
16054 (mn10300_va_arg): New.
16055 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
16056 (EXPAND_BUILTIN_VA_ARG): New.
16057
16058 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
16059
16060 * mn10200.c (mn10200_va_arg): New.
16061 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
16062
16063 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
16064
16065 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
16066 rather than play with TREE_INT_CST_LOW.
16067
16068 1999-07-27 Philip Blundell <pb@nexus.co.uk>
16069
16070 * config/arm/telf.h: Include dbxelf.h.
16071 (CPP_PREDEFINES): Only define if not already defined.
16072 (ASM_IDENTIFY_GCC): Likewise.
16073 (SUBTARGET_EXTRA_SECTIONS): Likewise.
16074 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
16075 * config/arm/thumb.h (LINK_SPEC): Only define if not already
16076 defined.
16077 (DBX_DEBUGGING_INFO): Don't define.
16078 * config/arm/linux-telf.h: New file.
16079 * config/arm/linux-tgas.h: New file.
16080 * config/arm/t-thumb-linux: New file.
16081 * config/arm/uclinux-elf.h: New file.
16082 * config/arm/uclinux-telf.h: New file.
16083 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
16084 thumb-*-uclinux): New targets.
16085 * configure: Regenerate.
16086
16087 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
16088
16089 * pa.md (post_store, pre_load): New expanders.
16090 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
16091 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
16092 need to directly generate RTL for them.
16093 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
16094 changes.
16095
16096 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
16097
16098 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
16099 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
16100 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
16101 (secndary_reload_class): Make TARGET_ELF conditional compile.
16102 (print_operand_address): Similar.
16103 (output_toc): Print all values as hex.
16104 (get_issue_rate): Rearrange and add RS64A and PPC630.
16105 * rs6000.h (processor_type): Add RS64A and PPC630.
16106 (PROCESSOR_POWERPC64): New.
16107 (PROMOTE_MODE): Use word_mode.
16108 (RTX_COSTS): Add RS64A and PPC630.
16109 * rs6000.md (scheduling information): Add lmul and ldiv
16110 representing 64-bit integer multiply and divide. Add rs64a and
16111 PPC630 information.
16112 (ashldi3): Add support for "rldic" instruction.
16113 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
16114
16115 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
16116
16117 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
16118 instead of V8 for sparclite86x in cpu_table.
16119
16120 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16121
16122 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
16123 output_file_directive.
16124
16125 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
16126
16127 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
16128 tree for op1, not the rtl.
16129
16130 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
16131
16132 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
16133 to m88k_va_start, leaving only the register spill.
16134 (m88k_build_va_list): New.
16135 (m88k_va_start): New.
16136 (m88k_va_arg): New.
16137 * m88k.h (BUILD_VA_LIST_TYPE): New.
16138 (EXPAND_BUILTIN_VA_START): New.
16139 (EXPAND_BUILTIN_VA_ARG): New.
16140
16141 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
16142
16143 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
16144 Rename from expand_builtin_saveregs.
16145 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
16146
16147 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
16148
16149 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
16150 for the register spill block.
16151 (i960_build_va_list): New.
16152 (i960_va_start): New.
16153 (i960_va_arg): New.
16154 * i960.h (BUILD_VA_LIST_TYPE): New.
16155 (EXPAND_BUILTIN_VA_START): New.
16156 (EXPAND_BUILTIN_VA_ARG): New.
16157 * i960.md (store_multiple): Use change_address on individul mems.
16158
16159 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
16160
16161 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
16162 an ARRAY_TYPE.
16163 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
16164 (expand_builtin_va_end): Evaluate arg for side effects.
16165 * c-common.c (c_common_nodes_and_builtins): Construct a
16166 va_list_arg_type_node to handle array decomposition to pointer.
16167
16168 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
16169
16170 * except.c (start_dynamic_cleanup): Use force_operand on the
16171 buffer's address.
16172
16173 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
16174
16175 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
16176 * c4x.c (c4x_va_arg): New.
16177
16178 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
16179
16180 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
16181 has manual_pop set.
16182
16183 1999-07-26 Nathan Sidwell <nathan@acm.org>
16184
16185 * eh-common.h (__eh_matcher): Prototype correctly.
16186
16187 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
16188
16189 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
16190 (TARGET_SINGLE_PIC_BASE): Likewise.
16191 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
16192 definitions.
16193 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
16194 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
16195 (TARGET_OPTIONS): Add -mpic-register=N.
16196 (OUTPUT_INT_ADDR_CONST): New macro.
16197 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
16198 LEGITIMATE_PIC_OPERAND_P): Likewise.
16199 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
16200 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
16201 output_addr_const directly.
16202 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
16203 ARM port.
16204 (thumb_pic_register, thumb_pic_register_string): Declare.
16205
16206 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
16207 from arm.c.
16208 (label_mentioned_p): New function: Imported from arm.c.
16209 (legitimize_pic_address): New function: Imported from arm.c.
16210 (is_pic):New function: Imported from arm.c.
16211 (thumb_finalize_pic):New function: Imported from arm.c.
16212 (add_constant): Cope with PIC constants.
16213 (fixit): Cope with PIC constants.
16214 (output_return): Do not treat the PIC register as live if
16215 TARGET_SINGLE_PIC_BASE is true.
16216 (thumb_function_prologue): Do not treat the PIC register as live if
16217 TARGET_SINGLE_PIC_BASE is true.
16218 (thumb_expand_prologue): Do not treat the PIC register as live if
16219 TARGET_SINGLE_PIC_BASE is true.
16220 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
16221 TARGET_SINGLE_PIC_BASE is true.
16222 (thumb_print_operand): Accept '|'.
16223 (thumb_override_options): Process PIC options.
16224
16225 * config/arm/thumb.md (movsi): Support PIC.
16226 (call_insn): Change "i" constraint to "X".
16227 (call_value_insn): Likewise.
16228 (consttable_4, consttable_8, consttable_end): Set and clear
16229 "making_const_table" as appropriate.
16230 (pic_load_addr, pic_add_dot_plus_four): New insns.
16231
16232 * invoke.texi (Thumb Options): Fix spelling. Document new
16233 options -msingle-pic-base and -mpic-register=.
16234
16235 1999-07-26 Andrew Haley <aph@cygnus.com>
16236
16237 * config/m32r/initfini.c (__init): Use a full word immediate for
16238 __fini: this allows it to be placed in any memory region.
16239
16240 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
16241 -mmodel=medium. This is OK for all memory models.
16242
16243 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
16244
16245 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
16246 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
16247
16248 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
16249
16250 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
16251 defined.
16252
16253 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
16254
16255 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
16256
16257 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
16258 (BUILD_VA_LIST_TYPE): New.
16259 (EXPAND_BUILTIN_VA_START): New.
16260 (EXPAND_BUILTIN_VA_ARG): New.
16261 * i860.c (output_delayed_branch): Disable.
16262 (output_delay_insn): Likewise.
16263 (i860_saveregs): New.
16264 (i860_build_va_list): New.
16265 (i860_va_start): New.
16266 (i860_va_arg): New.
16267 * i860.md: Disable all peepholes using output_delayed_branch.
16268 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
16269
16270 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
16271
16272 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
16273 (BUILD_VA_LIST_TYPE): New.
16274 (EXPAND_BUILTIN_VA_START): New.
16275 (EXPAND_BUILTIN_VA_ARG): New.
16276 * clipper.c (clipper_builtin_saveregs): Only dump registers.
16277 Return the address of the save area.
16278 (clipper_build_va_list): New.
16279 (clipper_va_start): New.
16280 (clipper_va_arg): New.
16281
16282 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
16283
16284 * arc.h (EXPAND_BUILTIN_VA_START): New.
16285 (EXPAND_BUILTIN_VA_ARG): New.
16286 * arc.c (arc_setup_incoming_varargs): Set alias set of
16287 varargs save area.
16288 (arc_va_start): New.
16289 (arc_va_arg): New.
16290
16291 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
16292
16293 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
16294 (BUILD_VA_LIST_TYPE): New.
16295 (EXPAND_BUILTIN_VA_START): New.
16296 (EXPAND_BUILTIN_VA_ARG): New.
16297 * alpha.c (alpha_builtin_saveregs): Delete.
16298 (alpha_build_va_list): New.
16299 (alpha_va_start): New.
16300 (alpha_va_arg): New.
16301
16302 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
16303
16304 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
16305 column zero.
16306 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
16307 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
16308
16309 * gcc.texi: More changes related to list conversion.
16310 * invoke.texi: Likewise.
16311
16312 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
16313
16314 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
16315 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
16316 (expand_builtin_next_arg): Accept ARGLIST not EXP.
16317 (stabilize_va_list): New function.
16318 (std_expand_builtin_va_start): New function.
16319 (expand_builtin_va_start): New function.
16320 (get_varargs_alias_set): New function.
16321 (std_expand_builtin_va_arg): New function.
16322 (expand_builtin_va_arg): New function.
16323 (expand_builtin_va_end): New function.
16324 (expand_builtin_va_copy): New function.
16325 (expand_builtin): Call them.
16326 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
16327 __builtin_{varargs_start,stdarg_start,end,copy}.
16328 (build_va_arg): New function.
16329 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
16330 (build_va_arg): Declare.
16331 * c-decl.c (ptr_type_node, va_list_type_node): New.
16332 * c-parse.gperf (__builtin_va_arg): New.
16333 * c-parse.in (VA_ARG): New token.
16334 (unary_expr): Recognize it.
16335 * expr.c (expand_expr): Expand VA_ARG_EXPR.
16336 * expr.h (std_expand_builtin_va_start): Declare.
16337 (std_expand_builtin_va_arg): Declare.
16338 (expand_builtin_va_arg): Declare.
16339 (get_varargs_alias_set): Declare.
16340 * tree.def (VA_ARG_EXPR): New.
16341 * tree.h (BUILT_IN_VARARGS_START): New.
16342 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
16343 (ptr_type_node, va_list_type_node): Declare.
16344 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
16345 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
16346 * m88k.h, m88k.c: Likewise.
16347 * mn10300.h, mn10300.c: Likewise.
16348 * pa.h, pa.c: Likewise.
16349 * rs6000.h, rs6000.c: Likewise.
16350 * sh.h, sh.c: Likewise.
16351 * sparc.h, sparc.c: Likewise.
16352
16353 * emit-rtl.c (operand_subword): Copy alias set.
16354 (change_address): Likewise.
16355
16356 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
16357
16358 * pa.c (compute_frame_size): Scan all the used callee saved registers,
16359 not just the first one.
16360
16361 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
16362
16363 * config/arm/arm.h (TARGET_SWITCHES): Add
16364 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
16365 (TARGET_OPTIONS): Add -mpic-register=.
16366 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
16367 (arm_pic_register_string): Declare.
16368 (NEED_PLT_GOT): Delete, replace with ...
16369 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
16370 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
16371 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
16372 * config/arm/arm.c (arm_override_options): Add new option
16373 -mpic-register=N.
16374 (arm_pic_register_string): New variable.
16375 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
16376 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
16377 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
16378 (output_return_instruction): Likewise.
16379 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
16380 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
16381 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
16382
16383 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
16384 mention of -msched-prolog. Document new options -msingle-pic-base
16385 and -mpic-register=.
16386
16387 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
16388
16389 * haifa-sched.c (reemit_notes): Tidy.
16390 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
16391 haifa's routine.
16392
16393 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
16394
16395 * explow.c (trunc_int_for_mode): New function.
16396 (plus_constant_wide): Use it.
16397 * combine.c (simplify_and_const_int): Likewise.
16398 (merge_outer_ops): Likewise.
16399 (simplify_shift_const): Likewise.
16400 * cse.c (simplify_unary_operation): Likewise.
16401 (simplify_binary_operation): Likewise.
16402 * emit-rtl.c (operand_subword): Likewise.
16403 * rtl.h: Declare it.
16404
16405 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16406
16407 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
16408 (use NUM_REGS instead of NUM_INTS).
16409
16410 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16411
16412 * builtins.c: New file.
16413 * expr.c (saveregs_value, apply_args_value): Delete definition,
16414 moved into builtins.c.
16415 (string_constant): No longer static.
16416 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
16417 apply_args_size, apply_result_size, result_vector,
16418 expand_builtin_apply_args, expand_builtin_apply,
16419 expand_builtin_return): Delete functions, moved into builtins.c.
16420 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
16421 * expr.h (saveregs_value, apply_args_value): Declare variables.
16422 (expand_builtin, string_constant): Declare functions.
16423 * Makefile.in: Update to build builtin.o.
16424
16425 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
16426
16427 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
16428 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
16429 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
16430 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
16431 false.
16432 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
16433 Define to zero.
16434
16435 1999-07-21 Michael Meissner <meissner@cygnus.com>
16436
16437 * print-rtl.c (print_rtx): Print the names of the virtual
16438 registers.
16439
16440 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
16441
16442 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
16443 introduced in previous delta.
16444
16445 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16446
16447 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
16448 to avoid name clash.
16449
16450 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
16451
16452 * c-lex.c (yylex) : Correct the test for overflow when lexing
16453 integer literals.
16454
16455 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
16456
16457 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
16458 (adjust_priority): Always call ADJUST_PRIORITY.
16459 (schedule_insn): Only put insns into the ready at cost 0.
16460 (schedule_block): Remove redundant initial sort. Give clock_var
16461 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
16462 is not 0.
16463 * tm.texi (MD_SCHED_REORDER): Update docs.
16464
16465 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
16466 * sparc.c (ultra_reorder_called_this_block): Delete.
16467 (ultrasparc_sched_init): Don't set it.
16468 (ultrasparc_sched_reorder): Don't check it.
16469
16470 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
16471
16472 * rs6000.h (struct rs6000_args): Add sysv_gregno.
16473 * rs6000.c (init_cumulative_args): Init sysv_gregno.
16474 (function_arg_boundary): Align DFmode.
16475 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
16476 to get fp reg and stack overflow correct.
16477 (function_arg): Likewise.
16478 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
16479 (setup_incoming_varargs): Restructure for ABI_V4; use
16480 function_arg_advance to skip final named argument.
16481 (expand_builtin_saveregs): Properly unskip the last integer arg
16482 when doing varargs. Adjust overflow location calculation.
16483
16484 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
16485 explicitly unsigned.
16486 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
16487 (__VA_GP_REGSAVE): Similarly.
16488 (__va_longlong_p): Delete.
16489 (__va_arg_type_violation): New declaration.
16490 (va_arg): Restructure. Flag promotion errors. Align double.
16491 TFmode passed by reference.
16492
16493 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
16494 in the HOST_BITS_PER_WIDE_INT > 32 case.
16495
16496 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
16497
16498 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
16499
16500 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
16501
16502 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
16503 * toplev.c (documented_lang_options): Add -fpreprocessed.
16504 * cpplib.h (struct cpp_buffer): Add preprocessed.
16505 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
16506 (cpp_start_read): Don't expand macros or emit an initial #line
16507 directive if -fpreprocessed.
16508
16509 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
16510
16511 * cpplib.h (struct cpp_buffer): Added manual_pop for
16512 better C++ tokenization.
16513 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
16514 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
16515 * c-common.c (cpp_token): Make non-static.
16516
16517 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16518
16519 * c-common.h: New file.
16520 * c-common.c (permanent_obstack): Delete unused declaration.
16521 (c_global_trees): New array.
16522 (c_common_nodes_and_builtins): New function; split off common code
16523 from init_decl_processing in both c-decl.c and cp/decl.c.
16524 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
16525 c_global_trees and accessor macros defined in c-common.h.
16526 Include c-common.h.
16527 * c-decl.c: Delete definitions for tree nodes that were replaced by
16528 c_global_trees.
16529 (init_decl_processing): Build void_list_node.
16530 Call c_common_nodes_and_builtins; delete code to generate the common
16531 builtins here.
16532 * objc/objc-act.c (build_module_descriptor): Rename variable
16533 void_list_node to avoid clash with c-common.h.
16534
16535 * Makefile.in: Update dependencies.
16536 * objc/Make-lang.in: Likewise.
16537
16538 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
16539
16540 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
16541 (UNIQUE_SECTION_P): Likewise.
16542 (UNIQUE_SECTION): Likewise.
16543
16544 1999-07-19 Linas Vepstas <linas@linas.org>
16545
16546 * config/i370/README: New file.
16547 * config/i370/linux.h: New file.
16548 * config/i370/mvs.h: New file.
16549 * config/i370/oe.h: New file.
16550 * config/i370/t-linux: New file.
16551 * config/i370/t-mvs: New file.
16552 * config/i370/t-oe: New file.
16553 * config/i370/x-oe: New file.
16554 * config/i370/xm-linux.h: New file.
16555 * config/i370/xm-mvs.h: New file.
16556 * config/i370/xm-oe.h: New file.
16557
16558 * i370.c (label_node_t): Add first_ref_page, label_addr,
16559 label_first_ref, label_last_ref members.
16560 (mvs_need_base_reload): Renamed from mvs_label_emitted.
16561 (MAX_MVS_LABEL_SIZE): Define.
16562 (MAX_LONG_LABEL_SIZE): Define.
16563 (alias_node_t, alias_anchor, alias_number): New.
16564 (mvs_function_table): Reorder for EBCDIC.
16565 (ascebc, ebcasc): Unconditionally define.
16566 (i370_branch_dest, i370_branch_length): New functions.
16567 (i370_short_branch, i370_label_scan): New functions.
16568 (mvs_get_label): Renamed from mvs_add_label. Search for
16569 an existing label before creating a new one.
16570 (mvs_add_label): New function.
16571 (mvs_get_label_page): New function.
16572 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
16573 over the entire list.
16574 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
16575 (mvs_check_page) [TARGET_ELF_ABI]: New function.
16576 (mvs_add_alias, mvs_need_alias): New functions.
16577 (mvs_get_alias, mvs_check_alias): New functions.
16578 (handle_pragma): New function.
16579 (mvs_function_check): New function.
16580 (unsigned_jump_follows_p): Search harder.
16581 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
16582 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
16583 * i370.h (TARGET_VERSION): Delete.
16584 (CPP_SPEC, CPP_PREDEFINES): Delete.
16585 (mvs_label_emitted): Delete.
16586 (TARGET_EBCDIC): Delete.
16587 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
16588 (HANDLE_PRAGMA): Define.
16589 (HARD_REGNO_NREGS): Handle complex modes.
16590 (HARD_REGNO_MODE_OK): Likewise.
16591 (CLASS_MAX_NREGS): Likewise.
16592 (RET_REG): Likewise.
16593 (EXTRA_CONSTRAINT): Define.
16594 (RETURN_IN_MEMORY): True for DImode.
16595 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
16596 (FUNCTION_PROFILER): Delete.
16597 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
16598 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
16599 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
16600 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
16601 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
16602 (ASM_FILE_START): Add "RMODE ANY".
16603 (ASM_OUTPUT_EXTERNAL): Check for aliases.
16604 (ASM_GLOBALIZE_LABEL): Likewise.
16605 (ASM_OUTPUT_LABELREF): Likewise.
16606 (ASM_OUTPUT_COMMON): Likewise.
16607 (PRINT_OPERAND): Handle 'K', 'W', default.
16608 (PRINT_OPERAND_ADDRESS): New.
16609 (Lots of defines): Add support for TARGET_ELF_ABI.
16610 * i370.md (attr length): New. Define for all patterns.
16611 (*): Lots of tweeks to assembly output and constraints.
16612
16613 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
16614
16615 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
16616 Disable patterns performing SImode comparisons with SImode values
16617 if TARGET_POWERPC64 and instruction does not sign-extend or does
16618 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
16619 differ for signed quantities.
16620 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
16621 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
16622 (decrement_and_branch_on_count): Add 64-bit variant.
16623
16624 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16625
16626 * final.c (output_asm_insn): When searching for the matching string
16627 for a given dialect, don't run past the end of the list of
16628 alternatives if there are fewer alternatives in the template than
16629 dialects.
16630
16631 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
16632
16633 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
16634 Removed paragraph about compression of files and size limitation,
16635 duplicated in the FAQ. Use gcc-patches for posting patches.
16636 * gcc.c (main): Updated URL with bug reporting instructions to
16637 gcc.gnu.org. Removed e-mail address.
16638 * system.h (abort): Likewise.
16639
16640 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16641
16642 * Makefile.in (stmp-multilib-sub): Make the files extracted
16643 from $(LIBGCC1) writable.
16644
16645 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
16646
16647 * config/arm/aout.h: Reformat for improved readability.
16648
16649 * config/arm/arm.h: Reformat for improved readability.
16650 Replace uses of fprintf with asm_fprintf where appropriate.
16651 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
16652 function declaration assembler actions.
16653 (NUM_INTS): New macro: Convert from bytes to words.
16654 (NUM_REGS): New macro: Compute number of registers required to
16655 hold a quanitity of tyep MODE.
16656 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
16657 types.
16658 (NUM_ARG_REGS): New macro: The number of argument registers
16659 available.
16660 (ARG_REGISTER): New macro: Compute the register number of the Nth
16661 argument register.
16662 (LAST_ARG_REGNUM): New macro: The number of the last argument
16663 register.
16664 (SP_REGNUM): New macro: Register number of the stack pointer.
16665 (FP_REGNUM): New macro: Register number of the frame pointer.
16666 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
16667 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
16668 CUMULATIVE_ARGS so that it counts registers not bytes.
16669
16670 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
16671 TARGET_INTERWORK.
16672 Replace uses of fprintf with asm_fprintf where appropriate.
16673 (output_ascii_pseudo_op): Replace with version from thumb.c
16674
16675 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
16676
16677 * config/arm/elf.h (CPP_PREDEFINES): Replace with
16678 SUBTARGET_CPP_SPEC.
16679 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
16680 (ASM_FILE_START): Emit ASM_APP_OFF.
16681
16682 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
16683
16684 * pa.c (compute_frame_size): Round frame according to
16685 STACK_BOUNDARY rather than a hardwired value.
16686
16687 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
16688
16689 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
16690 of "1".
16691 * configure: Rebuilt.
16692
16693 * configure.in (hppa*-*-linux*): New configuration.
16694 * configure: Rebuilt.
16695 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
16696 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
16697 * pa/pa-linux.h: New file.
16698 * pa/t-linux: New file.
16699 * pa/xm-linux.h: New file.
16700
16701 * pa.c (hppa_legitimize_address): Change references from SImode to
16702 either Pmode or word_mode as appropriate.
16703 (emit_move_sequence, store_reg, load_reg): Likewise.
16704 (set_reg_plus_d, hppa_expand_prologue): Likewise.
16705 (output_mul_insn): Likewise.
16706 * pa.h (PROMOTE_MODE): Likewise.
16707 (INITIALZE_TRAMPOLINE): Likewise.
16708 (Pmode): Define to word_mode.
16709
16710 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
16711 value of 4. Allocate 8 bytes for each FP register save.
16712 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
16713 value of 4.
16714 (hppa_expand_prologue): Likewise.
16715 * pa.h (PROMOTE_MODE): Likewise.
16716 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
16717 (FUNCTION_ARG_BOUNDARY): Likewise.
16718
16719 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
16720
16721 * pa.c (out_of_line_prologue_epilogue): Delete.
16722 (override_options): Remove -mspace related code.
16723 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
16724 (compute_frame_size): Only allocate space for register that
16725 actually need to be saved.
16726 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
16727 (TARGET_SWITCHES): Remove -mspace, -mno-space
16728 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
16729 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
16730 * pa/ee.asm, pa/ee_fp.asm: Delete.
16731
16732 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
16733
16734 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
16735 directive in column zero.
16736
16737 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
16738
16739 * m68k.c (output_function_prologue): Fix computation of save mask
16740 when generating PIC code.
16741
16742 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
16743
16744 * tree.c (build_type_attribute_variant): Move current_obstack restore
16745 after build_qualified_type call.
16746
16747 1999-07-15 Mark Mitchell <mark@codesourcery.com>
16748
16749 * configure.in: Use t-iris6, even with GNU LD.
16750 * config/mips/iris6gld.h: Fix typo in linker spec.
16751 * config/mips/t-iris6gld: Remove.
16752
16753 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
16754
16755 * rs6000.md (insv, extzv): Remove SImode dependence in named
16756 patterns. Explicitly generate DImode RTL if PowerPC64 and
16757 operand is DImode.
16758 (insvdi): Reverse start and size in instruction template.
16759
16760 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
16761
16762 * invoke.texi: Typo fixes.
16763
16764 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
16765
16766 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
16767 handle at this time instead of silently generating incorrect code.
16768 (gen_imagpart): Likewise.
16769
16770 * reload.c (find_reloads): Emit a USE for a pseudo register without
16771 a hard register if we could not create an optional reload for the
16772 pseudo.
16773
16774 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16775
16776 * c-typeck.c (output_init_element, process_init_element):
16777 When advancing constructor_unfilled_fields for a RECORD_TYPE,
16778 check for nameless bit fields.
16779
16780 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
16781
16782 * regclass.c (scan_one_insn): Notice subregs that change the
16783 size of their operand.
16784 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
16785
16786 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
16787
16788 * configure.in (alpha*-*-*): Include alpha/t-ieee.
16789 * configure: Rebuilt.
16790 * alpha/t-ieee: New file.
16791
16792 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
16793
16794 * rs6000.c (find_addr_reg): Do not select r0 as an address
16795 register.
16796
16797 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
16798
16799 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
16800
16801 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
16802
16803 * rs6000.md (movsf): Do not force easy FP constants into memory.
16804
16805 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
16806 immed_double_const to ensure they are properly truncated then
16807 sign extended.
16808
16809 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
16810
16811 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
16812 always unless NO_DEBUG is used. Compile this code
16813 unconditionally.
16814 (replace_symbols_in_block): Compile it unconditionally.
16815
16816 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
16817
16818 * configure.in (i?86-*-elf*): New target.
16819 * configure: Rebuilt.
16820 * i386/i386elf.h, i386/t-i386elf: New files.
16821
16822 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
16823
16824 * toplev.c (main): Don't complain about saying -gdwarf.
16825 (rest_of_compilation): Remove redundant code.
16826
16827 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
16828
16829 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
16830
16831 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
16832
16833 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
16834 "Li960R:", to avoid name clash.
16835
16836 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16837
16838 * loop.c (check_dbra_loop): When reversing a loop, delete all
16839 REG_EQUAL notes referencing the reversed biv except those which are
16840 for a giv based on it.
16841
16842 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
16843
16844 * version.c: Drop "gcc-" prefix from version #.
16845
16846 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
16847
16848 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
16849 the label if we're being verbose.
16850
16851 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
16852
16853 * m68k.c (output_function_prologue): Add pic register to mask
16854 if live and flag_pic.
16855 (output_function_epilogue): Likewise.
16856
16857 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
16858
16859 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
16860 directives in column zero.
16861
16862 * pa/elf.h (ASM_FILE_START): Define.
16863 * pa/som.h (ASM_FILE_START): Include .level directives.
16864 * pa/hpux10.h (ASM_FILE_START): Delete.
16865 * pa/hpux11.h (ASM_FILE_START): Delete.
16866
16867 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
16868
16869 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16870
16871 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
16872 when reload_out equals reload_in.
16873
16874 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
16875
16876 * invoke.texi (Spec Files): New node: Describe the contents of
16877 spec files.
16878
16879 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
16880
16881 * invoke.texi (DEC Alpha Options): Put @end table at
16882 beginning of line, to avoid confusing texi2html.
16883
16884 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
16885
16886 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
16887 introduced in previous delta.
16888
16889 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16890
16891 * reload1.c (gen_reload): When synthesizing a 3 operand add
16892 sequence, improve test for when to reload OP1 into the reload
16893 register instead of OP0.
16894
16895 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
16896
16897 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
16898
16899 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
16900
16901 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
16902 string literal.
16903
16904 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
16905
16906 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
16907 (va_dcl): Use __builtin_va_alist_t.
16908
16909 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
16910
16911 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
16912 on the permanent_obstack.
16913 * dwarfout.c (output_type): Likewise.
16914
16915 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
16916
16917 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
16918 Merged from c-typeck.c and cp/typeck.c.
16919 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
16920 Merged into c-common.
16921
16922 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
16923
16924 * c-lex.c (errorcount): Declare it.
16925 (finish_parse): Update errorcount when using CPPLIB.
16926
16927 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
16928
16929 * fixinc/inclhack.def(end_else_label): Double the backslash so
16930 sed gets a chance to see it.
16931 * fixinc/inclhack.sh: regen
16932 * fixinc/fixincl.x: regen
16933
16934 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
16935
16936 Add framework to support armv5 architecture when it becomes
16937 available:
16938
16939 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
16940 (arm_arch5): New variable.
16941 (all_architectures): Add armv5 line.
16942 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
16943 -march=armv5 is specified on the command line.
16944 (arm_arch5): Export this variable.
16945 * invoke.texi: Document new string accepted by -march= switch for
16946 ARM ports.
16947
16948 * config/arm/arm.h: Replace use of constant 12 as a register
16949 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
16950 * config/arm/arm.c: Replace use of constant 12 as a register
16951 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
16952
16953 * config/arm/elf.h: Tidy up.
16954 * config/arm/coff.h: Tidy up.
16955
16956 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
16957
16958 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
16959 * gcc/config/mips/t-iris6gld: New file.
16960 * gcc/config/mips/iris6gld.h: Likewise.
16961
16962 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
16963
16964 * c-decl.c (widest_integer_literal_type_node,
16965 widest_unsigned_literal_type) : New.
16966 (init_decl_processing): Handle/use the two new types.
16967 * c-common.c (type_for_size,type_for_mode) : Same.
16968 * c-lex.c (yylex) : Same.
16969 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
16970 Same.
16971 * c-tree.h (widest_integer_literal_type_node,
16972 widest_unsigned_literal_type) : New.
16973
16974 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
16975
16976 * dwarfout.c (field_byte_offset): Correctly compute the object's
16977 byte offset for the first bit of a field which crosses an alignment
16978 boundary on a !BYTES_BIG_ENDIAN target.
16979
16980 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
16981
16982 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
16983 ntohs.
16984
16985 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
16986 Jeff Law <law@cygnus.com>
16987
16988 * ginclude/varargs.h (va_dcl): Use word_mode for type of
16989 __builtin_va_list.
16990
16991 * except.c: Include intl.h.
16992 (expand_eh_return): Set current_function_cannot_inline.
16993 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
16994 * function.h (struct function): Add eh_return_stub_label.
16995 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
16996 * Makefile.in (except.o): Depend on intl.h.
16997
16998 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
16999
17000 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
17001 same as offsettable in cases 1 and 2.
17002
17003 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
17004
17005 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
17006 (extlh, extwh): Likewise.
17007
17008 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
17009
17010 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
17011
17012 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
17013
17014 * configure.in: Add arm-pe and thumb-pe targets.
17015 * configure: Regenerate.
17016
17017 * thumb.c (arm_naked_function_p): New function: Determines if
17018 a function is naked (has no gcc generated prologue/epilogue).
17019 (is_called_in_ARM_mode): Return true if the func has the
17020 interfacearm attribute.
17021 (output_return): Do not generate a return for naked functions.
17022 (thumb_function_prologue): Do not generate a prologue for
17023 naked functions.
17024 (thumb_expand_prologue): Do not generate a prologue for naked
17025 functions.
17026 (thumb_expand_epilogue): Do not generate an epilogue for naked
17027 functions.
17028 (arm_valid_machine_decl_attribute): New function, copied from
17029 arm.c: Permit naked and interfacearm attributes.
17030
17031 * config/arm/pe.c: New file: Support code for arm-pe target.
17032 * config/arm/pe.h: New file: Header file for arm-pe target.
17033 * config/arm/tpe.h: New file: Header file for thumb-pe target.
17034 * config/arm/t-thumb-pe: New file: Makefile fragment for
17035 thumb-pe target.
17036
17037 1999-07-01 Mark Kettenis <kettenis@gnu.org>
17038
17039 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
17040 -fPIC or -fpic is specified.
17041
17042 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
17043
17044 * expr.c (emit_block_move): Use copy_to_mode_reg for
17045 !TARGET_MEM_FUNCTIONS case too.
17046
17047 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
17048 appropriate.
17049 * configure: Rebuilt.
17050 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
17051 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
17052 definitions made redundant by dbxelf.h inclusion. Delete
17053 lots of definitions related to assembly output that are
17054 specific to the SOM object format.
17055 * pa.c (output_function_prologue): Do not emit the function's
17056 name for OBJ_ELF.
17057 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
17058 * pa-pro.h: Deleted.
17059 * som.h: New file with SOM specific definitions.
17060 * elf.h: New file with ELF specific definitions.
17061
17062 * elfos.h (const_section): Output a tab before assembler directives.
17063 (ctors_section, dtors_section): Likewise.
17064 (ASM_OUTPUT_SECTION_NAME): Likewise.
17065
17066 * pa/pa1.h: Delete unused file.
17067
17068 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
17069
17070 * configure.in (hppa*-hp-hpux11*): New configuration.
17071 * configure: Rebuilt.
17072 * pa/pa-hpux11.h: New file.
17073 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
17074 command line.
17075
17076 * mips.md (leasi, leadi): New patterns.
17077
17078 * expr.c (emit_block_move): Properly handle case where one of the
17079 block move arguments has a queued increment or decrement.
17080 (clear_storage): Similarly. Fix formatting goof.
17081
17082 1999-06-28 "David O'Brien" <obrien@NUXI.com>
17083
17084 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
17085 semicolon from the BSD VA_LIST replacement expression.
17086
17087 * fixinc/inclhack.sh: regen
17088 * fixinc/fixincl.x: regen
17089
17090 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
17091 now use the fixincl program.
17092
17093 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
17094
17095 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
17096 case. Also make the PIC register call_used.
17097
17098 * m68k.h (FINALIZE_PIC): Delete.
17099 * m68k.c (finalize_pic): Delete.
17100
17101 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
17102
17103 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
17104 to memory.
17105
17106 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
17107
17108 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
17109
17110 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
17111
17112 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
17113
17114 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
17115
17116 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
17117
17118 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
17119
17120 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
17121
17122 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
17123
17124 * rs6000.c (output_toc): Always use hex values for floating-point
17125 constants. Store single-precision values in upper-half of TOC
17126 entry in 64-bit mode.
17127 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
17128 to final constraints.
17129 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
17130 (fctiwz): Improve accuracy of RTL for pattern.
17131
17132 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
17133
17134 * expr.c (expand_expr): Allow RTL_EXPR's through the
17135 MAX_INTEGER_COMPUTATION_MODE checks.
17136
17137 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
17138
17139 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
17140 such that MASK_SUPPORT_ARCH is not negative.
17141
17142 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
17143
17144 * loop.c (verify_dominator): Properly handle ADDR_VEC and
17145 ADDR_DIFF_VEC insns that appear inside loops.
17146
17147 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
17148 Jeff Law <law@cygnus.com>
17149
17150 * rs6000.md (movdf_hardfloat32): Revert previous patch.
17151 Handle LO_SUM the same as offsettable in cases 1 and 2.
17152 * rs6000.c (find_addr_reg): Revert previous patch.
17153
17154 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
17155
17156 * system.h (strstr): New external function declaration.
17157 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
17158 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
17159 * config.in, configure: Rebuilt.
17160
17161 1999-06-24 Tom Tromey <tromey@cygnus.com>
17162
17163 * gcc.c (main): Read user-specified specs files after computing
17164 additional startfile_prefixes.
17165
17166 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
17167
17168 Revert these two patches:
17169
17170 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17171 * loop.c (strength_reduce): When doing biv->giv conversion, update
17172 reg note of NEXT->insn.
17173
17174 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17175 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
17176 reg_biv_class.
17177 (recombine_givs): Set ix field after sorting.
17178
17179 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17180
17181 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
17182 for the parts of an UNSPEC / UNSPEC_VOLATILE.
17183
17184 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
17185
17186 *fixinc/inclhack.def: Add fix development commentary
17187 (read_ret_type): reactivate and add selection clause
17188 (zzz_*): tweak output file name to match what is used in hackshell.tpl
17189 *fixinc/{fixincl.x|inclhack.sh}: regen
17190
17191 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
17192
17193 * expr.c (expand_expr): STRIP_NOPS before checking against
17194 MAX_INTEGER_COMPUTATION_MODE
17195 (check_max_integer_computation_mode): Likewise.
17196
17197 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
17198
17199 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
17200
17201 1999-06-22 Jim Wilson <wilson@cygnus.com>
17202
17203 * expr.c (store_expr): When target is a promoted subreg, return a
17204 promoted subreg as a result.
17205
17206 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
17207
17208 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
17209 coding standards.
17210 (dwarf2out_define): Mark unused parameters appropriately.
17211 (gen_unspecified_parameters_die): Ditto.
17212 (gen_subprogram_die): Fix signed/unsigned warnings.
17213 (gen_variable_die): Ditto.
17214
17215 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
17216
17217 * fixinc/inclhack.def(end_else_label): combined else_label
17218 and endif_label and fixed the sed expression.
17219 *fixinc/{fixincl.x|inclhack.sh}: regen
17220
17221 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
17222
17223 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
17224 'x' when handling non-offsettable addresses
17225
17226 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
17227
17228 * final.c (shorten_branches): Don't try to split an insn that has
17229 been deleted.
17230
17231 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
17232
17233 * config/mips/mips.c (symbolic_expression_p): New function.
17234 (mips_select_rtx_section): Put symbolic expressions in the
17235 data section, not the read-only data section.
17236
17237 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
17238
17239 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
17240
17241 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
17242
17243 * collect2.c (main): Log frame table count.
17244 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
17245 (scan_prog_file) [COFF]: Handle frame tables.
17246
17247 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
17248 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
17249 * alpha/elf.h: Undef them again.
17250 * alpha/vms.h: Remove their definitions.
17251
17252 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17253
17254 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
17255 remove the clobber of r0 and change the REG_UNUSED note to
17256 REG_INC.
17257
17258 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
17259
17260 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
17261 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
17262 fits in HOST_WIDE_INT and one uses union to access a long constant
17263 as double.
17264
17265 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
17266
17267 * sparc.c (sparc_override_options): Don't allow profiling for
17268 code models other than medlow.
17269 (sparc_function_profiler): New function from old FUNCTION_PROFILER
17270 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
17271 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
17272 (sparc_block_profiler): Likewise.
17273 (sparc_function_block_profiler_exit): Likewise.
17274 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
17275 (FUNCTION_BLOCK_PROFILER): Likewise.
17276 (BLOCK_PROFILER): Likewise.
17277 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
17278 (MCOUNT_FUNCTION): New.
17279 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
17280 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
17281 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
17282 (MCOUNT_FUNCTION): New.
17283 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
17284 (BLOCK_PROFILER): Delete.
17285 (MCOUNT_FUNCTION): New.
17286
17287 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
17288
17289 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
17290
17291 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
17292
17293 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
17294 Add the macros.
17295
17296 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
17297 Ditto.
17298
17299 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
17300 Ditto.
17301
17302 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
17303 Ditto.
17304
17305 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
17306
17307 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
17308 types.
17309
17310 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
17311
17312 * i386/djgpp.h (LIB_SPEC): New.
17313 (STARTFILE_SPEC): New.
17314
17315 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
17316
17317 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
17318
17319 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
17320 compiler flags.
17321
17322 * system.h (WSTOPSIG): New macro.
17323
17324 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
17325
17326 * c-pragma.c (push_alignment): Don't ignore alignments greater than
17327 4 bytes.
17328 (insert_pack_attributes): Take into account member natural
17329 alignment.
17330
17331 * i386/winnt.c (exports_head): New static variable.
17332 (i386_pe_record_exported_symbol): New function.
17333 (i386_pe_asm_file_end): Use.
17334 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
17335 symbols to be emitted at end of assembly.
17336 (ASM_DECLARE_OBJECT_NAME): Likewise.
17337 (ASM_DECLARE_FUNCTION_NAME): Likewise.
17338
17339 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
17340 -iwithprefix.
17341
17342 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
17343
17344 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
17345 in last change.
17346
17347 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
17348
17349 * haifa-sched.c (sched_analyze_1): Use free_list instead of
17350 zapping reg_last_uses directly.
17351 (sched_analyze_2, sched_analyze_insn): Likewise.
17352 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
17353
17354 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
17355
17356 * rs6000.md (movdf_hardfloat32): Use worst case insn length
17357 attributes for cases 1 and 2.
17358
17359 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
17360
17361 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
17362 instead of set.
17363
17364 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
17365
17366 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
17367
17368 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
17369
17370 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
17371 PIC_OFFSET_TABLE_REGNUM for general alloaction.
17372 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
17373 must be stacked if it is used for PIC accesses.
17374 * arm.c (use_return_insn): Handle PIC register specially.
17375 (output_return_instruction): Likewise.
17376 (output_func_{prologue,epilogue}): Likewise.
17377 (output_expand_prologue): Likewise.
17378
17379 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
17380 (*strsi_predec): Renamed from *strqi_predec.
17381 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
17382 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
17383
17384 * arm.c (arm_override_options): Remove warning about PIC code
17385 not being supported.
17386
17387 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
17388
17389 * rs6000.c (find_addr_reg): New function.
17390 * rs6000.h (find_addr_reg): Declare.
17391 (offsettable_addr_operand): Delete.
17392 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
17393 from and stores to GPRs.
17394
17395 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
17396
17397 * alpha.c (alpha_expand_block_move): Use get_insns rather than
17398 gen_sequence as argument to emit_no_conflict_block.
17399
17400 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17401
17402 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
17403 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
17404 *fixinc/fixincl.x: regen
17405 *fixinc/inclhack.sh: regen
17406
17407 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
17408
17409 * added support for -mpcrel (PC relative addressing for m68k)
17410 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
17411 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
17412 * m68k.c (print_operand_address): Handle 32-bit PIC case.
17413 (comments for general_src_operand): Add some explanation
17414 about EXTRA_CONSTRAINTS.
17415 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
17416 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
17417 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
17418 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
17419 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
17420 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
17421 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
17422 if not already set.
17423 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
17424 * m68k.h (TARGET_PCREL): New target flag.
17425 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
17426 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
17427 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
17428 contains a SYMBOL_REF. Relax this constraint during reload, since
17429 we want to use the predicates, not reload's built-in concept of a
17430 valid memory address, to control what insns need reloading.
17431 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
17432 operands (essentially 'g', 'm', and 's' under normal circumstances).
17433 * m68k.c (print_operand): Cause printing of pc-relative addresses
17434 to include pc register.
17435 (print_operand_address): Ditto.
17436 (general_src_operand): Accept operands that are not only
17437 general_operands, but are also valid when used as a pc-relative
17438 source.
17439 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
17440 (memory_src_operand): Similar, for memory_operands.
17441 (pcrel_address): New predicate to accept the special case of a
17442 pc-relative address.
17443 * m68k.md (many patterns): Rewrite common SImode, HImode, and
17444 QImode insns to accept *_src_operand instead of *_operand where
17445 pc-relative operands can fit. For example, a pc-relative operand
17446 can be used as a memory source operand for addsi3, but not as a
17447 memory destination.
17448 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
17449
17450 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
17451
17452 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
17453 .thumb_set pseudo op to mark aliases of thumb functions.
17454
17455 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
17456
17457 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
17458 preference to ASM_OUTPUT_DEF, if it is defined.
17459
17460 * tm.texi: Document new, optional target macro
17461 ASM_OUTPUT_DEF_FROM_DECLS.
17462
17463 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17464
17465 * fixincludes: ISCNTL patch
17466 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
17467 (dgux_int_varargs): new for DG/UX
17468 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
17469
17470 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
17471
17472 * invoke.texi (ia32 options): Fix typo.
17473
17474 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17475
17476 * loop.c (strength_reduce): When doing biv->giv conversion, update
17477 reg note of NEXT->insn.
17478
17479 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
17480
17481 * loop.c (move_movables): Note issues with replacing REGs with
17482 SUBREGs.
17483 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
17484
17485 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
17486
17487 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
17488
17489 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
17490 the reference to `mcount' was not correct for the ELF on FreeBSD.
17491
17492 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17493
17494 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
17495 reg_biv_class.
17496
17497 (recombine_givs): Set ix field after sorting.
17498
17499 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
17500
17501 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
17502 to safe to extract a subword out of a REG.
17503
17504 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17505
17506 * sh.md (mulsi3): Don't add a no-op move at the end.
17507
17508 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17509
17510 * cse.c (cse_insn): Don't put hard register source into tables for
17511 the last insn of a libcall.
17512
17513 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17514
17515 * loop.c (strength_reduce): Insert sets of derived givs at every
17516 biv increment, even if it's the only one.
17517
17518 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
17519
17520 * dwarfout.c (add_incomplete_type): New fn.
17521 (output_type): Call it.
17522 (retry_incomplete_types): New fn.
17523 (dwarfout_finish): Call it.
17524
17525 From Eric Raskin <ehr@listworks.com>:
17526 (output_type): Output types for bases.
17527
17528 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
17529
17530 * mips.c (mips_output_conditional_branch): Add `break'
17531 between `default' label and `close braces'.
17532
17533 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
17534
17535 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
17536 specifications and make it realistic.
17537 (LIB_SPEC): Likewise.
17538
17539 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
17540
17541 * config/mips/mips.c (mips_secondary_reload_class): Check for
17542 (PLUS (SP) (REG)) and return appropriate register class.
17543 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
17544 Handle (PLUS (SP) (REG)).
17545 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
17546 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
17547 of emit_insn for tablejump.
17548
17549 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
17550
17551 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
17552 asm_fprintf format string by itself.
17553 (output_function_profiler): Likewise.
17554
17555 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
17556
17557 * combine.c (simplify_logical, case AND): Only call
17558 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
17559 or the constant is positive.
17560
17561 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
17562
17563 * configure.in: Fix typo in rs6000-ibm-aix4 case.
17564 * configure: Regenerate.
17565
17566 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
17567
17568 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
17569 require a sub-version #.
17570 * configure: Rebuilt.
17571
17572 1999-06-14 Robert Lipe (robertlipe@usa.net)
17573
17574 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
17575
17576 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
17577
17578 * c-typeck.c (process_init_element): Detect excess elements in
17579 char array initializer.
17580
17581 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
17582
17583 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
17584
17585 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
17586
17587 * invoke.texi (Option Summary): Add -fpermissive flag.
17588
17589 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
17590
17591 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
17592 that require PIC code sequences.
17593
17594 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
17595
17596 * configure.in: Add new target: thumb-elf.
17597 * configure: Regenerate.
17598 * config/arm/t-thumb-elf: New file: Makefile fragment for
17599 thumb-elf build.
17600 * config/arm/telf.h: New file: Header file for thumb-elf
17601 build.
17602
17603 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
17604
17605 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
17606 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
17607 initializers is some circumstances.
17608
17609 * fixinc/inclhack.def (endif_label): Add additional selector for
17610 more bogus stuff after #endif statements.
17611 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
17612
17613 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
17614
17615 * i386/cygwin.h (SET_ASM_OP): Define.
17616
17617 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
17618
17619 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
17620
17621 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17622
17623 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
17624 latter.
17625
17626 * sh.md (ic_invalidate_line_i): Remove second alternative.
17627
17628 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17629
17630 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
17631 test for the presence of valid prototypes. Delete bypass expr.
17632 (ioctl_fix_ctrl): Correct the selection expression.
17633 (no_double_slash): Correct quoting rules
17634 *fixinc/fixincl.x: regen
17635 *fixinc/inclhack.sh: regen
17636
17637 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
17638
17639 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
17640
17641 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17642
17643 * rs6000.md (movsi_got_internal_mem): Delete.
17644 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
17645 (GOT_TOC_REGNUM): Delete.
17646 (PIC_OFFSET_TABLE_REGNUM): Define.
17647 (FINALIZE_PIC): Disable.
17648 * rs6000.c (rs6000_got_register): New code for fixed pic register.
17649 (rs6000_replace_regno): Delete.
17650 (rs6000_finalize_pic): Likewise.
17651 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
17652
17653 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17654
17655 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
17656 is a note; use <= for the compare; advance P while it is
17657 a NOTE.
17658
17659 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
17660
17661 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
17662 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
17663
17664 * varasm.c (remove_from_pending_weak_list): Verify t->name
17665 is non-NULL before passing it to strcmp.
17666
17667 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17668
17669 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
17670 the typed arguments are not part of a comment
17671 (ioctl_fix_ctrl): Added a purpose comment
17672 *fixinc/fixincl.x: regenerate
17673 *fixinc/inclhack.sh: regenerate
17674
17675 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17676
17677 * invoke.texi: Add C4x invocation docs.
17678
17679 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17680
17681 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
17682 Define new macros.
17683 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
17684 TARGET_EXPOSE_LDP.
17685 (c4x_legitimize_reload_address): New function.
17686 * config/c4x/c4x.md: Update docs.
17687
17688 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
17689
17690 * fixincludes: Avoid removing '.'.
17691 * fixinc/fixinc.svr4: Likewise.
17692 * fixinc/fixinc.winnt: Likewise.
17693 * fixinc/inclhack.tpl: Likewise.
17694 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
17695
17696 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17697
17698 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
17699 pattern.
17700 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
17701
17702 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
17703
17704 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
17705 correctly.
17706
17707 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
17708
17709 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
17710 * configure: Regenerate.
17711
17712 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
17713
17714 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
17715 values.
17716
17717 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
17718
17719 * fixinc/inclhack.def (avoid_bool): Also catch
17720 "typedef [unsigned] int bool".
17721 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
17722
17723 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
17724 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
17725 * configure: Rebuilt.
17726
17727 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
17728
17729 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
17730 such that we can override its definitions if necessary.
17731 (CPP_SPEC): New define. Support processor specific predefines via
17732 %(cpp_cpu).
17733 (CC1_SPEC): New define. Support processor specific compiler
17734 options via %(cc1_cpu).
17735 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
17736 -static.
17737
17738 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17739
17740 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
17741 between sed's -e flag, and the open-quote following it.
17742 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
17743
17744 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
17745 Jeffrey A Law (law@cygnus.com)
17746
17747 * varasm.c (assemble_start_function): Remove the function
17748 from the pending weak decls list when we define a function.
17749 (assemble_variable): Similarly for variables.
17750 (weak_finish): Ignore items on the list with a NULL name.
17751 (remove_from_ending_weak_list); New function to "remove" an item
17752 from the pending weak declarations list.
17753
17754 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
17755
17756 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
17757
17758 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
17759
17760 * c-lex.c (GETC): Redefine to call getch.
17761 (UNGETC): Redefine to call put_back.
17762 (putback_buffer): New structure type.
17763 (putback): New static structure.
17764 (getch): New function.
17765 (put_back): New function.
17766 (yylex): Replace unused bytes from bad multibyte character.
17767
17768 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
17769
17770 * cpplib.c (do_define): Cast `alloca' return value.
17771 (do_include, do_undef, do_pragma): Likewise.
17772 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
17773 values.
17774 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
17775 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
17776
17777 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
17778
17779 * sparc.md (abstf2): This should be an expand.
17780 (split after abstf2_notv9): Fix mode.
17781 (abstf2_hq_v9): New pattern.
17782 (abstf2_v9): Only use when no hard quad.
17783 (absdf2_v9): Fix if target is not the same as source.
17784 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
17785 Add correct output constraints.
17786
17787 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
17788
17789 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
17790 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
17791
17792 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
17793
17794 * mips.h (mips_output_conditional_branch): New function.
17795 (mips_adjust_insn_length): Likewise.
17796 (ASSEMBLER_SCRATCH_REGNUM): New macro.
17797 (ADJUST_INSN_LENGTH): Likewise.
17798 * mips.c (print_operand): Add `F' and `W' for floating-point
17799 comparison opcodes.
17800 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
17801 are now in bytes.
17802 (mips_adjust_insn_length): New function.
17803 (mips_output_conditional_branch): New function.
17804 * mips.md (length): Adjust attribute definition to handle
17805 conditional branches. Change lengths to bytes, rather than
17806 instructions throughout. Remove length attribute from
17807 instructions whose length is four bytes, and rely on the default
17808 instead.
17809 (dslot): Fix typo in comment.
17810 Reword conditional branch patterns to use
17811 mips_output_conditional_branch.
17812
17813 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
17814
17815 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
17816 (LIB_SPEC): Likewise.
17817 Link with -lprof1_r for -g/-pg.
17818
17819 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
17820
17821 * loop.c (check_dbra_loop): Fix change of Jan 19.
17822
17823 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
17824
17825 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
17826 (STARTFILE_SPEC): Define, override the svr4.h version.
17827 (ENDFILE_SPEC): Likewise.
17828
17829 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
17830
17831 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
17832 * fixinc/fixincl.x: Regenerated.
17833 * fixinc/inclhack.sh: Regenerated.
17834
17835 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17836
17837 * sh.c (barrier_align): Don't return early for normal branch/barrier
17838 when optimizing for SH2.
17839
17840 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
17841
17842 * i386/udk.h (LINK_SPEC): Correct linker search path for
17843 system libraries.
17844
17845 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17846
17847 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
17848 (braf_label_ref_operand): Delete.
17849 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
17850 * sh.md (casesi_jump_2): Operand1 is now the inside of a
17851 label_ref, and has no predicate.
17852 The patten has a predicate to guard against invalid substitutions.
17853 (dummy_jump): Delete.
17854 (casesi): Update use of casesi_jump_2.
17855
17856 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17857
17858 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
17859 *fixinc/fixincl.x: regenerate
17860 *fixinc/inclhack.sh: regenerate
17861
17862 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
17863
17864 * dwarf2out.c (add_incomplete_type): New fn.
17865 (gen_struct_or_union_type_die): Call it.
17866 (retry_incomplete_types): New fn.
17867 (dwarf2out_finish): Call it.
17868
17869 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
17870
17871 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
17872 current block starts with a CODE_LABEL and ends with a CALL and
17873 we can not find all the argument setup instructions for the CALL.
17874
17875 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
17876
17877 Revert this change:
17878 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
17879 something is a candidate for optimize_bit_field_compare.
17880
17881 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17882
17883 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
17884
17885 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
17886
17887 * alpha.c (override_options): Thinko in last patch.
17888
17889 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
17890 (LIB_SPEC): Recognize -pthread.
17891
17892 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
17893
17894 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
17895 definition in config/arm/coff.h
17896 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
17897
17898 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17899
17900 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
17901 fixes that need "file=xxx\n" prepended before invocation
17902 (start_fixer - new): starting the fixer process is complex enough
17903 to warrent its own routine. It prepends the "file=xxx\n" stuff.
17904 (process): uses the new routine; omit usage of putenv()
17905 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
17906 * fixinc/fixincl.x: regenerate
17907
17908 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
17909
17910 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
17911 and version #s (1.1 -> 2.96) as needed.
17912 * README.g77: Kill way out of date file in the toplevel directory.
17913
17914 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
17915
17916 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
17917 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
17918 * configure: Rebuilt.
17919 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
17920 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
17921 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
17922 (SWITCH_TAKES_ARG): Likewise.
17923 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
17924 * config/t-freebsd: Moved from config/i386/ so it can used for all
17925 FreeBSD targets.
17926
17927 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
17928
17929 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
17930
17931 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
17932
17933 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
17934 * configure: Rebuilt.
17935
17936 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
17937
17938 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
17939 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
17940 * rs6000/rs6000.c (rs6000_file_start): Use putc.
17941 (rs6000_output_load_toc_table): Same.
17942 (output_prolog, output_mi_thunk): Same.
17943 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
17944 (ASM_GLOBALIZE_LABEL): Use putc.
17945
17946 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
17947
17948 * alpha.md (reload_*_help): New patterns and splitters.
17949 (reload_*): Use them.
17950 (mov[qh]i): Likewise.
17951
17952 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
17953
17954 * cccp.c (handle_directive): Handle backslash-newlines in quoted
17955 strings correctly.
17956
17957 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
17958
17959 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
17960
17961 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
17962
17963 * flow.c (mark_regs_live_at_end, insn_dead_p,
17964 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
17965 and HARD_FRAME_POINTER_REGNUM special treatment if reload
17966 hasn't run or the frame pointer is needed.
17967 * haifa-sched.c (attach_deaths): Likewise.
17968 * sched.c (attach_deaths): Likewise.
17969
17970 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
17971
17972 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
17973 calculate_can_reach_end returns nonzero.
17974
17975 * configure.in (native gas tests): Search for an assembler in the
17976 same manner that the installed compiler will.
17977 * configure: Rebuilt.
17978 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
17979
17980 * alias.c (find_base_term): Improve handling of addresses
17981 constructed from binary operations.
17982
17983 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
17984
17985 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
17986
17987 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
17988
17989 * function.h (cleanup_label, frame_offset): Declare.
17990 (tail_recursion_label, tail_recursion_reentry): Likewise.
17991 (arg_pointer_save_area, rtl_expr_chain): Likewise.
17992 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
17993 (tail_recursion_label, tail_recursion_reentry): Likewise.
17994 (arg_pointer_save_area, rtl_expr_chain): Likewise.
17995
17996 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
17997
17998 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
17999 defined.
18000 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
18001 (MAX_OFILE_ALIGNMENT): Define.
18002
18003 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
18004
18005 * fixincl.c: Replace local include scheme with #includes of
18006 gansidecl.h and system.h.
18007 * procopen.c: Likewise.
18008 * server.c: Likewise.
18009
18010 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
18011
18012 * i386/t-dgux (EXTRA_PARTS): Add crti.o
18013 (crti.o): Add build rule and dependencies.
18014 * fixinc/fixinc.dgux: Use modified _int_varargs.h
18015
18016 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18017
18018 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
18019 (LIB_LINUX_SPEC): Likewise.
18020 (LIB_LINUX_SPEC): Add support for -pthread
18021 (CPP_OS_LINUX_SPEC): Likewise.
18022 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
18023 specified.
18024
18025 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
18026
18027 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
18028 conditional move.
18029 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
18030 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
18031 for IEEE math and CC_FCOMI.
18032 (put_jump_code): No IEEE if CC_FCOMI is set.
18033
18034 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
18035
18036 * fold-const.c (fold_truthop): Make the field reference unsigned
18037 when converting a single bit compare.
18038
18039 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18040
18041 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
18042
18043 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
18044
18045 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
18046 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
18047 version did.
18048
18049 * reload.c (push_reload): Do not call remove_address_replacements
18050 when presented with identical optional reloads.
18051
18052 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
18053
18054 * alpha.h (MASK_FIX, TARGET_FIX): New.
18055 (MASK_*): Reorganize constants.
18056 (CPP_AM_FIX_SPEC): New.
18057 (TARGET_SWITCHES): Add FIX.
18058 (EXTRA_SPECS): Likewise.
18059 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
18060 (SECONDARY_MEMORY_NEEDED): Likewise.
18061 (REGISTER_MOVE_COST): Likewise.
18062 * alpha.c (override_options): Add FIX support. Always use
18063 ALPHA_TP_PROG for ev6.
18064 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
18065 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
18066 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
18067
18068 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
18069
18070 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
18071 something is a candidate for optimize_bit_field_compare.
18072
18073 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
18074
18075 * gcc.texi (Passes): Document branch-shortening.
18076 * invoke.texi (Debugging Options): Document the fact that `-dp'
18077 outputs length information for instructions.
18078
18079 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
18080
18081 * flow.c: Revert previous delta.
18082
18083 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
18084
18085 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
18086 FRAME_POINTER_REGNUM.
18087 (mark_set_1): Ditto.
18088 (mark_used_regs): Ditto.
18089
18090 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
18091
18092 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
18093 (GOT_PCREL): New macro. Define to 1 if not already defined.
18094 * arm/elf.h (GOT_PCREL): Define to 0.
18095 * arm.c (arm_finalize_pic): Take into account the setting of
18096 GOT_PCREL.
18097
18098 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
18099
18100 * output.h (STRIP_NAME_ENCODING): Provide default definition.
18101 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
18102
18103 * flow.c (mark_set_1): Do not record BLKmode stores as dead
18104 store elimination candidates.
18105
18106 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
18107
18108 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
18109 TARGET_GAS.
18110
18111 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
18112
18113 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
18114 Add use of x-aix41-gld.
18115
18116 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
18117
18118 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
18119 (ASM_OUTPUT_DESTRUCTOR): Define.
18120
18121 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
18122
18123 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
18124 last CODE_LABEL in a loop if we have previously passed a jump
18125 to the top of the loop.
18126
18127 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
18128
18129 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
18130 applying Philip's patch.
18131
18132 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
18133
18134 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
18135 are not VAR_DECLs.
18136
18137 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
18138
18139 * loop.c (strength_reduce): Grow reg_single_usage as needed.
18140
18141 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
18142
18143 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
18144 Also remove a useless comment.
18145
18146 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
18147
18148 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
18149
18150 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
18151
18152 * collect2.c (main): Only generate import or export file and add
18153 to link arguments if non-empty. Use xmalloc not alloca.
18154 (write_{export,import}_file): Delete.
18155 (write_aix_file): New function.
18156 (locatelib): Use xmalloc not malloc.
18157 (GCC_OK_SYMBOL): Do not check type if aix64.
18158
18159 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
18160
18161 Based on patch by Scott Bambrough and Pat Beirne:
18162 * config/arm/arm.c (making_const_table): New variable.
18163 * config/arm/arm.h (making_const_table): Declare.
18164 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
18165 appropriate.
18166 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
18167 Keep track of when we are building the constant table.
18168
18169 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
18170
18171 * config/arm/arm.c (arm_override_options): Fix erroneous warning
18172 message.
18173
18174 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
18175
18176 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
18177 defined.
18178
18179 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
18180
18181 * tm.texi (FUNCTION_ARG): Correct description of a stack element
18182 in a PARALLEL.
18183
18184 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
18185
18186 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
18187
18188 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18189
18190 * rs6000.c (output_mi_thunk): Enable full support again.
18191
18192 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18193
18194 * sh.h (BRANCH_COST): Define.
18195
18196 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
18197
18198 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
18199
18200 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
18201
18202 * function.c (assign_stack_local): Align stack slot propertly.
18203 (assign_outer_stack_local): Likewise.
18204
18205 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
18206
18207 * expr.h (lang_expand_constant): Declare.
18208 * toplev.c (lang_expand_constant): Define it.
18209 * varasm.c (output_constant): Use it.
18210
18211 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18212
18213 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
18214 Change function definitions to K&R style.
18215
18216 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
18217
18218 * fixinc/fixincl.c: We must not ignore SIGCLD now.
18219
18220 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
18221
18222 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
18223 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
18224 (several places): omit static initialization
18225 (process): use single fd, since only the read fd is used
18226 * fixinc/gnu-regex.c: define 'const' away, if not supported
18227 * fixinc/procopen.c(several places): omit static initialization
18228 * fixinc/server.c: define 'volitile' away, if not supported
18229
18230 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
18231
18232 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
18233 asm_fprintf and %L to generate the label name.
18234 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
18235 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
18236
18237 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
18238
18239 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
18240 insn for a conditional jump can not be found.
18241
18242 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
18243
18244 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
18245 on variables in specific sections other than .sbss and .sdata.
18246
18247 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
18248
18249 * stmt.c (expand_return): Call start_cleanup_deferral and
18250 end_cleanup_deferral around conditional code.
18251
18252 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
18253
18254 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
18255 filename lists. Utilizes new "krstr" AutoGen function.
18256 * fixinc/fixincl.x: Rebuilt.
18257
18258 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
18259
18260 * i386.c (output_float_compare): Avoid GNU-C extensions.
18261
18262 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
18263
18264 * version.c: Bump to distinguish mainline tree from the
18265 gcc-2.95 branch.
18266
18267 See ChangeLog.1 for earlier changes.