]> gcc.gnu.org Git - gcc.git/blob - gcc/ChangeLog
rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and MEM_ALIAS_SET.
[gcc.git] / gcc / ChangeLog
1 Thu May 4 09:45:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2
3 * rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and
4 MEM_ALIAS_SET.
5 * alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET
6 when calling MEM_COPY_ATTRIBUTES.
7 * emit-rtl.c (operand_subword, change_address): Likewise.
8 * explow.c (stabilize): Likewise.
9 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
10 * integrate.c (copy_rtx_and_substitute): Likewise.
11 * combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P
12 when calling MEM_COPY_ATTRIBUTES.
13 (make_extraction, simplify_shift_const, gen_lowpart_for_combine):
14 Likewise.
15 * cse.c (gen_lowpart_if_possible): Likewise.
16 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
17 * optabs.c (gen_move_insn): Likewise.
18 * recog.c (validate_replace_rtx_1): Likewise.
19 * simplify-rtx.c (add_mem_for_addr): Likewise.
20 * stmt.c (expand_anon_union_decl): Likewise.
21 * config/arm/arm.md: Likewise.
22 * config/h8300/h7300.c (fix_bit_operand): Likewise.
23 * config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise.
24 (block_move_no_loop, block_move_sequence): Likewise.
25 * config/rs6000/rs6000.c (expand_block_move_mem): Likewise.
26 * config/alpha/alpha.c (get_aligned_mem): Likewise.
27 Clear MEM_ALIAS_SET.
28 * final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling
29 MEM_COPY_ATTRIBUTES.
30
31 2000-05-03 Robert Lipe <robertlipe@usa.net>
32
33 * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
34 to suppress libgcc1.
35 (i[34567]86-*-sco3.2v5*) Likewise.
36 (i[34567]86-*-sco3.2v4*) Likewise.
37 (i[34567]86-*-sco) Likewise.
38 (i[34567]86-*-solaris2) Likewise.
39 (i[34567]86-*-sysv5*) Likewise.
40 (i[34567]86-*-sysv4*) Likewise.
41 (i[34567]86-*-udk*) Likewise.
42 (i[34567]86-*-sysv*) Likewise.
43
44 2000-05-03 Zack Weinberg <zack@wolery.cumb.org>
45
46 * cpphash.h (U): New define, to correct type of string constants.
47 (ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper
48 routines, to do casts when passing unsigned strings to libc.
49 * cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them.
50
51 * cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *.
52 * cpphash.c (_cpp_quote_string): Make string an U_CHAR *.
53 * cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *.
54 * cpplex.c (parse_ifdef, parse_include, validate_else): Make
55 second argument an U_CHAR *.
56
57 * cppinit.c (builtin_array): Make name and value U_CHAR *, add
58 length field, clean up initializer.
59 (ISTABLE): Add __extension__ to designated-
60 initializers version.
61 * cpplex.c (CHARTAB): Likewise.
62
63 * mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS
64 case so the file won't be empty.
65
66 Wed May 3 21:01:46 2000 Jason Eckhardt <jle@cygnus.com>
67
68 * bb-reorder.c (struct reorder_block_def): Member succ removed.
69 (REORDER_BLOCK_SUCC): Removed.
70 (enum reorder_skip_type): Removed.
71 (skip_insns_between_block): Renamed to skip_insns_after_block.
72 Removed second argument. Removed dead code and cleaned up.
73 (make_reorder_chain): Removed use of REORDER_BLOCK_SUCC.
74 (reorder_basic_blocks): Remove use of REORDER_SKIP_AFTER. Removed
75 second parameter to skip_insns_after_block.
76
77 Wed May 3 13:29:54 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
78
79 * tree.c (staticp, case LABEL_DECL): New case.
80
81 2000-05-03 Richard Henderson <rth@cygnus.com>
82
83 * Makefile.in (start.encap): Do not depend on LIBGCC1.
84
85 * mklibgcc1.in: Fix typo last change.
86
87 2000-05-03 Jason Merrill <jason@casey.cygnus.com>
88
89 * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
90 (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
91 (GCC_CFLAGS): Use it.
92 (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
93 * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
94 objc/Make-lang.in: Use it.
95
96 2000-05-03 Jason R Thorpe <thorpej@zembu.com>
97
98 * config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.
99
100 2000-05-03 Richard Henderson <rth@cygnus.com>
101
102 * mklibgcc.in: Restrict OLDCC=GCC test to native. Equate
103 LIBGCC1 empty with libgcc1.null.
104
105 Wed May 3 12:55:46 2000 Jim Wilson <wilson@cygnus.com>
106
107 * fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness
108 change.
109
110 2000-05-03 Greg McGary <gkm@gnu.org>
111
112 * tree.h (tree_common): Add bounded_flag member. Remove
113 inaccurate comment about number of remaining bits.
114 (BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P,
115 BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
116 MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
117 TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
118 TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros.
119 (TYPE_QUAL_BOUNDED): New constant.
120 (TYPE_QUALS): Handle bounded qualifier.
121 (TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros.
122 (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
123 TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
124 TYPE_AMBIENT_BOUNDEDNESS): New macros.
125 (MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants.
126 (tree_type): Add pointer_depth member. Remove
127 inaccurate comment about number of remaining bits.
128 (DECL_POINTER_DEPTH): Add macro.
129 (tree_decl): Add pointer_depth member.
130
131 Wed May 3 22:52:53 2000 Denis Chertykov <denisc@overta.ru>
132
133 * config/avr/avr-protos.h (test_hard_reg_class): Declared.
134 * config/avr/avr.c (ashrhi3_out): optimized shift by 15.
135 (lshrhi3_out): Likewise.
136 (ashrsi3_out): bugfix in shift by 8.
137 (test_hard_reg_class): New function.
138 * config/avr/avr.md: Bugfix inside conditions in peepholes.
139 (ashlhi3): removed define_expand of this pattern.
140 (*ashlhi3_insn): renamed to ashlhi3.
141 (ashlsi3): removed define_expand of this pattern.
142 (*ashlsi3_insn): renamed to ashlsi3.
143 (ashrqi3): removed define_expand of this pattern.
144 (*ashrqi3_insn): renamed to ashrqi3.
145 (ashrhi3): removed define_expand of this pattern.
146 (*ashrhi3_insn): renamed to ashrhi3.
147 (ashrsi3): removed define_expand of this pattern.
148 (*ashrsi3_insn): renamed to ashrsi3.
149 (lshrhi3): removed define_expand of this pattern.
150 (*lshrhi3_insn): renamed to lshrhi3.
151 (lshrsi3): removed define_expand of this pattern.
152 (*lshrsi3_insn): renamed to lshrsi3.
153
154 2000-05-03 Rodney Brown <RodneyBrown@pmsc.com>
155
156 * config/mcore/mcore.c: Replacing inclusion of "stdio,h" with
157 inclusion of "system.h".
158
159 Wed May 3 11:43:53 2000 Jim Wilson <wilson@cygnus.com>
160
161 * config/ia64/ia64.c (ia64_encode_section_info): Add check for
162 TREE_ASM_WRITTEN.
163
164 2000-05-03 David Mosberger <davidm@hpl.hp.com>
165
166 * config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp
167 if -mauto-pic is on.
168 (ia64_epilogue_uses): Mark "gp" (r1) as used by the epilogue if
169 -mconstant-gp is in effect and function-descriptors are being used
170 to make indirect calls.
171 * config/ia64/ia64.h (MASK_CONST_GP): New macro.
172 (MASK_AUTO_PIC): Ditto.
173 (TARGET_CONST_GP): Ditto.
174 (TARGET_AUTO_PIC): Ditto.
175 (TARGET_SWITCHES): Add -mconstant-gp and -mauto-pic options.
176 (ASM_OUTPUT_DOUBLE_INT): Don't generate @fptr() if -mauto-pic or
177 -mno-pic is in effect.
178 (ASM_OUTPUT_XDATA_DOUBLE_INT): Ditto.
179 * config/ia64/ia64.md (movdi): Use gen_load_gprel64() if
180 -mauto-pic is in effect.
181 (gprel64_offset): New pattern.
182 (load_gprel64): Ditto.
183 (call): Handle -mauto-pic like -mno-pic (don't use fptr). If
184 -mconstant-gp is in effect, no need to preserve gp around direct
185 calls.
186 (call_value): Ditto.
187 * config/ia64/linux.h (PROFILE_BEFORE_PROLOGUE): Define.
188 (FUNCTION_PROFILER): Define.
189 * config/ia64/sysv4.h (ASM_OUTPUT_CONSTRUCTOR): Don't generate
190 @fptr() directive when -mno-pic or -mauto-pic is in effect.
191 (ASM_OUTPUT_DESTRUCTOR): Ditto.
192
193 2000-05-03 Richard Henderson <rth@cygnus.com>
194
195 * Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
196 (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets.
197 (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets.
198 (mklibgcc, libgcc.mk): New targets.
199 (libgcc.a): Use libgcc.mk.
200 (stmp-multilib): Likewise.
201 (stmp-multilib-sub): Remove.
202 (mostlyclean): Don't delete libgcc2 temp files.
203 * configure.in (AC_PROG_CC_C_O): Add.
204 (NO_MINUS_C_MINUS_O): Substitute it.
205 (all_outputs): Add mklibgcc.
206 * mklibgcc.in: New file.
207
208 2000-05-03 Jason Merrill <jason@casey.cygnus.com>
209
210 * cppexp.c (op_t): Make an int.
211
212 * rtlanal.c (dead_or_set_regno_p): Remove unused variable.
213
214 * varasm.c (initializer_constant_valid_p): Fix parenthesis.
215
216 * gensupport.c (process_rtx): Fix macros used.
217
218 2000-05-03 Richard Henderson <rth@cygnus.com>
219
220 * flow.c (propagate_one_insn): Also don't PROP_REG_INFO for
221 call-clobbered registers of a call.
222
223 Wed May 3 12:40:53 2000 Clinton Popetz <cpopetz@cygnus.com>
224
225 * gensupport.c: New file.
226 * gensupport.h: New file.
227 * Makefile.in (HOST_RTL): Depend on gensupport.
228 (gensupport.o) New rule.
229 * genattr.c: Use gensupport for reading .md files.
230 * genattrtab.c: Ditto.
231 * gencodes.c: Ditto.
232 * genconfig.c: Ditto.
233 * genemit.c: Ditto.
234 * genextract.c: Ditto.
235 * genflags.c: Ditto.
236 * genopinit.c: Ditto.
237 * genoutput.c: Ditto.
238 * genpeep.c: Ditto.
239 * genrecog.c: Ditto.
240 * rtl.def (define_insn_and_split): New DEF_RTL_EXPR.
241 * md.texi (Insn Splitting): Document define_insn_and_split.
242
243 Tue May 2 00:20:30 2000 Jason Eckhardt <jle@cygnus.com>
244
245 * flow.c (verify_flow_info): Added two more sanity checks. The
246 first checks that the blocks are numbered consecutively. The second
247 checks that n_basic_blocks is actually equal to the number of
248 basic blocks in the insn chain.
249
250 2000-05-03 Zack Weinberg <zack@wolery.cumb.org>
251
252 * cpplib.h: Add accessor macros for token lists.
253 * cpplib.c, cpphash.c, cpplex.c: Use them.
254
255 Wed May 3 09:29:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
256
257 * expr.c (expand_expr, case COMPONENT_REF): Don't check for checking
258 memory usage if not in a function.
259 * varasm.c (initializer_constant_valid_p, case ADDR_EXPR): Only
260 return address if static.
261
262 Wed May 3 13:14:49 MET DST 2000 Jan Hubicka <jh@suse.cz>
263
264 * ifcvt.c (noce_try_cmove_arith): Use may_trap_p to thest
265 whether address may trap.
266
267 Tue May 2 23:38:37 2000 Jason Eckhardt <jle@cygnus.com>
268
269 * bb-reorder (chain_reorder_blocks): Changed code to test for
270 EDGE_FALLTHRU rather than making erroneous assumption that the
271 first outgoing edge is the fall-through edge.
272
273 Tue May 2 18:20:31 2000 Donald Lindsay <dlindsay@hound.cygnus.com>
274
275 * config/mips/mips.c (mips_build_va_list,mips_va_start,mips_va_arg): new
276 ABI for varargs, across all MIPS. This is incompatible because the
277 va_list (__builtin_va_list) structure is different, so a compilation
278 unit passing a va_list and a compilation unit being passed one, should
279 both be compiled with the same ABI. (The old structure had two
280 pointers, now it has three.)
281
282 Tue May 2 19:18:43 2000 Jason Eckhardt <jle@cygnus.com>
283
284 * bb-reorder.c (struct reorder_block_def): Remove members end,
285 block_begin, and block_end.
286 (REORDER_BLOCK_OLD_END): Delete.
287 (REORDER_BLOCK_BEGIN): Delete.
288 (REORDER_BLOCK_END): Delete.
289 (chain_reorder_blocks): Remove dead code.
290
291 Tue May 2 17:06:53 2000 Jason Eckhardt <jle@cygnus.com>
292
293 * bb-reorder.c (remove_scope_notes): Check for both types of scope
294 notes as the end of a basic block before deleting.
295
296 2000-05-02 Mumit Khan <khan@xraylith.wisc.edu>
297
298 * final.c (final_start_function): Fix spelling of "necessary".
299
300 2000-05-02 Jason Merrill <jason@casey.cygnus.com>
301
302 * toplev.c (debug_ignore_block): Return int.
303 * dwarf2out.c (dwarf2out_ignore_block): Likewise.
304 * toplev.h, dwarf2out.h: Adjust.
305 * emit-rtl.c (remove_unnecessary_notes): Test return value.
306
307 * emit-rtl.c (remove_unnecessary_notes): Fix spelling of "necessary".
308 * toplev.c, final.c, rtl.h: Adjust.
309
310 2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
311
312 * aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
313 * configure.in: Look for makeinfo in the unified tree, then
314 for a system makeinfo which is sufficiently new.
315 * Makefile.in: If configure says makeinfo is too old, don't
316 build or install Info documentation.
317
318 2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
319
320 * cpphash.c (collect_params): Fix off-by-one error.
321 (dump_hash_helper): Dump all four macro nodetypes.
322
323 2000-05-02 Jakub Jelinek <jakub@redhat.com>
324
325 * cpphash.c (trad_stringify): Adjust p after stringification as
326 well.
327
328 2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
329
330 * cpplib.h (CPP_POP, parse_cleanup_t): Delete.
331 (cpp_buffer): Remove cleanup, seen_eof, manual_pop members.
332
333 * cppfiles.c (file_cleanup): Delete.
334 * cpphash.c (macro_cleanup): Delete.
335 (collect_objlike_expansion, collect_funlike_expansion,
336 macarg, scan_arguments): Remove CPP_POP case.
337
338 * cpplex.c (null_cleanup): Delete.
339 (cpp_pop_buffer): Do the work that was done in the cleanups
340 here. Call _cpp_unwind_if_stack from here.
341 (_cpp_expand_to_buffer, cpp_scan_buffer_nooutput,
342 cpp_scan_buffer): Run until we see CPP_EOF and the top of
343 stack is the buffer _below_ the one we stacked.
344 (cpp_get_token): Always pop an exhausted buffer. Return
345 CPP_EOF unless it's a macro buffer. Don't call _cpp_handle_eof.
346 * cpplib.c (skip_if_group): Don't call cpp_get_token to
347 increment the line number.
348 (_cpp_handle_eof): Rename to _cpp_unwind_if_stack.
349
350 * fix-header.c (read_scan_file) [parsing getchar()]: Run until
351 we see CPP_EOF and the top of stack is the buffer _below_ the
352 one we stacked.
353 * scan-decls.c: Likewise.
354
355 2000-05-02 Andrew Haley <aph@cygnus.com>
356
357 * config/ia64/ia64.c (ia64_encode_section_info): Handle the case
358 where this function is called for the second time on a decl that
359 has had its section info changed in such a way as to move it out
360 of small data/bss.
361 * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition.
362
363 2000-05-01 Richard Henderson <rth@cygnus.com>
364
365 * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
366 the sequence we're moving, not to merge_bb->head.
367
368 2000-05-01 Richard Henderson <rth@cygnus.com>
369
370 * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
371 reference to alpha/t-linux.
372 (alpha*-*-linux-gnu*): Likewise.
373 * configure: Rebuild.
374
375 * calls.c (expand_call): Don't emit reg notes for a sibcall.
376
377 * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
378 if not in SSA form.
379
380 * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
381
382 2000-05-01 Jason Merrill <jason@casey.cygnus.com>
383
384 * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
385 TREE_THIS_VOLATILE.
386
387 2000-05-01 Richard Henderson <rth@cygnus.com>
388
389 * ifcvt.c (noce_emit_cmove): Conditionally compile call to
390 emit_conditional_move.
391
392 2000-05-01 Jakub Jelinek <jakub@redhat.com>
393
394 * config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
395 as the dynamic linker.
396
397 2000-05-01 Zack Weinberg <zack@wolery.cumb.org>
398
399 * cppfiles.c (open_include_file): Open file in blocking mode.
400 (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
401 Only exclude block devices and directories.
402
403 * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
404 static. Allocate the hashnode and its string in the same
405 block of memory.
406 (del_HASHNODE): Don't free h->name.
407 (_cpp_lookup): If there is no entry for this string, create
408 one, of type T_VOID.
409 (_cpp_lookup_slot): Delete.
410 * cpphash.h: Update prototypes.
411
412 * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
413 not hp == NULL.
414 * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
415 do_unassert, cpp_defined): Use _cpp_lookup. Don't create a
416 node here, just fill in the value field properly. "Delete"
417 entries by setting the value field to T_VOID. Check for
418 hp->type == T_VOID, not hp == NULL.
419
420 * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
421 * cpperror.c, cppexp.c, cpplex.c, cpplib.c: Don't include
422 hashtab.h.
423
424 2000-05-01 Alexandre Oliva <aoliva@cygnus.com>
425
426 * config/mn10300/mn10300.c (print_operand_address): Do not add
427 zero to SP.
428
429 * config/mn10300/mn10300.c (expand_epilogue): If SP is to be
430 adjusted by less than 256 bytes, use ret regardless of having any
431 callee-saved register to restore.
432
433 2000-05-01 Laurynas Biveinis <lauras@softhome.net>
434
435 * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
436
437 2000-05-01 Mark Elbrecht <snowball3@bigfoot.com>
438
439 * config/i386/djgpp.h (INT_ASM_OP): Define.
440 (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
441 (ASM_WEAKEN_LABEL): Define.
442 (MASK_BNU210): Define.
443 (SUBTARGET_SWITCHES): Define.
444 (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
445 (MAKE_DECL_ONE_ONLY): Define.
446 (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.
447
448 2000-05-01 Mumit Khan <khan@xraylith.wisc.edu>
449
450 * i386/cygwin.h (INT_ASM_OP): Define.
451
452 Mon May 1 18:20:06 2000 Denis Chertykov <denisc@overta.ru>
453
454 * config/avr/avr.c (address_cost): renamed to avr_address_cost.
455 * config/avr/avr.h (ADDRESS_COST): use avr_address_cost.
456
457 Mon May 1 17:50:44 2000 Denis Chertykov <denisc@overta.ru>
458
459 * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
460 __tmp_reg__ and __zero_reg__ initialization.
461
462 2000-04-30 Richard Henderson <rth@cygnus.com>
463
464 * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
465
466 * ifcvt.c (noce_process_if_block): Fail the conversion if X is
467 referenced bewteen the condition and the jump. Don't delete
468 anything but the jump.
469
470 Sun Apr 30 22:48:24 2000 Jason Eckhardt <jle@cygnus.com>
471
472 * bb-reorder.c (scope_def): New struct.
473 (scope_forest_info): New struct.
474 (struct reorder_block_def): New member "scope".
475 (REORDER_BLOCK_SCOPE): New macro.
476 (relate_bbs_with_scopes): New function and prototype.
477 (make_new_scope): Likewise.
478 (build_scope_forest): Likewise.
479 (remove_scope_notes): Likewise.
480 (insert_intra_1): Likewise.
481 (insert_intra_bb_scope_notes): Likewise.
482 (insert_inter_bb_scope_notes): Likewise.
483 (rebuild_scope_notes): Likewise.
484 (free_scope_forest_1): Likewise.
485 (free_scope_forest): Likewise.
486 (dump_scope_forest): Likewise.
487 (dump_scope_forest_1): Likewise.
488 (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
489 Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
490 block.
491 (reorder_basic_blocks): Added calls to build_scope_scope_forest
492 and remove_scope_notes before reordering is done. Added calls to
493 rebuild_scope_notes, free_scope_forest, and reorder_blocks after
494 after reordering is done.
495
496 2000-40-30 Bruce Korb <bkorb@gnu.org>
497
498 * fixinc/inclhack.def: Added definitions needed by OSR5,
499 removed two stale entries (defined away with OLD_CPP).
500 * fixinc/inclhack.sh: regen
501 * fixinc/fixincl.x: regen
502
503 2000-04-30 Richard Henderson <rth@cygnus.com>
504
505 * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
506 from the last insn in the sequence.
507
508 2000-04-30 Zack Weinberg <zack@wolery.cumb.org>
509
510 * cpplex.c (cpp_idcmp): New function.
511 * cpplib.h: Prototype it.
512 * scan_decls.c (scan_decls): Use it to inspect token names.
513 * fix-header.c (read_scan_file): Likewise. Set system_header_p on
514 the file being run through the preprocessor.
515 (check_macro_names): Provide length of token to cpp_defined.
516
517 * Makefile.in: Remove stale warning message.
518
519 * cppfiles.c (redundant_include_p): Provide length of token to
520 cpp_defined.
521 * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
522 values are unsigned int.
523 (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
524 (_cpp_lookup_slot): Do not calculate the hash, either.
525 * cpphash.h: Update prototypes.
526 * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
527 Hashes are unsigned int. Calculate hash here, pass by value
528 to _cpp_lookup_slot.
529
530 2000-04-30 Bernd Schmidt <bernds@cygnus.co.uk>
531
532 * simplify-rtx.c (check_value_useless): Delete function.
533 (discard_useless_locs): Don't call it; manage N_USELES_VALUES counter
534 by hand.
535 (cselib_invalidate_regno): Likewise.
536 (cselib_invalidate_mem_1): Likewise.
537 (references_value_p): Recognize useless values by the fact that they
538 have no locations.
539 (discard_useless_values): Likewise.
540 (cselib_record_set): This may turn a useless value
541 into a useful one.
542
543 2000-04-30 Richard Henderson <rth@cygnus.com>
544
545 * config/d30v: New port.
546
547 * configure.in (d30v-*): Set fp format.
548 * configure: Rebuild.
549
550 2000-04-30 Richard Henderson <rth@cygnus.com>
551
552 * ifcvt.c: New file.
553 * Makefile.in (OBJS): Add it.
554 (ifcvt.o): New target.
555 * jump.c (jump_optimize_1): Remove all code related to if-conversion,
556 and conditional arithmetic.
557 (find_insert_position): Remove.
558 * timevar.def (TV_IFCVT, TV_IFCVT2): New.
559 * toplev.c (DFI_ce, DFI_ce2): New.
560 (dump_file): Add ce and ce2 dumps.
561 (rest_of_compilation): Run if_convert a couple o times. Set
562 cse_not_expected after cse2. Don't set no_new_pseudos until
563 after sched1 or recompute_reg_usage.
564
565 2000-04-30 Richard Henderson <rth@cygnus.com>
566
567 * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
568 (crtend.o, crtbeginS.o, crtendS.o): Likewise.
569
570 2000-04-30 Richard Henderson <rth@cygnus.com>
571
572 * flow.c (struct reg_cond_life_info): New.
573 (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
574 (init_propagate_block_info): Initialize them.
575 (free_propagate_block_info): Destruct them.
576 (mark_set_1): Consider conditional life before killing a register.
577 (mark_regno_cond_dead): New.
578 (free_reg_cond_life_info): New.
579 (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
580 (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
581 (mark_used_reg): Record conditional life.
582
583 * haifa-sched.c (schedule_insns): Disable death counting
584 sanity check for HAVE_conditional_execution.
585
586 2000-04-30 Richard Henderson <rth@cygnus.com>
587
588 * Makefile.in (TIMEVAR_H): New.
589 (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
590 (timevar.h): Remove rule.
591
592 2000-04-29 Richard Henderson <rth@cygnus.com>
593
594 * config/alpha/crtend.asm: Use C comments instead of #.
595 * config/alpha/crtbegin.asm: Likewise. Mark __dso_handle hidden.
596
597 * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.
598
599 2000-04-29 Zack Weinberg <zack@wolery.cumb.org>
600
601 * cpphash.h (enum node_type: Take out T_MCONST.
602 (union hashval): Move into struct hashnode.
603 (struct hashnode): Pack tighter. Remove file, line, col
604 members.
605 * cpphash.c: Constify most of the macro-definition structures.
606 (struct definition): Replace by struct object_defn
607 and struct funct_defn. Put file, line, column information
608 here. All users updated to match.
609 (_cpp_create_definition, _cpp_macroexpand): Remove special
610 case for #define WORD OTHERWORD.
611 * cpplib.c (do_undef): Remove T_MCONST case.
612
613 * cpphash.h: Move struct reflist, struct definition, and the
614 DEFINITION typedef to cpphash.c. Use 'struct definition *' in
615 union hashval. _cpp_free_definition takes a HASHNODE pointer.
616 * cpphash.c (_cpp_free_definition): Free data pointed to by
617 MCONST, XCONST, MACRO, and FMACRO nodes properly.
618 (_cpp_create_definition, del_HASHNODE): Just call
619 _cpp_free_definition to clear out a hashnode.
620 * cpplib.c (do_pragma_poison): Likewise.
621
622 Sat Apr 29 12:25:17 2000 Alexandre Oliva <aoliva@cygnus.com>
623
624 * config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
625 LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
626 FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
627 (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
628 (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
629 REGNO_AM33_P): Redefine in terms of the new macros.
630 (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
631 (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
632 STRUCT_VALUE): Likewise.
633 (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
634 ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise. Moved.
635
636 Sat Apr 29 01:18:45 MET DST 2000 Jan Hubicka <jh@suse.cz>
637
638 * regmove.c (struct record_stack_memrefs_data): New.
639 (record_stack_memrefs): New function.
640 (combine_stack_adjustments_for_block): Use it.
641
642 Sat Apr 29 01:15:27 MET DST 2000 Jan Hubicka <jh@suse.cz>
643
644 * calls.c (calls_function_1): Propertly handle TREE_LIST expressions;
645 use special_function_p to detect alloca.
646
647 Fri Apr 28 16:30:33 2000 Marc Espie <espie@cvs.openbsd.org>
648
649 * gcc.texi: Fixes for makeinfo 4.0 --html.
650
651 2000-04-28 Zack Weinberg <zack@wolery.cumb.org>
652
653 * pcp.h: Delete file.
654
655 2000-04-28 Kazu Hirata <kazu@hxi.com>
656
657 * h8300.c (function_epilogue): Clean up flags when the last insn
658 in a function is a barrier.
659
660 2000-04-28 Chris Demetriou <cgd@sibyte.com>
661
662 * configure.in (sparc-hal-solaris2*): protect [] glob from
663 my expansion.
664 (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
665 rather than hard-coded constants in target_cpu_default2.
666 * configure: Regenerate.
667
668 2000-04-28 Jason Merrill <jason@casey.cygnus.com>
669
670 * tree.c (get_callee_fndecl): Extract the initial value from
671 a readonly decl.
672
673 2000-04-28 Richard Henderson <rth@cygnus.com>
674
675 * varasm.c (record_constant_1): Record the CODE_LABEL when
676 taking the address of a LABEL_REF.
677
678 2000-04-28 Richard Henderson <rth@cygnus.com>
679 Jan Hubicka <jh@suse.cz>
680
681 * calls.c (combine_pending_stack_adjustment_and_call): Return the
682 adjustment; don't do the stack adjust.
683 (expand_call): Call compute_argument_block_size right before
684 allocating the block; update comment; don't do alignment sanity
685 checking for sibling call; use args_size instead of
686 unadjusted_args_size before args_size is adjusted. Use
687 combine_pending_stack_adjustment_and_call to compute stack adjust
688 for must_preallocate case.
689
690 * expr.c (push_block): Remove shadow `temp' in inner scope.
691
692 2000-04-28 Jason Merrill <jason@casey.cygnus.com>
693
694 * toplev.c (rest_of_compilation): Call
695 note_deferral_of_defined_inline_function even if the function
696 can't be inlined.
697
698 2000-04-28 Scott Bambrough <scottb@netwinder.org>
699
700 * cpplex.c (_cpp_scan_line): Fix buffer overwrite.
701
702 2000-04-28 Richard Henderson <rth@cygnus.com>
703
704 * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
705
706 2000-04-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
707
708 * timevar.c (init_timevar): DeANSIfy function definition.
709
710 2000-04-27 Alex Samuel <samuel@codesourcery.com>
711
712 * Makefile.in (timevar.o): Depend on flags.h.
713 * timevar.c (unused_stack_instances): New variable.
714 (timevar_push): Take a timevar_stack_def from
715 unused_stack_instances if available.
716 (timevar_pop): Push the popped timevar_stack_def onto
717 unused_stack_instances.
718 (TIMEVAR_ENABLE): New macro.
719 (timevar_def): Make standalone a 1-bit field. Add field used.
720 (get_time): Rename parameter to now. Return after clearing it if
721 not TIMEVAR_ENABLE.
722 (init_timevar): Do nothing if not TIMEVAR_ENABLE.
723 (timevar_pop): Likewise.
724 (timevar_stop): Likewise.
725 (timevar_push): Likewise. Mark the timing variable as used.
726 (timevar_start): Likewise.
727 (timevar_print): Do nothing if not TIMEVAR_ENABLE. Don't print
728 timevars that were never used.
729
730 2000-04-27 Mark Mitchell <mark@codesourcery.com>
731
732 * c-common.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
733 always TREE_READONLY.
734
735 2000-04-27 Ulrich Drepper <drepper@cygnus.com>
736
737 * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
738 for call instruction with mode QImode.
739
740 2000-04-27 Alex Samuel <samuel@codesourcery.com>
741
742 * Makefile.in (OBJS): Add timevar.o.
743 (toplev.o): Depend on timevar.h.
744 (ggc-simple.o): Likewise.
745 (ggc-page.o): Likewise.
746 (timevar.o): New rule.
747 (timevar.h): New rule.
748
749 * timevar.h: New file.
750 * timevar.c: Likewise.
751 * timevar.def: Likewise.
752
753 * toplev.h (gc_time, parse_time, varconst_time): Remove.
754 * toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
755 throughout.
756 (TIMEVAR): Remove macro.
757 (gc_time, parse_time, varconst_time, integration_time, jump_time,
758 cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
759 flow_time, combine_time, regmove_time, sched_time,
760 local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
761 sched2_time, dbr_sched_time, reorder_blocks_time,
762 rename_registers_time, shorten_branch_time, stack_reg_time,
763 to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
764 all_time): Remove.
765 (compile_file): Don't initialize time variables. Call
766 init_timevar and start TV_TOTAL timer. Call timevar_print instead
767 of many calls to print_time.
768 (rest_of_compilation): Add timing for reload_cse_regs.
769 (get_run_time): Removed to timevar.c.
770 (print_time): Likewise.
771 (get_run_time): Implement using TV_TOTAL time variable.
772 (print_time): Get total run time from get_run_time.
773 * ggc-page.c (ggc_collect): Push and pop TV_GC instead of
774 computing elapsed time explicitly.
775 * ggc-simple.c (ggc_collect): Likewise.
776 (gc_time): Remove declaration.
777
778 2000-04-27 Mark Mitchell <mark@codesourcery.com>
779
780 * calls.c (combine_pending_stack_adjustment_and_call): New function.
781 (expand_call): Use it.
782
783 2000-04-27 Jan Hubicka <jh@suse.cz>
784
785 * flow.c (mark_set_1): Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
786 fields.
787
788 Thu Apr 27 12:47:00 2000 Alexandre Oliva <aoliva@cygnus.com>
789
790 * config/mn10300/mn10300.md (movhi): Simplify. Prefer data
791 registers.
792
793 Thu Apr 27 17:33:05 MET DST 2000 Jan Hubicka <jh@suse.cz>
794
795 * function.c (epilogue_done): Pass whole insn to record_insns.
796
797 Thu Apr 27 16:55:28 MET DST 2000 Jan Hubicka <jh@suse.cz>
798
799 * cse.c (CSE_ADDRESS_COST): Remove.
800 (find_best_addr): Add new parameter "MODE", use address_cost instead
801 of CSE_ADDRESS_COST
802 (address_cost): New.
803 (fold_rtx): Update call of find_best_addr.
804 * rtl.h (address_cost): Declare.
805 * loop.c (general_induction_var): Add new parameter "MODE", use
806 address_cost instead of ADDRESS_COST
807 (init_loop): Use address_cost instead of ADDRESS_COST.
808 (check_insn_for_givs): Update call of general_induction_var.
809 (find_mem_givs): Likewise.
810 (consec_sets_giv): Likewise.
811 * config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
812 * i386.c (ix86_address_cost): New.
813 * i386-protos.h (ix86_address_cost): Declare.
814
815 Thu Apr 27 11:45:16 2000 Alexandre Oliva <aoliva@cygnus.com>
816
817 * config/mn10300/mn10300.md (movqi): Simplify. Prefer data
818 registers.
819
820 Thu Apr 27 16:11:00 MET DST 2000 Jan Hubicka <jh@suse.cz>
821
822 * expr.c (store_expr): Use clear_storage instead of direct memset
823 libcall.
824
825 Thu Apr 27 10:36:51 2000 Alexandre Oliva <aoliva@cygnus.com>
826
827 * config/mn10300/mn10300.c (mn10300_address_cost): Test
828 ASHIFT, AND and LABEL_REF.
829
830 Thu Apr 27 15:08:46 MET DST 2000 Jan Hubicka <jh@suse.cz>
831
832 * invoke.texi (-foptimize-sibling-calls): Fix.
833
834 Thu Apr 27 14:54:22 MET DST 2000 Jan Hubicka <jh@suse.cz>
835
836 * loop.c (load_mems) Don't use hard registers for the hoisting.
837
838 * unroll.c (unroll_loop): Avoid overflow in the n_iterations
839 calculation; rename const_equiv array in the preconditioning code
840 from loop_unroll to loop_unroll_precondition
841
842 2000-04-27 Richard Henderson <rth@cygnus.com>
843
844 * flow.c (struct propagate_block_info): Remove new_dead, new_live;
845 add new_set.
846 (propagate_one_insn): Clear it. Don't update reg_live here.
847 (init_propagate_block_info): Update for pbi member changes.
848 (free_propagate_block_info): Likewise.
849 (mark_set_1): Know that zero_extract, sign_extract, and
850 strict_low_part don't kill their argument. Alter hard subregs.
851 Update new_set for non-CLOBBER sets. Update reg_live.
852 (find_auto_inc): Update reg_live, not new_dead.
853 (mark_used_reg): Update reg_live, not new_live. Examine new_set
854 to determine if the reg in question was set this insn. Only update
855 reg info with PROP_REG_INFO.
856
857 2000-04-26 Richard Henderson <rth@cygnus.com>
858
859 * flow.c (allocate_reg_life_data): Set max_regno here ...
860 (life_analysis): ... not here.
861
862 * flow.c (calculate_global_regs_live): Force stack pointer
863 live at end.
864
865 2000-04-26 Richard Henderson <rth@cygnus.com>
866
867 * jump.c (redirect_exp_1): Rework from old redirect_exp. Never
868 commit change group changes.
869 (invert_exp_1): Similarly.
870 (redirect_exp, invert_exp): Use them.
871 (redirect_jump_1): New.
872 (invert_jump_1): New.
873 (jump_optimize_1): Remove code subsumed by condexec.c.
874 * rtl.h (invert_jump_1, redirect_jump_1): Declare.
875
876 2000-04-26 Richard Henderson <rth@cygnus.com>
877
878 * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
879
880 * genconfig.c (main): Set all HAVE_foo to 1.
881
882 * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.
883
884 2000-04-26 Alex Samuel <samuel@codesourcery.com>
885
886 * invoke.texi: Document -fssa flag.
887
888 2000-04-26 Richard Henderson <rth@cygnus.com>
889
890 * flow.c (count_reg_sets_1): Remove.
891 (count_reg_sets, count_reg_references): Remove.
892 (recompute_reg_usage): Implement with update_life_info.
893 Reallocate life data.
894
895 2000-04-26 Richard Henderson <rth@cygnus.com>
896
897 * flow.c (update_life_info): Consider blocks null to mean the
898 universal set.
899 (calculate_global_regs_live): Likewise.
900 (life_analysis): Do that instead of collecting all_blocks.
901
902 2000-04-26 Richard Henderson <rth@cygnus.com>
903
904 * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
905 a still-valid conditional jump.
906
907 2000-04-26 Richard Henderson <rth@cygnus.com>
908
909 * jump.c (invert_jump): Always invert REG_BR_PROB. Do it correctly.
910
911 * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
912 * flow.c (calculate_loop_depth): Remove.
913 * output.h (calculate_loop_depth): Don't declare.
914 * toplev.c (rest_of_compilation): Expand calculate_loop_depth
915 inline; run estimate_probability at the same time.
916
917 2000-04-26 Neil Booth <NeilB@earthling.net>
918
919 * cpplib.h: "~=" is not a single pp-token.
920 * cpplex.c: Correct commentary.
921
922 2000-04-26 Richard Henderson <rth@cygnus.com>
923
924 * flow.c (mark_set_1): New arguments code and flags; update all
925 callers. Track regno_first and regno_last; do HARD_REGNO_NREGS
926 test in one place. Tidy flags tests. Don't bias REG_N_REFS by
927 loop_depth when optimizing for size. Do new_dead update after
928 emitting REG_UNUSED notes. Merge mark_set_reg code.
929 (mark_set_reg): Remove.
930 (propagate_one_insn): Use mark_set_1 for call-clobbered registers;
931 arrange to not emit REG_UNUSED notes.
932
933 2000-04-26 Richard Henderson <rth@cygnus.com>
934
935 * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
936 * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.
937
938 2000-04-26 Richard Henderson <rth@cygnus.com>
939
940 * flow.c (propagate_one_insn): Break out from propagate_block.
941 (init_propagate_block_info): Likewise.
942 (free_propagate_block_info): Likewise.
943 (propagate_block): Use them. Export.
944 * basic-block.h: Declare them all.
945
946 2000-04-26 Richard Henderson <rth@cygnus.com>
947
948 * basic-block.h (life_analysis): Declare here ...
949 * output.h: ... not here.
950 * flow.c (life_analysis): Remove nregs parameter; replace
951 remove_dead_code with flags. Remove ssa dead code check.
952 Only init alias analysis if we'll use it.
953 * reg-stack.c (reg_to_stack): Update life_analysis arguments.
954 * ssa.c (convert_to_ssa): Likewise.
955 (convert_from_ssa): Likewise.
956 * toplev.c (rest_of_compilation): Likewise.
957
958 2000-04-26 Richard Henderson <rth@cygnus.com>
959
960 * flow.c (flow_delete_block): Rename from delete_block. Export.
961 * basic-block.h (flow_delete_block): Declare.
962
963 2000-04-26 David S. Miller <davem@redhat.com>
964
965 * optabs.c (emit_libcall_block): Verify insns with INSN_P before
966 taking a PATTERN of it.
967
968 2000-04-26 <NeilB@earthling.net>
969
970 * cpplex.c (spell_other, spell_char): Remove.
971 (SPELL_CHAR): New.
972 (token_spelling, trigraph_map): Use unsigned chars.
973 (_cpp_lex_line): Tidy up the switch statement.
974 * cpplib.h: Implement spell_char with spell_string.
975 (C): New.
976
977 2000-04-26 <RodneyBrown@pmsc.com>
978
979 * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.
980 * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal.
981
982 2000-04-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
983
984 * dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
985 reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
986 dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
987 dwarf2out_return_save, dwarf2out_return_reg,
988 dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
989 add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
990 gen_compile_unit_die, dwarf2out_init): Constify a char*.
991
992 * dwarf2out.h (dwarf2out_init): Likewise.
993
994 * dwarfout.c (filename_entry, primary_filename, last_filename,
995 type_tag, output_compile_unit_die, dwarfout_init): Likewise.
996
997 * tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
998 dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
999 dwarf2out_return_reg): Likewise.
1000
1001 2000-04-26 Andreas Jaeger <aj@suse.de>
1002
1003 * extend.texi (Function Attributes): Fix description of pure
1004 attribute.
1005
1006 2000-04-26 Jason Merrill <jason@casey.cygnus.com>
1007
1008 * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
1009 before calling rest_of_compilation.
1010
1011 2000-04-26 Andreas Jaeger <aj@suse.de>
1012
1013 * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
1014 last patch.
1015
1016 2000-04-25 Richard Henderson <rth@cygnus.com>
1017
1018 * cse.c (cse_insn): Emit barrier after unconditional jump.
1019
1020 * calls.c (expand_call): Disable tail call generation once
1021 rtx_equal_function_value_matters is false.
1022
1023 * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges
1024 like EDGE_EH edges.
1025
1026 2000-04-25 Jason Merrill <jason@casey.cygnus.com>
1027
1028 * dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
1029
1030 * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
1031
1032 * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
1033 is the primary DIE for a member function.
1034 (gen_decl_die): Call set_decl_origin_self here.
1035 * dwarfout.c (output_decl): And here.
1036 * integrate.c (output_inline_function): Not here.
1037 Don't clear DECL_INLINE until after calling rest_of_compilation.
1038 (set_decl_origin_self): No longer static.
1039 * tree.h: Add prototype.
1040 * toplev.c (note_deferral_of_defined_inline_function): Only write
1041 out abstract instance for actual inlines.
1042
1043 2000-04-25 Alexandre Oliva <aoliva@cygnus.com>
1044
1045 * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return
1046 EXTENDED_REGS only if TARGET_AM33.
1047 * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing
1048 SP_REGS to register allocation and reloading unless absolutely
1049 necessary.
1050 (movsi3): Remove special-case of adding non-constants to SP.
1051
1052 2000-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1053
1054 * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
1055 INCLUDES to search and does not provide any of its own. Also it
1056 now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
1057 parameters. Also it does not call AC_DEFINE.
1058 (gcc_AC_NEED_DECLARATIONS): Likewise. Also this macro now calls
1059 AC_DEFINE and provides for automatic entries for autoheader.
1060 (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.
1061
1062 * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
1063 so we can pass -I flags and include gansidecl.h/system.h in this
1064 test.
1065
1066 * acconfig.h: Delete all NEED_DECLARATION_* entries.
1067
1068 2000-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1069
1070 * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
1071 ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
1072 ENABLE_GC_ALWAYS_COLLECT): Delete entries.
1073
1074 * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
1075 ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
1076 ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
1077 for these macros. Clean up spacing and linewraps.
1078
1079 2000-04-26 Jason Merrill <jason@casey.cygnus.com>
1080
1081 * calls.c (expand_call): Use get_callee_fndecl.
1082
1083 * print-tree.c (print_node): Print the chain of an _EXPR.
1084
1085 Tue Apr 25 16:16:04 2000 Andrew MacLeod <amacleod@cygnus.com>
1086 Jim Wilson <wilson@cygnus.com>
1087 Andrew Haley <aph@cygnus.com>
1088
1089 * config/ia64/crtbegin.asm: Add IA-64 unwind support. Correct alloc
1090 and gp save/restore problems.
1091 * config/ia64/crtend.asm: Add IA-64 unwind support.
1092 * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
1093 in fr_pad_size calculation.
1094 (save_restore_insns): Move PR save area. Correct uses of
1095 RTX_FRAME_RELATED_P.
1096 (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
1097 (ia64_expand_epilogue): Add eh_epilogue support.
1098 (ia64_function_prologue): Emit .prologue directive.
1099 (ia64_init_machine_status, ia64_mark_machine_status): New functions.
1100 (ia64_override_options): Set init_machine_status and
1101 mark_machine_status.
1102 (rtx_needs_barrier): Handle bsp reads and writes.
1103 (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved):
1104 New static variables.
1105 (process_set, process_for_unwind_directive): New functions.
1106 * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT,
1107 ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR,
1108 ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New
1109 macros.
1110 (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section.
1111 (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define.
1112 (struct machine_function): Define.
1113 * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns.
1114
1115 2000-04-25 Bruce Korb <bkorb@gnu.org>
1116
1117 * fixinc/Makefile.in: make the removal of old programs more
1118 robust
1119 * fixinc/mkfixinc.sh: use the two new targets in the Makefile:
1120 install-bin and install-sh
1121
1122 2000-04-25 Nick Clifton <nickc@cygnus.com>
1123
1124 * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not
1125 defined, define to return zero.
1126 (function_cannot_inline_p): If a function has any target
1127 specific attributes, then use the macro
1128 FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide
1129 whether it can be inlined. If it cannot, issue a suitable
1130 explanation.
1131
1132 * tm.texi: Add a new node 'Inlining' to document the new macro
1133 FUNCTION_ATTRIBUTE_INLINABLE_P.
1134
1135 2000-04-25 Zack Weinberg <zack@wolery.cumb.org>
1136
1137 * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
1138 commentary.
1139
1140 2000-04-25 Neil Booth <NeilB@earthling.net>
1141
1142 Restore previous patch, plus the following fixes:
1143
1144 * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
1145 flags, not CPP_OPEN_PAREN.
1146 * cpplex.c (expand_token_space, init_token_list,
1147 cpp_free_token_list): Put the dummy token at list->tokens[-1].
1148 (_cpp_lex_line, _cpp_lex_file): token list is 0-based.
1149
1150 Tue Apr 25 14:06:40 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1151
1152 * config/i386/freebsd.h (INT_ASM_OP): Define.
1153
1154 Tue Apr 25 14:51:07 MET DST 2000 Jan Hubicka <jh@suse.cz>
1155
1156 * loop.c (strength_reduce): Fix typo in the last checkin.
1157
1158 Tue Apr 25 07:33:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1159
1160 * stor-layout.c (finalize_record_size): Simplify to use existing
1161 functions.
1162 (compute_record_mode): No longer static.
1163 * tree.h (compute_record_mode): New declaration.
1164
1165 2000-04-25 Neil Booth <NeilB@earthling.net>
1166
1167 * Revert my patch below until cause of build failures
1168 determined.
1169
1170 2000-04-25 Richard Henderson <rth@cygnus.com>
1171
1172 * combine.c (combine_instructions): Add missing argument
1173 to try_combine.
1174
1175 * toplev.c (rest_of_compilation): Delay sibcall optimization
1176 until after emit_eh_context.
1177
1178 2000-04-24 Nick Clifton <nickc@redhat.com>
1179
1180 * combine.c (combine_instructions): Do not try to combine a
1181 sequence of insns when the second insn has been replaced by a
1182 note.
1183
1184 Mon Apr 24 17:34:18 2000 Mumit Khan <khan@xraylith.wisc.edu>
1185
1186 * gcc.c (load_specs): New static function.
1187 (read_specs): Use it.
1188
1189 * gcc.c (lookup_compiler): Make multiple passes for case
1190 insensitive filesystems.
1191
1192 2000-04-24 Neil Booth <NeilB@earthling.net>
1193
1194 * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
1195 * cpphash.h (_cpp_check_directive): new.
1196 * cpplex.c (handle_newline, cpp_free_token_list,
1197 init_trigraph_map, trigraph_ok, trigraph_replace,
1198 backslash_start, skip_block_comment, skip_line_comment,
1199 skip_whitespace, parse_name, parse_number, parse_string,
1200 copy_comment, _cpp_lex_line, spell_char, spell_string,
1201 spell_comment, spell_name, spell_other, _cpp_lex_file,
1202 _cpp_output_list): new.
1203 (expand_name_space): take length argument.
1204 (init_token_list): add comment list initialisation.
1205 (cpp_scan_line): use auto_expand_name_space. PREV_WHITESPACE
1206 instead of HSPACE_BEFORE.
1207
1208 * cpplib.c (_cpp_check_directive): new
1209 * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
1210 DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
1211 (HSPACE_BEFORE): delete.
1212 (TTYPE_TABLE): rearrange.
1213 (struct cpp_toklist): update.
1214
1215 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1216
1217 * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
1218 gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
1219 argument form of AC_DEFINE.
1220
1221 * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
1222 HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
1223 WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
1224 HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
1225 HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
1226
1227 * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
1228
1229 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1230
1231 * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
1232 deduced.h): Use -isystem, not -I, for including system headers.
1233
1234 2000-04-24 Nick Clifton <nickc@cygnus.com>
1235
1236 * config/fr30/fr30.md (addsi3): Do not use small add instruction if
1237 the source register is the frame pointer or arg pointer.
1238 (addsi3_small_int): Disallow if source register is the frame
1239 pointer or arg pointer.
1240
1241 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1242
1243 * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
1244 call to AC_MSG_RESULT.
1245
1246 2000-04-24 Martin v. Löwis <loewis@informatik.hu-berlin.de>
1247
1248 * invoke.texi: Correct grammatical errors, document
1249 -fno-gnu-keywords as identical to -fno-asm for C++.
1250
1251 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1252
1253 * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
1254 GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
1255 GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
1256 AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
1257 EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
1258
1259 * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
1260 GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
1261 GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
1262 GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
1263 new macros names.
1264
1265 2000-04-24 Mumit Khan <khan@xraylith.wisc.edu>
1266
1267 * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
1268 (pop_alignment): Likewise.
1269 (handle_pragma_token): Likewise.
1270
1271 2000-04-24 Robert Lipe <robertlipe@usa.net>
1272
1273 * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
1274
1275 2000-04-24 Hiroyuki Machida <machida@sm.sony.co.jp>
1276
1277 * combine.c (try_combine): Update reg_nonzero_bits of
1278 newi2pat before newpat.
1279
1280 Mon Apr 24 10:19:48 MET DST 2000 Jan Hubicka <jh@suse.cz>
1281
1282 * loop.c (strength_reduce): Simplify test to INSN_P.
1283 (record_giv): Attempt to simplify the add value, use CONSTANT_P
1284 expressions instead of CONST_INT.
1285 (express_from_1): Likewise.
1286
1287 2000-04-24 Mark Mitchell <mark@codesourcery.com>
1288
1289 * regs.h (reg_n_max): Don't declare.
1290 * flow.c (reg_n_max): Don't define.
1291 * regclass.c (renumber): Don't initialize to zero.
1292 (regno_allocated): Likewise.
1293 (reg_n_max): Define.
1294 (allocate_reg_info): Don't initialize unnecessarily.
1295
1296 Mon Apr 24 00:21:36 2000 Jeffrey A Law (law@cygnus.com)
1297
1298 * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
1299 and blockage_p in the newly allocated attribute.
1300
1301 Sun Apr 23 20:16:49 2000 Alexandre Oliva <aoliva@cygnus.com>
1302
1303 * config/mn10300/mn10300.md (addsi): `inc4' on address
1304 registers does not modify cc, but `inc' on an extended
1305 register does.
1306
1307 Sun Apr 23 16:24:35 2000 Denis Chertykov <denisc@overta.ru>
1308
1309 * reload.c (find_equiv_reg): Checks all valueno regs
1310 as a reload_reg_p regs.
1311
1312 2000-04-23 Zack Weinberg <zack@wolery.cumb.org>
1313
1314 * cpphash.c (collect_objlike_expansion): Add sanity check.
1315 (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST. If
1316 the buffer is the empty string, return. Mark __DATE__ and
1317 __TIME__ as XCONST nodes, not MCONST.
1318 (_cpp_macroexpand): Avoid pushing an empty buffer.
1319 (funlike_macroexpand): Don't pop token_buffer here.
1320
1321 Sun Apr 23 18:37:53 2000 Alexandre Oliva <aoliva@cygnus.com>
1322
1323 * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
1324 (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
1325 (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
1326 (REGNO_OK_FOR_BASE_P): Define in terms of them.
1327 (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
1328 (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
1329 (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
1330
1331 Sun Apr 23 22:23:08 MET DST 2000 Jan Hubicka <jh@suse.cz>
1332
1333 * loop.c (simplify_giv_expr): Be more agressive on simplifying
1334 constant MULT givs.
1335
1336 2000-04-23 Zack Weinberg <zack@wolery.cumb.org>
1337
1338 * cpphash.h (struct definition): Move file, line, col members...
1339 (struct hashnode): ... here. Also add 'disabled' flag.
1340 (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
1341 T_IDENTITY. Remove T_DISABLED.
1342 Update prototypes.
1343
1344 * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.
1345 (collect_expansion): Split into collect_objlike_expansion and
1346 collect_funlike_expansion.
1347 (_cpp_macroexpand): Split out scan_arguments, stringify, and
1348 funlike_macroexpand.
1349 (_cpp_compare_defs): Rename compare_defs, make static.
1350 (_cpp_make_hashnode): Initialize hp->disabled.
1351 (macro_cleanup): Adjust for new token types. Clear
1352 m->disabled.
1353 (_cpp_create_definition): Move code here to determine what
1354 sort of macro it is, and code to check for redefinitions, from
1355 do_define. Implement a few simple cases without creating a
1356 full DEFINITION.
1357 (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
1358 Handle the simple cases.
1359 (push_macro_expansion): Set buf->has_escapes and hp->disabled
1360 here.
1361
1362 * cppinit.c (builtin_array): Change MCONST to XCONST
1363 everywhere.
1364 * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
1365 fix check for disabled and function-like macros.
1366 * cpplib.c (do_define): Move most logic to
1367 _cpp_create_definition.
1368 (do_undef): Handle new special token types.
1369
1370 Sun Apr 23 14:27:44 MET DST 2000 Jan Hubicka <jh@suse.cz>
1371
1372 * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
1373 of CONSTANT_P for mult_val; always use validate_change to update insn.
1374
1375 2000-04-22 Zack Weinberg <zack@wolery.cumb.org>
1376
1377 * cpphash.c (trad_stringify, add_pat): New functions.
1378 (collect_expansion): Restore support for -traditional syntax.
1379 Use trad_stringify and add_pat.
1380 (_cpp_macroexpand): Restore support for -traditional semantics.
1381 * cpplex.c (_cpp_scan_line): Don't change space_before if we
1382 get a COMMENT token.
1383 (_cpp_lex_token): Provide COMMENT tokens to caller if
1384 traditional and parsing_define_directive.
1385 (skip_comment): Warn about // comments if -Wtraditional.
1386 * cpplib.c (do_define): Fix typo. Create EMPTY nodes with
1387 proper node type.
1388 (do_undef): Don't warn about undefining EMPTY nodes.
1389
1390 Sat Apr 22 22:35:38 MET DST 2000 Jan Hubicka <jh@suse.cz>
1391
1392 * loop.c (strength_reduce): Fix biv removal code.
1393
1394 2000-04-22 Richard Henderson <rth@cygnus.com>
1395
1396 * predict.c (estimate_probability): Examine both sides of
1397 a branch for no exits. Use 90% not 50% for predict taken.
1398 Reorg for one copy of note generation code.
1399
1400 2000-04-22 Richard Henderson <rth@cygnus.com>
1401
1402 * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
1403
1404 2000-04-22 Richard Henderson <rth@cygnus.com>
1405
1406 * diagnostic.c (init_output_buffer): Don't initialize format_args.
1407 (output_clear): Likewise.
1408 (output_printf): Use va_copy.
1409 (vline_wrapper_message_with_location): Likewise.
1410 (v_message_with_decl): Likewise.
1411 (line_wrapper_printf): VA_START infor buffer.format_args directly.
1412 * system.h (va_copy): Provide default implementation.
1413
1414 2000-04-22 Richard Henderson <rth@cygnus.com>
1415
1416 * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
1417 the collected condition is not a constant.
1418
1419 2000-04-22 Gabriel Dos Reis <gdr@codesourcery.com>
1420
1421 * diagnostic.h: New file.
1422
1423 * Makefile.in (diagnostic.o): Depends on diagnostic.h
1424
1425 * diagnostic.c: Tweak. Rationalize the output logic. Adjust
1426 various function prototypes.
1427 (diagnostic.h): #include.
1428 (struct output_buffer): Move into diagnostic.h.
1429 (get_output_prefix): Rename to output_get_prefix. Export.
1430 (init_output_buffer): Export. Break out. Ajust intialization.
1431 (output_space_left, output_append): Export.
1432 (output_newline): Rename to output_add_newline. Export.
1433 (output_clear): Nullify additional output_buffer fields.
1434 (output_puts): Rename to output_add_string. Export.
1435 (dump_output): Rename to output_flush_on. Export.
1436 (build_location_prefix): Constify return-type.
1437 (emit_output_prefix): Rename to output_emit_prefix. Export.
1438 (set_real_maximum_length): New function.
1439 (output_set_maximum_length): Ditto
1440 (output_clear): Ditto.
1441 (output_add_character): Ditto.
1442 (output_add_integer): Ditto.
1443 (output_add_space): Ditto.
1444 (output_format): Ditto.
1445 (output_printf): Adjust buffer initialization.
1446 (vline_wrapper_message_with_location): Ditto.
1447 (v_message_with_decl): Ditto. Adjust call to output_puts
1448 and get_output_prefix.
1449 (default_print_error_function): Adjust buffer intialization.
1450
1451 Sat Apr 22 06:45:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1452
1453 * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
1454 of VOID_TYPE.
1455
1456 Fri Apr 21 18:33:09 2000 Alexandre Oliva <aoliva@cygnus.com>
1457
1458 * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
1459 of explicit 0.
1460
1461 Fri Apr 21 18:30:00 2000 Alexandre Oliva <aoliva@cygnus.com>
1462
1463 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
1464 accurate data about SP moves.
1465
1466 Fri Apr 21 18:28:28 2000 Alexandre Oliva <aoliva@cygnus.com>
1467
1468 * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
1469 aliases to AM33 registers.
1470
1471 Fri Apr 21 18:26:17 2000 Alexandre Oliva <aoliva@cygnus.com>
1472
1473 * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
1474 to all EXTENDED bitmaps.
1475
1476 Fri Apr 21 18:17:12 2000 Alexandre Oliva <aoliva@cygnus.com>
1477
1478 * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
1479 * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
1480 * config/mn10300/mn10300.c (mn10300_address_cost): New function.
1481
1482 Fri Apr 21 18:11:56 2000 Alexandre Oliva <aoliva@cygnus.com>
1483
1484 * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
1485 the operand is not constant.
1486
1487 Fri Apr 21 14:58:29 2000 Denis Chertykov <denisc@overta.ru>
1488
1489 * reload.c (find_equiv_reg): Checks all valueno and regno regs
1490 as a call-clobbered regs.
1491
1492 Fri Apr 21 13:30:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1493
1494 * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
1495 * rtl.h: Likewise.
1496 * rtl.def: Update comment.
1497 * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
1498 * integrate.c (expand_inline_function): Likewise.
1499 * profile.c (branch_prob): Likewise.
1500 * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
1501 * print-rtl.c (print_rtx): Likewise.
1502 * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
1503 (reemit_notes): Likewise; also use enum insn_note.
1504
1505 * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
1506 (place_field): Properly compute know and actual alignment.
1507
1508 * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
1509 in proper format.
1510
1511 * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
1512 note for REG1.
1513
1514 2000-04-21 Zack Weinberg <zack@wolery.cumb.org>
1515
1516 * cpphash.c (struct arg, struct arglist): Const-ify strings.
1517 (warn_trad_stringify, duplicate_arg_p): New helper functions.
1518 (collect_expansion): Rewrite to scan over a token list.
1519 Remove -traditional support.
1520 (collect_formal_parameters): Rename to collect_params; rewrite
1521 to scan over a token list.
1522 (_cpp_create_definition): Adjust to scan a token list.
1523 (_cpp_macroexpand): Remove -traditional support.
1524 (_cpp_compare_defs): Whitespace is now canonicalized.
1525 (comp_def_part): Delete function.
1526
1527 * cpphash.h: Update prototypes.
1528 * cpplex.c (init_token_list): Don't set lineno if there is no
1529 buffer.
1530 (pedantic_whitespace): New function.
1531 (_cpp_scan_line): Mark tokens that had hspace before. Don't
1532 consume a newline. Use pedantic_whitespace.
1533 (_cpp_lex_token): Remove support for -traditional macros.
1534 (_cpp_get_define_token): Delete.
1535 (_cpp_get_directive_token): Do the real work here. Use
1536 pedantic_whitespace.
1537 (_cpp_init_input_buffer): Initialize pfile->directbuf.
1538
1539 * cpplib.c (get_macro_name): Delete.
1540 (do_define): Read the entire line into pfile->directbuf, then
1541 feed the token list to _cpp_create_definition.
1542 * cpplib.h (HSPACE_BEFORE): new define.
1543 (struct cpp_reader): Add a toklist member, "directbuf".
1544
1545 * predict.c (estimate_probability): New heuristic: if a jump
1546 branches around a block with no successors, predict it taken.
1547 Disentangle control flow.
1548
1549 2000-04-20 Richard Henderson <rth@cygnus.com>
1550
1551 * loop.c (emit_iv_add_mult): Revert last change.
1552
1553 2000-04-20 Zack Weinberg <zack@wolery.cumb.org>
1554
1555 * cpplib.h (enum cpp_ttype): Add token types for all
1556 punctuators. Distinguish pp-numbers from valid C numbers.
1557 Give some tokens better names. Initialize from macro.
1558 (struct cpp_name, cpp_token, cpp_toklist): New data
1559 structures.
1560 Update prototypes.
1561 * cpplex.c (bump_column, expand_name_space,
1562 expand_token_space, init_token_list, cpp_output_list,
1563 _cpp_scan_line): New functions.
1564 (output_line_command): Add third argument, new line number.
1565 * cpphash.h: Update prototypes.
1566 * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
1567 token names.
1568
1569 2000-04-20 Richard Henderson <rth@cygnus.com>
1570
1571 * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
1572
1573 2000-04-20 Zack Weinberg <zack@wolery.cumb.org>
1574
1575 * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
1576 object pointed to.
1577
1578 Thu Apr 20 14:19:18 MET DST 2000 Jan Hubicka <jh@suse.cz>
1579
1580 * loop.c (emit_iv_add_mult): Simplify it's input and emit
1581 REG_EQUAL note explaining the calculated value.
1582
1583 * calls.c (expand_call): Avoid unnecesary precalculation
1584 and outgoing parameters space guarding for sibling calls.
1585 (store_one_arg): Likewise.
1586
1587 Thu Apr 20 08:01:07 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1588
1589 * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
1590 (rest_of_compilation): Write sibling dump file and account
1591 for time as jump time.
1592 * invoke.texi: Update documentation on dump flags.
1593
1594 2000-04-19 Marek Michalkiewicz <marekm@linux.org.pl>
1595
1596 * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
1597
1598 2000-04-19 Zack Weinberg <zack@wolery.cumb.org>
1599
1600 * cpphash.c (special_symbol): Represent an empty macro with
1601 "\r \r " not just "\r ".
1602 (_cpp_macroexpand): Correct condition for the foo ( ) special
1603 case.
1604 (unsafe_chars): Handle EOF as second argument.
1605 (push_macro_expansion): Simplify test for removing escape at
1606 end. Do not trim both escapes if there is no text in between.
1607
1608 2000-04-19 Jim Blandy <jimb@redhat.com>
1609
1610 * dwarf2out.c (DWARF2_ADDR_SIZE): New macro. Use it instead
1611 of PTR_SIZE, when appropriate.
1612
1613 2000-04-19 Mark Mitchell <mark@codesourcery.com>
1614
1615 * system.h (ONLY_INT_FIELDS): Make sure it is defined.
1616 (USE_ENUM_BITFIELDS): Fix typo.
1617
1618 Wed Apr 19 12:14:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1619
1620 * stor-layout.c (place_field): Set rli->offset_align properly.
1621
1622 2000-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1623
1624 * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
1625 INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
1626 PARM_BOUNDARY): Remove unnecessary casts.
1627
1628 Wed Apr 19 12:02:37 MET DST 2000 Jan Hubicka <jh@suse.cz>
1629
1630 * calls.c (precompute_arguments): Remove must_preallocate and
1631 args_size calls.
1632 (expand_call): Update call of precompute_arguments.
1633
1634 * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
1635 check_insn_for_givs): Break out from ...
1636 (strength_reduce) ... here; use for_every_insn_in_loop to call
1637 check_insn_for_givs.
1638 * loop.h (for_every_insn_in_loop): Declare.
1639 (loop_insn_callback): New type.
1640
1641 2000-04-18 Zack Weinberg <zack@wolery.cumb.org>
1642
1643 * cpplib.c (do_pragma_poison): Strings in the token buffer are
1644 not nul-terminated.
1645
1646 Tue Apr 18 16:04:12 2000 Jim Wilson <wilson@cygnus.com>
1647
1648 * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
1649 flag_pic and RELOC.
1650
1651 2000-04-18 Zack Weinberg <zack@wolery.cumb.org>
1652
1653 * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
1654
1655 * configure.in: Delete --disable-cpplib option and all
1656 references to cpp_main.
1657 * configure: Regenerate.
1658 * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
1659 @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
1660 cccp.o, cccp, or cppmain. Link cppmain.o straight to
1661 cpp$(exeext). Add --no-headers to makeinfo command line when
1662 generating INSTALL. Install and uninstall cpp.1 manpage, not
1663 cccp.1.
1664 * install.texi: Delete all references to cexp.y/cexp.c.
1665 Delete ancient instructions for compiling GCC on 3b1.
1666 * INSTALL: Regenerate.
1667
1668 * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
1669 mips/t-elf, mips/t-r3900: Remove references to cccp.c.
1670 * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
1671 cexp.c/cexp.y.
1672 * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
1673 which is no longer tested anywhere.
1674
1675 * cppinit.c (handle_option): Don't run error message through
1676 gettext twice.
1677
1678 Tue Apr 18 14:16:47 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1679
1680 * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
1681 * cpperror.c (hashtab.h): Now include.
1682 * cppexp.c (hashtab.h): Likewise.
1683 * cpplex.c (hashtab.h): Likewise.
1684 * cppfiles.c (hashtab.h): Likewise.
1685 (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
1686 to htab_find_slot_with_hash.
1687 * cpphash.c (hashtab.h): Now include.
1688 (_cpp_lookup_slot): INSERT is now enum insert_option.
1689 * cpphash.h (_cpp_lookup_slot): Likewise.
1690 * cppinit.c (hashtab.h): Include earlier.
1691 (initialize_builtins): Pass enum to htab_find_slot.
1692 * cpplib.c (hashtab.h): Now include.
1693 (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
1694 (do_pragma_poison, do_assert): Likewise.
1695 * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
1696 htab_find_slot_with_hash.
1697 * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
1698 * tree.c (type_hash_add): Likewise.
1699 (build1): Minor cleanup.
1700
1701 * ggc-common.c: Add missing blanks.
1702 * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
1703 * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
1704
1705 * stmt.c (mark_case_node): New function.
1706 (mark_case_nesting): Call it.
1707
1708 * expmed.c (emit_store_flag): If comparing two-word integer
1709 with zero, can optimize NE, EQ, GE, and LT.
1710
1711 * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
1712 * conflict.c: Minor cleanups.
1713 * optabs.c: Add blank line
1714 * simplify-rtx.c: Minor cleanups.
1715
1716 2000-04-18 Stan Cox <scox@cygnus.com>
1717
1718 * gengenrtl.c (genlegend): Fix misspelling.
1719
1720 2000-04-18 Robert Lipe <robertlipe@usa.net>
1721
1722 * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added. Check that
1723 bitfields of the host compiler are not signed quantities.
1724 * config.in: Regenerate.
1725 * configure: Regenerate.
1726 * system.h (USE_ENUM_BITFIELDS): Added.
1727 (ENUM_BITFIELDS): Added.
1728 * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
1729 (SHORT_ENUM_BUG): Deleted.
1730 * tree.h (tree_common): Members `code', `mode', `built_in_class',
1731 now ENUM_BITFIELD.
1732 * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
1733 (CODE_FIELD_BUG): Likewise.
1734 * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
1735 (OLD_CC): Likewise.
1736 * config/m68k/x-ccur (X_CFLAGS): Likewise.
1737
1738 2000-04-18 Mark Mitchell <mark@codesourcery.com>
1739
1740 * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
1741 mark is active.
1742
1743 2000-04-17 Zack Weinberg <zack@wolery.cumb.org>
1744
1745 * cppexp.c (lex): Don't assume tokens are NUL terminated.
1746 * cpplib.c (do_include, do_import, do_include_next,
1747 read_line_number, detect_if_not_defined): Likewise.
1748 * cpphash.c (collect_expansion): Likewise.
1749 (special_symbol, _cpp_macroexpand): Check return from
1750 cpp_file_buffer.
1751 * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
1752 macros. Delete all uses.
1753
1754 * gcc.dg/cpp-mi.c: Add two more test cases.
1755 * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
1756
1757 2000-04-17 Richard Henderson <rth@cygnus.com>
1758
1759 * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
1760 (reorder_basic_blocks): If no epilogue in rtl, force last block last.
1761
1762 2000-04-17 Mark Mitchell <mark@codesourcery.com>
1763
1764 * function.c (expand_function_start): Use hard_function_value to
1765 compute the RTL to use for DECL_RESULT.
1766
1767 Mon Apr 17 23:35:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
1768
1769 * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
1770 (x86_integer_DFmode_moves, x86_partial_reg_dependency,
1771 x86_memory_mismatch_stall): New global variables.
1772 (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
1773 alloved; fix load penalties for Athlon.
1774 * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
1775 x86_memory_mismatch_stall): Declare.
1776 (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
1777 TARGET_MEMORY_MISMATCH_STALL): New.
1778 * i386.md (athlon scheduling parameters): Fix latencies according to
1779 Athlon Optimization Manual.
1780 (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
1781 vector.
1782 (fsqrt instruction patterns): Set athlon_decode to direct.
1783 (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
1784 PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
1785 (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
1786 and TARGET_PARTIAL_REGISTER_STALL machines.
1787 (pushdf_nointeger): New pattern.
1788 (pushdf_integer): Rename from pushdf.
1789 (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
1790 (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
1791
1792 2000-04-17 Richard Henderson <rth@cygnus.com>
1793
1794 * loop.c (canonicalize_condition): Add WANT_REG argument.
1795 Stop the search if we match it.
1796 * expr.h (canonicalize_condition): Update decl.
1797 * predict.c (expected_value_to_br_prob): Use it. Track last
1798 expected value note.
1799 (find_expected_value): Remove.
1800
1801 * reorg.c (mostly_true_jump): Always use BR_PROB if present.
1802
1803 2000-04-17 Zack Weinberg <zack@wolery.cumb.org>
1804
1805 * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
1806 (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
1807 a plain file.
1808 * configure.in: Call AC_FUNC_MMAP_FILE.
1809 * configure: Regenerate.
1810 * config.in: Regenerate.
1811
1812 * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
1813 * fixinc/fixincl.c: Likewise.
1814
1815 2000-04-17 Richard Henderson <rth@cygnus.com>
1816
1817 * builtins.c (expand_builtin_expect): New.
1818 (expand_builtin): Call it.
1819 * builtins.def (BUILT_IN_EXPECT): New.
1820 * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
1821 * extend.texi: Document it.
1822
1823 * predict.c (expected_value_to_br_prob): New.
1824 (find_expected_value): New.
1825 * basic-block.h (expected_value_to_br_prob): Declare.
1826 * toplev.c (rest_of_compilation): Invoke it.
1827
1828 * rtl.h (NOTE_EXPECTED_VALUE): New.
1829 (NOTE_INSN_EXPECTED_VALUE): New.
1830 * rtl.c (note_insn_name): Update.
1831 * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
1832 cases; handle NOTE_INSN_EXPECTED_VALUE.
1833
1834 2000-04-17 Jakub Jelinek <jakub@redhat.com>
1835
1836 * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
1837 leaf sibcall delay slot if flag_pic.
1838 (output_sibcall): Always emit call for leaf sibcall if flag_pic.
1839
1840 2000-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1841
1842 * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
1843
1844 * fixproto: If fix-header fails, exit with an error.
1845
1846 Mon Apr 17 14:59:36 MET DST 2000 Jan Hubicka <jh@suse.cz>
1847
1848 * cse.c (struct check_depdendence_data): New.
1849 (check_dependence): New function.
1850 (invalidate): Use check_depdenence.
1851
1852 2000-04-16 Mark Mitchell <mark@codesourcery.com>
1853
1854 * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
1855 UNITS_PER_WORD is unsigned.
1856
1857 * tree.h (struct tree_common): Remove misleading comment.
1858
1859 2000-04-16 Dave Pitts <dpitts@cozx.com>
1860
1861 * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
1862 message in quotes. Otherwise, IBM's make program treats the '#' as the
1863 start of a comment and ignores the remainder of the line.
1864
1865 * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
1866 upper case.
1867 * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
1868 * cexp.y (initialize_random_junk): Likewise.
1869 * cppfiles.c (find_include_file): Cast alloca return value.
1870 * cppinit.c (initialize_standard_includes): Likewise.
1871 * cpplib.c (cpp_define, cpp_undef): Likewise.
1872 * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
1873 * final.c (output_asm_insn): Allow for holes in EBCDIC.
1874 * fold-const.c (CHARMASK): New.
1875 (real_hex_to_f): Use it.
1876 * real.c (CHARMASK): New.
1877 (etoasc, asctoeg): Use it.
1878 (asctoeg): EBCDIC lower case characters preceed upper case.
1879
1880 * i370.c (mvs_add_label): Change spacing for coding conventions.
1881 * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
1882 outputing case vectors.
1883 (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
1884 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
1885 since vector in in the data CSECT.
1886 (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
1887 * i370.md (Many patterns): Put the length in the XL directives.
1888 (movdi): Put back STM and MVC in definition.
1889 (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
1890 pattern using the TCA.
1891 * oe.h (CPP_SPEC): Added to allow trigraphs.
1892 * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
1893 not support the "long long" type.
1894
1895 2000-04-16 Mark Mitchell <mark@codesourcery.com>
1896
1897 * config/mips/mips-protos.h (mips_legitimate_address_p): New
1898 function.
1899 (mips_reg_mode_ok_for_base_p): Likewise.
1900 * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
1901 (REG_OK_FOR_INDEX_P): Define unconditionally.
1902 (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
1903 (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
1904 * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
1905 that GET_MODE_SIZE is unsigned.
1906 (mips_reg_mode_ok_for_base_p): Define.
1907 (mips_legitimate_address_p): Likewise. Adjust now
1908 that GET_MODE_SIZE is unsigned.
1909 (block_move_loop): Make the number of bytes unsigned.
1910 (expand_block_move): Likewise.
1911 (function_arg): Make the loop counter unsigned to match the
1912 boundary condition.
1913
1914 2000-04-16 Richard Henderson <rth@cygnus.com>
1915
1916 * rtl.h (enum insn_note): New enumeration. Subsume
1917 NOTE_INSN_DELETED and friends.
1918 (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
1919 * rtl.c (note_insn_name): Tweak string order.
1920
1921 2000-04-15 Zack Weinberg <zack@wolery.cumb.org>
1922
1923 * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
1924 to offset * 2.
1925
1926 * cpplex.c (output_line_command): Remove debugging prints.
1927 (cpp_output_tokens): Don't write out a zero-length buffer or
1928 try to see if it has a newline in it.
1929 (_cpp_expand_to_buffer): Copy the source buffer before pushing.
1930 (_cpp_read_and_prescan): Move shift-down of pushback bytes to
1931 the end of the loop. Use memmove. Don't read past the end of
1932 the buffer. Remove trailing newlines from error messages.
1933
1934 2004-04-16 Neil Booth <NeilB@earthling.net>
1935
1936 * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
1937 * cpplib.c: Add new syntax flags to directive table, and
1938 supporting macros.
1939
1940 2000-04-15 Ulrich Drepper <drepper@redhat.com>
1941
1942 * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
1943 using ret $N.
1944
1945 2000-04-15 David Edelsohn <edelsohn@gnu.org>
1946
1947 * toplev.c (display_help): Prefix "f" to "sched-verbose=".
1948 * haifa-sched.c: Update -fsched-verbose comments to use "=".
1949
1950 Sat Apr 15 10:59:19 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1951
1952 * Makefile.in (ggc-page.o): Now includes toplev.h.
1953 * ggc-page.c (toplev.h): Now included.
1954 (gc_time): Remove declaration.
1955 (ggc_collect): TIME now long.
1956 * toplev.c (parse_time, varasm_time, gc_time): Still global; all
1957 others static.
1958 * toplev.h (gc_time, parse_time, gc_time): New declarations.
1959
1960 * toplev.c: Make *_time variable long to reduce chance of overflow.
1961 (TIMEVAR): Likewise for `otime'.
1962 (print_time): Arg is now long; compute percentage in FP and round.
1963 * toplev.h (print_time): Arg is long.
1964
1965 * tree.c: Minor whitespace changes.
1966
1967 * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
1968 * configure: Rebuilt.
1969 * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
1970 (__fixunsxfDI): Renamed from __fixunsxfdi.
1971 (__fixunsdfDI): Renamed from __fixunsdfdi.
1972 (__fixunssfDI): Renamed from __fixunssfdi.
1973 (__floatdisf): Use proper type in REP_BIT macro.
1974 (__fixunsxfSI): Renamed from __fixunsxfsi.
1975 (__fixunsdfSI): Renamed from __fixunsdfsi.
1976 (__fixunssfSI): Renamed from __fixunssfsi.
1977 * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
1978 Change location of macros and upper-case some names as above.
1979 * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
1980 * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
1981
1982 * varasm.c (assemble_variable): Add cast to remove warning.
1983 (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
1984
1985 * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
1986 * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
1987 region number to -1.
1988
1989 2000-04-15 Richard Earnshaw (rearnsah@arm.com)
1990
1991 * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
1992 call unshare_all_rtl.
1993
1994 * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
1995
1996 Fri Apr 14 16:58:45 2000 Jim Wilson <wilson@cygnus.com>
1997
1998 * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
1999 Use .s1 not .s0 for all FP instructions.
2000
2001 2000-04-14 Zack Weinberg <zack@wolery.cumb.org>
2002
2003 * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
2004 interfaces.
2005 (safe_fwrite, output_line_command): New static functions.
2006 (cpp_expand_to_buffer): Now private to cpplib.
2007 (cpp_scan_buffer): Take a printer.
2008
2009 * cpphash.h: Update prototypes.
2010 * cpplib.h: Update prototypes.
2011 (cpp_printer): New.
2012 (cpp_buffer): Remove last_nominal_fname.
2013 (cpp_reader): Remove lineno.
2014
2015 * cppmain.c: Use a cpp_printer.
2016 * fix-header.c: No need to inhibit line commands. Call
2017 cpp_start_read with no printer.
2018
2019 * cpperror.c (cpp_notice_from_errno): Provide default name.
2020 * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
2021 (find_include_file, cpp_read_file): Use make_IHASH.
2022 (file_cleanup): Set control_macro and clear
2023 input_stack_listing_current here.
2024 (_cpp_execute_include): Don't output entering-file marker.
2025 * cpphash.c (special_symbol): Look for the line number in the
2026 buffer, not the reader.
2027 (_cpp_macroexpand): No need to disable line commands.
2028 (_cpp_dump_definition): No need to generate line commands.
2029 (dump_hash_helper): Remove excess newline from output.
2030 * cppinit.c (dump_special_to_buffer): No need to generate line
2031 commands.
2032 (cpp_printer_init): New.
2033 (cpp_start_read): Take a printer, and start it up if it's not
2034 NULL. No need to generate line commands.
2035 (cpp_finish): Expect no buffers stacked at all. Take a
2036 printer argument, and flush the output buffer if it's not
2037 NULL.
2038 * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
2039 Don't put two hashes at the beginning of an assertion.
2040 (cpp_get_token): Don't increment pfile->lineno or emit line
2041 commands here. Return EOF if there's no buffer when we get
2042 EOF.
2043 * cpplib.c (do_define, skip_if_group):
2044 No need to disable line commands.
2045 (_cpp_output_line_command): Delete function.
2046 (do_line): Don't emit line commands here, but set things up so
2047 they will be emitted if necessary. Use _cpp_fake_ihash to
2048 make unique nominal_fnames if necessary.
2049 (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
2050 with 0 for column, not -1.
2051 (_cpp_handle_eof): Don't set the control macro here. Don't
2052 clear input_stack_listing_current here. Don't emit line
2053 commands.
2054
2055 2000-04-14 Geoff Keating <geoffk@cygnus.com>
2056
2057 * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
2058 always, use the default SVR4 start address.
2059
2060 * config/rs6000/linux.h (LINK_SPEC): Don't define.
2061 (LINK_SHLIB_SPEC): Define.
2062 (LINK_START_DEFAULT_SPEC): Define.
2063 (LINK_OS_DEFAULT_SPEC): Define.
2064
2065 * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
2066
2067 * config/rs6000/eabi.asm (__eabi): Call __init rather than
2068 __do_global_ctors to handle constructors.
2069 * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
2070 (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
2071 (STARTFILE_MVME_SPEC): Likewise.
2072 (STARTFILE_SIM_SPEC): Likewise.
2073 (ENDFILE_ADS_SPEC): Use crtend.
2074 (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
2075 (ENDFILE_MVME_SPEC): Likewise.
2076 (ENDFILE_SIM_SPEC): Likewise.
2077 (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
2078 (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
2079 (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
2080 (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
2081 * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
2082 (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
2083 (CRTSTUFF_T_CFLAGS_S): Define.
2084 * config/rs6000/eabi-ctors.c: Delete.
2085
2086 * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
2087 boundary.
2088 (__fini): Likewise.
2089 * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
2090 boundary.
2091 (__fini): Likewise.
2092
2093 Fri Apr 14 16:09:02 2000 Jim Wilson <wilson@cygnus.com>
2094
2095 * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
2096 plus mask size is smaller or equal to the mode size.
2097
2098 Fri Apr 14 18:07:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2099
2100 * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
2101 not yet set.
2102
2103 * expr.c (reload.h): Now included.
2104 (emit_block_move): Set volatile_ok when checking for movstr.
2105 (emit_move_1): Check for replacements in addresses in multi-word case.
2106 * Makefile.in (expr.o): Now includes reload.h.
2107
2108 * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
2109 Never have a LIBCALL end a basic block.
2110 (find_basic_blocks_1): Likewise.
2111 Reorganize CALL_INSN cases.
2112
2113 * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
2114
2115 Fri Apr 14 10:54:22 2000 Jim Wilson <wilson@cygnus.com>
2116
2117 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
2118 completers from mov.ret instruction.
2119
2120 2000-04-14 Richard Henderson <rth@cygnus.com>
2121
2122 * fold-const.c (extract_muldiv): Don't distribute and widen
2123 multiply across plus for non-sizetype unsigned types.
2124
2125 2000-04-14 Richard Henderson <rth@cygnus.com>
2126
2127 * flow.c (find_auto_inc): Don't autoinc eliminable registers.
2128 If the original source is dead in the incr insn, it's dead now.
2129
2130 Fri Apr 14 07:40:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2131
2132 * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
2133 see if DECL_BIT_FIELD needs to still be set.
2134
2135 * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
2136
2137 * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
2138 print_int_cst_octal with something that's not an INTEGER_CST.
2139
2140 * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
2141 and not a SUBREG to a FLOAT rtl.
2142
2143 Thu Apr 13 19:39:56 2000 Clinton Popetz <cpopetz@cygnus.com>
2144
2145 * emit-rtl.c (try_split): Avoid infinite loop if the split
2146 results in a sequence that contains the original insn.
2147
2148 2000-04-13 Andreas Jaeger <aj@suse.de>
2149
2150 * config/mips/mips.c (expand_block_move): Pass alignment
2151 argument to move_by_pieces in bits, not bytes.
2152
2153 * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
2154 __pic__ for little endian.
2155
2156 2000-04-13 Andreas Jaeger <aj@suse.de>
2157
2158 * config/i386/i386-protos.h: Add prototype for
2159 uno_comparison_operator.
2160
2161 Thu Apr 13 15:55:08 MET DST 2000 Jan Hubicka <jh@suse.cz>
2162
2163 * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
2164 * calls.c (ECF_PURE): New flag.
2165 (emit_call_1): Handle ECF_PURE calls.
2166 (initialize_argument_information): Unset ECF_PURE flag too.
2167 (precompute_arguments): Precompute for ECF_PURE too.
2168 (expand_call): Handle ECF_PURE calls too.
2169 (emit_library_call_value_1): Rename no_queue argument to fn_type,
2170 accept value of 2 as pure function.
2171 (emit_library_call_value, emit_library_call): Rename no_queue argument
2172 to fn_type.
2173 * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
2174
2175 * tree.h (DECL_IS_PURE): New macro.
2176 (struct tree_decl): Add pure_flag.
2177 * c-common.c (enum attrs): Add attribute "pure".
2178 (init_attributes): Initialize attribute "pure"
2179 (decl_attributes): Handle attribute "pure".
2180 * extend.texi (Attribute "pure"): Document.
2181 * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
2182 in pure function.
2183 (flags_from_decl_or_type): Support attribute "pure".
2184
2185 2000-04-13 Jason Merrill <jason@casey.cygnus.com>
2186
2187 * cpplex.c (_cpp_lex_token): Handle digraphs. Don't null-terminate
2188 the token except for numbers and identifiers.
2189
2190 Thu Apr 13 00:09:16 EDT 2000 John Wehle (john@feith.com)
2191
2192 * i386.c (ix86_expand_binary_operator,
2193 ix86_expand_unary_operator): Check no_new_pseudos
2194 instead of reload_in_progress and reload_completed.
2195 (ix86_split_ashldi, ix86_split_ashrdi,
2196 ix86_split_lshrdi): Check no_new_pseudos instead
2197 of reload_completed.
2198
2199 2000-04-12 Jeffrey A Law (law@cygnus.com)
2200
2201 * function.c (purge_addressof): Unshare any shared rtl created by
2202 purge_addressof and its children.
2203
2204 2000-04-12 Mark Mitchell <mark@codesourcery.com>
2205
2206 * function.c (aggregate_value_p): VOID_TYPE nodes are never
2207 aggregates.
2208
2209 2000-04-05 Andreas Jaeger <aj@suse.de>
2210
2211 * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
2212 not compiling PIC code, add flags for mabi=64.
2213 (SUBTARGET_CPP_SIZE_SPEC): New.
2214 (SUBTARGET_CPP_SPEC): New.
2215 (CPP_PREDEFINES): Define __PIC__ and __pic__. PIC code is default
2216 for MIPS/Linux and lots of code needs these defines.
2217
2218 Wed Apr 12 22:44:11 2000 Hans-Peter Nilsson <hp@axis.com>
2219
2220 * reorg.c (fill_slots_from_thread): Check side_effects_p when
2221 trying the "opposite arithmetic" approach.
2222
2223 Wed Apr 12 20:51:20 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2224
2225 * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
2226 (struct sh_args): Add new field force_mem.
2227 (INIT_CUMULATIVE_ARGS): Initialize it.
2228 (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
2229
2230 Wed Apr 12 17:20:41 MET DST 2000 Jan Hubicka <jh@suse.cz>
2231
2232 * calls.c (expand_call): Do not reverse args in "equal from" field.
2233 (emit_library_call_value_1): Emit_libcall_block for const and pure
2234 function.
2235
2236 Wed Apr 12 16:00:25 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2237
2238 * reload1.c (reload_combine): Don't enable optimization for fixed
2239 registers when encountering a BARRIER.
2240
2241 Wed Apr 12 15:54:11 MET DST 2000 Jan Hubicka <jh@suse.cz>
2242
2243 * builtins.c (expand_builtin_memcmp): Do expansion even with
2244 !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
2245
2246 * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
2247 stack is propertly aligned; add sanity checking for aligned
2248 stack pointer.
2249 (expand_library_call_value_1): Add sanity checking for aligned
2250 stack pointer.
2251
2252 Wed Apr 12 07:51:54 2000 Catherine Moore <clm@cygnus.com>
2253
2254 * calls.c (emit_library_call_value_1): Change 3rd arg to
2255 locate_and_pad_parm to disregard the setting of partial.
2256
2257 Wed Apr 12 08:47:38 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2258
2259 * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
2260
2261 * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
2262 CALL_INSN from the normal case.
2263
2264 Fri Apr 7 12:23:04 MET DST 2000 Jan Hubicka <jh@suse.cz>
2265
2266 * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
2267 New global variables.
2268 (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
2269 adjustment.
2270 * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
2271 Declare,
2272 (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
2273 TARGET_ADD_ESP_8): New macros.
2274 * i386.md: Add peep2s to convert esp adjustments to push and pop
2275 instructions.
2276 (pushsi_prologue, popsi_epilogue): New patterns.
2277
2278 2000-04-12 Jakub Jelinek <jakub@redhat.com>
2279
2280 * real.c (toe64): Remove stale #endif from the last change.
2281
2282 2000-04-12 Stephen L Moshier <moshier@mediaone.net>
2283
2284 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
2285 * real.c (toe64): Revert previous change.
2286
2287 2000-04-12 Jakub Jelinek <jakub@redhat.com>
2288
2289 * objc/objc-act.c: Include ggc.h.
2290 (objc_tree_index, objc_global_trees): Convert most of the
2291 static tree variables into a static array with previous names
2292 as defines.
2293 (objc_ellipsis_node): New variable.
2294 (lang_init): Call objc_act_parse_init and c_parse_init.
2295 Create objc_ellipsis_node.
2296 (build_selector_translation_table): Use objc_ellipsis_node instead
2297 of (tree)1.
2298 (hack_method_prototype): Likewise.
2299 (get_arg_type_list): Likewise.
2300 (start_method_def): Likewise.
2301 (continue_method_def): Likewise.
2302 (gen_method_decl): Likewise.
2303 (ggc_mark_imp_list): New function.
2304 (ggc_mark_hash_table): New function.
2305 (objc_act_parse_init): New function.
2306 * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
2307 * c-parse.in (c_parse_init): For objc add roots of objc specific
2308 local tree variables.
2309 * objc/objc-parse.y: Rebuilt.
2310 * objc/objc-parse.c: Rebuilt.
2311 (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
2312
2313 Wed Apr 12 01:00:44 EDT 2000 John Wehle (john@feith.com)
2314
2315 * cse.c (delete_trivially_dead_insns): Also delete insns
2316 that copy a register to itself where the destination is
2317 a strict_low_part.
2318
2319 2000-04-11 Richard Henderson <rth@cygnus.com>
2320
2321 * flow.c (struct propagate_block_info): Add new_dead, new_live.
2322 (propagate_block): Initialize them. Use them in parallel instead
2323 of one tmp variable, ie revert much of the 0408 and 0407 functional
2324 changes, but keep the structural changes.
2325 (mark_set_regs): Take new_dead from propagate_block_info instead.
2326 (mark_set_1, mark_set_reg): Likewise.
2327 (mark_used_regs): Likewise with new_live.
2328 (mark_used_reg): Likewise. Revert 0408 change.
2329
2330 2000-04-11 Nick Clifton <nickc@cygnus.com>
2331
2332 * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
2333 restriction.
2334 (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
2335
2336 2000-04-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2337
2338 * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
2339 const section to output a CONSTRUCTOR based on the same conditions
2340 used for VAR_DECLs.
2341
2342 Tue Apr 11 09:55:59 2000 Jeffrey A Law (law@cygnus.com)
2343
2344 * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
2345 * pa/pa-protos.h (output_call): Add additional argument indicating
2346 if the call is a sibling/tail call.
2347 (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
2348 (compute_64bit_ior, cmpib_comparison_operator): Likewise.
2349 (function_arg, function_arg_partial_nregs): Likewise
2350 * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
2351 (emit_move_sequence): Zero extend certain constants as needed
2352 for TARGET_64BIT.
2353 (compute_zdepdi_operands, output_64bit_and): New functions.
2354 (output_64bit_ior, function_arg): Likewise.
2355 (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
2356 (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
2357 (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
2358 (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
2359 (output_bvb): Likewise.
2360 (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
2361 (output_call): New argument 'sibcall'. Generate sibcall sequences
2362 as needed.
2363 (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT. For
2364 (ouput_arg_descriptor): Do not emit argument descriptors for
2365 TARGET_64BIT.
2366 * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
2367 defined.
2368 (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
2369 (FUNCTION_OK_FOR_SIBALL): Define.
2370 (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
2371 (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
2372 (CPP_SPEC): Use new spec infrastructure.
2373 (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
2374 (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
2375 (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
2376 (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
2377 (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
2378 (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
2379 (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
2380 (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
2381 (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
2382 (FUNCTION_ARG); Call out to C code.
2383 (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
2384 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
2385 (MIN_UNITS_PER_WORD): Likewise.
2386 * pa/pa.md (cmpdi): New expander.
2387 (scc patterns, movstrsi): Not available for TARGET_64BIT.
2388 (64bit conditional arithmetic): New patterns.
2389 (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
2390 (movsicc): Not available if modes on all the operands to not match.
2391 (movdicc): New expander and associated patterns.
2392 (64bit branches): New patterns.
2393 (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
2394 (pre_ldd, post_std): New patterns.
2395 (64bit addil, load low part): New patterns.
2396 (special movsf constant): Not available for TARGET_64BIT.
2397 (movsf, movdf expanders): Force constants into memory.
2398 (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
2399 (64bit movdf/movdi patterns): New patterns.
2400 (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
2401 for TARGET_64BIT.
2402 (extendqidi2, extendhidi2, extendsidi2): Similarly.
2403 (adddi3 expander): Allow "arith_operand" for second input.
2404 (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
2405 (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
2406 (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
2407 (muldi3): New expander for TARGET_64BIT.
2408 (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
2409 for TARGET_64BIT.
2410 (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
2411 patterns for TARGET_64BIT.
2412 (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
2413 patterns for TARGET_64BIT.
2414 (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
2415 (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
2416 (sibcall_epilogue): New expander.
2417 (casesi): Tweak for TARGET_64BIT.
2418 (call expanders): Set & use the outgoing argument pointer. Use the
2419 64bit call patterns as needed. Add additional arg to output_call.
2420 (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
2421 (sibcall, sibcall_internal_symref): New expanders.
2422 (sibcall_value, sibcall_value_internal_symref
2423 (interspace_jump): Turn into an expander + matching patterns.
2424 (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
2425 * pa/pa64-regs.h: Eliminate trigraph sequences.
2426 * pa/pa64-start.h (TARGET_PA_20): Fix typo.
2427
2428 2000-04-11 Zack Weinberg <zack@wolery.cumb.org>
2429
2430 * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
2431 cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
2432 cpp_token with cpp_ttype everywhere.
2433 * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
2434 Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
2435 CPP_BUF_COL. Line and column numbers are unsigned int, not
2436 long.
2437 * cpplex.c (cpp_buf_line_and_col): Delete.
2438 * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
2439 'long lineno' to 'unsigned int lineno'.
2440 (CPP_BUF_LINE, CPP_BUF_COL): New macros.
2441
2442 2000-04-11 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2443
2444 * extend.texi: ISO C99 is not a draft anymore.
2445 * invoke.texi: ISO C++ is not a draft anymore.
2446 * cpp.texi: __cplusplus is required by the ISO standard.
2447
2448 * extend.texi (-fthis-is-variable): Undocument.
2449 * flags.h (warn_template_debugging): Remove declaration.
2450 * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
2451 -Wenum-clash, -Wtemplate-debugging): Undocument.
2452
2453 2000-04-10 Nick Clifton <nickc@cygnus.com>
2454
2455 * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
2456 integer.
2457 (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
2458 integer.
2459 (ARM_SIGN_EXTEND): Use HOST_UINT.
2460 (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
2461 (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
2462 (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
2463 (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
2464
2465 * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
2466 (arm_gen_constant): Use HOST_UINT.
2467 (arm_canonicalize_constant): Use HOST_UINT.
2468 (arm_reload_in_hi): Use HOST_UINT.
2469 (arm_reload_out_hi): Use HOST_UINT.
2470 (output_multi_immediate): Use HOST_UINT.
2471 (int_log2): Use HOST_UINT.
2472 (arm_poke_function_name): Use HOST_UINT.
2473 (arm_output_epilogue): Use arm_volatile_func().
2474 (output_thumb_prologue): Use arm_strip_name_encoding().
2475
2476 Mon Apr 10 15:40:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2477
2478 * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
2479 of sequence point problems.
2480
2481 2000-04-10 Nathan Sidwell <nathan@codesourcery.com>
2482
2483 * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
2484 Recomment.
2485 * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
2486
2487 Mon Apr 10 07:21:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2488
2489 * sbitmap.h: Whitespace changes and use upper-case macro args.
2490 (struct simple_bitmap_def): All sizes now unsigned.
2491 (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
2492 * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
2493 (sbitmap_vector_alloc): Parms and local vars now unsigned.
2494 (sbitmap_zero): Cast bzero arg to PTR.
2495 (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
2496 (sbitmap_union_of_diffs): Change loop index to unsigned and rework
2497 loop to make structure clearer.
2498 (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
2499 (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
2500 (sbitmap_a_and_b_or_c): Likewise.
2501 (sbitmap_intersection_of_succs): Minor cleanups.
2502 (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
2503 (sbitmap_union_of_preds): Likewise.
2504 (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
2505 (debug_sbitmap): New function.
2506
2507 * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
2508 * c-typeck.c (convert_for_assignment): Likewise.
2509
2510 * expmed.c (init_expmed): Don't free objects we make.
2511 * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
2512
2513 * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
2514 (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
2515
2516 * gcse.c (expr_hash_table_size): Now unsigned.
2517 (compute_ae_gen): Local variable `i' now unsigned.
2518 (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
2519 (compute_transout, hoist_code): Likewise.
2520 (compute_local_properties): Likewise, also hash_table_size.
2521 (alloc_expr_hash_table): N_INSNS now unsigned.
2522 (delete_null_pointer_checks): Mark arg F as unused.
2523
2524 * regrename.c: Minor cleanups, including chang some variables
2525 to unsigned int.
2526
2527 2000-04-10 Neil Booth <NeilB@earthling.net>
2528
2529 * cpplex.c (skip_block_comment): Use pointer arithmetic rather
2530 than GETC ().
2531 * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
2532
2533 2000-04-10 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2534
2535 * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
2536 __classof__, and __headof__ from the list of gnu keywords.
2537 (-ansi): Remove -foperator-names from list of implied options.
2538 Do not call it ANSI C++.
2539 (-foperator-names): Document as -fno-operator-names.
2540
2541 2000-04-09 Zack Weinberg <zack@wolery.cumb.org>
2542
2543 * cpphash.c (timestamp): Delete.
2544 (del_HASHNODE): If type is T_MCONST, free value.cpval.
2545 (special_symbol): Remove unnecessary braces. Remove
2546 T_VERSION. Treat T_STDC like T_CONST unless
2547 STDC_0_IN_SYSTEM_HEADERS. Render both __DATE__ and __TIME__
2548 when one is encountered, then convert them into T_MCONST
2549 nodes.
2550 * cppinit.c (builtin_array): version_string is T_MCONST.
2551 __STDC__ has a "1" in its cpval. Don't have a terminator
2552 entry. Clean up which entries are dumped.
2553 (initialize_builtins): Only __STDC__ gets the special
2554 -traditional treatment. Count the length of builtin_array.
2555 Render version_string here.
2556 * cpphash.h: Remove T_VERSION. Add T_MCONST.
2557 * cpplib.h (struct cpp_reader): Remove timebuf.
2558
2559 2000-04-09 Richard Henderson <rth@cygnus.com>
2560
2561 * genrecog.c (pred): Update comparison_operator for the unordered
2562 operators.
2563
2564 * config/i386/i386.c (no_comparison_operator): Disallow unordered
2565 operators.
2566 (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
2567 (uno_comparison_operator): New.
2568 (put_condition_code): Handle UNORDERED/ORDERED.
2569 (unsigned_comparison): Likewise.
2570 (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
2571 (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
2572 (ix86_expand_fp_compare): Use them. Take scratch as argument,
2573 update all callers. Handle all 8 unordered operators.
2574 (ix86_expand_setcc): Lose the unordered argument, update all callers.
2575 (ix86_expand_branch): Likewise. Don't fully expand fp branches.
2576 * config/i386/i386.h (PREDICATE_CODES): Update.
2577 * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
2578 (ix86_expand_branch, ix86_expand_setcc): Update.
2579 * config/i386/i386.md (sunordered, sordered): New.
2580 (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
2581 (bunordered, bordered): New.
2582 (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
2583 (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
2584 (*fp_jcc_5, *fp_jcc_6, and splitters): New.
2585
2586 2000-04-09 Philip Blundell <philb@gnu.org>
2587
2588 * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
2589
2590 Sun Apr 9 15:16:14 EDT 2000 John Wehle (john@feith.com)
2591
2592 * i386.md (fix_truncsfhi2, fix_truncdfhi2,
2593 fix_truncxfhi2): New patterns.
2594 * i386.c (output_fix_trunc): Handle converting to HImode.
2595
2596 2000-04-08 Alex Samuel <samuel@codesourcery.com>
2597
2598 * ssa.c (convert_to_ssa): Eliminate dead code when calling
2599 life_analysis.
2600 (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
2601 (for_each_successor_phi): Change parameter to basic_block.
2602 (coalesce_regs_in_successor_phi_nodes): Likewise.
2603 (coalesce_regs_in_copies): Likewise.
2604 (compute_coalesced_reg_partition): Use basic_block instead of index.
2605 * rtl.h (convert_to_ssa): Delete.
2606 (convert_from_ssa): Likewise.
2607 (successor_phi_fn): Likewise.
2608 (for_each_successor_phi): Likewise.
2609 (in_ssa_form): Likewise.
2610 * basic-block.h (convert_to_ssa): Moved from rtl.h.
2611 (convert_from_ssa): Likewise.
2612 (successor_phi_fn): Likewise.
2613 (in_ssa_form): Likewise.
2614 (for_each_successor_phi): Likewise. Change parameter to basic_block.
2615 * flow.c (calculate_global_regs_live): Pass a basic_block to
2616 for_each_successor_phi.
2617
2618 2000-04-08 Richard Henderson <rth@cygnus.com>
2619
2620 * flow.c (mark_used_reg): Use reg_set_p to determine if a register
2621 was modified in the current insn.
2622
2623 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
2624
2625 * arm/thumb.md: Delete.
2626 * arm/thumb-protos.h: Delete.
2627
2628 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
2629
2630 Merge changes from merged-arm-thumb-backend-branch onto trunk.
2631
2632 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
2633
2634 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
2635 into branch.
2636
2637 * arm.md (nop): Use the standard RTL expression. Don't code as a
2638 define_expand.
2639 (*arm_nop, *thumb_nop): Delete.
2640
2641 * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
2642 constants. Use casts instead.
2643 (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
2644 output_multi_immediate, arm_poke_function_name): Likewise.
2645 * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
2646 MASK_RETURN_ADDDR): Likewise.
2647
2648 2000-03-31 Richard Earnshaw (rearnsha@arm.com)
2649
2650 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
2651 into branch.
2652
2653 * arm.md (eh_epilogue): New function.
2654 * arm.h (struct machine_function): Move to here ...
2655 * arm.c: ... from here.
2656 (arm_output_epilogue): Support epilogues for __builtin_eh_return.
2657 (thumb_exit): Extra parameter eh_ofs. All callers changed.
2658 Handle epilogues for __builtin_eh_return. Make bit-fields unsigned.
2659
2660 2000-03-30 Nick Clifton <nickc@cygnus.com>
2661
2662 * config/arm/semi.h (ASM_SPEC): Restore definition.
2663 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
2664
2665 * config/arm/elf.h (ASM_SPEC): Restore definition.
2666 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
2667
2668 * config/arm/arm.h (ASM_SPEC): Remove definition.
2669 (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
2670
2671 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
2672
2673 * config/arm/arm.c: Disable -fschedule-insns for Thumb.
2674
2675 2000-03-24 Nick Clifton <nickc@cygnus.com>
2676
2677 Various formating tidyups, elimination of compile time
2678 warnings and synchronisation with internal sources:
2679
2680 * config/arm/arm-protos.h (assemble_align): Add prototype.
2681 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
2682 (gen_comapre_reg): Rename to arm_gen_compare_reg.
2683 (arm_return_addr_rtx): Rename to arm_return_addr.
2684
2685 * config/arm/arm.c: Include except.h.
2686 Define shorter typenames for strict minipool_node and struct
2687 minipool_fix.
2688 (arm_return_in_memory): For WinCE return all structures <= 32 bits
2689 in memory.
2690 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
2691 (gen_comapre_reg): Rename to arm_gen_compare_reg.
2692
2693 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
2694 already defined.
2695 (ASM_SPEC): Define if not already defined.
2696 (ASM_OUTPUT_DEF_FROM_DECLS): Define.
2697
2698 * config/arm/arm.md: Rename references to gen_rotated_half_load to
2699 arm_gen_rotated_half_load, and references to gen_comapre_reg to
2700 arm_gen_compare_reg.
2701 (indirect_jump): Only accept register operands.
2702 (load_indirect_jump): Keep this pattern since combine can generate
2703 it.
2704
2705 * config/arm/coff.h: Include aout.h.
2706 (MULTILIB_DEFAULTS): Only define if not already defined.
2707
2708 * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
2709 into arm.h (so that COFF ports can support thumb based aliases).
2710 (ASM_SPEC): Move definition into arm.h
2711
2712 * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
2713 redundant apcs spec.
2714 (ASM_SPEC): Move definition to arm.h
2715
2716 * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
2717
2718 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
2719 for entries in the .bss section
2720
2721 2000-03-23 Nick Clifton <nickc@cygnus.com>
2722
2723 * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
2724 to thumb_far_jump_used_p.
2725
2726 * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
2727 single integer parameter.
2728
2729 * config/arm/arm.c (struct machine_function): Add two new
2730 fields, 'far_jump_used' and 'arg_pointer_live'.
2731 (thumb_far_jump_used_p): Once the decision has been made that
2732 far jumps might be used, always return true.
2733 If being called from the initial elimination offset macro then
2734 do not bother to perform the test if the arg pointer is not
2735 being used.
2736 (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
2737 (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
2738
2739 2000-03-23 Richard Earnshaw (rearnsha@arm.com)
2740
2741 * arm.c (output_return_instruction): Handle more cases where we can
2742 return from a function with an ldr instruction.
2743 (arm_output_epilogue): Likewise.
2744
2745 * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
2746 if we need to push a large stack frame and there are no callee-saved
2747 registers.
2748
2749 * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
2750 in ARM code if the frame pointer has been eliminated.
2751
2752 * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
2753 unspec_volatile arguments to avoid duplicates.
2754 (consttable_1, consttable_2): Fixes for big-endian mode.
2755
2756 * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
2757 as appropriate.
2758
2759 Re-write constant pool code.
2760 * arm.c (minipool_node, minipool_fix): New types.
2761 (minifix): Delete type.
2762 (arm_add_minipool_constant): Delete.
2763 (arm_compute_minipool_offsets, arm_find_barrier,
2764 arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
2765 (get_jump_table_size): Now returns HOST_WIDE_INT.
2766 (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
2767 functions.
2768 (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
2769 (assign_minipool_offsets, arm_print_value): Likewise.
2770 (dump_minipool): Rewrite.
2771 (arm_barrier_cost): New function.
2772 (create_fix_barrier): New function.
2773 (push_minipool_barrier): New function.
2774 (push_minipool_fix): Record additional information about the fixup
2775 required.
2776 (note_invalid_constants): Remove push for (UNSPEC 3). Don't
2777 check the mode of what needs fixing.
2778 (arm_reorg): Rewrite.
2779
2780 2000-03-08 Nick Clifton <nickc@cygnus.com>
2781
2782 * config/arm/arm.md (indirect_jump): Force constant addresses into
2783 a register.
2784
2785 2000-03-01 Bernd Schmidt <bernds@cygnus.co.uk>
2786
2787 * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
2788
2789 2000-02-24 Nick Clifton <nickc@cygnus.com>
2790
2791 * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
2792 adjust is word aligned.
2793 (thumb_expand_epilogue): Make sure that stack adjust is word
2794 aligned.
2795
2796 * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
2797
2798 2000-02-24 Bernd Schmidt <bernds@cygnus.com>
2799
2800 * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
2801 pointer relative addresses.
2802
2803 2000-02-10 Richard Earnshaw <rearnsha@arm.com>
2804
2805 * arm.c (find_barrier): Find the last barrier within the allowed
2806 range.
2807
2808 2000-02-09 Nick Clifton <nickc@cygnus.com>
2809
2810 * config/arm/arm-protos.h: Replace PROTO with PARAMS.
2811
2812 2000-02-09 Nick Clifton <nickc@cygnus.com>
2813
2814 * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
2815 ARM_FUNCTION_PROFILER.
2816
2817 * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
2818 ARM_FUNCTION_PROFILER.
2819
2820 * config/arm/linux-oldld.h: Imported from mainline sources.
2821
2822 2000-02-07 Nick Clifton <nickc@cygnus.com>
2823
2824 * config/arm/lib1funcs.asm: Merge in thumb functions from
2825 lib1thumb.asm.
2826
2827 * config/arm/lib1thumb.asm: Delete.
2828
2829 2000-02-04 Nick Clifton <nickc@cygnus.com>
2830
2831 * config/arm/arm.c: Sychronised with current Red hat local
2832 sources.
2833 * config/arm/arm.h: Ditto.
2834 * config/arm/arm-protos.h: Ditto.
2835
2836 2000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
2837
2838 * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
2839
2840 * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
2841 byte stores.
2842
2843 2000-02-02 Nick Clifton <nickc@cygnus.com>
2844
2845 * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
2846
2847 * config/arm/arm.md (epilogue): Fix rtl checking abort because
2848 (return) was emited using an emit_insn() call.
2849
2850 2000-01-31 Nick Clifton <nickc@cygnus.com>
2851
2852 * config/arm/arm.c (output_thumb_prologue): Fix bug generating
2853 thumb stack frame.
2854 (thumb_exit): Move frame pointer back into hard frame pointer
2855 register if backtracing is being used.
2856
2857 2000-01-13 Richard Earnshaw (rearnsha@arm.com)
2858
2859 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
2860 into branch.
2861
2862 1999-12-15 Bernd Schmidt <bernds@cygnus.co.uk>
2863
2864 * config/arm/arm.md (neg_pool_offset): Provide default for new
2865 attribute.
2866 (arm_movsi_insn): Add neg_pool_offset attribute.
2867 * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
2868 rtx for the insn that starts the scan and an unsigned long for its
2869 address. Add MIN_OFFSET and PINSERTED args. All callers changed.
2870 Change scan to ignore insns before MIN_OFFSET. Store size of inserted
2871 instructions in *PINSERTED.
2872 (struct minipool_fixup): Add MIN_ADDRESS elt.
2873 (sort_fixups): Compute it.
2874 (arm_reorg): Changes to support inserting pools before the insn to be
2875 fixed up.
2876
2877 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
2878
2879 * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
2880 * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
2881 * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
2882
2883 Wed Nov 3 10:04:07 1999 Nick Clifton <nickc@cygnus.com>
2884
2885 * config/arm/semi.h (TARGET_VERSION): Do not define if already
2886 defined.
2887 (TARGET_DEFAULT): Do not define if already defined.
2888
2889 Tue Nov 2 10:37:25 1999 Nick Clifton <nickc@cygnus.com>
2890
2891 * config/arm/arm.md (anddi3): Allow disjoint source operands.
2892 (iordi3): Allow disjoint source operands.
2893 (xordi3): Allow disjoint source operands.
2894 (negdi2): Permit construction for ARM and Thumb.
2895 (arm_negdi2): Renamed version of old negdi2 pattern.
2896 (thumb_negdi2): New pattern: Only permit non-overlapping
2897 source and destination.
2898
2899 Fri Oct 29 18:52:38 1999 Nick Clifton <nickc@cygnus.com>
2900
2901 * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
2902 scratch low register so that it will not be deleted.
2903
2904 Fri Oct 29 15:23:48 1999 Nick Clifton <nickc@cygnus.com>
2905
2906 * config/arm/pe.h (ARM_PE): Define.
2907
2908 * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
2909 interfacearm attribute if this is a PE toolchain.
2910 (output_return_instruction): Do not emit anything if the function
2911 has the naked attribute set.
2912 (is_called_in_ARM_mode): If the function has the interfacearm
2913 attribute then return true.
2914 (thumb_expand_prologue): Do not generate a prologue for naked
2915 functions.
2916 (thumb_expand_epilogue): Do not generate an epilogie for a naked
2917 function.
2918 (output_thumb_prologue): Do not bother if the function is naked.
2919 Strip PE encoding from function name before emitting.
2920
2921 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
2922
2923 * arm.md (pic_load_addr): Fix constraints.
2924
2925 * arm.md (casesi_insn): Fix mis-applied patch.
2926
2927 * arm.md ("core" function unit): Add rules for single- and
2928 multi-cycle insns.
2929 (All TARGET_THUMB patterns): Add "type" attribute information
2930 where needed.
2931 * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
2932 the following insn is a CALL.
2933
2934 * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
2935 pointer.
2936 * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
2937 ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
2938 (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
2939
2940 Wed Oct 27 14:40:48 1999 Nick Clifton <nickc@cygnus.com>
2941
2942 * config/arm/linux-gas.h: oops - this file was missed out when the
2943 branch was created...
2944
2945 Tue Oct 26 17:07:38 1999 Richard Earnshaw <rearnsha@arm.com>
2946
2947 * thumb.c: Deleted. Move contents to ...
2948 * arm.c: ... here.
2949 * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
2950 rule for thumb.o
2951 * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
2952 * configure: Regen.
2953
2954 * arm-protos.h: Use RTX_CODE and tidy up long lines. Don't
2955 declare a prototype for asm_output_align();
2956
2957 * arm.c (thumb_condition_code): Delete.
2958 (arm_print_operand): Always use arm_condition_code array.
2959
2960 * arm.c (thumb_return_addr_rtx): Delete.
2961 (arm_save_machine_status, arm_restore_machine_status): Delete.
2962 (arm_init_machine_status, arm_mark_machine_status): New functions.
2963 (arm_init_expanders): Update accordingly.
2964 (arm_return_addr): Renamed from arm_return_addr_rtx. Rewrite.
2965 (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
2966 * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
2967
2968 Tue Oct 26 13:24:16 1999 Nick Clifton <nickc@cygnus.com>
2969
2970 * configure.in : Fix arm-*-aout target to use new t-arm-aout
2971 script.
2972 * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
2973 targets.
2974
2975 Tue Oct 26 11:27:12 1999 Nick Clifton <nickc@cygnus.com>
2976
2977 * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
2978 stack backtrace structure.
2979
2980 * config/arm/arm-protos.h: Add prototypes for functions defined in
2981 arm/pe.h.
2982
2983 * config/arm/arm.c (arm_override_options): Fix selection of
2984 attributes of default processor.
2985
2986 * config/arm/coff.h: Delete needless #include.
2987
2988 * config/arm/pe.c: Delete unused code.
2989
2990 * config/arm/pe.h (CPP_DEFINES): Delete
2991 (SUBTARGET_CPP_SPEC): Define.
2992 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
2993
2994 * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
2995
2996 Mon Oct 25 15:42:09 1999 Richard Earnshaw (rearnsha@arm.com)
2997
2998 * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
2999 updated.
3000 (CAN_DEBUG_WITHOUT_FP): Define.
3001 (FIXED_REGISTERS): Make r11 call-saved.
3002 (CALL_USED_REGISTERS): Likewise.
3003 (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
3004 (FRAME_POINTER_REQUIRED): Correct logic for determining when a
3005 frame-pointer is required.
3006 (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
3007 * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
3008 if the target normally needs a stack frame in non-leaf functions.
3009 (use_return_insn): Correct logic for determining when a return
3010 instruction can be used.
3011 (output_return_instruction): Handle the frame-pointer register as
3012 a normal register when not TARGET_APCS_FRAME.
3013 (arm_output_prologue): Likewise.
3014 (arm_output_epilogue): Likewise.
3015 (output_func_epilogue): Likewise.
3016 (arm_expand_prologue): Likewise.
3017 * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
3018
3019 * arm.c (use_return_insn): No need to check floating point regs if
3020 TARGET_SOFT_FLOAT.
3021 (arm_find_minipool_constant): Correct typo; use GET_CODE to get
3022 the code of value stored in the minipool array.
3023 (arm_add_minipool_constant): Likewise.
3024
3025 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3026
3027 * basic-block.h (conflict_graph_enum_fn): K&R fix.
3028
3029 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3030
3031 * tree.c (tree_expr_nonnegative_p): New function.
3032
3033 * tree.h (tree_expr_nonnegative_p): Declare.
3034
3035 * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
3036 elide some sign_compare warnings.
3037 (build_conditional_expr): Likewise.
3038
3039 Sat Apr 8 00:21:51 EDT 2000 John Wehle (john@feith.com)
3040
3041 * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
3042
3043 * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
3044 * i386.c (print_operand): Use the proper suffix for a 387 HImode
3045 operand. Abort if a 387 operand has an unsupported size.
3046
3047 2000-04-08 Neil Booth <NeilB@earthling.net>
3048
3049 * cppexp.c (parse_charconst): Null does not end character
3050 constants.
3051 * cppinit.c (ISTABLE): Null character handled as whitespace.
3052 * cpplex.c (null_warning): new function.
3053 (skip_string): Emit warning if nulls encountered.
3054 (_cpp_skip_hspace): Emit warning if nulls encountered.
3055 (_cpp_lex_token): Emit warning if nulls encountered. Drop
3056 them.
3057 * cpp.texi: Update.
3058
3059 2000-04-07 Richard Henderson <rth@cygnus.com>
3060
3061 * flow.c (loop_depth): Remove.
3062 (reg_next_use, cc0_live, mem_set_list): Replace with ...
3063 (struct propagate_block_info): New.
3064 (life_analysis): Don't allocate reg_next_use.
3065 (propagate_block_delete_insn): Break out of propagate_block.
3066 Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
3067 (propagate_block_delete_libcall): Likewise.
3068 (propagate_block): Create a propagate_block_info struct to pass
3069 to subroutines. Allocate one not two temporary regsets. Don't
3070 clobber memory for const calls. Look for clobbers in
3071 CALL_INSN_FUNCTION_USAGE.
3072 (mark_set_regs): Recognize COND_EXEC.
3073 (mark_set_reg): Break out of mark_set_1.
3074 (mark_used_reg): Break out of mark_used_regs.
3075 (mark_used_regs): Recognize COND_EXEC.
3076 (insn_dead_p): Use propagate_block_info struct.
3077 (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
3078 (find_auto_inc, try_pre_increment_1): Likewise.
3079 (print_rtl_with_bb): Dump regs live at end too.
3080 (count_reg_sets_1): Pass in loop_depth.
3081 (count_reg_sets, count_reg_references): Likewise.
3082 (recompute_reg_usage): Provide it.
3083
3084 2000-04-07 Richard Henderson <rth@cygnus.com>
3085
3086 * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
3087 not the raw files.
3088
3089 2000-04-07 Zack Weinberg <zack@wolery.cumb.org>
3090
3091 * cpplib.c (do_elif): Skip the rest of the line if we're
3092 not going to bother evaluating it.
3093 (skip_if_group): Clear pfile->only_seen_white. Reorder loop
3094 to avoid pointless calls to the lexer.
3095
3096 Fri Apr 7 11:50:54 2000 Jim Wilson <wilson@cygnus.com>
3097
3098 * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
3099
3100 2000-04-07 Jason Merrill <jason@casey.cygnus.com>
3101
3102 * calls.c (expand_call): emit_queue if we're trying a sibcall.
3103
3104 2000-04-07 Jakub Jelinek <jakub@redhat.com>
3105
3106 * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
3107
3108 2000-04-06 Geoff Keating <geoffk@cygnus.com>
3109
3110 * Makefile.in: Build crtbeginS and crtendS like crtbegin and
3111 crtend so they can be multilibbed.
3112 (STAGESTUFF): Remove s-crt and s-crtS.
3113
3114 2000-04-07 Richard Henderson <rth@cygnus.com>
3115
3116 * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
3117 if we discover we need a pseudo and no_new_pseudos is true.
3118 * config/alpha/alpha.md (ne:DI insn): New.
3119 (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
3120
3121 2000-04-07 Richard Henderson <rth@cygnus.com>
3122
3123 * rtl.def (COND_EXEC): New.
3124 * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
3125 * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
3126
3127 * genconfig.c (have_cond_arith_flag): Remove.
3128 (have_cond_exec_flag): New.
3129 (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
3130 (main): Print HAVE_conditional_execution.
3131
3132 * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
3133 (sched_analyze_insn, print_pattern): Likewise.
3134 * reload.c (find_equiv_reg): Likewise.
3135 * rtlanal.c (reg_referenced_p): Likewise.
3136 (note_stores, dead_or_set_regno_p): Likewise.
3137 (reg_overlap_mentioned_p): Rewrite to use a switch.
3138
3139 * ggc.h (struct rtx_def): Forward declare.
3140
3141 * print-rtl.c (debug_rtx_range): New.
3142 * rtl.h (debug_rtx_range): Declare.
3143
3144 * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
3145
3146 * gcse.c (gcse_main): Don't rebuild the CFG here.
3147 (delete_null_pointer_checks): Likewise.
3148 * ssa.c (convert_to_ssa): Likewise.
3149 * toplev.c (rest_of_compilation): Do it here instead. Combine
3150 sequential calls to TIMEVAR. Consistently use `insns' instead of
3151 `get_insns()'. Always split insns after reload when optimizing.
3152
3153 * basic-block.h (merge_blocks_nomove): Declare.
3154 (tidy_fallthru_edge): Declare.
3155 * flow.c (merge_blocks_nomove): Document as merging into previous
3156 blocks. Remove cruft from between blocks; remove all edges out of A.
3157 (tidy_fallthru_edge): Export.
3158
3159 2000-04-06 Alex Samuel <samuel@codesourcery.com>
3160
3161 * ssa.c (compute_conservative_reg_partition): Declare with
3162 void arguments.
3163 * toplev.c (clean_dump_file): Remove previously-deleted function
3164 inadvertantly merged back in.
3165 * conflict.c (conflict_graph_add): Use a single call to
3166 htab_find_slot to look up and insert.
3167
3168 2000-04-06 Richard Henderson <rth@cygnus.com>
3169
3170 * genrecog.c (*): Rename _last_insn to last_insn.
3171 (make_insn_sequence): Set the position of the peephole2 C test
3172 to be at the last insn.
3173
3174 2000-04-06 Richard Henderson <rth@cygnus.com>
3175
3176 * flow.c (compute_flow_dominators): Free worklist.
3177
3178 2000-04-06 Michael Matz <matzmich@cs.tu-berlin.de>
3179
3180 * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
3181
3182 2000-04-06 Alex Samuel <samuel@codesourcery.com>
3183
3184 * rtl.h (INSN_P): New macro.
3185 (successor_phi_fn): New typedef.
3186 (for_each_successor_phi): New prototype.
3187 (in_ssa_form): New variable.
3188 (PHI_NODE_P): Likewise.
3189 * flow.c (calculate_global_regs_live): Add to new_live_at_end from
3190 phi nodes in successors.
3191 (mark_used_regs): Add PHI case.
3192 (set_phi_alternative_reg): New function.
3193 (life_analysis): Assert that dead code elimination is not selected
3194 when in SSA form.
3195 * toplev.c (to_ssa_time): New variable.
3196 (from_ssa_time): Likewise.
3197 (compile_file): Zero to_ssa_time and from_ssa_time.
3198 Print time to convert to and from SSA.
3199 (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
3200 (print_time): Compute percent fraction as integer.
3201 * ssa.c (PHI_NODE_P): Moved to rtl.h.
3202 (convert_to_ssa): Check if we're already in SSA.
3203 Don't eliminate dead code in life_analysis.
3204 Rerun flow and life analysis at bottom.
3205 (eliminate_phi): Use canonical regnos when adding nodes.
3206 (mark_reg_in_phi): New function.
3207 (mark_phi_and_copy_regs): Likewise.
3208 (convert_from_ssa): Rerun life analysis at top.
3209 Use coalesced partition.
3210 Check for removing a phi node at the end of the block.
3211 (compute_coalesced_reg_partition): New function.
3212 (coalesce_regs_in_copies): Likewise.
3213 (coalesce_reg_in_phi): Likewise.
3214 (coalesce_regs_in_sucessor_phi_nodes): Likewise.
3215 (for_each_successor_phi): Likewise.
3216 (rename_context): New struct.
3217 (rename_block): Use a rename_context with rename_insn_1. When
3218 renaming sets of a subreg, emit a copy of the entire reg first.
3219 (rename_insn_1): Treat data as a rename_context *. Save current
3220 insn in set_data.
3221 (rename_set_data): Add field set_insn.
3222 * Makefile.in (HASHTAB_H): Move up in file.
3223 (OBSTACK_H): New macro.
3224 (collect2.o): Use OBSTACK_H in dependencies.
3225 (sdbout.o): Likewise.
3226 (emit-rtl.o): Likewise.
3227 (simplify-rtx.o): Likewise.
3228 (fix-header.o): Likewise.
3229 (OBJS): Add conflict.o.
3230 (conflict.o): New rule.
3231 * basic-block.h: Include partition.h.
3232 (conflict_graph): New typedef.
3233 (conflict_graph_enum_fn): Likewise.
3234 (conflict_graph_new): New prototype.
3235 (conflict_graph_delete): Likewise.
3236 (conflict_graph_add): Likewise.
3237 (conflict_graph_conflict_p): Likewise.
3238 (conflict_graph_enum): Likewise.
3239 (conflict_graph_merge_regs): Likewise.
3240 (conflict_graph_print): Likewise.
3241 (conflict_graph_compute): Likewise.
3242 * conflict.c: New file.
3243
3244 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
3245
3246 * tlink.c (read_repo_files): Don't look for .rpo info for
3247 linker flags.
3248
3249 Thu Apr 6 20:39:26 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3250
3251 * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
3252
3253 Thu Apr 6 19:34:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3254
3255 * config/sh/lib1funcs.asm (___udivsi3_i4):
3256 ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
3257 only depends on FMOVD_WORKS.
3258
3259 Thu Apr 6 19:11:47 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3260
3261 * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
3262 make double constant 8-byte aligned.
3263
3264 2000-04-06 Jakub Jelinek <jakub@redhat.com>
3265
3266 * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
3267 movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
3268 movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
3269 (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
3270 Accept storing GENERAL_REGS into offsetable memory.
3271 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
3272 building a TFmode constant other than 0.0L into GENERAL_REGS.
3273
3274 2000-04-06 Clinton Popetz <cpopetz@cygnus.com>
3275
3276 * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
3277
3278 2000-04-06 Zack Weinberg <zack@wolery.cumb.org>
3279
3280 * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
3281 (macro_cleanup): No need to cast pbuf->macro.
3282 (collect_expansion): Use _cpp_get_define_token. Goto done if
3283 it returns VSPACE. Remove check for trailing space after
3284 CPP_COMMENT.
3285 (_cpp_create_definition): Don't diddle flags here. Return
3286 directly on error.
3287 (unsafe_chars): Handle c1 being EOF.
3288 (push_macro_expansion): Use unsafe_chars for both accidental-paste
3289 checks. Don't push the buffer till after we're done with
3290 them.
3291 * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
3292 (PEEKN, FORWARD, GETC, PEEKC): Use them.
3293 (cpp_push_buffer): Don't set new->alimit. Set new->mark
3294 appropriately.
3295 (_cpp_parse_assertion): Don't NUL terminate.
3296 (_cpp_lex_token): Fix -traditional macro handling. Don't skip
3297 hspace before calling _cpp_parse_assertion. Remove all sets
3298 of only_seen_white. Treat '\f' as hspace. Don't do anything
3299 special with '\n' here.
3300 (maybe_macroexpand): Handle T_EMPTY hash entries without
3301 pushing a buffer at all.
3302 (cpp_get_token): Handle clearing only_seen_white here. Handle
3303 incrementing the line number here. Clear
3304 potential_control_macro as well as only_seen_white, if
3305 appropriate.
3306 (cpp_get_non_space_token): Don't eat CPP_POP tokens.
3307 (_cpp_get_define_token): New function, basically like
3308 _cpp_get_directive_token was but doesn't eat horizontal space.
3309 Don't do anything with only_seen_white here.
3310 (_cpp_get_directive_token): Just call _cpp_get_define_token
3311 repeatedly till it returns non-hspace.
3312
3313 * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
3314 (conditional_skip, skip_if_group): Return int.
3315 (DIRECTIVE_TABLE): Change origin of all conditional directives
3316 to "COND".
3317 (TRAD_DIRECT_P): New macro.
3318 (_cpp_handle_directive): Use _cpp_get_directive_token. Issue
3319 an error for a bogus directive, unless -lang-asm. Use
3320 TRAD_DIRECT_P. Loop calling handler functions till one returns
3321 zero.
3322 (get_macro_name): Don't diddle flags here.
3323 (do_define): Diddle flags here. Use _cpp_get_directive_token.
3324 Create T_EMPTY nodes for #define macro /* nothing */.
3325 (do_undef): Don't copy the name. Use _cpp_get_directive_token.
3326 Use hp->name when calling pass_thru_directive.
3327 (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
3328 Return the result of conditional_skip and/or skip_if_group.
3329 Don't call _cpp_output_line_command.
3330 (consider_directive_while_skipping): Use _cpp_get_directive_token.
3331 Issue -Wtraditional warnings as appropriate. Don't complain
3332 about unrecognized directives. If we are to stop skipping,
3333 return the number of the directive that ended the skip.
3334 (skip_if_group): Use _cpp_get_directive_token. Turn off macro
3335 expansion and line commands while skipping. Return the result
3336 of consider_directive_while_skipping, if nonzero.
3337 (do_endif): Just set potential_control_macro here.
3338 (validate_else): Use _cpp_get_directive_token.
3339 (do_assert, do_unassert): Don't save pointers into the
3340 token_buffer across calls to the lexer. Use
3341 _cpp_get_directive_token.
3342
3343 * cpplib.h (cpp_buffer): Remove alimit and colno. Make mark a
3344 pointer, not an offset. Replace 'data', which was a generic
3345 pointer, with 'macro', which points to a struct hashnode.
3346 (cpp_reader): Add 'potential_control_macro' pointer.
3347 * cpphash.h (T_UNUSED): Replace with T_EMPTY.
3348 (CPP_BUF_GET, CPP_FORWARD): Delete.
3349 (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
3350 (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
3351 ACTIVE_MARK_P): Update.
3352 (_cpp_get_define_token): New internal function.
3353 * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
3354
3355 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
3356
3357 * configure.in: And here.
3358 * configure: Regenerate.
3359 * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
3360 --enable-libstdcxx-v3 is passed at configure time.
3361 * config.h.in: Regenerate.
3362
3363 2000-04-05 Mark Mitchell <mark@codesourcery.com>
3364
3365 * final.c (final): Use xcalloc to allocate line_note_exists.
3366 * function.c (free_after_compilation): Free the temp_slots.
3367 (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
3368 (combine_temp_slot): Free temp_slots when they get combined.
3369 (purge_addressof): Fix typo in comment.
3370 * stmt.c (mark_goto_fixup): Mark the fixup itself.
3371 (expand_fixup): Allocate the fixup with ggc_alloc_obj.
3372
3373 * ggc.h: Include varray.h.
3374 (ggc_pending_trees): Declare.
3375 (ggc_mark_tree_children): Remove declaration.
3376 (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
3377 * ggc-common.c (ggc_pending_trees): New variable.
3378 (ggc_mark_roots): Call ggc_mark_trees.
3379 (ggc_mark_tree_children): Rename to ggc_mark_trees. Process all
3380 the ggc_pending_trees.
3381 * Makefile.in (GGC_H): New variable. Use it throughout in place
3382 of ggc.h.
3383
3384 Thu Apr 6 00:30:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3385
3386 * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
3387 GET_MODE_SIZE.
3388
3389 Wed Apr 5 23:17:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3390
3391 * sh.c (sh_insn_length_adjustment): New function.
3392 * sh-protos.h (sh_insn_length_adjustment): Declare.
3393 * sh.h (ADJUST_INSN_LENGTH): Use it.
3394
3395 Wed Apr 5 12:35:18 2000 Hans-Peter Nilsson <hp@axis.com>
3396
3397 * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
3398 from the insn where REG_RETVAL is added.
3399 (emit_no_conflict_block): Ditto.
3400
3401 * md.texi (Standard Names): Clarify when movX is needed.
3402
3403 * combine.c (simplify_comparison) [MINUS]: Do not replace
3404 all (op (minus A B) 0) with (op A B).
3405
3406 Wed Apr 5 18:03:31 2000 Toshiyasu Morita (toshi.morita@sega.com)
3407 J"orn Rennecke <amylaar@cygnus.co.uk>
3408
3409 * sh.md (block_lump_real_i4): Add missing clobber of T_REG
3410 (block_lump_real): Likewise.
3411
3412 2000-04-05 Chris Demetriou <cgd@netbsd.org>
3413
3414 * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
3415 remaining non-zero debugging masks.
3416
3417 Wed Apr 5 09:44:07 2000 Jeffrey A Law (law@cygnus.com)
3418
3419 * basic-block.h (verify_flow_info): Declare.
3420 (flow_loop_outside_edge_p): Declare.
3421 * flow.c (verify_flow_info): Remove declaration.
3422 (clear_log_links, flow_loop_outside_edge_p): Likewise.
3423
3424 Wed Apr 5 09:34:26 2000 Philippe De Muyter <phdm@macqel.be>
3425
3426 * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
3427 not C++ comments.
3428
3429 2000-04-05 Jakub Jelinek <jakub@redhat.com>
3430
3431 * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
3432 snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
3433 seqdi_zero_trunc+1): Allow splits only if registers are
3434 different.
3435
3436 2000-04-04 Ulrich Drepper <drepper@cygnus.com>
3437
3438 * acconfig.h: Add HAVE_GAS_HIDDEN.
3439 * config.in: Regenerated.
3440 * configure.in: Add test for .hidden pseudo-op in gas.
3441 * configure: Regenerated.
3442 * crtstuff.c: Include auto-host.h.
3443 Emit additional .hidden pseudo-op for __dso_handle if the
3444 assembler knows about it.
3445
3446 2000-04-04 Philippe De Muyter <phdm@macqel.be>
3447
3448 * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
3449 before freeing argnames.
3450 * cpplib.c (do_ifndef): Cast return value of xstrdup.
3451
3452 2000-04-05 Michael Meissner <meissner@redhat.com>
3453
3454 * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
3455 Walton <jonboy@gordian.com> to make memory references with update
3456 work wtih -mregnames.
3457
3458 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3459
3460 * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
3461 (regrename_optimize): Rename variables `def_uses' and
3462 `ext_basic_blocks' to avoid conflicts with similarly named
3463 typedefs in traditional C.
3464
3465 * calls.c (initialize_argument_information): Fix typo in previous
3466 change.
3467
3468 2000-04-04 Richard Henderson <rth@cygnus.com>
3469
3470 * regrename.c (consider_available): Test fixed_regs not
3471 PIC_OFFSET_TABLE_REGNUM.
3472
3473 2000-04-04 Geoff Keating <geoffk@cygnus.com>
3474
3475 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
3476 crtend.
3477 (CRTSTUFF_T_CFLAGS_S): Delete definition.
3478 * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
3479 (ENDFILE_LINUX_SPEC): Always use crtend.
3480 * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
3481 (powerpc-*-linux-gnu): Likewise.
3482 * configure: Regenerate.
3483
3484 * config/rs6000/eabi.h: Don't include sysv4.h.
3485 (MULTILIB_DEFAULTS): Don't define.
3486 * config/rs6000/eabiaix.h: Don't include eabi.h.
3487 * config/rs6000/eabile.h: Delete.
3488 * config/rs6000/eabilesim.h: Delete.
3489 * config/rs6000/eabisim.h: Don't include eabi.h.
3490 * config/rs6000/linux.h: Don't include sysv4.h.
3491 (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
3492 (MULTILIB_DEFAULTS): Don't redefine.
3493 * config/rs6000/rtems.h: Don't include eabi.h.
3494 * config/rs6000/sol2.h: Don't include sysv4le.h.
3495 * config/rs6000/sysv4le.h: Don't include sysv4.h.
3496 * config/rs6000/t-ppc: Delete.
3497 * config/rs6000/t-ppcgas: Correct comment.
3498 * config/rs6000/t-ppcos: Correct comment. Don't build
3499 multilibs for -fPIC, rather use -fPIC -mstrict-align
3500 as default.
3501 * config/rs6000/t-ppc: Delete.
3502 * config/rs6000/vxppc.h: Don't include sysv4.h.
3503 * config/rs6000/vxppcle.h: Delete.
3504 * configure.in: Use multiple header files for p2pc ELF targets
3505 powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
3506 powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
3507 powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
3508 powerpc-vxworks, powerpcle-vxworks. Assume GAS functionality is
3509 always available for these platforms.
3510
3511 2000-04-04 Richard Henderson <rth@cygnus.com>
3512
3513 * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
3514
3515 2000-04-04 Stan Cox <scox@cygnus.com>
3516
3517 * Makefile.in: Add rules for regrename.o
3518 * regrename.c: New file.
3519 * rtl.h (regrename_optimize): Add prototype.
3520 * toplev.c (rename_registers_dump, flag_rename_registers): New variables
3521 (compile_file, decode_d_option): Add support for -frename-registers.
3522 (rest_of_compilation): Call regrename_optimize.
3523 * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
3524 New macros.
3525
3526 2000-04-04 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3527
3528 * Makefile (gccbug): New target.
3529 (doc): Depend on it.
3530 * gcc.texi (Bugs): Link subnodes.
3531 (gccbug): New node.
3532 * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
3533 Document severities, priorities, and classes in bug form.
3534
3535 2000-04-04 Zack Weinberg <zack@wolery.cumb.org>
3536
3537 * cpplex.c (trigraph_map, speccase): Combine into single
3538 table, chartab.
3539 (NORMAL, NONTRI): New macros.
3540 (_cpp_read_and_prescan): Change to use unified table. Use
3541 is_hspace to test for whitespace.
3542
3543 * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
3544 definition that doesn't provoke the "empty body in an
3545 if-statement" warning.
3546
3547 2000-04-04 Clinton Popetz <cpopetz@cygnus.com>
3548
3549 * builtins.c (expand_builtin_strlen): Force the source to
3550 be a memory address.
3551
3552 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3553
3554 * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
3555
3556 Tue Apr 4 19:17:20 MET DST 2000 Jan Hubicka <jh@suse.cz>
3557
3558 * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
3559 ECF_LONGJMP, ECF_FORK_OR_EXEC): New constants.
3560 (ECF_IS_CONST): Rename to ECF_CONST.
3561 (special_function_p): Make static, change interface.
3562 (flags_from_decl_or_type, try_to_integrate): Break out from ...
3563 (expand_call) ... here; convert number of variables to flags.
3564 (emit_library_call_vlue_1): Likewise.
3565 (setjmp_call_p): New function.
3566 (initialize_argument_information): Accepts flags as argument;
3567 return flags.
3568 (precompute_arguments): Likewise.
3569 * tree.h (special_function_p): Remove.
3570 (setjmp_call_p): Add prototype.
3571
3572 2000-04-04 Jakub Jelinek <jakub@redhat.com>
3573
3574 * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
3575 so that addresses are offsetable by up to 16 bytes.
3576 (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
3577 non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
3578 offsetable.
3579
3580 * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
3581 (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
3582 (movsf): Don't force any constant to memory if target is integer
3583 hard register.
3584 Move fp_zero_operand check below the const0_rtx check.
3585 (movtf): Likewise. Also allow fp_zero_operand for stores into
3586 memory.
3587 (movdf): Likewise. Also allow fp_zero_operand for stores into
3588 memory and into integer hard registers.
3589 (clear_df, clear_dfp, movdf_const_intreg_sp32,
3590 movdf_const_intreg_sp64): Remove.
3591 (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
3592 conditions.
3593 (movdf_no_e_insn_v9_sp32): New pattern.
3594 (movdf_insn_v9only): Remove.
3595 (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
3596 (movdf_insn_sp64): Remove.
3597 (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
3598 (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
3599 (following splits): Rewrite conditions. Add two new splits
3600 for storing 0.0 into memory and registers.
3601 (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
3602 (movtf_insn_sp32): Redo constraints and conditions.
3603 (movtf_insn_vis_sp32): New pattern.
3604 (movtf_no_e_insn_sp32): Redo constraints and conditions.
3605 (movtf_insn_hq_sp64): Likewise.
3606 (movtf_insn_hq_vis_sp64): New pattern.
3607 (movtf_insn_sp64): Redo constraints and conditions.
3608 (movtf_insn_vis_sp64): New pattern.
3609 (movtf_no_e_insn_sp64): Redo constraints and conditions.
3610 (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
3611 or memory.
3612 * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
3613 -mvis or -m64 to take down the number of various reload patterns.
3614
3615 Tue Apr 4 00:41:53 2000 Jeffrey A Law (law@cygnus.com)
3616
3617 * pa/pa-64.h: New file.
3618 * pa/pa64-regs.h: New file.
3619 * pa/pa64-start.h: New file.
3620 * pa/t-pa64: New file.
3621 * pa/xm-pa64hpux.h: New file.
3622
3623 2000-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3624
3625 * sparc.c (output_restore_regs): Prototype.
3626 (sparc_emit_float_lib_cmp): Constification.
3627
3628 * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
3629
3630 * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
3631 Prototype.
3632
3633 * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
3634 (get_value_hash, hash_rtx): Likewise.
3635
3636 * ssa.c (compute_conservative_reg_partition): Prototype.
3637
3638 * tree.c (mark_hash_entry): Prototype.
3639
3640 2000-04-03 Zack Weinberg <zack@wolery.cumb.org>
3641
3642 * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
3643 * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
3644 * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
3645
3646 * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
3647 * objc/lang-specs.h: Likewise.
3648
3649 2000-04-03 Neil Booth <NeilB@earthling.net>
3650
3651 * cppexp.c: wrap long lines. New macros CPP_ICE, SYNTAX_ERROR
3652 and SYNTAX_ERROR2. Replace `' in messages with ''.
3653 (op_to_str): Make re-entrant.
3654 (_cpp_parse_expr): Implement new error macros. Use | rather
3655 than || to logically or 2 boolean integers. Simply expression
3656 checking we have a left operand iff needed.
3657
3658 2000-04-03 Nick Clifton <nickc@cygnus.com>
3659
3660 * Makefile.in (diagnostic.o): Depend upon diagnostic.c
3661
3662 2000-04-03 Philip Blundell <philb@gnu.org>
3663
3664 * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
3665
3666 2000-04-03 Felix Lee <flee@cygnus.com>
3667
3668 * fixinc/server.c (find_shell): New function. Avoid $SHELL.
3669 (run_shell): Use it.
3670
3671 2000-04-03 Jonathan Larmour <jlarmour@redhat.co.uk>
3672
3673 * Makefile.in (stmp-int-hdrs): Make include subdir here...
3674 (stmp-fixproto): ...rather than here.
3675
3676 Mon Apr 3 00:50:06 2000 Jason Eckhardt <jle@cygnus.com>
3677
3678 * pa.c (print_operand): Compute 'base' only inside the code paths
3679 that use it.
3680
3681 2000-04-03 Geoffrey Keating <geoffk@cygnus.com>
3682
3683 * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
3684 CEIL_DIV_EXPR.
3685
3686 2000-04-03 Philipp Thomas <pthomas@suse.de>
3687
3688 * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
3689
3690 Mon Apr 3 00:02:59 2000 Brad Lucier <lucier@math.purdue.edu>
3691
3692 * Makefile.in (alias.o): Depend on $(TREE_H).
3693
3694 2000-04-02 Zack Weinberg <zack@wolery.cumb.org>
3695
3696 * cppinit.c (cpp_start_read): Turn off -Wtraditional if
3697 processing C++.
3698 * cpplib.c (_cpp_handle_directive): Improve warnings for
3699 traditional C and indented directives.
3700
3701 * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
3702 fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
3703 fixinc/inclhack.def: Indent the # of #include_next one space.
3704 * cp/rtti.c: Un-indent #if and #endif.
3705
3706 * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
3707 syntax error, but an error has already been printed.
3708 * cpplex.c (_cpp_parse_assertion): Give a more specific error
3709 message when called with nothing remaining on the line.
3710 (_cpp_lex_token): If _cpp_parse_assertion fails, return an
3711 OTHER token, not an ASSERTION.
3712 * cpplib.c (do_assert): When we create a 'base' node, clear
3713 its aschain pointer.
3714
3715 2000-04-02 Neil Booth <NeilB@earthling.net>
3716
3717 * cppexp.c: New typedef op_t. struct operation and struct
3718 token updated to use it.
3719 (op_to_str): New function.
3720 (_cpp_parse_expr): Error messages modified to use op_to_str.
3721
3722 2000-04-02 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3723
3724 * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
3725 before checking MUST_PASS_IN_STACK.
3726
3727 2000-04-02 Neil Booth <NeilB@earthling.net>
3728
3729 * cppexp.c: New FINISHED dummy token. Combine operator initial
3730 flags and initial priority into a single constant. New
3731 EQUALITY macro. New operator flag SHORT_CIRCUIT.
3732 (_parse_cpp_expr): Implement new constants. Take left operand
3733 checks out of reduction loop. Handle SHORT_CIRCUIT. End of
3734 parse indicated by reducing FINISHED token. Remove new lines
3735 from cpp_error messages.
3736
3737 2000-04-01 Mark Mitchell <mark@codesourcery.com>
3738
3739 * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
3740 permanent obstack.
3741
3742 2000-04-01 Zack Weinberg <zack@wolery.cumb.org>
3743
3744 * cpplib.c: Include symcat.h. Add 'origin' field to struct
3745 directive. Add origin values to DIRECTIVE_TABLE. Generate
3746 the strings and function names on the fly. Take the #sccs
3747 entry out of the table if SCCS_DIRECTIVE is not defined.
3748 (_cpp_handle_directive): Decide if the # was at the beginning
3749 of the line here. Issue -pedantic warnings for extended
3750 directives here. Warn about K+R directives with the #
3751 indented, and C89/extended directives with the # not indented,
3752 here.
3753 (do_import, do_include_next, do_warning, do_ident, do_sccs,
3754 do_assert, do_unassert): Don't issue pedantic warning here.
3755
3756 * cpphash.h: Add CPP_WTRADITIONAL macro.
3757 * cpplib.h (struct cpp_options): Rename warn_stringify to
3758 warn_traditional; update comments.
3759 * cppinit.c (handle_option): Set warn_traditional not
3760 warn_stringify.
3761 * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
3762 CPP_WTRADITIONAL (pfile).
3763 * cpplex.c (_cpp_lex_token): Don't decide if directives should
3764 be ignored in -traditional mode here.
3765
3766 * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
3767 to initialize speccase[] and trigraph_map[]. Delete all
3768 references to pfile->input_speccase. Always treat '?' as a
3769 special character. Remove table-initialization code from
3770 _cpp_init_input_buffer.
3771
3772 * cpplib.h (struct cpp_reader): Remove input_speccase field.
3773 * cppinit.c (cpp_cleanup): Don't free input_speccase.
3774
3775 2000-04-01 Richard Henderson <rth@cygnus.com>
3776
3777 * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
3778 (mostlyclean): Likewise.
3779
3780 * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
3781 (struct dump_file_info, enum dump_file_index, dump_file): New.
3782 (open_dump_file): Take a dump_file_index not a suffix, and a decl
3783 not a string. Clean out file if we havn't yet done so. Do nothing
3784 if the dump isn't enabled.
3785 (close_dump_file): Do nothing if the dump isn't open. Dump
3786 graph data if requested.
3787 (dump_rtl, clean_dump_file): Remove.
3788 (compile_file): Don't clean the dump files. Only finalize .bp dump
3789 if flag_test_coverage or flag_branch_probabilities. Only finalize
3790 .combine dump if optimizing. Iterate over dump_file to finalize the
3791 graph dumps.
3792 (rest_of_compilation): Update for open_dump_file/close_dump_file.
3793 Convert all uses of dump_rtl.
3794 (decode_d_option): Iterate over dump_file to implement 'a' and to
3795 locate pass-specific dumps.
3796
3797 2000-04-01 Neil Booth <NeilB@earthling.net>
3798
3799 * cppexp.c: Redefine priority constants.
3800 (_cpp_parse_expr): Replace left and right priority scheme with
3801 single priority logic. Move LOGICAL to same place as COMPARE.
3802 Remove bogus check for multiple unary +/- operators.
3803
3804 2000-04-01 Neil Booth <NeilB@earthling.net>
3805
3806 * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
3807 within the switch statement. Binary operations break out of
3808 the switch naturally. '(' tokens handled by forcing
3809 immediate shift. ')' handled by forcing immediate reduce to
3810 the previous '('. New error messages.
3811
3812 2000-03-31 Geoff Keating <geoffk@cygnus.com>
3813
3814 * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
3815 part', it's already in use. Use %K instead. Add a return at the
3816 end of what is now %K.
3817 * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
3818
3819 Sat Apr 1 02:05:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
3820
3821 * builtins.c (expand_builtin_apply): Pass proper parameters to
3822 allocate_dynamic_stack_space.
3823 * calls.c (emit_call_1): Do not adjust stack pointer for SIB,
3824 update stack_pointer_delta; do not update arg_size_so_far.
3825 (compute_argument_block_size): Use stack_delta instead of
3826 stack_pointer_pending and arg_size_so_far.
3827 (expand_call): Add sanity checking for stack_pointer_delta;
3828 save and restore stack_pointer_delta for SIB, use
3829 stack_pointer_delta for alignment; do not update arg_space_so_far.
3830 (emit_library_call_value): Use stack_pointer_delta for alignment.
3831 (store_one_arg): Do not update arg_space_so_far.
3832 * explow.c (adjust_stack, anti_adjust_stack): Update
3833 stack_pointer_delta.
3834 (allocate_dynamic_stack_space): Add sanity checking for
3835 stack_pointer_delta.
3836 * expr.c (init_expr, clear_pending_stack_adjust): Clear
3837 stack_pointer_delta.
3838 (emit_push_insn): Update stack_pointer_delta.
3839 * function.h (struct expr_status): Add x_stack_pointer_delta;
3840 remove x_arg_space_so_far.
3841 (arg_space_so_far): Remove.
3842 (stack_pointer_delta): New macro.
3843
3844 2000-03-31 Zack Weinberg <zack@wolery.cumb.org>
3845
3846 * cpplib.h: Merge struct cpp_options into struct cpp_reader.
3847 Reorder struct cpp_options and struct cpp_reader for better
3848 packing. Replace CPP_OPTIONS macro with CPP_OPTION which
3849 takes two args. Change all 'char' flags to 'unsigned char'.
3850 Move show_column flag into struct cpp_options. Don't
3851 prototype cpp_options_init.
3852 * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
3853 cppinit.c, cpplex.c, cpplib.c:
3854 Replace CPP_OPTIONS (pfile)->whatever with
3855 CPP_OPTION (pfile, whatever), and likewise for
3856 opts = CPP_OPTIONS (pfile); ... opts->whatever;
3857
3858 * cppinit.c (merge_include_chains): Take a cpp_reader *.
3859 Extract CPP_OPTION (pfile, pending) and work with that
3860 directly.
3861 (cpp_options_init): Delete.
3862 (cpp_reader_init): Turn on on-by-default options here.
3863 Allocate the pending structure here.
3864 (cl_options, enum opt_code): Define these from the same table,
3865 kept in a large macro. Add -fshow-column and -fno-show-column
3866 options.
3867
3868 * cpperror.c (v_message): If show_column is off, don't print
3869 the column number.
3870
3871 * cppmain.c: Update for new interface.
3872 * fix-header.c: Likewise.
3873
3874 2000-03-30 Geoff Keating <geoffk@cygnus.com>
3875
3876 * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
3877 definition.
3878 * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
3879 are passed to any invocation of AR_FOR_TARGET.
3880 (AR_CREATE_FOR_TARGET): New macro.
3881 (AR_EXTRACT_FOR_TARGET): New macro.
3882 (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
3883 AR_EXTRACT_FOR_TARGET.
3884 (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
3885 in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
3886 `$(AR_FOR_TARGET) x'. Pass AR_CREATE_FOR_TARGET and
3887 AR_EXTRACT_FOR_TARGET to sub-makes.
3888
3889 2000-03-31 Neil Booth <NeilB@earthling.net>
3890
3891 * cppexp.c: Delete SKIP_OPERAND. Correct priority
3892 PAREN_INNER_PRIO.
3893 (_cpp_parse_expr): Check for multiple unary +/- operators.
3894 Correct priorities of ':' and '?'. Treat ')' as having a
3895 value. Ensure conditional expression is not void.
3896
3897 2000-03-31 Mark Mitchell <mark@codesourcery.com>
3898
3899 * alias.c (canon_rtx): Make it global.
3900 (rtx_equal_for_memref_p): CONST_INT equality is now pointer
3901 equality.
3902 * cse.c (struct table_elt): Add canon_exp.
3903 (insert): Clear it.
3904 (invalidate): Canonicalize expressions only once.
3905 * rtl.h (canon_rtx): Declare.
3906
3907 2000-03-30 Mark Mitchell <mark@codesourcery.com>
3908
3909 * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
3910 * alias.c (reg_known_value): Add comments.
3911 (init_alias_analysis): Likewise.
3912 * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
3913 address.
3914 (cse_basic_block): Fix typo in comment.
3915 * emit-rtl.c: Include hashtab.h.
3916 (const_int_htab): New variable.
3917 (const_int_htab_hash): New function.
3918 (const_int_htab_eq): Likewise.
3919 (rtx_htab_mark_1): Likewise.
3920 (rtx_htab_mark): Likewise.
3921 (gen_rtx_CONST_INT): Cache all CONST_INTs.
3922 (unshare_all_rtx): Fix formatting.
3923 (init_emit_once): Initialize const_int_htab.
3924 * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
3925 address.
3926 * rtl.texi: Document the fact that all CONST_INTs with the same
3927 value are shared.
3928
3929 2000-03-30 Richard Henderson <rth@cygnus.com>
3930
3931 * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
3932
3933 2000-03-30 Zack Weinberg <zack@wolery.cumb.org>
3934
3935 * configure.in: Comment out --enable-c-cpplib stanza.
3936 * configure: Regenerate.
3937
3938 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3939
3940 * expr.c (store_constructor): Properly compute displacement and
3941 alignment when offset is variable.
3942
3943 * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
3944 cases of alignment in bytes.
3945
3946 Thu Mar 30 13:30:40 2000 Jeffrey A Law (law@cygnus.com)
3947
3948 * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
3949 since it is used to generate c-parse.y.
3950 * objc-parse.c, objc-parse.y: Regenerated.
3951
3952 * function.c (expand_function_end): Pass alignment argument to
3953 emit_block_move in bits, not bytes.
3954
3955 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3956
3957 * expr.c (move_by_pieces_ninsns): Fix one more missing align
3958 correction.
3959
3960 * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
3961
3962 * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
3963 * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
3964 * function.c (assign_parms): Likewise.
3965 * integrate.c (expand_inline_function): Likewise.
3966 * stmt.c (expand_decl): Likewise.
3967 (copy_rtx_and_substitute): Likewise.
3968 * expr.c (expand_expr, expand_expr_unaligned): Likewise.
3969 (clear_by_pieces): Fix error in last change.
3970 * emit-rtl.c (init_emit): Set known registers alignment in bits.
3971 * function.h (regno_pointer_align): Now unsigned.
3972 * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
3973 is in bits.
3974 * config/i386/i386.c (aligned_operand): Likewise.
3975 * config/sparc/sparc.c (mem_min_alignment): Likewise.
3976 * config/alpha/alpha.c (aligned_memory_operand): Likewise.
3977 (unaligned_memory_operand): Likewise.
3978 (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
3979 Also make alignments and sizes unsigned and some whitespace cleanup.
3980 (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
3981
3982 * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
3983 (expand_builtin_apply): Pass alignment to emit_block_move in bits.
3984 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
3985 (expand_builtin_memset): Likewise, but to clear_storage.
3986 * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
3987 (restore_fixed_argument_area): Likewise.
3988 (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
3989 (load_register_parameters): Likewise, to emit_group_load.
3990 (expand_call): Likewise, to emit_group_store and emit_block_move.
3991 (emit_library_call_value_1): Likewise, to emit_block_move.
3992 (store_one_arg): Likewise, and to emit_push_insn.
3993 * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
3994 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
3995 * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
3996 (emit_block_move, emit_group_load, emit_group_store): Likewise.
3997 (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
3998 (expand_assigment, store_expr, store_constructor_field): Likewise.
3999 (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
4000 (store_constructor, store_field, get_inner_reference): Likewise.
4001 Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
4002 (expand_expr, case COMPONENT_REF): Likewise.
4003 (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
4004 and positions; reindent code.
4005 * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
4006 * function.c (purge_addressof_1): Pass bit align to store_bit_field.
4007 (assign_parms): Likewise to emit_group_store.
4008 * optabs.c (prepare_cmp_insn): Alignment is in bits.
4009 (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
4010 * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
4011 (expand_return): Likewise to {extract,store}_bit_field.
4012 * stor-layout.c (get_mode_alignment): Minor cleanup.
4013 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
4014 * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
4015
4016 2000-03-29 Nick Clifton <nickc@cygnus.com>
4017
4018 * config/arm/arm.h: Undo effects of previous delta:
4019 (ASM_SPEC): Do not define.
4020 (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
4021
4022 * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
4023 typo.
4024
4025 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
4026
4027 * cppinit.c (cpp_start_read): Call initialize_dependency_output
4028 only after reading in the primary source file.
4029
4030 2000-03-29 Geoff Keating <geoffk@cygnus.com>
4031
4032 * c-common.c (c_common_nodes_and_builtins): The first parameter to
4033 __builtin_va_start and __builtin_va_copy is now either a 'va_list'
4034 or a reference to a va_list.
4035 * builtins.c (stabilize_va_list): Simplify now we don't have to
4036 work around C array address decay.
4037 * c-typeck.c (convert_for_assignment): Handle assignment to
4038 a reference parameter by taking the address of the RHS.
4039 * ginclude/stdarg.h (va_start): Don't take address of first parameter.
4040 (va_copy): Likewise.
4041 (__va_copy): Likewise.
4042 * ginclude/varargs.h (va_start): Likewise.
4043 (__va_copy): Likewise.
4044
4045 Wed Mar 29 15:44:53 2000 Jeffrey A Law (law@cygnus.com)
4046
4047 * i386/djgpp.h: Remove extraneous "+".
4048
4049 * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
4050
4051 * calls.c (expand_call): Fix typo in last change.
4052
4053 2000-03-29 Jason Merrill <jason@casey.cygnus.com>
4054
4055 * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
4056 been expanded.
4057
4058 Wed Mar 29 15:39:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4059
4060 * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
4061 (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
4062 (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
4063 * tree.c (bit_position, byte_position): Likewise.
4064 * tree.h: Declare new functions.
4065
4066 2000-03-29 Nick Clifton <nickc@cygnus.com>
4067
4068 * config/arm/arm.c: Minor formatting changes/
4069 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
4070 already defined.
4071 (ASM_SPEC): Define if not already defined.
4072
4073 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
4074
4075 * cppfiles.c (cpp_read_file): Don't pass zero-length string to
4076 _cpp_calc_hash.
4077
4078 2000-03-29 Jakub Jelinek <jakub@redhat.com>
4079
4080 * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
4081 value, don't output it as unsigned.
4082
4083 Wed Mar 29 10:53:49 2000 Jeffrey A Law (law@cygnus.com)
4084
4085 * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
4086
4087 2000-03-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4088
4089 * c-common.c (c_common_nodes_and_builtins): Don't special case
4090 cplus_mode when declaring builtin bzero/bcmp, always avoid
4091 prototype arguments.
4092
4093 2000-03-29 Bruce Korb <bkorb@gnu.org>
4094
4095 * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
4096 to a non-file
4097
4098 Wed Mar 29 15:08:01 MET DST 2000 Jan Hubicka <jh@suse.cz>
4099
4100 Convert ACCUMULATE_OUTGOING_ARGS to an expression.
4101 * calls.c (PUSH_ARGS_REVERSED) Change to expression.
4102 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
4103 (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
4104 (save_fixed_argument_area, restore_fixed_argument_area):
4105 conditionize by #ifdef REG_PARM_STACK_SPACE only.
4106 (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
4107 to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
4108 (precompute_register_parameters): Avoid #ifdefs on
4109 ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
4110 (stire_one_args): Likewise.
4111 (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
4112 (emit_library_call_value_1): Likewise.
4113 (compute_argument_block_size): Align to STACK_BOUNDARY only for
4114 ACCUMULATE_OUTGOING_ARGS.
4115 * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
4116 value.
4117 (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
4118 (use_crosses_set_p): Likewise.
4119 * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
4120 #define ACCUMULATE_OUTGOING_ARGS 1.
4121 * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
4122 frames.
4123 * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
4124 constants.
4125 (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
4126 (TARGET_SWITCHES): Add push-args, no-push-args,
4127 accumulate-outgoing-args and no-accumulate-outgoing-args.
4128 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
4129 * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
4130 (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
4131 and PUSH_ROUNDING.
4132 (emit_push_insn): Likewise.
4133 * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
4134 (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
4135 * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
4136 (STACK_DYNAMIC_OFFSET): Define correctly for both
4137 ACCUMULATE_OUTGOING_ARGS and normal mode.
4138 * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
4139 * tm.texi (PUSH_ARGS): Document.
4140 (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
4141
4142 Wed Mar 29 11:51:13 MET DST 2000 Jan Hubicka <jh@suse.cz>
4143
4144 * flags.h (flag_optimize_sibling_calls): Declare.
4145 * calls.c (expand_call): Fail sibcall when
4146 !flag_optimize_sibling_calls
4147 * invoke.texi (flag_optimize_sibling_calls): Document.
4148 * toplev.c (flag_optimize_sibling_calls): New global variable.
4149 (f_options): Add flag_optimize_sibling_calls.
4150 (rest_of_compilation): Conditionize
4151 optimize_sibling_and_tail_recursive_calls by
4152 flag_optimize_sibling_calls.
4153 (main): Set flag_optimize_sibling_calls for -O2.
4154 * stmt.c (expand_return): Conditionize tail recursion by
4155 flag_optimize_sibling_calls.
4156
4157 2000-03-29 Richard Henderson <rth@cygnus.com>
4158
4159 * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
4160 (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
4161
4162 2000-03-29 Nathan Sidwell <nathan@codesourcery.com>
4163
4164 * except.c (add_eh_table_entry): Mark type_info's as referenced.
4165
4166 2000-03-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4167
4168 * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
4169 is given.
4170 * config/rs6000/aix43.h (CPP_SPEC): Likewise.
4171 * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
4172 * config/rs6000/aix.h: then modified likewise.
4173
4174 2000-03-28 Richard Henderson <rth@cygnus.com>
4175
4176 * rtl.h: Redistribute enum reg_note documentation.
4177 Kill trailing whitespace.
4178 * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
4179 Kill trailing whitespace.
4180
4181 2000-03-28 Zack Weinberg <zack@wolery.cumb.org>
4182
4183 * cppfiles.c (hash_IHASH): Just return i->hash.
4184 (cpp_included): Set dummy.hash using _cpp_calc_hash. Use
4185 htab_find_with_hash.
4186 (cpp_read_file): Likewise.
4187 (find_include_file): Likewise. Properly initialize
4188 ih->nshort. Share ih->name and ih->nshort if possible.
4189 * cpphash.c (_cpp_calc_hash): New function.
4190 (hash_HASHNODE): Just return h->hash.
4191 (_cpp_lookup): Set dummy.hash using _cpp_calc_hash. Use
4192 htab_find_with_hash.
4193 * cpphash.h: Prototype _cpp_calc_hash.
4194 * cppinit.c (initialize_builtins): Provide a valid hash
4195 to _cpp_make_hashnode, using _cpp_calc_hash.
4196
4197 * cpphash.c (collect_expansion): # is not a special character
4198 in object-like macros. In -traditional mode, /**/ is not
4199 token paste at the beginning or end of the line.
4200 * cpplib.c (do_include, do_import, do_include_next): If
4201 parse_include fails, return immediately.
4202
4203 2000-03-28 Jason Merrill <jason@casey.cygnus.com>
4204
4205 * config/arm/arm.md (return peepholes): Update to reflect the new
4206 call insn patterns.
4207 * config/arm/arm.c (arm_volatile_func): Also check
4208 current_function_nothrow.
4209 (output_return_instruction, output_func_prologue): Use it.
4210 (arm_output_epilogue, arm_expand_prologue): Likewise.
4211
4212 2000-03-27 Tom Tromey <tromey@cygnus.com>
4213
4214 * gcc.c (handle_braces): In {x*...} case, break out of loop if
4215 switch is found.
4216
4217 Tue Mar 28 11:55:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4218
4219 * expr.c (store_constructor): SIZE now signed.
4220 For EXPR_SIZE, don't evaluate size; just needed if constant.
4221 * fold-const.c (fold): Fix a number of cases when folded tree is
4222 wrong type.
4223 * function.c (flush_addressof): Reenable.
4224 * tree.h (flush_addressof): Likewise.
4225 * toplev.c (independent_decode_option): Look at strings_processed.
4226 * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
4227
4228 Tue Mar 28 08:29:46 2000 Jan Hubicka <jh@suse.cz>
4229
4230 * sibcall.c (indentify_call_return_value): Find last call in the chain;
4231 Allow stack adjustment after function call.
4232
4233 * regmove.c (struct csa_memlist): Make mem field rtx *.
4234 (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
4235 (try_apply_stack_adjustment): Replace whole MEM rtx.
4236 (combine_stack_adjustments_for_block): Update calls
4237 to record_one_stack_ref.
4238
4239 2000-03-28 Neil Booth <NeilB@earthling.net>
4240
4241 * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
4242 '\\' rather than a null character, so nulls are not special. Fix
4243 "\\\n" handling in end-of-buffer conditions. Use trigraph map to
4244 speed trigraph conversion.
4245 (_cpp_init_input_buffer): Initialize trigraph map.
4246
4247 2000-03-27 Alan Modra <alan@linuxcare.com.au>
4248
4249 * config/i386/i386.c (output_387_binary_op): Correct intel
4250 mode assembly output, and add spaces after commas in AT&T
4251 output. Correct Unixware assembler comment. Document input
4252 constraints. Comment fp operations. Reduce profligate buffer
4253 size. Remove extraneous abort. Localize temp var.
4254 (SYSV386_COMPAT): Define. Add !SYSV386_COMPAT code.
4255 (output_fix_trunc): Add spaces after commas in assembly output.
4256
4257 2000-03-27 Richard Henderson <rth@cygnus.com>
4258
4259 * i386-protos.h (ix86_match_ccmode): Declare.
4260 * i386.c (ix86_match_ccmode): New.
4261 (ix86_expand_fp_compare): Update for pattern renames.
4262 (ix86_expand_strlensi_unroll_1): Likewise.
4263 * i386.h (EXTRA_CC_MODES): Add CCZ.
4264 (SELECT_CC_MODE): Use it for EQ/NE zero.
4265 * i386.md (cmpsi_ccz_1): New.
4266 (cmpqi_ccz_1): New.
4267 (*testsi_ccz_1): New.
4268 (testqi_ccz_1): New.
4269 (cmpsi_ccno_1): Rename from cmpsi_0.
4270 (testsi_ccno_1): Rename from testsi_1.
4271 (testqi_ccno_1): Rename from testqi_1.
4272 (*testqi_ext_ccz_0): Rename from testqi_ext_0.
4273 (testqi_ext_ccno_0): Rename from *testqi_ext_1.
4274 (*cmphi_0): Use ix86_match_ccmode.
4275 (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
4276 (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
4277 (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
4278 (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
4279 (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
4280 (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
4281 (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
4282 (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
4283 (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
4284 (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
4285 (appropriate peepholes): Likewise.
4286 (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
4287 (*subsi_3, *subhi_3, *subqi_3): Remove.
4288 (*negdi2_1+1 splitter): Use CCZ for neg patterns.
4289 (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
4290 (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
4291 (*neghi2_cmpz, *negqi2_cmpz): Similarly.
4292 (x86_shift_adj_1): Use CCZ.
4293 (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
4294
4295 2000-03-27 Stan Cox <scox@cygnus.com>
4296
4297 * resource.h (mark_resource_type): New.
4298 * resource.c (find_dead_or_set_registers, mark_target_live_regs,
4299 find_free_register): Use mark_resource_type.
4300 (mark_set_resources): Change include_delayed_effects
4301 to mark_resource_type.
4302 * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
4303 redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
4304 Use mark_resource_type.
4305
4306 2000-03-27 Richard Henderson <rth@cygnus.com>
4307
4308 * i386.md (call_pop_0, call_value_pop_0): New.
4309 (call_pop_1): Remove constraint from unused arg. Support sibcalls.
4310 (call_value_pop_1): Likewise.
4311 (call_0, call_value_0): New.
4312 (call_1, call_value_1): Remove constraint from unused arg.
4313
4314 2000-03-27 Nick Clifton <nickc@cygnus.com>
4315
4316 * invoke.texi (Spec Files): Document new spec % command created by
4317 Tom Tromey's recent patch.
4318
4319 2000-03-27 Jakub Jelinek <jakub@redhat.com>
4320
4321 * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
4322 if not defined.
4323
4324 Mon Mar 27 06:04:22 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4325
4326 * expr.c (expand_assignment): Fix typo in last change.
4327
4328 * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
4329
4330 Sun Mar 26 20:15:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4331
4332 * c-convert.c (convert): Return if output or input type is ERROR_MARK.
4333 * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
4334 and DECL_INLINE if FUNCTION_DECL.
4335 (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
4336 (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
4337 Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
4338 (combine_parm_decls): Likewise.
4339 * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
4340 * print-tree.c (print_node): Likewise.
4341 Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
4342 DECL_TRANSPARENT_UNION on proper decl types.
4343 Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
4344 * stor-layout.c (layout_decl): Only check DECL_PACKED and
4345 DECL_BIT_FIELD of FIELD_DECL.
4346 * tree.h (DECL_RESULT_FLD): New macro.
4347
4348 * expr.c (expand_assignment): Add code to handle variable-sized
4349 BLKmode case.
4350
4351 2000-03-26 Richard Henderson <rth@cygnus.com>
4352
4353 * calls.c (expand_call): Pass parms not original exp to
4354 optimize_tail_recursion. Mind return value instead of looking
4355 for a barrier.
4356 * stmt.c (optimize_tail_recursion): Take parameter list, not entire
4357 call_expr. Move checks for call_expr and current_function_decl ...
4358 (expand_return): ... here.
4359
4360 2000-03-26 Tom Tromey <tromey@cygnus.com>
4361
4362 * gcc.c (handle_braces): Recognize `%{<S}' construct.
4363 (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
4364 defines.
4365 (process_command): Use them.
4366 (check_live_switch): Likewise.
4367 (give_switch): Skip ignored switches.
4368
4369 2000-03-26 Jan Hubicka <jh@suse.cz>
4370
4371 * jump.c (jump_optimize_1): Fix typo in elide optimizations
4372 for minimal jump pass test.
4373
4374 2000-03-26 Mark Mitchell <mark@codesourcery.com>
4375
4376 * integrate.c (function_cannot_inline_p): Do inline functions that
4377 return `void'.
4378
4379 Sun Mar 26 11:37:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4380
4381 * stor-layout.c (layout_type, set_sizetype): early_type_list is
4382 now a list of TREE_LIST entries, not types.
4383 * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
4384
4385 * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
4386 * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
4387 int_bit_position.
4388 * config/mips/mips.c (function_arg): Likewise; also remove cast
4389 and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
4390 (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
4391 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
4392 * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
4393 (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
4394 (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
4395 (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
4396 (struct mips_arg): arg_number, arg_words, fp_arg_words, and
4397 num_adjusts now unsigned.
4398 (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
4399 * config/sparc/sparc.c (struct function_arg_record_value_parms):
4400 NREGS now unsigned.
4401 (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
4402 as is BITPOS variable; use host_integerp and int_bit_position.
4403 (function_arg_record_value_2): Likewise.
4404 (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
4405 Variable REGNO now unsigned.
4406 (function_arg_record_value): NREGS now unsigned.
4407
4408 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
4409
4410 * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
4411
4412 Sat Mar 25 09:12:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4413
4414 * Rework fields used to describe positions of bitfields and
4415 modify sizes to be unsigned and use HOST_WIDE_INT.
4416 * alias.c (reg_known_value_size): Now unsigned.
4417 * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
4418 (really_start_incremental_init): Use bitsize_zero_node.
4419 (push_init_level, pop_init_level, output_init_element): Likewise.
4420 Use bitsize_unit_node and bitsize_one_node.
4421 (output_pending_init_elements, process_init_element): Likewise.
4422 * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
4423 (make_extraction): Position and length HOST_WIDE_INT and unsigned
4424 HOST_WIDE_INT, respectively.
4425 (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
4426 (num_sign_bit_copies): Returns unsigned.
4427 BITWIDTH now unsigned; rework arithmetic.
4428 Remove recursive call from arg to MAX.
4429 (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
4430 (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
4431 REGNO now unsigned.
4432 (set_nonzero_bit_and_sign_copies): NUM now unsigned.
4433 (find_split_point, expand_compound_operation, make_extraction): LEN
4434 now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
4435 (make_field_assignment): Likewise.
4436 (combine_simplify_rtx): Add cast.
4437 (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
4438 (force_to_mode): WIDTH now unsigned; add cast.
4439 (if_then_else_cond): SIZE now unsigned.
4440 (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
4441 (extended_count): Now returns unsigned.
4442 (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
4443 Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
4444 (simplify_comparison): MODE_WIDTH now unsigned.
4445 (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
4446 (mark_used_regs_combine): Likewise; rework arithmetic.
4447 (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
4448 (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
4449 (record_promoted_value): REGNO now unsigned.
4450 (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
4451 (get_last_value): REGNO now unsigned.
4452 (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
4453 (reg_dead_regno, reg_dead_endregno): Now unsigned.
4454 (remove_death): Arg REGNO now unsigned.
4455 (move_deaths): REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
4456 (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
4457 now unsigned.
4458 * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
4459 * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
4460 (struct cse_reg_info): REGNO now unsigned.
4461 (cached_regno): Now unsigned.
4462 (REGNO_QTY_VALID_P): Add cast.
4463 (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
4464 (remove_invalid_regs): Likewise.
4465 (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
4466 as are variables END and I.
4467 (get_cse_reg_info, insert): Likewise.
4468 (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
4469 (canon_hash): Likewise.
4470 (insert_regs, lookup_for_remove): REGNO now unsigned.
4471 (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
4472 New variable RN.
4473 * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
4474 * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
4475 * emit-rtl.c (subreg_realpart_p): Add cast.
4476 (operand_subword): Arg I is now unsigned as is var PARTWORDS.
4477 (operand_subword_force): Arg I is now unsigned.
4478 * except.c (eh_regs): Variable I is now unsigned.
4479 * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
4480 * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
4481 length is unsigned HOST_WIDE_INT; likewise for internal variables.
4482 (store_split_bit_field, extract_fixed_bit_field): Likewise.
4483 (extract_split_bit_field, store_bit_field, extract_bit_field):
4484 Likewise.
4485 * expr.c (store_constructor_fields, store_constructor, store_field):
4486 Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
4487 (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
4488 (do_jump): Likewise.
4489 (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
4490 MAX_SIZE is now unsigned.
4491 (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
4492 (emit_group_store): Likewise.
4493 (emit_move_insn): I now unsigned.
4494 (store_constructor): Use host_integerp, tree_low_cst, and
4495 bitsize_unit_node.
4496 (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
4497 Rework all calculations to use trees and new fields.
4498 * expr.h (promoted_input_arg): Regno now unsigned.
4499 (store_bit_field, extract_bit_field): Adjust types of pos and size.
4500 (mark_seen_cases): Arg is HOST_WIDE_INT.
4501 * flow.c (verify_wide_reg_1): REGNO now unsigned.
4502 * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
4503 precisions and alignments are unsigned.
4504 (optimize_bit_field_compare, fold_truthop): Likewise.
4505 (int_const_binop): Adjust threshold for size_int_type_wide call.
4506 (fold_convert): Likewise.
4507 (size_int_type_wide): Make table larger and fix thinko that only
4508 had half of table used.
4509 (all_ones_mask_p, fold): Precisions are unsigned.
4510 * function.c (put_reg_info_stack): REGNO is unsigned.
4511 (instantiate_decl): Size is HOST_WIDE_INT.
4512 (instantiate_virtual_regs): I is unsigned.
4513 (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
4514 (promoted_input_arg): REGNO is unsigned.
4515 * function.h (struct function): x_max_parm_reg is now unsigned.
4516 * gcse.c (max_gcse_regno): Now unsigned.
4517 (struct null_pointer_info): min_reg and max_reg now unsigned.
4518 (lookup_set, next_set): REGNO arg now unsigned.
4519 (compute_hash_table): REGNO and I now unsigned.
4520 (handle_avail_expr): regnum_for_replacing now unsigned.
4521 (cprop_insn): REGNO now unsigned.
4522 (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
4523 * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
4524 * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
4525 * hard-reg-set.h (reg_class_size): Now unsigned.
4526 * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
4527 * jump.c (mark_modified_reg): I now unsigned; add cast.
4528 (rtx_equal_for_thread_p): Add cast.
4529 * loop.c (max_reg_before_loop): Now unsigned.
4530 (struct_movable): REGNO now unsigned.
4531 (try_copy_prop): REGNO arg unsigned.
4532 (regs_match_p): XN and YN now unsigned.
4533 (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
4534 (strength_reduce): Likewise; NREGS also unsigned.
4535 (first_increment_giv, last_increment_giv unsigned): Now unsigned.
4536 * loop.h (struct iv_class): REGNO now unsigned.
4537 (max_reg_before_loop, first_increment_giv, last_increment_giv):
4538 Now unsigned.
4539 * machmode.h (mode_size, mode_unit_size): Now unsigned.
4540 (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
4541 * optabs.c (expand_binop): I and NWORDS now unsigned.
4542 (expand_unop): I now unsigned.
4543 * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
4544 print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
4545 * real.c (significand_size): Now returns unsigned.
4546 * real.h (significand_size): Likewise.
4547 * regclass.c (reg_class_size): Now unsigned.
4548 (choose_hard_reg_mode): Both operands now unsigned.
4549 (record_reg_classes): REGNO and NR now unsigned.
4550 (reg_scan): NREGS now unsigned.
4551 (reg_scan_update): old_max_regno now unsigned.
4552 (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
4553 * reload.c (find_valid_class): BEST_SIZE now unsigned.
4554 (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
4555 (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
4556 Likewise for variable R.
4557 (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
4558 as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
4559 (find_equiv_reg): Add casts.
4560 (regno_clobbered_p): Arg REGNO now unsigned.
4561 * reload.h (struct reload): NREGS now unsigned.
4562 (refers_to_regno_for_reload_p): Regno args are unsigned.
4563 (regno_clobbered_p): Likewise.
4564 * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
4565 (compute_use_by_pseudos): REGNO now unsigned.
4566 (find_reg): I and J now unsigned, new variable K, and change loop
4567 variables accordingly; THIS_NREGS now unsigned.
4568 (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
4569 (spill_hard_reg): REGNO arg now unsigned; add casts.
4570 (forget_old_reloads_1): REGNO, NR, and I now unsigned.
4571 (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
4572 (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
4573 END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
4574 (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
4575 (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
4576 (emit_reload_insns): REGNO now unsigned.
4577 (reload_cse_move2add): Add cast.
4578 (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
4579 and rework loop.
4580 * resource.c (mark_referenced_resources, mark_set_resources): New
4581 variable R; REGNO and LAST_REGNO now unsigned.
4582 (mark_target_live_regs): J and REGNO now unsigned.
4583 * rtl.c (mode_size, mode_unit_size): Now unsigned.
4584 * rtl.h (union rtunion_def): New field rtuint.
4585 (XCUINT): New macro.
4586 (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
4587 (operand_subword, operand_subword_force): Word number is unsigned.
4588 (choose_hard_reg_mode): Operands are unsigned.
4589 (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
4590 (find_regno_note, find_regno_fusage, replace_regs): Likewise.
4591 (regno_use_in, combine_instructions, remove_death): Likewise.
4592 (reg_scan, reg_scan_update): Likewise.
4593 (extended_count): Return is unsigned.
4594 * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
4595 INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
4596 (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
4597 (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
4598 (reg_reg_last_1): FIRS and LAST now unsigned.
4599 (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
4600 (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
4601 now unsigned.
4602 (find_regno_note, regno_use_in): Arg REGNO now unsigned.
4603 (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
4604 (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
4605 (replace_regs): Arg NREGS now unsigned.
4606 * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
4607 * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
4608 (simplify_binary_operation): Likewise.
4609 (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
4610 THIS_LAST now unsigned.
4611 (cselib_record_set): Add cast.
4612 * ssa.c (ssa_max_reg_num): Now unsigned.
4613 (rename_block): REGNO now unsigned.
4614 * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
4615 sizes now unsigned.
4616 (all_cases_count): Just return -1 not -2.
4617 COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
4618 Rework tests to use trees whenever possible.
4619 Use host_integerp and tree_low_cst.
4620 (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
4621 Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
4622 (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
4623 * stor-layout.c (mode_for_size): SIZE arg now unsigned.
4624 (smallest_mode_for_size): Likewise.
4625 (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
4626 KNOWN_ALIGN is now an alignment, so simplify code.
4627 Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
4628 (start_record_layout): Renamed from new_record_layout_info.
4629 Update to new fields.
4630 (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
4631 New functions.
4632 (place_union_field): Renamed from layout_union_field.
4633 Update to use new fields in rli.
4634 (place_field): Renamed from layout_field.
4635 Major rewrite to use new fields in rli; pass alignment to layout_decl.
4636 (finalize_record_size): Rework to use new fields in rli and handle
4637 union.
4638 (compute_record_mode): Rework to simplify and to use new DECL fields.
4639 (finalize_type_size): Make rounding more consistent.
4640 (finish_union_layout): Deleted.
4641 (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
4642 (layout_type, case RECORD_TYPE): Call new function names.
4643 (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
4644 (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
4645 (get_best_mode): UNIT is now unsigned; remove casts.
4646 * tree.c (bit_position): Compute from new fields.
4647 (byte_position, int_byte_position): New functions.
4648 (print_type_hash_statistics): Cast to remove warning.
4649 (build_range_type): Use host_integerp and tree_low_cst to try to hash.
4650 (build_index_type): Likewise; make subtype of sizetype.
4651 (build_index_2_type): Pass sizetype to build_range_type.
4652 (build_common_tree_nodes): Use size_int and bitsize_int to
4653 initialize nodes; add bitsize_{zero,one,unit}_node.
4654 * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
4655 (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
4656 (DECL_PACKED, DECL_BIT_FIELD): Likewise.
4657 (DECL_FIELD_BITPOS): Deleted.
4658 (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
4659 (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
4660 (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
4661 (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
4662 (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
4663 (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
4664 (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
4665 (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
4666 (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
4667 (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
4668 (DECL_ALIGN): Adjust to new field in union.
4669 (DECL_OFFSET_ALIGN): New field.
4670 (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
4671 (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
4672 (union tree_decl): Add struct for both aligns.
4673 (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
4674 (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
4675 (struct record_layout_info): Rework fields to have offset
4676 alignment and byte and bit position.
4677 (start_record_layout, place_field): Renamed from old names.
4678 (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
4679 (byte_position, int_byte_position): Likewise.
4680 (get_inner_reference): Change types of position and length.
4681 * unroll.c (unroll_loop): New variable R; use for some loops.
4682 MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
4683 (calculate_giv_inc): Arg REGNO now unsigned.
4684 (copy_loop_body): REGNO and SRC_REGNO now unsigned.
4685 * varasm.c (assemble_variable): Clean up handling of size using
4686 host_integerp and tree_low_cst.
4687 (decode_addr_const): Use byte, not bit, position.
4688 (output_constructor): bitpos and offsets are HOST_WIDE_INT;
4689 use tree_low_cst and int_bit_position.
4690 * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
4691
4692 Fri Mar 24 20:13:49 2000 Jason Eckhardt <jle@cygnus.com>
4693
4694 * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
4695 (reorder_block_def): New members eff_head and eff_end.
4696 (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
4697 (verify_insn_chain): New function.
4698 (skip_insns_between_block): Add code to skip deleted insns.
4699 Check for note before using.
4700 (chain_reorder_blocks): Replace calls to skip_insns_between_block
4701 with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
4702 Check for note before using.
4703 (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
4704 (fixup_reorder_chain): Restructure, clean up, defect removal.
4705 (reorder_basic_blocks): Remove last_insn and references to it.
4706 Moved insn chain verification code into a new function (see above).
4707 Delete defective code that sets last insn.
4708 Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
4709 all blocks.
4710
4711 2000-03-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4712
4713 * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
4714
4715 2000-03-24 Richard Henderson <rth@cygnus.com>
4716
4717 * tree.c (lang_safe_for_unsave): Remove.
4718 (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
4719 allowing for two levels of unsafeness. Remove lang hook.
4720 * tree.h: Update declarations.
4721 * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
4722 Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
4723 Always fail sibcalls when there are pending cleanups.
4724
4725 2000-03-24 Geoff Keating <geoffk@cygnus.com>
4726
4727 * flow.c (propagate_block): When we delete an ADDR_VEC,
4728 also delete the BARRIER following it if there is one.
4729
4730 2000-03-24 Richard Henderson <rth@cygnus.com>
4731
4732 * builtins.c (expand_builtin_bzero): Convert `length' argument
4733 to sizetype.
4734
4735 2000-03-24 Jakub Jelinek <jakub@redhat.com>
4736
4737 * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
4738 comparison if regno's are equal.
4739 * calls.c (initialize_argument_informat): Add ecf_flags argument.
4740 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
4741 (expand_call): Update caller.
4742 Avoid making a sibling call if argument size of the callee is larger
4743 than argument size of the caller.
4744 Call hard_function_value with outgoing set if in sibcall pass.
4745 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
4746
4747 * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
4748 Change LEAF_REGISTERS from an array initializer to actual array
4749 identifier. Move static global variable into the function.
4750 (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
4751 sequences for leaf functions.
4752 * global.c (global_alloc): Likewise.
4753 * tm.texi (LEAF_REGISTERS): Update documentation.
4754
4755 * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
4756 TARGET_FLAT leaf disabling hack.
4757 (LEAF_REGISTERS): Changed from an array initializer to actual array
4758 identifier to avoid duplication and remove the above hack.
4759 (FUNCTION_OK_FOR_SIBCALL): Define.
4760 * config/sparc/sparc.md (sibcall): New attr type. Use it almost
4761 always like call attribute.
4762 (eligible_for_sibcall_delay): New attribute.
4763 (sibcall): New delay type.
4764 (sibcall, sibcall_value, sibcall_epilogue): New expands.
4765 (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
4766 sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
4767 * config/sparc/sparc.c (sparc_leaf_regs): New array.
4768 (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
4769 New functions.
4770 (output_function_epilogue): Move part of the code into
4771 output_restore_regs.
4772 (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
4773 TYPE_SIBCALL.
4774 * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
4775 prototypes.
4776
4777 * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
4778 until infrastructure is finished.
4779
4780 Fri Mar 24 13:49:45 2000 Jeffrey A Law (law@cygnus.com)
4781
4782 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
4783 (save_parm_insns): Not here.
4784
4785 2000-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4786
4787 * builtins.c (expand_builtin_bzero): New function.
4788 (expand_builtin): Handle bzero.
4789
4790 * builtins.def: Add BUILT_IN_BZERO.
4791
4792 * c-common.c (c_common_nodes_and_builtins): Provide builtin
4793 prototype & function for bzero.
4794
4795 2000-03-23 Michael Meissner <meissner@redhat.com>
4796
4797 * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
4798 change adding TARGET_FP to the TF floating point insns, except for
4799 trunctfsf2, which generates direct calls to truncdfsf2.
4800
4801 2000-03-23 Geoff Keating <geoffk@cygnus.com>
4802
4803 * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
4804 try to protect against middle-end changes that break binary
4805 compatibility.
4806 (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
4807
4808 2000-03-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4809
4810 * config/c4x/c4x.md (load_immed_address): Add DP reg clobber.
4811
4812 Thu Mar 23 17:10:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4813
4814 * calls.c (expand_call): If TARGET is passed by reference and
4815 is readonly, write a CLOBBER.
4816
4817 2000-03-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4818
4819 * builtins.c (expand_builtin): Handle bcmp.
4820
4821 * builtins.def: Add BUILT_IN_BCMP.
4822
4823 * c-common.c (c_common_nodes_and_builtins): Provide builtin
4824 prototype & function for bcmp.
4825
4826 Thu Mar 23 11:34:39 2000 Jim Wilson <wilson@cygnus.com>
4827
4828 * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
4829 (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
4830 * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
4831
4832 Thu Mar 23 16:04:40 2000 Andrew Haley <aph@cygnus.com>
4833
4834 * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
4835 alternative when using -fp64 -gp32.
4836
4837 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
4838
4839 * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
4840 * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
4841 * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
4842
4843 * frame.h (frame_state): Revert last change.
4844 * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
4845 * libgcc2.c (throw_helper): Revert last change.
4846
4847 2000-03-22 Richard Henderson <rth@cygnus.com>
4848
4849 * stmt.c (expand_asm_operands): Don't promote the temporary.
4850
4851 2000-03-22 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
4852
4853 * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
4854 * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
4855 c_get_alias_set): Likewise.
4856 * c-decl.c (duplicate_decls): Likewise.
4857 * c-typeck.c (default_conversion,build_unary_op): Likewise.
4858 * calls.c (initialize_argument_information): Likewise.
4859 * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
4860 Likewise.
4861 * dwarfout.c (decl_class_context,output_type): Likewise.
4862 * expr.c (get_inner_reference): Likewise.
4863 * fold-const.c (simple_operand_p,fold): Likewise.
4864 * function.c (aggregate_value_p): Likewise.
4865 * stmt.c (expand_asm_operands): Likewise.
4866 * varasm.c (named_section): Likewise.
4867
4868 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
4869
4870 Implement dwarf2 exception handling for the ARM.
4871 * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
4872 (DWARF_FRAME_RETURN_COLUMN): Define.
4873 * config/arm/arm.c (emit_multi_reg_push): Return rtx. Attach
4874 REG_FRAME_RELATED_EXPR note.
4875 (emit_sfm): Likewise.
4876 (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
4877 * dwarf2out.c (reg_save): Handle saving a register to itself.
4878 (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
4879 * except.c (eh_regs): Don't use the static chain reg if it's
4880 callee-saved.
4881 * frame.h (frame_state): Add cfa_saved field.
4882 * frame.c (execute_cfa_insn): Set it.
4883 * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
4884 the epilogue.
4885 * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
4886 Now takes a parm.
4887 (instantiate_virtual_regs): Adjust.
4888 * tm.texi: Adjust.
4889 * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
4890 * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
4891 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
4892
4893 * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
4894 (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
4895
4896 2000-03-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4897
4898 * builtins.def: New file.
4899
4900 * Makefile.in (TREE_H): Depend on builtins.def.
4901
4902 * builtins.c (built_in_names): Use builtins.def.
4903
4904 * tree.h (built_in_function): Likewise.
4905
4906 2000-03-22 Mark Mitchell <mark@codesourcery.com>
4907
4908 * tree.c (size_in_bytes): Return size_zero_node, not
4909 integer_zero_node.
4910
4911 2000-03-22 Geoff Keating <geoffk@cygnus.com>
4912
4913 * config/fp-bit.c (pack_d): Correct the case when a denormal
4914 is rounded up and stops being denormal.
4915
4916 2000-03-21 Richard Henderson <rth@cygnus.com>
4917
4918 * config/alpha/alpha.c (function_arg): Check for void_type_node
4919 before using MUST_PASS_IN_STACK.
4920
4921 2000-03-21 Stephane Carrez <stcarrez@worldnet.fr>
4922
4923 * regmove.c (combine_stack_adjustments_for_block): Check that
4924 the stack pointer is a valid memory address.
4925
4926 Wed Mar 22 11:44:50 MET 2000 Jan Hubicka <jh@suse.cz>
4927
4928 * calls.c: re-install Mar 16 emit_library_call merge.
4929
4930 2000-03-21 Jakub Jelinek <jakub@redhat.com>
4931
4932 * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
4933 we cannot be sure that if reload_completed base register will
4934 be properly aligned.
4935
4936 2000-03-21 Richard Henderson <rth@cygnus.com>
4937
4938 * flow.c (delete_block): Fix typo last change.
4939
4940 2000-03-21 Mark Mitchell <mark@codesourcery.com>
4941
4942 * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
4943 not COMPLETE_TYPE_P, to check the type of the expression.
4944
4945 2000-03-21 Michael Meissner <meissner@redhat.com>
4946
4947 * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
4948 all floating point insns that just tested the macro
4949 TARGET_HAS_XFLOATING_LIBS.
4950 (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
4951 used to only use the gprs.
4952
4953 2000-03-21 Nathan Sidwell <nathan@codesourcery.com>
4954
4955 * tree.h (COMPLETE_TYPE_P): New macro.
4956 (COMPLETE_OR_VOID_TYPE_P): New macro.
4957 (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
4958 * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
4959 * c-aux-info.c (gen_type): Use them.
4960 * c-common.c (c_expand_expr_stmt): Likewise.
4961 * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
4962 grokdeclarator, grokparms, finish_struct, start_function,
4963 store_parm_decls, combine_parm_decls): Likewise.
4964 * c-parse.y (cast_expr): Likewise.
4965 * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
4966 c_size_in_bytes, c_alignof, build_component_ref,
4967 build_indirect_ref, build_array_ref, convert_arguments,
4968 build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
4969 * calls.c (initialize_argument_information): Likewise.
4970 * convert.c (convert_to_integer): Likewise.
4971 * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
4972 * dwarfout.c (location_or_const_value_attribute,
4973 output_enumeration_type_die, output_structure_type_die,
4974 output_union_type_die, output_type): Likewise.
4975 * expr.c (safe_from_p, expand_expr): Likewise.
4976 * function.c (assign_parms): Likewise.
4977 * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
4978 * tree.c (build_array_type, build_function_type,
4979 build_method_type, build_offset_type, build_complex_type): Likewise.
4980 * c-parse.c, c-parse.h: Regenerated.
4981
4982 2000-03-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4983
4984 * config/c4x/rtems.h: Include config/rtems.h.
4985
4986 Tue Mar 21 09:24:00 2000 Denis Chertykov <denisc@overta.ru>
4987
4988 * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
4989 decl is a FUNCTION_DECL
4990
4991 Mon Mar 20 19:53:53 2000 Jim Wilson <wilson@cygnus.com>
4992
4993 * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
4994 function uses output registers. Don't save RP for leaf functions.
4995 Do save RP even if no epilogue.
4996 * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
4997 (CALL_USED_REGISTERS): Unmark in registers.
4998 (REG_ALLOC_ORDER): Move out regs up, to near the top. Move in regs up,
4999 to near the middle.
5000
5001 2000-03-20 Geoff Keating <geoffk@cygnus.com>
5002
5003 * config/rs6000/rs6000.md (bunordered): New expander.
5004 (bordered): New expander.
5005 (buneq): New expander.
5006 (bunge): New expander.
5007 (bungt): New expander.
5008 (bunle): New expander.
5009 (bunlt): New expander.
5010 (bltgt): New expander.
5011
5012 * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
5013 (ccr_bit_negated_p): New function.
5014 (print_operand): For %C, generate appropriate cror for UNEQ,
5015 UNLT, UNGT, and LTGT. For %T and %t, use ccr_bit_negated_p.
5016
5017 2000-03-20 Andreas Jaeger <aj@suse.de>
5018
5019 * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
5020 warning.
5021
5022 * tree.h (safe_for_unsave): Prototype.
5023
5024 2000-03-20 Richard Henderson <rth@cygnus.com>
5025
5026 * regmove.c (stack_memref_p): Fix typo, reorg for readability.
5027 (combine_stack_adjustments_for_block): Don't allow sp references
5028 in the side of a set we're not fixing up.
5029 * toplev.c (rest_of_compilation): Run combine_stack_adjustments
5030 after life_analysis.
5031
5032 2000-03-20 Richard Henderson <rth@cygnus.com>
5033
5034 * calls.c (expand_call): Don't bother generating tail call
5035 sequences if there are pending cleanups. Use
5036 expand_start_target_temps/expand_end_target_temps to elide
5037 cleanups created during sibcall expansion.
5038
5039 2000-03-20 Geoff Keating <geoffk@cygnus.com>
5040
5041 * configure.in: Set $IFS to a value if it doesn't already have one
5042 in the --enable-checking handling.
5043 * configure: Regenerate.
5044
5045 2000-03-20 Martin v. Löwis <loewis@informatik.hu-berlin.de>
5046
5047 * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
5048 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
5049 Regenerated.
5050
5051 Mon Mar 20 11:43:15 MET 2000 Jan Hubicka <jh@suse.cz>
5052
5053 * jump.c (delete_noop_moves): Remove code attempting to
5054 combine stack adjustments.
5055
5056 2000-03-19 Martin v. Löwis <loewis@informatik.hu-berlin.de>
5057
5058 * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
5059 * except.c (emit_cleanup_handler): Use them.
5060 (expand_end_all_catch): Likewise.
5061 * function.c (fixup_var_refs): Likewise.
5062 (expand_function_end): Clear catch_clauses_last.
5063 * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
5064 * except.h (struct eh_status): New field x_catch_clauses_last.
5065 (catch_clauses_last): New define.
5066
5067 * Makefile.in (tree.o): Depend on HASHTAB_H.
5068 * tree.c: Include hashtab.h.
5069 (struct type_hash): Remove next field.
5070 (TYPE_HASH_SIZE): Remove.
5071 (TYPE_HASH_INITIAL_SIZE): New define.
5072 (type_hash_table): Change type to htab_t.
5073 (type_hash_eq, type_hash_hash, print_type_hash_statistics,
5074 mark_hash_entry): New functions.
5075 (init_obstacks): Allocate type hash.
5076 (type_hash_lookup): Use htab functions.
5077 (type_hash_add, mark_type_hash): Likewise.
5078 (dump_tree_statistics): Call print_type_hash_statistics.
5079
5080 2000-03-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5081
5082 * rs6000/t-aix41: New file.
5083
5084 * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
5085
5086 Sun Mar 19 13:27:30 2000 Hans-Peter Nilsson <hp@axis.com>
5087
5088 * tm.texi (Driver): Fix typos and tweak entry for
5089 INCLUDE_DEFAULTS.
5090 Move misplaced STRUCT_FORCE_BLK entry ...
5091 (Storage Layout): ... to here.
5092 (Run-time Target): Recommend having TARGET_MASK_... helper macros.
5093
5094 2000-03-19 Richard Henderson <rth@cygnus.com>
5095
5096 * flow.c (delete_block): Delete the addr_vec along with the block.
5097 (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
5098 reference labels.
5099
5100 * fold-const.c (extract_muldiv): Apply type check for defined
5101 overflow to multiply as well as divide.
5102
5103 * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
5104
5105 2000-03-18 Mark Mitchell <mark@codesourcery.com>
5106
5107 * emit-rtl.c (remove_unncessary_notes): Check that all
5108 NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
5109 associated NOTE_BLOCK.
5110 * function.h (identify_blocks): Update comments.
5111 (reorder_blocks): Declare.
5112 * function.c (identify_blocks): Don't take paramters.
5113 (reorder_blocks): Don't take parameters.
5114 * loop.h (find_loop_tree_blocks): Remove.
5115 (unroll_block_trees): Likewise.
5116 * loop.c (loop_optimize): Don't call find_loop_tree_blocks. Use
5117 reorder_blocks instead of unroll_block_trees.h
5118 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
5119 * stmt.c (find_loop_tree_blocks): Remove.
5120 (unroll_block_trees): Likewise.
5121 * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
5122 in whole-function mode.
5123 * tree.h (reorder_blocks): Remove declaration.
5124
5125 * expr.c: Include intl.h.
5126 * Makefile.in (expr.o): Depend on intl.h.
5127
5128 2000-03-18 Richard Henderson <rth@cygnus.com>
5129
5130 * expr.c (emit_move_insn_1): Clarify cannot_inline message.
5131
5132 2000-03-18 Mark Mitchell <mark@codesourcery.com>
5133
5134 * tree.h (tree_index): Remove enumerals for integer types.
5135 (integer_type_kind): New type.
5136 (integer_types): New variable.
5137 (char_type_node): Adjust.
5138 (signed_char_type_node): Likewise.
5139 (unsigned_char_type_node): Likewise.
5140 (short_integer_type_node): Likewise.
5141 (short_unsigned_type_node): Likewise.
5142 (integer_type_node): Likewise.
5143 (unsigned_type_node): Likewise.
5144 (long_integer_type_node): Likewise.
5145 (long_unsigned_type_node): Likewise.
5146 (long_long_integer_type_node): Likewise.
5147 (long_long_unsigned_type_node): Likewise.
5148 * tree.c (integer_types): New variable.
5149 (init_obstacks): Register it as a root.
5150
5151 Sat Mar 18 14:38:00 2000 Jason Eckhardt <jle@cygnus.com>
5152
5153 * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
5154 NEXT_INSN. Update last insn in chain.
5155
5156 2000-03-17 Jason Merrill <jason@casey.cygnus.com>
5157
5158 * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
5159 with TYPE_DECL_SUPPRESS_DEBUG set.
5160
5161 2000-03-18 Richard Henderson <rth@cygnus.com>
5162
5163 * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
5164
5165 2000-03-18 Richard Henderson <rth@cygnus.com>
5166
5167 * i386.c (call_insn_operand): Always allow SYMBOL_REF,
5168 care for HALF_PIC_P.
5169 (expander_call_insn_operand): Remove.
5170 (ix86_expand_epilogue): New arg `emit_return' to control return insn.
5171 * i386.h (PREDICATE_CODES): Update.
5172 * i386.md (all call expanders): Remove predicates, remove special
5173 handling for half-pic.
5174 (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
5175 (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
5176 (sibcall_epilogue): New.
5177
5178 2000-03-17 Richard Henderson <rth@cygnus.com>
5179
5180 * rtlanal.c (single_set): Reject if the parallel has anything
5181 except SET or USE or CLOBBER.
5182
5183 2000-03-17 Jeff Law <law@cygnus.com>
5184 Richard Henderson <rth@cygnus.com>
5185
5186 * Makefile.in (OBJS): Add sibcall.o.
5187 (sibcall.o): New.
5188 * sibcall.c: New file.
5189 * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
5190 (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
5191 (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
5192 Emit sibcall patterns when requested. Update all callers.
5193 (expand_call): Generate CALL_PLACEHOLDER insns when tail call
5194 elimination seems feasable.
5195 * final.c (leaf_function_p): Sibling calls don't discount being
5196 a leaf function.
5197 * flow.c (HAVE_sibcall_epilogue): Provide default.
5198 (find_basic_blocks_1): Sibling calls don't throw.
5199 (make_edges): Make edge from sibling call to EXIT.
5200 (propagate_block): Don't remove sibcall_epilogue insns.
5201 * function.c (prologue, epilogue): Turn into varrays. Update all uses.
5202 (sibcall_epilogue): New.
5203 (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
5204 (identify_blocks_1): Likewise. Break out from ...
5205 (identify_blocks): ... here.
5206 (reorder_blocks_1): Scan CALL_PLACEHOLDER. Break out from ...
5207 (reorder_blocks): ... here.
5208 (init_function_for_compilation): Zap prologue/epilogue as varrays.
5209 (record_insns): Extend a varray instead of mallocing new memory.
5210 (contains): Read a varray not array of ints.
5211 (sibcall_epilogue_contains): New.
5212 (thread_prologue_and_epilogue_insns): Emit and record
5213 sibcall_epilogue patterns.
5214 (init_function_once): Allocate prologue/epilogue varrays.
5215 * genflags.c (gen_insn): Treat sibcall patterns as calls.
5216 * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
5217 Broken out from ...
5218 (save_for_inline_nocopy): ... here.
5219 (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
5220 Broken out from ...
5221 (expand_inline_function): ... here.
5222 (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
5223 (subst_constants): Handle 'n' formats.
5224 * jump.c (jump_optimize_minimal): New.
5225 (jump_optimize_1): New arg `minimal'; update callers. Elide most
5226 optimizations if it's set.
5227 * rtl.c (copy_rtx): Do copy jump & call for insns.
5228 * rtl.h (struct rtx_def): Document use of jump and call for insns.
5229 (SIBLING_CALL_P): New.
5230 (sibcall_use_t): New.
5231 * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
5232 Invoke optimize_sibling_and_tail_recursive_calls.
5233 * tree.c (lang_safe_for_unsave): New.
5234 (safe_for_unsave): New.
5235 * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
5236
5237 * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
5238 * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
5239 (*sibcall_osf_1, *sibcall_value_osf_1): New.
5240
5241 2000-03-17 Mark Mitchell <mark@codesourcery.com>
5242
5243 * objc/objc-act.c (encode_method_prototype): Pass types, not
5244 PARM_DECLs, to int_size_in_bytes.
5245
5246 Fri Mar 17 11:51:34 2000 Jim Wilson <wilson@cygnus.com>
5247
5248 * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
5249
5250 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
5251 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
5252
5253 Fri Mar 17 08:09:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5254
5255 * Clean up usages of TREE_INT_CST_LOW.
5256 * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
5257 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
5258 Regenerated.
5259 * c-tree.h (min_precision): Move declaration to here.
5260 * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
5261 (build_unary_op, add_pending_init): Use bit_position.
5262 (pending_init_member, process_init_element): Likewise.
5263 (really_start_incremental_init, push_init_level, pop_init_level):
5264 Don't make copies of nodes or modify them in place, use consistent
5265 types when tracking positions, and use tree routines computations.
5266 (set_init_index, output_init_element): Likewise.
5267 (output_pending_init_elements, process_init_element): Likewise.
5268 * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
5269 tree_low_cst and int_bit_position; also minor cleanup.
5270 (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
5271 (print_cst_octal): Precision is unsigned.
5272 (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
5273 * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
5274 (simple_type_align_in_bits): Result is unsigned int.
5275 Use tree_int_low_cst and host_integerp.
5276 (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
5277 (field_byte_offset): Result is HOST_WIDE_INT.
5278 Change types of internal variables so alignments are unsigned int,
5279 offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
5280 Use host_integerp, tree_low_cst, and int_bit_position.
5281 (add_bit_offset_attribute): Likewise.
5282 (add_data_member_location_attribute): Use tree_cst_low.
5283 (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
5284 (add_bit_size_attribute): Use tree_low_cst.
5285 (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
5286 * dwarfout.c: Similar changes to dwarf2out.c.
5287 * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
5288 * genoutput.c (n_occurences): Return -1 for null string.
5289 (strip_whitespace): Accept null string and make into function.
5290 (scan_operands): Reflect above changes.
5291 * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
5292 (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
5293 * ssa.c (rename_registers): Add missing cast of arg to bzero.
5294 * tree.c (int_size_in_bytes): Check for too big to represent.
5295 (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
5296 * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
5297 New declarations.
5298 (min_precision): Delete from here.
5299 * varasm.c (decode_addr_const): Use host_integerp, bit_position,
5300 and int_bit_position.
5301 * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
5302 (encode_method_def): Likewise.
5303 (build_ivar_list_initializer): Use int_bit_position.
5304 (generate_shared_structures): Convert size.
5305 (encode_type, encode_complete_bitfield): Use integer_zerop.
5306 (encode_bitfield): Use tree_low_cst and int_bit_position.
5307
5308 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5309
5310 * config/c4x/c4x.h (CPP_SPEC): Fix typo.
5311
5312 2000-03-17 Martin v. Löwis <loewis@informatik.hu-berlin.de>
5313
5314 * call.c (special_function_p): It is only malloc if it returns
5315 Pmode.
5316
5317 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5318
5319 * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
5320 (C33_FLAG, TARGET_C3X): Add macros.
5321 (TARGET_SWITCHES): Add -m33 option.
5322 * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
5323
5324 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5325
5326 * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
5327 (PARALLEL_PACK_FLAG): Delete.
5328 (TARGET_SWITCHES): Update.
5329 (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
5330
5331 Thu Mar 16 18:52:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5332
5333 * fold-const.c (fold): Fix a few cases when the returned result
5334 is not of the same type as the input.
5335
5336 2000-03-16 Nick Clifton <nickc@cygnus.com>
5337
5338 * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
5339 warning.
5340
5341 2000-03-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5342
5343 * libgcc2.h: Move prototypes above macros with the same name.
5344 Wrap some function prototypes in the conditional which indicates
5345 whether they are supported, i.e. "BITS_PER_UNIT == 8".
5346
5347 2000-03-16 Richard Henderson <rth@cygnus.com>
5348
5349 * calls.c: Revert last two changes.
5350
5351 2000-03-16 Bernd Schmidt <bernds@cygnus.co.uk>
5352
5353 * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
5354 has exponent 0 is a zero.
5355
5356 * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
5357 HASH may already be nonzero. Add code/mode into hash value
5358 immediately after repeat label.
5359 (cselib_lookup): Don't leave the hash table in an inconsistent
5360 state before a hash lookup operation.
5361
5362 Thu Mar 16 17:03:10 MET 2000 Jan Hubicka <jh@suse.cz>
5363
5364 * i386.md (all HI and QI mode non-move patterns): Conditionize
5365 by TARGET_[HQ]IMODE_MATH.
5366 * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
5367 x86_promote_qi_regs): Declare.
5368 (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
5369 TARGET_PROMOTE_QI_REGS): New macros.
5370 (PROMOTE_MODE): New macro.
5371 * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
5372 x86_promote_qi_regs): New global variables.
5373
5374 Thu Mar 16 16:50:44 MET 2000 Jan Hubicka <jh@suse.cz>
5375
5376 * calls.c (emit_library_call_value_1): Break out from ...; handle
5377 VOIDmode function calls too.
5378 (emit_library_call_value): ... here.
5379 (emit_library_call): Implement by calling emit_library_call_value_1.
5380
5381 Thu Mar 16 16:01:30 MET 2000 Jan Hubicka <jh@suse.cz>
5382
5383 * calls.c (expand_call): Do sanity checking on arg_space_so_far.
5384 Update arg_space_so_far on stack adjustments.
5385 (emit_library_call, emit_library_call_value): Likewise; take into
5386 account arg_space_so_far and pending_stack_adjust when calculcating
5387 the boundary.
5388
5389 Thu Mar 16 09:02:19 2000 Jason Eckhardt <jle@cygnus.com>
5390
5391 * flow.c: Move all basic block reordering code into its own file.
5392 (create_basic_block): Externalize.
5393 * bb-reorder.c: New file. Copy all basic block reordering code from
5394 flow.c to this file.
5395 (reorder_basic_blocks): Fix fencepost error in for-loop.
5396 (reorder_basic_blocks): Remove braces from single statement for-loops.
5397 * basic-block.h: Add declaration for create_basic_block.
5398 * Makefile.in: Add rules for bb-reorder.o.
5399
5400 2000-03-16 Neil Booth <NeilB@earthling.net>
5401
5402 * cppinit.c (handle_option): Implement #unassert directive
5403 as -A- command line option.
5404 (print_help): Update.
5405 * cpptexi.c: Update.
5406
5407 Thu Mar 16 02:14:16 2000 Hans-Peter Nilsson <hp@bitrange.com>
5408
5409 * md.texi (Standard Names): Document `jump'.
5410
5411 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
5412
5413 * calls.c (emit_call_1): Nothrow functions can still have nonlocal
5414 gotos.
5415
5416 2000-03-15 Geoff Keating <geoffk@cygnus.com>
5417
5418 Merge changes from newppc-branch onto trunk.
5419
5420 2000-03-15 Geoff Keating <geoffk@cygnus.com>
5421
5422 * rs6000.c (toc_hash_table): Update for new hash table functions.
5423 (toc_hash_function): Likewise.
5424 (toc_hash_eq): Likewise.
5425 (toc_hash_mark_entry): Likewise.
5426 (toc_hash_mark_table): Likewise.
5427 (output_toc): Likewise.
5428 (rs6000_add_gc_roots): Likewise.
5429
5430 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5431
5432 * t-aix43 (AR_FOR_TARGET): Deleted. Moved `-X32_64'...
5433 (AR_FLAGS_FOR_TARGET): here. New macro.
5434
5435 2000-03-05 Clinton Popetz <cpopetz@cygnus.com>
5436
5437 * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
5438 fpmem_operand) Delete.
5439 (xer_operand) New.
5440 (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
5441 (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
5442 (rs6000_save_machine_status, rs6000_restore_machine_status,
5443 rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
5444 references to above variables.
5445 (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
5446 * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
5447 DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
5448 (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
5449 (XER_REGNO_P, XER_REGNO): New.
5450 (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
5451 (PREDICATE_CODES): Change fpmem_operand to xer_operand.
5452 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
5453 XER_REGNO_P.
5454 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
5455 REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS, and remove FLOAT_OR_FPMEM_REGS.
5456 (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
5457
5458 2000-02-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5459
5460 * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
5461 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
5462 * rs6000.h: from here.
5463
5464 * rs6000-protos.h (rs6000_select_section): Provide prototype.
5465 (rs6000_select_rtx_section): Likewise.
5466 (rs6000_encode_section_info): Likewise.
5467 (sdata_section): Likewise.
5468 (sdata2_section): Likewise.
5469 (sbss_section): Likewise.
5470 * sysv4.h (rs6000_select_section): Delete prototype.
5471 (rs6000_select_rtx_section): Likewise.
5472 (rs6000_encode_section_info): Likewise.
5473 (sdata_section): Likewise.
5474 (sdata2_section): Likewise.
5475 (sbss_section): Likewise.
5476 (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
5477
5478 * sysv4.h: Delete various unnecessary #undef's and put a comment
5479 on the remaining ones.
5480 Change various comments according to coding standard.
5481
5482 2000-02-29 Clinton Popetz <cpopetz@cygnus.com>
5483
5484 * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
5485 CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
5486 (CR0_REGNO_P) Remove.
5487 * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
5488 setup_incoming_varargs, mtcrf_operation, print_operand,
5489 rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
5490 Use the above macros.
5491
5492 2000-02-24 Clinton Popetz <cpopetz@cygnus.com>
5493
5494 * config/rs6000/rs6000.md: Added a new alternative for each
5495 pattern that had a 'x' alternative but no 'y' alternative.
5496 Added a new split for each of the above patterns.
5497
5498 2000-02-18 Geoff Keating <geoffk@cygnus.com>
5499
5500 * aix41.h (ASM_CPU_SPEC): Delete.
5501 (CPP_CPU_SPEC): Delete.
5502
5503 * aix.h (RS6000_OUTPUT_BASENAME): Define.
5504 (ASM_OUTPUT_LABEL): Define.
5505 (ASM_GLOBALIZE_LABEL): Define.
5506 (STRIP_NAME_ENCODING): Define.
5507 * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
5508 (STRIP_NAME_ENCODING): Don't define.
5509 (ASM_OUTPUT_LABEL): Don't define.
5510 (ASM_GLOBALIZE_LABEL): Don't define.
5511 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
5512 names, and ASM_OUTPUT_LABEL to output labels, rather than
5513 asm_fprintf.
5514 (ASM_OUTPUT_LABEL): Define.
5515 (ASM_OUTPUT_INT): Use assemble_name.
5516 (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
5517 (STRIP_NAME_ENCODING): Don't undefine first.
5518 (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
5519 ELF.
5520 (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
5521 specified with 'asm' even with -fleading-underscore.
5522 * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
5523 (output_epilog): Likewise.
5524 (output_toc): Likewise.
5525 * tramp.asm: Handle -fleading-underscore correctly.
5526
5527 * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
5528 -mminimal-toc.
5529 (nonlocal_goto_receiver): Delete.
5530 * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
5531
5532 * rs6000.h (ASM_OUTPUT_DEF): Don't define.
5533 (SET_ASM_OP): Define.
5534 * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
5535
5536 * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
5537 (ASM_LONG): Define.
5538
5539 * rs6000.c (rs6000_dll_import_ref): Delete, not used.
5540 * rs6000-protos.h (rs6000_dll_import_ref): Delete.
5541
5542 * rs6000.h: Add 'u' to more constants.
5543
5544 2000-02-18 David Edelsohn <edelsohn@gnu.org>
5545
5546 * rs6000.md (mfcr+shift): Delete PowerPC64 version.
5547
5548 2000-02-15 David Edelsohn <edelsohn@gnu.org>
5549
5550 * rs6000.c (reg_or_u_cint_operand): New function.
5551 (logical_operand): Handle 64-bit hosts.
5552 (logical_u_operand): New function.
5553 (non_logical_cint_operand): Handle 64-bit hosts.
5554 (non_logical_u_cint_operand): New function.
5555 * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
5556 (PREDICATE_CODES): Define new functions.
5557 * rs6000-protos.h: Declare new functions.
5558 * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
5559 (movdi_64): Bracket code intended for 64-bit hosts. Create
5560 CONST_DOUBLE for 32-bit values.
5561 (scc insns): Generate DImode compares.
5562 (mfcr insns): Create DImode versions.
5563 (sge matchers): New patterns.
5564
5565 2000-02-15 Gabriel Paubert <paubert@iram.es>
5566
5567 * rs6000.md: Correct instructions length attributes and
5568 constraints on unsigned compare instructions.
5569 (*ne0): Disable for PowerPC64.
5570
5571 2000-02-11 Geoff Keating <geoffk@cygnus.com>
5572
5573 * rs6000.c (output_function_profiler): Use .long for a 32-bit
5574 quantity, fix profile1.C test failure under -fPIC.
5575
5576 * rs6000.c: Add 'u' to many constants to suppress warnings.
5577 (constant_pool_expr_1): Make static.
5578 (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
5579 * rs6000.h: Add 'u' to many constants to suppress warnings.
5580
5581 * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
5582 for the start of the TOC, instead of LCTOC..0.
5583 * aix.h (toc_section): Use LCTOC..1 under AIX for the start
5584 of the TOC.
5585 * rs6000.md (load_toc_aix_si): Use LCTOC..1.
5586 (load_toc_aix_di): Use LCTOC..1.
5587
5588 * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
5589 * rs6000.c (rs6000_legitimize_address): New function from
5590 LEGITIMIZE_ADDRESS. Only use create_TOC_reference on
5591 symbols in the constant pool that really are TOC references.
5592 (print_operand_address): For ELF, write TOC offsets under
5593 -fPIC as subtractions in the insn.
5594 (output_toc): For ELF, define symbols in TOC as normal labels,
5595 to match RTL.
5596 (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
5597 * rs6000-protos.h (rs6000_legitimize_address): Prototype.
5598 (create_TOC_reference): Prototype only when RTX_CODE is defined.
5599 * rs6000.md (movsi): Only use create_TOC_reference on
5600 symbols in the constant pool that really are TOC references.
5601
5602 * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
5603 * rs6000.c (rs6000_reorg): Delete.
5604 * rs6000-protos.h (rs6000_reorg): Delete.
5605
5606 2000-02-09 Geoff Keating <geoffk@cygnus.com>
5607
5608 * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
5609
5610 * aix.h (SETUP_FRAME_ADDRESSES): Define.
5611 * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
5612 [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
5613 [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
5614 * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
5615 rs6000_aix_emit_builtin_unwind_init.
5616 * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
5617 rs6000_emit_eh_toc_restore on AIX.
5618 (return_eh_si): Use r2.
5619 (return_eh_di): Use r2.
5620
5621 * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
5622 since we're breaking binary compatibility anyway.
5623
5624 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
5625
5626 * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
5627 constant_pool_expr_p): Declare them.
5628 (constant_pool_expr_p): Declare it.
5629 * config/rs6000/rs6000.c (toc_label_name): Define.
5630 (rs6000_override_options): Set toc_label_name.
5631 (input_operand): Allow any TOC_RELATIVE_EXPR_P.
5632 (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
5633 uses_TOC): New functions.
5634 (print_operand): Delete old '*' case.
5635 (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
5636 and strip off rtl for TOC before calling output_addr_const.
5637 (rs6000_emit_load_toc_table): Use toc_label_name.
5638 * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
5639 the default.
5640 (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
5641 (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
5642 (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
5643 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
5644 into explicit TOC_REGISTER offsets.
5645 (TOC_REGISTER): New macro.
5646 * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
5647 TARGET_TOC to reference TOC_REGISTER.
5648 (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
5649 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
5650 uses_TOC before emitting label references.
5651
5652 2000-02-05 Geoff Keating <geoffk@cygnus.com>
5653
5654 * rs6000.md (stack_tie): Fix warning.
5655
5656 * eabi-ctors.c: Use 'asm' names for the start/end variables,
5657 to handle -fleading-underscore.
5658 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
5659 (USER_LABEL_PREFIX): New macro.
5660 (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
5661 (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
5662 * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
5663 call-linux can use the same multilibs.
5664 * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
5665 and call-linux multilibs. Do multilib with -fleading-underscore.
5666 (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
5667 (MULTILIB_EXCEPTIONS): Remove call-linux exceptions. Add restrictions
5668 to call-aix.
5669
5670 * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
5671 have MASK_SOFT_FLOAT set.
5672 (CPP_FLOAT_DEFAULT_SPEC): New macro.
5673 (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
5674 CPP_FLOAT_DEFAULT_SPEC.
5675
5676 * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
5677 * rs6000.md: Whitespace change.
5678 * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
5679 * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
5680
5681 2000-02-05 Geoff Keating <geoffk@cygnus.com>
5682
5683 * rs6000.md (eh_epilogue): New expander.
5684 (eh_reg_restore): New expand/split/insn combination.
5685 (return_eh_si): New insn.
5686 (return_eh_di): New insn.
5687
5688 * eabi-ci.asm: Put a label at the start of the .eh_frame section.
5689 * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
5690 * eabi-ctors.c (__do_global_ctors): Register this object's
5691 frame. Clean up. Call atexit() after the constructors.
5692 (__do_global_dtors): Deregister this object's frame. Clean up.
5693 Allow for recursive calls to exit().
5694 * rs6000.c (fixuplabelno): New variable.
5695 * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
5696 TARGET_RELOCATABLE, it slows down exec() under linux.
5697 (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
5698
5699 * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
5700 (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
5701 (ASM_OUTPUT_DWARF_DELTA2): New macro.
5702 (ASM_OUTPUT_DWARF_DELTA4): New macro.
5703 (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
5704 (ASM_OUTPUT_DWARF_ADDR): New macro.
5705 (ASM_OUTPUT_DWARF_DATA4): New macro.
5706 (ASM_OUTPUT_DWARF_DATA2): New macro.
5707 (ASM_OUTPUT_DWARF_OFFSET4): New macro.
5708 (ASM_OUTPUT_DWARF_OFFSET): New macro.
5709 (UNALIGNED_INT_ASM_OP): New macro, fake definition.
5710
5711 2000-02-03 Geoff Keating <geoffk@cygnus.com>
5712
5713 * rs6000.c (rs6000_sr_alias_set): New variable.
5714 (rs6000_override_options): Initialise rs6000_sr_alias_set.
5715 (rs6000_emit_stack_tie): New function.
5716 (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
5717 in a way that dwarf2out can understand.
5718 (rs6000_frame_related): New function.
5719 (rs6000_emit_prologue): Use rs6000_sr_alias_set. Specify
5720 RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
5721 Use rs6000_emit_stack_tie when needed.
5722 (rs6000_emit_epilogue): Use rs6000_sr_alias_set. Don't set
5723 RTX_FRAME_RELATED_P. Use rs6000_emit_stack_tie when needed.
5724 * rs6000.md (stack_tie): New insn.
5725 (return_internal_si): Allow return value to be in the count
5726 register.
5727 (return_internal_di): Likewise.
5728
5729 * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
5730
5731 2000-02-03 Geoff Keating <geoffk@cygnus.com>
5732
5733 * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
5734
5735 2000-01-31 Geoff Keating <geoffk@cygnus.com>
5736
5737 * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
5738
5739 * rs6000.md (stmw): Use the right POWER opcode.
5740 (lmw): Likewise.
5741
5742 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5743
5744 * rs6000-protos.h: New file.
5745
5746 * rs6000.c: Include tm_p.h. Fix compile time warnings.
5747
5748 * rs6000.h: Move prototypes to rs6000-protos.h. Fix compile time
5749 warnings.
5750
5751 * sysv4.h: Likewise.
5752
5753 2000-01-28 Geoff Keating <geoffk@cygnus.com>
5754
5755 * ../../configure.in: Delete powerpcle-*-winnt*
5756 and powerpcle-*-pe|powerpcle-*-cygwin*.
5757 * ../../configure: Regenerated.
5758 * cygwin.h: Delete.
5759 * rs6000.h (OBJECT_WINDOWS_NT): Delete.
5760 (TARGET_WINDOWS_NT): Delete.
5761 (ABI_NT): Delete.
5762 (CALL_NT_DLLIMPORT): Delete.
5763 Delete NT-specific code.
5764 * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
5765 * win-nt.h: Delete.
5766 * t-winnt: Delete.
5767 * nt-ci.asm: Delete.
5768 * nt-cn.asm: Delete.
5769 * ntstack.asm: Delete.
5770
5771 2000-01-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5772
5773 * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
5774 (ASM_FILE_START): Likewise.
5775 (ASM_DECLARE_FUNCTION_NAME): Likewise.
5776 (ASM_OUTPUT_LABELREF): Likewise.
5777 (ASM_OUTPUT_SKIP): Likewise.
5778 (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
5779 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
5780 (ASM_OUTPUT_CASE_LABEL): Likewise.
5781 (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
5782 (ASM_OUTPUT_ASCII): Likewise.
5783
5784 2000-01-27 Clinton Popetz <cpopetz@cygnus.com>
5785
5786 * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
5787 reload_toc_labelno for non-prologue TOC reloads. Also, don't
5788 increment rs6000_pic_labelno here.
5789 (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
5790 and increment rs6000_pic_labelno here.
5791
5792 2000-01-24 Geoffrey Keating <geoffk@cygnus.com>
5793
5794 * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
5795 rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
5796 allocation knows (reg) is dead before the insn.
5797
5798 2000-01-21 Geoff Keating <geoffk@cygnus.com>
5799
5800 * rs6000.md (movsi_to_cr): Correct typo in output template.
5801
5802 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
5803
5804 * rs6000.c (rs6000_pic_labelno): Always define.
5805 (rs6000_pic_func_labelno): Delete.
5806 (lmw_operation): Check for a zero base register,
5807 which doesn't mean what we want.
5808 (stmw_operation): New function.
5809 (print_operand): Define new 'l' modifier.
5810 (rs6000_stack_info): We must save all 64 bits of the registers
5811 if TARGET_POWERPC64.
5812 (rs6000_output_load_toc_table): Delete.
5813 (rs6000_emit_load_toc_table): New function.
5814 (rs6000_allocate_stack_space): Delete.
5815 (rs6000_emit_allocate_stack): New function.
5816 (rs6000_emit_prologue): New function.
5817 (output_prolog): Use rs6000_emit_prologue.
5818 (rs6000_emit_epilogue): Change a few variable names to be
5819 more accurate. Restore all 64 bits of the registers if
5820 TARGET_POWERPC64. Only restore the FP registers which were used
5821 if they are being saved/restored one-at-a-time.
5822 (output_mi_thunk): Delete inefficient code generation.
5823 (output_function_profiler): Don't use rs6000_output_load_toc_table.
5824 * rs6000.h: Declare rs6000_emit_load_toc_table,
5825 rs6000_allocate_stack_space, stmw_operation. Don't declare
5826 rs6000_output_load_toc_table.
5827 * rs6000.md (elf_high): Allow register 0, but discourage it
5828 heavily.
5829 (elf_low): Support loading into register 0.
5830 (load_toc_aix_si): New pattern.
5831 (load_toc_aix_di): New pattern.
5832 (load_toc_v4_pic_si): New pattern.
5833 (load_toc_v4_pic_di): New pattern.
5834 (load_toc_v4_PIC_1): New pattern.
5835 (load_toc_v4_PIC_1b): New pattern.
5836 (load_toc_v4_PIC_2): New pattern.
5837 (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
5838 (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
5839 (prologue): New expander.
5840 (movesi_from_cr): New pattern.
5841 (stmw): New pattern.
5842 (save_fpregs_si): New pattern.
5843 (save_fpregs_di): New pattern.
5844
5845 2000-01-19 Geoff Keating <geoffk@cygnus.com>
5846
5847 * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
5848 (movdi): Likewise.
5849 (movhi): Likewise.
5850 (movqi): Likewise.
5851
5852 2000-01-19 Geoff Keating <geoffk@cygnus.com>
5853
5854 * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
5855 at present.
5856 (movsi_got_internal): Likewise.
5857 (movsi_got_internal+1): Likewise.
5858 (set_sp): 'unspec 7' does a SImode clobber.
5859
5860 2000-01-19 Geoff Keating <geoffk@cygnus.com>
5861
5862 * rs6000.md (floatsidf2): Don't use the fpmem "register", just
5863 allocate a stack temporary.
5864 (floatsidf2_internal): Likewise.
5865 (floatsidf2_internal+1): Likewise. Don't do bizzare hacks
5866 with unspec.
5867 (floatunssidf2): Don't use the fpmem "register", just
5868 allocate a stack temporary.
5869 (floatunssidf2_internal): Likewise.
5870 (floatunssidf2_internal+1): Likewise. Don't do bizzare hacks
5871 with unspec.
5872 (floatsidf2_loadaddr): Delete.
5873 (floatsidf2_store1): Delete.
5874 (floatsidf2_store2): Delete.
5875 (floatsidf2_load): Delete.
5876 (fix_truncdfsi2): Don't use the fpmem "register", just
5877 allocate a stack temporary.
5878 (fix_truncdfsi2_internal_si): Delete.
5879 (fix_truncdfsi2_internal_di): Delete.
5880 (fix_truncdfsi2_internal): New insn.
5881 (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
5882 (fix_truncdfsi2_store): Delete.
5883 (fix_truncdfsi2_load): Delete.
5884 (fctiwz): Produce gen_fctiwz.
5885
5886 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
5887
5888 * eabi.h (INVOKE__main): Define.
5889 * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
5890 specially.
5891 (rs6000_emit_prologue): Likewise.
5892 * rs6000.h (struct rs6000_stack): Don't keep track of whether
5893 this is the main program.
5894
5895 2000-01-19 Geoff Keating <geoffk@cygnus.com>
5896
5897 * rs6000.c (rs6000_va_arg): Delete some unused variables.
5898
5899 2000-01-19 Geoff Keating <geoffk@cygnus.com>
5900
5901 * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
5902 goes after the argument.
5903
5904 2000-01-12 Geoff Keating <geoffk@cygnus.com>
5905
5906 * rs6000.md: Document 'unspec' values used.
5907 (epilogue): New expander.
5908 (movesi_to_cr_one): New expander.
5909 (movesi_to_cr and following): New pattern.
5910 (lmw): New pattern.
5911 (return_internal_si): New pattern.
5912 (return_internal_di): New pattern.
5913 (return_and_restore_fpregs_si): New pattern.
5914 (return_and_restore_fpregs_di): New pattern.
5915 * rs6000.h: Declare new functions.
5916 * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
5917 rather than rs6000_calls_p.
5918 (rs6000_makes_calls): Delete.
5919 (lmw_operation): New function.
5920 (mtcrf_operation): New function.
5921 (rs6000_emit_epilogue): New function.
5922 (output_epilog): Call rs6000_emit_epilogue and final if
5923 !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
5924
5925 2000-01-12 Geoff Keating <geoffk@cygnus.com>
5926
5927 * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
5928 * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
5929 * aix.h (SUBTARGET_SWITCHES): Document switches.
5930 * rs6000.h: (TARGET_SWITCHES): Don't print options twice. Make
5931 sched-prolog and sched-epilog the same. Document all the
5932 switches.
5933 (TARGET_OPTIONS): No longer allow -mdebug-.
5934
5935 2000-01-12 Geoff Keating <geoffk@cygnus.com>
5936
5937 * rs6000.h (ASM_FILE_END): Move to aix.h.
5938 (EXTRA_SECTIONS): Move to aix.h.
5939 (READONLY_DATA_SECTION): Move to aix.h.
5940 (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
5941 (SELECT_SECTION): Move to aix.h.
5942 (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
5943 (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
5944 (LINK_REGISTER_REGNUM): New definition.
5945 (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
5946 (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
5947 AIX and SVR4.
5948 * sysv4.h: Delete the code between the inclusion of rs6000.h
5949 and svr4.h.
5950 (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
5951 (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
5952 (RS6000_REG_SAVE): Move generic definition to rs6000.h.
5953 (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
5954 * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
5955 (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
5956 (fix_truncdfsi2_internal_di): New pattern.
5957 (fix_truncdfsi2_store): The second arg here is Pmode too.
5958 (fix_truncdfsi2_load): The second arg here is Pmode too.
5959 (tablejumpdi): Now that switch tables hold only SImode values,
5960 gcc needs to know how to add them to the pc which is DImode.
5961 * rs6000.c (rs6000_stack_info): Use symbolic name for
5962 LINK_REGISTER_REGNUM.
5963 (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
5964 (output_toc): Delete unused variables s1 and s2.
5965 (output_ascii): Use fputs not fprintf on a variable string.
5966
5967 2000-01-07 David Edelsohn <edelsohn@gnu.org>
5968
5969 * rs6000.c (processor_target_table): Add power3 as alias for 630.
5970 * aix43.h: Revert Aug 2 change.
5971 (HAS_INIT_SECTION): Define, not visible yet.
5972 (LD_INIT_SWITCH): Define, not visible yet.
5973 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
5974
5975 2000-01-04 Joel Sherrill (joel@OARcorp.com>
5976
5977 * config/rs6000/rtems.h: Include config/rtems.h.
5978
5979 2000-01-04 David Edelsohn <edelsohn@gnu.org>
5980
5981 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
5982 (SLOW_UNALIGNED_ACCESS): Define.
5983 (CASE_VECTOR_MODE): Always use 32-bit offsets.
5984 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
5985 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
5986 (toc_section): Likewise and .toc pseudo-op.
5987 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
5988 64-bit mode.
5989 (TEXT_SECTION_ASM_OP): Likewise.
5990 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
5991 32-bit offsets.
5992
5993 1999-12-17 Jakub Jelinek <jakub@redhat.com>
5994
5995 * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
5996 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
5997 compiling libgcc2.
5998
5999 2000-01-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6000
6001 * rs6000.h: Move more stuff from here...
6002 * aix.h: to here.
6003 * sysv4.h: Cleanup accordingly.
6004 * netware.h: Likewise
6005
6006 2000-01-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6007
6008 * rs6000.h: Continue cleanup.
6009 * aix.h: Likewise.
6010 * lynx.h: Likewise.
6011 * netware.h: Likewise.
6012 * sol2.h: Likewise.
6013 * sysv4.h: Likewise.
6014 * win-nt.h: Likewise.
6015
6016 * rs6000.h (TARGET_SWITCHES): Add descriptions.
6017 (TARGET_OPTIONS): Likewise.
6018
6019 * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
6020 (SUBTARGET_OPTIONS): Likewise.
6021
6022 * rs6000.md: Fix compile time warnings.
6023
6024 2000-01-04 Geoff Keating <geoffk@cygnus.com>
6025
6026 vxworks patches from the Cygnus tree originally by
6027 Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
6028 <vmakarov@cygnus.com>.
6029 * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
6030 (ENDFILE_SPEC): Likewise.
6031 (LIB_VXWORKS_SPEC): New macro.
6032 (STARTFILE_VXWORKS_SPEC): New macro.
6033 (ENDFILE_VXWORKS_SPEC): New macro.
6034 (LINK_START_VXWORKS_SPEC): New macro.
6035 (LINK_OS_VXWORKS_SPEC): New macro.
6036 (CPP_OS_VXWORKS_SPEC): New macro.
6037 (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
6038 * vxppc.h: Rewrite to use proper configuration method.
6039 * vxppcle.h: New file.
6040 * ../../configure.in: Add powerpcle-wrs-vxworks*.
6041 * ../../configure: Rebuilt.
6042
6043 2000-01-04 Geoff Keating <geoffk@cygnus.com>
6044
6045 Lots of changes to rs6000.h, sysv4.h, aix.h,
6046 aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
6047 with the aim that rs6000.h is the first header
6048 included and the others override it.
6049 * aix.h: New file.
6050
6051 * x-aix41-gld: Remove.
6052 * x-aix43: Remove.
6053 * x-aix41: Remove target-specific switches, and don't specify
6054 -Wl,-bbigtoc as we don't need it any more.
6055 * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
6056 Use t-aix43 for AIX 4.3 and above.
6057 * ../../configure: Regenerated.
6058
6059 * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
6060 options, that don't do anything yet.
6061 (MASK_SCHED_PROLOG): New macro.
6062 (MASK_SCHED_EPILOG): New macro.
6063 (TARGET_SCHED_PROLOG): New macro.
6064 (TARGET_SCHED_EPILOG): New macro.
6065
6066 2000-01-04 Geoff Keating <geoffk@cygnus.com>
6067
6068 * rs6000.c: Correct comment, the `minimal' TOCs are actually
6069 one per translation unit, not one per function.
6070 (output_toc): Also do duplicate constant elimination
6071 for per-translation-unit TOCs.
6072
6073 * rs6000.md (nonlocal_goto_receiver): Put it back as before. Add
6074 a comment explaining _exactly_ when this pattern gets used.
6075 (builtin_setjmp_receiver): New pattern for better clarity.
6076 (init_v4_pic): Move it into a section dealing with TOC registers.
6077
6078 1999-12-30 Geoff Keating <geoffk@cygnus.com>
6079
6080 * rs6000.c (toc_hash_table): New variable.
6081 (rs6000_hash_constant): New function.
6082 (toc_hash_function): New function.
6083 (toc_hash_eq): New function.
6084 (toc_hash_mark_entry): New function.
6085 (toc_hash_mark_table): New function.
6086 (output_toc): Don't output duplicate TOC entries in
6087 a single file.
6088 (rs6000_add_gc_roots): Add the hash table as a GC root.
6089 * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
6090 where they clearly shouldn't be. This may need to be fixed
6091 later when there is a GNU ar for AIX.
6092 * x-aix43: Don't define CLIB or AR_FOR_TARGET.
6093 Don't define BOOT_LDFLAGS as it is now not necessary.
6094
6095 1999-12-29 Geoff Keating <geoffk@cygnus.com>
6096
6097 * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
6098 for va_list on AIX. Use unsigned_char_type_node rather than
6099 constructing our own version on svr4.
6100
6101 1999-12-17 Geoff Keating <geoffk@cygnus.com>
6102
6103 * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
6104 since patently it's not.
6105
6106 1999-12-08 Geoff Keating <geoffk@cygnus.com>
6107
6108 * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
6109 define_expand/define_insn pair, and handle restore of the
6110 SVR4 -fpic register.
6111
6112 Wed Mar 15 15:43:38 2000 Jeffrey A Law (law@cygnus.com)
6113
6114 * acconfig.h (HAVE_GAS_WEAK): New define.
6115 * configure.in (assembler weak support): Check for .weak support.
6116 * config.in, configure: Rebuilt.
6117 * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
6118 HAVE_GAS_WEAK is defined.
6119
6120 2000-03-15 Nick Clifton <nickc@cygnus.com>
6121
6122 * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
6123 asm_fprintf().
6124
6125 2000-03-15 Zack Weinberg <zack@wolery.cumb.org>
6126
6127 * cppfiles.c (open_include_file): New function.
6128 (find_include_file, cpp_read_file): Use it.
6129
6130 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
6131
6132 * cpphash.c (dump_hash_helper): Take the slot, not the element.
6133
6134 Wed Mar 15 14:28:54 2000 Jason Eckhardt <jle@cygnus.com>
6135
6136 * flow.c (verify_flow_info): Check for unconditional return.
6137
6138 Wed Mar 15 11:34:27 2000 Jim Wilson <wilson@cygnus.com>
6139
6140 * config/ia64/ia64.md (restore_stack_nonlocal): New.
6141 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
6142 (__ia64_restore_stack_nonlocal): New.
6143 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
6144
6145 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6146
6147 * cpphash.c (collect_formal_parameters): Do not complain about
6148 parameter names that just start with `__VA_ARGS__'.
6149
6150 Wed Mar 15 13:26:58 MET 2000 Jan Hubicka <jh@suse.cz>
6151
6152 * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
6153 movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
6154 * i386.c (pentiumpro_cost): Set mul cost to 4.
6155 (x86_use_movx): Set for PPro.
6156
6157 Wed Mar 15 13:07:05 MET 2000 Jan Hubicka <jh@suse.cz>
6158
6159 * i386.md (ix86_compute_frame_size): stack_alignment_needed is
6160 STACK_BOUNDARY for empty frames now.
6161
6162 2000-03-14 Mark Mitchell <mark@codesourcery.com>
6163
6164 * stor-layout.c (layout_union): Remove.
6165 (layout_union_field): New function, split out from layout_union.
6166 (finish_union_layout): Likewise.
6167 (layout_field): Handle unions by calling layout_union_field.
6168 (finish_record_layout): Handle unions.
6169 (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
6170 QUAL_UNION_TYPE handling.
6171
6172 Wed Feb 23 13:00:06 CET 2000 Jan Hubicka <jh@suse.cz>
6173
6174 * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
6175 end of basic block is jump_insn, not barrier; use create_basic_block
6176 instead of creating basic block by hand.
6177
6178 2000-03-14 Jason Eckhardt <jle@cygnus.com>
6179
6180 * flow.c (reorder_basic_blocks): Account for barriers when writing
6181 over NEXT_INSN (last_bb->end).
6182 (verify_flow_info): Add check for missing barriers.
6183
6184 2000-03-14 Greg McGary <gkm@gnu.org>
6185
6186 * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
6187 * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
6188 * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
6189 __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
6190 __unbounded, __unbounded__): New keywords.
6191 * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
6192 * c-parse.y, c-parse.c, c-parse.h: Regenerate.
6193 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
6194
6195 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
6196
6197 * cselib.h: New file.
6198 * alias.c: Include "cselib.h".
6199 (fixed_scalar_and_varying_struct_p): Accept the addresses of the
6200 MEMs as two new arguments.
6201 (get_addr): New static function.
6202 (find_base_term): Handle VALUEs.
6203 (memrefs_conflict_p): Likewise.
6204 (true_dependence): Call get_addr on the addresses.
6205 Call fixed_scalar_and_varying_struct_p with addresses that have been
6206 passed through get_addr and canon_rtx.
6207 (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
6208 with true_dependence.
6209 Call get_addr on the addresses; don't call canon_rtx on the MEMs.
6210 * loop.c: Include "cselib.h".
6211 (load_mems): Process extended basic block that enters the loop with
6212 cselib. Use that information to change initialization of the shadow
6213 register so that a constant equivalence is seen by later passes.
6214 * reload1.c: Include "cselib.h".
6215 (reload_cse_invalidate_regno): Delete function.
6216 (reload_cse_mem_conflict_p): Likewise.
6217 (reload_cse_invalidate_mem): Likewise.
6218 (reload_cse_invalidate_rtx): Likewise.
6219 (reload_cse_regno_equal_p): Likewise.
6220 (reload_cse_check_clobber): Likewise.
6221 (reload_cse_record_set): Likewise.
6222 (reg_values): Delete static variable.
6223 (invalidate_regno_rtx): Likewise.
6224 (reload_cse_delete_noop_set): New static function.
6225 (reload_cse_simplify): New static function, broken out of
6226 reload_cse_regs_1.
6227 (reload_cse_noop_set_p): Delete unused argument INSN.
6228 Just call rtx_equal_for_cselib_p on set source and destination.
6229 (reload_cse_regs_1): Break out some code into reload_cse_simplify and
6230 reload_cse_delete_noop_set. Delete code to keep track of values; use
6231 cselib functions instead. Delete code to push/pop obstacks.
6232 (reload_cse_simplify_set): Use cselib to find equivalent values.
6233 Delete code to push/pop obstacks.
6234 (reload_cse_simplify_operands): Likewise.
6235 * rtl.def (VALUE): New rtx code.
6236 * rtl.h (union rtunion_def): New elt rt_cselib.
6237 (X0CSELIB, CSELIB_VAL_PTR): New macros.
6238 * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
6239 (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
6240 unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
6241 discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
6242 hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
6243 cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
6244 cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
6245 cselib_record_set, cselib_record_sets): New static functions.
6246 (cselib_lookup, cselib_update_varray_sizes, cselib_init,
6247 cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
6248 references_value_p): New functions.
6249 (MAX_USELESS_VALUES, REG_VALUES): New macros.
6250 (table, cselib_current_insn, next_unknown_value, cselib_nregs,
6251 n_useless_values, reg_values, callmem, cselib_obstack,
6252 cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
6253 New static variables.
6254 * varray.h (union varray_data_tag): New elt te.
6255 (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
6256 * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
6257 dependencies.
6258
6259 2000-03-14 Nick Clifton <nickc@cygnus.com>
6260
6261 * gcc.c (do_spec_1): Catch the case where %* is used in a
6262 substitution pattern, but it has not been initialised.
6263 Issue a meaningful error message if an unrecognised operator
6264 is encountered in a spec string.
6265
6266 2000-03-14 Richard Earnshaw <rearnsha@arm.com>
6267
6268 * function.c (prepare_function_start): Correctly initialize
6269 cfun->stack_alignment_needed.
6270
6271 2000-03-14 Zack Weinberg <zack@wolery.cumb.org>
6272
6273 * cppfiles.c (find_include_file): Don't assume nshort is a
6274 substring of name.
6275
6276 Tue Mar 14 08:42:21 2000 Jeffrey A Law (law@cygnus.com)
6277
6278 * configure.in (hppa configurations): Add pa32-regs.h to the
6279 list of tm files as appropriate.
6280 * configure: Rebuilt.
6281 * pa.c (compute_frame_size): Remove explicit knowledge about FP
6282 register numbering.
6283 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
6284 (fmpyaddoperands, fmpysuboperands): Likewise.
6285 * pa.h: Remove various definitions which depend on knowing
6286 how registers are numbered.
6287 * pa32-regs.h: New file with PA32 register numbering specific
6288 definitions.
6289
6290 2000-03-14 Richard Henderson <rth@cygnus.com>
6291
6292 * regmove.c (combine_stack_adjustments): New.
6293 (stack_memref_p, single_set_for_csa): New.
6294 (free_csa_memlist, record_one_stack_memref): New.
6295 (try_apply_stack_adjustment): New.
6296 (combine_stack_adjustments_for_block): New.
6297 * rtl.h (combine_stack_adjustments): Declare.
6298 * toplev.c (rest_of_compilation): Call it.
6299
6300 * i386.md: Revert 2000-01-16 change.
6301
6302 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
6303
6304 * gccbug.in: Add web category, gcc specific classes.
6305
6306 2000-03-14 Nathan Sidwell <nathan@codesourcery.com>
6307
6308 * stor-layout.c (finalize_record_size): Fix typo.
6309
6310 2000-03-14 Stan Shebs <shebs@apple.com>
6311
6312 * c-typeck.c (c_alignof): Error on incomplete types.
6313 * extend.texi (Alignment): Document this.
6314
6315 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
6316
6317 * cppfiles.c: Include mkdeps.h.
6318 (find_include_file, read_include_file): Remove _cpp_ prefix
6319 from name, make static.
6320 (_cpp_execute_include): New function, broken out of
6321 do_include.
6322
6323 * cpplib.c: Don't include mkdeps.h.
6324 (struct directive): Remove type field. Reorder entries. The
6325 function takes only one argument.
6326 (struct if_stack): Make type field an int.
6327 (directive_table): Rename to dtable. Generate it, the
6328 prototypes of the directive handlers, and the enum for the
6329 directive numbers, from a template macro.
6330 (do_ifndef, do_include_next, do_import): New functions.
6331 (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
6332 do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
6333 do_ident, do_assert, do_unassert, do_sccs): Take only one
6334 argument.
6335 (do_sccs): Define always, but alter behavior based on
6336 SCCS_DIRECTIVE.
6337 (_cpp_handle_directive, consider_directive_while_skipping):
6338 Restructure for new directive table layout.
6339
6340 (pass_thru_directive): Take a directive number, not a pointer
6341 to a struct directive.
6342 (parse_include): New function, broken out of do_include.
6343 (do_include, do_import, do_include_next): Use parse_include
6344 and _cpp_execute_include.
6345 (do_elif, do_else): Test for T_ELSE specifically when checking
6346 for #elif/#else after #else.
6347 (parse_ifdef): New function, broken out of do_ifdef.
6348 (validate_else): Expect a name arg without a leading #.
6349 (if_directive_name): Delete.
6350 (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
6351 directive handlers with only one argument.
6352
6353 * cpphash.h: Update prototypes.
6354 (enum node_type): Remove entries for directives.
6355 * Makefile.in: Update dependencies.
6356
6357 * cpphash.c (dump_hash_helper): Only dump nodes of type
6358 T_MACRO. Emit a newline after each definition.
6359
6360 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
6361
6362 * gccbug.in: New file.
6363 * configure.in (all_outputs): Add gccbug.
6364 * Makefile.in (install-common): Install gccbug.
6365 (GCCBUG_INSTALL_NAME): New variable.
6366 * configure: Rebuilt.
6367
6368 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
6369
6370 * function.c (put_var_into_stack): Use type_for_mode to calculate
6371 part_type. Use MEM_SET_IN_STRUCT_P.
6372 * expr.c (store_field): Handle CONCAT.
6373 (store_constructor): Use fields_length.
6374 * tree.c (fields_length): New fn.
6375 * tree.h: Declare it.
6376
6377 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
6378
6379 * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
6380 (cpplex.o): New target.
6381 * po/POTFILES.in: Add cpplex.c.
6382
6383 * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
6384 cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
6385 cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
6386 skip_block_comment, skip_line_comment, skip_comment,
6387 copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
6388 _cpp_parse_name, skip_string, parse_string,
6389 _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
6390 _cpp_get_directive_token, find_position,
6391 _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
6392 (maybe_macroexpand, _cpp_lex_token): New functions.
6393
6394 * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
6395 parse_goto_mark): Delete.
6396 (_cpp_handle_eof): New function.
6397 (_cpp_handle_directive): Rename from handle_directive.
6398 (_cpp_output_line_command): Rename from output_line_command.
6399 (do_if, do_elif): Call _cpp_parse_expr directly.
6400 * cppfiles.c (_cpp_read_include_file): Don't call
6401 init_input_buffer here.
6402 * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
6403 * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
6404 here; pop the token_buffer and skip the rest of the line here.
6405 * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
6406 here.
6407
6408 * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
6409 Define here.
6410 (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
6411 CPP_GOTO_MARK): New macros.
6412 (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
6413 _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
6414 _cpp_read_and_prescan, _cpp_init_input_buffer,
6415 _cpp_grow_token_buffer, _cpp_get_directive_token,
6416 _cpp_handle_directive, _cpp_handle_eof,
6417 _cpp_output_line_command): Prototype them here.
6418 * cpplib.h (enum cpp_token): Add CPP_MACRO.
6419 (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
6420 quote_string, output_line_command): Remove.
6421
6422 2000-03-13 Bernd Schmidt <bernds@cygnus.co.uk>
6423
6424 * stmt.c (expand_end_case): RANGE may be signed, and when checking
6425 whether it is too large we must also verify that it isn't negative.
6426
6427 2000-03-13 Jakub Jelinek <jakub@redhat.com>
6428
6429 * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
6430 (movsi_zero_liveg0): Remove.
6431 (movsf_insn_novis_liveg0): Remove.
6432 (negsi2): Remove.
6433 (negsi2_not_liveg0): Rename to negsi2.
6434 (one_cmplsi2): Remove.
6435 (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
6436 (one_cmplsi2_liveg0): Remove.
6437 * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
6438 MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
6439 (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
6440 (PREDICATE_CODES): Remove zero_operand.
6441 * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
6442 TARGET_BROKEN_SAVERESTORE.
6443 (zero_operand): Remove.
6444 * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
6445 -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
6446 options.
6447 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
6448 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
6449 TARGET_BROKEN_SAVERESTORE): Remove.
6450 * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
6451 Remove.
6452 * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
6453 Remove.
6454 * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
6455 Remove.
6456
6457 * config/sparc/sparc.md (return_df_no_fpu): New pattern.
6458
6459 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
6460
6461 * cpplib.c (do_pragma_implementation): Fix off-by-one error
6462 truncating a string. Don't assume tokens are nul terminated.
6463 Problem noted by Andreas Jaeger <aj@suse.de>
6464
6465 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
6466
6467 * dwarf2out.c (add_name_and_src_coords_attributes): Only add
6468 DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
6469 (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
6470
6471 2000-03-13 Richard Earnshaw <rearnsha@arm.com>
6472
6473 * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
6474 STRUCTURE_SIZE_BOUNDARY.
6475
6476 2000-03-13 Mark Mitchell <mark@codesourcery.com>
6477
6478 * tree.h (record_layout_info_s): New structure.
6479 (record_layout_info): New type.
6480 (new_record_layout_info): New function.
6481 (layout_field): Likewise.
6482 (finish_record_layout): Likewise.
6483 * stor-layout.c (layout_record): Remove.
6484 (new_record_layout_info): New function.
6485 (layout_field): New function, broken out from layout_record.
6486 (finalize_record_size): Likewise.
6487 (compute_record_mode): Likewise.
6488 (finalize_type_size): New function, broken out from layout_type.
6489 (finish_record_layout): Likewise.
6490 (layout_type): Use them.
6491
6492 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
6493
6494 * cpphash.c: Don't include version.h.
6495 (special_symbol) [case T_VERSION]: Look for the string in
6496 hp->value.cpval; don't use version_string.
6497 * cppinit.c (initialize_builtins): Set hp->value.cpval for
6498 __VERSION__ to version_string.
6499 * Makefile.in (cpphash.o): Update deps.
6500
6501 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
6502
6503 Convert cpplib to use libiberty/hashtab.c.
6504
6505 * cpplib.h (struct cpp_reader): Make hashtab and
6506 all_include_files of type 'struct htab *'. Delete HASHSIZE
6507 and ALL_INCLUDE_HASHSIZE macros.
6508
6509 * cpphash.h: Update prototypes.
6510 (struct hashnode): Remove next, prev, and bucket_hdr members.
6511 Make length a size_t. Add hash member.
6512 (struct ihash): Remove next member. Add hash member. Make
6513 name a flexible array member.
6514
6515 * cppfiles.c: Include hashtab.h.
6516 (include_hash): Delete.
6517 (IHASHSIZE): New macro.
6518 (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
6519 (cpp_included): Do the hash lookup here.
6520 (_cpp_find_include_file): Rewrite.
6521 (cpp_read_file): Put the "fake" hash entry into the hash
6522 table. Honor the control_macro, if it turns out we've seen
6523 the file before. Don't push the buffer here.
6524 (_cpp_read_include_file): Push the buffer here.
6525 (OMODES): New macro. Use it whenever we call open(2).
6526
6527 * cpphash.c: Include hashtab.h.
6528 (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
6529 _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
6530 _cpp_lookup_slot): New functions.
6531 (HASHSIZE): new macro.
6532 (hashf, _cpp_install, _cpp_delete_macro): Delete.
6533 (_cpp_lookup): Use hashtab.h routines.
6534
6535 * cppinit.c: Include hashtab.h.
6536 (cpp_reader_init): Call _cpp_init_macro_hash and
6537 _cpp_init_include_hash. Don't allocate hashtab directly.
6538 (cpp_cleanup): Just call htab_delete on pfile->hashtab and
6539 pfile->all_include_files.
6540 (initialize_builtins): Use _cpp_make_hashnode and
6541 htab_find_slot to add hash entries.
6542 (cpp_finish): Just call _cpp_dump_macro_hash.
6543 * cpplib.c: Include hashtab.h.
6544 (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
6545 create hash entries.
6546 (do_pragma_poison, do_assert): Likewise.
6547 (do_include): Don't push the buffer here. Don't increment
6548 system_include_depth unless _cpp_read_include_file succeeds.
6549 (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
6550 or htab_remove_elt.
6551 (do_pragma_implementation): Use alloca to create copy.
6552
6553 * Makefile.in: Update dependencies.
6554
6555 2000-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6556
6557 * cppinit.c (cl_directive_handler): More K&R fixing.
6558
6559 Sat Mar 11 23:54:26 2000 Jim Wilson <wilson@cygnus.com>
6560
6561 * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
6562 STACK_BOUNDARY.
6563 * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
6564
6565 2000-03-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6566
6567 * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
6568 Change from char[] to macros.
6569
6570 2000-03-12 Neil Booth <NeilB@earthling.net>
6571
6572 * cppinit.c (cpp_start_read): Update indirect function
6573 call to K&R C.
6574
6575 Sat Mar 11 16:18:12 2000 Jim Wilson <wilson@cygnus.com>
6576
6577 * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
6578 entry.
6579
6580 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
6581 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
6582
6583 2000-03-11 Neil Booth <NeilB@earthling.net>
6584
6585 * cppinit.c (struct pending option): Replace undef with a
6586 pointer to a directive handling routine.
6587 (struct cpp_pending): Replace separate assert_ and define_
6588 lists with one directive_ list.
6589 (new_pending_define): Rename new_pending_directive. Extra
6590 argument is the directive's handling routine.
6591 (handle_option): Update to use new_pending_directive.
6592
6593 2000-03-11 Neil Booth <NeilB@earthling.net>
6594
6595 * cppfiles.c (file_cleanup, _cpp_find_include_file,
6596 remap_filename, _cpp_read_include_file, actual_directory,
6597 hack_vms_include_specification): Replace bcopy(), index() etc
6598 calls. Add casts to some allocations. Make some variables
6599 pointers to const [unsigned] char.
6600 * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
6601 collect_formal_parameters): Similarly.
6602 * cppinit.c (struct pending_option, append_include_chain,
6603 cpp_options_init, cpp_reader_init, initialize_standard_includes,
6604 cpp_start_read, new_pending_define, handle_option): Similarly.
6605 * cpplib.c (cpp_define, copy_comment, do_define, do_include,
6606 do_undef, do_error, do_warning, do_pragma, do_pragma_once,
6607 do_pragma_implementation, detect_if_not_defined,
6608 do_ifdef, skip_if_group, cpp_get_token, parse_string,
6609 do_assert, do_unassert): Similarly.
6610 * cpplib.h (cpp_buffer, cpp_options): Update types. Update
6611 function prototypes.
6612 * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
6613
6614 2000-03-10 Richard Henderson <rth@cygnus.com>
6615
6616 * builtins.c (expand_builtin_strlen): Revert last change.
6617 Use emit_insn_before if we're at the beginning of a sequence.
6618
6619 2000-03-10 Jason Merrill <jason@casey.cygnus.com>
6620
6621 * builtins.c (expand_builtin_strlen): Make sure that we have something
6622 at the beginning of the sequence.
6623
6624 * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
6625 deferred inlines.
6626
6627 * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
6628
6629 2000-03-10 Richard Henderson <rth@cygnus.com>
6630
6631 * except.c (can_throw): Use INTVAL on a CONST_INT.
6632 (reachable_handlers): Likewise.
6633 * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
6634
6635 2000-03-10 Andreas Jaeger <aj@suse.de>
6636
6637 * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
6638 MD_STARTFILE_PREFIX since those are not needed on linux.
6639 (ASM_FILE_START): New, from mips/gnu.h.
6640
6641 2000-03-09 Richard Henderson <rth@cygnus.com>
6642 Alex Samuel <samuel@codesourcery.com> and others
6643
6644 * Makefile.in (ssa.o): New rule.
6645 (OBJS): Add ssa.o.
6646 (STAGESTUFF): Add *.ssa and *.ussa.
6647 (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
6648 * rtl.def (PHI): New RTL expression.
6649 * rtl.h (clear_log_links): New declaration.
6650 (convert_to_ssa): Likewise.
6651 (convert_from_ssa): Likewise.
6652 * flow.c (split_edge): If the entry node falls through to the
6653 split edge's source block, split the entry edge.
6654 (clear_log_links): New function.
6655 * toplev.c (ssa_dump): New variable.
6656 (flag_ssa): Likewise.
6657 (f_options): Add "ssa".
6658 (compile_file): Create SSA dump files.
6659 (rest_of_compilation): Go to and from SSA if enabled.
6660 (decide_d_option): Handle -de for SSA dump files.
6661 * ssa.c: New file.
6662
6663 Thu Mar 9 20:01:38 2000 Jim Wilson <wilson@cygnus.com>
6664
6665 * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
6666 same as VAR_DECL.
6667
6668 2000-03-09 Benjamin Kosnik <bkoz@cygnus.com>
6669
6670 * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
6671
6672 Thu Mar 9 18:10:02 2000 Jeffrey A Law (law@cygnus.com)
6673
6674 * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
6675 (MD_STARTFILE_PREFIX_1): New macro.
6676
6677 2000-03-09 Robert Lipe <robertl@sco.com>
6678
6679 * config/ia64/ia64.c: Include system.h.
6680
6681 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
6682
6683 * except.c (nothrow_function_p): If -fno-exceptions, just return.
6684 (init_eh_nesting_info): Likewise.
6685
6686 * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
6687 (TREE_NOTHROW): Rename from TREE_RAISES.
6688 * toplev.c (rest_of_compilation): Set it.
6689 * print-tree.c (print_node): Adjust.
6690 * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
6691 (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
6692 * calls.c (emit_call_1): Add 'nothrow' parm. Add
6693 REG_EH_REGION note as appropriate.
6694 (libfunc_nothrow): New fn.
6695 (emit_library_call, emit_library_call_value): Use it.
6696 (expand_call): Check TREE_NOTHROW.
6697
6698 * varasm.c (make_decl_rtl): Skip initial '*' when setting
6699 DECL_ASSEMBLER_NAME.
6700
6701 2000-03-09 Andreas Jaeger <aj@suse.de>
6702
6703 * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
6704 (TARGET_MEM_FUNCTIONS): Define.
6705
6706 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
6707
6708 * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
6709
6710 * except.c (can_throw): See through a SEQUENCE.
6711 (nothrow_function_p): New fn.
6712 * except.h: Declare it.
6713 * function.c (current_function_nothrow): New var.
6714 (prepare_function_start): Initialize it.
6715 * output.h: Declare it.
6716 * toplev.c (rest_of_compilation): Set it.
6717 * dwarf2out.c (dwarf2out_begin_prologue): Use it.
6718
6719 2000-03-09 Zack Weinberg <zack@wolery.cumb.org>
6720
6721 * cpphash.c (collect_formal_parameters): strncmp returns 0 for
6722 match. (cpp_compare_defs): Count the nul separator when
6723 advancing over argument names.
6724
6725 2000-03-09 Bernd Schmidt <bernds@cygnus.co.uk>
6726
6727 * recog.c (preprocess_constraints): Matching constraints affect
6728 same alternative/different operand, not same operand/different
6729 alternative.
6730
6731 * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
6732 register and a constant specially.
6733
6734 2000-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6735
6736 * libgcc2.h: New file.
6737 * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
6738
6739 Wed Mar 8 16:19:42 2000 Jim Wilson <wilson@cygnus.com>
6740
6741 * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
6742 * configure: Regenerate.
6743 * config/ia64: New.
6744
6745 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
6746
6747 * Makefile.in (LIBCPP_DEPS): New macro.
6748 (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
6749 it to declare deps.
6750 * cpperror.c: Include cpphash.h.
6751 * cppexp.c: Include cpphash.h. Remove MULTIBYTE_CHARS
6752 dingleberry.
6753 (lex): Don't use CPP_WARN_UNDEF.
6754 (_cpp_parse_expr): Return an int, the truth value.
6755 * cppfiles.c: Include cpphash.h.
6756 (_cpp_merge_include_chains): Move to cppinit.c and make static.
6757 * cppinit.c (include_defaults_array): Disentangle.
6758 (cpp_cleanup): Don't free the if stack here.
6759 (cpp_finish): Pop off all buffers, not just one.
6760 * cpplib.c (eval_if_expr): Return int.
6761 (do_xifdef): Rename do_ifdef.
6762 (handle_directive): Don't use CPP_PREPROCESSED.
6763 (cpp_get_token): Don't use CPP_C89.
6764 * fix-header.c: Don't use CPP_OPTIONS.
6765
6766 * cpplib.h: Move U_CHAR, enum node_type, struct
6767 file_name_list, struct ihash, is_idchar, is_idstart,
6768 is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
6769 CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
6770 CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
6771 CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
6772 CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
6773 of _cpp_simplify_pathname, _cpp_find_include_file,
6774 _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
6775 Move struct if_stack to cpplib.c. Move struct cpp_pending to
6776 cppinit.c.
6777 Change all uses of U_CHAR to be unsigned char instead.
6778 Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
6779
6780 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
6781
6782 * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
6783 (dwarf2out_begin_prologue): Set it.
6784 (output_call_frame_info): Don't emit EH unwind info for leaves.
6785
6786 * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
6787 can occur outside of an EH region.
6788 * except.c: Correct comments about rethrow behavior.
6789 (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
6790
6791 2000-03-08 Andrew MacLeod <amacleod@cygnus.com>
6792
6793 * flow.c (make_edges): Always call make_eh_edge for calls.
6794
6795 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
6796
6797 * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
6798 (struct cpp_buffer): Remove fname and underflow fields.
6799 (struct cpp_reader): Remove get_token field.
6800 (struct include_hash): Rename to struct ihash. Add typedef to
6801 IHASH.
6802 (struct if_stack): Remove fname field.
6803 (IF_STACK_FRAME): Rename to IF_STACK.
6804
6805 * cpperror.c (print_containing_files): Trust that there are no
6806 macro buffers below the top file buffer.
6807 * cppfiles.c: Replace all references to 'struct include_hash'
6808 with 'IHASH'. Rename initialize_input_buffer to
6809 init_input_buffer. Don't set or reference cpp_buffer->fname,
6810 use buffer->ihash->name instead.
6811 * cpphash.c (special_symbol): Use cpp_file_buffer. Use NULL
6812 not CPP_NULL_BUFFER.
6813 * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
6814 IF_STACK_FRAME, IHASH not struct include_hash.
6815 * cpplib.c: Rename eval_if_expression to eval_if_expr. Remove
6816 null_underflow. Use IF_STACK not IF_STACK_FRAME, IHASH not
6817 struct include_hash, NULL not CPP_NULL_BUFFER. Remove all
6818 references to cpp_buffer->fname (delete entirely, or use
6819 ->ihash->name instead) and IF_STACK->fname.
6820 (cpp_push_buffer): Don't set new->underflow.
6821 (do_include): Use cpp_file_buffer.
6822
6823 * cpphash.c (collect_formal_parameters): Remove duplicate
6824 increment of argslen. Pedwarn in C99 mode if __VA_ARGS__ is
6825 used as a macro argument name. Don't append "..." to namebuf
6826 for varargs macros. After we're done scanning, go through
6827 namebuf and make it NUL separated, not comma separated.
6828 (_cpp_compare_defs): Remove register tag from variables.
6829 Expect defn->argnames to be NUL separated.
6830 (_cpp_dump_definition): Expect defn->argnames to be NUL
6831 separated and in forward order.
6832 * cpphash.h: Update documentation of argnames field.
6833
6834 2000-03-08 Richard Henderson <rth@cygnus.com>
6835
6836 * builtins.c (expand_builtin_strlen): Be prepared for strlensi
6837 to fail. Don't pre-expand the source operand.
6838
6839 * i386.md (strlensi): Initialize eoschar and align before use.
6840
6841 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
6842
6843 * expr.c (expand_expr, case ARRAY_REF): Still check for missing
6844 CONSTRUCTOR element.
6845
6846 2000-03-08 Gavin Romig-Koch <gavin@cetus.cygnus.com>
6847
6848 * mips.c (mips_expand_prologue): If the last
6849 named argument is the vararg marker "va_list", treat it as
6850 an unnamed argument.
6851
6852 2000-03-08 Clinton Popetz <cpopetz@cygnus.com>
6853
6854 * dbxout.c (dbxout_parms): When correcting for promoted
6855 big-endian parameters, use the mode of the DECL_RTL rather
6856 than UNITS_PER_WORD.
6857
6858 2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
6859
6860 * c-common.h (make_fname_decl): Declare.
6861 * c-common.c (make_fname_decl): Define.
6862 (declare_hidden_char_array): Remove.
6863 (declare_function_name): Use make_fname_decl.
6864 * c-decl.c (c_make_fname_decl): New function.
6865 (init_decl_processing): Set make_fname_decl.
6866
6867 Tue Mar 7 23:50:31 2000 Jeffrey A Law (law@cygnus.com)
6868
6869 * cccp.c (handle_directive): Initialize backslash_newlines_p.
6870
6871 2000-03-07 Philipp Thomas <pthomas@suse.de>
6872
6873 * po/POTFILES.in: Remove cppalloc.c from file list.
6874
6875 2000-03-07 Steve Chamberlain <sac@pobox.com>
6876
6877 * pj.c (pj_expand_prologue): current_function->args_info is
6878 now current_function_args_info.
6879
6880 * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
6881 LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
6882 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
6883
6884 2000-03-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6885
6886 * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
6887 output as hexadecimal rather than the default octal.
6888
6889 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
6890
6891 * cpphash.c (special_symbol): Fix thinko in previous commit.
6892
6893 2000-03-07 Neil Booth <NeilB@earthling.net>
6894
6895 * cppexp.c (struct operation, left_shift, right_shift,
6896 cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
6897 "int"s to "unsigned int"s.
6898 * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
6899 Similarly.
6900 * cpplib.h: Update for above.
6901 * mkdeps.c (deps_init, deps_calc_target): Cast pointers
6902 returned from allocations.
6903
6904 * cppinit.c (opt_comp, parse_options): New functions.
6905 (handle_option): Use parse_option to parse a single command
6906 line option, that possibly takes an argument.
6907 (cpp_handle_options): Sort the array of command line options on
6908 first invocation (non-ASCII hosts only).
6909 (print_help): Update.
6910
6911 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
6912
6913 * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
6914 backslash counting loops. Problem noted by Matt Kraai <kraai@ghs.com>.
6915
6916 * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
6917 initialized.
6918 * cppinit.c (cpp_cleanup): Free imp->nshort also.
6919
6920 * cpperror.c (cpp_print_containing_files,
6921 cpp_print_file_and_line, v_cpp_message): Rename to
6922 print_containing_files, print_file_and_line, and v_message.
6923 * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
6924 to _cpp_parse_expr, parse_escape, and lex.
6925 (parse_charconst): Remove broken multibyte support.
6926 * cppfiles.c (include_hash): Make static.
6927 (cpp_included): New function.
6928 (merge_include_chains, find_include_file, finclude,
6929 simplify_pathname): Rename to _cpp_merge_include_chains,
6930 _cpp_find_include_file, _cpp_read_include_file, and
6931 _cpp_simplify_pathname.
6932 * cpphash.c (cpp_lookup, free_definition, delete_macro,
6933 cpp_install, create_definition, macroexpand, compare_defs,
6934 dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
6935 _cpp_delete_macro, _cpp_install, _cpp_create_definition,
6936 _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
6937 * cppinit.c (cpp_handle_option): Rename to handle_option, make
6938 static.
6939 * cpplib.c: Remove extern prototype of cpp_parse_expr.
6940
6941 * cpphash.h: Update prototypes.
6942 * cpplib.h: Likewise. Prototype _cpp_parse_expr here.
6943
6944 2000-03-07 Andrew Haley <aph@cygnus.com>
6945
6946 * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
6947 PTRDIFF_TYPE should be based solely on Pmode.
6948 (SIZE_TYPE): ditto.
6949
6950 2000-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6951
6952 * rtl.h (rtunion_def): Constify member `rtstr'.
6953 (emit_line_note_after, emit_line_note, emit_line_note_force,
6954 emit_note, decode_asm_operands): Constify.
6955
6956 * cse.c (canon_hash): Likewise.
6957
6958 * dbxout.c (dbxout_block): Likewise.
6959
6960 * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
6961 v_warning_for_asm): Likewise.
6962
6963 * dwarfout.c (function_start_label): Likewise.
6964
6965 * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
6966 emit_line_note_force): Likewise.
6967
6968 * final.c (last_filename, asm_insn_count, final_scan_insn,
6969 output_source_line): Likewise.
6970
6971 * function.h (struct emit_status): Likewise.
6972
6973 * gcse.c (hash_expr_1): Likewise.
6974
6975 * genattr.c (gen_attr, main): Likewise.
6976
6977 * genattrtab.c (struct function_unit, current_alternative_string,
6978 write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
6979 attr_numeral, check_attr_test, check_attr_value,
6980 convert_set_attr_alternative, convert_set_attr,
6981 compute_alternative_mask, simplify_by_exploding, gen_attr,
6982 gen_unit): Likewise.
6983
6984 * genflags.c (gen_insn): Likewise.
6985
6986 * gengenrtl.c (type_from_format): Likewise.
6987
6988 * genopinit.c (gen_insn): Likewise.
6989
6990 * genoutput.c (n_occurrences, process_template, process_template):
6991 Likewise.
6992
6993 * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
6994 Likewise.
6995
6996 * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
6997 Likewise.
6998
6999 * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
7000 ggc_set_mark, ggc_get_size): Likewise.
7001
7002 * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
7003
7004 * optabs.c (init_one_libfunc): Likewise.
7005
7006 * output.h (assemble_start_function): Likewise.
7007
7008 * recog.c (decode_asm_operands): Likewise.
7009
7010 * toplev.c (rest_of_compilation): Likewise.
7011
7012 * tree.h (emit_line_note_after, emit_line_note,
7013 emit_line_note_force): Likewise.
7014
7015 * varasm.c (asm_output_bss, asm_output_aligned_bss,
7016 asm_emit_uninitialised, assemble_start_function,
7017 assemble_variable, const_hash, compare_constant_1,
7018 find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
7019
7020 * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
7021
7022 * alpha/alpha.md (call_vms, call_value_vms): Likewise.
7023
7024 * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
7025
7026 * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
7027
7028 * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
7029 arm_dllimport_name_p): Likewise.
7030
7031 * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
7032 Likewise.
7033
7034 * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
7035
7036 * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7037
7038 * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
7039 arm_mark_dllexport, arm_mark_dllimport,
7040 arm_pe_encode_section_info): Likewise.
7041
7042 * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
7043 ASM_FINISH_DECLARE_OBJECT): Likewise.
7044
7045 * arm/thumb.c (thumb_function_prologue): Likewise.
7046
7047 * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
7048
7049 * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7050
7051 * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
7052
7053 * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
7054
7055 * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
7056
7057 * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7058
7059 * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
7060 ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
7061
7062 * i386/i386-protos.h (asm_output_function_prefix): Likewise.
7063
7064 * i386/i386.c (asm_output_function_prefix): Likewise.
7065
7066 * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
7067
7068 * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7069
7070 * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
7071
7072 * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
7073 ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
7074 ASM_OUTPUT_SECTION_NAME): Likewise.
7075
7076 * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
7077
7078 * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
7079
7080 * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
7081
7082 * m32r/m32r.c (m32r_encode_section_info): Likewise.
7083
7084 * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7085
7086 * mcore/mcore.c (mcore_encode_section_info): Likewise.
7087
7088 * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7089
7090 * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7091
7092 * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7093
7094 * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
7095
7096 * mips/mips.md (movdi, movsi): Likewise.
7097
7098 * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7099
7100 * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7101
7102 * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7103
7104 * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
7105 ASM_OUTPUT_ASCII): Likewise.
7106
7107 * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
7108 output_mi_thunk, output_toc): Likewise.
7109
7110 * rs6000/rs6000.md (movsi): Likewise.
7111
7112 * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
7113
7114 * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
7115
7116 * v850/v850.c (print_operand, print_operand_address,
7117 v850_encode_data_area): Likewise.
7118
7119 2000-03-07 Clinton Popetz <cpopetz@cygnus.com>
7120
7121 * config/mips/mips.md (zero_extendsidi2): Always force operand
7122 one to memory for mips16.
7123
7124 Mon Mar 6 15:22:29 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7125
7126 * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
7127 (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
7128 (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
7129 (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
7130 (min_precision): Result is unsigned.
7131 (add_double, neg_double, mul_double): Low word is unsigned.
7132 (lshift_double, rshift_double, lrotate_double): Likewise.
7133 (rrotate_double, div_and_round_double): Likewise.
7134 (tree_floor_log2, compare_tree_int): New functions.
7135 (preserve_rtl_expr_temps): New declaration.
7136 * c-common.c (declare_hidden_char_array): Use compare_tree_int.
7137 (decl_attributes): Use tree_log2 to find alignment.
7138 Check for TREE_INT_CST_HIGH for format args.
7139 (min_precision): Now unsigned.
7140 Use tree_floor_log2.
7141 (truthvalue_conversion): Delete long-disabled code.
7142 * c-decl.c (finish_struct): Clean up tests on field width.
7143 (finish_function): Use compare_tree_int.
7144 * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
7145 * c-typeck.c (comptypes): Use tree_int_cst_equal.
7146 (default_conversion, digest_init): Use compare_tree_int.
7147 (build_binary_op): Use integer_all_onesp and compare_tree_int.
7148 Fix type errors in forming masks.
7149 * calls.c (initialize_argument_information): Use compare_tree_int.
7150 * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
7151 * except.c (expand_eh_region_start_tree): Use compare_tree_int.
7152 * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
7153 (store_field): Use compare_tree_int.
7154 (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
7155 (expand_expr, case ARRAY_REF): Use compare_tree_int.
7156 (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
7157 (do_store_flag): Use compare_tree_int.
7158 * fold-const.c (encode, decode): Low part is always unsigned.
7159 (force_fit_type, add_double, neg_double, mul_double): Likewise.
7160 (lshift_double, rshift_double, lrotate_double): Likewise.
7161 (rrotate_double, div_and_round_double, int_const_binop): Likewise.
7162 (fold_convert): Use compare_tree_int.
7163 (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
7164 (invert_truthvalue, case INTEGER_CST): Likewise.
7165 (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
7166 * mkdeps.c (deps_dummy_targets): Make I unsigned.
7167 * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
7168 (lshift_double, rshift_double, lrotate_double, rrotate_double):
7169 Likewise.
7170 * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
7171 (expand_end_case): Use compare_tree_int.
7172 (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
7173 * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
7174 (layout_decl): Likewise.
7175 (layout_record, layout_union): Make sizes unsigned.
7176 (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
7177 (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
7178 * tree.c (struct type_hash): hashcode is unsigned.
7179 (build_type_attribute_variant, type_hash_list): Likewise.
7180 (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
7181 (attribute_hash_list, build_array_type, build_method_type): Likewise.
7182 (build_complex_type): Likewise.
7183 (real_value_from_int_cst): Remove unneeded casts.
7184 (integer_all_onesp): Add casts.
7185 (tree_floor_log2, compare_tree_int): New functions.
7186 (build_index_type): Use tree_int_cst_sgn.
7187 * varasm.c (assemble_variable): Use compare_tree_int.
7188
7189 2000-03-06 Jason Merrill <jason@casey.cygnus.com>
7190
7191 * cpphash.c (collect_expansion): Also catch ## at start of macro.
7192
7193 * varasm.c (make_decl_rtl): Don't add a number to members of
7194 local classes.
7195 (make_function_rtl): Likewise.
7196
7197 2000-03-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7198
7199 * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
7200 patch from 2000-01-28.
7201
7202 2000-03-06 Clinton Popetz <cpopetz@cygnus.com>
7203
7204 * config/sh/sh.c: (barrier_align): Handle a delay slot that is
7205 filled with an insn from the jump target.
7206
7207 2000-03-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7208
7209 * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
7210 (c4x_external_ref): Likewise.
7211 * config/c4x/c4x.c (struct name_list): Likewise.
7212
7213 1999-12-16 Ben Collins <bcollins@debian.org>
7214
7215 * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
7216 argument to genmultilib.
7217 * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
7218 the contents into the multilib.h header.
7219 * gcc.c: Declare multilib_exclusions for the specs file.
7220 (set_multilib_dir): Use it.
7221 (print_multilib_info): Likewise.
7222 * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
7223 to pass to genmultilib.
7224
7225 2000-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7226
7227 * builtins.c (built_in_class_names, built_in_names): Constify a
7228 char*.
7229
7230 * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
7231 int.
7232 (_mcleanup): Ensure value matches format specifier in sprintf.
7233
7234 * cpphash.c (special_symbol): Don't needlessly cast away
7235 const-ness.
7236
7237 * cppinit.c (base_name): Delete unused prototype.
7238
7239 * mkdeps.c (deps_init): Make definition K&R safe.
7240
7241 * tree.h (built_in_class_names, built_in_names): Constify a
7242 char*.
7243
7244 2000-03-06 Jakub Jelinek <jakub@redhat.com>
7245
7246 * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
7247 floating point instructions for epilogue delay.
7248
7249 * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
7250 to gas if it supports .register pseudo.
7251
7252 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
7253 LONG_DOUBLE_TYPE_SIZE if not defined.
7254 Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
7255 LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
7256 * real.c: Likewise.
7257 * gengenrtl.c: Likewise.
7258 * print-rtl.c: Likewise.
7259 * rtl.c: Likewise.
7260 * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
7261 MASK_LONG_DOUBLE_128.
7262 * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
7263 * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
7264 * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
7265 (SUBTARGET_SWITCHES): Define.
7266 (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
7267 with -mlong-double-128.
7268 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
7269 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
7270 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
7271 (CC1_SPEC): Include -mlong-double-{64,128} as needed.
7272 * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
7273 (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
7274 with -mlong-double-128.
7275 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
7276 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
7277 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
7278 * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
7279 TARGET_LONG_DOUBLE_128): Define.
7280 * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
7281 * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
7282 long double on TARGET_ARCH64.
7283
7284 2000-03-06 Mark Mitchell <mark@codesourcery.com>
7285
7286 * function.c (free_temps_for_rtl_expr): Don't free slots
7287 that have been pushed into a higher level.
7288
7289 Revert this patch:
7290 2000-03-05 Mark Mitchell <mark@codesourcery.com>
7291
7292 2000-03-05 Mark Mitchell <mark@codesourcery.com>
7293
7294 * basic-block.h (ALLOCA_REG_SET): Remove.
7295 (INITIALIZE_REG_SET): New macro.
7296 * flow.c (update_life_info): Use it.
7297 (calculate_global_regs_live): Likewise.
7298 (propagate_block): Likewise.
7299 * global.c (build_insn_chain): Likewise.
7300 * haifa-sched.c (schedule_region): Likewise.
7301
7302 2000-03-05 Stephane Carrez <stcarrez@worldnet.fr>
7303
7304 * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
7305 (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
7306 (DWARF_ARANGES_PAD_SIZE): New define.
7307 (output_aranges): Use it to pad the address range header.
7308 (DWARF_ROUND): Fix for non power of 2 rounding.
7309
7310 2000-03-05 Jason Merrill <jason@casey.cygnus.com>
7311
7312 * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
7313
7314 2000-03-05 Mark Mitchell <mark@codesourcery.com>
7315
7316 * tree.def (RTL_EXPR): Update documentation.
7317 * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
7318 * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
7319 * function.c (preserve_rtl_expr_temp): New function.
7320 (preserve_rtl_expr_temps): Likewise.
7321 (preserve_rtl_expr_result): Use it.
7322
7323 Revert this patch:
7324 2000-03-04 Mark Mitchell <mark@codesourcery.com>
7325
7326 2000-03-04 Thomas Schuster <Thomas.Schuster@gmx.net>
7327
7328 * regmove.c (copy_src_to_dest) Do not create src->dest move
7329 for unchanging destination.
7330
7331 2000-03-04 Mark Mitchell <mark@codesourcery.com>
7332
7333 * function.h (struct sequence_stack): Remove rtl_expr.
7334 (struct emit_staus): Likewise.
7335 (seq_rtl_expr): Remove.
7336 * tree.h (free_temps_for_rtl_expr): Don't declare.
7337 (start_sequence_for_rtl_expr): Likewise.
7338 * rtl.h (preserve_rtl_expr_result): Likewise.
7339 * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
7340 (start_sequence_for_rtl_expr): Remove.
7341 (push_topmost_sequence): Don't save sequence_rtl_expr.
7342 (pop_topmost_sequence): Remove comment about not restoring it.
7343 (end_sequence): Don't set seq_rtl_expr.
7344 (init_emit): Don't initialize it.
7345 (mark_sequence_stack): Don't mark it.
7346 (mark_emit_status): Likewise.
7347 * except.c (protect_with_terminate): Use
7348 start_sequence_for_rtl_expr, not start_sequence.
7349 * expr.c (expand_expr, case RTL_EXPR): Don't call
7350 preserve_rtl_expr_result or free_temps_for_rtl_expr.
7351 * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
7352 (preserve_rtl_expr_result): Remove.
7353 (free_temps_for_rtl_expr): Likewise.
7354 (pop_temp_slots): Likewise.
7355 (mark_temp_slot): Don't mark the rtl_expr.
7356 * stmt.c (expand_start_stmt_expr): Use start_sequence, not
7357 start_sequence_for_rtl_expr.
7358
7359 2000-03-04 Zack Weinberg <zack@wolery.cumb.org>
7360
7361 * mkdeps.c, mkdeps.h: New files.
7362 * po/POTFILES.in: Add them.
7363 * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
7364 (cpplib.o, cppinit.o): Depend on mkdeps.h.
7365 (mkdeps.o): New target.
7366
7367 * cppfiles.c: Delete deps_output.
7368 * cppinit.c: Include mkdeps.h. Delete known_suffixes,
7369 OBJECT_SUFFIX, and base_name.
7370 (cpp_cleanup): Use deps_free. Free ihash->name when clearing
7371 the include hash.
7372 (initialize_dependency_output): Use deps_init,
7373 deps_add_target, deps_calc_target, and deps_add_dep. Remove
7374 all the unnecessary string bashing.
7375 (cpp_finish): Use deps_write. Remove an unnecessary nesting
7376 level.
7377 * cpplib.c (do_include): Use deps_add_dep.
7378 * cpplib.h (struct cpp_reader): Replace deps_buffer,
7379 deps_allocated_size, deps_size, deps_column members with
7380 single pointer to a struct deps. Delete prototype of
7381 deps_output.
7382
7383 * cppinit.c: Fix thinko in previous patch.
7384
7385 Sat Mar 4 11:32:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7386
7387 * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
7388 * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
7389 (mode_for_size_tree): New function.
7390 (layout_decl, layout_type): Call it and clean up BLKmode checks.
7391 * tree.h (mode_for_size_tree): New declaration.
7392
7393 * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
7394
7395 2000-03-04 Jason Merrill <jason@casey.cygnus.com>
7396
7397 * stmt.c (is_body_block): Move...
7398 * dwarfout.c, dwarf2out.c: ...from here.
7399 * tree.h: Declare it.
7400 * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
7401 * final.c (final_start_function): Do call remove_unnecessary_notes
7402 when scheduling.
7403
7404 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
7405
7406 * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
7407
7408 * cpplib.h (_dollar_ok): New macro.
7409 (is_idchar, is_idstart): Use it.
7410 (IStable): Rename to _cpp_IStable. Declare it const if
7411 gcc >=2.7 or C99. Delete all references to FAKE_CONST.
7412 (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
7413 is_space): Update for renamed IStable.
7414
7415 * cppinit.c: Delete all references to FAKE_CONST and CAT
7416 macros. Define init_IStable as empty macro if gcc >=2.7 or
7417 C99. Change TABLE() to ISTABLE and hardcode name of table.
7418 (cpp_start_read): Don't change the IStable based on
7419 dollars_in_ident.
7420
7421 * cpphash.c (unsafe_chars): Add pfile argument. All callers
7422 changed. Handle '$' for char1 correctly.
7423 * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
7424
7425 * cppexp.c (tokentab2): Make const.
7426 (cpp_lex): Make toktab const.
7427 * cppinit.c (include_defaults_array): Make const.
7428 (initialize_standard_includes): Make default_include const.
7429
7430 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
7431
7432 * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
7433 (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
7434 (gen_decl_die): Likewise.
7435 * dwarfout.c (dwarfout_file_scope_decl): Likewise.
7436 (output_decl): Likewise.
7437
7438 * varasm.c (make_function_rtl): If we change the name used in the
7439 rtl, update DECL_ASSEMBLER_NAME accordingly.
7440 (make_decl_rtl): Likewise.
7441
7442 * toplev.c (rest_of_compilation): Tweak formatting.
7443
7444 * toplev.c (rest_of_compilation): find_loop_tree_blocks before
7445 remove_unnecessary_notes.
7446 (debug_ignore_block): New fn.
7447 * toplev.h: Declare it.
7448 * emit-rtl.c (remove_unncessary_notes): Call it.
7449 * dwarf2out.c (dwarf2out_ignore_block): New fn.
7450 * dwarf2out.h: Declare it.
7451 * final.c (final_start_function): Don't call remove_unnecessary_notes
7452 if we did insn scheduling.
7453
7454 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
7455
7456 * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
7457 * cpplib.h: Delete SET_CPP_PEDANTIC.
7458
7459 Fri Mar 3 14:56:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7460
7461 * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
7462 result is a RECORD_TYPE.
7463
7464 2000-03-03 Jonathan Larmour <jlarmour@cygnus.co.uk>
7465
7466 * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
7467
7468 2000-03-03 Richard Henderson <rth@cygnus.com>
7469
7470 * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
7471 addition over compliments over shifts.
7472
7473 Fri Mar 3 12:49:28 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
7474
7475 * reload1.c (reload_combine_note_use): Handle return register USEs.
7476 REG case: Handle multi-hard-register hard regs.
7477
7478 Fri Mar 3 07:38:34 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7479
7480 * md.texi: Document use of '*' in insn pattern name.
7481
7482 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
7483
7484 * calls.c (special_function_p): operator new may not be malloc-like.
7485
7486 * gcse.c (dump_hash_table): Really fix error in last change.
7487
7488 2000-03-02 Denis Chertykov <denisc@overta.ru>
7489
7490 * avr.c (print_operand): Use print_operand_address instead of
7491 output_addr_const.
7492 * avr/libgcc.S: Cleanup code.
7493
7494 2000-03-02 Richard Henderson <rth@cygnus.com>
7495
7496 * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
7497
7498 2000-03-02 Mark Mitchell <mark@codesourcery.com>
7499
7500 * tree.h (TYPE_ALIGN_UNIT): New macro.
7501
7502 2000-03-02 Clinton Popetz <cpopetz@cygnus.com>
7503
7504 * i386.c: (constant_call_address_operand): Reject CONST_INT.
7505
7506 2000-03-02 Jason Merrill <jason@casey.cygnus.com>
7507
7508 * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
7509 for the buffer.
7510 (SET_CPP_PEDANTIC): New macro.
7511 * cpplib.c (do_include): Don't bother checking system_header_p.
7512 (do_warning, do_ident, do_assert, do_unassert): Likewise.
7513 * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
7514
7515 * function.h (struct expr_status): Add x_arg_space_so_far.
7516 (arg_space_so_far): New macro.
7517 * expr.c (init_expr): Initialize it.
7518 * calls.c (emit_call_1): Reset it.
7519 (compute_argument_block_size, expand_call): Use it.
7520 (expand_call, store_one_arg): Increment it.
7521
7522 Thu Mar 2 17:27:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7523
7524 * varasm.c (output_constant): Strip off a CONVERT_EXPR to
7525 a UNION_TYPE.
7526
7527 2000-03-02 Zack Weinberg <zack@wolery.cumb.org>
7528
7529 * cppfiles.c (cpp_read_file): New function.
7530
7531 * cpphash.c (collect_expansion): Make sure to reset last_token
7532 to NORM when we hit a string. Handle trailing whitespace
7533 properly when the expansion is empty.
7534 (create_definition): Disable line commands while parsing the
7535 directive line.
7536 (dump_definition): If pfile->lineno == 0, output a line
7537 command ahead of the dump, and add a trailing newline.
7538
7539 * cppinit.c (append_include_chain): Add fifth argument, which
7540 indicates whether or not system headers are C++ aware.
7541 (initialize_standard_includes): New function,
7542 broken out of read_and_prescan. Pass 'cxx_aware' value from
7543 the include_defaults_array on to append_include_chain.
7544 (dump_special_to_buffer): Const-ify char array.
7545 (builtin_array): Don't dump __BASE_FILE__.
7546 (cpp_start_read): Use cpp_read_file. Reorder code for
7547 clarity. Don't output line commands here for -D/-A/-U
7548 switches. Don't call deps_output for files included with
7549 -include or -imacros.
7550
7551 * cpplib.c (do_define): Don't pay any attention to the second
7552 argument.
7553 (cpp_expand_to_buffer): Disable line commands while scanning.
7554 (output_line_command): Work in the file buffer.
7555 * cpplib.h: Remove no_record_file flag from struct cpp_reader.
7556 Fix formatting of comments. Prototype cpp_read_file.
7557
7558 Thu Mar 2 13:29:46 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7559
7560 * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
7561 reference the language-equivalent of sizetype.
7562 * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
7563 * fold-const.c (size_binop, size_diffop): Put back checks.
7564 * gcse.c (dump_hash_table): Fix minor error in last change.
7565 * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
7566 Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
7567 all sizetypes.
7568
7569 Thu Mar 2 12:48:45 MET 2000 Jan Hubicka <jh@suse.cz>
7570
7571 * calls.c (expand_call) Do not attempt to combine stack adjustments
7572 with inhibit_defer_pop set.
7573
7574 2000-03-01 Mark Mitchell <mark@codesourcery.com>
7575
7576 * stor-layout.c (layout_decl): Allow front-ends to explicitly set
7577 the DECL_SIZE for a FIELD_DECL.
7578
7579 2000-03-01 Bruce Korb <bkorb@gnu.org>
7580
7581 * fixinc/inclhack.tpl: remove unused symlinks
7582 * fixinc/README: GCC Maintainer info
7583 * fixinc/inclhack.sh: regen
7584 * fixinc/fixincl.sh: regen
7585
7586 2000-03-01 Zack Weinberg <zack@wolery.cumb.org>
7587
7588 * cpphash.c (collect_expansion): Trim trailing white space
7589 from macro definitions, but don't go past the last insertion
7590 point.
7591
7592 Wed Mar 1 12:14:31 MET 2000 Jan Hubicka <jh@suse.cz>
7593
7594 * i386.md (mulqi3): New pattern.
7595
7596 2000-02-29 Zack Weinberg <zack@wolery.cumb.org>
7597
7598 * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
7599 token types.
7600 (struct cpp_reader): Add parsing_if_directive and
7601 parsing_define_directive flags.
7602 (struct cpp_options): Remove output_conditionals flag.
7603 (check_macro_name): Delete prototype.
7604
7605 * cpphash.h (struct macrodef): Delete.
7606 (struct reflist): Separate from struct definition.
7607 (struct definition): Remove unused fields. Add column number.
7608 (create_definition): Returns a DEFINITION *. Takes a
7609 cpp_reader * and an int.
7610
7611 * cpphash.c (SKIP_WHITE_SPACE): Delete.
7612 (PEEKC): Copy defn from cpplib.c.
7613 (rest_extension, REST_EXTENSION_LENGTH): Delete.
7614 (struct arg): New.
7615 (struct arglist): Simplify.
7616 (collect_expansion): Rewrite. Get tokens by calling
7617 cpp_get_token. Add more error checking.
7618 (collect_formal_parameters): New function, broken out of
7619 create_definition and reworked to use get_directive_token.
7620 (create_definition): All real work is now in collect_expansion
7621 and collect_formal_parameters. do_define handles finding the
7622 macro name. Return a DEFINITION, not a MACRODEF.
7623 (macroexpand): Replace bcopy with memcpy throughout. Replace
7624 character-at-a-time copy loop with memcpy and pointer increments.
7625 (compare-defs): d1->argnames / d2->argnames might be null.
7626
7627 * cpplib.c (copy_rest_of_line): Delete function.
7628 (skip_rest_of_line): Do all the work ourselves.
7629 (skip_string): New function.
7630 (parse_string): Use skip_string.
7631 (get_macro_name): New function.
7632 (check_macro_name): Delete.
7633 (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
7634 (cpp_skip_hspace): Use CPP_BUMP_LINE.
7635 (handle_directive): ICE if we're called on a macro buffer.
7636 (do_define): Determine macro name and type (funlike/objlike)
7637 here. Expunge all uses of MACRODEF.
7638 (cpp_push_buffer): Set line_base to NULL.
7639 (do_undef, read_line_number): Don't worry about getting a POP token.
7640 (eval_if_expression): Set/reset parsing_if_directive around
7641 cpp_parse_expr. Don't clear only_seen_white.
7642 (skip_if_group): Remove output_conditionals logic. Use
7643 skip_rest_of_line.
7644 (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
7645 tokens under appropriate conditions.
7646 (cpp_unassert): Call do_unassert not do_assert. Oops.
7647
7648 * cppexp.c (parse_defined): New function, break out of
7649 cpp_lex.
7650 (cpp_lex): We now get CPP_ASSERTION tokens and can check them
7651 ourselves, with cpp_defined.
7652 * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
7653
7654 * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
7655 * gcc.dg/strpaste-2.c: New.
7656
7657 2000-02-29 Mark Mitchell <mark@codesourcery.com>
7658
7659 * fold-const.c (size_binop): Don't asert inputs are the same and
7660 have TYPE_IS_SIZETYPE set.
7661 (size_diffop): Likewise.
7662
7663 2000-02-29 Jason Merrill <jason@casey.cygnus.com>
7664
7665 * dwarfout.c (output_block): Output abstract blocks even if they
7666 don't have TREE_ASM_WRITTEN set.
7667
7668 * calls.c (emit_library_call): Check for null REG.
7669
7670 2000-03-01 Martin von Loewis <loewis@informatik.hu-berlin.de>
7671
7672 * c-decl.c (current_function_decl): Move to toplev.c.
7673 (init_decl_processing): Don't add current_function_decl as a ggc
7674 root here.
7675 * dbxout.c (dbxout_symbol): Change return type to int.
7676 (dbxout_symbol_location, dbxout_syms): Likewise.
7677 (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
7678 any locals. Use current_function_func_begin_label if set.
7679 * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
7680 * dwarf2out.c (dwarf2out_begin_prologue): Set
7681 current_function_func_begin_label.
7682 * final.c (final_start_function): Reset it.
7683 * toplev.c (current_function_decl): Define it here.
7684 (current_function_func_begin_label): New variable.
7685 (main): Add both as ggc roots.
7686 * tree.h (current_function_func_begin_label): Declare.
7687
7688 Tue Feb 29 14:07:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7689
7690 * gcse.c: Cleanups throughout: mostly white-space, but also
7691 some minor rearrangement of code.
7692
7693 Tue Feb 29 10:45:59 2000 Jeffrey A Law (law@cygnus.com)
7694
7695 * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
7696 returns a PARALLEL. Use emit_group_load and use_group_regs
7697 as needed.
7698 (emit_library_call_value): Similarly.
7699
7700 * pa/t-pa: Use quadlib.c instead of quadlib.asm.
7701 * pa/quadlib.asm: Remove.
7702 * pa/quadlib.c: New file.
7703
7704 * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
7705 * configure: Rebuilt.
7706
7707 2000-02-29 Philip Blundell <pb@futuretv.com>
7708
7709 * config/arm/conix-elf.h: New file.
7710 * configure.in (arm*-*-conix*): New configuration.
7711 * configure: Regenerate.
7712
7713 2000-02-28 Jason Merrill <jason@casey.cygnus.com>
7714
7715 * dwarf2out.c (gen_block_die): Output abstract blocks even if they
7716 don't have TREE_ASM_WRITTEN set.
7717
7718 Mon Feb 28 21:07:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7719
7720 * Eliminate DECL_FIELD_SIZE.
7721 * builtins.c (built_in_class_names, built_in_names): New variables.
7722 * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
7723 * expr.c (expand_expr, case COMPONENT_REF): Get field size from
7724 DECL_SIZE, not DECL_FIELD_SIZE.
7725 * print-tree.c (print_node): Remove code that prints extra blank
7726 lines in some cases.
7727 Properly handle inline and builtin function cases.
7728 * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
7729 * tree.h (built_in_class_named, built_in_names): New declarations.
7730 (union tree_decl): Rename internal unions to u1 and u2 and change
7731 some of their components.
7732 Add new field built_in_class.
7733 (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
7734 Reflect above changes.
7735 (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
7736 (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
7737 * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
7738 (encode_field_decl): Likewise; also remove obsolete test for bitfield.
7739
7740 2000-02-28 Dmitri Makarov <dim@windriver.com>
7741
7742 * extend.texi: Document ARM's support for long/short calls.
7743
7744 * invoke.texi: Document ARM's -mlong-calls command line switch.
7745
7746 * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
7747 (arm_encode_call_attribute): Add prototype.
7748 (arm_set_default_type_attribute): Add prototype.
7749 (arm_strip_name_encoding): Add prototype.
7750
7751 * config/arm/arm.c (arm_init_cumulative_args): replace
7752 initialisation og 'long_calls' field with initialisation of
7753 'call_cookie' field.
7754 (enum arm_pragma_enum): New enum.
7755 (arm_pragma_long_calls): New static variable.
7756 (arm_process_pragma): Also process "#pragma long_calls_off".
7757 (arm_valid_type_attribute_p): Accept short_call attribute.
7758 (arm_comp_type_attributes): Check long/short call attributes.
7759 (arm_encode_call_attribute): New function: Encode long_call
7760 or short_call attribute in function name.
7761 (arm_set_default_type_attributes): New function: Assign
7762 default attributes to newly defined type.
7763 (current_file_function_operand): New function: Return true if
7764 the symbol is a function which has already been compiled.
7765 (arm_is_longcall_p): New function: Return true if the
7766 indicated function should be called via a long call.
7767 (arm_get_strip_length): New function. Returns number of
7768 prefix characters to be stripped from a function's name.
7769 (arm_strip_name_encoding): New function. Strip prefix characters
7770 from a function's name.
7771
7772 * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
7773 with 'call_cookie'.
7774 (SHORT_CALL_FAG_CHAR): Define.
7775 (LONG_CALL_FAG_CHAR): Define.
7776 (ENCODED_SHORT_CALL_ATTR_P): Define.
7777 (ENCODED_LONG_CALL_ATTR_P): Define.
7778 (ARM_NAME_ENCODING_LENGTHS): Define.
7779 (STRIP_NAME_ENCODING): Define.
7780 (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
7781 (ARM_ENCODE_CALL_TYPE): Define.
7782 (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
7783 (ARM_DECLARE_FUNCTION_SIZE): Define.
7784 (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
7785
7786 * config/arm/arm.md (call): Call arm_is_longcall_p to decide
7787 if a long call is needed.
7788 (call_value): Ditto.
7789 (call_symbol): Ditto.
7790
7791 * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
7792 ARM_DECLARE_FUNCTION_SIZE.
7793
7794 * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
7795 (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
7796 (ARM_STRIP_NAME_ENCODING): Undefine.
7797 (STRIP_NAME_ENCODING): Undefine.
7798 (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
7799 (ASM_DECLARE_FUNCTION_NAME): Ditto.
7800 (ASM_OUTPUT_COMMON): Ditto.
7801 (ASM_DECLARE_OBJECT_NAME): Ditto.
7802
7803 * config/arm/pe.c (arm_dllexport_name_p): Check for
7804 ARM_PE_FLAG_CHAR.
7805 (arm_dllimport_name_p): Ditto.
7806 (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
7807 (arm_mark_dllimport): Ditto.
7808
7809 Mon Feb 28 22:11:12 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
7810
7811 * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
7812
7813 2000-02-28 Mark Mitchell <mark@codesourcery.com>
7814
7815 * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
7816
7817 2000-02-28 Zack Weinberg <zack@wolery.cumb.org>
7818
7819 * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
7820 * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
7821 NO_BUILTIN_WCHAR_TYPE is not defined.
7822 (CPP_WCHAR_TYPE): Delete.
7823 * cccp.c (main): Don't change wchar_type if cplusplus.
7824 (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
7825
7826 2000-02-28 Nick Clifton <nickc@cygnus.com>
7827
7828 * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
7829
7830 Mon Feb 28 14:21:15 2000 Catherine Moore <clm@cygnus.com>
7831
7832 * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
7833 (ASM_WEAKEN_LABEL): Define.
7834
7835 Mon Feb 28 13:07:19 MET 2000 Jan Hubicka <jh@suse.cz>
7836
7837 * expr.c (store_constructor): Do not emit USE.
7838 * rtl.h (stupid_life_analysis): Remove.
7839
7840 Mon Feb 28 07:03:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7841
7842 * function.c (number_blocks): Reset next_block_index based on
7843 what debugging format is used, not what is defined.
7844
7845 * lcm.c: Minor reformatting throughout.
7846 (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
7847
7848 * toplev.c (rest_of_compilation): Account for time in
7849 optimize_mode_switching.
7850
7851 * jump.c (jump_optimize_1): Don't call delete_barrier_successors
7852 if only marking labels.
7853
7854 Mon Feb 28 12:53:57 MET 2000 Jan Hubicka <jh@suse.cz>
7855
7856 * calls.c (expand_call): Attempt to combine stack adjustments with
7857 pending stack adjustments.
7858
7859 Mon Feb 28 11:34:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
7860
7861 * loop.c (reg_in_basic_block_p): Don't abort when falling through
7862 to the end of the function.
7863
7864 2000-02-27 Mark Mitchell <mark@codesourcery.com>
7865
7866 * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
7867 blocks.
7868 * final.c (next_block_index): Remove.
7869 (max_block_depth): Likewise.
7870 (pending_blocks): Likewise.
7871 (init_final): Don't initialize them.
7872 (final_start_function): Don't set next_block_index. Set up
7873 BLOCK_NUMBER.
7874 (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
7875 * function.h (number_blocks): New function.
7876 * function.c (get_block_vector): New function.
7877 (identify_blocks): Use it.
7878 (reorder_blocks): Set NOTE_BLOCK.
7879 (number_blocks): New function.
7880 * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
7881 * tree.h (BLOCK_NUMBER): New macro.
7882 (tree_block): Add block_num field.
7883 * dbxout.c (next_block_number): Remove.
7884 (dbxout_init): Don't set it.
7885 (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
7886 set. Use BLOCK_NUMBER, rather than next_block_num, to determine
7887 block numbers.
7888 * toplev.c (rest_of_compilation): Always call
7889 find_loop_tree_blocks. Fix indentation.
7890 * dwarf2out.c (next_block_number): Remove.
7891 (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
7892 to determine block numbers.
7893 (gen_inlined_subroutine_die): Likewise.
7894 (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
7895 (decls_for_scope): Don't increment next_block_number.
7896 * dwarfout.c (next_block_number): Remove.
7897 (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
7898 to determine block numbers.
7899 (output_inlined_subroutine_die): Likewise.
7900 (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
7901 (output_decls_for_scope): Don't increment next_block_number.
7902 * sdbout.c (next_block_number): Remove.
7903 (sdbout_block): Use BLOCK_NUMBER.
7904 (sdbout_begin_block): Simplify.
7905 * xcoffout.c (next_block_number): Remove.
7906 (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
7907 (xcoffout_begin_block): Don't set next_block_number.
7908 (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
7909 next_block_number.
7910
7911 Sun Feb 27 16:40:33 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7912
7913 * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
7914 (expand_builtin_strcpy): Pass correct type to size_binop.
7915 (expand_builtin_strcmp): Likewise.
7916 Clean up conditional structure.
7917 * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
7918 (complete_array_type): Don't use size_binop for MAXINDEX.
7919 * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
7920 (c_sizeof_nowarn, c_size_in_bytes): Likewise.
7921 (c_alignof): Use size_one_node.
7922 (build_unary_op): Pass arg of proper type to size_binop.
7923 (really_start_incremental_init, push_init_level): Use sizetype for
7924 constructor{,_bit,_unfilled}_index.
7925 (pop_init_label, output_init_element): Likewise.
7926 (output_pending_init_elements, process_init_element): Likewise.
7927 * calls.c (compute_argument_block_size): Field VAR is ssizetype.
7928 * expr.c (store_expr): Use size_int.
7929 (store_constructor): Use proper types for size_binop args.
7930 (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
7931 (expand_expr_unaligned): Likewise.
7932 (string_contant): Return object of sizetype.
7933 * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
7934 (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
7935 (ARGS_SIZE_TREE): Pass proper types to size_binop.
7936 * fold-const.c (int_const_binop): Refine when size_int is called.
7937 (fold_convert): Likewise.
7938 (size_int_wide): Rework to take KIND as arg, only take low order
7939 bits, handle new sizetype_tab datatype, and chain entries in
7940 size_table.
7941 (size_int_type_wide): New function.
7942 (size_binop): Validate types of arguments.
7943 (ssize_binop): Deleted.
7944 (size_diffop): New function.
7945 (extract_muldiv): Only fold division into multiplication for sizetypes.
7946 * function.c (assign_parms): Use size_diffop and make sure
7947 VAR field is of ssizetype; also pass proper type to size_binop.
7948 (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
7949 (round_down): Deleted from here.
7950 * store-layout.c (sizetype_tab): Now an array.
7951 (sizetype_set, early_root_list): New variables.
7952 (variable_size): Use size_one_node.
7953 (round_up): Pass proper type to size_binop.
7954 (round_down): Moved to here and corrected as above.
7955 (layout_record): Pass proper arg types to size_binop.
7956 (layout_type): Likewise.
7957 If sizetype_set is zero, record the type just laid out.
7958 (make_unsigned_type): Don't call set_sizetype;
7959 (make_signed_type): Likewise; also, call fixup_signed_type.
7960 (initialize_sizetypes): New function.
7961 (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
7962 set name of bitsizetype to "bit_size_type".
7963 Fix up type of sizes of all types made before call.
7964 * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
7965 * tree.c (fix_sizetype): Deleted.
7966 (build_common_tree_nodes): Call initialize_sizetypes.
7967 (build_common_tree_nodes_2): Don't call fix_sizetype.
7968 * tree.h (TYPE_IS_SIZETYPE): New macro.
7969 (initialize_sizetype): New declaration.
7970 (enum size_type_kind): New type.
7971 (struct sizetype_tab): Deleted.
7972 (sizetype_tab): Now array; adjust sizetype macros.
7973 (size_diffop, size_int_type_wide): New functions.
7974 (size_int_wide): Change number of args and type; access macros changed.
7975 (ssize_int, sbitsize_int): New macros.
7976 * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
7977 (ROUND_TYPE_SIZE_UNIT): New macro.
7978
7979 2000-02-27 Zack Weinberg <zack@wolery.cumb.org>
7980
7981 * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
7982
7983 Sun Feb 27 07:44:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7984
7985 * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
7986 Mark as possibly unused.
7987
7988 * cse.c (cse_insn): Delete dead code involving tablejump.
7989 Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
7990
7991 * Makefile.in (libcpp.a): Start by deleting it.
7992
7993 2000-02-27 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7994
7995 * cpplib.h (enum file_change_code): Added rename_file.
7996 * cpplib.c (do_line): If a filename is given, set file_change to
7997 rename_file.
7998 (output_line_command): If file_change is rename_file, always
7999 output a # directive with the file name.
8000
8001 * cpplib.c (do_pragma): Accept #pragma without consecutive token.
8002
8003 2000-02-26 Mark Mitchell <mark@codesourcery.com>
8004
8005 * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
8006 when copying a PARM_DECL or RESULT_DECL.
8007
8008 2000-02-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8009
8010 * fix-header.c (recognized_function): Also fix prototypes for
8011 functions taking "void".
8012
8013 2000-02-26 Geoff Keating <geoffk@cygnus.com>
8014
8015 * reload1.c (do_output_reload): Check reg_reloaded_valid before
8016 looking at reg_reloaded_contents.
8017
8018 2000-02-26 Zack Weinberg <zack@wolery.cumb.org>
8019
8020 * Makefile.in (STMP_FIXINC): New toggle.
8021 (LIBGCC2_DEPS): Delete all references.
8022 (stmp-headers): Delete target. All references either deleted
8023 or changed to stmp-int-headers.
8024 (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
8025 (LIBCPP_OBJS): Take out cppalloc.o.
8026 (cppalloc.o): Delete target.
8027 (stmp-int-hdrs): Depend on $(STMP_FIXINC).
8028 (gen-protos, fix-header): Link with libiberty.a.
8029 * build-make: Don't change FIXINCLUDES. Override STMP_FIXINC
8030 to empty.
8031
8032 * configure.in: Remove refs to strerror.
8033 * acconfig.h: Take out NEED_DECLARATION_STRERROR.
8034 * system.h: Take out strerror stanza.
8035
8036 * cpperror.c (my_strerror): Delete function.
8037 (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
8038 * cppmain.c (main): Call xmalloc_set_program_name first thing.
8039 * cppalloc.c: Delete file.
8040 * gen-protos.c: Don't provide xrealloc.
8041
8042 * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
8043 xstrerror throughout.
8044
8045 2000-02-26 Bruce Korb <bkorb@gnu.org>
8046
8047 * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
8048 match for DOS headers, too.
8049 * fixinc/inclhack.sh,fixincl.x: Regenerate.
8050
8051 2000-02-26 Geoff Keating <geoffk@cygnus.com>
8052
8053 * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define. The default
8054 is right for most ELF targets.
8055 * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
8056 Let the default file use %U properly.
8057 * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define. Use the
8058 default.
8059
8060 * config/fp-bit.c (pack_d): Properly handle rounding of denormal
8061 numbers.
8062
8063 Sat Feb 26 09:39:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8064
8065 * toplev.c (documented_lang_options): Correct spelling error.
8066 (decode_d_option, decode_f_option, main): Likewise.
8067
8068 * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
8069
8070 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
8071 to tell assembler it is permitted to expand large constants.
8072
8073 2000-02-25 Mumit Khan <khan@xraylith.wisc.edu>
8074
8075 * protoize.c: (AUX_INFO_SUFFIX): New macro.
8076 (aux_info_suffix): Use.
8077 (SAVE_SUFFIX): New macro.
8078 (save_suffix): Use.
8079 (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
8080 (gen_aux_info_file): Use aux_info_suffix instead of ".X".
8081 (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
8082
8083 * invoke.texi (Running Protoize): Update documentation.
8084
8085 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
8086
8087 * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
8088
8089 2000-02-25 John Wehle (john@feith.com)
8090
8091 * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
8092
8093 2000-02-25 Anthony Green <green@cygnus.com>
8094
8095 * toplev.c (rest_of_compilation): Rebuild jump labels if
8096 combine_instructions has created a new direct jump.
8097 * combine.c (try_combine): Add new_direct_jump_p argument. Set it
8098 when appropriate.
8099 (combine_instructions): Call try_combine with new argument.
8100 Return non-null value when new direct jump instruction is created.
8101 * rtl.h: combine_instructions returns an int.
8102
8103 Fri Feb 25 19:49:08 2000 Jeffrey A Law (law@cygnus.com)
8104
8105 * cse.c (cse_insn): Replace the PATTERN of the insn with an new
8106 jump when changing a computed jump into a jump to a known
8107 target.
8108
8109 Fri Feb 25 19:22:44 2000 Graham Stott <grahams@rcp.co.uk>
8110
8111 * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
8112 to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
8113
8114 * i386.md (define_expand "clrstrsi"): Fix typo.
8115
8116 Fri Feb 25 18:49:39 2000 "K. Richard Pixley" <rich@microunity.com>
8117
8118 * rtl.texi: Fix typo.
8119
8120 Fri Feb 25 20:02:35 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8121
8122 * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
8123 UNITS_PER_WORD. Change caller initial_elimination_offset.
8124 (rounded_frame_size): Take into account that argument pushed has
8125 changed. Fix TARGET_ALIGN_DOUBLE problem.
8126
8127 2000-02-25 Geoff Keating <geoffk@cygnus.com>
8128
8129 * haifa-sched.c (schedule_block): Explain the real reason
8130 we delete REG_SAVE_NOTEs on the first insn of a block.
8131 Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
8132
8133 2000-02-24 Mark Mitchell <mark@codesourcery.com>
8134
8135 * input.h (push_srcloc): New function.
8136 (pop_srcloc): Likewise.
8137 * toplev.c (push_srcloc): Define it.
8138 (pop_srcloc): Likewise.
8139
8140 2000-02-24 Richard Henderson <rth@cygnus.com>
8141
8142 * flow.c (life_analysis): When collecting reg info, clear
8143 regs_ever_live.
8144
8145 Thu Feb 24 22:06:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8146
8147 Fix bug exposed by reload.c no longer rounding the frame
8148 size to BIGGEST_ALIGNMENT:
8149 * sh.c (rounded_frame_size): New function.
8150 (sh_expand_prologue, sh_expand_epilogue): Use it.
8151 (initial_elimination_offset): Likewise.
8152
8153 Thu Feb 24 20:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8154
8155 Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
8156 * sh-protos.h (sh_need_epilogue): Declare.
8157 * sh.c (sh_need_epilogue_known): New static variable.
8158 (sh_need_epilogue): New function.
8159 (function_epilogue): Clear need_epilogue_known.
8160 * sh.md (return): Split into expander / insn pattern.
8161 Make the expander conditional on ! sh_need_epilogue ().
8162
8163 2000-02-24 Nathan Sidwell <nathan@codesourcery.com>
8164
8165 * machmode.h (get_mode_alignment): Declare.
8166 (GET_MODE_ALIGNMENT): Call it.
8167 * stor-layout.c (get_mode_alignment): New function. Make
8168 sure alignment is always power of 2.
8169
8170 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
8171
8172 * i386.h: Remove useless definition of "I386" and misleading
8173 comment above it.
8174
8175 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
8176
8177 * tree.h (TREE_SET_PERMANENT): New macro. Document conditions
8178 under which TREE_PERMANENT will be set.
8179 * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
8180 build1): Use TREE_SET_PERMANENT.
8181 * print-tree.c (print_node): Don't report value of
8182 TREE_PERMANENT if ggc_p is true.
8183
8184 * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
8185 decide whether to give a type a new alias set.
8186 * objc/objc-act.c (build_objc_string_object): Never copy the string.
8187 * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
8188 of value of 'obstack'.
8189
8190
8191 2000-02-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8192
8193 * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
8194
8195 2000-02-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8196
8197 * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
8198 * cpplib.c (cpp_get_token): Produce them.
8199 * cppexp.c (cpp_lex): Handle them.
8200
8201 2000-02-23 Nick Clifton <nickc@cygnus.com>
8202
8203 * config/arm/arm.c (arm_comp_type_attributes): Simply and
8204 comment tests on type attributes.
8205
8206 Wed Feb 23 16:42:21 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8207
8208 * final.c (shorten_branches): Make value passed to LOOP_ALIGN
8209 conform to documentation.
8210 * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
8211 to check for special cases.
8212 * sh-protos.h (sh_loop_align): Declare.
8213 * sh.c (sh_loop_align): Define.
8214
8215 2000-02-22 Andrew Haley <aph@cygnus.com>
8216
8217 * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
8218 (SIZE_TYPE): Is 32 bits when using -mgp32.
8219 (PTRDIFF_TYPE): Ditto.
8220
8221 Wed Feb 23 07:26:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8222
8223 * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
8224
8225 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
8226
8227 * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
8228 BIGGEST_FIELD_ALIGNMENT a constant.
8229
8230 2000-02-21 Jason Merrill <jason@casey.cygnus.com>
8231
8232 * dwarf2out.c (output_line_info): Put the marker for the end of
8233 the line number info at the actual end.
8234 (gen_struct_or_union_type_die): Use decl_function_context
8235 to check for local classes.
8236 * dwarfout.c (output_type): Likewise.
8237
8238 Tue Feb 22 01:38:57 2000 Jeffrey A Law (law@cygnus.com)
8239
8240 * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
8241 for arguments with a mode, but no type.
8242 (FUNCTION_ARG_CALLEE_COPIES): Similarly.
8243 * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
8244 * pa/long_double.h: New file.
8245 * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
8246 both have 128bit wide long doubles.
8247 * configure: Rebuilt.
8248
8249 2000-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8250
8251 * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
8252
8253 * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
8254 fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
8255 (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
8256
8257 * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
8258
8259 * integrate.c (compare_blocks, find_block): Likewise.
8260
8261 * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
8262
8263 * rtl.h (set_file_and_line_for_stmt): Constify a char*.
8264
8265 * stmt.c (stmt_status, set_file_and_line_for_stmt,
8266 expand_asm_operands): Likewise.
8267
8268 Mon Feb 21 17:06:27 2000 Jason Eckhardt <jle@cygnus.com>
8269
8270 * predict.c (estimate_probability): Added the pointer heuristic to
8271 the collection of static branch predictors.
8272
8273 2000-02-21 Catherine Moore <clm@cygnus.com>
8274
8275 * config/mips/mips.h (ASM_SPEC): Add -mfix700.
8276 * invoke.texi (-mfix7000): Document.
8277
8278 2000-02-21 Gabriel Dos Reis <gdr@codesourcery.com>
8279
8280 * diagnostic.c (init_output_buffer): Make it possible to output at
8281 least 32 characters if we're given a too long prefix.
8282
8283 2000-02-20 Mark Mitchell <mark@codesourcery.com>
8284
8285 * varasm.c (initializer_constant_valid_p): Call
8286 lang_expand_constant to simplify the constant.
8287
8288 2000-02-20 Bruce Korb <bkorb@gnu.org>
8289
8290 * fixinc/inclhack.def(stdio_va_list):
8291 typedef needs to be disabled.
8292 * fixinc/inclhack.sh: regen
8293 * fixinc/fixincl.x: regen
8294
8295 2000-02-20 Geoff Keating <geoffk@cygnus.com>
8296
8297 * print-rtl.c (print_rtx): Don't print addresses when
8298 flag_dump_unnumbered.
8299
8300 2000-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8301
8302 * sparc.c (sparc_output_scratch_registers): Mark parameter with
8303 ATTRIBUTE_UNUSED.
8304 (sparc_va_arg, sparc_flat_output_function_prologue,
8305 sparc_flat_output_function_epilogue): Cast value to unsigned in
8306 comparison.
8307 (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
8308
8309 * sparc.md: Add default case in switch.
8310
8311 2000-02-19 Richard Henderson <rth@cygnus.com>
8312
8313 * c-typeck.c (add_pending_init): Don't abort for multiple
8314 fields at the same offset.
8315 (pending_init_member): Test the correct member.
8316
8317 2000-02-19 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8318
8319 * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
8320 instead of SImode.
8321 (start_catch_handler) : Same.
8322
8323 2000-02-19 Brad Lucier (lucier@math.purdue.edu)
8324
8325 * Makefile.in: Have flow.o depend on $(EXPR_H)
8326
8327 Sat Feb 19 18:43:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8328
8329 * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
8330 * c-decl.c (duplicate_decls, finish_enum): Likewise.
8331 (finish_decl): Remove -Wlarger-than code from here.
8332 * flags.h (id_clash_len): Now int.
8333 (larger_than_size): Now HOST_WIDE_INT.
8334 * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
8335 Clean up checking to see if in table.
8336 (make_bit_field_ref): Remove extra parm to bitsize_int.
8337 * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
8338 * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
8339 * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
8340 and for computing size of decl.
8341 * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
8342 Move -Wlarger-than code to here.
8343 (layout_record): Remove extra arg to bitsize_int.
8344 Set TYPE_BINFO_SIZE_UNIT.
8345 (layout_union): Remove extra arg to bitsize_int.
8346 Use proper type for size of QUAL_UNION.
8347 (layout_type): Remove extra arg to bitsize_int.
8348 * toplev.c (id_clash_len): Now int.
8349 (larger_than_size): Now HOST_WIDE_INT.
8350 (decode_W_option): Clean up id-clash and larger-than- cases.
8351 * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
8352 (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
8353 * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
8354 (struct tree_decl): New field size_unit.
8355 (size_int_wide): No HIGH operand; NUMBER is now signed.
8356 (size_int_2): Deleted.
8357 (size_int, bitsize_int): Don't use it and rework args.
8358 * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
8359
8360 Fri Feb 18 20:01:58 2000 Jeffrey A Law (law@cygnus.com)
8361
8362 * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
8363
8364 2000-02-18 Geoff Keating <geoffk@cygnus.com>
8365
8366 * invoke.texi (Warning Options): Add an explanation of why
8367 you might want the -Wfloat-equal flag.
8368
8369 Fri Feb 18 20:08:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8370
8371 * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
8372 * cppinit.c (new_pending_define): Add cast to avoid warning.
8373 * expmed.c (extract_bit_field): Likewise.
8374 * flow.c (enum reorder_skip_type): New type.
8375 (skip_insns_between_blcok): New it.
8376 Rework to avoid warning about possibly undefined variable.
8377 * function.c (assign_parms): Make thisparm_boundary unsigned.
8378 * genrecog.c (write_switch): Cast XWINT result to int.
8379 * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
8380 * mips-tfile.c (init_file): Make two versions of FDR intializer:
8381 one for MIPS and one for Alpha.
8382 (get_tag, copy_object): Add casts to avoid warnings.
8383 * optabs.c (init_one_libfunc): Cast NAME to (char *).
8384 * reload.c (find_reloads): Make TYPE enum reload_type.
8385 * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
8386 * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
8387 * varasm.c (compare_constant_1): Add cast to avoid warning.
8388 * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
8389 to (char *).
8390 (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
8391 Cast switch operand of size to int.
8392 (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
8393 * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
8394 in unhandled case.
8395
8396 2000-02-18 Nick Clifton <nickc@cygnus.com>
8397
8398 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
8399 anything for an alignment of zero.
8400
8401 * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
8402 anything for an alignment of zero.
8403
8404 2000-02-18 Martin von Loewis <loewis@informatik.hu-berlin.de>
8405
8406 * gcc.texi (Bug Reporting): Refer to bugs.html.
8407 (Bug Lists): Likewise.
8408 * system.h (GCCBUGURL): New preprocessor define.
8409 * rtl.c (fancy_abort): Use it.
8410 * gcc.c (main): Likewise.
8411
8412 2000-02-18 Richard Henderson <rth@cygnus.com>
8413
8414 * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
8415 (life_analysis_1): Subsume into ...
8416 (life_analysis): ... here. Force PROP_REG_INFO off after reload.
8417 Use update_life_info for the relaxation.
8418 (update_life_info): Update REG_BASIC_BLOCK for registers live on
8419 entry and regs_live_at_setjmp.
8420 (set_noop_p): Simplify.
8421 (notice_stack_pointer_modification_1): Renamed from s/_1//.
8422 (record_volatile_insns): Split into ...
8423 (delete_noop_moves): ... here,
8424 (notice_stack_pointer_modification): ... here,
8425 (insn_dead_p): ... and here.
8426 (propagate_block): Don't query INSN_VOLATILE.
8427 (mark_used_regs): Mind !PROP_REG_INFO.
8428 * toplev.c (rest_of_compilation): Call mark_constant_function here,
8429 not in life_analysis.
8430
8431 Fri Feb 18 01:29:22 EST 2000 John Wehle (john@feith.com)
8432
8433 * loop.c (canonicalize_condition): New function,
8434 broken out of get_condition.
8435 (get_condition): Use it.
8436 * expr.h (canonicalize_condition): Prototype it.
8437
8438 * tree.h (tree_int_cst_msb): Declare.
8439 * tree.c (tree_int_cst_msb): New function.
8440
8441 2000-02-17 Mark Mitchell <mark@codesourcery.com>
8442
8443 * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
8444 isn't set.
8445
8446 * invoke.texi (-fmessage-length=n): Document.
8447
8448 2000-02-17 Jason Merrill <jason@casey.cygnus.com>
8449
8450 * bitmap.c (bitmap_operation): Don't leak bitmap elements.
8451
8452 2000-02-17 Mark Mitchell <mark@codesourcery.com>
8453
8454 * function.c (thread_prologue_and_epilogue_insns): Put a line note
8455 after the prologue.
8456
8457 2000-02-17 Nick Clifton <nickc@cygnus.com>
8458
8459 * config/arm/thumb.c: Replace includes of system headers with
8460 #include "system.h".
8461
8462 2000-02-16 Richard Henderson <rth@cygnus.com>
8463
8464 * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
8465 Add crtbeginS.o and crtendS.o.
8466 * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
8467 (ENDFILE_SPEC): Use crtendS.o.
8468 * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
8469
8470 * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
8471 (__do_global_dtors_aux): ... here. Call __cxa_finalize if
8472 shared and present.
8473 (__dso_handle): New variable.
8474 * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
8475 bias to __CTOR_END__.
8476
8477 2000-02-16 Richard Henderson <rth@cygnus.com>
8478
8479 * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
8480
8481 Wed Feb 16 21:40:04 2000 Hans-Peter Nilsson <hp@bitrange.com>
8482
8483 * longlong.h (__clz_tab): Declare as static to match definition.
8484
8485 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
8486 * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
8487 (XREF_FILE_NAME): Define.
8488
8489 * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
8490 (EH_FRAME_SECTION_ASM_OP): Define.
8491 (IDENT_ASM_OP): Define.
8492 (TEXT_SECTION_ASM_OP): Define.
8493 (CPP_SPEC): Define.
8494 (CTORS_SECTION_ASM_OP): Define.
8495 (CTOR_SECTION_FUNCTION): Use it.
8496 (DTORS_SECTION_ASM_OP): Define.
8497 (DTOR_SECTION_FUNCTION): Use it.
8498
8499 2000-02-16 Zack Weinberg <zack@wolery.cumb.org>
8500
8501 * reg-stack.c (emit_swap_insn): Do not put a new insn before a
8502 NOTE_BASIC_BLOCK.
8503
8504 * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
8505 debug_bb_n): New functions.
8506 (dump_flow_info, print_rtl_with_bb): Use dump_regset.
8507 * basic-block.h: Prototype new functions.
8508
8509 Wed Feb 16 21:07:53 2000 Denis Chertykov <denisc@overta.ru>
8510
8511 * configure.in: Add support for avr target.
8512 * configure: Rebuilt.
8513
8514 * invoke.texi: Add AVR invocation docs.
8515 * install.texi: Add information about AVR.
8516 * md.texi: Add AVR constraint letters description.
8517 * extend.texi: Add description for AVR specific attributes.
8518
8519 2000-02-16 Jason Merrill <jason@casey.cygnus.com>
8520
8521 * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
8522
8523 2000-02-16 Nick Clifton <nickc@cygnus.com>
8524
8525 * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
8526 (make_insn_raw): Move RTL check here.
8527
8528 2000-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8529
8530 * version.c: Include gansidecl.h and version.h.
8531
8532 * version.h: Wrap entire file in macro __GCC_VERSION_H__.
8533
8534 * configure.in (gcc_version): When setting, narrow search to
8535 lines containing `version_string'.
8536
8537 * Makefile.in (mainversion): Likewise.
8538 (GCC_H): New variable.
8539 (gcc.h): Delete target.
8540 (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
8541 (version.o): Depend on version.h.
8542 (dbxout.o): Don't depend on gcc.h.
8543
8544 Wed Feb 16 15:04:49 2000 Hans-Peter Nilsson <hp@bitrange.com>
8545 Michael Meissner <meissner@cygnus.com>
8546
8547 * md.texi (Simple Constraints): Add item about whitespace.
8548 * genoutput.c (strip_whitespace): New.
8549 (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
8550 strip_whitespace for constraints.
8551 Test pointer using NULL, not 0.
8552
8553 2000-02-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8554
8555 * cpplib.c (do_line): Pedwarn for #line > 32767.
8556
8557 * c-lex.c (readescape): Warn about '\x', but do not reject it.
8558
8559 2000-02-15 Jonathan Larmour <jlarmour@redhat.co.uk>
8560
8561 * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
8562 to default cpp spec.
8563 (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
8564 * cpp.texi: Document __GNUC_PATCHLEVEL__.
8565 * cpp.1: Likewise.
8566
8567 * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
8568 default spec.
8569
8570 2000-02-15 Denis Chertykov <denisc@overta.ru>
8571
8572 * configure.in: Add support for avr target.
8573
8574 Wed Feb 16 03:21:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8575
8576 * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
8577 (sh_addr_diff_vec_mode): Don't declare.
8578 * sh.c (sh_addr_diff_vec_mode): Delete.
8579
8580 Wed Feb 16 01:27:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8581
8582 * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
8583
8584 Wed Feb 16 00:58:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8585
8586 * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
8587 (smulsi3_highpart_i): Name.
8588 (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
8589 (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
8590 (smulsi3_highpart, umulsi3_highpart): Likewise.
8591
8592 (mulsidi3_i, umulsidi3_i): Make rtl describe operation
8593 correctly independent of endianness.
8594 (mulsidi3, umulsidi3): Now define_insn. Hide details that
8595 confuse the optimizers.
8596 (mulsidi3+1, umulsidi3+1): New define_split.
8597
8598 Tue Feb 15 23:22:26 2000 Andrew Haley <aph@cygnus.com>
8599
8600 * config/sh/sh.md: Guard insn splits against illegal registers.
8601 * config/sh/sh.h: Correct comment about macros.
8602
8603 Tue Feb 15 22:30:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8604 Andrew MacLeod <amacleod@cygnus.com>
8605
8606 * Makefile.in (lcm.o): Depend on insn-attr.h.
8607 * basic-block.h (optimize_mode_switching): Declare.
8608 * lcm.c (tm_p.h, insn-attr.h): #include.
8609 (seginfo, bb_info): New structs.
8610 (antic, transp, comp, delete, insert) : New file-scope static variables.
8611 (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
8612 (reg_becomes_live, optimize_mode_switching): Likewise.
8613 * tm.texi: Add description of mode switching macros.
8614 * toplev.c (rest_of_compilation): Call optimize_mode_switching.
8615
8616 * sh-protos.h (remove_dead_before_cse): Remove prototype.
8617 (fldi_ok, fpscr_set_from_mem): New prototypes.
8618 * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
8619 (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
8620 Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
8621 (sh_flag_remove_dead_before_cse): Remove declaration.
8622 (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
8623 (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
8624 (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
8625 * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
8626 (barrier_align): Allow for JUMP_INSNS containing a parallel.
8627 (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
8628 (fldi_ok): New function.
8629 (get_fpscr_rtx): Add fpscr_rtx as GC root.
8630 (emit_sf_insn): Only generate fpu switches when optimize < 1.
8631 (emit_df_insn): Likewise.
8632 (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
8633 (sh_flag_remove_dead_before_cse): Delete.
8634 (get_free_reg, fpscr_set_from_mem): New functions.
8635 * sh.md (movdf, movsf): Remove no_new_pseudos code.
8636 (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
8637
8638 2000-02-15 Loren Rittle <ljrittle@acm.org>
8639
8640 * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
8641
8642 2000-02-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8643
8644 * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
8645 cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
8646
8647 * cccp.c: Include version.h and/or don't declare `version_string'.
8648 * collect2.c: Likewise.
8649 * alpha.c: Likewise.
8650 * arm/aof.h: Likewise.
8651 * arm/coff.h: Likewise.
8652 * arm/elf.h: Likewise.
8653 * arm/pe.h: Likewise.
8654 * arm/tcoff.h: Likewise.
8655 * arm/telf.h: Likewise.
8656 * arm/tpe.h: Likewise.
8657 * arm/vxarm.h: Likewise.
8658 * convex/convex.c: Likewise.
8659 * i386/dgux.c: Likewise.
8660 * i386/sun386.h: Likewise.
8661 * m88k/m88k.c: Likewise.
8662 * mcore/mcore-pe.h: Likewise.
8663 * mips/mips.h: Likewise.
8664 * romp/romp.h: Likewise.
8665 * sh/sh.c: Likewise.
8666 * cpphash.c: Likewise.
8667 * cppinit.c: Likewise.
8668 * dwarf2out.c: Likewise.
8669 * dwarfout.c: Likewise.
8670 * gcc.c: Likewise.
8671 * gcc.h: Likewise.
8672 * mips-tfile.c: Likewise.
8673 * protoize.c: Likewise.
8674 * toplev.c: Likewise.
8675 * tree.h: Likewise.
8676
8677 * version.c (version_string): Constify a char*.
8678
8679 * version.h: New file.
8680
8681 2000-02-14 Nick Clifton <nickc@cygnus.com>
8682
8683 * configure.in: Add mcore-elf and mcore-pe targets.
8684 * configure: Regenerate.
8685
8686 * NEWS: Add note that MCore port has been contributed.
8687
8688 * invoke.texi: Document command line switches for MCore port.
8689 * install.texi: Add MCore to list of supported targets.
8690
8691 2000-02-14 Geoff Keating <geoffk@cygnus.com>
8692
8693 * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
8694 then we will need to import the frame handling functions.
8695 (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
8696 to import the frames themselves.
8697
8698 Mon Feb 14 13:31:01 2000 Stan Cox <scox@cygnus.com>
8699 Jason Eckhardt <jle@cygnus.com>
8700
8701 * basic_block.h: Added prototype for reorder_basic_blocks.
8702 * toplev.c: Changes to add -freorder-blocks and graph dump after
8703 block reordering is done.
8704 * flow.c (reorder_block_def): New structure for use during block
8705 reordering.
8706 (REORDER_BLOCK_*): New macros to access members of above structure.
8707 (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
8708 make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
8709 functions for block reordering.
8710
8711 Mon Feb 14 11:24:44 2000 Hans-Peter Nilsson <hp@bitrange.com>
8712
8713 * gcc.texi (Passes): Fix typo.
8714 * md.texi (Standard Names): Ditto.
8715 * tm.texi (Storage Layout): Ditto.
8716
8717 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
8718
8719 * cpplib.c (do_define): Only free the old definition if it
8720 actually had one.
8721
8722 2000-02-13 Neil Booth <NeilB@earthling.net>
8723
8724 * cppfiles.c (read_and_prescan): When emitting deferred
8725 newlines, test speccase[] again instead of checking each
8726 possible whitespace character in turn. When we encounter \r,
8727 look behind for \n first, then ahead.
8728
8729 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
8730
8731 * cse.c (cse_altered): New internal flag.
8732 (cse_insn): Set it if we changed an insn.
8733 (cse_main): Clear cse_altered before each basic block.
8734 Only garbage collect if cse_altered is true afterward.
8735
8736 Sun Feb 13 14:12:28 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8737
8738 * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
8739
8740 Sun Feb 13 13:21:55 2000 Jeffrey A Law (law@cygnus.com)
8741
8742 * combine.c (simplify_comparison): Fix typo.
8743
8744 Sun Feb 13 12:57:52 2000 Neil Booth <NeilB@earthling.net>
8745
8746 * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
8747 consistently.
8748
8749 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8750
8751 * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
8752 previously inserted node instead of root node. Caller changed.
8753
8754 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8755
8756 * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
8757
8758 2000-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8759
8760 * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
8761 __dereg_frame_dtor): Add prototype argument.
8762
8763 * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
8764
8765 * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
8766
8767 * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
8768
8769 * gthr-vxworks.h (__gthread_once): Likewise.
8770
8771 * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
8772
8773 Sat Feb 12 01:44:26 MET 2000 Jan Hubicka <jh@suse.cz>
8774
8775 * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
8776 (ix86_expand_epilogue): ... here. Use mov instead of add to restore
8777 stack pointer in functions w/o saved registers, output LEAVE more often
8778 on TARGET_USE_LEAVE machines.
8779
8780 2000-02-07 Dmitri Makarov <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
8781
8782 * config/arm/arm.c (arm_init_cumulative_args); New function:
8783 Initlaise the CUMULATIE_ARGS strcuture for a function
8784 defintion.
8785 (arm_function_arg): New function: Determine where to place a
8786 function's argument. Also handles deciding the function's
8787 call cookie.
8788 (current_file_function_operand): New function: Return true if
8789 the symbol is a function which has already been compiled.
8790 (arm_is_long_call_p): New function: Return true if the
8791 indicated function should be called via a long call.
8792 (arm_valid_type_attribute_p): New function: Return true if the
8793 attribute is a valid, arm specific, attribute.
8794 (arm_comp_type_attribute): New function: Return true if the
8795 two types have compatable, arm specific, attributes.
8796
8797 * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
8798 structure.
8799 (FUNCTION_ARG): Redefine to call arm_function_arg.
8800 (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
8801 structure field.
8802 (INIT_CUMULATIVE_ARGS): Redefine to call
8803 arm_init_cumulative_args.
8804 (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
8805 field.
8806 (SETUP_INCOMING_VARARGS): Redefine to use correct structure
8807 field.
8808 (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
8809 functions.
8810 (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
8811 (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
8812 (COMP_TYPE_ATTRIBUTES): Define.
8813
8814 * config/arm/arm.md (call): Call arm_is_long_call_p to decide
8815 if a long call is needed.
8816 (call_value): Call arm_is_long_call_p to decide if a long call
8817 is needed.
8818 (call_symbol): Call arm_is_long_call_p to decide if a long call
8819 is needed.
8820
8821 * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
8822
8823 2000-02-11 Denis Chertykov <denisc@overta.ru>
8824
8825 * README.AVR: New file with information about the avr ports.
8826 * config/avr: New directory with avr port files.
8827
8828 2000-02-11 Andreas Jaeger <aj@suse.de>
8829
8830 * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
8831
8832 2000-02-11 Zack Weinberg <zack@wolery.cumb.org>
8833
8834 * cpphash.c: Fix formatting, update commentary.
8835 (dump_definition): Take three separate arguments instead of a
8836 MACRODEF structure argument.
8837 * cpphash.h: Update prototype of dump_definition.
8838 * cppinit.c (cpp_finish): Update call of dump_definition.
8839
8840 * cpplib.c (do_define): Always create new hash entry with
8841 T_MACRO type. Remove redundant check for redefinition of
8842 poisoned identifier. Update call of dump_definition.
8843 (do_undef): Don't call check_macro_name. Rename sym_length to
8844 len.
8845 (do_error, do_warning): Don't use copy_rest_of_line or
8846 SKIP_WHITE_SPACE.
8847 (do_warning): Don't use pedwarn for the actual warning,
8848 only the notice about its not being in the standard. (Fixes
8849 bug with #warning in system headers.)
8850 (do_ident): Stricter argument checking - accept only a single
8851 string after #ident. Also, macro-expand the line.
8852 (do_xifdef): Use cpp_defined. De-obfuscate.
8853
8854 (do_pragma): Split out specific pragma handling to separate
8855 functions. Use get_directive_token. Update commentary. Do
8856 not pass on #pragma once or #pragma poison to the front end.
8857 (do_pragma_once, do_pragma_implementation, do_pragma_poison,
8858 do_pragma_default): New.
8859
8860 Feb 11 12:30:53 2000 Jeffrey A Law (law@cygnus.com)
8861
8862 * jump.c (jump_optimize_1): The first operand in a relational
8863 can be a CONST_INT.
8864 * optabs.c (emit_conditional_move): Handle relationals which
8865 have a known true/false result.
8866
8867 2000-02-11 Geoff Keating <geoffk@cygnus.com>
8868
8869 * function.c (thread_prologue_and_epilogue_insns): Don't insert
8870 a RETURN insn into a block which already ends with a jump.
8871
8872 2000-02-11 Geoff Keating <geoffk@cygnus.com>
8873
8874 * haifa-sched.c (BUF_LEN): Increase a lot.
8875
8876 2000-02-11 Nick Clifton <nickc@cygnus.com>
8877
8878 * configure.in: Add tm_p_file specification for thumb targets.
8879 * configure: Regenerate.
8880
8881 * config/arm/thumb-protos.h: New file: Prototypes for exported
8882 functions defined in thumb.c.
8883
8884 2000-02-11 Robert Lipe <robertl@sco.com>
8885
8886 * Makefile.in (bootstrap-lean): Remove additional files.
8887 (bootstrap2-lean): Likewise.
8888 (VOL_FILES): List of files for above.
8889
8890 2000-02-11 Nathan Sidwell <nathan@acm.org>
8891
8892 * cpphash.c (special_symbol): Remove spurious argument to
8893 cpp_lookup.
8894
8895 2000-02-11 Joel Sherrill (joel@OARcorp.com>
8896
8897 * configure.in: (i*86-*-rtems*): Swapped elf and coff
8898 stanzas.
8899 * configure: Rebuilt.
8900
8901 2000-02-11 Rodney Brown <RodneyBrown@pmsc.com>
8902
8903 * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
8904
8905 Fri Feb 11 02:59:05 2000 Jeffrey A Law (law@cygnus.com)
8906
8907 * pa.c, pa.h: Remove trigraph sequences within comments.
8908
8909 Fri Feb 11 02:51:56 2000 Pavel Roskin <pavel_roskin@geocities.com>
8910
8911 * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
8912
8913 Fri Feb 11 02:48:30 2000 Brad Lucier (lucier@math.purdue.edu)
8914
8915 * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
8916
8917 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8918
8919 * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
8920
8921 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8922
8923 * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
8924 (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
8925 (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
8926 (ASM_FILE_END): Use c4x_file_end.
8927 * config/c4x/c4x.c (c4x_global_label): New function.
8928 (c4x_external_ref, c4x_file_end): Likewise.
8929
8930 * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
8931 (c4x_external_ref, c4x_end_file): Likewise.
8932
8933 2000-02-10 Zack Weinberg <zack@wolery.cumb.org>
8934
8935 * cppexp.c: Don't include cpphash.h.
8936 (parse_charconst, cpp_lex): Use cpp_defined.
8937 (cpp_lex): Use get_directive_token throughout. Remove
8938 unnecessary cases from switch. Move assertion-handling code
8939 down to OTHER case.
8940 (cpp_parse_expr): If we see '+' or '-', check the context to
8941 determine if they are unary or binary operators. Streamline
8942 the jumps a bit. Do not call skip_rest_of_line.
8943
8944 * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
8945 static. Export get_directive_token. Update commentary.
8946 (cpp_defined): New function.
8947 (do_define): Remove reference to T_PCSTRING. Call
8948 free_definition to release memory for old definition, when
8949 redefining a macro.
8950 (eval_if_expression): Set only_seen_white to 0 before calling
8951 cpp_parse_expr. Call skip_rest_of_line after it returns.
8952 (cpp_read_check_assertion): Don't preserve a pointer into the
8953 token buffer across a call to cpp_get_token.
8954
8955 * Makefile.in (cppexp.o): Don't depend on cpphash.h.
8956 * cppfiles.c (redundant_include_p): Use cpp_defined.
8957 * cpphash.c (free_definition): New function.
8958 (delete_macro): Use it. Update commentary.
8959 * cpphash.h: Typedef HASHNODE here. Prototype cpp_lookup and
8960 free_definition.
8961 * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
8962 from enum node_type. Prototype cpp_defined and get_directive_token.
8963 Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
8964
8965 * fix-header.c (check_macro_names): Use cpp_defined.
8966 (read_scan_file): Set inhibit_warnings and inhibit_errors in
8967 the options structure.
8968
8969 2000-02-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8970
8971 * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
8972
8973 2000-02-10 Jason Merrill <jason@casey.cygnus.com>
8974
8975 * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
8976 rather than die->die_tag.
8977
8978 Thu Feb 10 16:26:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8979
8980 * combine.c (make_extraction, force_to_mode): Avoid warning on
8981 mixed-signedness conditionals.
8982 (make_field_assignment, nonzero_bits): Likewise.
8983 * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
8984 (store_split_bit_field, extract_split_bit_field): Likewise.
8985 (extract_fixed_bit_field, store_bit_field,
8986 * expr.c: Change alignment to be unsigned everywhere.
8987 (move_by_pieces, store_constructor_field, store_constructor):
8988 Alignment parm is unsigned.
8989 (emit_block_move, emit_group_load, emit_group_store): Likewise.
8990 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
8991 (do_compare_rtx_and_jump): Likewise.
8992 (move_by_pieces_ninsns, clear_by_pieces): Likewise.
8993 Compare align with GET_MODE_ALIGNMENT.
8994 (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
8995 (get_inner_reference): Likewise.
8996 (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
8997 (expand_assignment): Local vars for alignment now unsigned.
8998 (store_constructor, store_field, expand_expr, do_jump): Likewise.
8999 (do_compare_and_jump): Likewise.
9000 (store_field): Call new function expr_align.
9001 * expr.h (emit_block_move, emit_group_load, emit_group_store):
9002 Alignment arg now unsigned.
9003 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
9004 (do_compare_rtx_and_jump, store_bit_field): Likewise.
9005 (extract_bit_field): Likewise.
9006 * fold-const.c (add_double): Add cast to eliminate signedness warning.
9007 * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
9008 (get_best_mode): Alignment arg is unsigned.
9009 * rtl.h (move_by_pieces): Likewise.
9010 * store-layout.c (maximum_field_alignment, set_alignment):
9011 Now unsigned.
9012 (layout_decl): Alignment arg is now unsigned.
9013 Remove unneeded casts.
9014 (layout_record, layout_union, layout_type): Remove unneeded casts.
9015 Local alignment variables now unsigned.
9016 (get_best_mode): Alignment arg now unsigned.
9017 * tree.c (expr_align): New function.
9018 * tree.h (expr_align): Likewise.
9019 (maximum_field_alignment, set_alignment): Now unsigned.
9020 (get_inner_reference): Alignment argument is now pointer to unsigned.
9021 * varasm.c (assemble_variable): Add cast to eliminate warning.
9022
9023 Thu Feb 10 12:56:47 2000 Jim Wilson <wilson@cygnus.com>
9024
9025 * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
9026 then store directly into op0.
9027
9028 * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
9029 the CALL_INSN, and emit the note immediately after it.
9030
9031 2000-02-10 Nick Clifton <nickc@cygnus.com>
9032
9033 * config/arm/thumb.md (epilogue): Include a (return) in the
9034 generated insn, and emit it using emit_jump_insn not
9035 emit_insn.
9036
9037 Thu Feb 10 18:28:59 MET 2000 Jan Hubicka <jh@suse.cz>
9038
9039 * function.c (assign_temp): Change zero-sized arrays to size 1.
9040 * integrate.c (expand_inline_function): Do not update
9041 stack_alignment_needed
9042 * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
9043 add some sanity checking, remove optimization for function with
9044 zero frame size.
9045
9046 2000-02-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9047
9048 * flow.c (mark_regs_live_at_end): Delete unused variables.
9049
9050 * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
9051
9052 * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
9053 in macro FRAME_GROWS_DOWNWARD.
9054
9055 * stmt.c (expand_end_bindings): Delete unused variable.
9056
9057 * unroll.c (iteration_info): Mark parameter `loop' with
9058 ATTRIBUTE_UNUSED.
9059
9060 2000-02-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9061
9062 * fixinc/server.c (load_data): Return NULL if the marker line is
9063 not found.
9064 (run_shell): If load_data returns NULL, retry the command once, in
9065 a new shell.
9066
9067 * configure: Rebuilt.
9068
9069 2000-02-09 Bruce Korb <bkorb@gnu.org>
9070
9071 * gcc/fixincludes: ** DELETED **
9072 * gcc/fixcpp: ** DELETED **
9073 * gcc/fixinc-nt.sed: ** DELETED **
9074 * gcc/just-fixinc: ** DELETED **
9075 * gcc/Makefile.in: Removed out-dated commentary
9076 * gcc/configure.in: Removed fast-fixincludes disablement.
9077 * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
9078
9079 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
9080 * function.c (thread_prologue_and_epilogue_insns): Uncomment
9081 last change.
9082
9083 2000-02-09 Richard Henderson <rth@cygnus.com>
9084
9085 * jump.c (delete_insn): Don't delete user labels at -O0.
9086
9087 2000-02-09 Robert Lipe <robertl@sco.com>
9088
9089 * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
9090 Don't link with HOST_LIBS.
9091
9092 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
9093
9094 * configure.in: Correct --help text for --with-dwarf2.
9095 Put tm-dwarf2.h after other tm files, if it's requested.
9096 * configure: Regenerate.
9097 * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
9098 defining it.
9099
9100 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
9101
9102 * cpplib.h: Provide HASHNODE typedef and forward decl of
9103 struct hashnode only. Kill cpp_hashnode typedef. MACRODEF,
9104 DEFINITION, struct hashnode, struct macrodef, struct
9105 definition, scan_decls prototype, default defn of
9106 INCLUDE_LEN_FUDGE moved elsewhere.
9107
9108 * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
9109 definition, and struct hashnode moved here. Remove the unused
9110 'predefined' field from struct definition. Replace the 'args'
9111 union with its sole member. All users updated (cpphash.c).
9112 Delete HASHSTEP and MAKE_POS macros, and hashf prototype. Add
9113 multiple include guard.
9114
9115 * cpphash.c (hashf): Make static; use better algorithm; drop
9116 HASHSIZE parameter; return an unsigned int.
9117 (cpp_lookup): Drop HASH parameter. PFILE parameter is
9118 used. Calculate HASHSIZE modulus here.
9119 (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
9120 here.
9121 (create_definition): Drop PREDEFINITION parameter.
9122 * cpplib.c (do_define): Don't calculate a hash value here.
9123 Don't pass (keyword == NULL) to create_definition.
9124
9125 * scan.h: Prototype scan_decls here.
9126 * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
9127 * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
9128 callers of cpp_lookup and cpp_install updated.
9129
9130 * cpphash.c (macarg): Hoist all the flag diddling out of the
9131 function...
9132 (macroexpand): ... and out of the loop that calls macarg.
9133 Skip over the initial paren before macro arguments with
9134 cpp_get_non_space_token; point may be some distance before
9135 that paren. Abort if it's not there.
9136
9137 * cpplib.c (parse_clear_mark): Delete function.
9138 (parse_set_mark, parse_goto_mark): Make static.
9139 (ACTIVE_MARK_P): New macro.
9140 (skip_block_comment, skip_line_comment): Do not bump the line
9141 if ACTIVE_MARK_P is true.
9142 (cpp_pop_buffer): The buffer to be popped may not have an
9143 active mark.
9144 (cpp_get_token): When looking for the initial paren before
9145 macro arguments, only set a mark in a file buffer, Always
9146 return to that mark before proceeding to call macroexpand or
9147 return a NAME token.
9148
9149 * cpplib.h: Remove prototypes of parse_set_mark,
9150 parse_clear_mark, parse_goto_mark.
9151 (struct cpp_options): Rename 'put_out_comments' to
9152 'discard_comments' and invert its sense.
9153 * cppinit.c, cpphash.c, cpplib.c: All users of
9154 put_out_comments changed to use discard_comments, with
9155 opposite sense.
9156
9157 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
9158
9159 * function.c (thread_prologue_and_epilogue_insns): Don't delete
9160 the edge from a block that both jumps and falls through to the
9161 fallthru block.
9162
9163 2000-02-09 Scott Bambrough <scottb@netwinder.org>
9164
9165 * config/arm/arm.md (movsi): In PIC mode, make sure that a
9166 constant source address is legitimate.
9167
9168 2000-02-09 Philip Blundell <pb@futuretv.com>
9169
9170 * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
9171 correctly.
9172
9173 * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
9174 generating PIC.
9175 (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
9176
9177 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
9178
9179 * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
9180 ends with a newline and a NUL. Don't be so clever manipulating
9181 strings.
9182
9183 Wed Feb 9 14:18:08 MET 2000 Jan Hubicka <jh@suse.cz>
9184
9185 * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
9186 not to BIGGEST_ALIGNMENT.
9187
9188 2000-02-08 Geoff Keating <geoffk@cygnus.com>
9189
9190 * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
9191 * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
9192 (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
9193 (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
9194 * frame.c (execute_cfa_insn): Handle
9195 DW_CFA_GNU_negative_offset_extended.
9196
9197 2000-02-08 Richard Henderson <rth@cygnus.com>
9198
9199 * flow.c (tidy_fallthru_edges): Split out from ...
9200 (delete_unreachable_blocks): ... here.
9201 (find_basic_blocks): Use it.
9202
9203 Tue Feb 8 15:51:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9204
9205 * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
9206
9207 2000-02-08 Zack Weinberg <zack@wolery.cumb.org>
9208
9209 * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
9210 (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
9211 (fix-header.o): Don't depend on cpphash.h.
9212
9213 * scan.c (hashstr): New function.
9214 * scan.h: Prototype it.
9215 * fix-header.c: Don't include cpphash.h. Use hashstr.
9216 * gen-protos.c: Don't include cpphash.h or cpplib.h. Use
9217 hashstr. Report hash table statistics. Add private
9218 definition of xrealloc.
9219
9220 2000-02-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9221
9222 * i386.h (TARGET_SWITCHES): Fix typo in option name.
9223
9224 2000-02-08 Clinton Popetz <cpopetz@cygnus.com>
9225
9226 * function.c (thread_prologue_and_epilogue_insns): Don't replace
9227 jumps with returns unless they are jumps to the fallthru block.
9228
9229 Tue Feb 8 07:53:55 2000 Jan Hubicka <jh@suse.cz>
9230
9231 * i386.md (addqi3_cc): Fix contraints.
9232
9233 Tue Feb 8 01:39:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
9234
9235 * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
9236
9237 2000-02-07 Mark Mitchell <mark@codesourcery.com>
9238
9239 * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
9240 carriage return after a macro name.
9241
9242 2000-02-07 Fred Fish <fnf@be.com>
9243
9244 * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
9245 so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
9246
9247 2000-02-07 Zack Weinberg <zack@wolery.cumb.org>
9248
9249 * cppfiles.c (deps_output): Count spacers in deps_column.
9250
9251 2000-02-07 Neil Booth <NeilB@earthling.net>
9252
9253 * cppinit.c (initialize_dependency_output): If there is no
9254 suffix, don't try to look for known suffixes. Use strrchr.
9255 (cpp_start_read): Remove duplicate initialization.
9256
9257 Mon Feb 7 18:36:41 MET 2000 Jan Hubicka <jh@suse.cz>
9258
9259 * calls.c (compute_argument_block_size): New argument
9260 preferred_stack_boundary.
9261 (expand_call): update cfun->preferred_stack_boundary, update call of
9262 compute_argument_block_size
9263 (emit_library_call): Increate cfun->preferred_stack_boundary
9264 to PREFERRED_STACK_BOUNDARY
9265 (emit_library_call_value): Likewise.
9266 * explow.c (allocate_dynamic_stack_spave): Likewise.
9267 * function.c (prepare_function_start): Set
9268 cfun->preferred_stack_boundary
9269 * function.h (struct function): Add preferred_stack_boundary field.
9270 * integrate.c (expand_inline_function): Update
9271 cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
9272 (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
9273 * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
9274
9275 2000-02-06 Zack Weinberg <zack@wolery.cumb.org>
9276
9277 * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
9278 cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
9279 cpp_pedwarn, cpp_pedwarn_with_line,
9280 cpp_pedwarn_with_file_and_line): Move to cpperror.c.
9281 (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
9282 v_cpp_error_with_line, v_cpp_warning_with_line,
9283 cpp_message_from_errno, cpp_perror_with_name): Delete.
9284
9285 * cpperror.c (cpp_print_containing_files): Take starting
9286 buffer as argument.
9287 (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
9288 (v_cpp_message): Now called directly by all entry points.
9289 Remove -1 case.
9290 (cpp_pfatal_with_name, cpp_message): Delete.
9291 (cpp_notice_from_errno, cpp_ice): New functions.
9292 (cpp_notice): Is now for reporting error conditions, just
9293 without an associated file.
9294 (cpp_error, cpp_error_with_line): Don't do anything if
9295 opts->inhibit_errors is on.
9296 (cpp_pedwarn_with_file_and_line): Take column argument also.
9297
9298 * cpplib.h: Update prototypes of exported functions.
9299 (struct cpp_options): Add inhibit_errors.
9300
9301 * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
9302 non-error messages. Include intl.h.
9303
9304 * cppinit.c, cppmain.c: Likewise. Also, use
9305 cpp_notice_from_errno instead of cpp_perror_with_name or
9306 cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
9307
9308 * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
9309 report internal errors.
9310
9311 * cpplib.c (do_define): Switch bcopy to memcpy.
9312 Give cpp_pedwarn_with_file_and_line a dummy column argument.
9313
9314 * cpplib.c (copy_rest_of_line): Revert previous change: don't
9315 bail out early if we hit a line comment.
9316
9317 2000-02-06 Richard Henderson <rth@cygnus.com>
9318
9319 * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
9320 * basic-block.h: Declare them.
9321 * emit-rtl.h (active_insn_p): New.
9322 (next_active_insn, prev_active_insn): Use it.
9323 * rtl.h: Declare it.
9324 * function.c (emit_return_into_block): New.
9325 (thread_prologue_and_epilogue_insns): Insert return insns instead
9326 of epilogues when possible.
9327 * jump.c (jump_optimize_1): Remove code to insert a return insn
9328 on the fallthru to the exit block.
9329
9330 * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
9331 and for non-empty stack frames.
9332 * i386.md (return): Expand to return-pop as needed.
9333
9334 2000-02-06 Richard Henderson <rth@cygnus.com>
9335
9336 * simplify-rtx.c (simplify_relational_operation): Canonicalize
9337 constant to op1 for testing.
9338
9339 2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9340
9341 * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
9342 (fixuns_truncqfqi2): Use it.
9343
9344 2000-02-06 Richard Henderson <rth@cygnus.com>
9345
9346 * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
9347 as a TYPE_LEA insn.
9348
9349 * i386.md (widening and peepholes): Mask the constant instead of
9350 using gen_lowpart.
9351
9352 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
9353
9354 * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
9355 input pointer before possibly branching off to the backslash
9356 code.
9357 * cpphash.c (macroexpand): Correctly delete \r escapes when
9358 stringifying parameters.
9359 * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
9360 if we can; bail out early if we hit a line comment.
9361 (handle_directive): Treat '# 123' in an .S file just like
9362 '# <punctuation>'. Discard the shifted '#' if we hit '#\n'.
9363 Return 1 for '# not_a_directive'.
9364 (get_directive_token): Pop macro buffers here, so that
9365 cpp_get_token can't sneakily move past a newline.
9366 Add sanity checks.
9367 (cpp_get_token): goto randomchar if handle_directive returns 0.
9368
9369 * cppalloc.c: Update copyright.
9370 * cpplib.c: Merge all the static function prototypes into one
9371 block.
9372 * cpplib.h: Remove #if 0 block.
9373
9374 * cpperror.c: Remove #ifdef EMACS block.
9375 * cppmain.c: Likewise.
9376 * cpphash.c: Remove #if 0 blocks.
9377 * cppinit.c: Remove #if 0 blocks, and the -lint option.
9378 * cpplib.c: Remove #if 0 blocks and code referencing
9379 pcp_inside_if or for_lint. Remove duplicate error message.
9380 Fix error messages for #else after #else or #elif. Reformat.
9381 Remove archaic TODO list.
9382 * cpplib.h: Remove pcp_inside_if and for_lint flags.
9383
9384 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
9385
9386 * i386/osf1elf.h: Add missing backslash to multiline string.
9387
9388 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9389
9390 * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
9391
9392 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9393
9394 * Makefile.in (c-common.o): Depend on $(EXPR_H).
9395
9396 * c-common.c: Include expr.h.
9397
9398 * c-pragma.c (mark_align_stack): Add prototype.
9399
9400 * caller-save.c (add_stored_regs): Likewise.
9401
9402 * combine.c (record_promoted_value): Likewise.
9403
9404 * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
9405 Likewise.
9406
9407 * cppinit.c (new_pending_define): Likewise.
9408
9409 * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
9410
9411 * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
9412 AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
9413 AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
9414 class_scope_p): Likewise.
9415
9416 * dwarf2out.h (dwarf2out_set_demangle_name_func,
9417 dwarf2out_add_library_unit_info): Likewise.
9418
9419 * ggc.h (ggc_page_print_statistics): Likewise.
9420
9421 * haifa-sched.c (propagate_deps): Likewise.
9422
9423 * reg-stack.c (next_flags_user, record_label_references): Likewise.
9424
9425 * rtl.h (set_stack_check_libfunc): Likewise.
9426
9427 * toplev.h (set_fatal_function): Likewise.
9428
9429 * toplev.c (set_fatal_function): Delete prototype.
9430
9431 * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
9432
9433 2000-02-05 Geoff Keating <geoffk@cygnus.com>
9434
9435 * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
9436 (FUNC_END): Likewise.
9437
9438 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9439
9440 * caller-save.c: Include tm_p.h.
9441
9442 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9443
9444 * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
9445
9446 2000-02-04 Neil Booth <NeilB@earthling.net>
9447
9448 * cccp.c (main): Check 'dir' for a NULL pointer before passing
9449 it to strcmp.
9450
9451 2000-02-04 Zack Weinberg <zack@wolery.cumb.org>
9452
9453 * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
9454 * genflags.c: Use the max_operand_1 logic from genemit.c to
9455 calculate how many arguments gen_insn prototypes have. Remove
9456 NO_MD_PROTOTYPES ifdefs from the generated file.
9457 * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
9458 file. Cast gen_insn initializers to insn_gen_fn.
9459 * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
9460 * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
9461
9462 2000-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9463
9464 * fixinc/Makefile.in (HDR): Add machname.h.
9465 (clean): Likewise.
9466
9467 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9468
9469 * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
9470 (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
9471 (c4x_cpu_version): Ditto.
9472 * config/c4x/c4x-protos.h: ... here.
9473
9474 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
9475
9476 * dwarf2out.c (add_abstract_origin_attribute): Don't call
9477 gen_abstract_function on our context if we're a nested function.
9478
9479 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9480
9481 * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
9482 * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
9483
9484 2000-02-04 Bruce Korb <bkorb@gnu.org>
9485
9486 * fixinc/genfixes(machname.h):
9487 Move the functionality from gen-machine.h into this file.
9488 UNdef MN_NAME_PAT if there are no names to change.
9489 Also, be a little kinder when AutoGen is not present.
9490
9491 * fixinc/Makefile.in(machname.h):
9492 Change the generation rule to use genfixes.
9493
9494 * fixinc/fixfixes.c(machine_name):
9495 machine_name_fix's functionality now dependent upon whether
9496 MN_NAME_PAT is defined.
9497
9498 * fixinc/fixtests.c(machine_name):
9499 ditto.
9500
9501 * fixinc/fixlib.c(mn_get_regexps): conditional on definition
9502 of MN_NAME_PAT.
9503
9504 * fixinc/fixlib.h(mn_get_regexps):
9505 ditto
9506
9507 * fixinc/gen-machine.h: DELETED
9508
9509 2000-02-04 Jan Hubicka <jh@suse.cz>
9510 Richard Henderson <rth@cygnus.com>
9511
9512 * i386.c (SAVE_REGS_FIRST): Remove.
9513 (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
9514 (ix86_compute_frame_size): Likewise.
9515 (ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack.
9516 (ix86_emit_restore_regs): Remove.
9517 (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
9518 when a frame pointer is in use.
9519 (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov
9520 instead of pop to restore a register when profitable; emit leave
9521 when profitable.
9522 (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
9523 as a TYPE_LEA insn.
9524 (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
9525 * i386.md (prologue_allocate_stack): Remove.
9526 (epilogue_deallocate_stack): Remove.
9527 (pro_epilogue_adjust_stack): New.
9528
9529 2000-02-04 Richard Henderson <rth@cygnus.com>
9530
9531 * function.c (diddle_return_value): Rework to use a callback function.
9532 Use current_function_return_rtx if it's been set up.
9533 (do_clobber_return_reg, clobber_return_register): New.
9534 (do_use_return_reg, use_return_register): New.
9535 (expand_function_end): Use them.
9536 * stmt.c (expand_null_return): Likewise.
9537 * function.h: Declare them.
9538 * flow.c (mark_regs_live_at_end): Use diddle_return_value.
9539 (mark_reg): Change arguments as appropriate for callback.
9540 * integrate.c (expand_inline_function): Revert 19 Jan change.
9541
9542 Fri Feb 4 20:25:42 2000 Hans-Peter Nilsson <hp@bitrange.com>
9543
9544 * tm.texi (Values in Registers): Fix typo: "fo" "for".
9545 (Misc): Say the scheduler, not the Haifa scheduler.
9546
9547 2000-02-04 Clinton Popetz <cpopetz@cygnus.com>
9548
9549 * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
9550 when in_mem is set. Update all callers.
9551
9552 2000-02-04 Richard Henderson <rth@cygnus.com>
9553
9554 * i386/openbsd.h (INT_ASM_OP): Define.
9555
9556 Fri Feb 4 10:51:30 2000 Hans-Peter Nilsson <hp@bitrange.com>
9557
9558 * tm.texi: Fix various typos.
9559
9560 Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
9561
9562 * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
9563 (MD_STARTFILE_PREFIX_1): New macro.
9564
9565 Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
9566
9567 * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
9568 destination when needed.
9569 (strmovsi, strsetsi): New expander.
9570 (strmovsi_1, strsetsi_1): New pattern.
9571 * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
9572 TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
9573 (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
9574 * invoke.texi (align-stringops, inline-all-stringops): Document.
9575
9576 Wed Feb 2 23:04:47 2000 Krister Walfridsson <cato@df.lth.se>
9577
9578 * i386/netbsd.h (INT_ASM_OP): Define.
9579
9580 2000-02-02 Zack Weinberg <zack@wolery.cumb.org>
9581
9582 * cpplib.h (cpp_reader): Add new flag, no_directives.
9583 * cpphash.c (macarg): Set it.
9584 * cpplib.c (handle_directive): If no_directives is on and we
9585 find a directive, issue an error and discard the line.
9586
9587 Wed Feb 2 13:07:10 2000 Jim Wilson <wilson@cygnus.com>
9588
9589 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
9590 FP constants. Add ! TARGET_FPU check for FP constants.
9591
9592 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
9593
9594 * flow.c (find_basic_blocks): Don't kill label_value_list
9595 here.
9596 (cleanup_cfg): Kill it here.
9597
9598 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9599
9600 * expr.c (store_field): Ensure ALIGN is no stricter than the
9601 alignment of EXP.
9602
9603 2000-02-02 Richard Henderson <rth@cygnus.com>
9604
9605 * jump.c (delete_insn): Partially revert 19 Jan change;
9606 don't convert unused code labels to notes at -O0.
9607
9608 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9609
9610 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
9611 split_all_insns to recreate REG_LABEL notes for flow2 pass.
9612
9613 2000-02-01 Richard Henderson <rth@cygnus.com>
9614
9615 * i386.c (general_no_elim_operand): New.
9616 (nonmemory_no_elim_operand): New.
9617 (ix86_expand_move): Copy eliminable operands before a push.
9618 * i386-protos.h: Declare new functions.
9619 * i386.h (CAN_ELIMINATE): Simplify.
9620 (PREDICATE_CODES): Update.
9621 * i386.md (push insns): Don't allow eliminable register operands.
9622
9623 2000-02-01 Richard Henderson <rth@cygnus.com>
9624
9625 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
9626 replace BLKmode with DECL_RTL's mode.
9627
9628 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
9629
9630 * frame.c (find_fde): Convert for loop to do-while so compiler
9631 sees it's always executed at least once.
9632 * libgcc2.c (BBINBUFSIZE): Kill.
9633 (__bb_init_prg): Use fgets.
9634 (__bb_exit_trace_func): Don't paste strings.
9635 * unroll.c (unroll_loop): Initialize unroll_type, not
9636 unroll_number, and tweak logic to match.
9637
9638 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
9639 all failure paths.
9640 (ix86_flags_dependant): Likewise. Disentangle control flow.
9641 (ix86_sched_reorder): Break guts out to
9642 ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
9643 (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
9644 any possible use.
9645
9646 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
9647 use string concatenation. Don't save and restore esi.
9648
9649 * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
9650 (machname.h): Remove script to separate file. Use two-step
9651 sequence so target is not created if script fails.
9652 * fixinc/gen-machname.h: New file. Handle case where no non-reserved
9653 identifiers are defined.
9654 * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
9655 an empty string, machine_name doesn't need to do anything at
9656 all.
9657 (is_cxx_header): Add more cases to regexp.
9658 * fixinc/fixlib.h: Update prototype.
9659 * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
9660 mn_get_regexps.
9661 * fixinc/fixincl.c: Define NO_BOGOSITY.
9662
9663 * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
9664 (hp_sysfile): Add missing comma.
9665 (math_exception): Put the wrapper ifdefs at the beginning and
9666 the end of the file.
9667 * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
9668
9669 2000-02-01 Richard Henderson <rth@cygnus.com>
9670
9671 * sparc.c (fp_zero_operand): Turn into a normal predicate.
9672 Use CONST0_RTX. Update all callers.
9673 * sparc.h, sparc-protos.h: Update accordingly.
9674 * sparc.md (fp mov insns): Use fp_zero_operand directly
9675 where applicable.
9676
9677 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
9678
9679 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
9680 example.
9681
9682 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9683
9684 * Makefile.in (specs.ready): New target.
9685 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
9686
9687 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9688
9689 * fixinc.irix: Use unique filenames for writing into /tmp,
9690 * fixinc.ptx: Likewise.
9691 * fixinc.sco: Likewise.
9692 * fixinc.svr4: Likewise.
9693 * fixinc.winnt: Likewise.
9694
9695 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9696
9697 * tsystem.h: New file.
9698
9699 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
9700 s-crtS): Depend on tsystem.h.
9701
9702 * crtstuff.c: Include tsystem.h.
9703 * frame.c: Likewise.
9704 * libgcc2.c: Likewise.
9705
9706 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
9707
9708 * builtins.c (expand_builtin_memset): Expand for variable sized
9709 lengths too.
9710
9711 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
9712
9713 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
9714 on ABI.
9715
9716 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
9717
9718 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
9719
9720 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
9721
9722 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
9723
9724 * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
9725 case 3->2 combining (combining with splitting) in which 2 is CC0
9726 setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
9727 checked at the begining of the function with the aid of calling
9728 function 'can_combine_p'.
9729
9730 2000-01-31 Dave Brolley <brolley@redhat.com>
9731
9732 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
9733
9734 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
9735
9736 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
9737 new label.
9738
9739 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9740
9741 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
9742
9743 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
9744 PROTO -> PARAMS.
9745
9746 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
9747
9748 * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
9749 i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
9750 i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
9751 i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
9752 i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
9753 i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
9754 i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
9755 i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
9756 i386/vxi386.h, i386/win-nt.h, i386/win32.h:
9757 Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
9758
9759 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
9760 Add %(cpp_cpu) to CPP_SPEC.
9761
9762 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
9763 Add %(cc1_cpu) to CC1_SPEC.
9764
9765 2000-01-28 Ulrich Drepper <drepper@redhat.com>
9766
9767 * c-decl.c (c_decode_option): Accept optional numeric argument to
9768 -Wformat and set warn_format.
9769 * c-common.c: Don't emit warning about non-constant printf format
9770 string unless warn_format > 1.
9771
9772 2000-01-30 Richard Henderson <rth@cygnus.com>
9773
9774 * alpha.md (return_internal): Allow after reload only.
9775
9776 2000-01-30 Richard Henderson <rth@cygnus.com>
9777
9778 * i386.c (ix86_compute_frame_size): Omit padding1 if the
9779 local frame size is zero.
9780
9781 2000-01-30 Richard Henderson <rth@cygnus.com>
9782
9783 * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
9784 * alpha.h (EPILOGUE_USES): New. Mark $26 live.
9785 * alpha.md (return): Turn into an expander.
9786 (return_internal): Don't use $26.
9787 (epilogue): Emit the return insn.
9788
9789 2000-01-30 Richard Henderson <rth@cygnus.com>
9790
9791 * alpha.md (negtf2, abstf2): Fix word order thinko.
9792 (extendsftf2): New.
9793 (trunctfsf2): Avoid intermediate rounding errors.
9794
9795 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
9796
9797 * cppfiles.c (find_position): Drop 'colp' argument, return the
9798 new line base.
9799 (read_and_prescan): Adjust to match. Don't ever manipulate
9800 line or line_base except via find_position.
9801
9802 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
9803
9804 * c-parse.in: Apply Ulrich's changes from c-parse.y.
9805 * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
9806 Regenerate.
9807
9808 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
9809
9810 * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
9811 just print "<command line>". If 'filename' is null or an
9812 empty string, print "<stdin>" for the filename.
9813 * cpplib.c (do_define): Don't print the 'location of the
9814 previous definition' message if we're still parsing the
9815 command line.
9816 (cpp_pedwarn_with_file_and_line): Always call
9817 cpp_file_line_for_message.
9818
9819 2000-01-29 Mark Mitchell <mark@codesourcery.com>
9820
9821 * flow.c (mark_regs_live_at_end): Fix typo.
9822
9823 2000-01-28 Ulrich Drepper <drepper@redhat.com>
9824
9825 * c-common.c: Adjust variable names, comments, help strings to c99.
9826 * c-lex.c: Likewise.
9827 * c-parse.y: Likewise.
9828 * c-tree.h: Likewise.
9829 * cccp.c: Likewise.
9830 * cpplib.h: Likewise.
9831 * c-decl.c: Likewise. Recognize options with names "*99" as well.
9832 * cppinit.c: Likewise.
9833
9834 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9835
9836 * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
9837 * c4x.c: Define the optab rtx values.
9838 (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
9839 (c4x_emit_libcall): Use new optab rtx values.
9840 (c4x_emit_libcall3): Likewise.
9841 (c4x_emit_libcall_mulhi): Likewise.
9842 * c4x-protos.h: Add prototypes for optab rtx values and change
9843 prototypes for above c4x_emit_libcall functions.
9844
9845 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9846
9847 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
9848 syntax is used.
9849 (c4x_function_prologue): Use regnames intead of float_reg_names when
9850 TI syntax is used.
9851 (c4x_function_epilogue): Likewise.
9852 (c4x_print_operand): Likewise.
9853 * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
9854 * c4x.md (set_high): Disable for TARGET_TI.
9855
9856 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9857
9858 * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
9859 of framepointer + constant to ADDR_REGS class.
9860 * c4x.md (addqi3, addqi3_noclobber_reload): Update.
9861 * c4x.c (std_or_reg_operand): New function.
9862 * c4x-protos.h (std_or_reg_operand): Prototype it.
9863
9864 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9865
9866 * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
9867 object names as libgcc2.c.
9868 * libgcc.S: Use newly defined names.
9869
9870 Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
9871 * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
9872 function.
9873 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
9874 * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
9875 (FLOW_LOOP_LAST_BLOCK): Likewise.
9876
9877 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9878
9879 * basic-block.h (struct loop): New fields 'first' and 'last'.
9880 * flow.c (flow_loops_find): Compute loop->first and loop->last.
9881 (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
9882 and loop->last to check for NOTE_INSN_LOOP_END.
9883
9884 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
9885
9886 * predict.c (estimate_probability): Use the new FIRST and LAST fields
9887 of the loop descriptor rather than HEADER and LATCH. Also added
9888 missing break statements as well making some coding style modifications
9889 as suggested by Michael Hayes.
9890
9891 2000-01-28 Richard Henderson <rth@cygnus.com>
9892
9893 * flow.c (find_basic_blocks): Remove do_cleanup argument.
9894 Break out that code ...
9895 (cleanup_cfg): ... here.
9896 (commit_one_edge_insertion): Detect a return instruction being
9897 emitted to an edge. Emit a barrier following; clear fallthru.
9898 (commit_edge_insertions): Verify CFG consistency.
9899 * function.c (expand_function_start): Kill unused variable.
9900 (expand_function_end): Likewise.
9901 (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
9902 to insert the epilogue.
9903
9904 * gcse.c (gcse_main): Adjust for find_basic_blocks change.
9905 (delete_null_pointer_checks): Likewise.
9906 * output.h: Likewise.
9907 * reg-stack.c (reg_to_stack): Likewise.
9908 * toplev.c (rest_of_compilation): Likewise. Run
9909 thread_prologue_and_epilogue_insns after rebuilding the CFG.
9910
9911 2000-01-28 Richard Henderson <rth@cygnus.com>
9912
9913 * Makefile.in (flow.o): Revert 24 Jan change.
9914 * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
9915 FUNCTION_VALUE result to DECL_RESULT's mode.
9916
9917 * haifa-sched.c (schedule_insns): Don't recompute reg info
9918 after reload.
9919
9920 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
9921
9922 * configure.in: Make --enable-cpplib the default.
9923 * configure: Regenerate.
9924 * gcc.dg/990119-1.c: No longer expected to fail.
9925
9926 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
9927
9928 * jump.c (jump_optimize_1): Delete an optimization that is also done
9929 by merge_blocks in flow.
9930
9931 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9932
9933 * diagnostic.c (build_message_string, output_printf,
9934 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
9935 (build_location_prefix): Fix non-literal format string.
9936
9937 2000-01-27 Richard Henderson <rth@cygnus.com>
9938
9939 * alpha.md (trunctfsf2): New.
9940
9941 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
9942
9943 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
9944
9945 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
9946
9947 * cppinit.c (cpp_handle_option): Recognize C++ comments under
9948 -std=gnu89.
9949 * cpplib.c (skip_block_comment, skip_line_comment): Split code
9950 out of...
9951 (skip_comment) ... here. Permit C++ comments in system
9952 headers always. Warn about C++ comments in user code under
9953 -std=gnu89 -pedantic.
9954 (copy_comment): Use skip_comment.
9955 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
9956 return EOF.
9957 (consider_directive_while_skipping, do_else, do_endif): Call
9958 validate_else unconditionally.
9959 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
9960 text after the conditional in a system header.
9961 * cpplib.h (struct cpp_buffer): Add flag
9962 warned_cplusplus_comments.
9963
9964 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
9965
9966 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
9967 Use unshare_all_rtl_1.
9968 (unshare_all_rtl_again): New function.
9969 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
9970
9971 * function.c (purge_addressof_1): Use unshare_all_rtl_again
9972 rather than resetting the 'used' flags ourself.
9973
9974 * toplev.c (rest_of_compilation): Add current_function_decl
9975 to the unshare_all_rtl call.
9976 * tree.h: Prototype unshare_all_rtl.
9977 * rtl.h: Prototype unshare_all_rtl_again here.
9978
9979 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
9980
9981 * genoutput.c (output_prologue): Include ggc.h in generated
9982 files.
9983 * Makefile.in (insn-output.o): Depends on ggc.h.
9984
9985 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
9986 Hans-Peter Nilsson <hp@bitrange.com>
9987
9988 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
9989 Remove redundant include of xm-ns32k.h.
9990 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
9991 Remove redundant include of xm-ns32k.h.
9992 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
9993 Remove redundant include of xm-ns32k.h.
9994 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
9995
9996 * ns32k/ns32k.h: Update comment on multiply-add instructions.
9997 (TARGET_SWITCHES): Add documentation strings.
9998 (DWARF_FRAME_REGNUM): Override default definition.
9999 (REG_CLASS_CONTENTS): Add comments.
10000 (SUBSET_P): Format to reduce line length.
10001 (SMALL_REGISTER_CLASSES): Make a run time option.
10002 (GO_IF_NONINDEXED_ADDRESS): Reformat.
10003 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
10004 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
10005 (regclass_map): fix typo in comment.
10006 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
10007 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
10008 (trace, reg_or_mem_operand): Delete, unused function.
10009 (calc_address_cost): Small offsets are cheaper than large ones.
10010 (expand_block_move): Generate more efficient code when bytes is a
10011 known at compile time.
10012 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
10013 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
10014 instead of reg_or_mem_operand.
10015
10016 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
10017 not general_operand. Similarly use "=rm" or stricter, not "=g".
10018 For input operands, use stricter constraints than "g" if not
10019 general_operand. Similarly use stricter predicate than
10020 "general_operand" when stricter constraints than "g" are present,
10021 except for matching constraints.
10022 (movstrsi): Use "memory_operand" for operands 0 and 1.
10023 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
10024 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
10025 not reg_or_mem_operand.
10026 (udivmoddisi4): Ditto.
10027 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
10028 Use nonimmediate_operand for operand 3, not register_operand.
10029 (udivmoddiqi4_internal): Use register_operand for operand 1, not
10030 reg_or_mem_operand.
10031
10032 2000-01-27 Fred Fish <fnf@be.com>
10033
10034 * gthr-posix.h: Fix typo; compatibily -> compatibility.
10035 * gthr-single.h: Likewise.
10036 * gthr-solaris.h: Likewise.
10037 * gthr-vxworks.h: Likewise.
10038 * gthr-win32.h: Likewise.
10039 * gthr.h: Likewise.
10040
10041 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
10042
10043 * cppinit.c: Add " (cpplib)" to end of string printed by
10044 -v / --version.
10045
10046 2000-01-27 Richard Henderson <rth@cygnus.com>
10047
10048 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
10049 testing for a signed comparison.
10050 (alpha_emit_floatuns): New.
10051 * alpha-protos.h: Declare it.
10052 * alpha.md (floatunsdisf2, floatunsdidf2): New.
10053 (extendsfdf2): Tidy.
10054
10055 2000-01-27 Jakub Jelinek <jakub@redhat.com>
10056
10057 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
10058 no -g option specifying debugging format, default to -gstabs+.
10059
10060 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10061
10062 * calls.c (special_function_p): New argument fork_or_exec.
10063 (expand_call): When profile_arc_flag is set and the function
10064 is in the fork_or_exec group, call __bb_fork_func first.
10065 * libgcc2.c, _bb module (__bb_fork_func): New function.
10066 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
10067 output file.
10068 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
10069 * tree.h (special_function_p): Update prototype.
10070
10071 2000-01-26 Richard Henderson <rth@cygnus.com>
10072
10073 * alpha.c (alpha_split_tfmode_pair): New.
10074 * alpha-protos.h: Declare it.
10075 * alpha.md (abstf2, negtf2): New.
10076 (movtf insn): Add input G constraint.
10077 (movtf splitter): Use alpha_split_tfmode_pair.
10078
10079 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10080
10081 * i386/cygwin.h: PROTO -> PARAMS.
10082
10083 2000-01-26 Jakub Jelinek <jakub@redhat.com>
10084
10085 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
10086 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
10087 using _Qp_cmp/_Q_cmp and testing the return value.
10088 (print_operand): Call reverse_condition_maybe_unordered if
10089 we are handling CCFPmode or CCFPEmode.
10090 Handle ORDERED, UN* and LTGT comparisons.
10091 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
10092 if not TARGET_HARD_QUAD.
10093 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
10094 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
10095 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
10096 Adjust gen_b* calls so that they reflect return comparison of
10097 sparc_emit_float_lib_cmp.
10098
10099 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10100
10101 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
10102 incoming operands array is large enough for one more operand.
10103 (alpha_emit_xfloating_arith): Likewise.
10104
10105 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
10106
10107 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
10108 file with one line and no trailing newline.
10109 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
10110 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
10111 checking if the match is on the line.
10112 * fixinc/gnu-regex.c: Provide regerror not __regerror.
10113
10114 2000-01-25 Richard Henderson <rth@cygnus.com>
10115
10116 * sparc.c (output_cbranch): Fix accidental squashing of the
10117 fp branch pre-delay nop.
10118
10119 2000-01-25 Richard Henderson <rth@cygnus.com>
10120
10121 * tree.def (UNNE_EXPR): Remove.
10122 * c-typeck.c (build_binary_op): Don't handle it.
10123 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
10124
10125 * rtl.def (UNNE): Remove.
10126 (LTGT): Add.
10127 * jump.c (reverse_condition): Update accordingly.
10128 (swap_condition): Likewise.
10129 (comparison_dominates_p): Handle unordered comparisons.
10130 (reverse_condition_maybe_unordered): New.
10131 * rtl.h (reverse_condition_maybe_unordered): Declare.
10132
10133 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
10134 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
10135 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
10136 * sparc.md (bltgt): New.
10137
10138 2000-01-25 Nick Clifton <nickc@redhat.com>
10139
10140 * emit-rtl.c (emit_insn): Only check machine class insns for
10141 improper emission of a RETURN.
10142
10143 2000-01-25 Richard Henderson <rth@cygnus.com>
10144
10145 * Makefile.in (flow.o): Depend on $(EXPR_H).
10146 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
10147 duplicate the structure of diddle_return_value for keeping regs live.
10148
10149 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10150
10151 * loop.c (current_loop_info): Delete.
10152 (consec_sets_invariant_p): Add loop argument, update callers.
10153 (get_condition_for_loop): Likewise.
10154 (count_nonfixed_reads, update_giv_derive): Likewise.
10155 (simplify_giv_expr, general_induction_var): Likewise.
10156 (consec_sets_giv, recombine_givs): Likewise.
10157 (move_movables): Delete loop_start and loop_end arguments,
10158 add loop argument, and update callers.
10159 (find_mem_givs, check_final_value): Likewise.
10160 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
10161 (loop_invariant_p): Rename from invariant_p, add loop argument, and
10162 update callers.
10163 (basic_induction_var): Add loop argument, delete loop_level argument,
10164 and update callers.
10165 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
10166 add loop argument, and update callers.
10167 (find_splittable_regs, find_splittable_givs): Likewise.
10168 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
10169 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
10170 (biv_total_increment): Delete loop_start and loop_end arguments;
10171 update callers.
10172 (precondition_loop_p): Delete loop_start and loop_info arguments;
10173 update callers.
10174 * loop.h (get_condition_for_loop): Add loop argument.
10175 (biv_total_increment): Delete loop_start and loop_end arguments.
10176 (precondition_loop_p): Delete loop_start and loop_info arguments;
10177 add loop argument.
10178 (final_biv_value): Delete loop_start and loop_end arguments;
10179 add loop argument.
10180 (final_giv_value, back_branch_in_range_p): Likewise.
10181
10182 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
10183
10184 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
10185
10186 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
10187
10188 * Makefile.in (c-gperf.h) : Change the "See" pointer to
10189 point to the new "generated_files" doc.
10190
10191 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
10192
10193 * config/fp-bit.c (_unord_f2): Fix typo.
10194
10195 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
10196
10197 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
10198 c-typeck.c, objc/objc-act.c: Remove all references to obstack
10199 functions obsoleted by GC, such as push_obstacks_nochange,
10200 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
10201 and code which existed only to decide whether or not to call
10202 them. Remove now-unused NESTED argument from start_function;
10203 all callers changed. Do not change behavior based on ggc_p.
10204 The use of the ixp_obstack in c-iterate.c and the util_obstack
10205 in objc/objc-act.c remain; these are not obsoleted by garbage
10206 collection.
10207 * c-tree.h: Update prototype for start_function.
10208
10209 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
10210
10211 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
10212
10213 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
10214 mips16.
10215
10216 2000-01-25 Richard Henderson <rth@cygnus.com>
10217
10218 * sparc-protos.h (select_cc_mode): Declare.
10219 * sparc.c (select_cc_mode): New. Handle unordered compares.
10220 (output_cbranch): Always reverse via code change. Handle
10221 unordered compares. Factor tests and string updates.
10222 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
10223 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
10224 * sparc.md (bunordered, bordered): New.
10225 (bungt, bunlt, buneq, bunge, bunle): New.
10226
10227 2000-01-25 Richard Henderson <rth@cygnus.com>
10228
10229 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
10230 * ggc-common.c (ggc_add_rtx_varray_root): New.
10231 (ggc_mark_rtx_varray): New.
10232 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
10233 functions down below ggc_mark_foo.
10234 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
10235
10236 2000-01-25 Richard Henderson <rth@cygnus.com>
10237
10238 * alpha.c (secondary_reload_class): Don't allocate a secondary
10239 for integral mode memories into FLOAT_REGS. Rearrange the more
10240 complicated memory expression inward.
10241
10242 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
10243
10244 * inclhack.def: Fixes to play nicer with FreeBSD, and
10245 corrections to comments.
10246 (cxx_unready): Add select expression.
10247 (irix_sockaddr): Add bypass expression.
10248 (machine_ansi_h_va_list): New fix.
10249 (stdio_va_list): No need to edit _BSD_VA_LIST_.
10250 Split out addition of "#include <stdarg.h>" to...
10251 (stdio_stdarg_h): ... here.
10252 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
10253 to stdlib.h also. Do not munge _BSD_SIZE_T_.
10254 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
10255 size_t.
10256 (ultrix_ifdef): Tighten up select expression.
10257
10258 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
10259 re_ct and max_mach to avoid use of shell. Make printed names
10260 match names in inclhack.def. Use static copyright date.
10261 Don't count c_test and test expressions as requiring regex_t
10262 slots. Add some commentary.
10263 * inclhack.tpl: Do not include the 'This script contains N
10264 fixup scripts' line if PROGRAM is defined. Use static
10265 copyright date.
10266
10267 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
10268
10269 * dwarf2out.c: include "varray.h", not dyn-string.h.
10270 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
10271 (addr_const_to_string, addr_to_string): Lose.
10272 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
10273 (struct dw_val_struct): val_addr is now an rtx.
10274 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
10275 (used_rtx_varray): New varray.
10276 (dwarf2out_init): Initialize it.
10277 (save_rtx): New fn.
10278 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
10279 addr_to_string.
10280 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
10281 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
10282 * Makefile.in (dwarf2out.o): Update dependencies.
10283
10284 2000-01-24 Richard Henderson <rth@cygnus.com>
10285
10286 * i386.c (i386_dwarf_output_addr_const): New.
10287 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
10288
10289 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
10290 if defined.
10291 * dwarfout.c (output_mem_loc_descriptor): Likewise.
10292 * i386.c (i386_simplify_dwarf_addr): New.
10293 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
10294
10295 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
10296
10297 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
10298 TYPE_STUB_DECL is NULL.
10299
10300 2000-01-24 Richard Henderson <rth@cygnus.com>
10301
10302 * builtins.c (expand_tree_builtin): Move ...
10303 * c-common.c (expand_tree_builtin): ... here.
10304
10305 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10306
10307 * loop.h (LOOP_INFO): New accessor macro.
10308 * basic-block.h (struct loop): Rename field `info' to `aux'.
10309 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
10310 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
10311 * unroll.c (loop_iterations, unroll_loop): Likewise.
10312
10313 2000-01-24 Christopher Faylor <cgf@cygnus.com>
10314
10315 * config/i386/t-cygwin: Accomodate new winsup directory layout
10316 when searching for include files.
10317
10318 2000-01-24 Richard Henderson <rth@cygnus.com>
10319
10320 * rtl.def: Add unordered fp comparisions.
10321 * tree.def: Likewise.
10322 * tree.h: Add ISO C 9x unordered fp comparision builtins.
10323
10324 * builtins.c (expand_tree_builtin): New function.
10325 * c-typeck.c (build_function_call): Use it.
10326 (build_binary_op): Support unordered compares.
10327 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
10328
10329 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
10330 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
10331 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
10332 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
10333 * jump.c (reverse_condition): Don't abort for UNLE etc, but
10334 return UNKNOWN.
10335 (swap_condition): Handle unordered compares.
10336 (thread_jumps): Check can_reverse before reversing.
10337 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
10338 reversed for FP.
10339
10340 * optabs.c (can_compare_p): New argument CODE. Verify branch or
10341 setcc is present before acking for cmp_optab. Update all callers.
10342 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
10343 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
10344 * expr.c (expand_expr): Likewise. Support unordered compares.
10345 (do_jump, do_store_flag): Likewise.
10346 * expr.h (enum libfunc_index): Add unordered compares.
10347
10348 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
10349 (DPBIT_FUNCS): Add _unord_df.
10350 * config/fp-bit.c (_unord_f2): New.
10351 * fp-test.c (main): Try unordered compare builtins.
10352
10353 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
10354 * alpha.c (alpha_comparison_operator): Check mode properly.
10355 (alpha_swapped_comparison_operator): Likewise.
10356 (signed_comparison_operator): Likewise.
10357 (alpha_fp_comparison_operator): New.
10358 (alpha_emit_conditional_branch): Handle unordered compares.
10359 * alpha.h (PREDICATE_CODES): Update.
10360 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
10361 (bunordered, bordered): New.
10362
10363 2000-01-24 Richard Henderson <rth@cygnus.com>
10364
10365 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
10366 * alpha.md (movtf): New expander, insn, and splitter.
10367
10368 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
10369
10370 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
10371 dead registers.
10372
10373 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
10374
10375 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
10376 (FIXED_REGISTERS, CALL_USED_REGISTERS,
10377 REG_ALLOC_ORDER): Add frame pointer
10378 (FRAME_POINTER_REGNUM): Set to 20
10379 (HARD_FRAME_POINTER_REGNUM): New macro.
10380 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
10381 to HARD_FRAME_POINTER.
10382 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
10383 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
10384 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
10385 (HI_REGISTER_NAMES): Add "frame".
10386 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
10387 (debug_reg): Handle FRAME_POINTER_REGNUM.
10388 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
10389 GENERAL_REGS and INDEX_REGS.
10390 * i386.c (SAVED_REGS_FIRST): new macro.
10391 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
10392 (ix86_decompose_address, memory_address_length): Likewise.
10393 (regclass_map): Add frame pointer.
10394 (call_insn_operand): Handle frame_pointer_rtx.
10395 (reg_no_sp_operand): Likewise.
10396 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
10397 (print_operand, legitimize_pic_address): Fix formating.
10398 (ix86_compute_frame_size): Make static, update prototype, new
10399 parameters padding1, padding2, use ix86_nsaved_regs, use
10400 stack_alignment_needed.
10401 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
10402 to HARD_FRAME_POINTER_REGNUM conversions.
10403 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
10404 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
10405 (print_reg): Abort on FRAME_POINTER_REGNUM
10406
10407 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
10408
10409 * i386.h (PREDICATE_CODES): Add aligned_operand.
10410 * i386.c (aligned_operand): New function.
10411 (ix86_aligned_p): Kill.
10412 * i386.md (movhi_1): Emit mov for aligned operands.
10413 (promoting peep2s): Use aligned_operand.
10414
10415 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
10416
10417 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
10418 expression to allow underscores in macro names.
10419 (fix_char_macro_defines): Increment scanning pointer.
10420
10421 2000-01-23 Richard Henderson <rth@cygnus.com>
10422
10423 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
10424 * alpha/osf5.h: New file.
10425 * configure.in (alpha-*-osf5): Add it to tm_file.
10426
10427 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
10428
10429 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
10430 (alpha_emit_xfloating_cvt, function_arg): Declare.
10431 * alpha.c (alpha_emit_conditional_branch): Call
10432 alpha_emit_xfloating_compare for TFmode compares.
10433 (alpha_lookup_xfloating_lib_func): New.
10434 (alpha_compute_xfloating_mode_arg): New.
10435 (alpha_emit_xfloating_libcall): New.
10436 (alpha_emit_xfloating_arith): New.
10437 (alpha_emit_xfloating_compare): New.
10438 (alpha_emit_xfloating_cvt): New.
10439 (print_operand): Add default abort case.
10440 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
10441 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
10442 (BIGGEST_ALIGNMENT): Increase to 128 bits.
10443 (RETURN_IN_MEMORY): True for TF/TCmode.
10444 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
10445 (FUNCTION_ARG): Move to function_arg.
10446 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
10447 (ASM_OUTPUT_LONG_DOUBLE): New.
10448 (ASM_OUTPUT_DOUBLE): Always output bits.
10449 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
10450 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
10451 (extenddftf2, trunctfdf2): New.
10452
10453 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10454
10455 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
10456 * config/sparc/sol2.h: ... here.
10457
10458 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10459
10460 * basic-block.h (struct loops): New field `levels'.
10461 * flow.c (flow_loops_level_compute): Traverse all outer loops.
10462 (flow_loop_level_compute): Initialise level to 1.
10463 (flow_loops_find): Set loops->levels.
10464 (flow_loops_dump): Print loops->levels.
10465
10466 2000-01-23 Richard Henderson <rth@cygnus.com>
10467
10468 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
10469 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
10470
10471 2000-01-23 Richard Henderson <rth@cygnus.com>
10472
10473 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
10474 * i386.h (DBX_REGISTER_NUMBER): Use them.
10475 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
10476 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
10477 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
10478 * i386/sequent.h: Kill incorrect comment.
10479
10480 2000-01-23 Mark Mitchell <mark@codesourcery.com>
10481
10482 * ggc-page.c (struct page_entry): Make `context_depth' an
10483 `unsigned short'.
10484 (struct globals): Likewise.
10485
10486 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
10487
10488 * loop.c (check_dbra_loop): When checking a loop for
10489 reversability, check the source of any stores to ensure
10490 they don't depend on an initial value.
10491
10492 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10493
10494 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
10495
10496 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
10497
10498 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
10499 'pz_scan' into scope of entire function. Only affects
10500 compiles with -DDEBUG.
10501
10502 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
10503
10504 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
10505 section naming to that prior to 2000-01-07 patch.
10506 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
10507 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
10508 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
10509 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
10510 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
10511
10512 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
10513
10514 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
10515 constant.
10516
10517 2000-01-21 Jim Wilson <wilson@cygnus.com>
10518
10519 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
10520 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
10521
10522 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
10523
10524 * cpphash.c (change_newlines): Delete function.
10525 (struct argdata): Delete 'newlines' and 'use_count' fields.
10526 (macroexpand): Remove code referencing those fields.
10527
10528 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10529
10530 * loop.c (loops_info): New variable.
10531 (loop_optimize): Allocate loops->array and free it on exit.
10532 Allocate memory for loops_info and assign to each loop,
10533 replacing alloca.
10534 (find_and_verify_loops): Do not allocate loops->array.
10535
10536 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
10537
10538 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
10539
10540 2000-01-21 Jakub Jelinek <jakub@redhat.com>
10541
10542 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
10543 pseudos if expanded after first flow.
10544 (movdi_pic_label_ref): Likewise.
10545
10546 2000-01-20 Richard Henderson <rth@cygnus.com>
10547
10548 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
10549
10550 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
10551
10552 * Makefile.in (fixinc.sh): Depend on specs.
10553 * fixinc/Makefile.in: Add rule to create machname.h.
10554 (fixlib.o): Depend on machname.h.
10555 * fixinc/fixtests.c (machine_name): New test.
10556 * fixinc/fixfixes.c (machine_name): New fix.
10557 * fixinc/fixlib.c (mn_get_regexps): New helper function for
10558 the machine_name test and fix.
10559 * fixinc/fixlib.h: Prototype it.
10560 * fixinc/inclhack.def (machine_name): Use the C test and fix.
10561 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
10562
10563 * gcc.c (do_spec_1) [case P]: Take care not to create
10564 identifiers with three leading or trailing underscores.
10565
10566 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
10567 (fixincl): Don't specify libraries twice on link line.
10568 (gnu-regex.o): Remove special rule.
10569 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
10570 defined by config.h. Do not define _REGEX_RE_COMP.
10571 (regcomp): Allocate and initialize a fastmap.
10572 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
10573
10574 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
10575
10576 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
10577
10578 2000-01-19 Richard Henderson <rth@cygnus.com>
10579
10580 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
10581 arguments with BB. Update all callers. Tidy line wrapping.
10582
10583 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
10584
10585 * emit-rtl.c (try_split): Return last_insn if we split the
10586 last_insn.
10587
10588 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
10589
10590 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
10591 (ix86_initial_elimination_offset): Declare.
10592 * i386.c (ix86_nsaved_regs): Break out from ...
10593 (ix86_can_use_return_insn_p): ... here.
10594 (ix86_emit_save_regs): Break out from ...
10595 (ix86_expand_prologue): ... here.
10596 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
10597 out from ...
10598 (ix86_expand_epilogue): ... here.
10599 (ix86_compute_frame_size): Make static, add prototype.
10600 (ix86_initial_elimination_offset): Break out from ...
10601 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
10602
10603 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10604
10605 * recog.h (OUT_FCN): Delete.
10606
10607 * vax.md: Call `get_insn_template' instead of OUT_FCN.
10608
10609 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10610
10611 * cppalloc.c: PROTO -> PARAMS.
10612 * cpperror.c: Likewise.
10613 * cppfiles.c: Likewise.
10614 * cpplib.c: Likewise.
10615 * cpplib.h: Likewise.
10616
10617 * config/arm/arm-protos.h: PROTO -> PARAMS.
10618 * config/arm/arm.c: Likewise.
10619 * config/c4x/c4x.c: Likewise.
10620 * config/fr30/fr30-protos.h: Likewise.
10621 * config/nextstep.c: Likewise.
10622 * config/pa/pa.c: Likewise.
10623 * config/pj/pj.c: Likewise.
10624 * config/rs6000/rs6000.c: Likewise.
10625 * config/v850/v850-protos.h: Likewise.
10626 * config/v850/v850.c: Likewise.
10627
10628 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10629
10630 * i370-protos.h: New file.
10631
10632 * i370.c: Include tm_p.h. Fix compile time warnings.
10633
10634 * i370.h: Move prototypes to i370-protos.h. Fix compile time
10635 warnings.
10636
10637 * i370.md: Likewise.
10638
10639 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10640
10641 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
10642 (target_isinf, target_isnan, eisnan): Mark parameter with
10643 ATTRIBUTE_UNUSED.
10644 (eiisinf): Wrap in INFINITY.
10645 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
10646 (ibmtoe): Remove unused variable `rndsav'.
10647
10648 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10649
10650 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
10651 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
10652
10653 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
10654
10655 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
10656 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
10657 (fix_char_macro_defines, fix_char_macro_uses): New functions.
10658
10659 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
10660 Recognize Emacs mode markers also.
10661 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
10662 C++ comments in C++ headers. Call is_cxx_header only if
10663 necessary.
10664
10665 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
10666 bypass for ncurses.
10667 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
10668 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
10669 ... these, which use the new C fixes.
10670 (math_exception): Escape literal '+' in bypass expression.
10671
10672 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
10673 Regenerate.
10674
10675 2000-01-19 Geoff Keating <geoffk@cygnus.com>
10676
10677 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
10678 inside the MEM.
10679
10680 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10681
10682 * loop.c (loop_optimize): Allocate loop_info structure for each loop
10683 prior to calling scan_loop.
10684
10685 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10686
10687 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
10688 (split_branches, calc_live_regs): Likewise.
10689
10690 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10691
10692 * sh.md (fpu_single, fp_mode): New attributes.
10693
10694 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10695
10696 * loop.c (current_loop_info): Renamed from loop_info_data
10697 and changed to a pointer.
10698 (loop_optimize): Allocate loop_info structure for each loop
10699 and initialise to zero.
10700 (scan_loop): Set current_loop_info.
10701
10702 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
10703 on iteration_var.
10704
10705 2000-01-19 Richard Henderson <rth@cygnus.com>
10706
10707 * stupid.c: Die die die.
10708 * Makefile.in (OBJS): Remove stupid.o.
10709 (stupid.o): Likewise.
10710
10711 * except.c (emit_eh_context): Don't emit USEs for stupid.
10712 * explow.c (probe_stack_range): Likewise.
10713 * flags.h (obey_regdecls): Remove.
10714 * flow.c (find_basic_blocks): Don't run try_merge_blocks
10715 when not optimizing.
10716 (life_analysis): Limit data collection when not optimizing.
10717 (mark_regs_live_at_end): Always mark the return value registers.
10718 (mark_used_regs): Remove dummy RETURN case.
10719 (print_rtl_with_bb): Don't consult obey_regdecls.
10720 * function.c (use_variable, use_variable_after): Remove.
10721 (assign_parms): Consult optimize not obey_regdecls.
10722 (expand_function_start): Don't emit USEs for stupid.
10723 (expand_function_end): Likewise.
10724 * global.c (build_insn_chain): Export.
10725 * integrate.c (expand_inline_function): Kill return-value USE
10726 handling code.
10727 * jump.c (jump_optimize_1): Do simple jump optimizations and
10728 dead code elimination.
10729 (calculate_can_reach_end): Remove check_deleted argument.
10730 (delete_insn): Patch out insns even when not optimizing.
10731 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
10732 * rtl.h (use_variable, use_variable_after): Remove declarations.
10733 (build_insn_chain): Declare.
10734 * stmt.c (expand_value_return): Don't emit USEs for stupid.
10735 (expand_end_bindings): Likewise.
10736 (expand_decl): Likewise. Consult optimize not obey_regdecls.
10737 * toplev.c (obey_regdecls): Remove.
10738 (rest_of_compilation): Don't set it. Kill stupid in favour of
10739 flow1, local-alloc, and reload.
10740 (main): Don't set obey_regdecls.
10741
10742 * config/nextstep.c (handle_pragma): Likewise.
10743
10744 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
10745
10746 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
10747
10748 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10749
10750 * alpha-protos.h: PROTO -> PARAMS.
10751 * alpha.c: Likewise.
10752 * elf.h: Likewise.
10753 * h8300.c: Likewise.
10754 * i386-protos.h: Likewise.
10755 * i386.c: Likewise.
10756 * m32r-protos.h: Likewise.
10757 * m32r.c: Likewise.
10758 * mips.c: Likewise.
10759 * mips.md: Likewise.
10760 * gmon-sol2.c: Likewise.
10761 * sparc.c: Likewise.
10762
10763 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10764
10765 * ns32k-protos.h: New file.
10766
10767 * ns32k.c: Fix compile time warnings.
10768
10769 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
10770 warnings.
10771
10772 * ns32k.md: Likewise.
10773
10774 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10775
10776 * vax-protos.h: New file.
10777
10778 * vax.c: Fix compile time warnings.
10779
10780 * vax.h: Move prototypes to vax-protos.h. Fix compile time
10781 warnings.
10782
10783 * vax.md: Likewise.
10784
10785 * vaxv.md: Likewise.
10786
10787 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10788
10789 * romp-protos.h: New file.
10790
10791 * romp.c: Fix compile time warnings.
10792
10793 * romp.h: Move prototypes to romp-protos.h. Fix compile time
10794 warnings.
10795
10796 * romp.md: Likewise.
10797
10798 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10799
10800 * we32k-protos.h: New file.
10801
10802 * we32k.c: Fix compile time warnings.
10803
10804 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
10805 warnings.
10806
10807 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10808
10809 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
10810
10811 * except.c (eh_regs): Likewise.
10812
10813 * final.c (output_operand): Likewise.
10814
10815 * fold-const.c (target_isinf, target_isnan): Likewise.
10816
10817 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
10818
10819 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
10820 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
10821
10822 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
10823 when optimize_size.
10824 (clrstrsi): Rewrite.
10825 (strsethi, strsetqi): New expanders.
10826 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
10827 (cmpstrsi): Emit compare insn before cmpstrsi_1
10828 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
10829 (strlensi_1): Likewise.
10830 (cmpstrsi_1): Likewise; do not output compare.
10831 (strlen expander): Do not unroll when optimizing for size.
10832 (*subsi3_carry): Rename to subsi3_carry
10833 (addqi3_cc): New pattern.
10834 * i386.h (processor_costs): Add move_ratio field.
10835 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
10836 * i386.c (*_cost): Set move_ratio.
10837 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
10838 (x86_expand_strlensi_1): Rewrite the main loop.
10839
10840 2000-01-17 Richard Henderson <rth@cygnus.com>
10841
10842 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
10843 * cse.c (find_comparison_args, fold_rtx): Likewise.
10844 * integrate.c (subst_constants): Likewise.
10845 * loop.c (get_condition): Likewise.
10846
10847 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
10848
10849 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
10850
10851 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
10852
10853 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
10854 (RESTORE_WARN_FLAGS): Unpack it.
10855 Change semantic type of extension to ttype.
10856 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
10857 * c-parse.y, c-parse.c, objc/objc-parse.y,
10858 objc/objc-parse.c: Regenerate.
10859
10860 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
10861
10862 * fixinc/fixlib.c: Add copyright notice.
10863 (compile_re): New function.
10864 * fixinc/fixlib.h: Prototype compile_re.
10865
10866 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
10867 Use compile_re to compile regular expressions.
10868
10869 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
10870 where the pattern matched.
10871
10872 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
10873 use 'replace'.
10874 (ultrix_ansi_compat): Likewise.
10875 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
10876 add egrep test.
10877 (interactv_add2, interactv_add3): Delete.
10878 (x11_sprintf): Don't use filename glob.
10879 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
10880 Regenerate.
10881
10882 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10883
10884 * print-rtl.c: PROTO -> PARAMS.
10885 * real.c: Likewise.
10886 * reg-stack.c: Likewise.
10887 * resource.c: Likewise.
10888 * sdbout.h: Likewise.
10889 * simplify-rtx.c: Likewise.
10890 * stor-layout.c: Likewise.
10891 * stupid.c: Likewise.
10892 * xcoffout.c: Likewise.
10893 * xcoffout.h: Likewise.
10894
10895 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10896
10897 * toplev.c: PROTO -> PARAMS.
10898 * toplev.h: Likewise.
10899 * tree.c: Likewise.
10900 * tree.h: Likewise.
10901 * unroll.c: Likewise.
10902 * varasm.c: Likewise.
10903 * varray.c: Likewise.
10904 * varray.h: Likewise.
10905
10906 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10907
10908 * reload.c: PROTO -> PARAMS.
10909 * reload.h: Likewise.
10910 * reload1.c: Likewise.
10911 * reorg.c: Likewise.
10912 * resource.h: Likewise.
10913 * rtl.c: Likewise.
10914 * rtl.h: Likewise.
10915 * rtlanal.c: Likewise.
10916 * sbitmap.h: Likewise.
10917 * sdbout.c: Likewise.
10918 * stack.h: Likewise.
10919 * stmt.c: Likewise.
10920 * system.h: Likewise.
10921
10922 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10923
10924 * machmode.h: PROTO -> PARAMS.
10925 * mbchar.h: Likewise.
10926 * mips-tdump.c: Likewise.
10927 * mips-tfile.c: Likewise.
10928 * optabs.c: Likewise.
10929 * output.h: Likewise.
10930 * prefix.c: Likewise.
10931 * profile.c: Likewise.
10932 * protoize.c: Likewise.
10933 * real.h: Likewise.
10934 * recog.c: Likewise.
10935 * recog.h: Likewise.
10936 * regclass.c: Likewise.
10937 * regmove.c: Likewise.
10938 * regs.h: Likewise.
10939
10940 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10941
10942 * ggc-common.c: PROTO -> PARAMS.
10943 * ggc-page.c: Likewise.
10944 * ggc-simple.c: Likewise.
10945 * ggc.h: Likewise.
10946 * global.c: Likewise.
10947 * graph.c: Likewise.
10948 * gthr-win32.h: Likewise.
10949 * haifa-sched.c: Likewise.
10950 * halfpic.h: Likewise.
10951 * integrate.c: Likewise.
10952 * integrate.h: Likewise.
10953 * jump.c: Likewise.
10954 * lcm.c: Likewise.
10955 * local-alloc.c: Likewise.
10956 * loop.c: Likewise.
10957 * loop.h: Likewise.
10958
10959 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10960
10961 * genattr.c: PROTO -> PARAMS.
10962 * genattrtab.c: Likewise.
10963 * gencheck.c: Likewise.
10964 * gencodes.c: Likewise.
10965 * genconfig.c: Likewise.
10966 * genemit.c: Likewise.
10967 * genextract.c: Likewise.
10968 * genflags.c: Likewise.
10969 * gengenrtl.c: Likewise.
10970 * genopinit.c: Likewise.
10971 * genoutput.c: Likewise.
10972 * genpeep.c: Likewise.
10973 * genrecog.c: Likewise.
10974
10975 2000-01-16 Mark Mitchell <mark@codesourcery.com>
10976
10977 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
10978
10979 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10980
10981 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
10982 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
10983 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
10984 * configure, config.in: Rebuilt.
10985
10986 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
10987
10988 * config/i386/i386.md: Add peephole to merge successive stack
10989 adjusts.
10990
10991 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
10992
10993 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
10994 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
10995 when walking backwards to find all the parameter loads when
10996 the basic block ends in a call.
10997
10998 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10999
11000 * loop.c (this_loop_info): Delete.
11001 (uid_loop): Add in place of uid_loop_num. All uses updated.
11002 (loop_number_exit_count): Delete and replace with entry in loop
11003 structure. All uses updated.
11004 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
11005 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
11006 (loop_outer_loop): Likewise.
11007 (loop_invalid, loop_number_exit_labels): Likewise.
11008 (loop_used_count_register): Delete and replace with entry in
11009 loop_info structure.
11010 (find_and_verify_loops): Add loops argument.
11011 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
11012 loop_end, etc. arguments with loop structure pointer. All callers
11013 changed.
11014 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
11015 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
11016 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
11017 (insert_bct): Likewise.
11018 (basic_induction_var): New argument level.
11019 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
11020 vtop, and cont. Add used_count_register.
11021 (uid_loop): Delete declaration.
11022 (loop_number_exit_count): Likewise.
11023 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
11024 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
11025 (loop_outer_loop, loop_used_count_register): Likewise.
11026 (loop_invalid, loop_number_exit_labels): Likewise.
11027 (unroll_loop): Replace loop_start and loop_end arguments
11028 with loop structure pointer.
11029 (loop_precondition_p, loop_iterations): Likewise.
11030 Include basic-block.h.
11031 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
11032 with loop structure pointer.
11033 (loop_precondition_p, loop_iterations): Likewise.
11034 * basic-block.h (struct loop): New entries vtop, cont,
11035 cont_dominator, start, end, top, scan_start, exit_labels,
11036 exit_count.
11037 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
11038
11039 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11040
11041 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
11042
11043 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
11044
11045 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
11046
11047 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11048
11049 * pdp11-protos.h: New file.
11050
11051 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
11052 time warnings.
11053
11054 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
11055 warnings.
11056
11057 * pdp11.md: Likewise.
11058
11059 * 2bsd.h: Likewise.
11060
11061 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11062
11063 * mn10300-protos.h: New file.
11064
11065 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
11066 time warnings.
11067
11068 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
11069 warnings.
11070
11071 * mn10300.md: Likewise.
11072
11073 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11074
11075 * mn10200-protos.h: New file.
11076
11077 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
11078 time warnings.
11079
11080 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
11081 warnings.
11082
11083 * mn10200.md: Likewise.
11084
11085 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11086
11087 * h8300-protos.h: New file.
11088
11089 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
11090 time warnings.
11091
11092 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
11093 warnings.
11094
11095 * h8300.md: Likewise.
11096
11097 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11098
11099 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
11100 (asm_emit_uninitialised): Likewise.
11101
11102 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
11103
11104 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
11105 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
11106
11107 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
11108
11109 * config/mips/mips.c (override_options): Don't turn on extra
11110 alignment for mips16.
11111
11112 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
11113
11114 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
11115 eabi, and make sure queued POSTINCREMENT rtl is emitted at
11116 the right point.
11117
11118 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
11119
11120 * builtins.c (PAD_VARARGS_DOWN): Define.
11121 (std_expand_builtin_va_arg): Use the above macro.
11122 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
11123 * tm.texi (Register Arguments): Document the above macro.
11124
11125 2000-01-14 Nick Clifton <nickc@cygnus.com>
11126
11127 * emit-rtl.c (emit_insn): If checking is enabled, make sure
11128 that this function has not been used to emit a jump
11129 instruction.
11130
11131 * jump.c (return_jump_1): Cope with being passed a null rtx.
11132
11133 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11134
11135 * eh-common.h: PROTO -> PARAMS.
11136 * emit-rtl.c: Likewise.
11137 * errors.c: Likewise.
11138 * errors.h: Likewise.
11139 * except.c: Likewise.
11140 * except.h: Likewise.
11141 * explow.c: Likewise.
11142 * expmed.c: Likewise.
11143 * expr.c: Likewise.
11144 * expr.h: Likewise.
11145 * final.c: Likewise.
11146 * fix-header.c: Likewise.
11147 * flow.c: Likewise.
11148 * fold-const.c: Likewise.
11149 * function.c: Likewise.
11150 * function.h: Likewise.
11151 * gcc.c: Likewise.
11152 * gcov-io.h: Likewise.
11153 * gcov.c: Likewise.
11154 * gcse.c: Likewise.
11155
11156 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11157
11158 * sh-protos.h: New file.
11159
11160 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
11161 Add static prototypes. Fix compile time warnings.
11162
11163 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
11164 * sh.md: Likewise.
11165 * elf.h: Likewise.
11166
11167 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11168
11169 * arc-protos.h: New file.
11170
11171 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
11172 time warnings.
11173
11174 * arc.h: Move prototypes to arc-protos.h. Fix compile time
11175 warnings.
11176
11177 * arc.md: Likewise.
11178
11179 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11180
11181 * dsp16xx-protos.h: New file.
11182
11183 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
11184 time warnings.
11185
11186 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
11187 warnings.
11188
11189 * dsp16xx.md: Likewise.
11190
11191 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11192
11193 * convex-protos.h: New file.
11194
11195 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
11196 time warnings.
11197
11198 * convex.h: Move prototypes to convex-protos.h. Fix compile time
11199 warnings.
11200
11201 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11202
11203 * elxsi-protos.h: New file.
11204
11205 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
11206 time warnings.
11207
11208 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
11209 warnings.
11210
11211 * elxsi.md: Likewise.
11212
11213 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
11214
11215 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
11216 case for moving from HI/LO/HI_LO_REG. This makes the behavior
11217 match the comment for MIPS16.
11218
11219 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
11220
11221 * flow.c (split_edge): Do not call set_block_for_insn if we
11222 do not have a basic_block_for_insn structure.
11223
11224 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
11225 and destination functions are 32bit aligned within the trampoline.
11226 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
11227 (TRAMPOLINE_ALIGNMENT): Define.
11228
11229 * cse.c (cse_insn): When changing (set (pc) (reg)) to
11230 (set (pc) (label_ref)), verify the change creates a valid insn.
11231
11232 * fr30.c (call_operand): Tighten and rework to match rules for
11233 call RTL expressions.
11234 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
11235 * fr30.md (call patterns): Improve constraints.
11236
11237 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
11238
11239 * fr30.c (fr30_expand_epilogue): Revert last change.
11240 Use emit_jump_insn for the return insn.
11241
11242 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
11243 Stan Cox <scox@cygnus.com>
11244
11245 * predict.c: New file. Preliminary infrastructure work for static
11246 branch prediction and basic block reordering.
11247 * basic-block.h: Add prototype for estimate_probability.
11248 * Makefile.in: Add rules for predict.o.
11249
11250 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
11251
11252 * fixincludes (va_list): Use __not_va_list__ for the dummy.
11253 * fixinc/*: Likewise.
11254
11255 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11256
11257 * cccp.c: PROTO -> PARAMS.
11258 * cexp.y: Likewise.
11259 * collect2.c: Likewise.
11260 * combine.c: Likewise.
11261 * convert.h: Likewise.
11262 * cse.c: Likewise.
11263 * dbxout.c: Likewise.
11264 * dbxout.h: Likewise.
11265 * diagnostic.c: Likewise.
11266 * doprint.c: Likewise.
11267 * dwarf2out.c: Likewise.
11268 * dwarf2out.h: Likewise.
11269 * dwarfout.c: Likewise.
11270 * dwarfout.h: Likewise.
11271 * dyn-string.h: Likewise.
11272
11273 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11274
11275 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
11276 macro conditionals guarding use.
11277
11278 * dwarf2out.c: Include "tm_p.h".
11279
11280 * function.c (locate_and_pad_parm): Mark parameter with
11281 ATTRIBUTE_UNUSED.
11282 (expand_function_end): Likewise for variable `context'.
11283
11284 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
11285
11286 2000-01-13 Nick Clifton <nickc@cygnus.com>
11287
11288 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
11289 register to prevent compile time warnings.
11290
11291 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
11292
11293 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
11294 to avoid -Wtraditional warning.
11295
11296 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11297
11298 * 1750a-protos.h: New file.
11299
11300 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
11301 time warnings.
11302
11303 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
11304 warnings.
11305
11306 * 1750a.md: Likewise.
11307
11308 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11309
11310 * a29k-protos.h: New file.
11311
11312 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
11313 time warnings.
11314
11315 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
11316 warnings.
11317
11318 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11319
11320 * clipper-protos.h: New file.
11321
11322 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
11323 time warnings.
11324
11325 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
11326 warnings.
11327
11328 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11329
11330 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
11331
11332 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
11333
11334 * configure.in (--enable-new-gxx-abi): New option.
11335 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
11336 * Makefile.in (GXX_ABI_FLAG): New variable.
11337 * configure: Regenerate.
11338
11339 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11340
11341 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
11342 * tm.texi (FORCE_STRUCT_BLK): Document.
11343 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
11344
11345 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
11346
11347 * config/ns32k/ns32k.md: Revert Jan 9 change.
11348
11349 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
11350 to a mode-test, if the predicate is address_operand.
11351
11352 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
11353
11354 * combine.c (if_then_else_cond): Be careful about what kinds
11355 of RTL expressions are passed to operand_subword.
11356
11357 * flow.c (split_edge): If we have to insert a new jump, make
11358 sure to associate it with a basic block.
11359
11360 * flow.c (commit_one_edge_insertion): A block with one successor
11361 can end in a JUMP_INSN that is not a simplejump.
11362
11363 2000-01-12 Robert Lipe <robertl@sco.com>
11364
11365 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
11366 (BUILD_VA_LIST_TYPE): Define.
11367 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
11368 with crtstuff.c.
11369
11370 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
11371
11372 * cccp.c (do_pragma): Add cast to (char *).
11373
11374 2000-01-12 Richard Henderson <rth@cygnus.com>
11375 Fred Fish <fnf@be.com>
11376 Jason Merrill <jason@cygnus.com>
11377
11378 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
11379 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
11380 * i386/beos-elf.h, i386/beos-pe.h: New files.
11381
11382 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
11383 * cross-make (SYSTEM_HEADER_DIR): Define using
11384 CROSS_SYSTEM_HEADER_DIR.
11385
11386 * gcc.c (LIBRARY_PATH_ENV): Provide default.
11387 (process_command): Use it.
11388 (main): Likewise. Kill trailing = from env vars.
11389 (build_search_list): Put it back.
11390 * collect2.c (main): Use LIBRARY_PATH_ENV.
11391
11392 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
11393 * toplev.c: Use NEED_DECLARATION_ENVIRON.
11394
11395 * tm.texi (Frame Layout): Document SMALL_STACK.
11396 * c-common.c (c_common_nodes_and_builtins): Check it.
11397
11398 * system.h: Undef alloca after including glibc's <stdlib.h>,
11399 if USE_C_ALLOCA is defined.
11400
11401 * gcc.c (set_input): New fn.
11402 (main): After all input files are compiled, reset the input file
11403 info to the first.
11404
11405 * aclocal.m4 (rindex, index): If already defined, don't attempt
11406 to redefine.
11407
11408 * ginclude/varargs.h: (__va_list__): Define ifndef.
11409 * ginclude/stdarg.h: Likewise.
11410
11411 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
11412 instead of unsigned char.
11413
11414 * hash.h (true, false, boolean): Undef before enum.
11415
11416 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
11417 proper type of "HOST_WIDE_INT *", rather than their natural type of
11418 "unsigned HOST_WIDE_INT *".
11419
11420 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11421
11422 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
11423
11424 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
11425
11426 * regclass.c (choose_hard_reg_mode): Likewise.
11427
11428 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
11429
11430 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
11431
11432 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11433
11434 * c-common.c: PROTO -> PARAMS.
11435 * c-common.h: Likewise.
11436 * c-decl.c: Likewise.
11437 * c-iterate.c: Likewise.
11438 * c-lang.c: Likewise.
11439 * c-lex.c: Likewise.
11440 * c-lex.h: Likewise.
11441 * c-parse.in: Likewise.
11442 * c-pragma.c: Likewise.
11443 * c-pragma.h: Likewise.
11444 * c-tree.h: Likewise.
11445 * c-typeck.c: Likewise.
11446 * objc/objc-act.c: Likewise.
11447 * objc/objc-act.h: Likewise.
11448
11449 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11450
11451 * m88k-protos.h: New file.
11452
11453 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
11454 time warnings.
11455
11456 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
11457
11458 * m88k.md: Likewise.
11459
11460 * tekXD88.h: Likewise.
11461
11462 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11463
11464 * m68k-protos.h: New file.
11465
11466 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
11467 time warnings.
11468
11469 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
11470
11471 * mot3300.h: Likewise.
11472
11473 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
11474
11475 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
11476 extract_bitlst.
11477 (extract_bitlist): Declare bitlen.
11478
11479 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
11480
11481 * cccp.c: Accept and ignore -lang-fortran.
11482
11483 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
11484 qualifiers don't match at any level of pointerness.
11485
11486 2000-01-12 Robert Lipe <robertl@sco.com>
11487
11488 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
11489
11490 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
11491
11492 * reload1.c (reload_reg_unavailable): New static variable.
11493 (reload_reg_free_p): Test it.
11494 (reload_reg_free_for_value_p): Test it instead of
11495 reload_reg_used.
11496 (choose_reload_regs_init): Compute it.
11497
11498 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
11499
11500 * reorg.c (fill_slots_from_thread): Check modified_in_p
11501 before replacing.
11502
11503 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
11504
11505 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
11506 these nodes even if INTERNALS is not set.
11507
11508 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
11509
11510 * gcse.c (delete_null_pointer_checks_1): Cope when
11511 get_condition cannot determine the condition.
11512
11513 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
11514
11515 * toplev.h (set_message_length): Declare.
11516
11517 * diagnostic.c (obstack_chunk_alloc): Define macro.
11518 (obstack_chunk_free): Likewise.
11519 (struct output_buffer): New data structure.
11520 (vmessage): Remove.
11521 (output_maximum_width): New variable.
11522 (doing_line_wrapping, set_message_length, init_output_buffer,
11523 get_output_prefix, output_space_left, emit_output_prefix,
11524 output_newline, output_append, output_puts, dump_output,
11525 vbuild_message_string, build_message_string, build_location_prefix,
11526 voutput_notice, output_printf, line_wrapper_printf,
11527 vline_wrapper_message_with_location): New functions. Implement
11528 automatic line wrapping.
11529 (v_message_with_decl): Make it handle automatic line wrapping.
11530 (v_error_with_file_and_line): Likewise.
11531 (v_warning_with_file_and_line): Likewise.
11532 (announce_function): Likewise.
11533 (default_print_error_function): Likewise.
11534
11535 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
11536
11537 * cpplib.h (struct cpp_options): Change lang_asm to char.
11538 Add lang_fortran.
11539 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
11540 done in cpp_handle_option now.
11541 (initialize_builtins): Take out special case code used only by
11542 __STDC_VERSION__.
11543 (cpp_handle_option): Turn off trigraphs and trigraph warnings
11544 if -traditional. Recognize -lang-fortran and set
11545 lang_fortran, also turn off cplusplus_comments.
11546 (print_help): Document -lang-fortran.
11547 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
11548 lang_asm. Ignore all directives other than `# 123 "file"' if
11549 CPP_PREPROCESSED.
11550 (cpp_get_token): If -traditional, don't recognize directives
11551 unless the # is in column 1.
11552 (parse_string): If lang_fortran or lang_asm, silently
11553 terminate strings ('' or "") at end of line.
11554 Remove unnecessary braces.
11555
11556 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11557 Richard Henderson <rth@cygnus.com>
11558
11559 * resource.c (mark_referenced_resources): Mark a set strict_low_part
11560 as used.
11561 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
11562 strict_low_part when possible.
11563
11564 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11565
11566 * alias.c: PROTO -> PARAMS.
11567 * basic-block.h: Likewise.
11568 * bitmap.c: Likewise.
11569 * bitmap.h: Likewise.
11570 * builtins.c: Likewise.
11571 * c-aux-info.c: Likewise.
11572 * caller-save.c: Likewise.
11573 * calls.c: Likewise.
11574
11575 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11576
11577 * Makefile.in (toplev.o): Depend on regs.h.
11578
11579 * output.h (tdesc_section): Prototype.
11580
11581 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
11582
11583 * sdbout.c: Include "tm_p.h".
11584
11585 * toplev.c: Include "regs.h".
11586
11587 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
11588
11589 * unroll.c (unroll_loop): Add EH support.
11590
11591 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11592
11593 * pa-protos.h: New file.
11594
11595 * pa.c: Include recog.h and tm_p.h.
11596 (compute_zdepwi_operands, compute_movstrsi_length,
11597 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
11598 find_addr_reg, import_milli): Add static prototypes.
11599 (pa_cpu_string, pa_arch_string): Constify a char*.
11600 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
11601 (read_only_operand): Add argument `mode'.
11602 (singlemove_string, output_move_double, output_fp_move_double,
11603 output_block_move, output_and, output_ior, output_ascii,
11604 remove_useless_addtr_insns, milli_names, output_mul_insn,
11605 output_div_insn, output_mod_insn, output_arg_descriptor,
11606 output_cbranch, output_bb, output_bvb, output_dbra, ,
11607 output_millicode_call, output_call, hppa_encode_label,
11608 output_parallel_movb, output_parallel_addb): Constify a char*.
11609 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
11610 (output_parallel_addb): Remove extra arg to `constrain_operands'
11611
11612 * pa.h: Move all prototypes to pa-protos.h.
11613 (pa_cpu_string, pa_arch_string): Constify a char*.
11614 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
11615
11616 * pa.md: Call `function_label_operand' with mode argument.
11617 Likewise for `read_only_operand'.
11618 Fix nesting of parens in call to `symbolic_operand'.
11619
11620 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11621
11622 * i860-protos.h: New file.
11623
11624 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
11625 time warnings.
11626
11627 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
11628
11629 * i860.md: Likewise.
11630
11631 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
11632
11633 * i386.md (movstrsi expander): Rewrite.
11634 (movstrsi_1 insn): Deleted.
11635 (strmovhi, strmovqi expander): New expanders.
11636 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
11637 * i386.c (x86_single_stringop): New global variable.
11638 * i386.h (x86_single_stringop): Declare.
11639 (TARGET_SINGLE_STRINGOP): New macro.
11640
11641 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
11642
11643 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
11644 integer vararg POSTINCREMENT before the destination of the jump
11645 for the hard fp case.
11646 (function_arg_pass_by_reference): Pass a copy of CUM to
11647 FUNCTION_ARG.
11648
11649 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
11650 for CONSTANT_ADDRESS_P above while loop for subreg.
11651
11652 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
11653
11654 * flow.c (propagate_block): When a prologue/epilogue insn
11655 is marked dead, unconditionally clear libcall_is_dead and
11656 insn_is_dead, and only dump rtl if warnings aren't being
11657 suppressed.
11658
11659 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
11660
11661 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
11662 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
11663 (FIXED_REGISTERS): Set dirflag as fixed.
11664 (CALL_USED_REGISTERS): Set dirflag as used.
11665 (REG_ALLOC_ORDER): Set dirflag as last one.
11666 (DIRFLAG_REG): New macro.
11667 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
11668 (HI_REGISTER_NAMES): Add dirflag.
11669 (DEBUF_PRINT_REG): Handle dirflag.
11670 * i386.md (type attribute): New cld and str types.
11671 (length_opcode attribute): Set cld and str to 1.
11672 (memory attribute): Set str to unknown - it is not clear from the
11673 patterns.
11674 (pent_np function unit): Prefixed string operations takes 12 cycles
11675 minimally; cld takes 2 cycles.
11676 (ppro_uops attribute): Str is "many" and cld is "few".
11677 (ppro_p0 unit): Handle cld here.
11678 (k6_alux unit): Handle cld and str types.
11679 (k6_load unit): It is ocupied by str opcodes.
11680 (k6_store unit): It is ocupied by str opcodes.
11681 (athlon_decode): Str is vector decoded.
11682 (athlon_ieu): Handle str and cld.
11683 (cld pattern): New.
11684 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
11685 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
11686 cmpstrsi_nz_1 insn): Do not output cld instruction
11687
11688 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
11689
11690 * gcc.texi (G++ and GCC): Add Java and Chill.
11691 (Bug Critera): Don't list languages.
11692
11693 * gcc.texi (Incompatibilities): No longer claim most C compilers
11694 are K&R.
11695
11696 * gcc.texi (G++ and GCC): Update other front-ends list.
11697
11698 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
11699
11700 * i386.c (ix86_expand_setcc): Fix typo.
11701 (ix86_expand_movcc): Similarly.
11702
11703 * Band-aid until haifa's bitset implementation is nuked.
11704 * haifa-sched.c (extract_bitlst): New parameter for size of the
11705 bitset in bits. All callers changed. Avoid looking at undefined
11706 bits in the bitset.
11707 (edgeset_bitsize): New variable.
11708 (schedule_region): Initialize edgeset_bitsize.
11709
11710 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11711
11712 * Makefile.in (optabs.o): Depend on real.h
11713 (resource.o): Depend on insn-attr.h
11714
11715 * builtins.c (result_vector): Wrap prototype in macro conditions
11716 governing definition and use.
11717
11718 * c-common.c: Include tm_p.h.
11719
11720 * c-lex.c: Likewise.
11721
11722 * elfos.h: Constify a char*.
11723
11724 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
11725 (get_attr_length, shorten_branches, profile_after_prologue): Mark
11726 parameter with ATTRIBUTE_UNUSED.
11727
11728 * fold-const.c (exact_real_inverse): Wrap variable `i' in
11729 CHECK_FLOAT_VALUE.
11730
11731 * haifa-sched.c (schedule_insns): Mark parameter with
11732 ATTRIBUTE_UNUSED.
11733
11734 * optabs.c: Include real.h.
11735
11736 * real.h (ereal_atof): Add prototype arguments.
11737
11738 * resource.c: Include insn-attr.h.
11739
11740 * sdbout.c (sdbout_queue_anonymous_type,
11741 sdbout_dequeue_anonymous_types): Wrap in macro
11742 SDB_ALLOW_FORWARD_REFERENCES.
11743 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
11744 ATTRIBUTE_UNUSED.
11745
11746 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
11747
11748 * stupid.c: Include tm_p.h.
11749
11750 * tree.c (real_value_from_int_cst): Mark parameter with
11751 ATTRIBUTE_UNUSED.
11752
11753 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11754
11755 * i960-protos.h: New file.
11756
11757 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
11758 time warnings.
11759
11760 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
11761
11762 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11763
11764 * combine.c (expand_field_assignment): Do not discard SUBREGs
11765 while computing nonzero_bits.
11766
11767 2000-01-09 Nick Clifton <nickc@cygnus.com>
11768
11769 * config/arm/arm.c: Fix compile time warnings about signed vs
11770 unsigned constants.
11771 * config/arm/arm.h: Fix compile time warnings about signed vs
11772 unsigned constants.
11773
11774 2000-01-09 Philip Blundell <philb@gnu.org>
11775
11776 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
11777 than `ldm' with only one register.
11778 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
11779 only one register.
11780
11781 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
11782 clobbered.
11783
11784 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
11785
11786 * config/ns32k/ns32k.md (load or push effective address): Operand 1
11787 must have SImode.
11788
11789 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11790
11791 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
11792 assignment used as truth value.
11793
11794 * function.c (assign_temp): Mark parameter `dont_promote' with
11795 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
11796 PROMOTE_FOR_CALL_ONLY.
11797
11798 * genrecog.c (write_subroutine): Mark variable `operands' with
11799 ATTRIBUTE_UNUSED.
11800
11801 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
11802 ATTRIBUTE_UNUSED.
11803
11804 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
11805 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
11806
11807 * toplev.c (note_deferral_of_defined_inline_function): Likewise
11808 for `decl'.
11809
11810 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11811
11812 * config/c4x.h: Tidy up comments.
11813 * config/c4x.c: Likewise.
11814
11815 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
11816
11817 * fold-const.c (lshift_double, rshift_double): Handle
11818 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
11819
11820 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11821
11822 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
11823 in prepare_function_start().
11824
11825 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
11826
11827 * config/v850/v850.c (expand_epilogue): Interrupt functions no
11828 longer allocate extra stack for function calls.
11829
11830 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11831
11832 * config/c4x/c4x.md (*subqf3_set): Fix typo.
11833
11834 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11835
11836 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
11837
11838 2000-01-07 David Edelsohn <edelsohn@gnu.org>
11839
11840 * rs6000.c (processor_target_table): Add power3 as alias for 630.
11841 * aix43.h: Revert Aug 2 change.
11842 (HAS_INIT_SECTION): Define, not visible yet.
11843 (LD_INIT_SWITCH): Define, not visible yet.
11844 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
11845
11846 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
11847
11848 * collect2.c (main): Expand ld2 size further.
11849 (export_object_lst): Cast assignment to avoid warning.
11850 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
11851 (scan_prog_file, COFF): Do not collect initialization or
11852 finalization functions generated for entire shared object if
11853 init/fini support present.
11854
11855 2000-01-07 Nick Clifton <nickc@cygnus.com>
11856
11857 * config/elfos.h: Tidy up formatting of marcos. Make sure
11858 that .section directives are always prefixed by a tab.
11859
11860 * config/svr4.h: Add #include "elfos.h" and remove duplicate
11861 definitions.
11862
11863 2000-01-07 Matt Austern <austern@sgi.com>
11864
11865 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
11866 expon.
11867
11868 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
11869
11870 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
11871 crtstuff.c.
11872 (crtbegin.o, s-crtS): Likewise.
11873
11874 2000-01-06 Richard Henderson <rth@cygnus.com>
11875
11876 * alpha.md (adddi_2+1): Limit offset such that it will be
11877 loadable with a single ldah+lda pair.
11878 (adddi_2+2): Explicitly fail split if we can't make it work.
11879
11880 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
11881
11882 * protoize.c: Conditionally include unistd.h.
11883 (IS_SAME_PATH_CHAR): New macro.
11884 (IS_SAME_PATH): New macro.
11885 (CPLUS_FILE_SUFFIX): New macro.
11886 (cplus_suffix): New static variable.
11887 (is_abspath): New static function.
11888 (in_system_include_dir): Handle DOS style pathnames.
11889 (file_could_be_converted): Likewise.
11890 (file_normally_convertible): Likewise.
11891 (directory_specified_p): Likewise.
11892 (file_excluded_p): Likewise.
11893 (abspath): Likewise.
11894 (shortpath): Likewise.
11895 (referenced_file_is_newer): Likewise.
11896 (save_def_or_dec): Likewise.
11897 (do_processing): Likewise.
11898 (main): Likewise.
11899 (edit_file): Likewise. Use rename instead of link.
11900 (rename_c_file): Likewise. Don't rename syscalls file.
11901 (munge_compile_params): Define null device for DOS based systems.
11902 (process_aux_info_file): Use binary mode if appliable.
11903 (edit_file): Likewise.
11904 * invoke.texi (Running Protoize): Document C++ suffixes used.
11905
11906 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
11907 IS_DIR_SEPARATOR macros.
11908 * collect2.c: Likewise.
11909 * cppinit.c: Likewise.
11910 * dwarf2out.c: Likewise.
11911 * gcc.c: Likewise.
11912 * gcov.c: Likewise.
11913 * prefix.c: Likewise.
11914 * rtl.c: Likewise.
11915 * toplev.c: Likewise.
11916 * system.h: And move to here.
11917
11918 * prefix.c (update_path): Fix typo in variable name.
11919
11920 2000-01-06 Richard Henderson <rth@cygnus.com>
11921
11922 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
11923 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
11924 (count_reg_sets_1, count_reg_references): Likewise.
11925 (flow_loops_level_compute): Start counting actual loop depth at 1.
11926 (flow_loops_find): Likewise.
11927 * local-alloc.c (update_equiv_regs): Likewise.
11928 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
11929
11930 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
11931
11932 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
11933 FIRST_PSEUDO_REGISTER
11934 * dwarf2out.c: Don't include frame.h
11935 * dwarfout.c: Likewise
11936 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
11937 frame.h
11938
11939 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
11940
11941 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
11942 dead registers.
11943
11944 * i386.c (movsf splitter): Fix typo in my last checkin.
11945
11946 2000-01-05 Nick Clifton <nickc@cygnus.com>
11947
11948 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
11949 own definition of this macro.
11950 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
11951 flag_data_sections or UNIQUE_SECTION_P are true.
11952
11953 * tm.texi (UNIQUE_SECTION): Document that it can be called for
11954 unitialised data decls.
11955
11956 * config/i386/winnt.c (i386_pe_unique_section): Cope with
11957 being called for uninitialised data.
11958
11959 * config/i386/interix.c (i386_pe_unique_section): Cope with
11960 being called for uninitialised data.
11961
11962 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
11963 for uninitialised data.
11964
11965 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
11966 for uninitialised data.
11967
11968 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
11969 for uninitialised data.
11970
11971 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
11972 (UNIQUE_SECTION_P): Always generate a unique section if
11973 flag_data_sections is true.
11974 (UNIQUE_SECTION): Also generate unique sections for
11975 uninitialised data.
11976 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
11977 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
11978 named_section().
11979
11980 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11981
11982 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
11983 SI, or DI.
11984
11985 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11986
11987 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
11988 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
11989 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
11990 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
11991 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
11992
11993 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
11994
11995 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
11996
11997 * c-decl.c (finish_enum): Simplify code to determine minimum and
11998 maximum values of the enum, and calculate the type. Remove check
11999 for FUNCTION_DECLs in the values list, which cannot happen. Replace
12000 the DECL_INITIAL of each enumeration constant with a copy converted
12001 to the enumeration type. When updating variant types, don't bother
12002 updating the type itself.
12003
12004 * c-typeck.c (build_binary_op): Simplify conditional expressions
12005 when weeding out spurious signed-unsigned warnings. Add new
12006 spurious warning category: if the unsigned quantity is an enum
12007 and its maximum value fits in signed_type(result_type). Update
12008 commentary.
12009 (build_conditional_expr): Warn here if one alternative is signed
12010 and the other is unsigned.
12011
12012 2000-01-05 Nick Clifton <nickc@cygnus.com>
12013
12014 * config/fr30/fr30.h: Remove extraneous comments.
12015
12016 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
12017
12018 * reload1.c (choose_reload_regs): When disabling a reload, also
12019 set reload_spill_index to -1.
12020
12021 2000-01-04 Joel Sherrill (joel@OARcorp.com>
12022
12023 * configure.in (m68*-*-rtemscoff*): New target, formal name for
12024 old m68*-*-rtems*.
12025 (m68*-*-rtemself*): New target.
12026 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
12027 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
12028 (sparc*-*-rtemself*): New target.
12029 (sparc*-*-rtems*): Now elf not a.out.
12030 * config/i386/rtems.h: Include config/rtems.h.
12031 * config/i386/rtemself.h: Include config/rtems.h.
12032 * config/i960/rtems.h: Include config/rtems.h.
12033 * config/m68k/rtems.h: Include config/rtems.h.
12034 * config/m68k/rtemself.h: Include config/rtems.h.
12035 * config/mips/rtems64.h: Include config/rtems.h.
12036 * config/pa/rtems.h: Include config/rtems.h.
12037 * config/rs6000/rtems.h: Include config/rtems.h.
12038 * config/sh/rtems.h: Include config/rtems.h.
12039 * config/sh/rtemself.h: Include config/rtems.h.
12040 * config/sparc/rtems.h: Include config/rtems.h.
12041 * config/sparc/rtemself.h: Include config/rtems.h
12042
12043 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
12044
12045 * final.c (shorten_branches): Correctly compute length of
12046 asms without operands.
12047
12048 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
12049
12050 * configure.in: Add pj target.
12051 * configure: Regenerate.
12052 * config/pj: New directory.
12053 * config/pj/lib1funcs.S: New file.
12054 * config/pj/linux.h: New file.
12055 * config/pj/pj.c: New file.
12056 * config/pj/pj.md: New file.
12057 * config/pj/pjl.h: New file.
12058 * config/pj/t-pj: New file.
12059 * config/pj/xm-pj.h: New file
12060
12061 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
12062
12063 * toplev.c (rest_of_compilation): Run shorten-branches before
12064 reg-stack for now.
12065
12066 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12067
12068 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
12069 macros so that they're consistent with their names.
12070 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
12071 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
12072
12073 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12074
12075 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
12076 modified inadvertently.
12077
12078 2000-01-04 Joel Sherrill <joel@OARcorp.com>
12079
12080 * configure.in (v850*-*-rtems*): New target.
12081 * configure: Regenerate.
12082 * config/v850/rtems.h: New file.
12083
12084 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
12085
12086 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
12087 (__gthread_key_create): Likewise.
12088 (__gthread_key_dtor): Likewise.
12089 (__gthread_once): Fix logic.
12090 (__gthread_key_delete): Cast away constness.
12091
12092 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
12093 * invoke.texi: Document.
12094 * i386/mingw32.h (CPP_SPEC): Use.
12095 (LIBGCC_SPEC): Likewise.
12096 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
12097
12098 2000-01-04 David Edelsohn <edelsohn@gnu.org>
12099
12100 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
12101 (HANDLE_PRAGMA_PACK): Undefine.
12102 (SLOW_UNALIGNED_ACCESS): Define.
12103
12104 2000-01-04 David Edelsohn <edelsohn@gnu.org>
12105
12106 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
12107 to default definition.
12108 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
12109 (store_fixed_bit_field): Call macro with word_mode and alignment.
12110 (extract_bit_field): Call macro with relevant mode and alignment.
12111 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
12112 to default definition.
12113 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
12114 and alignment.
12115 (move_by_pieces_ninsns): Likewise.
12116 (clear_by_pieces): Likewise.
12117 (emit_push_insn): Likewise.
12118 (store_field): Call macro with relevant mode and alignment.
12119 (expand_expr): Likewise.
12120 (expand_expr_unaligned): Likewise.
12121
12122 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
12123 (SLOW_UNALIGNED_ACCESS): Define.
12124 (CASE_VECTOR_MODE): Always use 32-bit offsets.
12125 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
12126 (EXTRA_SECTION_FUNCTIONS): Indent .csect pseudo-op.
12127 (toc_section): Likewise and .toc pseudo-op.
12128 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
12129 64-bit mode.
12130 (TEXT_SECTION_ASM_OP): Likewise.
12131 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
12132 32-bit offsets.
12133
12134 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
12135 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
12136 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
12137 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
12138 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
12139
12140 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
12141
12142 * regclass.c: Revert my Jan 4 change to loop cost computation.
12143
12144 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
12145
12146 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
12147 compilation.
12148
12149 2000-01-04 Stan Cox <scox@cygnus.com>
12150
12151 * haifa-sched.c (build_control_flow): Change unreachable simple
12152 loop test to check if current block has only one predecessor.
12153 (find_rgns): Initialize degree. Use dest as degree index, not src.
12154
12155 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12156
12157 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
12158
12159 * calls.c (expand_call): Likewise for
12160 `old_stack_arg_under_construction'.
12161
12162 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
12163
12164 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
12165 `save_constant'.
12166
12167 * gcc.c (execute): Likewise for `ut' and `st'.
12168
12169 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
12170
12171 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
12172
12173 * jump.c (jump_optimize_1): Likewise for `temp2'.
12174
12175 * local-alloc.c (block_alloc): Likewise for `r1'.
12176
12177 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
12178
12179 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
12180 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
12181
12182 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
12183 and `set2'.
12184
12185 * reload.c (find_reloads): Likewise for `goal_alternative_number'
12186 and `goal_earlyclobber'.
12187
12188 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
12189
12190 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
12191
12192 * stupid.c (stupid_life_analysis): Likewise for `chain'.
12193
12194 * unroll.c (copy_loop_body): Likewise for `copy'.
12195
12196 * varasm.c (output_constructor): Likewise for `byte'.
12197
12198 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
12199
12200 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
12201 all FP constants for constant->reg moves.
12202 (ix86_split_to_parts): Try to convert memory address into immediate
12203 when available in the constant pool.
12204 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
12205 moves.
12206 (LEGITIMATE_CONSTANT_P): Return 1.
12207 * i386.md (pushsf): New splitter to convert constant pool memory
12208 reference to immediate.
12209 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
12210 reload.
12211
12212 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
12213
12214 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
12215 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
12216 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
12217 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
12218 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
12219
12220 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
12221
12222 * ginclude/stdbool.h: Support compilation as C++.
12223
12224 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
12225
12226 * fold-const.c (make_range): Don't try to reverse an unbounded range.
12227
12228 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
12229
12230 * regclass.c (regclass): Properly compute loop_cost. Adjust
12231 comments.
12232
12233 * regclass.c: Fix minor whitespace problems.
12234
12235 2000-01-03 Anthony Green <green@cygnus.com>
12236
12237 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
12238 Restore the pic register if required.
12239
12240 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
12241
12242 * c-common.c (format_char_info): Update comment.
12243 (check_format_info): Recognize 'z' modifier in the same way 'Z'
12244 was recognized. Emit warning for formats new in ISO C99 only
12245 if flag_isoc9x is not set.
12246
12247 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
12248
12249 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
12250
12251 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
12252
12253 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
12254 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
12255 (make_compound_operation): Choose cheaper alternative between
12256 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
12257
12258 * regclass.c (op_costs): Remove global variable.
12259 (record_reg_classes): New parameter "op_costs" and "reg_pref".
12260 (record_operand_costs): Break out from ...
12261 (scan_one_insn): ... here.
12262 (dump_regclass): Make dumps nicer.
12263 (regclass): Dump preferrences choosed and changes done during passes.
12264
12265 2000-01-03 Jakub Jelinek <jakub@redhat.com>
12266
12267 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
12268
12269 2000-01-03 Jakub Jelinek <jakub@redhat.com>
12270
12271 * config/sparc/sparc.c (gen_df_reg): New function.
12272 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
12273 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
12274 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
12275 movtf_cc_reg_sp64+1): Use it.
12276
12277 2000-01-02 Mark Mitchell <mark@codesourcery.com>
12278
12279 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
12280 copied LABEL_DECLs.
12281
12282 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
12283
12284 * config/i386/i386.c (ix86_expand_unary_operator): Function
12285 definition made void.
12286 (ix86_expand_binary_operator): Update outdated preceding comment.
12287 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
12288 prototype.
12289
12290 * config/i386/i386.c (override_options): Fix option-name typo.
12291
12292 2000-01-02 Mark Mitchell <mark@codesourcery.com>
12293
12294 * system.h (CEIL): Define.
12295 * builtins.c (CEIL): Remove.
12296 * expmed.c (CEIL): Likewise.
12297 * expr.c (CEIL): Likewise.
12298 * stor-layout.c (CEIL): Likewise.
12299
12300 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12301
12302 * expr.c (store_constructor_field): Fix typo introduced with last
12303 gcc2 merge.
12304
12305 2000-01-01 Mark Mitchell <mark@codesourcery.com>
12306
12307 * tree.h (BINFO_N_BASETYPES): New macro.
12308
12309 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
12310
12311 * expmed.c (emit_store_flag): Prevent losing a pending stack
12312 adjust the same way we prevent losing queued increments.
12313
12314 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12315
12316 * function.c (update_temp_slot_address): Handle case where sum of
12317 temporary address plus offset in register is a valid address.
12318
12319 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12320
12321 * genrecog.c (change_state) Corrected typo.
12322
12323 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12324
12325 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
12326 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
12327 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
12328
12329 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
12330
12331 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
12332 case, expand GT comparisons correctly. Fix a comment before this
12333 part of the code.
12334
12335 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
12336
12337 * dwarfout.c: Include "frame.h"
12338 * dwarf2out.c: Likewise.
12339 * Makefile.in (dwarfout.o): Depend on frame.h
12340 (dwarf2out.o): Likewise.
12341
12342 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
12343
12344 Restore i386 binary compatibility in Dwarf EH info.
12345 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
12346 value of FIRST_PSEUDO_REGISTER.
12347 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
12348 (struct frame_state): Use DWARF_FRAME_REGISTERS.
12349 * dwarfout.c (output_reg_number): Ditto.
12350 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
12351 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
12352
12353 1999-12-29 Bruce Korb <autogen@linuxbox.com>
12354
12355 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
12356 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
12357 (<hack>_RE_CT): not needed
12358 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
12359 rewritten to scan the file text once only
12360 "template<..." test added
12361 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
12362 (is_cxx_header): declaration added
12363 * fixinc/fixtests.c(is_cxx_header): removed
12364 (apply_fix_p_t): removed
12365 (double_slash_test): is_cxx_header is only called once now
12366 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
12367 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
12368 within the templates.
12369 The borken spelling of "broken" was fixed.
12370 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
12371 The default level depends on FIXINC_DEBUG.
12372
12373 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12374
12375 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
12376 Otherwise provide a declaration for atexit.
12377 (init_dummy): Make sure dummy call to atexit is nevertheless
12378 called with correct number of args.
12379
12380 * frame.c: Update comments referring to other files.
12381
12382 * libgcc2.c: Likewise.
12383
12384 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12385
12386 * cse.c (free_element, get_element): Remove unused prototypes.
12387
12388 * fold-const.c (extract_muldiv): Initialize variables `op0' and
12389 `op1'.
12390
12391 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
12392 `else' clauses.
12393
12394 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
12395
12396 * configure.in,configure: case arm for mn10200-*-* now sets
12397 float_format=i32 so that float.h will correctly claim "double"
12398 to be 32 bits. Ran autoconf to generate configure from .in file.
12399
12400 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
12401
12402 * pa.md (conditional zero): If op1 is a register, force it into
12403 the same register as op0.
12404
12405 1999-12-28 Mark Mitchell <mark@codesourcery.com>
12406
12407 * tree.h (BINFO_BASETYPES): Improve documentation.
12408
12409 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12410
12411 * configure.in (--enable-checking): Use a more portable `for'
12412 loop syntax.
12413
12414 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12415
12416 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
12417 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
12418
12419 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
12420 Delete files.
12421
12422 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
12423 Delete descriptions.
12424
12425 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
12426 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
12427 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
12428 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
12429 xm-svr4.h: Remove all instances of sys_siglist handling.
12430
12431 1999-12-27 Jakub Jelinek <jakub@redhat.com>
12432
12433 * config/sparc/sparc.md (cmp_zero_qi,
12434 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
12435 cmp_zero_extendqidi2_andcc_set): New patterns.
12436
12437 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
12438
12439 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
12440 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
12441 (fpgnulib.c, xfgnulib.c): Add rules.
12442 * m68k/t-mot3300-gas: Likewise.
12443
12444 1999-12-27 Ian Lance Taylor <ian@zembu.com>
12445
12446 * configure.in: Avoid [[ by using test and changequote. Add
12447 changequote required by 1999-12-14 change.
12448 * configure: Rebuild.
12449
12450 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
12451
12452 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
12453
12454 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
12455
12456 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
12457 * flow.c (find_use_as_address): Likewise.
12458 * function.c (fixup_var_refs_1): Likewise.
12459 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
12460 * jump.c (invert_exp, redirect_exp): Likewise.
12461 * loop.c (replace_call_address): Likewise.
12462 (count_nonfixed_reads): Likewise.
12463 * rtlanal.c (modified_between_p): Likewise.
12464 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
12465 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
12466 * unroll.c (remap_split_bivs): Likewise.
12467
12468 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12469
12470 * diagnostic.c (v_message_with_decl): Use .* format specifier
12471 instead of building the format specifier width manually.
12472
12473 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
12474 determining whether to provide a prototype. Remove the
12475 sys_siglist clause in the conditional.
12476
12477 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
12478
12479 * fold-const.c (operand_equal_p): Use memcmp to compare string
12480 constants.
12481 Suggested by D. J. Bernstein
12482
12483 1999-12-17 Jakub Jelinek <jakub@redhat.com>
12484
12485 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
12486 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
12487 compiling libgcc2.
12488 * config/mips/mips.h (TARGET_64BIT): Likewise.
12489 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
12490 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
12491 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
12492 dsps. Give routines proper names if SI/DI modes are not used.
12493 * longlong.h: Use DWunion instead of DIunion.
12494
12495 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
12496
12497 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
12498 GC_CHECKING, GC_ALWAYS_COLLECT.
12499 * configure.in: Allow --enable-checking with an argument
12500 listing check modes to enable.
12501 * config.in, configure: Rebuilt.
12502 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
12503 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
12504 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
12505 ENABLE_GC_ALWAYS_COLLECT.
12506 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
12507 throughout.
12508 * tree.h, tree.c: Change ENABLE_CHECKING to
12509 ENABLE_TREE_CHECKING throughout.
12510
12511 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12512
12513 * fold-const.c (fold_truthop): Properly check for FP RHS.
12514
12515 1999-12-24 Mark Mitchell <mark@codesourcery.com>
12516
12517 * toplev.h (note_deferall_of_defined_inline_function): Declare.
12518 * toplev.c (note_deferral_of_defined_inline_function): New
12519 function, split out from ...
12520 (rest_of_compilation): ... here. Use it.
12521
12522 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12523
12524 * expr.c (store_constructor): Don't call clear_storage if size is
12525 variable.
12526
12527 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12528
12529 * Makefile.in (toplev.o): Depend on loop.h.
12530
12531 * dwarfout.c: Include tm_p.h.
12532
12533 * emit-rtl.c (restore_emit_status): Mark parameter with
12534 ATTRIBUTE_UNUSED.
12535
12536 * final.c (final_scan_insn): Likewise.
12537
12538 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
12539 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
12540 flow_depth_first_order_compute, flow_loop_pre_header_find,
12541 flow_loop_tree_node_add, flow_loops_tree_build,
12542 flow_loop_level_compute, flow_loops_level_compute,
12543 flow_loop_outside_edge_p): Add prototypes.
12544 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
12545
12546 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
12547 Mark with ATTRIBUTE_NORETURN.
12548
12549 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
12550
12551 * local-alloc.c (no_conflict_p): Likewise.
12552
12553 * loop.c (insert_bct): Hide definitions of variables with hidden
12554 usage.
12555 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
12556
12557 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
12558 with ATTRIBUTE_UNUSED.
12559 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
12560 (reg_scan): Likewise.
12561
12562 * reload.c (find_reloads): Remove unused variables `changed'.
12563
12564 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
12565 away const-ness.
12566 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
12567 Remove unused variable `insn'.
12568
12569 * toplev.c: Include loop.h.
12570 (report_file_and_line): Remove unnecessary prototype.
12571
12572 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
12573
12574 * unroll.c (biv_total_increment): Likewise.
12575
12576 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12577
12578 * reload1.c (emit_input_reload_insns): Restore old behaviour
12579 wrt. 'special' reloads.
12580
12581 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
12582
12583 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
12584 hash.h. (cse.c): Don't depend on hashtab.h.
12585
12586 * cse.c: Don't include hashtab.h.
12587 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
12588 of dead functions.
12589 * ggc-simple.c: Don't include hash.h.
12590
12591 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
12592
12593 * dwarf2out.c (add_abstract_origin_attribute): Call
12594 gen_abstract_function on our function context.
12595
12596 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
12597
12598 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
12599
12600 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12601
12602 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
12603 case in switch.
12604
12605 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12606
12607 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
12608 constraints to "a!r".
12609
12610 1999-12-21 Mark Mitchell <mark@codesourcery.com>
12611
12612 * Makefile.in (calls.o): Depend on function.h.
12613 (alias.o): Likewise.
12614
12615 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
12616
12617 * reload1.c (emit_reload_insns): Break out code and variables into...
12618 (input_reload_insns, other_input_address_reload_insns,
12619 other_input_reload_insns, input_address_reload_insns,
12620 inpaddr_address_reload_insns, output_reload_insns,
12621 output_address_reload_insns, outaddr_address_reload_insns,
12622 operand_reload_insns, other_operand_reload_insns,
12623 other_output_reload_insns): ... new static variables, and...
12624 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
12625 do_output_reload): ... new functions.
12626
12627 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12628
12629 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
12630
12631 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12632
12633 * md.texi: Add c4x constraints documentation.
12634
12635 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
12636
12637 * config/i386/dgux.c (struct option): Rename to
12638 lang_independent_option.
12639 (struct m_options): Add description field.
12640 (output_options): Rename option type, add sep declaration, output
12641 ix86_cpu_string and ix86_arch_string only if set.
12642 (output_file_start): Rename option type.
12643
12644 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
12645
12646 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
12647 stmp-int-hdrs.
12648 (libgcc2.a): Similarly.
12649
12650 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
12651
12652 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
12653 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
12654 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
12655
12656 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
12657
12658 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
12659 Remove redundant initialization of "frexpon" and "expon".
12660
12661 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12662
12663 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
12664
12665 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
12666 (store_constructor_field, expand_expr): Pass new arg.
12667
12668 1999-12-20 Mark Mitchell <mark@codesourcery.com>
12669
12670 * Makefile.in (explow.o): Depend on function.h.
12671
12672 * stor-layout.c (set_sizetype): Fix typo.
12673
12674 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
12675
12676 * function.c (cfun): Renamed from current_function. All users
12677 changed.
12678 * function.h (cfun): Rename declaration as well.
12679
12680 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
12681 to be of type regset_head, not regset. All users changed by adding
12682 address operator.
12683 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
12684
12685 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12686
12687 * config/c4x/rtems.h: New file.
12688
12689 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
12690
12691 * reload1.c (spill_failure): Take class of failed reload as argument
12692 and print it. Caller changed.
12693
12694 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12695
12696 * rs6000.h (SUBTARGET_DEFAULT): New macro.
12697 (TARGET_SWITCHES): Allow subtargets to default switches.
12698 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
12699
12700 1999-12-18 Mark Mitchell <mark@codesourcery.com>
12701
12702 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
12703 in a main program.
12704
12705 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
12706
12707 * cccp.c (main): Define __STDC_VERSION__ as necessary.
12708 * cppinit.c (cpp_handle_option): Likewise.
12709
12710 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
12711 determine when to define.
12712
12713 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
12714
12715 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
12716 cmove with mismatched test and data modes.
12717
12718 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
12719
12720 * c-typeck.c (c_expand_start_case): Don't warn for long switch
12721 in system headers.
12722
12723 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12724
12725 * alias.c: Minor reformatting.
12726 * flow.c: Likewise.
12727 * regs.h: Likewise.
12728 * stor-layout.c: Likewise.
12729 * fold-const.c: Likewise.
12730 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
12731 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
12732 not arg itself.
12733 (size_int_wide): Cache nodes even if garbage collecting.
12734 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
12735 of SAVE_EXPR has no side effects.
12736 * cse.c: Move a comment.
12737 * tree.c: Minor reformatting.
12738 (int_size_in_bytes): Return -1 if constant overflows.
12739
12740 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12741
12742 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
12743
12744 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
12745
12746 * objc/objc-parse.c: Regenerate. This file must be rebuilt
12747 after any change to c-parse.in, even if objc-parse.y didn't
12748 change. Oops.
12749
12750 1999-12-18 David S. Miller <davem@redhat.com>
12751
12752 * toplev.c (rest_of_compilation): Restore BLOCK tree
12753 reconstruction and branch shortening changes lost in
12754 December 18th change.
12755
12756 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
12757
12758 * config/arm/linux-elf.h: Change all instances of
12759 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
12760 * config/arm/uclinux-elf.h: Likewise.
12761
12762 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
12763
12764 * toplev.c (notice, vmessage, v_message_with_file_and_line,
12765 v_message_with_decl, file_and_line_for_asm,
12766 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
12767 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
12768 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
12769 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
12770 pfatal_with_name, fatal_io_error, need_error_newline,
12771 last_error_function, last_error_tick, announce_function,
12772 default_print_error_function, print_error_function,
12773 report_error_function, fnotice, error_with_file_and_line,
12774 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
12775 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
12776 warning_with_decl, warning_for_asm, warning, pedwarn,
12777 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
12778 diagnostic.c
12779 (compile_file): Use fnotice instead of notice. Adjust call.
12780
12781 * diagnostic.c: New file.
12782
12783 * Makefile.in (OBJS): Include diagnostic.o
12784 (diagnostic.o): Define dependence.
12785
12786 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12787
12788 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
12789 Tweak formatting.
12790
12791 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12792
12793 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
12794
12795 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
12796
12797 * fixtests.c (is_cxx_header): New fn, split out of
12798 double_slash_test.
12799 (else_endif_label): Allow "#endif // comment" in C++ headers,
12800 as determined by is_cxx_header.
12801 * fixfixes.c (else_endif_label_fix): Update comment.
12802 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
12803 a tty.
12804 * genfixes: Correct double thinko in commandline parsing.
12805 * hackshell.tpl: Generate correct sh syntax for bypass
12806 entries.
12807
12808 * inclhack.def (all): Whenever an inserted preprocessor
12809 conditional is split over multiple lines, use double
12810 backslashes in this file so the fixed header will be readable.
12811
12812 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
12813 and add bypass entry for correct version of this header.
12814 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
12815 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
12816
12817 (hpux8_bogus_inlines): New fix, split from...
12818 (ultrix_atof_param) ... here.
12819 (math_expression): Add bypass entry keyed to glibc comment
12820 indicating the problem has been dealt with; disable
12821 unnecessary sed operations; update commentary.
12822 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
12823 add select and bypass entries, simplify shell operation.
12824 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
12825
12826 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
12827 ultrix_atof_param): Add select entry.
12828 (stdio_va_list, sunos_mather_decl): Add bypass entry.
12829 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
12830 comments with the fixes they describe.
12831
12832 * c-parse.in (string action): Do not warn about ANSI string
12833 concatenation in system headers. Affects C parser only.
12834 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
12835
12836 1999-12-16 Jakub Jelinek <jakub@redhat.com>
12837
12838 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
12839 compiling libgcc2 the macro depends always on arch cpp defines.
12840
12841 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
12842
12843 * loop.c (insert_loop_mem): Don't record MEMs from inside
12844 EXPR_LISTs.
12845
12846 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
12847
12848 * regclass.c (regclass): Do not use flowgraph when not optimizing.
12849
12850 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
12851 notes too, create one when replacement failed, attempt to simplify
12852 resulting notes.
12853 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
12854 or REG_EQUIV notes.
12855
12856 1999-12-16 Mark Mitchell <mark@codesourcery.com>
12857
12858 * crtstuff.c (__dso_handle): Declare.
12859 (__cxa_finalize): Likewise.
12860 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
12861 non-NULL.
12862
12863 * invoke.texi: Document -fuse-cxa-atexit.
12864
12865 * tree.h (ptr_type_node): Document.
12866 (const_ptr_type_node): Likewise.
12867
12868 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12869
12870 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
12871 (optimize_reg_copy_2): Likewise.
12872 (optimize_reg_copy_3): Likewise.
12873 (fixup_match_2): Likewise.
12874 (regmove_optimize): Likewise.
12875 (fixup_match_1): Liekwise.
12876
12877 * i386.md (HI to SImode promoting splitters): Rewrite.
12878 (pushsf mem peep2): New.
12879 (testhi to andhi peep2): Remove.
12880 * i386.h (x86_promote_QImode): New.
12881 (TARGET_PROMOTE_QImode): New.
12882 (PREDICATE_CODES): Add promotable_binary_operator.
12883 * i386.c (x86_promote_QImode0: New.
12884 (promotable_binary_operator): New.
12885 * i386-protos.h (promotable_binary_operator): New.
12886
12887 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
12888 condition.
12889 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
12890
12891 1999-12-16 Mark Mitchell <mark@codesourcery.com>
12892
12893 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
12894 * function.c (insert_block_after_note): Remove.
12895 (retrofit_block): Likewise.
12896 (identify_blocks): Fix indentation.
12897 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
12898 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
12899 * function.h (insert_block_after_note): Remove prototype.
12900 (retrofit_block): Likewise.
12901 * integrate.c (expand_inline_function): Don't call
12902 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
12903 just expand_start_bindings. Use the block_map to remap old
12904 NOTE_BLOCKs to new ones.
12905 (integrate_decl_tree): Keep track of remapped blocks.
12906 * integrate.h (struct inline_remap): Add block_map.
12907 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
12908 NOTE_BLOCK on the notes.
12909 (expand_start_bindings): Rename to ...
12910 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
12911 (expand_end_bindings): Set NOTE_BLOCK.
12912 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
12913 reconstruct the BLOCK tree.
12914 * tree.h (expand_start_bindings): Macroize. Call ...
12915 (expand_start_bindings_and_block): New function.
12916
12917 1999-12-16 Jakub Jelinek <jakub@redhat.com>
12918
12919 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
12920 to match the format.
12921
12922 1999-12-16 David S. Miller <davem@redhat.com>
12923
12924 * expr.c (emit_move_insn_1): Only emit clobbers if one of
12925 the outputs is a SUBREG.
12926 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
12927 change.
12928
12929 * config/sparc/sparc.c (epilogue_renumber): Add default case
12930 to switch stmt.
12931
12932 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12933
12934 * toplev.c (rest_of_compilation): Run branch shortening after
12935 reg-stack.
12936
12937 * regclass.c (loop_depth): Remove
12938 (scan_one_insn): Do not handle LOOP_NOTE insns.
12939 (regclass): Go through basic blocks and set loop_cost
12940
12941 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
12942
12943 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
12944
12945 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12946
12947 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
12948 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
12949 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
12950
12951 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
12952
12953 * loop.c (insert_loop_mem): Ignore memory clobbers.
12954
12955 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
12956 to (OP A B).
12957
12958 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
12959
12960 * profile.c: Remove redundant #include "output.h".
12961
12962 * h8300.md (HImode preinc peephole): Fix typo.
12963
12964 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
12965
12966 * function.c (retrofit_block): Abort if we don't find a suitable insn.
12967 (insert_block_after_note): Abort if we don't have a previous block.
12968 Remove FN parameter.
12969 * function.h: Adjust.
12970
12971 1999-12-15 Mark Mitchell <mark@codesourcery.com>
12972
12973 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
12974 argument more than once.
12975
12976 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
12977
12978 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
12979
12980 1999-12-15 Jakub Jelinek <jakub@redhat.com>
12981
12982 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
12983
12984 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12985
12986 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
12987 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
12988 update stack_alignment_needed.
12989 (prepare_function_start): Initialize stack_alignment_needed
12990 * function.h (struct function): Add field stack_alignment_needed.
12991
12992 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12993
12994 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
12995 Handle live_throughout / dead_or_set instead of live_before /
12996 live_after.
12997 (save_call_clobbered_regs): Get register livenessinformation from
12998 chain->live_throughout.
12999 (add_stored_regs): New function.
13000 (insert_restore, insert_save): Add restored / saved registers to
13001 dead_or_set.
13002 * global.c (reg_dies): New parameter chain.
13003 (reg_becomes_live): Third parameter is regs_set now.
13004 Changed all callers.
13005 (reg_dies): New parameter chain. Changed all callers.
13006 (build_insn_chain): Set live_throughout instead of
13007 live_before / live_after.
13008 * reload.h (struct insn_chain): Replace members live_before /
13009 live_after with live_throughout / dead_or_set.
13010 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
13011 instead of live_before / live_after.
13012 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
13013 (order_regs_for_reload, find_reg, finish_spills): Likewise.
13014 (choose_reload_regs_init): Likewise.
13015 * stupid.c (current_chain, find_clobbered_regs): Delete.
13016 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
13017 instead of chain->live_before / chain->live_after.
13018 (mark_hard_ref): New function.
13019 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
13020
13021 1999-12-15 David S. Miller <davem@redhat.com>
13022
13023 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
13024
13025 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
13026
13027 * flow.c (calculate_loop_depth): Make global, remove prototype,
13028 rewrite to use new loop infrastructure.
13029 (find_basic_block): Remove calculate_loop_depth call.
13030 * toplev.c (rest_of_compilation): Call find_basic_block.
13031 * output.h (calculate_loop_depth): Declare.
13032
13033 * flow.c (dump_flow_info): Dump loop_depth.
13034 (flow_loops_nodes_find): Increase loop_depth for basic block in the
13035 body.
13036 (flow_loops_find): Initialize the loop_depth for each basic block.
13037
13038 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
13039
13040 * tree.c (decl_function_context): Handle virtual functions.
13041
13042 * tlink.c (scan_linker_output): Don't look in demangled name when
13043 looking for linker output keywords.
13044
13045 * dwarfout.c (output_type): We can defer namespace-scope classes.
13046
13047 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
13048
13049 * regclass.c (record_reg_classes): Update comment for merging
13050 register class preferences in reg->reg copies. Tighten conditions
13051 for merging register class preferences in reg->reg copies.
13052
13053 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
13054
13055 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
13056
13057 1999-12-14 Geoff Keating <geoffk@cygnus.com>
13058
13059 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
13060 (INIT_SECTION_ASM_OP): Delete.
13061 (FINI_SECTION_ASM_OP): Delete.
13062 (STARTFILE_SPEC): Define to hold just crtbegin.o.
13063
13064 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
13065
13066 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
13067 the abstract origin wasn't emitted.
13068
13069 * dwarf2out.c (class_scope_p): New fn.
13070 (gen_subprogram_die): Use it.
13071 (gen_variable_die): Use it. Tweak logic.
13072 (gen_struct_or_union_type_die): Check context_die to determine
13073 if we're function-local.
13074 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
13075
13076 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
13077
13078 * loop.c (check_dbra_loop): Can't reverse a biv that has
13079 maybe_multiple set.
13080
13081 1999-12-14 Nick Clifton <nickc@cygnus.com>
13082
13083 * config/arm/arm.c: Add support for -mcpu=arm720 command line
13084 switch.
13085
13086 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13087
13088 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
13089 for givs made from biv increments.
13090
13091 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
13092
13093 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
13094 * alpha.c (override_options): Recognize -mcpu=ev67.
13095 * alpha.h (CPP_CPU_EV67_SPEC): New.
13096 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
13097 (EXTRA_SPECS): Update.
13098
13099 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
13100
13101 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
13102 appropriate for -lang-c89 and -std=*.
13103 * cppinit.c (cpp_handle_option): Likewise.
13104 (new_pending_define): New, split out from cpp_handle_option.
13105 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
13106 or enable trigraphs for -ansi/-std=*.
13107
13108 * ginclude/stdarg.h (__va_copy): New.
13109 (va_copy): Don't define for C89.
13110
13111 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
13112
13113 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
13114 for long long multiply-accumulate.
13115
13116 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
13117
13118 * regclass.c (scan_one_insn): Set loop_cost to 1 when
13119 optimizing for size.
13120
13121 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
13122
13123 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
13124 if something changed. Back out that part of yesterday's changes.
13125
13126 * loop.c (loop_max_reg): New static variable.
13127 (loop_optimize): Initialize it. Eliminate one unnecessary call to
13128 max_reg_num.
13129 (scan_loop): Call reg_scan_update whenever we may have added new
13130 registers, and update loop_max_reg.
13131
13132 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
13133
13134 * regclass.c (record_reg_classes): Do not do the copying preferrencing
13135 when source does not die.
13136
13137 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
13138
13139 1999-12-14 Jakub Jelinek <jakub@redhat.com>
13140
13141 * config/sparc/linux64.h (TARGET_LIVE_G0,
13142 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
13143 variants on Linux.
13144 * config/sparc/linux.h (TARGET_LIVE_G0,
13145 TARGET_BROKEN_SAVERESTORE): Likewise.
13146 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
13147 TARGET_BROKEN_SAVERESTORE): Likewise.
13148
13149 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
13150 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
13151 not %g2.
13152 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
13153 as sparc64 block profiling register.
13154 * config/sparc/sparc.c (sparc_override_options): Allow block
13155 profiling with -m32.
13156 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
13157 profiling register.
13158 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
13159 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
13160 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
13161
13162 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
13163 for sparc64.
13164 * config/sparc/sparc.h: Likewise.
13165 * config/sparc/xm-sysv4-64.h: Likewise.
13166 * config/float-sparc.h: Likewise.
13167 * glimits.h: Likewise.
13168 * longlong.h: Likewise.
13169
13170 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
13171 (ASM_IDENTIFY_GCC): Remove.
13172
13173 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
13174
13175 * combine.c (combine_simplify_rtx): Don't make shared rtl.
13176 (simplify_logical): Likewise.
13177
13178 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
13179
13180 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
13181 * cppfiles.c (INO_T_EQ): Likewise.
13182
13183 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
13184
13185 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
13186 * i386/mingw32.h (LIB_SPEC): Likewise.
13187 (STARTFILE_SPEC): Likewise.
13188 * i386/uwin.h (LIB_SPEC): Likewise.
13189 (STARTFILE_SPEC): Likewise.
13190
13191 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
13192 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
13193
13194 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
13195
13196 * combine.c (combine_simplify_rtx): Fix order of checks for
13197 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
13198
13199 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
13200
13201 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
13202 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
13203
13204 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
13205
13206 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
13207 defined.
13208 * regclass.c (inv_reg_alloc_order): New array.
13209 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
13210
13211 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
13212 counted_for_groups, counted_for_nongroups. Add fields rld and
13213 n_reloads.
13214 * reload.c (push_secondary_reload): Don't set nongroup field of
13215 new reloads.
13216 (push_reload): Likewise.
13217 (find_reloads): Delete code to compute nongroup fields.
13218 * reload1.c (reload_insn_firstobj): New static variable.
13219 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
13220 users changed.
13221 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
13222 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
13223 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
13224 functions.
13225 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
13226 functions.
13227 (struct hard_reg_n_uses): Deleted.
13228 (potential_reload_regs): Deleted.
13229 (init_reload): Initialize spilled_pseudos and pseudos_counted.
13230 (reload): Don't try to allocate reload registers if we already know
13231 we have to make another pass. Call select_reload_regs. Free memory
13232 starting with reload_firstobj when starting another pass.
13233 Don't allocate spilled_pseudos.
13234 (calculate_needs_all_insns): Call copy_reloads for an insn that
13235 needs reloads; don't call calculate_needs.
13236 (spill_cost): New static array.
13237 (used_spill_regs_local): New static variable.
13238 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
13239 to compute potential_reload_regs.
13240 (find_reload_regs): Completely rewritten to use find_reg.
13241 (allocate_reload_reg): Don't test counted_for_groups or
13242 counted_for_nongroups. Lose NOERROR arg and code to give an error;
13243 all cllers changed.
13244 (choose_reload_regs): Add fallback code that uses the existing
13245 register allocation from find_reload_regs.
13246
13247 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
13248
13249 * flow.c (create_edge_list): Cast xmalloc return value.
13250
13251 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
13252
13253 * doprnt.c: Remove incorrect comment closure.
13254
13255 * cse.c: Fix a few minor whitespace goofs.
13256
13257 1999-12-13 Don Bowman <don@pixstream.com>
13258
13259 * mips/vxworks.h: Fix problem with comment termination.
13260 (EXTRA_SECTIONS): Add in_sbss.
13261 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
13262
13263 1999-12-12 David S. Miller <davem@redhat.com>
13264
13265 * cse.c (struct cse_reg_info): Add hash_next member,
13266 reorder rest of struct for better packing on 64-bit
13267 hosts.
13268 (cse_reg_info_tree): Kill.
13269 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
13270 REGHASH_FN): New custom pow2 hash mechanism.
13271 (NBUCKETS): Kill.
13272 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
13273 use a pow2 hash table.
13274 (get_cse_reg_info): Rework to use new REGHASH.
13275 (new_basic_block): Likewise, use HASH_SIZE, and inline
13276 free_element call.
13277 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
13278 and inline free_element call.
13279 (lookup_as_function, insert, flush_hash_table, invalidate,
13280 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
13281 invalidate_for_call, use_related_value, find_comparison_args,
13282 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
13283 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
13284 get_element): Kill.
13285
13286 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
13287
13288 * cse.c (cse_basic_block): Free qty_table consistently.
13289
13290 1999-12-12 David S. Miller <davem@redhat.com>
13291 Jakub Jelinek <jakub@redhat.com>
13292
13293 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
13294 SUBREGs by hand, gen the appropriate hard reg directly.
13295 (movtf reg/mem split): Likewise and alter_subreg on destination
13296 if necessary.
13297 (movtf mem/reg split): Similarly.
13298 (movdf_cc_sp64): Rename from hidden pattern.
13299 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
13300 (movtf_cc_sp64, following split): New pattern and splitter.
13301 (movdf_cc_reg_sp64): Rename from hidden pattern.
13302 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
13303 TARGET_HARD_QUAD.
13304 (movtf_cc_reg_sp64, following split): New pattern and splitter.
13305
13306 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
13307
13308 * loop.c (load_mems): Don't hoist written floating point mem
13309 if -ffloat-store.
13310
13311 1999-12-12 Mark Mitchell <mark@codesourcery.com>
13312
13313 * except.h (struct eh_queue): Add `next' pointer.
13314 (struct eh_status): Make x_ehqueue a pointer.
13315 (push_ehqueue): Declare.
13316 (pop_ehqueue): Likewise.
13317 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
13318 pointer.
13319 (expand_fixup_region_end): Likewise.
13320 (expand_leftover_cleanups): Likewise.
13321 (push_ehqueue): Define.
13322 (pop_ehqueue): Likewise.
13323 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
13324 than doing it inline.
13325 (expand_start_all_catch): Adjust now that ehqueue is a
13326 pointer.
13327 (mark_eh_queue): Mark all level of the queue.
13328 (mark_eh_status): Adjust now that ehqueue is a
13329 pointer.
13330 (init_eh_for_function): Allocate ehqueue.
13331 (free_eh_status): Free it.
13332 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
13333 expansion for a fixup.
13334
13335 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13336
13337 * gthr-single.h (__gthread_active_p): Add prototype arguments.
13338
13339 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
13340 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
13341 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
13342 function_ptr, getpagesize, __enable_execute_stack,
13343 __enable_execute_stack, __clear_insn_cache,
13344 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
13345 _cleanup, _exit, __default_terminate, __terminate_func,
13346 __terminate, __empty, __throw, new_eh_context,
13347 eh_context_initialize, eh_context_static, eh_context_specific,
13348 get_eh_context, __get_eh_context, __get_eh_info,
13349 init_reg_size_table, eh_threads_initialize,
13350 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
13351 __unwinding_cleanup, throw_helper, __throw, __rethrow,
13352 __pure_virtual): Add prototype arguments.
13353 (__bb_exit_func): Cast a sizeof to long when comparing against one.
13354 Cast a signed value to unsigned long when comparing against one.
13355 (new_eh_context): Wrap in _GTHREADS macro.
13356 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
13357 declaration.
13358 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
13359 (throw_helper): Initialize variables `handler_p' and `pc_p'.
13360
13361 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13362
13363 * combine.c (record_promoted_value): Remove unused variable
13364 `links2'.
13365
13366 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
13367
13368 * global.c (record_conflicts): Likewise for `j'.
13369
13370 * genoutput.c (output_insn_data): Don't unnecessarily cast away
13371 const-ness.
13372
13373 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13374
13375 * i386-protos.h (output_387_binary_op, output_fix_trunc,
13376 output_fp_compare): Constify a char*.
13377
13378 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
13379 static prototypes.
13380 (override_options, ix86_comp_type_attributes, print_operand,
13381 output_387_binary_op, output_fix_trunc, output_fp_compare):
13382 Constify a char*.
13383 (ix86_sched_reorder): Mark parameter `clock_var' with
13384 ATTRIBUTE_UNUSED.
13385
13386 * i386.h (DEBUG_PRINT_REG): Constify a char*.
13387
13388 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
13389
13390 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
13391 operand, for use in the Java front-end.
13392
13393 1999-12-10 Ben Collins <bcollins@debian.org>
13394
13395 * configure.in: Fix typo for "-64" in 64bit as check.
13396 * configure: Rebuilt.
13397
13398 1999-12-10 Jakub Jelinek <jakub@redhat.com>
13399
13400 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
13401 appropriate.
13402
13403 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13404
13405 * c-parse.in (string): With -Wtraditional, warn if ANSI string
13406 concatenation is utilized.
13407
13408 * invoke.texi (-Wtraditional): Document it.
13409
13410 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13411
13412 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
13413 Cast a ptrdiff_t to long and pass it to printf with %ld.
13414
13415 1999-12-10 Geoff Keating <geoffk@cygnus.com>
13416
13417 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
13418 68881, we have no 68881 registers at all.
13419 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
13420 value in a 68881 register if it is available.
13421
13422 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
13423
13424 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
13425 for long long multiply-accumulate.
13426
13427 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
13428
13429 * loop.c (insert_loop_mem): Undo last change.
13430
13431 1999-12-10 David S. Miller <davem@redhat.com>
13432
13433 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
13434 New functions.
13435 * config/sparc/sparc-protos.h: Add them.
13436 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
13437 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
13438 constraints which use those helpers.
13439 (EXTRA_CONSTRAINT): Use this new macro.
13440 * md.texi: Update sparc target constraints documentation.
13441 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
13442 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
13443 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
13444 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
13445 (movsf high/lo_sum split): Rework for new patterns.
13446 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
13447
13448 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
13449
13450 * c-common.c (c_common_nodes_and_builtins):
13451 Create __builtin_ptrdiff_t and __builtin_size_t.
13452
13453 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
13454
13455 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
13456
13457 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13458
13459 * regclass.c (globalize_reg): Re-instate test that allows
13460 fixed registers to be declared as a variable even after functions
13461 are defined.
13462
13463 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
13464
13465 * i386.md (cpu attribute): Add "athlon".
13466 (athlon_decode): New attribute.
13467 (Athlon scheduling units definitions): New.
13468 (fcmp and shld patterns): Set athlon_decode to "vector".
13469 * i386.c (athlon_cost): New.
13470 (m_ATHLON): New.
13471 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
13472 x86_use_sahf): Set for Athlon.
13473 (x86_use_fiop): Unset for Athlon.
13474 (override_options): Define Athlon alignments and "athlon" name.
13475 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
13476 * i386.h (TARGET_ATHLON): New.
13477 (enum processor_type): Add PROCESSOR_ATHLON.
13478 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
13479 for CPU_DEFAULT==5
13480 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
13481
13482 1999-12-09 Andreas Jaeger <aj@suse.de>
13483
13484 * loop.c (record_biv): Declare parameter as int.
13485
13486 * config/i386/i386-protos.h: Declare long_memory_operand.
13487
13488 1999-12-09 Mark Mitchell <mark@codesourcery.com>
13489
13490 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
13491 EXPR_WITH_FILE_LOCATION.
13492
13493 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
13494
13495 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
13496 in expander.
13497
13498 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
13499
13500 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
13501 updating code.
13502
13503 1999-12-09 Jakub Jelinek <jakub@redhat.com>
13504
13505 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
13506 default on linux64 again.
13507 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
13508 models for multilibing.
13509 * genmultilib: Accept | as alternative separator within a set in
13510 MULTILIB_OPTIONS.
13511
13512 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
13513
13514 * calls.c (precompute_arguments): Make sure initial_value contains
13515 value pseudo which CSE expects.
13516 * cse.c (struct set): New entry orig_src.
13517 (cse_insn): Set it early on entry, use it for libcall EQUIV note
13518 replacement.
13519
13520 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
13521
13522 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
13523
13524 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
13525
13526 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
13527
13528 1999-12-08 Jakub Jelinek <jakub@redhat.com>
13529
13530 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
13531 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
13532
13533 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
13534 if TARGET_ARCH32.
13535
13536 * longlong.h: Merge in changes from glibc.
13537 Also don't clobber %g2 register in 32bit SPARC assembly, so that
13538 -mno-app-regs libgcc can be compiled.
13539 * libgcc2.c: Add defines so that the updated longlong.h
13540 can be used in libgcc2.a. Also, make sure on most architectures
13541 (at least on all which have optimized code in longlong.h defined
13542 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
13543
13544 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13545
13546 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
13547 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
13548 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
13549 is GNU ld.
13550 * configure: Rebuilt.
13551
13552 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
13553
13554 * alpha.c (secondary_reload_class): For !BWX, sub-simode
13555 outputs require a register.
13556
13557 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
13558
13559 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
13560 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
13561 functions like dptoul will be resolved.
13562 (libgcc2.a): Make sure that the object files from DPBIT are named
13563 differently (prefix `_dp') from those that would be coming from
13564 FPBIT.
13565
13566 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
13567
13568 * configure.in: When target is sparc* and tm_file contains 64,
13569 test for 64bit support in assembler. If not supported, remove
13570 sparc/t-sol2-64 from target-dependent Makefile fragments.
13571 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
13572 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
13573 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
13574 * acconfig.h (AS_SPARC64_FLAG): Added.
13575 * configure, config.in: Rebuilt.
13576 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
13577 support. Use AS_SPARC64_FLAG.
13578
13579 1999-12-07 Jakub Jelinek <jakub@redhat.com>
13580
13581 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
13582 suitable for holding OFmode values so that gcc works with complex
13583 quad long doubles.
13584 (hard_64bit_mode_classes): Likewise.
13585
13586 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
13587 so that it is actually matched.
13588 (sethi_di_medlow): Likewise.
13589
13590 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
13591 as legitimate constant if -mvis.
13592 * config/sparc/sparc.md (movtf): Likewise.
13593 (clear_sf): Use const_double_operand.
13594 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
13595
13596 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
13597 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
13598 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
13599 routines, _Qp_* cannot be handled like that now.
13600 (INIT_TARGET_OPTABS): Likewise.
13601 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
13602 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
13603 sparc_emit_float_lib_cmp if ARCH64 and soft float.
13604 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
13605 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
13606 divtf3, sqrttf3): New expanders.
13607 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
13608 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
13609 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
13610 non-_hq patterns.
13611
13612 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
13613 * configure: Rebuilt.
13614 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
13615 -mcpu is given and we're doing 64bit compiles.
13616
13617 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
13618
13619 * loop.h (struct induction): Add multi_insn_incr.
13620 * loop.c (basic_induction_var): New multi_insn_incr argument.
13621 Set it if we search back through previous insns for the biv.
13622 (record_biv): New multi_insn_incr argument; fill in struct induction.
13623 (strength_reduce): Discard an iv with multiple bivs, any of
13624 which require multiple insns to increment.
13625
13626 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
13627
13628 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
13629 documentation.
13630
13631 1999-12-06 David S. Miller <davem@redhat.com>
13632
13633 * combine.c (check_promoted_subreg): Do not conditionalize this upon
13634 PROMOTE_FUNCTION_RETURN.
13635
13636 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
13637
13638 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
13639 and handle REG_UNUSED note on insn.
13640
13641 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
13642 inner_mask instead of mask.
13643
13644 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
13645
13646 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
13647 zero if there was an error.
13648
13649 1999-12-06 Jakub Jelinek <jakub@redhat.com>
13650
13651 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
13652 output string.
13653
13654 * longlong.h: Fix clobbers in SPARC asm statements.
13655
13656 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
13657 valid sethi operations when TARGET_ARCH64.
13658
13659 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
13660 always use move_by_pieces to avoid infinite recursion.
13661 (restore_fixed_argument_area): Likewise.
13662
13663 * combine.c (check_promoted_subreg, record_promoted_value): New
13664 functions.
13665 (combine_instructions): Use them to retain nonzero and sign bit
13666 information after SUBREGs are eliminated by optimizations in
13667 this pass if PROMOTE_FUNCTION_RETURN.
13668
13669 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
13670 .register declaration. Don't use variables with __ prefixes.
13671
13672 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13673
13674 * fold-const.c (optimize_bit_field_compare): Only use one mode
13675 for both RHS and LHS in non-constant case.
13676
13677 1999-12-06 Nathan Sidwell <nathan@acm.org>
13678
13679 * frame.c (start_fde_sort): Only allocate erratic array, if
13680 linear one was allocated. Return allocated flag.
13681 (fde_insert): Only insert, if there's a valid array.
13682 (fde_end_sort): Split, sort and merge if linear and erratic
13683 arrays exist, else just sort linear one.
13684 (search_fdes): New function. Linear search through original fde
13685 structure.
13686 (frame_init): Permit multiple initializations. Cope with
13687 memory shortages.
13688 (find_fde): Fallback on linear search, if failed to sort array.
13689 (__deregister_frame_info): Only free sorted array, if we
13690 allocated it.
13691
13692 1999-12-06 Jakub Jelinek <jakub@redhat.com>
13693
13694 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
13695
13696 1999-12-05 Jakub Jelinek <jakub@redhat.com>
13697
13698 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
13699
13700 1999-12-05 Mark Mitchell <mark@codesourcery.com>
13701
13702 * tree.h (special_function_p): Declare.
13703 * calls.c (special_function_p): Make it global. Don't take `name'
13704 as a parameter. Fix typo in 1999-11-28 change.
13705 (expand_cal): Adjust.
13706
13707 1999-12-04 Mark Mitchell <mark@codesourcery.com>
13708
13709 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
13710 * tree.h (EXPR_WFL_FILENAME): Define in terms of
13711 EXPR_WFL_FILENAME_NODE.
13712 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
13713 the TREE_CHAIN.
13714 * print-tree.c (print_note): Print TREE_PRIVATE and
13715 TREE_PROTECTED.
13716
13717 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
13718 the original die cannot be found.
13719
13720 * varray.h (varray_head_tag): Add elements_used.
13721 (VARRAY_PUSH): New macro.
13722 (VARRAY_POP): Likewise.
13723 (VARRAY_TOP): Likewise.
13724 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
13725 types.
13726 * varray.c (varray_init): Initialize elements_used.
13727 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
13728 (INTEGRATE_H): New variable.
13729 (integrate.o): Depend on INTEGRATE_H.
13730 (unroll.o): Likewise.
13731
13732 * function.h (insert_block_after_note): Declare.
13733 * function.c (insert_block_after_note): Split out from ...
13734 (retrofit_block): ... here.
13735
13736 * stmt.c (expand_fixup): Fix typo in comment.
13737
13738 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
13739
13740 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
13741 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
13742 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
13743 (regmove_optimize, fixup_match_1): Likewise.
13744
13745 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13746
13747 * flow.c (flow_loops_dump): Add missing argument when calling
13748 flow_loop_nested_p.
13749
13750 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
13751 Greg McGary <gkm@gnu.org>
13752
13753 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
13754 (init_attributes): Add A_NO_LIMIT_STACK.
13755 (decl_attributes): Handle A_NO_LIMIT_STACK.
13756 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
13757 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
13758 Handle stack bounds checking.
13759 * flags.h (flag_stack_check): Use the word 'probe' rather than
13760 'check', because the flag doesn't actually cause any checking to
13761 be done.
13762 * function.c (expand_function_start): Set
13763 current_function_limit_stack.
13764 * function.h (struct function): Add limit_stack.
13765 (current_function_limit_stack): Define.
13766 * invoke.texi (Code Gen Options): Document new options.
13767 * rtl.h: Declare stack_limit_rtx.
13768 * toplev.c (stack_limit_rtx): New variable.
13769 (decode_f_option): Handle new options -fstack-limit-register=REG,
13770 -fstack-limit-symbol=IDENT, -fno-stack-limit.
13771 (main): Add stack_limit_rtx as GC root.
13772 * tree.h (DECL_NO_LIMIT_STACK): New macro.
13773 (struct tree_decl): New member no_limit_stack.
13774
13775 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
13776 stack_limit_rtx.
13777 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
13778 (conditional_trap+1): Get new mnemonic correct.
13779 (conditional_trap+2): New pattern for DImode traps.
13780
13781 * config/m68k/m68k.c (output_function_prologue): Handle
13782 stack_limit_rtx.
13783 * config/m68k/m68k.md (trap): New insn.
13784 (conditional_trap): New insn.
13785 * md.texi (Standard Names): Document `trap' and
13786 `conditional_trap'.
13787 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
13788 so a cc0 setter doesn't get emitted at some random place in the
13789 function.
13790
13791 * config/i960/i960.md (trap): New insn.
13792 (conditional_trap): New expander.
13793 (conditional_trap+1, conditional_trap+2): New insns for signed
13794 and unsigned cases.
13795 * config/i960/i960.c (i960_function_prologue): Use
13796 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
13797
13798 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
13799 Geoffrey Keating <geoffk@cygnus.com>
13800
13801 * flags.h (warn_padded, warn_packed): Add global var decls.
13802 * toplev.c (warn_padded, warn_packed): Add global var defns.
13803 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
13804 * stor-layout.c (layout_record): Add local variable `type'
13805 to hold often-used TREE_TYPE (field). Add local variable
13806 `unpacked_align' to hold alignment that would be in force
13807 if no `packed' attribute were present. Warn if `packed' attribute
13808 is unnecessary, or even harmful. Warn when gcc inserts padding
13809 to satisfy alignment requirements of members. Use NULL_TREE
13810 when checking whether var_size is set.
13811 * invoke.texi: Document new flags.
13812
13813 1999-12-03 Nathan Sidwell <nathan@acm.org>
13814
13815 * frame.c (fde_split): Reimplement to avoid variable sized array.
13816
13817 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13818
13819 * combine.c (try_combine): Before fixing up LOG_LINKS for the
13820 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
13821
13822 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
13823
13824 * invoke.texi: Document the mips option -mno-crt0
13825
13826 1999-12-02 Mike Karr <mkarr@mathworks.com>
13827
13828 * cccp.c (argdata): Added free_ptr member.
13829 (macroexpand): Initialize free_ptr of each argument. When an
13830 argument's buffers are freed, if the argument's free_ptr corresponds
13831 to a buffer on the input stack, then return the free_ptr to that stack
13832 frame, otherwise, free it.
13833 (macarg): If an argument begins and ends on the same input stack level,
13834 then transfer the free_ptr of that buffer to the argument in case
13835 the stack is popped during the processing of a subsequent argument.
13836
13837 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
13838
13839 * loop.c (note_reg_stored): New function.
13840 (struct note_reg_stored_arg): New structure.
13841 (try_copy_prop): Change to be more conservative; only replace within
13842 one extended basic block and stop replacing if a store to the
13843 replacement reg is seen.
13844
13845 1999-12-02 Nick Clifton <nickc@cygnus.com>
13846
13847 * config/fp-bit.c: Initialise all fields of the NAN
13848 constants.
13849
13850 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
13851 to HANDLE_PRAGMA.
13852
13853 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
13854
13855 * i386.md (extend?f?f2): Force the input into a register, not
13856 the output.
13857
13858 1999-12-01 Jakub Jelinek <jakub@redhat.com>
13859
13860 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
13861 regclass' sake.
13862 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
13863 alternative because setting up 64bit constant is usually costly,
13864 especially when reload is in progress or completed.
13865 (movdf_const_intreg_sp64): Likewise.
13866 (movdf_const_intreg split): Fix building up constants when
13867 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
13868
13869 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
13870
13871 * combine.c (if_then_else_cond): Use const_true_rtx instead of
13872 const1_rtx for return values in EQ/NE comparison against (const_int 0)
13873 case.
13874
13875 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
13876 (asm_file_start): Emit .am33 into assembly file when compiling for
13877 the AM33.
13878 (print_operand_address): Handle POST_INC addresses.
13879 (can_use_return_insn, initial_offset): Check AM33 registers too.
13880 (expand_prologue): Check & save AM33 registers too.
13881 (expand_epilogue): Similarly.
13882 (secondary_reload_class): Handle AM33 specific secondary reloads.
13883 (output_tst): Emit efficient code for the AM33 too.
13884 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
13885 (TARGET_SWITCHES): Add -mam33 switch.
13886 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
13887 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
13888 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
13889 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
13890 (enum reg_class, REG_CLASS_NAMES): Likewise.
13891 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
13892 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
13893 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
13894 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
13895 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
13896 (HAVE_POST_INCREMENT): Define.
13897 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
13898 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
13899 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
13900 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
13901 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
13902 (zero_extend to SI from QI/HI): Likewise.
13903 (sign_extend to SI from QI/HI): Likewise.
13904 (mulsidi3, umulsidi3): New patterns for the AM33.
13905 (tstsi with zero extension from QI/HI): Add AM33 variants.
13906 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
13907 (return_internal_regs, store_movm): Handle new AM33 registers.
13908 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
13909 (LIBGCC, INSTALL_LIBGCC): Likewise.
13910 * invoke.texi: Document new flags.
13911
13912 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
13913
13914 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
13915 (addsi3_carry): Likewise.
13916 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
13917 (sbbsi3_carry): Likewise.
13918 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
13919 (mulhi3): Likewise.
13920 (test?i_1): Ensure that only one operand is memory.
13921 (conditional move patterns): likewise.
13922 (shift and rotate patterns): Rewrite to expander, add
13923 "binary_operator_ok" to the condition.
13924
13925 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
13926 * i386.h (procesor_costs): Add movzbl_load field.
13927 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
13928 non-Q registers, accept DImode registers anywhere.
13929 (Q_CLASS_P): New.
13930 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
13931 * i386.c (*_cost): Set value for movxbl_load field.
13932
13933 * (addsi): New add to lea splitter.
13934 (ashlsi): Likewise.
13935 (lea to add/shift peep2): New.
13936
13937 1999-12-01 Mark Salter <msalter@cygnus.com>
13938
13939 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
13940 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
13941 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
13942
13943 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
13944
13945 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
13946 * i386.md (movsi_xor): New.
13947 (movsi_or): New.
13948 (movsi_1, movhi_1, movqi_1): Remove.
13949 (movsi_2): Rename to movsi_1.
13950 (movhi_2): Rename to movhi_1.
13951 (movqi_2): Rename to movqi_1.
13952 (movdi_1): Remove; remove splitter.
13953 (movdi_2): Rename to movdi_1.
13954 (divmodsi4 splitter): Do not emit clobbers for move patterns.
13955 (long move peep2): Do not create QI or HI mode mov0s
13956 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
13957
13958 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
13959 rewrite splitters.
13960
13961 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
13962 (abs?f2_if): Likewise.
13963
13964 1999-11-30 Alex Samuel <samuel@codesourcery.com>
13965
13966 * ggc.h (ggc_test_and_set_mark): New macro.
13967 (ggc_mark_rtx): Use ggc_test_and_set_mark.
13968 (ggc_mark_tree): Likewise.
13969 (ggc_mark_rtvec): Likewise.
13970 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
13971
13972 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
13973
13974 * dwarf2out.c (scope_die_for): Only handle types. Only search for
13975 containing types.
13976 (decl_scope_table): Just an array of trees now.
13977 (push_decl_scope): Simplify.
13978 (dwarf2out_init): Adjust.
13979 (local_scope_p): New fn.
13980 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
13981 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
13982 (gen_typedef_die): Likewise.
13983 (gen_lexical_block_die): Don't call push/pop_decl_scope.
13984 (gen_inlined_subroutine_die): Likewise.
13985 (gen_abstract_function): Set current_function_decl temporarily.
13986 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
13987 Handle block extern declarations. Don't call push/pop_decl_scope.
13988 (gen_decl_die): Fix logic for block externs.
13989
13990 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13991
13992 * calls.c (special_function_p): Remove `realloc' and add `strdup'
13993 to the list of functions which have attribute malloc by default.
13994
13995 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13996
13997 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
13998 integer constant does not match the traditional type, limit the
13999 warnings to cases where the base of the type is ten.
14000
14001 * invoke.texi (-Wtraditional): Document it.
14002
14003 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14004
14005 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
14006 * rs6000.md: Only access a CONST_INT with INTVAL
14007
14008 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
14009
14010 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
14011 (compute_nearerout): Likewise.
14012 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
14013 size_t to unsigned long for formatting.
14014
14015 1999-11-30 Jakub Jelinek <jakub@redhat.com>
14016
14017 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
14018 Allow the user to override call-used/fixed state of %g2-5
14019 registers from the command line (with the exception of %g4 for
14020 embedded model).
14021 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
14022 there is a higher chance of having a leaf function.
14023 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
14024 for ARCH64 which has %ccr register.
14025 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
14026 patterns.
14027 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
14028 insn accept into delay slot any insn which does not use %[ol]
14029 registers. Accept some LO_SUM and shift left by 1 for the normal
14030 restore case.
14031 (output_function_epilogue): Likewise.
14032 (epilogue_renumber): Added argument which inhibits any renumbering
14033 and just tests if the rtx does not use any %[ol] registers.
14034 (output_return): Reflect above change.
14035
14036 1999-11-30 Jakub Jelinek <jakub@redhat.com>
14037
14038 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
14039 aggregate passing for sizes <= 16 bytes.
14040
14041 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
14042
14043 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
14044 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
14045 * reload.c (find_dummy_reload): Likewise.
14046 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
14047 * reload1.c (reload_as_needed): Likewise.
14048 * stupid.c (stupid_find_reg): Likewise.
14049 * tm.texi (Obsolete Register Macros): Delete section.
14050 * gmicro.h: Remove all traces of the two macros.
14051 * i386.h: Likewise.
14052 * m88k.h: Likewise.
14053 * mips.h: Likewise.
14054
14055 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
14056
14057 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
14058 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
14059 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
14060 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
14061 units for the sparclite86x chip.
14062 (flush): Revert October 14th change; add SImode specifically.
14063 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
14064 * invoke.texi: Document it.
14065
14066 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
14067
14068 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
14069 psimode_truncation_operand.
14070
14071 * config/mn10200/mn10200.c (psimode_truncation_operand): New
14072 function. Return true if the operand is either a MEM valid
14073 for a PSImode address or not a MEM at all.
14074
14075 * config/mn10200/mn10200.md (truncsipsi2): Use
14076 psimode_truncation_operand.
14077
14078 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14079
14080 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
14081 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
14082 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
14083 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
14084 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
14085 (flow_loop_level_compute, low_loops_level_compute): Likewise.
14086 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
14087 * basic-block.h: Protect from multiple inclusion.
14088 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
14089 (struct loops, struct loop): Define structures.
14090 * sbitmap.c (sbitmap_a_subset_b_p): New function.
14091 * sbitmap.h: Protect from multiple inclusion.
14092 (sbitmap_a_subset_b_p): Add prototype.
14093 * Makefile.in (LOOP_H): New macro.
14094 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
14095
14096 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
14097
14098 * cppinit.c (CAT): The argument list of this macro may not contain
14099 spaces !
14100
14101 1999-11-29 David S. Miller <davem@redhat.com>
14102
14103 Move quantity tables and register equivalence chains into
14104 per-qty and per-register structure arrays respectively.
14105 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
14106 qty_const_insn, qty_comparison_code, qty_comparison_const,
14107 qty_comparison_qty): Delete, replace with...
14108 (qty_table): this structure table.
14109 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
14110 (reg_eqv_table): this structure table.
14111 (make_new_qty): Add argument MODE. Caller updated.
14112 Update to use qty_table and reg_eqv_table.
14113 (make_regs_eqv, delete_reg_equiv, insert_regs,
14114 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
14115 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
14116 cse_process_notes, cse_main, cse_basic_block): Likewise.
14117
14118 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14119
14120 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
14121 operation if C is negative.
14122 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
14123 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
14124 law for some divisions if constant is negative and change other
14125 divisions to the opposite rounding.
14126
14127 * expr.c (store_constructor_field): If bit position is not multiple
14128 of alignment of TARGET's mode, use BLKmode.
14129
14130 * expr.c (expand_expr_unaligned): Add more code from full case
14131 that is needed when OP0 is in a register.
14132
14133 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14134
14135 * dwarfout.c (field_byte_offset): Size can be zero if there was
14136 an error.
14137
14138 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
14139
14140 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
14141 (associate_trees): Delete unused var TEM.
14142 (extract_muldiv): Delete unused var CANCEL_P.
14143
14144 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
14145 (target_isinf, target_isnan, target_negative): Add return types to
14146 function definitions.
14147
14148 1999-11-29 Bruce Korb <autogen@linuxbox.com>
14149
14150 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
14151 * fixinc/hackshell.tpl: ditto
14152 * fixinc/fixtests.c(double_slash_test): more C++ header testing
14153 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
14154
14155 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
14156
14157 * reload.c (push_reload): When looking for a register to put into
14158 reg_rtx, make sure all hard regs in a multi-reg register are in the
14159 right class and nonfixed.
14160
14161 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
14162 pending_read_insns, pending_write_insns, pending_read_mems,
14163 pending_write_mems, pending_list_length, last_pending_memory_flush,
14164 last_function_call, sched_before_next_call): Move static variables
14165 into a structure.
14166 (bb_ prefixed versions): Replace with single array bb_deps.
14167 (struct deps): New structure.
14168 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
14169 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
14170 argument of type "struct deps *"; use that instead of global
14171 variables. All callers changed.
14172 (init_rgn_data_dependencies): Delete function.
14173 (init_rtx_vector): Delete function.
14174 (init_deps): New function.
14175
14176 (free_pending_lists): Simplify, we always use the bb_deps array even
14177 if only one basic block.
14178 (compute_block_backward_dependences): Likewise.
14179 (schedule_region): Likewise.
14180
14181 (propagate_deps): New function, broken out of
14182 compute_block_backward_dependences.
14183 (compute_block_backward_dependences): Use it.
14184
14185 * alpha.md: Delete useless patterns that tried to work around
14186 register elimination problems.
14187
14188 * unroll.c (loop_iterations): Don't abort if iteration variable
14189 was made by loop.
14190
14191 From Joern Rennecke:
14192 * reload1.c (reloads_conflict): Reverse test comparing operand
14193 numbers when testing for conflict between output/outaddr reloads.
14194
14195 1999-11-29 David S. Miller <davem@redhat.com>
14196
14197 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
14198 arg.
14199 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
14200
14201 1999-11-28 Robert Lipe <robertl@cygnus.com>
14202
14203 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
14204 table from .fini into .dtor.
14205
14206 1999-11-28 Anthony Green <green@cygnus.com>
14207
14208 * tree.h (struct tree_decl): Add malloc_flag.
14209 (DECL_IS_MALLOC): Define.
14210 * c-common.c (attrs): Add A_MALLOC attribute.
14211 (init_attributes): Add this attribute to the table.
14212 (decl_attributes): Handle malloc attribute.
14213 * calls.c (special_function_p): Check for the malloc attribute.
14214 * extend.texi (Function Attributes): Document malloc attribute.
14215
14216 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
14217
14218 * pa.md (reload shift-add patterns): Remove.
14219
14220 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14221
14222 * reorg.c (dbr_schedule) Print more statistics. Corrected
14223 problem when printing info when 3 delay slots are filled.
14224
14225 1999-11-28 Jakub Jelinek <jakub@redhat.com>
14226
14227 * combine.c (setup_incoming_promotions): Pass an outgoing
14228 regno to FUNCTION_ARG_REGNO_P which it expects.
14229
14230 1999-11-28 Andreas Jaeger <aj@suse.de>
14231
14232 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
14233
14234 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
14235
14236 * cccp.c (do_include): Avoid initialization of automatic variable.
14237
14238 * integrate.c (mark_stores): Function definition made void, to match
14239 previous declaration.
14240 * regclass.c (dump_regclass): Ditto.
14241 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
14242
14243 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14244
14245 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
14246 known to be multiple of divisor.
14247
14248 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
14249
14250 * combine.c (try_combine): Add code to try to merge a set of a
14251 two-word pseudo to a constant with a setting of one of those words
14252 to a constant.
14253
14254 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
14255 (split_tree): Completely rework to make more general.
14256 (make_range, fold): Call negate_expr.
14257 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
14258 (fold, associate): Call new split_tree and associate_trees.
14259 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
14260
14261 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
14262
14263 * loop.c (try_copy_prop): Avoid GNU C extension.
14264
14265 1999-11-25 Mark Mitchell <mark@codesourcery.com>
14266
14267 * except.c (init_eh_for_function): Still zero eh_return_context,
14268 eh_return_stack_adjust, and eh_return_handler.
14269
14270 * except.h (eh_status): Adjust documentation for x_protect_list.
14271 (begin_protect_partials): New function.
14272 * except.c (enqueue_eh_entry): Fix formatting.
14273 (get_first_handler): Add consistency check.
14274 (add_partial_entry): Adjust usage of protect_list.
14275 (emit_cleanup_handler): Save and restore ehqueue.
14276 (expand_start_all_catch): Add comment.
14277 (begin_protect_partials): New function.
14278 (end_protect_partials): Adjust usage of protect_list.
14279 (init_eh_for_function): Use xcalloc.
14280
14281 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14282
14283 * c-common.c (check_format_info): Don't call a variadic function
14284 with a non-literal format string.
14285
14286 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
14287
14288 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
14289 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
14290 Likewise.
14291
14292 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
14293 Likewise.
14294
14295 * collect2.c (collect_wait): Likewise.
14296
14297 * dbxout.c (dbxout_type): Likewise.
14298
14299 * gcc.c (do_spec_1): Likewise.
14300
14301 * genemit.c (gen_insn, gen_expand): Likewise.
14302
14303 * genrecog.c (write_switch, write_subroutine): Likewise.
14304
14305 * mips-tfile.c (catch_signal, botch): Likewise.
14306
14307 * print-rtl.c (print_rtx): Likewise.
14308
14309 * toplev.c (default_print_error_function, report_error_function,
14310 _fatal_insn): Likewise.
14311
14312 1999-11-25 Mark Mitchell <mark@codesourcery.com>
14313
14314 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
14315
14316 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14317
14318 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
14319 operations when needed.
14320 * i386.md (fop_?f_comm): New.
14321 (fop_?f_1): Do not accept commutative operands.
14322
14323 1999-11-25 Andreas Jaeger <aj@suse.de>
14324
14325 * config/mips/mips.md (casesi_internal): Add missing brace.
14326
14327 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
14328
14329 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
14330 (splice_child_die): Handle moving a child DIE from the declaration
14331 DIE of a class to its specification.
14332 (gen_struct_or_union_type_die): Use 'complete' consistently.
14333 (gen_decl_die): Generate the virtual context DIE first.
14334 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
14335
14336 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
14337
14338 * config/mips/mips.md (call_value_multiple_interanal1): New.
14339
14340 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
14341
14342 * dwarf2out.c (free_AT, free_die): New fns.
14343 (remove_children): Call them.
14344 (output_line_info): Disable removal of duplicate notes.
14345
14346 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
14347 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
14348 means pretend the type isn't defined.
14349 Don't defer emitting types.
14350 (gen_type_die_for_member): New fn.
14351 (gen_decl_die): Call it.
14352 (splice_child_die): New fn.
14353 (gen_member_die): Call it rather than generate duplicate dies.
14354
14355 Defer emitting information for the abstract instance of an inline
14356 until we either inline it or emit an out-of-line copy.
14357 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
14358 from output_inline_function if DECL_ABSTRACT is also set.
14359 (block_ultimate_origin): Likewise.
14360 (gen_abstract_function): New fn.
14361 (gen_decl_die, gen_inlined_subroutine_die): Call it.
14362 (gen_subprogram_die): An abstract instance is not a declaration
14363 just because it doesn't match current_function_decl. Don't abort
14364 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
14365 has an abstract origin.
14366 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
14367 abstract instance here.
14368
14369 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
14370
14371 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
14372 where we need to reload fpul from a system register.
14373
14374 1999-11-24 Andreas Jaeger <aj@suse.de>
14375
14376 * config/mips/linux.h (CPP_PREDEFINES): Added.
14377 (LINK_SPEC): Remove -Y since this is only needed on sparc.
14378
14379 1999-11-24 Andreas Jaeger <aj@suse.de>
14380
14381 * config/mips/linux.h (TARGET_VERSION): Added.
14382 (HANDLE_SYSV_PRAGMA): Added.
14383 (DEFAULT_VTABLE_THUNKS): Added.
14384
14385 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14386
14387 * local-alloc.c (qty): New structure and static variable.
14388 (qty_phys_reg): Remove, all references changed to qty.
14389 (qty_n_refs): Likewise.
14390 (qty_min_class): Likewise.
14391 (qty_birth): Likewise.
14392 (qty_death): Likewise.
14393 (qty_size): Likewise.
14394 (qty_mode): Likewise.
14395 (qty_n_calls_crossed): Likewise.
14396 (qty_alternate_class): Likewise.
14397 (qty_changes_size): Likewise.
14398 (qty_first_reg): Likewise.
14399 (alloc_qty): Rename variable QTY to QTYNO.
14400 (finf_free_reg): Likewise.
14401 (local_alloc): Allocate qty, do not allocate the removed variables.
14402
14403 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
14404
14405 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
14406 when -membedded-pic is passed.
14407
14408 * config/mips/mips.md (casesi): Handle 64-bit case too.
14409 (casesi_internal_di): New insn.
14410
14411 * config/mips/mips.c (embedded_pic_offset): Always make the
14412 embedded-pic subtractions relative to the name of the current
14413 function by use of the magic string "..CURRENT_FUNCTION".
14414 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
14415
14416 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
14417
14418 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
14419 of (const_int 0), when what we really care about is
14420 whether it's a zero constant anyway.
14421 (div_trap_mips16): Likewise.
14422
14423 1999-11-23 Mark Mitchell <mark@codesourcery.com>
14424
14425 * loop.c (loop_optimize): Always find_loop_tree_blocks and
14426 unroll_block_trees when generating debuggable code.
14427
14428 * tree.h (unsave_expr_1): New function.
14429 (lang_unsave): New variable.
14430 (get_callee_fndecl): New function.
14431 * tree.c (unsave_expr_now_r): New function.
14432 (lang_unsave): Define.
14433 (unsave_expr_1): Likewise.
14434 (unsave_expr_now_r): Split out from unsave_expr_now.
14435 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
14436 call unsave_expr_now_r.
14437 (get_callee_fndecl): Define.
14438
14439 * Makefile.in (gencheck): Don't depend on lang_tree_files.
14440 (gencheck.o): Do depend on lang_tree_files.
14441
14442 * integrate.h (copy_decl_for_inlining): New declaration.
14443 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
14444 (copy_decl_for_inlining): New function.
14445 (integrate_parm_decls): Use it.
14446 (integrate_decl_tree): Likewise.
14447
14448 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
14449
14450 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
14451 the second two from the first.
14452 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
14453 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
14454 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
14455 ISA_HAS_FP4.
14456 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
14457 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
14458 ISA_HAS_FP4.
14459
14460 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
14461
14462 * pa.md (call_internal_symref, call_value_internal_symref): No mode
14463 needed on the address operand.
14464 * pa.c (call_operand_address): Check for the correct mode.
14465
14466 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
14467
14468 * loop.c: Include "basic-block.h".
14469 (try_copy_prop, replace_loop_reg): New functions.
14470 (load_mems): Detect registers that just hold copies of the hoisted
14471 mem, and call try_copy_prop to eliminate them.
14472 * Makefile.in (loop.o): Update dependencies.
14473
14474 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
14475
14476 * Makefile.in (gencheck.o): Depend on gencheck.h.
14477 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
14478 (insn-peep.o): Depend on except.h and function.h.
14479 (insn-attrtab.o): Depend on RECOG_H.
14480 (insn-output.o): Depend on toplev.h and flags.h.
14481 (gengenrtl.o): Depend on real.h.
14482 (gen-protos.o): Depend on cpplib.h and cpphash.h.
14483 Unify all dependencies to be on RECOG_H rather than recog.h.
14484
14485 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14486
14487 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
14488 * configure.in: Try building a bi-arch 32/64-bit compiler on
14489 sparc-*-solaris2.7 and higher.
14490 * configure: Rebuild.
14491
14492 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
14493
14494 * config/freebsd.h: New, FreeBSD architecture independent file.
14495 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
14496 independent pieces.
14497 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
14498 directly by i386/freebsd.h.
14499 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
14500 independent configuration file.
14501 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
14502 directly by i386/freebsd.h.
14503 * configure: Rebuilt.
14504
14505 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
14506 which is in the user's namespace.
14507 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
14508 `i386' which is not in our namespace.
14509
14510 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
14511
14512 * invoke.texi (ARM Options): Add in -mno-alignment-traps
14513
14514 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
14515
14516 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
14517 (add_dwarf_attr, add_child_die): Just push onto the front.
14518 (reverse_die_lists): New fn.
14519 (add_sibling_attributes): Use it.
14520 (push_decl_scope): Reorganize.
14521 (add_name_and_src_coords_attributes): Don't set file and line for
14522 an artificial decl.
14523 (gen_subprogram_die): An artificial function doesn't need to match
14524 file and line.
14525 (gen_compile_unit_die): Return the generated die. Only add
14526 AT_comp_dir if the filename is relative.
14527 (remove_AT): Simplify loop. Also free string values.
14528 (output_die): A DIE ref can't be null.
14529 (output_value_format, value_format): Take a dw_attr_ref.
14530 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
14531 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
14532 AT_addr, AT_lbl): New fns.
14533 (various): Use them.
14534 (various): Constify.
14535
14536 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14537
14538 * combine.c (combine_simplify_rtx): When handling a SUBREG,
14539 take SUBREG_WORD into account.
14540 (if_then_else_cond): Likewise.
14541
14542 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
14543
14544 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
14545 clause from BSD license, pursuant with
14546
14547 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
14548
14549 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
14550
14551 * loop.c (load_mems): Reformat slightly.
14552 * basic-block.h (regset_head): New typedef.
14553 (INIT_REG_SET): New macro.
14554
14555 1999-11-22 Bruce Korb <autogen@linuxbox.com
14556
14557 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
14558 (mips-dec-bsd*): non-functional code
14559 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
14560
14561 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
14562 added three replacement fixes
14563 (no_double_slash): removed comments that are not (any longer) pertinent
14564 (bad_lval): this fix currently runs against many files.
14565 The comment seems to indicate that we should select for files
14566 containing 'pragma extern_prefix'.
14567
14568 * fixinc/fixinc.x86-linux-gnu: deleted
14569 * fixinc/inclhack.sh: regen
14570 * fixinc/fixincl.x: regen
14571 * fixinc/fixincl.sh: regen
14572
14573 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
14574
14575 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
14576 its code is INSN and it has no notes.
14577
14578 1999-11-22 Andrew Haley <aph@cygnus.com>
14579
14580 * varasm.c (function_defined): Remove.
14581 (make_function_rtl): Don't set function_defined.
14582 (make_decl_rtl): Remove global register warning.
14583 * regclass.c (no_global_reg_vars): New variable.
14584 (globalize_reg): Warn if function has already been defined.
14585 (regclass_init): Set no_global_reg_vars.
14586
14587 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14588
14589 * regclass.c (reg_pref): New structure and static variable
14590 (prefclass): Delete.
14591 (altclass): Delete.
14592 (all uses of prefclass and altclass): Use reg_pref instead.
14593
14594 1999-11-21 Nick Clifton <nickc@cygnus.com>
14595
14596 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
14597 -malignment-traps.
14598 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
14599 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
14600 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
14601
14602 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
14603
14604 * varasm.c (output_constructor): Solve problem with long long
14605 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
14606
14607 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
14608
14609 * global.c (allocno): New structure and static variable.
14610 (allocno_reg): Remove, all references replaced by allocno.
14611 (allocno_size): Likewise.
14612 (hard_reg_conflicts): Likewise.
14613 (hard_reg_preferences): Likewise.
14614 (hard_reg_copy_preferences): Likewise.
14615 (hard_reg_full_preferences): Likewise.
14616 (regs_someone_prefers): Likewise.
14617 (allocno_calls_crossed): Likewise.
14618 (allocno_n_refs): Likewise.
14619 (allocno_live_length): Likewise.
14620 (find_reg): Rename ALLOCNO to NUM.
14621
14622 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
14623 references updated.
14624 (may_move_out_cost): New variable.
14625 (init_reg_sets_1): Initialize may_move_out_cost.
14626 (record_reg_classes): Use may_move_out_cost.
14627
14628 * regclass.c (dump_regclass): New function.
14629 (regclass): New parameter DUMP, call DUMP_REGCLASS.
14630 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
14631 pass rtl_dump_file to regclass.
14632 * rtl.h (regclass): Update prototype.
14633
14634 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
14635
14636 * i386.md (neg, not and abs patterns): Revmap to use
14637 ix86_expand_unary_operator and ix86_unary_operator_ok.
14638 (add?f and sub?f expanders): Force operand 1 to register.
14639 * i386.c (ix86_expand_unary_operator): Rewrite.
14640 (ix86_unary_operator_ok): Ensure that memory operands
14641 match real opcode.
14642 (ix86_binary_operator_ok): Do not allow operand 1 to
14643 come into memory and operand 0 not.
14644 (ix86_expand_binary_operator): Ensure that
14645 src1 is not non-matching memory.
14646
14647 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
14648 to support integer registers and memory.
14649 (abss?2_integer): Likewise.
14650
14651 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
14652 (REG_CLASS_NAMES): Likewise.
14653 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
14654 and GENERAL_REGS.
14655 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
14656 (movsf): Likewise; unify 4th and 5th alternative.
14657 (pushdf): Likewise.
14658 (movdf_1): Likewise; rename to movdf_integer.
14659 (pushxf): Likewise; rename to pushxf_integer; fix output template;
14660 remove redundant splitter.
14661 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
14662 (movdf_nointeger): New.
14663 (movxf_nointeger): New.
14664 (pushxf_nointeger): New.
14665
14666 * i386.md (extend?f?f): Split to expander and pattern, refuse two
14667 memory operands in patterns.
14668 (fop*): Refuse two memory operands.
14669
14670 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
14671 on !TARGET_USE_CLTD CPUs.
14672
14673 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
14674
14675 * extend.texi: Document C++ restricted pointers and references.
14676
14677 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
14678
14679 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
14680 (invalidate_skipped_set): Call it unconditionally.
14681 (cse_set_around_loop): Likewise.
14682
14683 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
14684
14685 * rtl.texi (mem): Add documentation for alias-set argument
14686 to RTX `mem'.
14687
14688 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
14689
14690 * i386.h (struct_processor_costs): New fields int_load, int_store,
14691 fp_move, fp_load and fp_store
14692 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
14693 fp->int moves
14694 (MEMORY_MOVE_COST): New macro.
14695 * i386.c (386_cost): Define new fields.
14696 (i486_cost): Likewise.
14697 (pentium_cost): Likewise.
14698 (pentiumpro_cost): Likewise.
14699 (k6_cost): Likewise.
14700
14701 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
14702 Geoffrey Keating <geoffk@cygnus.com>
14703
14704 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
14705
14706 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
14707 MASK_ALIGN_INT.
14708
14709 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
14710 (TARGET_STRICT_ALIGNMENT): New macro.
14711 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
14712 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
14713 * invoke.texi (M680x0 Options): Document -mstrict-align.
14714
14715 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
14716 Richard Henderson <rth@cygnus.com>
14717
14718 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
14719 (ix86_split_long_move): Declare.
14720 * i386.c (split_xf, ix86_split_movdi): Remove.
14721 (ix86_split_to_parts, ix86_split_long_move): New.
14722 * i386.md (dimode move splitters): Use ix86_split_long_move.
14723 (dfmode move splitters): Likewise.
14724 (xfmode move splitters): Likewise.
14725 (movsf_1): Allow F->r.
14726 (movdf_1, movxf_1): Allow F->ro.
14727
14728 1999-11-17 Mark Mitchell <mark@codesourcery.com>
14729
14730 * except.h (struct eh_entry): Add goto_entry_p.
14731 (eh_region_from_symbol): Remove prototype.
14732 * except.c (find_func_region_from_symbol): New function.
14733 (emit_cleanup_handler): Likewise.
14734 (eh_region_from_symbol): Make it static.
14735 (add_new_handler): Verify the argument.
14736 (find_func_region): Update comment.
14737 (expand_eh_region_end): Expand handlers here, rater than waiting
14738 until expand_leftover_cleanups or start_all_catch.
14739 (expand_leftover_cleanups): Don't expand here.
14740 (expand_start_all_catch): Or here.
14741 (expand_rethrow): Check the return value from find_func_region.
14742 * function.c (expand_function_end): Emit the catch_clauses.
14743
14744 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
14745
14746 * integrate.c (expand_inline_function): Add necessary check for NULL.
14747
14748 1999-11-18 Nick Clifton <nickc@cygnus.com>
14749
14750 * toplev.c (main): Correctly detect an unrecognised option.
14751
14752 * cppinit.c (cpp_handle_option): Do not claim to have consumed
14753 a -f option if it has not been recognised.
14754
14755 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
14756
14757 * basic-block.h (update_life_extent): Remove trailing comma on
14758 enumeration type list.
14759
14760 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14761
14762 * varasm.c (output_constructor) Solved problem with long long
14763 bitfields. Corrected calculating this_time and shift. Also
14764 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
14765
14766 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
14767
14768 * flow.c (split_edge): Take looping structure into account when
14769 determining where to put the new block note.
14770
14771 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
14772
14773 * Makefile.in (ggc-none.o): Provide host specific version if
14774 needed.
14775
14776 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
14777
14778 * cse.c (delete_trivially_dead_insns): Identify no-op insns
14779 containing subregs too.
14780
14781 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
14782
14783 * invoke.texi: Add documentation for -muninit-const-in-rodata.
14784 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
14785 (TARGET_UNINIT_CONST_IN_RODATA): Define.
14786 (text_section): Add switches -munint-const-in-rodata and
14787 -mno-uninit-const-in-rodata.
14788 (ASM_OUTPUT_COMMON): Remove.
14789 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
14790 const objects should be placed in read-only data. Otherwise declare
14791 them in common.
14792
14793 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
14794
14795 * jump.c (jump_optimize_1): Revert last change.
14796
14797 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
14798
14799 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
14800 test if optimizing for size.
14801
14802 1999-11-17 Mark Mitchell <mark@codesourcery.com>
14803
14804 * Makefile.in (toplev.o): Depend on except.h.
14805 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
14806
14807 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
14808
14809 * i386.md (divmodsi4): Rewrite to expander.
14810 (*divmodsi4_nocltd): New.
14811 (*divmodsi4_cltd): New.
14812 (divmodsi4 splitter): Handle the case when input comes in edx.
14813 (udivmodhi4): Do not use constraints in exander.
14814 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
14815
14816 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
14817
14818 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
14819 for the common case.
14820
14821 1999-11-16 Jakub Jelinek <jakub@redhat.com>
14822
14823 * explow.c (hard_function_value): Add outgoing argument.
14824 * expr.h (hard_function_value): Declare it.
14825 * calls.c (expand_call, emit_library_call_value): Update callers.
14826 * function.c (aggregate_value_p): Ditto.
14827 (diddle_return_value): Must look at the outgoing registers
14828 on archs with register windows.
14829
14830 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
14831
14832 * alpha.c (alpha_build_va_list): Use make_lang_type and
14833 initialize TYPE_NAME for the va_list record.
14834
14835 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
14836
14837 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
14838 for printing.
14839 * ggc.h (struct ggc_statistics): Rearrange elements for better
14840 packing on 64-bit hosts.
14841 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
14842 (compute_nearerout): Likewise.
14843
14844 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
14845
14846 * config/rs6000/rs6000.c (first_reg_to_save): Save
14847 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
14848
14849 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
14850
14851 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
14852 notion of nesting to find the DIE for a type or function.
14853 DIEs can go in limbo even if we got a context_die.
14854 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
14855 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
14856 for local type.
14857 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
14858 (gen_type_die): Writing out the context doesn't cause member class
14859 template instantiations to be written out as well.
14860
14861 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
14862
14863 * rs6000.h (ASM_OUTPUT_DEF): New.
14864 Based on proposed addition from David Edelsohn.
14865
14866 1999-11-15 Robert Lipe <RobertLipe@usa.net>
14867 Bruce Korb <autogen@linuxbox.com>
14868
14869 * fixinc/inclhack.def
14870 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
14871 (unixware7_byteorder_fix): added. Removes conflicts for new defs
14872 in net/inet.h.
14873 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
14874 (svr4_endian): enabled with SVR5
14875 (svr4_mkdev): simplified syntax and enabled with SVR5
14876
14877 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
14878
14879 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
14880 * configure: Rebuilt.
14881 * config/t-freebsd-thread: New file.
14882
14883 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
14884
14885 * i386.c (ix86_decompose_address): Verify the base is a REG
14886 before trying to examine its register number.
14887
14888 * basic-block.h: Remove all #defines and prototypes related to
14889 integer lists.
14890 (free_bb_mem, compute_preds_succs): Remove prototype.
14891 * rtl.h (free_bb_mem): Remove prototype.
14892 * flow.c (alloc_int_list_node); Remove function.
14893 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
14894 (compute_preds_succs, free_bb_mem): Likewise.
14895 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
14896 * toplev.c (rest_of_compilation): Likewise.
14897 * haifa-sched.c (build_control_flow): Use flow generated edge
14898 list to build the haifa specific edge list.
14899 (find_rgns): Use new CFG data structures instead of pred/succ lists.
14900 (schedule_insns): Do not build pred/succ lists anymore. Instead
14901 build the edge table.
14902
14903 * basic-block.h (dump_bb_data): Remove declaration.
14904 * flow.c (dump_bb_data): Remove function.
14905 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
14906 (sbitmap_union_of_predsucc): Likewise.
14907
14908 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
14909 argument. All callers changed.
14910 (delete_null_pointer_checks_1): No longer need to compute the
14911 pred/succ lists.
14912
14913 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
14914 All callers changed.
14915 (pre_expr_reaches_here_p_work): Likewise.
14916 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
14917 * lcm.c (compute_laterin): Fix initialization of LATER.
14918 (compute_nearerout): Similarly for NEARER.
14919
14920 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14921
14922 * cse.c (set_nonvarying_address_components): Delete unused function.
14923 (refers_to_p): Likewise.
14924
14925 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
14926
14927 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
14928 needed.
14929
14930 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14931
14932 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
14933 definition in do while (0).
14934
14935 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
14936
14937 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
14938
14939 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
14940
14941 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
14942
14943 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
14944
14945 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
14946 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
14947 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
14948 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
14949
14950 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
14951 saved on the stack. Output more accurate stack frame statistics
14952 into assembler file.
14953
14954 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
14955
14956 * genextract.c (record_insn_name): New function.
14957 (get_insn_name): No longer a stub.
14958 (main): Call record_insn_name for each insn. After each label
14959 written, print the insn name in a comment.
14960
14961 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14962
14963 * output.h (const_section, init_section, fini_section): Add
14964 prototypes.
14965
14966 * alpha/elf.h (const_section): Delete declaration.
14967
14968 * svr4.h (const_section): Likewise.
14969
14970 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
14971
14972 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
14973 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
14974 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
14975 expressions.
14976 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
14977 variable-sized array bounds.
14978
14979 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
14980
14981 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
14982 ASM_OUTPUT_LABEL.
14983
14984 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14985
14986 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
14987 addresses the same way GO_IF_LEGITIMATE_INDEX does.
14988
14989 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14990
14991 * cse.c (hash_arg_in_struct): Delete.
14992 (struct table_elt): Delete elt in_struct.
14993 (struct set): Delete elt src_in_struct.
14994 (merge_equiv_classes): Don't set either hash_arg_in_struct or
14995 the corresponding in_struct elts.
14996 (canon_hash): Likewise.
14997 (safe_hash): Likewise.
14998 (find_best_addr): Likewise.
14999 (record_jump_cond): Likewise.
15000 (cse_insn): Likewise.
15001
15002 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
15003
15004 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
15005
15006 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
15007 unsigned types.
15008
15009 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
15010
15011 * function.c (diddle_return_value): Put back check that the DECL_RTL
15012 for the function is a register.
15013
15014 * function.c (diddle_return_value): Use hard_function_value to
15015 get an rtx suitable for use in the USE/CLOBBER insn.
15016
15017 * global.c (global_conflicts): Update comments.
15018 (record_conflicts): No need to record conflicts between pseudos here.
15019
15020 1999-11-11 Bruce Korb <autogen@linuxbox.com>
15021
15022 * fixinc/fixincl.c: Added verbose levels for status messages
15023
15024 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15025
15026 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
15027 operand as argument to expand_and or expand_binop.
15028
15029 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
15030
15031 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
15032 gcc_add_string_root.
15033
15034 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
15035
15036 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
15037
15038 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
15039
15040 * flow.c (compute_flow_dominators): Initially put all blocks on
15041 the worklist.
15042 * lcm.c (compute_antinout_edge, compute_available): Similarly.
15043 * gcse.c (compute_cprop_avinout): Remove.
15044 (compute_cprop_data): Use compute_available.
15045 (delete_null_pointer_checks_1): Use compute_available.
15046
15047 * basic-block.h (compute_available): Returns a void now.
15048 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
15049 to return a value anymore.
15050 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
15051 worklists. Fix boundary cases. Compute maximal solutions.
15052 (compute_laterin, compute_nearerout): Similarly.
15053
15054 * dwarf2out.c (add_AT_location_description): Allow
15055 (mem (plus (pseudo) (...)) too.
15056
15057 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
15058
15059 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
15060
15061 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
15062 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15063
15064 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
15065
15066 * gansidecl.h: Likewise.
15067
15068 * rtl.c: Likewise.
15069
15070 * rtl.h: Likewise.
15071
15072 * toplev.h: Likewise.
15073
15074 * tree.c: Likewise.
15075
15076 * tree.h: Likewise.
15077
15078 * varray.c: Likewise.
15079
15080 * varray.h: Likewise.
15081
15082 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
15083
15084 * gcov.c (struct arcdata): Add hits and total, remove prob.
15085 (output_branch_counts): New.
15086 (process_args): Set output_branch_counts if -c.
15087 (calculate_branch_probs): Store hits and total instead of
15088 percentage.
15089 (output_data): Emit counts if output_branch_counts is true.
15090 * gcov.texi (Invoking Gcov): Document -c switch..
15091
15092 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
15093
15094 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
15095 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
15096
15097 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
15098
15099 * invoke.texi (C Dialect Options): Add missing builtins from
15100 c-common.c to list.
15101 * extend.texi (Other Builtins): Copy to this list.
15102
15103 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15104
15105 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
15106 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
15107 redundant bitmap.h.
15108
15109 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
15110
15111 * flow.c (compute_flow_dominators): No longer treat basic block 0
15112 or (n_basic_blocks - 1) specially. Clear the AUX field before
15113 starting computation of doms/pdoms. Fix initial state for pdoms.
15114
15115 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15116
15117 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
15118 match rtl.o's: added ggc.h and toplev.h
15119 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
15120 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
15121 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
15122
15123 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
15124
15125 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
15126 from HAVE_DOS_BASED_FILESYSTEM.
15127 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
15128 HAVE_DOS_BASED_FILESYSTEM.
15129 (main): Likewise.
15130 (split_directories): Only special-case DOS file names if
15131 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
15132 instead of explicit tests. Conditionalize on !VMS.
15133 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
15134 tests. Conditionalize on !VMS.
15135 (process_command): Only use make_relative_prefix if !VMS.
15136 (free_split_directories): Conditionalize on !VMS.
15137 (DIR_UP): Conditionalize on !VMS.
15138
15139 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
15140
15141 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
15142
15143 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
15144
15145 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
15146 case.
15147
15148 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
15149
15150 * invoke.texi (Environment Variables): Document relative path
15151 lookup.
15152 * gcc.c (DIR_UP): If not defined, define as "..".
15153 (standard_bindir_prefix): New static, holds target location to
15154 install binaries.
15155 (split_directories): New function to split a filename into
15156 component directories.
15157 (free_split_directories): New function, release memory allocated
15158 by split_directories.
15159 (make_relative_prefix): New function, make a relative pathname if
15160 the compiler is not in the expected location.
15161 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
15162 can figure out an appropriate prefix from argv[0].
15163 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
15164 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
15165 STANDARD_BINDIR_PREFIX.
15166
15167 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15168
15169 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
15170 in c4x.c.
15171 * config/c4x/c4x.h: Moved prototypes to c4x.h.
15172 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
15173 c4x_secondary_memory_needed) Delete.
15174 (fp_zero_operand): Add mode argument.
15175
15176 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
15177
15178 * reload1.c (reload_reg_free_for_value_p): Don't use a register
15179 that is in reload_reg_used.
15180
15181 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
15182
15183 * config/arm/arm-protos.h: New file: Prototypes for functions
15184 defined in arm.c and pe.c.
15185 * config/arm/arm.h: Fix compile time warnings.
15186 * config/arm/arm.c: Fix compile time warnings.
15187 * config/arm/pe.h: Fix compile time warnings.
15188 * config/arm/aout.h: Fix compile time warnings.
15189
15190 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
15191
15192 * config/m32r/m32r-protos.h: New file: Prototypes for functions
15193 defined in m32r.c
15194
15195 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
15196 Add support for subtargets.
15197 Add prototypes for new predicates.
15198 Add scheduling macros.
15199
15200 * config/m32r/m32r.c: Fix compile time warnings.
15201 (int8_operand): New predicate function.
15202 (reg_or_cmp_int16_operand): New predicate function.
15203 (extend_operand): New predicate function.
15204 (m32r_adjust_code): New scheduling function.
15205 (m32r_adjust_priorty): New scheduling function.
15206 (m32r_sched_init): New scheduling function.
15207 (m32r_sched_reorder): New scheduling function.
15208 (m32r_sched_variable_issue): New scheduling function.
15209 (direct_return): New codegen function.
15210 (m32r_not_same_reg): New rtl testsing function.
15211
15212 * config/m32r/m32r.md: Fix compile time warnings.
15213 Add support for pre decrement and post increment memory
15214 references.
15215 Add S<cc> patterns.
15216 Add fabs patterns.
15217
15218 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15219
15220 * global.c (EXECUTE_IF_CONFLICT): Don't define.
15221 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
15222 (find_reg): Likewise.
15223
15224 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
15225
15226 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
15227 to avoid assembler errors.
15228
15229 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
15230
15231 * config/v850/v850-protos.h: New file: Prototypes for functions
15232 defined in v850.c
15233 * config/v850/v850.h: Move prototypes to v850-protos.h
15234 * config/v850/v850.c: Move prototypes to v850-protos.h
15235 * config/v850/v850.md: Fix compile time warnings.
15236
15237 * config/fr30/fr30-protos.h: New file: Prototypes for functions
15238 defined in fr30.c
15239 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
15240 * config/fr30/fr30.c: Fix compile time warnings.
15241 * config/fr30/fr30.md: Fix compile time warnings.
15242
15243 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
15244
15245 * tree.h (get_containing_scope): Declare it.
15246 * tree.c (get_containing_scope): New fucntion.
15247 (decl_function_context): Use it.
15248 * toplev.c (rest_of_compilation): Use get_containing_scope.
15249
15250 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15251
15252 * Makefile.in (rtl.o): Depend on toplev.h.
15253
15254 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
15255
15256 * cse.c (delete_trivially_dead_insns): Replace alloca with
15257 xmalloc/xcalloc.
15258 * except.c (update_rethrow_references): Likewise.
15259 (init_eh_nesting_info): Likewise.
15260 * function.c (identify_blocks): Likewise.
15261 * gcse.c (dump_hash_table): Likewise.
15262 * graph.c (print_rtl_graph_with_bb): Likewise.
15263 * loop.c (combine_movables): Likewise.
15264 (move_movables): Likewise.
15265 (count_loop_regs_set): Likewise.
15266 (strength_reduce): Likewise.
15267 * profile.c (compute_branch_probabilities): New function, split
15268 out from ...
15269 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
15270 * regclass.c (regclass): Likewise.
15271 * regmove.c (regmove_optimize): Likewise.
15272 * toplev.c (compile_file): Likewise.
15273 (main): Don't mess with the stack rlimit.
15274
15275 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
15276
15277 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
15278 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
15279
15280 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
15281
15282 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
15283
15284 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
15285
15286 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
15287 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
15288 macro expansion.
15289
15290 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
15291
15292 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
15293
15294 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
15295
15296 * gcse.c (post_dominators): Kill.
15297 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
15298 (compute_code_hoist_data): Use compute_flow_dominators. Do not
15299 pass in a pdom array since we do not need pdoms.
15300 * haifa-sched.c (schedule_insns): Similarly.
15301 * flow.c (compute_dominators): Remove dead function.
15302 (compute_flow_dominators): Do not compute doms or pdoms if the
15303 caller does not request them. Split up loop to build doms and
15304 pdoms. Use a worklist to compute doms and pdoms.
15305 * basic-block.h (compute_dominators): Remove prototype.
15306
15307 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
15308
15309 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
15310 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
15311 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
15312 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
15313 (cant_move, fed_by_spec_load, is_load_insn): Remove.
15314 (schedule_region): Remove unused variable.
15315 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
15316
15317 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
15318
15319 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
15320 (update_equiv_regs): Likewise.
15321 (block_alloc): Likewise.
15322 * reg-stack.c (reg_to_stack): Likewise.
15323 (convert_regs_2): Likewise.
15324 * reload1.c (reload_as_needed): Likewise.
15325
15326 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
15327
15328 * Makefile.in (dbxout.o): Depend on ggc.h.
15329 (dwarf2out.o): Likewise.
15330 (xcoffout.o): Likewise.
15331 * dbxout.c: Include ggc.h.
15332 (dbxout_init): Register lastfile as a root.
15333 * dwarf2out.c: Include ggc.h.
15334 (dwarf2out_line): Register lastfile as a root.
15335 * xcoffout.c: Include ggc.h.
15336 (xcoffout_source_line): Register xcoff_lastfile as a root.
15337
15338 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
15339
15340 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
15341
15342 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
15343
15344 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
15345 defined.
15346 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
15347
15348 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15349
15350 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
15351 (EXECUTE_IF_CONFLICT): Likewise.
15352 (ALLOCNO_LIVE_P): Avoid signed division.
15353 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
15354 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
15355 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
15356
15357 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
15358
15359 * haifa-sched.c (schedule_block): Don't crash if there's no
15360 next insn for an interblock movement.
15361 (add_branch_dependences): Don't allow clobber insns to move either.
15362
15363 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
15364
15365 * i386.c (split_xf): New.
15366 * i386-protos.h: Declare it.
15367 * i386.md (movxf_1): Add general regs alternatives.
15368 (movxf_1+1): New splitter for same.
15369
15370 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
15371
15372 * function.c (purge_addressof_1): Add missing return values.
15373
15374 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
15375
15376 * function.c (is_addressof): New function. Returns true if
15377 the given piece of RTL is an ADDRESSOF.
15378 (purge_addressof_1): Make boolean. Return false if the
15379 ADDRESSOFs could not be purged.
15380 (purge_addressof): If ADDRESSOFs could not be purged from the
15381 notes attached to an insn, remove the offending note(s),
15382 unless they are attached to a libcall.
15383
15384 1999-11-05 Andreas Jaeger <aj@suse.de>
15385
15386 * genoutput.c (null_operand =): Initialize all fields.
15387
15388 * errors.h: Add extern to prototypes.
15389
15390 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
15391
15392 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
15393 * configure: Rebuilt.
15394
15395 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15396
15397 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
15398 (mirror_conflicts): New function.
15399 (global_alloc): Call it.
15400 (expand_preferences): Remove redundant CONFLICTP test.
15401 (find_reg, dump_conflicts): Likewise.
15402 (prune_preferences): Process conflicts one word at a time.
15403
15404 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
15405
15406 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
15407 instead of an explicit loop.
15408
15409 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
15410
15411 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
15412 if REG_RETVAL check succeeds, then put classp in src_elt.
15413
15414 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
15415
15416 * function.c (pad_to_arg_alignment): Only update argument_pad
15417 if the argument's alignment is greater than STACK_BOUNDARY.
15418
15419 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
15420
15421 * bitmap.h (BITMAP_XFREE): New.
15422 * flow.c (life_analysis): Use it.
15423 (life_analysis_1): Free blocks.
15424
15425 * combine.c (undo_commit): New.
15426 (try_combine): Use it. Don't zap undobuf.undos.
15427 (combine_instructions): Don't zap undobuf.undos; free the
15428 undobuf.frees list.
15429
15430 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
15431
15432 * stmt.c (cost_table_): New.
15433 (estimate_case_costs): Use it instead of xmalloc.
15434
15435 * toplev.c (compile_file): Reuse dumpname memory instead
15436 of strdup'ing it.
15437
15438 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
15439
15440 * reg-stack.c (convert_regs_1): Initialize target_stack->top
15441 after verifying an EH edge.
15442
15443 * haifa-sched.c (init_rgn_data_dependences): Correctly
15444 size bb_pending_lists_length when zeroing.
15445
15446 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
15447
15448 * function.c (diddle_return_value): New.
15449 (expand_function_end): Use it.
15450 * stmt.c (expand_null_return): Likewise.
15451 (expand_value_return): Likewise.
15452
15453 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
15454
15455 * reload1.c (reload): Don't remove return value clobbers.
15456
15457 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
15458
15459 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
15460
15461 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
15462
15463 * cse.c (cse_main): Use xmalloc, not alloca.
15464 (cse_basic_block): Likewise.
15465 * local-alloc.c (local_alloc): Likewise.
15466
15467 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
15468 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15469
15470 * rtl.c: Include toplev.h.
15471 (fatal): Remove declaration.
15472
15473 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
15474
15475 * haifa-sched.c (schedule_block): Fix thinko.
15476
15477 1999-11-03 James McKelvey <mckelvey@fafnir.com>
15478
15479 * fixinc/fixincl.c(create_file): Allow for systems that do not have
15480 S_IR* defined values
15481
15482 1999-11-03 Philippe De Muyter <phdm@macqel.be>
15483
15484 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
15485 call `malloc' instead.
15486
15487 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
15488
15489 * flags.h (flag_renumber_insns): Declare.
15490 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
15491 renumbering table.
15492 * rtl.h (renumber_insns): Change prototype.
15493 * toplev.c (flag_renumber_insns): Define.
15494 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
15495
15496 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
15497
15498 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
15499 and fpsqrtd. Use them and create fdiv function unit to more
15500 accurately represent fpu sqrt pipeline semantics on UltraSparc.
15501 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
15502
15503 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
15504
15505 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
15506 3 on UltraSparc.
15507 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
15508 insn into ready list, do not use just a raw swap.
15509
15510 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
15511
15512 * rtl.h (renumber_insns): New function.
15513 (remove_unnecessary_notes): Likewise.
15514 * emit-rtl.c (renumber_insns): Define.
15515 (remove_unncessary_notes): Likewise.
15516 * toplev.c (rest_of_compilation): Remove dead code.
15517 Use renumber_insns and remove_unncessary_notes.
15518
15519 * gcse.c (struct null_pointer_info): New type.
15520 (get_bitmap_width): New function.
15521 (current_block): Remove.
15522 (nonnull_local): Likewise.
15523 (nonnull_killed): Likewise.
15524 (invalidate_nonnull_info): Take a null_pointer_info as input.
15525 (delete_null_pointer_checks_1): New function.
15526 (delete_null_pointer_checks): Use it.
15527
15528 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
15529 (split_edges): Likewise.
15530 (schedule_block): Likewise.
15531 (compute_block_backward_dependencies): Likewise.
15532 (schedule_region): Likewise.
15533 (schedule_insns): Likewise.
15534
15535 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
15536
15537 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
15538 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
15539 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
15540 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
15541 * jump.c (delete_unreferenced_labels): Don't delete if
15542 LABEL_ALTERNATE_NAME is set.
15543 * print-rtl.c (print_rtx): Dump alternate name.
15544 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
15545 * rtl.h (LABEL_ALTERNATE_NAME): Define.
15546 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
15547 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
15548
15549 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15550
15551 * fix-header.c (recognized_extern, recognized_function): Constify
15552 a char*.
15553
15554 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
15555 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
15556 (compute_available): Remove unused variable `last'.
15557 (compute_nearerout): Remove unused variable `temp_bitmap'.
15558 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
15559 Remove unused variable `x'.
15560
15561 * scan.h (recognized_function, recognized_extern): Constify a
15562 char*.
15563
15564 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
15565
15566 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15567
15568 * varasm.c (decode_rtx_const): Use XSTR to access the string
15569 of a SYMBOL_REF.
15570
15571 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
15572
15573 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
15574
15575 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15576
15577 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
15578
15579 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
15580
15581 * pa.c (ireg_operand): New function.
15582 * pa.h (PREDICATE_CODES): Handle ireg_operand.
15583 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
15584 Fix out of date comment.
15585
15586 * pa.md (negdi2): Turn into expander + anonymous pattern.
15587
15588 * reload.c (find_reloads): Fix typos in recent change.
15589
15590 * dwarf2out.c: Do not include ctype.h.
15591
15592 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15593
15594 * regclass.c (record_reg_classes): Always use may_move_cost when
15595 seeing how operand fits with various register classes.
15596
15597 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
15598
15599 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
15600 * toplev.c: Revert Nov 1 13:22 change.
15601
15602 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
15603
15604 * config/pa/pa.md (height reduction patterns): Add checks for
15605 overlapping operands to avoid semantic-destroying splits for
15606 height reduction patterns.
15607
15608 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15609
15610 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
15611 have been an hyphen, fixed.
15612 * configure: Rebuilt.
15613
15614 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
15615
15616 * config/arm/tpe.h: Add prototypes for exported functions.
15617 * config/arm/pe.c: Fix compile time warnings.
15618 * config/arm/semi.h: Fix compile time warnings.
15619 * config/arm/arm.c: Fix compile time warnings.
15620 * config/arm/arm.h: Fix compile time warnings.
15621 * config/arm/arm.md: Fix compile time warnings.
15622 * config/arm/thumb.c: Fix compile time warnings.
15623 * config/arm/thumb.h: Fix compile time warnings.
15624 * config/arm/thumb.md: Fix compile time warnings.
15625
15626 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
15627
15628 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
15629 detection code
15630
15631 * unroll.c (unroll_loop): Remove LOOP notes when loop is
15632 completely unrolled.
15633
15634 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15635
15636 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
15637
15638 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
15639
15640 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
15641 * rtl.h (rtx_equal_p): Move prototype.
15642 * rtl.c (rtx_equal_function_value_matters): Move from
15643 rtlanal.c
15644 (rtx_equal_p): Likewise.
15645 * rtlanal.c (rtx_equal_function_value_matters): Delete.
15646 (rtx_equal_p): Likewise.
15647
15648 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
15649
15650 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
15651 ! HAS_INIT_SECTION.
15652
15653 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
15654
15655 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
15656
15657 * pa.h (ADDR_VEC_ALIGN): Define.
15658
15659 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
15660 notes when presented with "if (foo) break; end_of_loop" and
15661 the break sequence gets moved out of the loop.
15662
15663 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
15664 Remove explicit zero initializations of entries within MAP.
15665
15666 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
15667
15668 * reg-stack.c (convert_regs_1): Handle EH edges specially.
15669
15670 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
15671
15672 * bitmap.h (BITMAP_XMALLOC): New macro.
15673 * flow.c (CLEAN_ALLOCA): Remove.
15674 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
15675 (life_analysis): Likewise.
15676 (update_life_info): Don't use CLEAN_ALLOCA.
15677 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
15678 (calculate_global_regs_live): Likewise.
15679 (print_rtl_with_bb): Likewise.
15680 (verify_flow_info): Likewise.
15681 * global.c (global_alloc): Likewise.
15682 (global_conflicts): Likewise.
15683 * integrate.c (save_for_inline_nocopy): Likewise.
15684 (expand_inline_function): Likewise.
15685 * jump.c (jump_optimize_1): Likewise.
15686 (duplicate_loop_exit_test): Likewise.
15687 (thread_jumps): Likewise.
15688 * loop.c (loop_optimize): Likewise.
15689 (combine_givs): Likewise.
15690 (recombine_givs): Likewise.
15691 * reorg.c (dbr_schedule): Likewise.
15692 * unroll.c (unroll_loop): Likewise.
15693
15694 * combine.c (combine_instructions): Use xmalloc instead of alloca.
15695
15696 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
15697
15698 * toplev.c (rest_of_compilation): Don't optimize the CFG
15699 when rebuilding, just before dbr.
15700
15701 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15702
15703 * output.h (assemble_end_function, assemble_destructor,
15704 assemble_constructor, assemble_gc_entry, assemble_global,
15705 assemble_label, output_constant_pool) Constify a char*.
15706
15707 * varasm.c (assemble_destructor, assemble_constructor,
15708 assemble_gc_entry, assemble_end_function, assemble_global,
15709 assemble_label, output_constant_pool): Likewise.
15710
15711 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
15712
15713 * config/arm/thumb.c (thumb_expand_prologue): Add comments
15714 explaining what is goin on in this function.
15715
15716 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15717
15718 * regclass.c (record_reg_classes): In matching case, recompute
15719 costs since the direction of movement is different.
15720
15721 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
15722
15723 * resource.c (mark_target_live_regs): For unconditional branches,
15724 the resources found at the branch target should be added to the
15725 resources found so far, not intersected.
15726
15727 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
15728
15729 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
15730 old cpp's.
15731 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
15732 (sys/mman.h): Include this file only if #HAVE_MMAP.
15733 (run_compiles): Initialize `esac_fmt' with one old KR string, not
15734 with automatically concatenated ANSI strings.
15735
15736 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
15737
15738 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
15739 (DIV_ROUND_UP): Robustify.
15740 (ggc_recalculate_in_use_p): New function.
15741 (release_pages): Don't inline it.
15742 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
15743 outer contexts.
15744 (ggc_pop_context): Use ggc_recalculate_in_use_p.
15745 (clear_marks): Always save in_use_p.
15746 (sweep_pages): Use ggc_recalculate_in_use_p.
15747 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
15748 Release pages before counting statistics.
15749
15750 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
15751
15752 * toplev.c (rest_of_compilation): Fix thinko in this change:
15753
15754 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
15755
15756 (rest_of_compilation): If inside an inlined external function,
15757 pretend we are just being declared.
15758
15759 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
15760
15761 * flow.c (calculate_global_regs_live): Fix thinko.
15762
15763 * integrate.c (expand_inline_function): Fix bugs in previous
15764 change from Oct 28, 1999.
15765
15766 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
15767
15768 * stmt.c (expand_value_return): Fix typo in this change:
15769
15770 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15771 (expand_value_return): Correctly convert VAL when promoting function
15772 return; support RETURN_REG being a PARALLEL.
15773
15774 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
15775
15776 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
15777
15778 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15779
15780 * hard-reg-set.h (reg_names): Constify a char*.
15781
15782 * regclass.c (reg_names): Likewise.
15783
15784 * regs.h (reg_names): Likewise
15785
15786 * a29k/a29k.c (reg_names): Delete declaration.
15787
15788 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
15789
15790 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
15791 arc_output_function_epilogue): Likewise.
15792
15793 * elxsi/elxsi.c (reg_names): Likewise.
15794
15795 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
15796
15797 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
15798 Likewise.
15799
15800 * m88k/m88k.c (output_function_profiler): Likewise.
15801
15802 * sparc/sparc.c (sparc_flat_output_function_prologue,
15803 sparc_flat_output_function_epilogue): Likewise.
15804
15805 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
15806
15807 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
15808 warning from -Wuninitialized and put it under -W.
15809 * function.c (uninitialized_vars_warning): Warn only when the
15810 corresponding flag is set.
15811
15812 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
15813
15814 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
15815 is nonzero and the single set does not have an elt, then assign
15816 it an elt.
15817
15818 * simplify-rtx.c: New file.
15819 * Makefile.in (OBJS): Add simplify-rtx.o
15820 (simplify-rtx.o): Add dependencies.
15821 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
15822 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
15823 (cse_gen_binary, simplify_unary_operation): Delete.
15824 (simplify_binary_operation, simplify_plus_minus): Likewise.
15825 (check_fold_consts, simplify_relation_operation): Likewise.
15826 (simplify_ternary_operation): Likewise.
15827 (delete_trivially_dead_insns): Simplify the contents of the
15828 REG_EQUAL note before trying to substitute it into the source
15829 of the reg-reg copy at the end of a libcall sequence.
15830
15831 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
15832 references/callers changed.
15833
15834 * mn10200.c (mn10200_va_arg): Force the return value into a
15835 register.
15836
15837 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
15838
15839 * cccp.c (macroexpand): Avoid out of range accesses for omitted
15840 arguments.
15841
15842 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
15843
15844 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
15845
15846 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
15847
15848 * fold-const.c (fold): Fix thinko when optimizing comparisons
15849 against -0.0.
15850
15851 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
15852
15853 * gcc.texi (Passes): Update front-end files to their current
15854 location.
15855
15856 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
15857
15858 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
15859 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
15860 (PREDICATE_CODES): Add addition_operation.
15861 * alpha-protos.h (addition_operation): Declare.
15862 (secondary_reload_class): Likewise.
15863 * alpha.c (addition_operation): New.
15864 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
15865 * alpha.md (adddi3): Turn into expander.
15866 (*lda, *adddi_2): New.
15867 (movsf, movdf patterns): Don't preference integer regs.
15868 (movsi, movdi patterns): Don't preference fp regs.
15869
15870 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
15871
15872 * genrecog.c (write_switch): Check for duplicate CODE cases.
15873
15874 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
15875
15876 * ggc-common.c: Update pre-function commentary.
15877 * ggc-page.c: Likewise.
15878 (poison): Remove.
15879 (poison_pages): Use memset directly.
15880 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
15881 (ggc_collect): Poison before sweeping.
15882 * ggc-simple.c: Update pre-function commentary.
15883 (ggc_alloc_obj): Poison non-zeroed memory.
15884
15885 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
15886
15887 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
15888 match format string, even on 64-bit hosts.
15889 * gcc-page.c (ggc_page_print_statistics): Likewise.
15890
15891 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
15892
15893 * config/i386/i386.c (ix86_cpu): Revert last patch.
15894 * config/i386/i386.h (ix86_cpu): Ditto.
15895
15896 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
15897
15898 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
15899 TYPE_SIZE, convert type of result to sizetype.
15900
15901 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
15902
15903 * flow.c (count_or_remove_death_notes): Equate NULL with the
15904 universal set.
15905
15906 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
15907 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
15908 dbr_schedule.
15909
15910 * i386.c (pic_label_no): Delete.
15911 (ix86_attr_length_default): Don't use single_set to peek
15912 inside a parallel.
15913
15914 * recog.c (peephole2_optimize): Allow recog_next_insn to index
15915 the first insn after bb->end.
15916 * i386.md (push mem peeps): Scratch is live after evaluation
15917 of the memory.
15918 (cmp mem peep): Similarly.
15919
15920 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
15921
15922 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
15923 * function.c (pad_to_arg_alignment): Add missing braces.
15924
15925 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15926
15927 * alpha/alpha-protos.h (literal_section): Add prototype.
15928 (alpha_need_linkage, alpha_start_function,alpha_end_function):
15929 Constify a char*.
15930
15931 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
15932 prototype.
15933 (alpha_start_function, alpha_end_function, float_strings,
15934 alpha_need_linkage): Constify a char*
15935
15936 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
15937
15938 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
15939
15940 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
15941
15942 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
15943
15944 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15945
15946 * flow.c (debug_flow_info): Add prototype.
15947
15948 * gcc.c (main): Likewise.
15949
15950 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
15951 Likewise.
15952
15953 * reload1.c (failed_reload, set_reload_reg): Likewise.
15954
15955 * mips-tfile.c (main): Likewise.
15956 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
15957 with ATTRIBUTE_NORETURN.
15958
15959 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
15960
15961 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
15962 DECL is not a memory ref.
15963
15964 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
15965
15966 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
15967 * config/i386/i386.c (ix86_cpu): Add extern attribute.
15968
15969 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
15970
15971 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
15972 * config/mips/elf64.h: ditto.
15973
15974 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
15975
15976 * expr.c (emit_push_insn): New argument alignment_pad.
15977 Update all callers. Adjust stack pointer based on alignment pad.
15978 * function.c (pad_to_arg_alignment): New argument alignment_pad.
15979 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
15980 (locate_and_pad_parm): New argument alignment_pad. Update all
15981 callers.
15982 * expr.h (emit_push_insn): Update prototype.
15983 (locate_and_pad_parm): Update prototype.
15984 * calls.c (arg_data): Add new field alignment_pad.
15985 (initialize_argument_information): Initialize alignment_pad.
15986
15987 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
15988
15989 * except.c (free_eh_nesting_info): Free the info itself.
15990 * function.c (free_after_compilation): Don't free NULL.
15991 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
15992 (pre_edge_insert): Free inserted.
15993 * stmt.c (free_stmt_status): Don't free NULL.
15994
15995 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
15996
15997 * gcov.c (DIR_SEPARATOR): Provide default.
15998 (output_data): Add test for MS-DOS format absolute filename.
15999 (fancy_abort): Correct program name.
16000 (open_files): Open all files in binary mode.
16001 * libgcc2.c (__bb_exit_func): Likewise.
16002
16003 * profile.c (init_branch_prob): Specify binary when opening files.
16004
16005 * flags.h (flag_unwind_tables): New decl.
16006 * toplev.c (flag_unwind_table): New definition.
16007 (f_options): Add -funwind-tables.
16008 (decode_g_option): Clarify warning when unknown -g option is given.
16009 (rest_of_compilation): If inside an inlined external function,
16010 pretend we are just being declared.
16011
16012 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
16013 (dwarf2out_frame_finish): Likewise.
16014
16015 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
16016
16017 * fold-const.c (merge_ranges): If not in0, but in1, handle
16018 upper bounds equal like subset case.
16019
16020 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
16021
16022 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
16023 passed in a register but moved to the stack.
16024
16025 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
16026
16027 * gcc.c (pass_exit_codes, greatest_status): New variables.
16028 (struct option_map): Add entry for "--pass-exit-codes".
16029 (execute): Update greatest_status if error.
16030 (display_help): Add documentation for -pass-exit-codes.
16031 (process_command): Handle -pass-exit-codes.
16032 (main): Look at pass_exit_codes and greatest_status on call to exit.
16033
16034 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16035
16036 * reload.c (find_reloads): Refine test for no input reload
16037 case to not includes reloads emitted after insn.
16038
16039 * function.c (find_temp_slots_from_address): Handle sum involving
16040 a register that points to a temp slot.
16041 (update_temp_slot_address): Make recursive call if both old and
16042 new are PLUS with a common operand.
16043 * calls.c (expand_call): Mark temp slot for result as having
16044 address taken.
16045
16046 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
16047
16048 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
16049 component as well as "BINUTILS".
16050
16051 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
16052 * integrate.c (copy_rtx_and_substitute): Likewise.
16053 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
16054 All callers changed.
16055 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
16056
16057 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
16058 gdb extensions, write size of type; also be more consistent
16059 in using references when this is a subtype.
16060
16061 * pa.md (extv, extzv, insv): Use define_expand to reject constant
16062 that is out of range.
16063
16064 * loop.c (unknown_constant_address_altered): New variable.
16065 (prescan_loop): Initialize it.
16066 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
16067 (invariant_p, case MEM): Remove handling for volatile and readonly;
16068 check new variable if readonly.
16069 (check_dbra_loop): Chdeck unknown_constant_address_altered.
16070
16071 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
16072 (addr_affects_sp_p): Removed from note_mem_written and only
16073 define #ifdef AUTO_INC_DEC.
16074
16075 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
16076
16077 * regclass.c (record_reg_classes): Properly handle register move
16078 directions.
16079
16080 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
16081 Don't think valid if both operands are invalid.
16082 (struct constant_descriptor): New field RTL.
16083 (mark_const_hash_entry): Mark it.
16084 (record_constant{,_rtx}): Initialize it.
16085 (output_constant_def): Allocate RTL in permanent obstack and
16086 save in table.
16087 ({record,compare}_constant_1): Modes must match for
16088 CONSTRUCTOR of ARRAY_TYPE.
16089
16090 * c-common.h (initializer_constant_valid_p): Delete decl from here.
16091 * output.h (initializer_constant_valid_p): Move decl to here.
16092 * c-common.c (initializer_constant_valid_p): Delete function from here.
16093 * varasm.c (initializer_constant_valid_p): Move function to here.
16094
16095 * tree.h (STRIP_SIGN_NOPS): New macro.
16096 * fold-const.c (optimize_minmax_comparison): New function.
16097 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
16098 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
16099 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
16100 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
16101 widening conversions.
16102 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
16103 to look at size of mode, not precision of type; also add missing cases.
16104 (optimize_bit_field_compare, decode_field_reference): Don't try to
16105 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
16106
16107 * dwarf2out.c (ctype.h): Include.
16108 (dwarf2out_set_demangle_name_func): New function.
16109 (size_of_line_info): Deleted.
16110 (output_line_info): Compute size of line info table from difference
16111 of labels.
16112 (base_type_die, add_name_attribute): Call demangle function, if any.
16113 (field_byte_offset): Use bits per word for variable length fields.
16114 (gen_array_type_die): Add array name.
16115 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
16116 (dwarf2out_add_library_unit_info): New function.
16117
16118 * explow.c (set_stack_check_libfunc): New function.
16119 (stack_check_libfunc): New static variable.
16120 (probe_stack_range): Allow front-end to set up a libfunc to call.
16121
16122 * combine.c (simplify_comparison): When making comparison in wider
16123 mode, check for having commuted an AND and a SUBREG.
16124 (contains_muldiv): New function.
16125 (try_combine): Call it when dividing a PARALLEL.
16126 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
16127 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
16128 a PLUS.
16129 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
16130 use one of the CLOBBERs instead.
16131 (if_then_else_cond): If comparing against zero, just return thing
16132 being compared.
16133
16134 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
16135 Don't generate shifts and subtract if have conditional arithmetic.
16136
16137 * rtl.h (delete_barrier): New declaration.
16138 * jump.c (jump_optimize): Set up to handle conditional call.
16139 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
16140 (delete_barrier): New function.
16141
16142 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
16143
16144 * recog.c (nonmemory_operand): Accept ADDRESSOF.
16145
16146 * tree.c (build_type_attribute_variant): Push to obstack of
16147 ttype around type_hash_canon call.
16148
16149 * expr.c (placeholder_list): Move decl to file scope.
16150 (expand_expr): Don't force access to volatile just because its
16151 address is taken.
16152 If ignoring reference operations, just expand the operands.
16153 (expand_expr, case COMPONENT_REF): Propagate
16154 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
16155 Refine test for using bitfield operations vs pointer punning.
16156 (expand_expr, case CONVERT_EXPR): If converting to
16157 BLKmode UNION_TYPE from BLKmode, just return inner object.
16158 Use proper mode in store_field call.
16159 Properly set sizes of object to store and total size in store_field
16160 call for convert to union.
16161 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
16162 memory (like for ADDR_EXPR). Also, don't put constant in register if
16163 we'll want it in memory.
16164 (readonly_fields_p): New function.
16165 (expand_expr, case INDIRECT_REF): Call it if LHS.
16166 (expand_assignment): Handle a RESULT_DECL where
16167 DECL_RTL is a PARALLEL.
16168 (do_jump, case WITH_RECORD_EXPR): New case.
16169 (get_inner_reference): Always go inside a CONVERT_EXPR
16170 and NOP_EXPR if both modes are the same.
16171 (store_field): Use bitfield operations if size of bitsize is not same
16172 as size of RHS's type.
16173 Check for bitpos not a multiple of alignment in BLKmode case.
16174 Do block move in largest possible alignment.
16175 (store_constructor): Set BITSIZE to -1 for variable size and properly
16176 in case of array of BLKmode.
16177 (expand_expr_unaligned): New function.
16178 (do_compare_and_jump): Call it.
16179
16180 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
16181 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
16182 does not include 'o'.
16183
16184 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
16185 both SET_DEST and SET_SRC reference a virtual register.
16186 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
16187
16188 * integrate.c (expand_inline_function): Handle case of setting
16189 virtual stack vars register (from built in setjmp); when parameter
16190 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
16191 (subst_constant): Add new parm, MEMONLY.
16192 (expand_inline_function, integrate_parm_decls): Pass new parm.
16193 (integrate_decl_tree): Likewise.
16194 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
16195 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
16196 (copy_rtx_and_substitute, case SET): Add explicit calls to
16197 copy_rtx_and_substitute for both sides.
16198
16199 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
16200 constraints.
16201 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
16202 within INDEX_TYPE, instead of before.
16203 (fixup_gotos): Use f->target_rtl, not the next insn,
16204 since latter may be from a later fixup.
16205 (expand_value_return): Correctly convert VAL when promoting function
16206 return; support RETURN_REG being a PARALLEL.
16207 (expand_return): When checking for result in regs and having
16208 cleanup, consider PARALLEL in DECL_RTL as being in regs.
16209
16210 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
16211
16212 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
16213 last_nominal_fname): Mark const.
16214 (struct include_hash: name, nshort, control_macro): Mark
16215 const.
16216 (struct macrodef: symnam): Mark const.
16217 (struct if_stack: fname): Mark const.
16218 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
16219 (IStable): New character-syntax array which encompasses all
16220 the old is_foo arrays.
16221 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
16222 is_space): New macros for interrogating IStable.
16223 (check_macro_name): Kill last argument. All callers changed.
16224
16225 * cppinit.c (initialize_char_syntax): Delete.
16226 (is_idchar, is_idstart, is_hor_space, is_space,
16227 trigraph_table): Delete.
16228 (IStable): New. Initialize with clever macros to avoid
16229 information duplication.
16230 (builtin_array): Table of builtins to get rid of explicit list
16231 in initialize_builtins.
16232 (initialize_builtins): Use builtins_array.
16233 (cpp_start_read): Call init_IStable, and set IStable['$'] if
16234 opts->dollars_in_ident.
16235
16236 * cppexp.c: Change all refs to is_xyz[] arrays to use new
16237 is_xyz() macros.
16238 (cpp_parse_expr): Avoid 'format string is not constant'
16239 warning. Use ISGRAPH to identify printable chars.
16240 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
16241 is_xyz() macros.
16242 (read_and_prescan): Map trigraphs to chars with open-coded
16243 if-else-if-... sequence, not a lookup table.
16244 * cpphash.c: Change all refs to is_xyz[] arrays to use new
16245 is_xyz() macros.
16246 * cpplib.c: Change all refs to is_xyz[] arrays to use new
16247 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
16248 (check_macro_name): Remove ability to report an invalid
16249 assertion name, which is never used.
16250 (do_line): Constify a couple of char *'s.
16251 * cppmain.c (main): Call cpp_cleanup before returning.
16252
16253 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
16254
16255 * ggc.h (struct ggc_statistics): New type.
16256 (ggc_get_size): New function.
16257 (ggc_print_statistics): Likewise.
16258 * ggc-common.c (ggc_stats): New variable.
16259 (ggc_mark_rtx_children): Keep statistics.
16260 (ggc_mark_tree_children): Likewise.
16261 (ggc_print_statistics): New function.
16262 * ggc-page.c (struct globals): Add bytes_mapped field.
16263 (alloc_anon): Update it.
16264 (release_pages): Likewise.
16265 (ggc_get_size): New function.
16266 (ggc_page_print_statistics): New function.
16267 * ggc-simple.c (ggc_get_size): New function.
16268
16269 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
16270
16271 * flow.c (propagate_block): When the last reference to a label
16272 before an ADDR_VEC is deleted because the reference is a dead
16273 store, delete the ADDR_VEC.
16274
16275 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
16276
16277 * resource.c (find_free_register): Don't use the frame pointer
16278 if frame_pointer_needed.
16279
16280 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
16281
16282 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
16283 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
16284
16285 * config/i960/i960.c (i960_va_start): New locals base, num.
16286 Use INDIRECT_REF instead of ARRAY_REF on valist.
16287 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
16288
16289 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
16290
16291 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
16292
16293 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
16294
16295 * tree.def (PLACEHOLDER_EXPR): Update comments.
16296
16297 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16298
16299 * c-common.c (check_format_info): Avoid non-literal format string
16300 warnings when `first_arg_num' is zero.
16301
16302 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16303
16304 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
16305
16306 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
16307
16308 * arm.md (casesi_insn): Add a clobber of the condition code
16309 register.
16310
16311 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
16312
16313 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
16314 used by both cc1 and cc1plus.
16315
16316 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
16317
16318 * config/arm/arm.c: Initialise arm_structure_size_boundary to
16319 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
16320 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
16321 to the value 32 if it has not already been defined.
16322 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
16323 Override definition in arm.h with a value of 8.
16324
16325 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
16326
16327 * c-pragma.c (push_alignment): Don't check the return value
16328 of xmalloc.
16329
16330 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
16331
16332 * sparc.h (ADJUST_COST): Fix thinko.
16333
16334 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
16335
16336 * cccp.c (rescan): Fixed obp pointer handling around call to
16337 check_expand subroutine.
16338
16339 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
16340
16341 * gcse.c (delete_null_pointer_checks): Only record non-null info
16342 for pseudos when examining stores.
16343
16344 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
16345 splitters for these patterns. Use "#" for output templates.
16346 (addsi3_carryin_shift): New pattern.
16347
16348 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
16349
16350 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
16351 of the function return register into a plain REG until
16352 after function inlining is done.
16353
16354 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
16355
16356 * jump.c (jump_optimize_1): If we did cross-jumping, and
16357 the data will matter, rebuild the CFG.
16358 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
16359 not optimizing. Don't run shorten_branches.
16360 * toplev.c (rest_of_compilation): Run shorten_branches after
16361 reg_to_stack.
16362
16363 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
16364
16365 * rtl.h (note_stores): Add additional paramter.
16366 * rtlanal.c (reg_set_p_1): Take additional paramter.
16367 (reg_set_last_1): Likewise.
16368 (reg_set_p): Adjust call to note_stores.
16369 (reg_set_last): Likewise.
16370 (note_stores): Pass data parameter to worker function.
16371 * alias.c (record_set): Take additional parameter.
16372 (init_alias_analysis): Pass it.
16373 * caller-save.c (mark_set_regs): Take additional parameter.
16374 (save_call_clobbered_regs): Pass NULL to note_stores.
16375 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
16376 parameter.
16377 (record_dead_and_set_regs_1): Likewise.
16378 (reg_dead_at_p_1): Likewise.
16379 (combine_instructions): Adjust calls to note_stores.
16380 (try_combine): Likewise.
16381 (record_dead_insn): Remove.
16382 (record_dead_and_set_regs): Adjust calls to note_stores.
16383 (reg_dead_at_p): Likewise.
16384 * cse.c (invalidate_skipped_set): Take additional parameter.
16385 (cse_check_loop_start): Likewise.
16386 (cse_check_loop_start_value): Remove.
16387 (cse_set_around_loop): Adjust calls to note_stores.
16388 * flow.c (notice_stack_pointer_modification): Take additional
16389 parameter. Remove duplicate declaration.
16390 (record_volatile_insns): Adjust calls to note_stores.
16391 * gcse.c (record_set_info): Take additional parameter.
16392 (record_last_set_info): Likewise.
16393 (invalidate_nonnull_info): Likewise.
16394 (record_set_insn): Remove.
16395 (compute_sets): Adjust calls to note_stores.
16396 (last_set_insn): Remove.
16397 (compute_hash_table): Adjust calls to note_stores.
16398 (insert_insn_end_bb): Likewise.
16399 (delete_null_pointer_checks): Likewise.
16400 * global.c (mark_reg_store): Take additional parameter.
16401 (mark_reg_clobber): Likewise.
16402 (reg_becomes_live): Likewise.
16403 (global_conflicts): Adjust calls to note_stores.
16404 (build_insn_chain): Likewise.
16405 * integrate.c (note_modified_parmregs): Take additional parameter.
16406 (mark_stores): Likewise. Make it static.
16407 (save_for_inline_nocopy): Adjust calls to note_stores.
16408 (try_constants): Likewise.
16409 * integrate.h (mark_stores): Remove declaration.
16410 * jump.c (mark_modified_reg): Take additional parameter.
16411 (thread_jumps): Adjust calls to note_stores.
16412 * local-alloc.c (validate_equiv_mem_from_store): Take additional
16413 parameter.
16414 (no_equiv): Likewise.
16415 (reg_is_set): Likewise.
16416 (validate_equiv_mem): Adjust calls to note_stores.
16417 (update_equiv_regs): Likewise.
16418 (block_alloc): Likewise.
16419 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
16420 (note_addr_stored): Take additional parameter.
16421 (note_set_pseudo_multiple_uses): Likewise.
16422 (record_initial): Likewise.
16423 (prescan_loop): Adjust calls to note_stores.
16424 (strength_reduce): Likewise.
16425 (check_dbra_loop): Likewise.
16426 * regmove.c (flags_set_1): Take additional paramter.
16427 (mark_flags_life_zones): Adjust calls to note_stores.
16428 * reload1.c (mark_not_eliminable): Take additional parameter.
16429 (forget_old_reloads_1): Likewise.
16430 (reload_cse_invalidate_rtx): Likewise.
16431 (reload_cse_check_clobber): Likewise.
16432 (reload_combine_note_store): Likewise.
16433 (move2add_note_store): Likewise.
16434 (reload): Adjust calls to note_stores.
16435 (reload_as_needed): Likewise.
16436 (emit_reload_insns): Likewise.
16437 (reload_cse_regs_1): Likewise.
16438 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
16439 (reload_combine): Adjust calls to note_stores.
16440 * resource.c (update_live_status): Take additional paramter.
16441 (mark_target_live_regs): Adjust calls to note_stores.
16442 * stupid.c (find_clobbered_regs): Take additional parameter.
16443 (stupid_life_analysis): Adjust calls to note_stores.
16444
16445 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
16446
16447 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
16448 definition.
16449
16450 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
16451 definition.
16452
16453 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
16454 of the variable arm_structure_size_boundary.
16455
16456 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
16457
16458 * alias.c (init_alias_analysis): Allocate reg_known_value and
16459 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
16460 and reg_seen.
16461 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
16462 * cse.c (cse_main): Call end_alias_analysis.
16463 * haifa-sched.c (schedule_insns): Likewise.
16464 * local-alloc. (update_equiv_regs): Likewise.
16465 * reload1.c (reload_cse_regs): Likewise.
16466
16467 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16468
16469 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
16470 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
16471 mapping from MASK_FPU.
16472
16473 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
16474
16475 * sparc.md (call): Don't bound structure return size to 0xfff.
16476
16477 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
16478
16479 * resource.c (mark_target_live_regs): Check that the target
16480 insn wasn't created after compute_bb_for_insn.
16481
16482 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
16483
16484 * ggc-page.c (poison_pages): Don't be overzealous.
16485
16486 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
16487
16488 * alias.c: Update comments for ADDRESS.
16489 (nonlocal_reference_p): Look inside the ADDRESS to determine if
16490 it is a local memory reference.
16491
16492 * c-typeck.c (build_function_call): Check that the built-in
16493 function is of class BUILT_IN_NORMAL before trying to recongize
16494 it as BUILT_IN_ABS.
16495 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
16496 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
16497
16498 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
16499
16500 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
16501 of alloca.
16502 (pre_gcse): Likewise.
16503 (hoist_expr_reaches_here_p): Likewise.
16504 (hoist_code): Likewise.
16505 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
16506 code to ...
16507 (pre_expr_reaches_here_p_work): ... here.
16508 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
16509 code to ...
16510 (expr_reaches_here_p_work): ... here.
16511
16512 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
16513
16514 * resource.c (find_basic_block): Delete.
16515 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
16516 (init_resource_info): Call compute_bb_for_insn.
16517
16518 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
16519
16520 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
16521 with already adjacent blocks, but no fallthru.
16522 (merge_blocks_move_successor_nojumps): Simplify.
16523 (debug_flow_info): New.
16524
16525 * toplev.c (rest_of_compilation): Open jump1 dump file before
16526 jump and close after, as opposed to just using dump_rtl.
16527
16528 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16529
16530 * reload.h (earlyclobber_operand_p): Declare.
16531 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
16532 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
16533 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
16534 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
16535
16536 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
16537 Richard Henderson <rth@cygnus.com>
16538
16539 * emit-rtl.c (emit_block_insn_before): New.
16540 (emit_block_insn_after): New.
16541 * basic-block.h: Declare them.
16542
16543 * bitmap.h: Protect from multiple inclusion.
16544
16545 * recog.c (scratch_operand): Handle VOIDmode correctly.
16546
16547 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
16548
16549 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
16550 * function.c (assign_parms): Likewise.
16551 * global.c (global_conflicts): Clarify STACK_REGS commentary.
16552
16553 * reg-stack.c (max_uid): Remove.
16554 (blocks, block_begin, block_end, block_drops_in): Remove.
16555 (block_stack_in, block_out_reg_set, block_number): Remove.
16556 (struct block_info_def, BLOCK_INFO): New.
16557 (enum emit_where): New.
16558 (current_block): New.
16559 (BLOCK_NUM): Remove.
16560 (mark_regs_pat, record_label_references): Remove.
16561 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
16562 (nan): New.
16563 (goto_block_pat, print_blocks, dump_stack_info): Remove.
16564 (reg_to_stack): Simplified test for existance of fp code. Use
16565 flow.c code. Call shorten_branches after cross-jump opt.
16566 (check_asm_stack_operands): Renamed from record_asm_reg_life.
16567 Return false if the asm doesn't use stack regs. Don't do life
16568 analysis on the asm.
16569 (emit_pop_insn): Replace function pointer arg `when' with
16570 enum `where'. Update all callers.
16571 (change_stack): Likewise. Update basic block end.
16572 (emit_swap_insn): Use current_block->head to limit reverse search
16573 for start of block. Use emit_block_insn_after.
16574 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
16575 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
16576 structure assignment instead of bcopy.
16577 (print_stack): New.
16578 (convert_regs_entry, convert_regs_exit): New.
16579 (convert_regs_1, convert_regs_2): Split out from convert_regs.
16580 Work on basic blocks and the CFG.
16581 (convert_regs): Use them.
16582
16583 * i386.c (output_fix_trunc): Remove code for DImode input operand
16584 not at top-of-stack.
16585 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
16586 appropriate mode.
16587 (fix_truncdi_1): Allow any mode scratch.
16588
16589 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
16590
16591 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
16592 * linux.h, netbsd.h, vms.h: Not here.
16593
16594 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
16595
16596 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
16597 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
16598 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
16599 CONDITIONAL_REGISTER_USEAGE): Use them.
16600 * config/mips/mips.c (mips_move_1word,mips_move_2words,
16601 gen_conditional_branch,override_options) : Use them.
16602 * config/mips/mips.md : Use them.
16603
16604 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
16605
16606 * i386.md (zero_extendqihi2): Use SImode register name with andl.
16607
16608 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
16609
16610 * integrate.c (function_cannot_inline_p): Don't allow inlining
16611 if setjmp is used.
16612
16613 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16614
16615 * c-parse.in (cast_expr): Constify.
16616
16617 * cccp.c (special_symbol): Likewise.
16618
16619 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
16620
16621 * dwarf2out.c (base_type_die): Likewise.
16622
16623 * global.c (allocno_compare): Likewise.
16624
16625 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
16626
16627 * regclass.c (fix_register): Likewise.
16628
16629 * rtl.h (fix_register): Likewise.
16630
16631 * stupid.c (stupid_reg_compare): Likewise.
16632
16633 * toplev.c (decode_f_option): Likewise.
16634
16635 * tree.c (build_complex_type): Likewise.
16636
16637 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
16638
16639 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
16640
16641 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16642
16643 * reload.c (find_reloads): Compute mode and nregs fields of all
16644 reloads.
16645 * reload1.c (calculate_needs_all_insns): Simplify a bit.
16646 (calculate_needs): Use precomputed mode/nregs values.
16647 (allocate_reload_reg): Likewise.
16648 Break out two...
16649 (failed_reload, set_reload_reg): ... new functions.
16650 (choose_reload_regs_init): New function, mostly broken out from...
16651 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
16652 Also lose one #if 0 block.
16653
16654 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
16655
16656 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
16657 substitution.
16658
16659 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
16660
16661 * tree.h (BLOCK_TYPE_TAGS): Remove.
16662 (BLOCK_END_NOTE): Likewise.
16663 (BLOCK_LIVE_RANGE_FLAG): Likewise.
16664 (BLOCK_LIVE_RANGE_START): Likewise.
16665 (BLOCK_LIVE_RANGE_END): Likewise.
16666 (tree_block): Remove live_range_flag, live_range_var_flag, and
16667 type_tags. Remove end_note, live_range_start, and live_range_end.
16668 (remember_end_note): Remove prototype.
16669 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
16670 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
16671 remember_end_note.
16672 * ggc-common.c (ggc_mark_tree_children): Don't mark
16673 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
16674 * integrate.c (adjust_copied_decl_tree): Remove.
16675 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
16676 * stmt.c (last_block_end_note): Remove.
16677 (init_stmt): Don't add a GC root for it.
16678 (expand_fixup): Don't set it.
16679 (remember_end_note): Remove.
16680 (expand_end_bindings): Don't set last_block_end_note.
16681
16682 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16683
16684 * reload1.c (reload_reg_free_for_value_p): Show
16685 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
16686 reloads.
16687
16688 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
16689
16690 * expmed.c (extract_bit_field): Allow for the case of non-integer
16691 objects that are smaller than a word (like SFmode on a 64-bit
16692 machine).
16693
16694 * loop.c (basic_induction_var): A non-integer variable which is
16695 being set by a paradoxical subreg is probably not a biv.
16696
16697 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16698
16699 * prefix.c (translate_name) Check for empty prefix string.
16700
16701 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
16702
16703 * Makefile.in (CPP_CROSS_NAME): New variable.
16704 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
16705 xcpp.
16706 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
16707 names of the files to be uninstalled.
16708
16709 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
16710
16711 * collect2.c (IS_DIR_SEPARATOR): Define.
16712 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
16713
16714 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
16715 functions too.
16716
16717 * haifa-sched.c (add_dependence): Update the true dependency
16718 cache the first time we add a true dependence to the LOG_LINKS chain.
16719
16720 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
16721
16722 * fold-const.c (fold): Fix comment.
16723
16724 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16725
16726 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
16727 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
16728 dbxout_start_new_source_file, dbxout_source_file,
16729 dbxout_source_line, dbxout_finish, dbxout_type_fields,
16730 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
16731 Constify a char*.
16732 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
16733 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
16734 (dbxout_block): Initialize variable `blocknum'.
16735
16736 * dbxout.h (dbxout_init, dbxout_finish,
16737 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
16738 dbxout_args, dbxout_source_line): Constify a char*.
16739
16740 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
16741 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
16742 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
16743 low_pc_attribute, high_pc_attribute, body_begin_attribute,
16744 body_end_attribute, comp_dir_attribute, sf_names_attribute,
16745 src_info_attribute, mac_info_attribute, producer_attribute,
16746 lookup_filename, generate_macinfo_entry, fundamental_type_code,
16747 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
16748 dwarfout_undef): Constify a char*.
16749 (add_incomplete_type, retry_incomplete_types): Add prototypes.
16750
16751 * dwarfout.h (dwarfout_define, dwarfout_undef,
16752 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
16753
16754 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
16755
16756 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
16757 (MULTILIB_ISA_DEFAULT): New.
16758 (MULTILIB_DEFAULTS): Use it.
16759 * config/mips/mips.c (): Remove the now unnecessary definition
16760 of MIPS_ISA_DEFAULT.
16761 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
16762 unnecessary definition.
16763
16764 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
16765
16766 * arm.md (pic_load_addr): Add constraints to operand 1.
16767
16768 1999-10-25 Bruce Korb <autogen@linuxbox.com>
16769
16770 * fixinc/genfixes: Provide a means for specifying -D options to
16771 AutoGen
16772
16773 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
16774
16775 * arm.c (arm_override_options): Correct initialization of
16776 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
16777 arm_is_strong, and arm_is_6_or_7.
16778
16779 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
16780 (note_set_pseudo_multiple_uses): New function.
16781 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
16782 if a pseudo set in the loop exit is used elsewhere.
16783
16784 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
16785
16786 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
16787
16788 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
16789
16790 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
16791 a single load-address pattern.
16792
16793 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
16794
16795 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
16796 depending on whether or not line-number notes are present.
16797
16798 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16799
16800 * cccp.c (progname, file_buf, default_include, include_file,
16801 macrodef, definition, hashval, wchar_type, user_label_prefix,
16802 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
16803 expand_to_temp_buffer, is_system_include, base_name,
16804 absolute_filename, read_name_map, open_include_file,
16805 record_control_macro, check_precompiled, check_preconditions,
16806 pcfinclude, pass_thru_directive, create_definition,
16807 check_macro_name, comp_def_part, collect_expansion,
16808 check_assertion, read_token_list, assertion_install,
16809 assertion_lookup, eval_if_expression, conditional_skip,
16810 validate_else, skip_quoted_string, quote_string, macarg1,
16811 error_from_errno, install, lookup, hashf, dump_defn_1,
16812 perror_with_name, pfatal_with_name, main, trigraph_pcp,
16813 check_white_space, rescan, handle_directive, monthnames,
16814 special_symbol, do_include, remap_include_file, write_output,
16815 arglist, do_assert, do_unassert, do_line, do_error, do_once,
16816 do_ident, do_sccs, do_xifdef, skip_if_group,
16817 output_line_directive, macroexpand, macarg, change_newlines,
16818 initialize_builtins, make_definition): Constify a char*.
16819
16820 * pcp.h (stringdef): Likewise.
16821
16822 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
16823
16824 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
16825 not of pattern.
16826
16827 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
16828 Richard Henderson <rth@cygnus.com>
16829
16830 * alias.c: Include ggc.h.
16831 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
16832 (record_set): Verify enough room in reg_base_value.
16833 (init_alias_analysis): Allocate reg_base_value with xcalloc.
16834 Register it as a GC root.
16835 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
16836 * Makefile.in (alias.o): Depend on ggc.h.
16837
16838 * unroll.c (unroll_loop): Verify the insn before a barrier
16839 is a JUMP_INSN before checking JUMP_LABEL.
16840
16841 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16842
16843 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
16844 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
16845 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
16846 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
16847 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
16848 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
16849
16850 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16851
16852 * output.h (ctors_section, dtors_section, bss_section): Prototype.
16853
16854 * alpha/alpha-interix.h (text_section): Delete prototype.
16855 * alpha/elf.h (text_section): Likewise.
16856 * arm/linux-elf.h (text_section): Likewise.
16857 * arm/linux-telf.h (text_section): Likewise.
16858 * c4x/c4x.h (text_section): Likewise.
16859 * dsp16xx/dsp16xx.h (bss_section): Likewise.
16860 * elfos.h (text_section): Likewise.
16861 * i386/aix386ng.h (text_section): Likewise.
16862 * i386/i386-interix.h (text_section): Likewise.
16863 * i386/sco5.h (text_section): Likewise.
16864 * i386/svr3gas.h (text_section): Likewise.
16865 * nextstep.h (text_section): Likewise.
16866 * psos.h (text_section): Likewise.
16867 * ptx4.h (text_section): Likewise.
16868 * svr3.h (text_section): Likewise.
16869 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
16870
16871 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16872
16873 * final.c (peephole): Delete prototype.
16874
16875 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
16876 (pre_insert_copies): Remove unused variable `bb'.
16877
16878 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
16879 prototypes.
16880
16881 * output.h (peephole): Add prototype.
16882
16883 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
16884
16885 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
16886 -O0.
16887
16888 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
16889
16890 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
16891 for inlined declarations.
16892
16893 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
16894
16895 * arm.c (logical_binary_operator): New fucntion.
16896 * arm.h (logical_binary_operator): Declare it.
16897 (PREDICATE_CODES): Handle logical_binary_operator.
16898 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
16899 output constraints. Add appropriate splitters.
16900 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
16901 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
16902 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
16903
16904 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16905
16906 * genoutput.c (struct operand_data): New elt eliminable.
16907 (output_operand_data): Write it.
16908 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
16909 (compare_operands): Take it into account.
16910 * recog.h (struct insn_operand_data): New elt eliminable.
16911 * reload1.c (check_eliminable_occurrences, elimination_effects): New
16912 functions.
16913 (old_asm_operands_vec, new_asm_operands_vec): Delete.
16914 (eliminate_regs): Move code that detects changes to elimination
16915 target regs into new function elimination_effects.
16916 Delete one #if 0 block.
16917 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
16918 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
16919 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
16920 Only call eliminate_regs for real operands of the insn, not for parts
16921 of its structure or parts matched by things like match_operator.
16922 Use elimination_effects and check_eliminable_occurrences. Use
16923 copy_insn to duplicate the pattern when not in the final pass.
16924
16925 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
16926
16927 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
16928 and fld.
16929
16930 1999-10-22 Bruce Korb <autogen@linuxbox.com>
16931
16932 * fixinc/README: document the "mach" machine matching test
16933 * fixinc/fixfixes.c: Implement the #else/#endif label fix
16934 * fixinc/fixtests.c: Implement the #else/#endif label test
16935 * fixinc/inclhack.def: utilize these tests and fixes
16936 * fixinc/inclhack.sh: regen
16937 * fixinc/fixincl.x: regen
16938 * fixinc/fixincl.sh: regen
16939
16940 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
16941
16942 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
16943 depend on ggc.h.
16944
16945 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
16946
16947 * gcc.1: Document exit codes.
16948
16949 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16950
16951 * calls.c: Include tm_p.h later, so everything we need is defined.
16952 * expr.c: Likewise.
16953 * function.c: Likewise.
16954
16955 * except.c: Include tm_p.h.
16956
16957 * sparc.c: Likewise.
16958 (dwarf2out_cfi_label): Don't prototype.
16959 (check_return_regs, epilogue_renumber,
16960 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
16961 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
16962 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
16963 ultra_schedule_insn): Add static prototype.
16964 (data_segment_operand, text_segment_operand): Call itself with the
16965 proper number of arguments.
16966 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
16967
16968 * sparc.h: Move all declarations to sparc-protos.h.
16969 (SELECT_RTX_SECTION): Pass a missing MODE argument to
16970 symbolic_operand.
16971
16972 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
16973
16974 * config/svr4.h (text_section, ctors_section, dtors_section): Add
16975 Prototypes.
16976 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
16977 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
16978 ASM_OUTPUT_ASCII): Constify a char*.
16979
16980 * sparc-protos.h: New file for sparc prototypes.
16981
16982 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16983
16984 * function.c (record_insns, contains): Always declare and define.
16985 (record_insns): Mark with ATTRIBUTE_UNUSED.
16986
16987 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
16988
16989 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
16990 to .section when outputting a .bss section to deal with multiple
16991 .bss input sections (as happens with -fdata-sections)
16992 Also output %progbits, not @progbits so the assembler doesn't treat as
16993 a comment.
16994 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
16995
16996 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
16997 thumb parts even when building with non-thumb CPUs, by forcing
16998 thumb mode.
16999
17000 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
17001
17002 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
17003 (movdf_const_intreg_sp64): Similarly.
17004
17005 * local-alloc.c (update_equiv_regs): Check the correct insn
17006 for pre-existing REG_EQUIV notes.
17007
17008 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
17009
17010 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
17011 block reached by a branch if we're not going to actually process
17012 this block.
17013
17014 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
17015
17016 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
17017 a local extern function declaration.
17018
17019 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
17020
17021 * i386.c (ix86_expand_prologue): Properly wrap USE around
17022 reg for CALL_INSN_FUNCTION_USAGE.
17023
17024 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
17025
17026 * config/mips/mips.md (movdf_internal1a): Allow floating-point
17027 move between GP_REGs.
17028
17029 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
17030
17031 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
17032 the mode size when finding out if an offset is legal.
17033
17034 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
17035
17036 * basic-block.h (PROP_*): Move constants from ...
17037 * flow.c: ... here.
17038 (compute_bb_for_insn): Free the array before reallocating.
17039 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
17040 (allocate_reg_life_data): Reset all reg variables collected by
17041 propagate_block.
17042 (get_block_head_tail): Don't convert from bb to block.
17043 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
17044 (find_insn_reg_weight): Take block not bb.
17045 (schedule_block): Don't set block num for moved insns.
17046 (schedule_region): Don't update_life_info or find_insn_reg_weight.
17047 (schedule_insns): Do it here instead.
17048 * combine.c (combine_instructions): Invoke compute_bb_for_insn
17049 before update_life_info.
17050 * recog.c (split_all_insns, peephole2_optimize): Update for
17051 new arg to update_life_info.
17052 * rtlanal.c (remove_note): Cope with NULL note.
17053 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
17054 if we did sched1.
17055
17056 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
17057
17058 * jump.c (jump_optimize_1): More accurately detect casesi insns.
17059
17060 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
17061 block records so that merge_blocks_nomove will clean up correctly.
17062 (split_edge): Handle casesi insns.
17063
17064 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
17065
17066 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
17067
17068 * pa.md (call, call_value): Do not emit a blockage after restoring
17069 the PIC register.
17070
17071 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
17072
17073 * c-typeck.c (c_expand_asm_operands): Fix typo.
17074
17075 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17076
17077 * arm.c (fpu_rhs_operand): Verify modes.
17078 (fpu_add_operand): Likewise.
17079 (di_operand): Likewise.
17080 (soft_df_operand): Likewise.
17081
17082 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
17083
17084 * arm.c (arm_return_in_memory): APCS rules state that the elements
17085 of a structure returned in a register must be 'integer-like'.
17086
17087 1999-10-19 Bruce Korb <autogen@linuxbox.com>
17088
17089 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
17090 in the source tree when the generated targets are out of date
17091 * fixinc/genfixes: Alter it to run individual fixes for make.
17092 * fixinc/README: rewrite
17093 * fixinc/inclhack.def: moved initial comments to README
17094
17095 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
17096
17097 * toplev.c (main): Do not generate an error message if an
17098 unrecognised command line switch is recognisable by another
17099 language. If extra_warnings are enabled, then generate a
17100 warning message instead.
17101
17102 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
17103
17104 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
17105 (insert_pack_attributes): Delete prototype.
17106
17107 * c-pragma.c (default_alignment): New static variable.
17108 (push_alignment): Initialize to current effective alignment.
17109 (pop_alignment): Use to set new alignment.
17110 (insert_pack_attributes): Delete function.
17111 (handle_pragma_token): Set default_alignment as well each time
17112 a #pragma pack(<n>) is encountered.
17113
17114 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
17115
17116 * reg-stack.c (stack_result): Aggregates are not returned in
17117 stack registers.
17118
17119 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
17120
17121 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
17122
17123 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
17124
17125 * basic-block.h (set_block_num): Declare.
17126 * flow.c (update_life_info): Don't call compute_bb_for_insn
17127 or free_basic_block_vars.
17128 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
17129 (insn_orig_block): Remove.
17130 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
17131 (schedule_block): Keep BLOCK_NUM up-to-date.
17132 (schedule_insns): Use compute_bb_for_insn.
17133 * recog.c (split_all_insns): Likewise.
17134 (peephole2_optimize): Likewise.
17135
17136 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
17137
17138 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
17139 if the pic register is used.
17140
17141 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17142
17143 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
17144 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
17145 if that tests TREE_PERMANENT.
17146
17147 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
17148
17149 * cse.c (invalidate_for_call): Do not remove memory references from
17150 the table here. It's handled elsewhere.
17151
17152 * haifa-sched.c (add_dependence): Protect references to the
17153 true dependency cache with #ifdef INSN_SCHEDULING.
17154 (remove_dependence): Similarly.
17155
17156 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
17157 to the cfg code that this is a return instruction.
17158 * mn10300.md (return_internal): Similarly.
17159
17160 * combine.c (get_last_value): If the last set of a register
17161 is after subst_low_cuid, then we can not use it to determine
17162 the register's last value.
17163
17164 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
17165
17166 * Makefile.in: Back out previous change.
17167
17168 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
17169
17170 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
17171
17172 * haifa-sched.c (add_dependence): Only check/update the cache
17173 if it exists.
17174 (remove_dependence): Likewise.
17175 (schedule_insns): Only create the true_dependency_cache if the
17176 average number of instructions in a basic block is very large.
17177
17178 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
17179
17180 * Makefile.in (ggc-common.o): Depend on genrtl.h.
17181 (ggc-simple.o): Likewise.
17182 (ggc-page.o): Likewise.
17183
17184 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
17185
17186 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
17187 Prototype for exported functions.
17188 (pre_lcm, pre_rev_lcm): Remove prototypes.
17189 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
17190 (compute_available): Move to lcm.c, and change parameter order.
17191 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
17192 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
17193 (gcse_main): No longer call compute_preds_succs. Rebuild the
17194 set table after reach pre pass.
17195 (pre_insert_map, pre_delete_map, edge_list): New.
17196 (alloc_pre_mem): Allocate edge vectors.
17197 (free_pre_mem): Delete edge vectors.
17198 (compute_pre_data): Call new edge based lcm routines.
17199 (process_insert_insn): New function.
17200 (insert_insn_end_bb): Use it.
17201 (pre_edge_insert): New function.
17202 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
17203 needed.
17204 (pre_insert_copies): Revamp using new edge based lcm outputs.
17205 (pre_delete): Likewise.
17206 (one_pre_gcse_pass): Insert & remove fake edges to the exit
17207 block.
17208 (compute_code_hoist_vbeinout): New new edge based routines.
17209 * lcm.c: Remove all the old LCM functions. Replace with new ones
17210 that work with the new cfg datastructures and work with edges
17211 instead of blocks.
17212
17213 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17214
17215 * reload.h (struct reload): Add new fields "mode" and "nregs".
17216 * reload1.c: Change all occurrences of reload_mode and reload_nregs
17217 to reference the "mode" and "nregs" field within struct reload.
17218
17219 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
17220
17221 * haifa-sched.c (true_dependency_cache): New.
17222 (add_dependence): Use the true dependency cache to avoid expensive
17223 walks down the LOG_LINKS dependency list. Add entries to the
17224 cache as necessary.
17225 (remove_dependence): Remove entries from the true dependency cache
17226 as needed.
17227 (schedule_insns): Allocate and initialize and free the true
17228 dependency cache.
17229
17230 * haifa-sched.c (schedule_insns): Do not remove inter-block
17231 dependencies anymore.
17232
17233 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
17234
17235 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
17236 * i386/t-winnt: Likewise.
17237
17238 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
17239
17240 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
17241
17242 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
17243
17244 * Makefile.in (LANGUAGES): Omit "proto".
17245 (clean): Remove stale comment about removing unprotoize.c.
17246
17247 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17248
17249 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
17250 using arithmetic on void pointers.
17251
17252 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
17253
17254 * haifa-sched.c (compute_block_forward_dependencies): Only check
17255 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
17256
17257 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
17258
17259 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
17260 (expr_equiv_p): Reject memories with different alias sets.
17261
17262 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
17263
17264 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
17265 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
17266 (f_options): Add "bounded-pointers" and "bounds-check" entries.
17267 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
17268 (lang_init): Set default for flag_bounds_check if still "unspecified".
17269
17270 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17271
17272 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
17273
17274 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17275
17276 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
17277 instructions.
17278
17279 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17280
17281 * config/c4x/c4x.md (*db_noclobber,
17282 *decrement_and_branch_until_zero_noclobber): New patterns and
17283 associated splitters.
17284
17285 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17286
17287 * config/c4x/c4x.md (parallel instruction patterns): Rework
17288 constraints to keep reload happy.
17289
17290 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17291
17292 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
17293 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
17294 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
17295 Add new patterns and associated post-reload splitters.
17296
17297 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17298
17299 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
17300
17301 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17302
17303 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
17304 if appropriate.
17305 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
17306
17307 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17308
17309 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
17310 memory mode.
17311
17312 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
17313
17314 * pa.c (move_operand): Rely on memory_address_p to determine the
17315 validity of non-indexed memory addresses.
17316 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
17317 operand in DFmode and SFmode when generating PA2.0 code.
17318
17319 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
17320
17321 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
17322
17323 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
17324
17325 * mips.c (function_prologue): Fix argument types.
17326 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
17327 (casesi_internal): Write to the scratch register.
17328
17329 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
17330
17331 * cppexp.c (cpp_parse_escape): Make static. Change second arg
17332 to U_CHAR **.
17333 (parse_charconst): Delete unnecessary cast when calling
17334 cpp_parse_escape.
17335 (cpplib.h): Kill prototype of cpp_parse_escape.
17336
17337 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
17338
17339 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
17340 * unroll.c (unroll_loop): Cast return value of alloca.
17341 * i370/i370.c: Include function.h and toplev.h.
17342 (i370_label_scan): Remove c++ commented abort.
17343 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
17344 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
17345 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
17346 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
17347
17348 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
17349
17350 * config/t-freebsd: Do not override USER_H.
17351 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
17352
17353 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
17354 Mumit Khan <khan@xraylith.wisc.edu>
17355
17356 * c-parse.in (component_decl): Support anonymous struct/union.
17357 (%expect): Update.
17358 * c-parse.y: Regenerate.
17359 * c-parse.c: Likewise.
17360 * objc/objc-parse.y: Likewise.
17361 * objc/objc-parse.c: Likewise.
17362 * c-decl.c (finish_struct): Don't sort the fields.
17363 (field_decl_cmp): Delete unused function.
17364
17365 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
17366
17367 * sparc.md (movsf_const_intreg): Revert last constraint change.
17368 (movdf_const_intreg_sp32): Likewise.
17369
17370 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
17371
17372 * cse.c: Include hashtab.h instead of splay-tree.h
17373 (struct cse_reg_info): No longer use variant union. Add new
17374 field "regno". All references changed to avoid union.
17375 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
17376 (free_cse_reg_info): Remove.
17377 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
17378 (get_cse_reg_info): Revamp to use expandable hash tables instead
17379 of splay trees. Initialize new fields in cse_reg_info structure.
17380 (new_basic_block): Similarly.
17381
17382 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
17383
17384 * genrecog.c (message_with_line): Prototype.
17385 (validate_pattern): Pass along the set for the dest, not a flag.
17386 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
17387 Check for PC/CC0 as sources.
17388 (nodes_identical): Check for children position match before
17389 allowing the combination.
17390
17391 * rtl.c (read_rtx): Track line number across \\\n.
17392
17393 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
17394
17395 * mips.h (SPECIAL_MODE_PREDICATES): New.
17396 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
17397 (movdi+1, movsi+1): Add output reload constraint.
17398 (casesi_internal): Likewise. Fix commentary.
17399 (return_internal): Use pmode_register_operand.
17400
17401 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
17402
17403 * 1750a.md (movstrqi): Add missing output reload constraint.
17404 (call_value): Likewise.
17405 * a29k.md (cpxxx patterns): Add missing match_operator mode.
17406 (jmpfdec): Add missing inout reload constraint.
17407 * elxsi.md (addsi patterns): Add missing output reload constraint.
17408 (move from sp): Use @ alternates.
17409 (call_value): No constraint on output.
17410 * fr30.md (movsi_pop): Add missing output reload constraint.
17411 (movsf_constant_store): Likewise.
17412 (splits): Remove constraints.
17413 (subsi3): Add missing mode.
17414 * i370.md (cmpstrsi+1): Add missing output reload constraint.
17415 (call_value): Likewise.
17416 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
17417 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
17418 * m32r.md (movsicc_internal): Add output reload constraint.
17419 (movstrsi_internal): Add inout reload constraints.
17420 * m88k.h (reg_names): Don't declare.
17421 (SPECIAL_MODE_PREDICATES): New.
17422 * m88k.md (*): Use register_operand not reg_or_0_operand
17423 on destinations.
17424 * mn10200.h (PREDICATE_CODES): New.
17425 * ns32k.md (ffs pattern): Add output reload constraint.
17426 * pdp11.md (sob pattern): Add inout reload constraint.
17427 * sh.md (splits): Remove constraints.
17428 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
17429 * v850.md (pattern_is_ok_for_epilogue): Likewise.
17430 * vax.md (jgequ pattern): Add inout reload constraint.
17431
17432 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
17433
17434 * configure.in (djgpp): Revert previous patch.
17435 * configure: Rebuit.
17436 * config/i386/djgpp.h: Revert previous patch.
17437
17438 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
17439
17440 * fixinc/inclhack.def: Restore patch lost during last merge of
17441 "no_bogosity" branch.
17442 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
17443
17444 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
17445
17446 * fixincludes: Add a HPUX 11 fix for inttypes.h.
17447 * fixinc/inclhack.def: Same.
17448 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
17449
17450 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
17451
17452 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
17453 as the base of a PLUS.
17454
17455 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17456
17457 * config/c4x/c4x.md: Define mode for remaining unspec operators.
17458 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
17459
17460 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
17461
17462 * pa.md (post_stw+1): Use pmode_register_operand.
17463 (dcacheflush, icacheflush): Likewise.
17464
17465 * i386.md (movstricthi_1): Allow r/r.
17466
17467 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
17468
17469 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
17470 to (not (and (arg0) (arg1))). Similary for and.
17471
17472 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
17473 fallthrough to associate code.
17474 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
17475 bits in common.
17476
17477 * combine.c (simplify_logical): Convert XOR to IOR if operands have
17478 no bits in common; remove XOR to ROTATE conversion.
17479
17480 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17481
17482 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
17483
17484 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17485
17486 * config/c4x/c4x.c (dst_operand): New.
17487 (PREDICATE_CODES): Update.
17488 * config/c4x/c4x.h (dst_operand): Declare it.
17489 * config/c4x/c4x.md: Define mode for each unspec usage.
17490 (move patterns): Use dst_operand predicate instead of src_operand.
17491 (movqi_update, movqf_update): Delete.
17492
17493 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
17494
17495 * recog.c (pmode_register_operand): New.
17496 * recog.h: Declare it.
17497 * genrecog.c (pred_codes): Likewise.
17498 (special_mode_pred_table): Likewise.
17499 (validate_pattern): Don't warn no mode for address_operand.
17500
17501 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
17502 if the operand is not insn-like.
17503
17504 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
17505 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
17506
17507 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
17508
17509 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
17510
17511 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
17512 instead of general_operand in a SET_DEST. Use const_double_operand
17513 instead of an explicit test against CONST_DOUBLE.
17514 (movsf_const_lo): Add missing register mode.
17515 (goto_handler_and_restore): Add auxiliary test for Pmode.
17516 (flush): Adjust to use address_operand.
17517 (return_sf_no_fpu): Add missing output constraint.
17518
17519 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
17520
17521 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
17522 for call return value.
17523 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
17524
17525 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
17526
17527 * toplev.c (main): Only warn about options for other languages.
17528 * collect2.c (main): Pass -w to sub-gcc.
17529
17530 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
17531
17532 * flow.c (propagate_block): Add call-clobbered registers to
17533 significant too.
17534
17535 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
17536 zapping mem_set_list.
17537 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
17538 (mark_set_1, mark_used_regs): Likewise.
17539
17540 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
17541
17542 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
17543
17544 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
17545
17546 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
17547 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
17548 options. Also add a new item "C-only Warning Options" to the
17549 option summary.
17550
17551 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
17552
17553 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
17554 from multiple calls.
17555
17556 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
17557
17558 * i386.md (call value patterns): Move to the end of the file.
17559 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
17560
17561 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
17562
17563 * configure.in (djgpp configuration): Define extra_objects..
17564 * configure: Rebuilt.
17565 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
17566 (DTORS_SECTION_ASM_OP): Define.
17567 (INIT_SECTION_ASM_OP): Define.
17568 (FINI_SECTION_ASM_OP): Define.
17569 (DATA_SECTION_ASM_OP): Define.
17570 (TEXT_SECTION_ASM_OP): Define.
17571 (EH_FRAME_SECTION_ASM_OP): Define.
17572 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
17573 (STARTFILE_SPEC): Add crtbegin.o.
17574 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
17575 to here from LINK_COMMAND_SPEC.
17576 (DO_GLOBAL_CTORS_BODY): Define.
17577 (CRTSTUFF_USE_FINI_SECTION): Define
17578 (HAS_INIT_SECTION): Delete.
17579
17580 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
17581
17582 * Makefile.in (all.cross): Depend on xcpp$(exeext).
17583
17584 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
17585
17586 * pa.h (PREDICATE_CODES): New.
17587
17588 * genrecog.c (validate_pattern): Condense the destination
17589 non-lvalue message.
17590
17591 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
17592
17593 * alpha.md (call-1): Supply missing mode for operator.
17594 (*): Add missing output reload constraints. Remove constraints
17595 from define_splits.
17596
17597 * i386.h (SPECIAL_MODE_PREDICATES): New.
17598 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
17599 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
17600 (addsi_lea_3): Add missing mode for op 3.
17601 (prologue_set_got, prologue_get_pc): Add missing modes.
17602 (*) Add missing output reload constraints.
17603
17604 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
17605
17606 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
17607 check for member bit-size overflow and use var_size if it occurs.
17608 (layout_record): Use bitsize_int() to define the type size in bits.
17609 Likewise for computation and assignment to DECL_FIELD_BITPOS.
17610 (layout_decl): Likewise when assigning to DECL_SIZE.
17611
17612 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
17613
17614 * genrecog.c (validate_pattern): Typo last change. Verify
17615 that output operands have output reloads.
17616
17617 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
17618
17619 * genrecog.c (special_mode_pred_table): New.
17620 (NUM_SPECIAL_MODE_PREDS): New.
17621 (find_operand): New.
17622 (validate_pattern): New argument `insn'. Warn for assignment to
17623 any predicate accepting non-lvalues. Conditionaly warn for
17624 match_operand without a mode. Try much harder to match source
17625 and destination modes on a set.
17626 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
17627
17628 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
17629
17630 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
17631
17632 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
17633
17634 * combine.c (simplify_logical): Recognize xor pattern that encodes
17635 rotation.
17636
17637 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17638
17639 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
17640 alignment.
17641
17642 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
17643
17644 * ggc-page.c (MAP_FAILED): Provide default.
17645
17646 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
17647
17648 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
17649 * sparc.h (PREDICATE_CODES): Update.
17650
17651 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
17652
17653 * alpha.c (some_ni_operand): New.
17654 * alpha-protos.h: Declare it.
17655 * alpha.h (PREDICATE_CODES): Update.
17656 * alpha.md (sXaddq reload insns): Use some_ni_operand
17657 for SET_DEST instead of some_operand.
17658
17659 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
17660 Jim Wilson <wilson@cygnus.com>
17661
17662 * genrecog.c (maybe_both_true_2): Don't compare modes of
17663 two DT_pred tests.
17664 (process_tree): Elide peephole2_insns. Invoke simplify_tests
17665 after find_afterward.
17666 (debug_decision_1): Dump next and afterward codes.
17667
17668 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
17669
17670 * rtl.c (dump_and_abort): Remove.
17671 (fatal_with_file_and_line): New.
17672 (fatal_expected_char): New.
17673 (read_rtx_lineno, read_rtx_filename): New.
17674 (read_skip_spaces): Track line number.
17675 (read_name): Use fatal_with_file_and_line.
17676 (read_rtx): Use fatal_expected_char. Track line number.
17677 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
17678
17679 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
17680 if it isn't a CODE_LABEL.
17681
17682 * genattr.c (main): Set read_rtx_filename.
17683 * genattrtab.c (main): Likewise.
17684 * gencodes.c (main): Likewise.
17685 * genconfig.c (main): Likewise.
17686 * genemit.c (main): Likewise.
17687 * genextract.c (main): Likewise.
17688 * genflags.c (main): Likewise.
17689 * genopinit.c (main): Likewise.
17690 * genoutput.c (main): Likewise.
17691 * genpeep.c (main): Likewise.
17692
17693 * genrecog.c (decision_test.u.insn): Add `lineno'.
17694 (pattern_lineno, error_count): New variables.
17695 (message_with_line): New.
17696 (add_to_sequence): Break out checking code to ...
17697 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
17698 (merge_insn): Use message_with_line.
17699 (make_insn_sequence): Use validate_pattern. Record insn lineno.
17700 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
17701
17702 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17703
17704 * expr.c (store_constructor): Clear union if constructor is empty.
17705
17706 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
17707
17708 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
17709 Add !endian checks. Change %{...} to %(...).
17710
17711 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
17712
17713 * i386.md (*addsi3_cc): Renamed from addcsi3.
17714 (*addsi3_carry): Renamed from addxsi3.
17715 (*subsi3_cc): Renamed from subcsi3.
17716 (*subsi3_carry): Renamed from subxsi3.
17717 (*xorqi_cc_1): Renamed from xorcqi_1.
17718 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
17719 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
17720
17721 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
17722
17723 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
17724 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
17725
17726 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
17727
17728 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
17729 climb up the chain of insns.
17730
17731 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
17732
17733 * genrecog.c (write_subroutine): Careful for null trees.
17734 (process_tree): Don't elide empty functions.
17735
17736 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
17737
17738 * Makefile.in (genrtl.o): Depend on ggc.h.
17739 * configure.in (valloc): Probe for it.
17740 (with-gc): Use ggc-page if valloc present.
17741 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
17742 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
17743 (ggc_alloc_string): Moved from ggc-page.c.
17744 * ggc-none.c (ggc_alloc_obj): New.
17745 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
17746 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
17747 (struct globals): Likewise for dev_zero_fd.
17748 (init_ggc): Likewise for it's initialization.
17749 (ggc_allocated_p): Move careful dereference from ...
17750 (ggc_lookup_page_table): ... here. Delete.
17751 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
17752 (alloc_anon): Use valloc if no mmap.
17753 (release_pages): Use free if using valloc.
17754 (ggc_alloc_obj): Renamed from alloc_obj.
17755 (ggc_set_mark): Renamed from mark_obj.
17756 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
17757 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
17758 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
17759 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
17760 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
17761 (ggc_collect): Use fp printing instead of our own rounding.
17762 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
17763 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
17764 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
17765 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
17766 (struct ggc_string, struct ggc_any): Delete.
17767 (offsetof): Provide default definition.
17768 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
17769 (PTR_KEY): New.
17770 (struct ggc_mem): New, from corpse of ggc_any.
17771 (struct ggc_status): Delete.
17772 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
17773 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
17774 (n_strings_collected, n_anys_collected): Delete.
17775 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
17776 (ggc_alloc_string, ggc_alloc): Delete.
17777 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
17778 (ggc_free_string, ggc_free_any): Delete.
17779 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
17780 (ggc_compare_addresses, ggc_mark_string): Delete.
17781 (ggc_mark_string_if_gcable, ggc_mark): Delete.
17782 (search_data): Delete.
17783 (struct globals): New.
17784 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
17785 (tree_insert, tree_lookup): New.
17786 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
17787 (clear_marks, sweep_objs): New.
17788 (ggc_collect): Gut. Use clear_marks, sweep_objs.
17789 (init_ggc): Set allocated_last_gc.
17790 (ggc_push_context): Gut. Use G.context.
17791 (ggc_pop_context): Likewise.
17792 (ggc_pop_context_1): New.
17793 (debug_ggc_tree): New.
17794 (debug_ggc_balance, tally_leaves): New.
17795 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
17796 (ggc_mark_string_if_gcable): Remove decl.
17797 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
17798 (ggc_mark_rtvec_children): New.
17799 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
17800 (ggc_mark_if_gcable): New decl.
17801 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
17802 (ggc_alloc_tree, ggc_alloc): Likewise.
17803 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
17804 (ggc_alloc_obj): New decl.
17805 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
17806 (ggc_alloc_tree, ggc_alloc): Likewise.
17807 (ggc_set_mark): New decl.
17808 * rtl.h (struct rtx_def): Remove gc_mark.
17809 (struct rtvec_def): Likewise.
17810 * tree.h (struct tree_common): Likewise.
17811
17812 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
17813
17814 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
17815 float_format and thread_file definitions.
17816 * configure: Rebuilt.
17817
17818 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
17819
17820 * extend.texi (Function Names): Document types of function names.
17821
17822 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17823
17824 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
17825 an earlyclobbered output conflict with RELOAD_INPUT reloads.
17826
17827 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17828
17829 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
17830
17831 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17832
17833 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
17834
17835 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
17836
17837 * collect2.c (main): Do prelimnary link on AIX if rflag.
17838
17839 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
17840
17841 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
17842 __CTOR_LIST__ in opposite order, which is the correct order for sorted
17843 constructors.
17844 (__do_global_dtors): similarly for __DTOR_LIST__.
17845
17846 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17847 Diego Novillo <dnovillo@cygnus.com>
17848
17849 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
17850 FPUL_REGS.
17851
17852 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
17853
17854 * fixincl/*: Merged "no_bogosity" branch
17855 * fixincl/fixlib.h: protect against doubly defining t_bool
17856 * fixincl/server.h: protect against doubly defining t_bool
17857
17858 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
17859
17860 * genoutput.c: Include toplev.h.
17861
17862 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
17863
17864 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
17865 Undef.
17866 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
17867 * configure: Regenerate.
17868
17869 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
17870
17871 * gcse.c (delete_null_pointer_checks): Returns void.
17872
17873 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17874
17875 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
17876 * emit-rtl.c (copy_insn_1): Likewise.
17877
17878 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
17879
17880 * config/mips/mips.c (mips_build_va_list): Correct
17881 TREE_CHAIN setting when hard-float.
17882 (mips_va_start): Use corrected setting.
17883 (mips_va_arg): Likewise. Also pass a tree to build of
17884 POSTINCREMENT_EXPR rather than a naked 'int'.
17885
17886 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
17887
17888 * ggc.h (ggc_push_context): Fix comment.
17889 (ggc_pop_context): Likewise.
17890 (mark_string_if_gcable): Likewise.
17891 * ggc-common.c (ggc_mark_rtx_children): Use
17892 ggc_mark_string_if_gcable.
17893 * ggc-page.c (ggc_lookup_page_table): New function.
17894 (ggc_allocated_p): Likewise.
17895 (mark_obj): Fix formatting.
17896 (ggc_mark_string_if_gcable): New function.
17897 * ggc-simple.c (ggc_allocated_strings): New variable.
17898 (ggc_strings_used): Likewise.
17899 (ggc_compare_addresses): New function.
17900 (ggc_pop_context): Pop the `any' memory too.
17901 (ggc_mark_string_if_gcable): New function.
17902 (ggc_collect): Initialize and tear down ggc_allocated_strings.
17903
17904 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
17905
17906 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
17907 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
17908 * rs6000.c (expand_block_move): Match movstrsi_?reg register
17909 changes.
17910
17911 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
17912
17913 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
17914 (sched_reg_live_length, sched_reg_basic_block): Delete.
17915 (current_block_num, bb_live_regs, old_live_regs): Delete.
17916 (dead_notes, struct sometimes): Delete.
17917 (sched_note_set, birthing_insn_p): Delete.
17918 (adjust_priority): Gut useless reg lifetime code.
17919 (create_reg_dead_note, attach_deaths): Delete.
17920 (attach_deaths_insn, new_sometimes_live): Delete.
17921 (finish_sometimes_live): Delete.
17922 (find_pre_sched_live, find_post_sched_live): Delete.
17923 (update_reg_usage): Delete.
17924 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
17925 (schedule_insns): Delete reg lifetime code.
17926 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
17927 (unlink_other_notes): Adjust REG_NOTE commentary.
17928 (reemit_notes): Use REG_SAVE_NOTE.
17929 (schedule_block): Likewise.
17930 (schedule_region): Allocate bitmap of blocks in region. Use
17931 count_or_remove_death_notes. Use update_life_info.
17932
17933 * rtl.h (REG_SAVE_NOTE): New.
17934 * rtl.c (reg_note_name): Update.
17935
17936 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
17937
17938 * combine.c (refresh_blocks, need_refresh): New.
17939 (combine_instructions): Allocate refresh_blocks. Invoke
17940 update_life_info if needed.
17941 (distribute_notes): Mark refresh_blocks instead of installing
17942 USE insns.
17943 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
17944 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
17945
17946 * Makefile.in (recog.o): Depend on basic-block.h.
17947
17948 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
17949
17950 * genrecog.c (add_to_sequence): Thinko last change: delete
17951 shadowing allow_const_int variable.
17952
17953 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17954
17955 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
17956 __GNUC__ and __GNUC_MINOR__.
17957
17958 * gansidecl.h: Likewise.
17959
17960 * rtl.c: Likewise.
17961
17962 * rtl.h: Likewise.
17963
17964 * toplev.h: Likewise.
17965
17966 * tree.c: Likewise.
17967
17968 * tree.h: Likewise.
17969
17970 * varray.c: Likewise.
17971
17972 * varray.h: Likewise.
17973
17974 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17975
17976 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
17977 use one before a jump table.
17978
17979 * rtl.def (ADDRESS): Change documentation to match reality.
17980 * md.texi: Don't document it.
17981 * gmicro.md (load address pattern): Use 'p' constraint, delete use
17982 of ADDRESS rtx.
17983
17984 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
17985
17986 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
17987
17988 * genrecog.c (add_to_sequence): Move allow_const_int test outside
17989 known predicate block; default allow_const_int true.
17990 (debug_decision_list): New.
17991
17992 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
17993
17994 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
17995
17996 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
17997
17998 * gcse.c (gcse_main): Avoid global optimizations if we have a
17999 large number of basic blocks and the ratio of edges to blocks
18000 is high.
18001 (delete_null_pointer_checks): Likewise.
18002
18003 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
18004
18005 * c-common.c (check_format_info): Warn if format string isn't a
18006 string literal.
18007
18008 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
18009
18010 * configure.in (arm*-*-*): Don't let autoconf remove brackets
18011 * configure: regenerate
18012
18013 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
18014
18015 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
18016 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
18017 (peepholes): Re-enable.
18018
18019 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
18020
18021 * Makefile.in (flow.o): Depend on TREE_H.
18022 * basic-block.h (REG_SET_EQUAL_P): New.
18023 (XOR_REG_SET): New.
18024 (n_edges): Declare.
18025 (free_regset_vector): Remove declaration.
18026 (flow_delete_insn_chain): Declare.
18027 (enum update_life_extent): New.
18028 (update_life_info, count_or_remove_death_notes): Declare.
18029 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
18030 Verify register live at bb->global_live_at_start before adding USE.
18031 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
18032 (CLEAN_ALLOCA): New.
18033 (n_edges): New.
18034 (PROP_*): New flags.
18035 (find_basic_blocks_1): Use alloc_EXPR_LIST.
18036 (clear_edges): Zero n_edges.
18037 (make_edge): Increment n_edges.
18038 (split_edge): Don't allocate bb->local_set. Increment n_edges.
18039 (flow_delete_insn_chain): Export.
18040 (delete_block): Decrement n_edges.
18041 (merge_blocks_nomove): Likewise.
18042 (life_analysis): Give life_analysis_1 PROP flags.
18043 (verify_wide_reg_1, verify_wide_reg): New.
18044 (verify_local_live_at_start): New.
18045 (update_life_info): Rewrite to call into propogate_block.
18046 (mark_reg): New.
18047 (mark_regs_live_at_end): After reload, if epilogue as rtl,
18048 always mark stack pointer. Conditionally mark PIC register.
18049 After reload, mark call-saved registers, return regsiters.
18050 (life_analysis_1): Accept PROP flags not remove_dead_code.
18051 Call mark_regs_live_at_end before zeroing regs_ever_live.
18052 Use calculate_global_regs_live. Copy global_live_at_end before
18053 calling final propagate_block. Zero reg_next_use on exit.
18054 (calculate_global_regs_live): New.
18055 (allocate_bb_life_data): Don't allocate bb->local_set.
18056 (init_regset_vector, free_regset_vector): Remove.
18057 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
18058 Test flags before every operation. Warn if prologue/epilogue insn
18059 would have been deleted.
18060 (mark_set_regs, mark_set_1): Accept and use FLAGS.
18061 Use alloc_EXPR_LIST.
18062 (mark_used_regs): Accept and use FLAGS, not FINAL.
18063 Remove special handling for RETURN.
18064 (try_pre_increment): Use alloc_EXPR_LIST.
18065 (dump_flow_info): Dump n_edges.
18066 (unlink_insn_chain, split_hard_reg_notes): Remove.
18067 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
18068 (find_insn_with_note, new_insn_dead_notes): Remove.
18069 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
18070 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
18071 (replace_insns): Remove.
18072 (count_or_remove_death_notes): New.
18073 (verify_flow_info): Abort on error after all checks.
18074 (remove_edge): Decrement n_edges.
18075 (remove_fake_edges): Tweak format.
18076 * haifa-sched.c (schedule_insns): Use split_all_insns.
18077 * output.h (update_life_info): Remove declaration.
18078 * recog.c (split_all_insns): From the corpse of split_block_insns,
18079 do the whole function block by block. Use update_life_info.
18080 (recog_last_allowed_insn): New.
18081 (recog_next_insn): Mind it.
18082 (peephole2_optimize): Set it. Walk backwards through blocks.
18083 Use update_life_info.
18084 * rtl.h (update_flow_info, replace_insns): Remove declarations.
18085 (split_all_insns): Declare.
18086 * toplev.c (rest_of_compilation): Thread prologue before flow2.
18087 Use split_all_insns.
18088
18089 * i386.md (or -1 peep2s): Disable.
18090
18091 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
18092
18093 * config/mips/mips.md (movstrsi+[123]) : Combine these into
18094 a single pattern. Scrap the 'd' versions as unnecessary.
18095
18096 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
18097 tablejump_mips162,tablejump_internal4): The operands to a
18098 label_ref must be VOIDmode.
18099
18100 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18101
18102 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
18103
18104 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
18105
18106 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
18107
18108 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
18109
18110 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
18111 cache every function if ggc_p.
18112
18113 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18114
18115 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
18116 instead of copy_rtx. Accept sequences that contain asm statements.
18117 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
18118 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
18119 orig_asm_operands_vector, copy_asm_operands_vector,
18120 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
18121 variables.
18122 * rtl.h (copy_insn, copy_insn_1): Declare.
18123
18124 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18125
18126 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
18127
18128 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
18129 arguments to `current_file_function_operand'.
18130
18131 * genrecog.c: Include hard-reg-set.h and resource.h in the
18132 generated output file.
18133
18134 * real.c: Include tm_p.h.
18135
18136 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18137
18138 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
18139 output operand.
18140
18141 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
18142
18143 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
18144 before the fctiwz insn.
18145
18146 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18147 Mark Mitchell <mark@codesourcery.com>
18148
18149 * tree.c (make_lang_type_fn): New funtion pointer.
18150 (make_lang_type): Call it.
18151 * tree.h (make_lang_type): Declare.
18152 (make_lang_type_fn): Likewise.
18153 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
18154
18155 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
18156
18157 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
18158 make sure that HIGH instructions are copied into BASE_REGS.
18159
18160 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
18161
18162 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
18163
18164 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
18165
18166 * c-decl.c (finish_struct): Use simpler method of
18167 removing elements of a singly-linked list.
18168
18169 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
18170
18171 * alpha.md (peephole2's): Comment out peephole2's that generate
18172 buggy code.
18173
18174 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
18175
18176 * genrecog.c (add_to_sequence): Disable mode check for
18177 wildcard matches.
18178
18179 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18180
18181 * ggc-simple.c (init_ggc): Set empty_string.
18182
18183 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
18184
18185 * configure.in: Detect mmap. Add --with-gc=foo to select
18186 garbage collector; default to page if mmap available.
18187 * Makefile.in (GGC): Substitute.
18188
18189 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
18190
18191 * c-decl.c (ggc_p): Enable.
18192
18193 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18194
18195 * flow.c (verify_flow_info): Make it extern & unconditionally define.
18196
18197 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
18198
18199 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
18200 string for little-endian-data.
18201
18202 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
18203
18204 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
18205 case somebody tries to compile --enable-checking code with gcc
18206 1.34 or such.
18207
18208 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
18209
18210 * genrecog.c (add_to_sequence): Verify operand to label_ref is
18211 VOIDmode.
18212
18213 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
18214
18215 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
18216 * jump.c (jump_optimize_1): Document why.
18217
18218 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18219
18220 * collect2.c (scan_prog_file, scan_libraries): Prototype function
18221 pointers and casts for `int_handler' and `quit_handler'.
18222
18223 * flow.c (verify_flow_info, split_hard_reg_notes,
18224 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
18225 remove_edge, remove_fake_successors): Add static prototypes.
18226 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
18227 (mark_set_1): Initialize variable `regno'.
18228 (unlink_insn_chain): Likewise for variable `curr'.
18229 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
18230
18231 * loop.c (strength_reduce): Initialize variable
18232 `unrolled_insn_copies'.
18233 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
18234 prototypes. Change these functions to take const PTR parameters
18235 to avoid prototype conflict when used as the comparson argument
18236 for qsort.
18237 (check_dbra_loop): Initialize variable `comparison_val'.
18238
18239 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
18240 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
18241 (find_valid_class): Initialize variable `best_class'.
18242 (find_reloads): Call memcpy, not bcopy.
18243
18244 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
18245 (hard_reg_use_compare): Don't needlessly cast away const.
18246 (reload_reg_class_lower): Likewise.
18247 (choose_reload_regs): Initialize variable `regno'.
18248
18249 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
18250
18251 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
18252
18253 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
18254
18255 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
18256 ({,d}discard): Add forward declarations. Declare parameter as
18257 unused.
18258 (main_without_main): Explicitly declare return type to be int.
18259 (memcpy): Properly declare.
18260
18261 * libgcc2.c (toplevel): If inhibit_libc is defined and not
18262 building the trampoline support, declare malloc, free, and
18263 atexit.
18264 (__clear_cache): Mark arguments as potentially unused.
18265
18266 * frame.c (toplevel): If inhibit_libc is defined, declare
18267 malloc and free.
18268
18269 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
18270
18271 * flow.c (make_edge): Accept an optional 2D bitmap in which
18272 to cache edge existence. Update all callers.
18273 (make_label_edge, make_eh_edge): Pass through the edge cache.
18274 (make_edges): Provide the cache.
18275
18276 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18277
18278 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
18279 a char*.
18280 (local_mbtowc): Change the type of variable `i' from int to size_t.
18281
18282 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
18283 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
18284
18285 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
18286
18287 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
18288 after other includes that define the appropriate types. Include
18289 tm_p.h for getting user prototypes.
18290 * ggc-callbacks.c (toplevel): Ditto.
18291 * ggc-none.c (toplevel): Ditto.
18292 * gcc-page.c (toplevel): Ditto.
18293 * ggc-simple.c (toplevel): Ditto.
18294
18295 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
18296 Jonathan Larmour <jlarmour@cygnus.co.uk>
18297
18298 * config/mips/mips.c (mips_move_2words): Split doubles if
18299 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
18300
18301 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
18302
18303 * genrecog.c (struct decision_test): New.
18304 (struct decision): Remove test-related members, sort the rest by size.
18305 (IS_SPLIT): Simplify.
18306 (new_decision, new_decision_test): New.
18307 (add_to_sequence): Use them. No special handling for args of
18308 non-MATCH codes.
18309 (maybe_both_true): Renamed from not_both_true; return sense changed.
18310 (maybe_both_true_1, maybe_both_true_2): New. Broken out
18311 of maybe_both_true and adjusted for decision_test.
18312 (position_merit): Remove.
18313 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
18314 (merge_accept_insn): New, broken out of merge_trees.
18315 (merge_trees): Use them. No special case for c_test; no node
18316 splitting; use test type instead of position_merit.
18317 (factor_tests): New.
18318 (simplify_tests): New.
18319 (break_out_subroutines): Don't write code now.
18320 (find_afterward): New.
18321 (write_afterward, write_switch, write_cond): New.
18322 (write_action, is_unconditional): New.
18323 (write_node): New. Use them.
18324 (write_tree_1): Rewrite. Use the new functions above.
18325 (write_tree): Remove afterward processing.
18326 (write_subroutine): Simplify function variant emission.
18327 (write_subroutines): New.
18328 (same_codes, clear_codes): Remove.
18329 (same_modes, clear_modes): Remove.
18330 (write_header): New, broken out of main.
18331 (make_insn_sequence): Use new_decision and new_decision_test.
18332 (process_tree): New, broken out of main.
18333 (main): Adjust for merge_trees interface change.
18334 Don't #define operands in the output file.
18335 (record_insn_name): New, broken out of make_insn_sequence.
18336 (debug_decision_2, debug_decision_1, debug_decision_0): New.
18337 (debug_decision): New.
18338
18339 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
18340
18341 * resource.c (find_free_register): Mark class_str argument const.
18342 * resource.h: Update prototype to match.
18343
18344 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
18345 * i386.md: Give all anonymous insns names.
18346
18347 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
18348
18349 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
18350 blocks.
18351
18352 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
18353
18354 * toplev.c (dbr_sched_time): Unconditional.
18355 (peephole2_time): New.
18356 (compile_file): Add pass numbers to all of the dump file suffixes.
18357 Dump peephole2_time. Don't dump times for non-applicable passes.
18358 (rest_of_compilation): Add pass numbers to dump file suffixes.
18359 Conditionalize calls to the scheduler.
18360 * invoke.texi: Update.
18361
18362 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
18363
18364 * flow.c (make_edges): Fix insn iteration.
18365 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
18366 (find_basic_blocks_1): Fix spelling mistake.
18367
18368 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
18369
18370 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
18371 always have side-effects. Use memset not bzero.
18372 (make_node): Likewise.
18373
18374 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
18375
18376 * stmt.c (expand_anon_union_decl): When any of the elements of the
18377 union is addressable, so is the entire union.
18378
18379 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
18380
18381 * sbitmap.c (sbitmap_ones): Don't set too many bits.
18382
18383 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
18384 * bitmap.c (bitmap_operation): Return true iff TO changed.
18385 (bitmap_equal_p): New.
18386 (bitmap_bit_p): Tidy arithmetic.
18387 (debug_bitmap_file): Likewise.
18388
18389 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
18390
18391 * toplev.c (rest_of_compilation): Turn on cse_not_expected
18392 before cse2 instead of after.
18393
18394 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
18395
18396 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
18397 register offsets.
18398
18399 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
18400
18401 * cppinit.c (is_idchar initializer): Loosen tests to accept
18402 gcc 2.>6 and >2.
18403
18404 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
18405
18406 * mips.md: Define conditional move patterns for floating point
18407 operands and DI mode conditions.
18408
18409 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
18410
18411 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
18412 always have side-effects.
18413
18414 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
18415
18416 * mn10200.c (asm_file_start): Fix typo.
18417
18418 * cppinit.c (is_idchar initializer): Tighten tests for when
18419 to put the table into initialized memory.
18420
18421 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
18422 not an array of rtunion.
18423 * gcc-page.c (ggc_alloc_rtvec): Similarly.
18424 * gcc-simple (ggc_free_rtvec): Similarly.
18425
18426 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
18427 of rtunions.
18428
18429 * mbchar.h: Add missing #endif.
18430
18431 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
18432 (FPBIT, DPBIT): Define.
18433
18434 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18435
18436 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
18437
18438 * profile.c (instrument_arcs, output_gcov_string,
18439 tablejump_entry_p): Add static prototypes.
18440 (output_gcov_string): Constify a char*.
18441
18442 * regmove.c (replacement_quality, fixup_match_2): Add static
18443 prototypes.
18444
18445 * resource.h (reg_dead_p): Add extern prototype.
18446
18447 * rtl.c (trim_filename): Add static prototype.
18448
18449 * scan-decls.c (skip_to_closing_brace): Likewise.
18450
18451 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
18452 (expand_end_case): Initialize variable `range'.
18453 (emit_case_nodes): Remove unused prototype `rtx_fn'.
18454
18455 * varasm.c (asm_emit_uninitialised): Add static prototype.
18456 (asm_emit_uninitialised, assemble_variable): Mark parameter with
18457 ATTRIBUTE_UNUSED.
18458
18459 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18460
18461 * cpplib.c (if_directive_nameo): Add static prototype.
18462
18463 * cse.c (cse_insn): Remove unused variable `p'.
18464
18465 * except.c (create_rethrow_ref, push_entry,
18466 receive_exception_label, new_eh_region_entry, find_func_region,
18467 clear_function_eh_region, process_nestinfo): Add static prototypes.
18468 (get_reg_for_handler): Hide definition.
18469 (process_nestinfo): Initialize variable `extra_handlers'.
18470
18471 * expr.h (expand_builtin_longjmp): Add extern prototype.
18472
18473 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
18474
18475 * function.c (prepare_function_start): Likewise.
18476 (pop_function_context_from): Mark parameter `context' with
18477 ATTRIBUTE_UNUSED.
18478 (push_temp_slots_for_block, flush_addressof): Hide definition.
18479
18480 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
18481 solve_program_flow_graph, calculate_branch_probs,
18482 function_summary, main, fancy_abort): Add prototypes.
18483
18484 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
18485 (add_hash): Constify a char*.
18486
18487 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
18488 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
18489 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
18490
18491 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
18492
18493 * lists.c (free_list, zap_lists): Likewise.
18494
18495 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18496
18497 * alias.c (nonlocal_reference_p): Add static prototype.
18498
18499 * bitmap.c (bitmap_element_allocate): Prototype args in function
18500 pointer cast.
18501
18502 * builtins.c (stabilize_va_list): Add static prototype.
18503 (expand_builtin_va_arg): Constify a char*.
18504
18505 * c-lex.c (getch, put_back, extend_token_buffer_to,
18506 read_line_number, token_getch, token_put_back): Add static
18507 prototypes.
18508
18509 * c-parse.gperf (hash, is_reserved_word): Likewise.
18510
18511 * cccp.c (is_dir_separator): Likewise.
18512
18513 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18514
18515 * graph.h: New file to prototype functions exported by graph.c.
18516
18517 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
18518
18519 * graph.c: Include graph.h.
18520
18521 * toplev.c: Likewise. Remove redundant prototypes.
18522
18523 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
18524
18525 * invoke.texi: Removed duplicated description for -Q.
18526
18527 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
18528
18529 * extend.texi: Grammar fix in __extension__ text.
18530
18531 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
18532
18533 * md.texi (define_peephole2): New section.
18534
18535 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
18536
18537 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
18538 (mov $-1 to or peepholer): Enable for pentium when optimizing for
18539 speed.
18540
18541 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
18542
18543 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
18544
18545 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
18546
18547 * i386.md (ffs expander): Emit Pentium friendly code for
18548 TARGET_PENTIUM.
18549
18550 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
18551
18552 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
18553 for non-trees.
18554 (build1): Likewise.
18555
18556 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18557
18558 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
18559
18560 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
18561
18562 * config/m68k/m68k.c (use_return_insn): Return false if the pic
18563 register is in use.
18564
18565 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18566
18567 * md.texi (No Constraints): Delete section.
18568 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
18569 * final.c (final_scan_insn): We always have register constraints.
18570 * genattrtab.c: Don't include "insn-config.h".
18571 (write_attr_case): We always have register constraints.
18572 * genconfig.c (register_constraint_flag): Delete.
18573 (walk_insn_part): Don't check whether we have register constraints.
18574 (main): Don't write out "#define REGISTER_CONSTRAINTS".
18575 * genoutput.c (have_constraints): Delete.
18576 (main): Don't set it.
18577 (output_operand_data): We always have constraints.
18578 (scan_operands): Likewise.
18579 (compare_operands): Likewise.
18580 * local-alloc.c (block_alloc): We always have constraints.
18581 (requires_inout): Always compile this function.
18582 * recog.c (extract_insn): We always have constraints.
18583 (constrain_operands, reg_fits_class_p): Always compile these
18584 functions.
18585 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
18586 fields.
18587 (struct insn_operand_data): Likewise.
18588 * regclass.c (regclass): We always have constraints.
18589 (record_reg_classes, copy_cost, record_address_regs,
18590 auto_inc_dec_reg_p): Always compile these functions.
18591 * regmove.c (regmove_optimize): We always have constraints.
18592 * reload.c (find_reloads): Likewise.
18593 * reload1.c (reload): Likewise.
18594 (reload_cse_simplify_operands): Likewise.
18595 * i860.c (output_delay_insn): Likewise.
18596
18597 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
18598
18599 * iris6.h (BUILD_VA_LIST_TYPE): Define.
18600
18601 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18602
18603 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
18604 for the va_list record.
18605
18606 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
18607
18608 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
18609 prologues.
18610
18611 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
18612
18613 * alias.c: Include insn-flags.h.
18614 * Makefile.in (alias.o): Update.
18615
18616 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
18617
18618 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
18619 to LTU and GEU. Handle more cases using sbb.
18620
18621 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
18622
18623 * i386.md (truncatexfdf splitters): Do not use subreg.
18624 (fop XFmode patterns): Fix mode in operand testing.
18625
18626 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
18627
18628 * jump.c (jump_optimize_1): Amend last change to test only the
18629 form of the operand, not the insn.
18630
18631 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
18632 not register_operand to determine when B may need preloading.
18633
18634 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
18635
18636 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
18637 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
18638 (call-value patterns): Move to end of file.
18639 (*): Remove mode from label_ref in (pc) context.
18640 (movstrqi): Use memory not general_operand for BLKmode operands.
18641 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
18642 to register_operand operands.
18643 (peep2 patterns): Convert from commented-out peephole patterns.
18644
18645 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18646
18647 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
18648 to BUILT_IN_INIT_DWARF_REG_SIZES.
18649 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
18650 Renamed from BUILT_IN_DWARF_REG_SIZE; call
18651 expand_builtin_init_dwarf_reg_sizes.
18652 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
18653 with __builtin_init_dwarf_reg_size_table.
18654 * dwarf2out.c (struct reg_size_range): Delete.
18655 (expand_builtin_init_dwarf_reg_sizes): New function.
18656 (expand_builtin_dwarf_reg_size): Delete.
18657 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
18658 (expand_builtin_dwarf_reg_size): Don't declare.
18659 * libgcc2.c (dwarf_reg_size_table_initialized): New.
18660 (dwarf_reg_size_table): New.
18661 (init_reg_size_table): New function.
18662 (copy_reg): Use dwarf_reg_size_table.
18663 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
18664 before use.
18665
18666 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
18667
18668 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
18669 Correctly build argument list to constructor and destructor functions.
18670
18671 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
18672
18673 * c-tree.h (warn_float_equal): Declare.
18674 * c-decl.c (warn_float_equal): Define.
18675 (c_decode_option): Recognize -W[no-]float-equal.
18676 * c-typeck.c (build_binary_op): Conditionally warn
18677 about equality tests of floating point types.
18678 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
18679 * invoke.texi: Add docs for -Wfloat-equal warning.
18680
18681 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
18682
18683 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
18684 generating RTL directly.
18685 * mips.h (INIT_TARGET_OPTABS): Likewise.
18686 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
18687
18688 * expr.h (init_mov_optab): Delete declaration
18689
18690 * h8300.c (WORD_REG_USED): Update to avoid useless register
18691 saves in interrupt functions and functions which never return.
18692
18693 * cse.c (struct set): Delete inner_dest_loc field.
18694 (cse_insn): Remove assignments to inner_dest_loc field.
18695
18696 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
18697
18698 * ggc-page.c: Don't include <unistd.h> etc taken care of
18699 by "system.h". Include <sys/mman.h> afterward.
18700
18701 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
18702
18703 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
18704 ggc_alloc_string.
18705
18706 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
18707
18708 * xcoffout.c (xcoffout_declare_function): Add documentation.
18709 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
18710 TARGET_64BIT. Compare constant to -1, not bit pattern.
18711 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
18712 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
18713 gen_movsi typos.
18714
18715 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
18716
18717 * dwarf2out.c (add_abstract_origin_attribute): Abort if
18718 origin_die is NULL.
18719 (gen_inlined_enumeration_type_die): Do not abort if the type has
18720 not been writeen out.
18721 (gen_inlined_structure_type_die): Do not abort if the type has
18722 not been writeen out.
18723 (gen_inlined_union_type_die): Do not abort if the type has
18724 not been writeen out.
18725 (gen_tagged_type_instantiation_die): Do not abort if the type
18726 has not been written out.
18727
18728 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18729
18730 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
18731 call it.
18732 * reg-stack.c (straighten_stack): Copy hard reg set with
18733 COPY_HARD_REG_SET.
18734
18735 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
18736
18737 * builtins.c (stabilize_va_list): Stabilize array type va_list
18738 to a pointer type, not the base record type.
18739 (expand_builtin_va_copy): Dereference the pointers explicitly;
18740 use the correct size for the copy.
18741
18742 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
18743 (rs6000_va_arg): Likewise.
18744
18745 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
18746
18747 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
18748
18749 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
18750
18751 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
18752 field.
18753 (DECL_BUILT_IN_CLASS): Adjust accordingly.
18754
18755 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
18756
18757 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
18758 (init_ggc): Use it instead of a constant.
18759 (ggc_collect): Bound allocated_last_gc by it.
18760
18761 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
18762
18763 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
18764 with va_list.
18765
18766 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
18767
18768 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
18769 (mips*-*-openbsd*): Let big endian configuration be a fragment.
18770 * configure: Regen.
18771 * config/mips/openbsd.h: New, OpenBSD little endian target.
18772 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
18773 * config/mips/xm-openbsd.h: New, OpenBSD host.
18774
18775 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
18776
18777 * config/m68k/m68k.c (output_function_prologue,
18778 output_function_epilogue): Use
18779 current_function_uses_pic_offset_table instead of regs_ever_live
18780 to decide whether to save/restore pic register.
18781 (legitimize_pic_address): Don't modify regs_ever_live any more.
18782
18783 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
18784
18785 * function.h (struct function): Add x_dont_save_pending_sizes_p.
18786 * stor-layout.c (variable_size): Don't add sizes to the pending
18787 sizes list if x_dont_save_pending_sizes_p is set.
18788
18789 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
18790
18791 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
18792 for symbolic_operand().
18793 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
18794
18795 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18796
18797 * combine.c (gen_rtx_combine): Add missing call to va_end().
18798
18799 * final.c (asm_fprintf): Likewise.
18800
18801 * genattrtab.c (attr_rtx): Likewise.
18802
18803 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
18804
18805 * cse.c: Update comments.
18806 (cse_insn): When converting a conditional/computed jump into
18807 an unconditional jump, always make sure a BARRIER immediately
18808 follows the converted jump. Do not delete unreachable code.
18809 (cse_basic_block): Do not delete unreachable code.
18810 * toplev.c (rest_of_compilation): Move call to
18811 delete_trivially_dead_insns after the conditional call to
18812 jump_optimize.
18813
18814 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18815
18816 * collect2.c (make_temp_file): Don't prototype.
18817
18818 * gcc.c (make_temp_file): Likewise.
18819
18820 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
18821
18822 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
18823
18824 * varasm.c (asm_emit_uninitialised): New function: Generate
18825 the assembler statements necessary to declare an uninitialised
18826 variable.
18827 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
18828 variable.
18829 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
18830 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
18831 section.
18832 (assemble_variable): Use asm_emit_uninitialised to emit an
18833 uninitialised variable.
18834
18835 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
18836
18837 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
18838 constant on a 64 bit host. Patch supplied by Geoffrey Keating
18839 <geoffk@cygnus.com>.
18840
18841 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18842
18843 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
18844 * c-common.h (builtin_function): Don't declare.
18845
18846 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
18847 DECL_BUILT_IN.
18848 (pushdecl): Likewise.
18849 (finish_decl): Likewise.
18850 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
18851 int. All callers changed.
18852 Set the builtin's DECL_BUILT_IN_CLASS.
18853 * tree.h (enum built_in_class): New.
18854 (enum built_in_function): Delete NOT_BUILT_IN.
18855 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
18856 in a union.
18857 (DECL_SET_FUNCTION_CODE): Likewise.
18858 (DECL_BUILT_IN_CLASS): New macro.
18859 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
18860 (struct tree_decl): Split builtin function code field into a
18861 struct.
18862 (builtin_function): Declare.
18863
18864 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
18865
18866 * optabs.c (init_traps): Fix typo in last change.
18867
18868 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
18869
18870 * toplev.c (rest_of_decl_compilation): Update comment.
18871
18872 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
18873
18874 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
18875 in .sbss if appropriate.
18876 (EXTRA_SECTION_FUNCTIONS): Add sbss.
18877 (SBSS_SECTION_ASM_OP): New macro.
18878 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
18879 (EXTRA_SECTIONS): Add in_sbss.
18880 * config/mips/mips.h: Prototype sbss_section.
18881
18882 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
18883
18884 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
18885 to disappear.
18886
18887 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
18888
18889 * optabs.c (init_traps): Register trap_rtx as a GC root.
18890
18891 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
18892
18893 * config/mips/mips.c (function_arg_pass_by_reference): Define
18894 unconditionally, since it's called unconditionally.
18895
18896 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
18897
18898 * toplev.c (documented_lang_options): Add -fshort-wchar.
18899 * c-decl.c (c_decode_option): Likewise.
18900 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
18901 for wchar_t.
18902 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
18903 * gcc.c (default_compilers): If -fshort-wchar,
18904 override __WCHAR_TYPE__.
18905 * tm.texi (C Dialect Options): Add -fshort-wchar.
18906
18907 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
18908 symbol for a variable.
18909
18910 * cpplib.h (CPP_PREPROCESSED): New macro.
18911 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
18912 we're seeing this input for a second time.
18913
18914 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
18915
18916 * emit-rtl.c (init_emit_once): Initialize modes first.
18917
18918 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
18919
18920 * config/i386/i386.c (pic_label_name): Change to char pointer.
18921 (global_offset_table): New variable.
18922 (load_pic_register): Fill global_offset_table if it hasn't
18923 already been done. Allocate pic_label_name dynamically.
18924 * ggc.h (empty_string): New variable.
18925 * ggc-simple.c (empty_string): Likewise.
18926 (init_ggc): Allocate empty_string and add as root.
18927 * stmt.c (digit_strings): New variable.
18928 (init_stmt): Add last_block_end_note as root. Allocate and
18929 initialize digit_strings.
18930 (expand_asm_operands): Use empty_string instead of string
18931 constant. Use digit_strings instead of string constants.
18932 * profile.c (init_arc_profiler): Allocate string with
18933 ggc_alloc_string instead of xmalloc.
18934 (output_func_start_profiler): Likewise.
18935 * c-typeck.c (digest_init): Check if init is error_mark_node.
18936
18937 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
18938 Richard Henderson <rth@cygnus.com>
18939
18940 * ggc-page.c: New file.
18941 * Makefile.in (ggc-page.o): New.
18942
18943 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
18944
18945 * invoke.texi: Document -fdelete-null-pointer-checks
18946 * toplev.c (flag_delete_null_pointer_checks): New.
18947 (f_options): Add entry for -fdelete-null-pointer-checks.
18948 (rest_of_compilation): Conditionalize null pointer check
18949 elimination on flag_delete_null_pointer_checks.
18950 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
18951
18952 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
18953
18954 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
18955 copyright notice and special exception to GPL.
18956
18957 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18958
18959 * abi64.h (mips_function_value): Add prototype arguments.
18960
18961 * mips-protos.h: New file with mips prototypes.
18962
18963 * mips.c: Include "tm_p.h".
18964 (mktemp, lookup_name): Add prototype arguments.
18965 (extern_list, string_constant, mips_fill_delay_slot,
18966 mips_output_external, mips_output_external_libcall,
18967 mips_output_filename, mips_declare_object, function_prologue,
18968 mips_expand_prologue, function_epilogue, mips16_constant,
18969 build_mips16_function_stub, mips_output_conditional_branch):
18970 Constify a char*.
18971 (mips_va_start): Remove unused variable `u'.
18972 (mips_va_arg): Cast value to unsigned when comparing against one.
18973 (trace): Delete.
18974 (save_restore_insns, mips_expand_prologue): Add missing arg in
18975 call to `large_int'.
18976
18977 * mips.h: Move prototypes to mips-protos.h.
18978 (data_section, memory_address_p, rdata_section,
18979 readonly_data_section, simple_epilogue_p, text_section): Delete
18980 prototypes delcared elsewhere.
18981 (mips_epilogue_delay_slots, print_options): Delete unused decls.
18982 (trace): Delete.
18983 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
18984
18985 * mips.md: Delete extra args in call to `mips_move_2words'.
18986
18987 * xm-iris6.h (alloca): Add prototype argument.
18988
18989 * genpeep.c: Include "tm_p.h" in generated output file.
18990
18991 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
18992
18993 * basic-block.h (find_edge_index): Change parameters.
18994 * flow.c (verify_edge_list): Pass basic_block parameters to
18995 find_edge_index instead of integers.
18996
18997 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
18998
18999 * combine.c (simplify_comparison): Use an unsigned shift to adjust
19000 the constant.
19001
19002 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
19003
19004 * gcc.1: Fix a formatting error.
19005
19006 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
19007
19008 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
19009 i786, mn10200, mn10300, pdp11, v850.
19010
19011 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
19012
19013 * libgcc2.c (num_digits): Add prototype with
19014 __attribute__((const)).
19015 (__terminate): Add prototype.
19016
19017 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
19018
19019 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
19020
19021 * alpha/alpha.c (print_operand): Fix type of `code'.
19022 (alpha_output_filename): Constify.
19023 * alpha/alpha.h: Move all function declarations ...
19024 * alpha/alpha-protos.h: ... here. New file.
19025 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
19026 (SECTION_FUNCTION_TEMPLATE): Likewise.
19027
19028 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19029
19030 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
19031 * expr.c (expand_expr): Likewise.
19032 (do_jump): Likewise.
19033 (do_store_flag): Pass ccp_store_flag to can_compare_p.
19034 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
19035 accessor macros.
19036 (enum can_compare_purpose): New.
19037 (can_compare_p): Adjust prototype.
19038 (prepare_cmp_insn, prepare_operand): Declare.
19039 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
19040 * optabs.c (cmp_available_p): Deleted.
19041 (expand_abs): Pass ccp_jump to can_compare_p.
19042 (can_compare_p): New arg PURPOSE. Check for combined optabs.
19043 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
19044 Call can_compare_p rather than cmp_available_p.
19045 (prepare_operand): No longer static.
19046 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
19047 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
19048 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
19049 sequence to use emit_cmp_and_jump_insns.
19050 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
19051
19052 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
19053
19054 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
19055 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
19056 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
19057 (plus (reg) (const_int 0))
19058 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
19059
19060 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
19061
19062 * rs6000.c (expand_block_move): DImode loads and stores require
19063 word-aligned displacements. Increment address registers with
19064 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
19065
19066 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
19067
19068 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
19069 is no name for the base type, rather than segfault. If we are
19070 writing out a complex integer type, use DW_ATE_lo_user.
19071
19072 * expr.c (emit_move_insn_1): If we are copying a complex that fits
19073 in one word or less (complex char, complex short, or on 64 bit
19074 systems complex float) to/from a hard register, copy it through
19075 memory instead of dying in gen_{real,imag}part. If we have a
19076 short complex type, prevent inlining since it allocates stack
19077 memory.
19078
19079 * tree.c (build_complex_type): If we are writing dwarf2 output,
19080 generate a name for complex integer types.
19081
19082 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
19083
19084 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
19085 * flow.c (remove_edge): Remove extra whitespace.
19086 (remove_fake_edges): Fix comment.
19087 (add_noreturn_fake_exit_edges): Use the correct name.
19088
19089 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
19090
19091 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
19092 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
19093 (clean): Depend on INTL_CLEAN.
19094 (maintainer-clean): Adjust.
19095
19096 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19097
19098 * configure.in (AC_PREREQ): Bump to 2.13.
19099 (AC_C_STRINGIZE): Call this instead of using a custom macro.
19100
19101 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
19102
19103 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
19104
19105 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
19106
19107 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
19108 (HAVE_STRINGIZE): Define.
19109
19110 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
19111
19112 * c-parse.in: save and restore warn_pointer_arith on __extension__
19113 along with pedantic.
19114 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
19115 Set the type of extension to itype rather than $<itype>1 kludge.
19116 * extend.texi (Alternate Keywords): Adjust documentation.
19117 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
19118
19119 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
19120
19121 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
19122 most assembler templates.
19123
19124 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
19125 FP loads and stores.
19126 (following_call): Always return zero for the PA8000.
19127 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
19128 FP loads and stores.
19129 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
19130
19131 * pa.h (BRANCH_COST): Define.
19132
19133 * pa.md (return, return_internal): Use bve for PA2.0.
19134
19135 * pa.md (fused multiply): Add variants which reduce height for the
19136 fused multiply, but which still generate 2 insns.
19137 (fnegabs): Similarly.
19138
19139 * pa.md (subsi3): Turn into an expander. Create two anonymous
19140 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
19141 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
19142
19143 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
19144 for TARGET_PA_20.
19145 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
19146 code generation.
19147 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
19148 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
19149
19150 * regclass.c (init_regs): Add "top_of_stack" as a garbage
19151 collection root.
19152
19153 * flow.c (record_active_eh_regions): Terminate loop after finding
19154 the last insn in the last basic block.
19155
19156 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19157
19158 * config/c4x/c4x.md: Delete parallel instruction peepholes.
19159
19160 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19161
19162 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
19163
19164 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19165
19166 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
19167 splitting to not use output template.
19168
19169 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19170
19171 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
19172 * config/c4x/c4x.c (c4x_va_start): New function.
19173
19174 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
19175
19176 * genrecog.c (not_both_true): Handle correctly cases when called for
19177 tests with different positions in the insn.
19178
19179 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19180
19181 * machmode.h (HOST_PTR_PRINTF): Move from here ...
19182
19183 * system.h (HOST_PTR_PRINTF): ... to here.
19184
19185 * mips-tfile.c: Don't include machmode.h.
19186
19187 * Makefile.in (MACHMODE_H): New variable. Update to use it.
19188 (mips-tfile.o): Don't depend on machmode.h.
19189
19190 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19191
19192 * haifa-sched.c (sched_analyze): Rename local variable `region' to
19193 avoid conflicts with typedef struct `region' at the top level scope.
19194
19195 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
19196
19197 * basic-block.h (basic_block): Add eh_beg, eh_end.
19198 * flow.c (entry_exit_blocks): Update.
19199 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
19200 Call new functions.
19201 (find_basic_blocks_1): Don't record eh_list at each bb. Use
19202 lists.c functions to allocate insn lists.
19203 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
19204 edge creation ...
19205 (make_eh_edge): ... here. New.
19206 (move_stray_eh_region_notes): New.
19207 (record_active_eh_regions): New.
19208 (delete_unreachable_blocks): Split out block merging ...
19209 (try_merge_blocks): ... here. New.
19210 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
19211 Dump debugging data.
19212 (merge_blocks_move_successor_nojumps): Likewise.
19213 (merge_blocks): Use eh_beg+eh_end to validate block movement.
19214
19215 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
19216
19217 * extend.texi (Bound member functions): Document unbound pmf
19218 conversion.
19219
19220 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
19221
19222 * flow.c (split_edge): Handle insertion on a fallthrough edge which
19223 has the EXIT_BLOCK as a dest.
19224
19225 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
19226
19227 * flow.c (remove_edge): New function to remove an edge from the
19228 flow graph.
19229 (remove_fake_successors): New function to remove fake successor edges.
19230 (remove_fake_edges): New function to remove all fake edges from the
19231 flow graph.
19232 (add_fake_exit_edges): New function to add fake edges from all blocks
19233 with no successors to the exit block.
19234 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
19235 prototypes for new functions.
19236
19237 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
19238
19239 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
19240 Use Pmode to determine whether to output .dword or .word.
19241
19242 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
19243
19244 * tree.c (built_in_filename): New variable.
19245 (BUILT_IN_FILENAME): New macro.
19246 (init_tree_codes): Allocate built_in_filename.
19247 (make_node): Use built_in_filename instead of string constant.
19248
19249 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
19250
19251 * configure.in: Add fr30 target.
19252 * configure: Regenerate.
19253 * config/fr30: New directory.
19254 * config/fr30/crti.asm: New file.
19255 * config/fr30/fr30.c: New file.
19256 * config/fr30/crtn.asm: New file.
19257 * config/fr30/fr30.h: New file.
19258 * config/fr30/fr30.md: New file.
19259 * config/fr30/lib1funcs.asm: New file.
19260 * config/fr30/t-fr30: New file.
19261 * config/fr30/xm-fr30.h: New file.
19262
19263 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
19264
19265 * flow.c (merge_blocks_move_successor_nojumps): Delete the
19266 BARRIER at the end of the successor, not the BARRIER before
19267 the successor.
19268
19269 * pa.c (pa_add_gc_roots): Fix thinko in last change.
19270
19271 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
19272
19273 * stmt.c (any_pending_cleanups): Don't crash when
19274 current_function->stmt is unset.
19275
19276 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
19277
19278 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
19279 other initializations that may use it for relative offsets.
19280
19281 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
19282
19283 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
19284 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
19285 * config/i386/sol2dbg.h: Removed.
19286 * config/i386/sol2gas.h: New file, to enable gas work-around.
19287 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
19288 Don't use sol2dbg.h.
19289 * configure: Rebuilt.
19290
19291 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
19292
19293 * invoke.texi (-fthis-is-variable): Remove documentation.
19294
19295 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
19296
19297 * basic-block.h (compute_bb_for_insn): Declare.
19298 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
19299 to use; set size of basic_block_for_insn directly.
19300 (find_basic_blocks): Update.
19301
19302 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19303
19304 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
19305
19306 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19307
19308 * crtstuff.c (ON_EXIT): Delete empty macro definition.
19309 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
19310
19311 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
19312
19313 * c-decl.c (c_decode_option): Extend comment.
19314
19315 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
19316
19317 * toplev.c (progname): Make 'const char *'
19318 (flag_print_mem): Move out of main.
19319 (version_flag): Move out of main.
19320 (filename): Move out of main.
19321 (debug_args): Remove g prefix from options.
19322 (documented_lang_options): Remove cpplib specific options.
19323 (display_help): Add g prefix to debug options.
19324 (check_lang_option): Delete this function.
19325 (decode_d_option): New function: Decode -d... option.
19326 (decode_f_option): New function: Decode -f... option.
19327 (decode_W_option): New function: Decode -W... option.
19328 (decode_g_option): New function: Decode -g... option.
19329 (independent_decode_option): New function: Decode a language
19330 independent command line option.
19331 (main): Invoke lang_decode_option and then
19332 independent_decode_option on each command line option in
19333 turn.
19334
19335 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
19336
19337 Revert this change. Gavin's patch to operand_equal_p is a better fix.
19338 * fold-const.c (fold_range_test): Do not try to fold the range
19339 test if the rhs or lhs has side effects.
19340
19341 * basic-block.h (compute_flow_dominators): Declare.
19342
19343 * gcse.c (alloc_code_hoist_mem): New function.
19344 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
19345 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
19346 (hoist_code, one_code_hoisting_pass): Likewise.
19347 (gcse_main): If optimizing for size, then hoist expressions
19348 computed in multiple dominated basic blocks.
19349
19350 * gcse.c (invalid_nonnull_info): New function.
19351 (delete_null_pointer_checks): Likewise.
19352 * rtl.h (delete_null_pointer_checks): Declare.
19353 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
19354
19355 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
19356 (merge-blocks_move_successor_nojumps): Likewise.
19357 (merge_blocks): Allow merging of some blocks, even if it requires
19358 physical movement of the blocks, but not if it requires new jumps.
19359
19360 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
19361 Callers and prototype changed.
19362 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
19363
19364 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
19365
19366 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
19367 -YP when both -p and -pg are present. From i386/sol2.h.
19368
19369 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19370
19371 * Makefile.in (distclean): Delete tm_p.h.
19372 * configure.in: Create a new file, "tm_p.h", from a list in
19373 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
19374 "i386/i386-protos.h".
19375
19376 * alias.c: Include "tm_p.h".
19377 * c-typeck.c: Likewise.
19378 * calls.c: Likewise.
19379 * cse.c: Likewise.
19380 * emit-rtl.c: Likewise.
19381 * explow.c: Likewise.
19382 * expmed.c: Likewise.
19383 * expr.c: Likewise.
19384 * final.c: Likewise.
19385 * flow.c: Likewise.
19386 * fold-const.c: Likewise.
19387 * function.c: Likewise.
19388 * gcse.c: Likewise.
19389 * global.c: Likewise.
19390 * haifa-sched.c: Likewise.
19391 * integrate.c: Likewise.
19392 * jump.c: Likewise.
19393 * local-alloc.c: Likewise.
19394 * loop.c: Likewise.
19395 * optabs.c: Likewise.
19396 * recog.c: Likewise.
19397 * reg-stack.c: Likewise.
19398 * regclass.c: Likewise.
19399 * regmove.c: Likewise.
19400 * reload.c: Likewise.
19401 * reload1.c: Likewise.
19402 * reorg.c: Likewise.
19403 * resource.c: Likewise.
19404 * stmt.c: Likewise.
19405 * stor-layout.c: Likewise.
19406 * toplev.c: Likewise.
19407 * tree.c: Likewise.
19408 * unroll.c: Likewise.
19409 * genattrtab.c (main): Make generated file include "tm_p.h".
19410 * genemit.c (main): Likewise.
19411 * genoutput.c (main): Likewise.
19412 * genrecog.c (main): Likewise.
19413
19414 * i386.h: Delete all prototypes.
19415 * i386.c: Include "tm_p.h".
19416 (ix86_attr_length_default): Call constant_call_address_operand
19417 with correct number of arguments.
19418 * i386-protos.h: New file.
19419 * i386.md (unnamed patterns): Call constant_call_address_operand
19420 with correct number of arguments.
19421 (exception_receiver): Call load_pic_register with correct number
19422 of arguments.
19423
19424 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
19425
19426 * c-pragma.c (mark_align_stack): Dereference the void* properly.
19427
19428 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
19429
19430 * rtl.h (insns_safe_to_move_p): New function.
19431 * loop.c (find_and_verify_loops): Use it.
19432 * rtlanal.c (insns_safe_to_move_p): Define it.
19433
19434 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
19435
19436 * c-pragma.c: Include ggc.h.
19437 * Makefile.in (c-pragma.o): Update.
19438
19439 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
19440
19441 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
19442 (LIB_SPEC): Likewise.
19443 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
19444 Reindent -YP/-p/-pg.
19445 Copied from config/sparc/sol2.h.
19446
19447 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
19448
19449 * c-pragma.c (mark_align_stack): New.
19450 (init_pragma): New.
19451 * c-pragma.h (init_pragma): Declare it.
19452 * c-lex.c (init_parse): Call it.
19453
19454 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
19455
19456 * configure.in: Pick up thread library on Solaris/x86 just
19457 like on Solaris/sparc.
19458 * configure: Rebuilt.
19459
19460 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
19461
19462 * rtl.h (global_rtx_index): New enum.
19463 (global_rtl): Change to array of rtx.
19464 (pc_rtx, cc0_rtx): Redefine accordingly.
19465 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
19466 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
19467 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
19468 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
19469 (const_int_rtx): Change to array of rtx.
19470 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
19471 accordingly.
19472 * emit-rtl.c (global_rtl): Change to array of rtx.
19473 (const_int_rtx): Change to aray of rtx.
19474 (gen_rtx_CONST_INT): Redefine accordingly.
19475 (init_emit_once): Allocate and initialize global_rtl. Likewise
19476 for const_int_rtx. Add both as GC roots.
19477 * genattrtab.c (global_rtl): Update declaration.
19478
19479 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
19480
19481 * Makefile (USER_H): Add iso646.h back.
19482
19483 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
19484
19485 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
19486 zapping the LOG_LINKS of sched_before_next_call.
19487
19488 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
19489 * pa.c (insn_refs_are_delayed): Renamed from
19490 insn_sets_and_refs_are_delayed.
19491
19492 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
19493
19494 * functiion.h (struct function): Add x_whole_function_mode_p.
19495 (retrofit_block): Declare.
19496 * function.c (retrofit_block): New function.
19497 (identify_blocks): Add assertions. Allow an incomplete set of
19498 block notes if we're still generating code for the function.
19499 * integrate.c: Include loop.h.
19500 (expand_inline_function): Call find_loop_tree_blocks to map block
19501 notes to blocks when in whole-function mode. Use retrofit_block
19502 to insert new BLOCKs for the inlined function, rather than
19503 insert_block.
19504 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
19505 * Makefile.in (integrate.o): Depend on loop.h.
19506
19507 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
19508
19509 * tree.h (warn_about_unused_variables): Declare.
19510 * stmt.c (warn_about_unused_variables): New function, split out
19511 from ...
19512 (expand_end_bindings): Here.
19513
19514 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
19515
19516 * stmt.c (preserve_subexpressions_p): Don't crash when
19517 current_function->stmt is unset.
19518
19519 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
19520
19521 * stmt.c (expand_start_bindings): Allow callers to pass a flag
19522 indicating that no NOTE_INSN_BLOCK_BEG note is required.
19523 (expand_start_target_temps): Use it.
19524 * except.c (expand_eh_region_start_for_decl): Likewise.
19525 * expr.c (expand_expr): Likewise.
19526
19527 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
19528
19529 * fold-const.c (operand_equal_p): Pay attention to side effects.
19530
19531 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
19532
19533 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
19534 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
19535
19536 * tlink.c (scan_linker_output): Look for keywords before accepting
19537 a mangled name in quotes.
19538
19539 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
19540
19541 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
19542 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
19543
19544 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
19545
19546 * alpha.md: Revert Thu Nov 26 change that came in through the
19547 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
19548 Avoid earlyclobber when possible.
19549
19550 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19551
19552 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
19553
19554 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
19555 Define HAVE_ON_EXIT.
19556
19557 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19558
19559 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
19560 CTYPE_CONV in all ctype macros.
19561
19562 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
19563 from system.h.
19564
19565 * cexp.y (initialize_random_junk): Likewise.
19566
19567 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
19568
19569 * i370.c (handle_pragma): Likewise.
19570
19571 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
19572
19573 * v850.c (override_options): Likewise.
19574
19575 * doprint.c (_doprnt): Likewise.
19576
19577 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
19578 Likewise.
19579
19580 * fixinc/server.c (load_data): Likewise.
19581
19582 * fold-const.c (real_hex_to_f): Likewise.
19583
19584 * genattr.c (write_upcase, gen_attr): Likewise.
19585
19586 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
19587 write_upcase): Likewise.
19588
19589 * genemit.c (print_code): Likewise.
19590
19591 * genopinit.c (gen_insn): Likewise.
19592
19593 * genpeep.c (print_code): Likewise.
19594
19595 * genrecog.c (print_code): Likewise.
19596
19597 * optabs.c (init_libfuncs): Likewise.
19598
19599 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
19600
19601 * haifa-sched.c (sched_analyze): Keep the list of notes organized
19602 in pairs.
19603 (reemit_notes): Likewise.
19604
19605 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
19606
19607 * ggc.h (ggc_root): Move to ggc-common.c.
19608 (roots): Remove.
19609 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
19610 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
19611 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
19612 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
19613 * ggc-common.c (ggc_root): Move from ggc.h.
19614 (roots): Declare, static.
19615 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
19616 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
19617 null or check/set mark bit.
19618 (ggc_mark_roots): New.
19619 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
19620
19621 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
19622
19623 * m32r.c: Include toplev.h.
19624 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
19625 (gen_compare): Rename swap_p to must_swap to match uses.
19626 Add default abort case.
19627 (m32r_output_function_epilogue): Remove unused variables.
19628 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
19629 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
19630 define to empty parameter list. Update all uses.
19631 (predicate decls): Use enum machine_mode not int.
19632 * m32r.md (movsi): Call abort, not fatal_insn.
19633 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
19634
19635 1999-09-14 Andrew Haley <aph@cygnus.com>
19636
19637 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
19638 use $0 instead of 0.
19639
19640 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19641
19642 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
19643 computation out of loop over hard regs.
19644
19645 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
19646
19647 * function.c (identify_blocks): Don't shadow a variable in an
19648 outer scope.
19649 * integrate.c (integrate_decl_tree): Don't use pushlevel,
19650 pushdecl, or poplevel to build up the new BLOCK tree.
19651 (expand_inline_function): Likewise.
19652 (integrate_parm_decls): Likewise.
19653
19654 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
19655
19656 * c-typeck.c (qualify_type): Merge qualifiers from both types.
19657
19658 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
19659
19660 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
19661 * invoke.texi: Document this change.
19662
19663 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
19664
19665 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
19666 Free the struct.
19667 (mark_emit_status): Renamed from mark_emit_state.
19668 * except.c (mark_eh_status): Renamed from mark_eh_state.
19669 Check not null before marking.
19670 (free_eh_status): New.
19671 * expr.c (mark_expr_status, free_expr_status): New.
19672 * function.c (free_machine_status): New.
19673 (free_after_parsing): New.
19674 (free_after_compilation): Move bits to free_after_parsing; call
19675 free_eh_status, free_expr_status; zero the marked members of the
19676 function state.
19677 (prepare_function_start): No can_garbage_collect.
19678 Call init_eh_for_function.
19679 (expand_dummy_function_end): Free up current_function state.
19680 (mark_function_status): Renamed from mark_function_state.
19681 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
19682 * function.h (struct function): No can_garbage_collect.
19683 (free_machine_status, free_after_parsing): Declare.
19684 (free_eh_status, free_expr_status): Declare.
19685 * ggc.h (mark_expr_status): Declare.
19686 * stmt.c (free_stmt_status): Free the struct.
19687 (mark_stmt_status): Renamed from mark_stmt_state.
19688 (init_stmt): Don't call init_eh.
19689 (init_stmt_for_function): Don't call init_eh_for_function.
19690 * toplev.c (compile_file): Call init_eh.
19691 (rest_of_compilation): Free basic block info before ggc_collect.
19692 Call free_after_parsing; conditionally call free_after_compilation.
19693 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
19694 Check not null before marking.
19695 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
19696
19697 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
19698
19699 * c-lex.c (yylex): Initialize warn.
19700
19701 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
19702
19703 * pa.c (emit_move_sequence): Properly set the mode of the scratch
19704 register when performing secondary reloads for the SAR register.
19705
19706 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
19707
19708 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
19709 (NOTE_BLOCK): New macro.
19710 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
19711 * function.h (identify_blocks): Change prototype.
19712 * function.c (identify_blocks): Simplify.
19713 (reorder_blocks): Likewise.
19714 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
19715 NOTE_INSN_BLOCK_{BEG,END}.
19716 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
19717 the list of saved notes if the note isn't a
19718 NOTE_INSN_BLOCK_{BEG,END}.
19719 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
19720 NOTE_BLOCK_NUMBER.
19721 (reemit_notes): Adjust recreation of notes to reflect new saved
19722 note structure.
19723 * print-rtl.c (print_rtx): Print the address of the BLOCK when
19724 printing a block note.
19725 * stmt.c (block_vector): Remove.
19726 (find_loop_tree_blocks): Simplify.
19727 (unroll_block_trees): Likewise.
19728 * tree.h (reorder_block): Change prototype.
19729
19730 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
19731
19732 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
19733 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
19734 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
19735 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
19736 (atexit, exit): Simplify.
19737 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
19738 * config/lots: Remove defns of HAVE_ATEXIT.
19739
19740 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
19741
19742 * calls.c (precompute_arguments): Fix typo in comment.
19743 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
19744 TARGET_EXPR.
19745
19746 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
19747
19748 * dsp16xx.c (override_options): Fix typos in GC root registration.
19749
19750 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
19751
19752 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
19753 from config/svr4.h.
19754 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
19755 (FUNCTION_PROFILER): Redefine appropriately for Linux.
19756 (CC1_SPEC): Likewise.
19757
19758 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19759
19760 * genattr.c (main): Add extern prototype. Call return, not exit.
19761 * genattrtab.c (main): Likewise.
19762 * gencheck.c (main): Likewise.
19763 * gencodes.c (main): Likewise.
19764 * genconfig.c (main): Likewise.
19765 * genemit.c (main): Likewise.
19766 * genextract.c (main): Likewise.
19767 * genflags.c (main): Likewise.
19768 * gengenrtl.c (main): Likewise.
19769 * genopinit.c (main): Likewise.
19770 * genoutput.c (main): Likewise.
19771 * genpeep.c (main): Likewise.
19772 * genrecog.c (main): Likewise.
19773
19774 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
19775 * genattrtab.c (get_insn_name): Likewise.
19776 * gencodes.c (get_insn_name): Likewise.
19777 * genconfig.c (get_insn_name): Likewise.
19778 * genemit.c (get_insn_name): Likewise.
19779 * genextract.c (get_insn_name): Likewise.
19780 * genflags.c (get_insn_name): Likewise.
19781 * genopinit.c (get_insn_name): Likewise.
19782 * genpeep.c (get_insn_name): Likewise.
19783
19784 * gencheck.c (usage): Add static prototype.
19785 * genextract.c (print_path): Constify a char*.
19786 * genopinit.c (optabs): Likewise.
19787 * genoutput.c (operand_data, data, output_predicate_decls,
19788 compare_operands): Likewise.
19789 * genrecog.c (write_tree): Add default case in switch.
19790
19791 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19792
19793 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
19794
19795 * print-rtl.c (get_insn_name): Remove prototype.
19796
19797 * toplev.h (progname): Declare const.
19798
19799 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
19800 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
19801 dump_sched_info, dump_local_alloc, regset_release_memory,
19802 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
19803 error_with_file_and_line, error_with_decl, error_for_asm, error,
19804 fatal, warning_with_file_and_line, warning_with_decl, warning,
19805 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
19806 Remove redundant prototypes.
19807
19808 (notice, check_lang_option, report_file_and_line, vnotice,
19809 mark_file_stack): Add static prototype.
19810 (set_fatal_function): Add prototype.
19811 (vnotice, report_file_and_line, set_fatal_function,
19812 check_lang_option): Constify a char*.
19813 (main): Prototype. Call return, not exit.
19814
19815 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19816
19817 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
19818
19819 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
19820
19821 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
19822
19823 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
19824
19825 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19826
19827 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
19828 behave as if it's zero in all cases.
19829 (expand_function_start): Adjust call to assign_parms.
19830 * tree.h (assign_parms): Adjust prototype.
19831 * objc/objc-act.c (hack_method_prototype): Adjust call to
19832 assign_parms.
19833
19834 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
19835
19836 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
19837 arg_pointer_rtx fixed if the argument pointer register is
19838 not fixed.
19839 (NONZERO_BASE_PLUS_P): Likewise.
19840
19841 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
19842
19843 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
19844 match_insn2 to match_insn.
19845 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
19846
19847 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
19848
19849 * Makefile.in (USER_H): Remove va-foo.h.
19850
19851 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
19852 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
19853 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
19854 va-spur.h,va-v850.h}: Remove.
19855
19856 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
19857
19858 * sparc/sparc.md (eligible_for_return_delay): New attribute.
19859 (in_return_delay): Use it instead of match_insn.
19860
19861 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
19862
19863 * config/alpha/va_list.h (va-alpha.h): Do not include.
19864 (__gnuc_va_list): Typedef as in varargs.h.
19865
19866 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
19867
19868 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
19869 DECL_LIVE_RANGE_RTL.
19870
19871 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
19872
19873 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
19874 not NOTE_BLOCK_NUMBER.
19875 (expand_eh_region_end): Likewise.
19876 (find_exception_handler_labels): Likewise.
19877 (scan_region): Likewise.
19878 (exception_optimize): Likewise.
19879 (update_rethrow_references): Likewise.
19880 (set_insn_eh_region): Likewise.
19881 * final.c (final_scan_insn): Likewise.
19882 * flow.c (make_edges): Likewise.
19883 * integrate.c (expand_inline_function): Likewise.
19884 * print-rtl.c (print_rtx): Likewise.
19885
19886 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
19887
19888 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
19889 terms of builtin functions and types.
19890
19891 * mips.c (mips_build_va_list): New.
19892 (mips_va_start, mips_va_arg): New.
19893 * mips.h (BUILD_VA_LIST_TYPE): New.
19894 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
19895
19896 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
19897 (sh_build_va_list, sh_va_start, sh_va_arg): New.
19898 * sh.h (BUILD_VA_LIST_TYPE): New.
19899 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
19900
19901 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
19902
19903 * recog.h (struct recog_data): Make dup_num, operand_address_p,
19904 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
19905 (struct insn_data): Likewise with n_operands, n_dups,
19906 n_alternatives, output_format.
19907 * regclass.c (scan_one_insn): Cast n_operands to int before
19908 arithmetic inside comparison.
19909
19910 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
19911
19912 * toplev.c (compile_function): Unconditionally emit nop.
19913
19914 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19915
19916 * haifa-sched.c (actual_hazard): Move declaration of variable
19917 `this_cost' into the scope where it is used.
19918
19919 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19920
19921 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
19922 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
19923 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
19924
19925 * genrecog.c (make_insn_sequence): Call memset, not bzero.
19926
19927 * jump.c (find_insert_position): Don't declare or define unless
19928 !HAVE_conditional_arithmetic.
19929 (returnjump_p_1, delete_prior_computation): Add static prototypes.
19930
19931 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
19932
19933 * recog.c (offsettable_address_p): Prototype function pointer.
19934 (preprocess_constraints): Call memset, not bzero.
19935
19936 * tree.c (tree_node_kind_names): Constify a char*. Make static.
19937 (gcc_obstack_init): Don't declare.
19938 (fix_sizetype): Add static prototype.
19939 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
19940 (tree_cons): Call memset, not bzero.
19941
19942 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
19943 definition in macro ASM_WEAKEN_LABEL.
19944 (mark_const_hash_entry): Add static prototype.
19945
19946 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19947
19948 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
19949
19950 * unroll.c (find_common_reg_term, subtract_reg_term,
19951 loop_find_equiv_value): Add static prototypes.
19952 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
19953 (copy_loop_body): Remove unreachable break statement.
19954
19955 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
19956
19957 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
19958
19959 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19960
19961 Undo some changes from the gcc2 merge:
19962 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
19963 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
19964 pointers.
19965
19966 Undo this change:
19967 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
19968 * emit-rtl.c (gen_lowpart_common): Disable optimization of
19969 initialized float-int union if the value is a NaN.
19970
19971 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
19972
19973 * gthr-win32.h: New file.
19974
19975 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
19976 shared as a valid attribute.
19977 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
19978 * extend.texi: Document `shared' variable attribute.
19979
19980 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
19981
19982 * configure.in: Handle --enable-threads on FreeBSD.
19983 * configure: Rebuit.
19984
19985 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
19986
19987 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
19988 thread support.
19989 * configure: Rebuilt.
19990
19991 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
19992 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
19993 Rosimildo DaSilva <rdasilva@connecttel.com>
19994
19995 * configure.in (m68k-*-rtemscoff*): Added.
19996 * configure.in (mips64orion-*-rtems*): Converted to ELF.
19997 * configure.in (sparc-*-rtemsaout*): Added as alias for old
19998 sparc-rtems configuration.
19999 * configure.in (sparc-*-rtemself*): Added.
20000 * configure.in (sparc-*-rtems*): Now ELF not a.out.
20001 * config/i386/rtems.h: Added comment.
20002 * config/sparc/rtemself.h: New file.
20003
20004 * configure.in (m68k-rtemself): Added.
20005 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
20006 and DWARF_DEBUGGING_INFO.
20007 * config/m68k/crti.s: New file.
20008 * config/m68k/crtn.s: New file.
20009 * config/m68k/t-crtstuff: New file.
20010 * config/m68k/rtemself.h: New file.
20011
20012 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
20013 global ctor/dtor and C++ exception handling.
20014 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
20015 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
20016 ENDFILE_SPEC.
20017 * config/i386/t-rtems-i386: New File.
20018
20019 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
20020
20021 * stmt.c (expand_end_case): Return right away if the case stack is
20022 empty.
20023
20024 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
20025
20026 * Makefile.in (version.c): Remove rule incorrectly brought in from
20027 the gcc2 merge.
20028
20029 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
20030
20031 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
20032 * msdos/top.sed: Take into account a prepended $(SHELL) to
20033 move-if-change.
20034 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
20035
20036 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
20037
20038 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20039
20040 * regmove.c (fixup_match_1): Don't change an unchanging register.
20041 (stable_but_for_p): Renamed to:
20042 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
20043 Changed all callers.
20044
20045 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
20046
20047 * loop.c (strength_reduce): Don't call reg_used_between_p if the
20048 insn from BL2 is after the insn from BL.
20049
20050 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
20051
20052 * recog.h (INSN_OUTPUT_FORMAT_*): New.
20053 (struct insn_data): Merge `template' and `outfun' into `output'.
20054 Add `output_format'.
20055 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
20056 (struct data): Remove `outfun'; add `output_format'.
20057 (name_for_index): Remove declaration.
20058 (output_insn_data): Handle output formats.
20059 (process_template): Emit the bare array for @.
20060 (gen_expand, gen_split): Set output_format to NONE.
20061 * output.h (get_insn_template): Declare.
20062 * final.c (get_insn_template): New.
20063 (final_scan_insn): Use it.
20064 * toplev.c (compile_file): Likewise.
20065
20066 * c4x/c4x.c (c4x_process_after_reload): Likewise.
20067 * i860/i860.c (output_delayed_branch): Likewise.
20068 (output_delay_insn): Likewise.
20069
20070 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
20071
20072 * rtl.c (obstack_alloc_rtx): Removed.
20073
20074 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
20075
20076 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
20077
20078 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
20079
20080 * i386.c (call_insn_operand): Reject const_int.
20081 (expander_call_insn_operand): Use call_insn_operand.
20082
20083 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20084
20085 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
20086
20087 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
20088
20089 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
20090 Use DImode operation.
20091
20092 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
20093
20094 * gcc.c: Include sys/resource.h.
20095 (report_times): New flag.
20096 (execute): If report_times is set, calculate and report the
20097 CPU time consumed by each subprocess.
20098
20099 (rus, prus): New globals.
20100 (option_map): Add --time.
20101 (display_help): Document -time.
20102 (process_command): Set report_times if -time is given.
20103 Turn off -pipe if -time is given.
20104
20105 * invoke.texi: Document new option -time.
20106
20107 * configure.in: Check for getrusage. Check if we have to
20108 prototype getrusage.
20109 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
20110 * configure: Regenerate.
20111 * config.in: Regenerate.
20112
20113 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
20114
20115 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
20116 fields.
20117
20118 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
20119
20120 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
20121 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
20122 (nan): Return _thenan_sf or _thenan_df as appropriate.
20123 (L_thenan_sf): Define _thenan_sf.
20124 (L_thenan_df): Define _thenan_df.
20125
20126 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
20127 (DPBIT_FUNCS): Add _thenan_df.
20128
20129 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
20130
20131 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
20132 TYPE_SIZE_UNIT.
20133
20134 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20135
20136 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
20137
20138 * gcc.h: New file.
20139 (lang_specific_driver): Don't take a function pointer parameter.
20140 All callers changed.
20141
20142 * gcc.c: Include gcc.h.
20143 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
20144 lang_specific_extra_outfiles, fatal): Don't declare.
20145 (multilib_defaults_raw): Constify.
20146 (read_specs): Call memset, rather than bzero.
20147 (main): Call return, not exit.
20148 (lookup_compiler): Call memcpy, not bcopy.
20149 (fatal): Make extern.
20150
20151 * cppspec.c: Include gcc.h.
20152 (lang_specific_driver): Initialize variable `quote'. Constify a
20153 char*. All calls to the function pointer parameter now
20154 explicitly call `fatal'.
20155
20156 * gccspec.c (lang_specific_driver): Include gcc.h.
20157
20158 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
20159
20160 * arm.c (note_invalid_constants): Use recog_data.operand_type
20161 for recog_op_type.
20162
20163 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20164
20165 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
20166 Declare.
20167
20168 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
20169 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
20170 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
20171 reload_secondary_in_reload, reload_secondary_out_reload,
20172 reload_secondary_in_icode, reload_secondary_out_icode,
20173 reload_reg_rtx, reload_when_needed): Delete declarations.
20174 (struct reload): New structure.
20175 (rld): Declare new array.
20176 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
20177 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
20178 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
20179 reload_secondary_in_reload, reload_secondary_out_reload,
20180 reload_secondary_in_icode, reload_secondary_out_icode,
20181 reload_reg_rtx, reload_when_needed): Delete definitions.
20182 (rld): New array.
20183 (whole file): Replace uses of the deleted arrays with uses of rld.
20184 * reload1.c (whole file): Replace uses of the deleted arrays with
20185 uses of rld.
20186 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
20187 explicit loops, not with bcopy.
20188
20189 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
20190
20191 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
20192 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
20193 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
20194 insn_name): Delete and consolidate into new structures.
20195 (insn_operand_predicate_fn): New.
20196 (insn_output_fn): New.
20197 (insn_gen_fn): New.
20198 (struct insn_operand_data): New.
20199 (struct insn_data): New.
20200 (insn_data): New.
20201 (OUT_FCN): Update for insn_data change.
20202 * builtins.c (expand_builtin_strlen): Likewise.
20203 (expand_builtin_memcmp): Likewise.
20204 * combine.c (make_extraction, simplify_comparison): Likewise.
20205 * cse.c (canon_reg, cse_insn): Likewise.
20206 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
20207 * expmed.c (store_bit_field, extract_bit_field): Likewise.
20208 (emit_store_flag): Likewise.
20209 * expr.c (convert_move, emit_block_move): Likewise.
20210 (clear_storage, emit_push_insn, expand_increment): Likewise.
20211 (do_store_flag): Likewise.
20212 * expr.h (GEN_FCN): Likewise.
20213 (insn_gen_function): Die.
20214 * final.c (final_scan_insn): Update for insn_data change.
20215 (output_asm_name): Likewise.
20216 * function.c (fixup_var_refs_1): Likewise.
20217 * loop.c (check_dbra_loop): Likewise.
20218 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
20219 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
20220 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
20221 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
20222 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
20223 * regmove.c (gen_add3_insn): Likewise.
20224 * reload.c (push_secondary_reload, combine_reloads): Likewise.
20225 (find_reloads, find_reloads_address_1): Likewise.
20226 (debug_reload_to_stream): Likewise.
20227 * reload1.c (emit_reload_insns, gen_reload): Likewise.
20228 * stmt.c (expand_end_case): Likewise.
20229 * toplev.c (compile_file): Likewise.
20230
20231 * c4x/c4x.c (c4x_process_after_reload): Likewise.
20232 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
20233
20234 * print-rtl.c (insn_name_ptr): Remove declaration.
20235 (get_insn_name): Declare.
20236 (print_rtx): Use it.
20237 * genoutput.c (insn_name_ptr): Remove.
20238 (next_operand_number): New.
20239 (struct operand_data): New.
20240 (null_operand, odata, odata_end): New.
20241 (struct data): Use struct operand_data.
20242 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
20243 (get_insn_name): Renamed from name_for_index.
20244 (output_prologue): Define NO_MD_PROTOTYPES.
20245 (output_predicate_decls): Break out from output_epilogue.
20246 Iterate over the operands list.
20247 (output_operand_data): Break out from output_epilogue. Emit
20248 just the operands list.
20249 (output_insn_data): Break out from output_epilogue. Emit just
20250 the insn data.
20251 (output_epilogue): Remove.
20252 (output_get_insn_name): New.
20253 (constraints, op_n_alternatives, predicates, address_p): Die.
20254 (modes, strict_low, seen): Die.
20255 (scan_operands): Take new param `d' instead of writing to
20256 seven global variables.
20257 (compare_operands): New.
20258 (place_operands): New.
20259 (validate_insn_alternatives): Update for struct data change.
20260 (gen_insn): Don't zero or copy 7 global arrays. Update for
20261 scan_operands; call place_operands.
20262 (gen_peephole, gen_expand, gen_split): Likewise.
20263 (main): Update for new output routines.
20264
20265 * genattr.c (insn_name_ptr): Remove.
20266 (get_insn_name): New function.
20267 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
20268 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
20269 * genrecog.c: Likewise.
20270
20271 * alpha.md (adddi3): Make `pattern' array static.
20272
20273 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20274
20275 * config/c4x/c4x.h (c4x_rpts_cycles_string,
20276 c4x_cpu_version_string): Constify char *.
20277 * config/c4x/c4x.c (c4x_rpts_cycles_string,
20278 c4x_cpu_version_string): Likewise.
20279
20280 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
20281
20282 * tree.c (save_tree_status): Revert 10 Sep change.
20283 (restore_tree_status): Likewise. Call obstack_free with NULL
20284 before freeing the obstack proper.
20285
20286 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
20287
20288 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
20289
20290 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
20291 surrounding context.
20292
20293 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
20294
20295 * tree.c (type_hash_canon): Put all types in the hash-table, when
20296 GC'ing.
20297
20298 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
20299
20300 * recog.h (struct recog_data, recog_data): New.
20301 (recog_foo variables): Kill.
20302 * recog.c (recog_operand, recog_operand_loc): Kill.
20303 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
20304 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
20305 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
20306 (recog_data): Define.
20307 (extract_insn): Update all recog_foo references to use recog_data.
20308 (preprocess_constraints, constrain_operands): Likewise.
20309 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
20310 * genattrtab.c (main): Likewise.
20311 * genextract.c (main): Likewise.
20312 * genoutput.c: Likewise.
20313 * genrecog.c (write_subroutine, main): Likewise.
20314 * local-alloc.c (block_alloc): Likewise.
20315 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
20316 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
20317 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
20318 * reload.c (find_reloads, find_reloads_toplev): Likewise.
20319 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
20320 (reload_cse_simplify_operands): Likewise.
20321
20322 * arc/arc.c (arc_final_prescan_insn): Likewise.
20323 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
20324 * h8300/h8300.c (notice_update_cc): Likewise.
20325 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
20326 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
20327 * mn10200/mn10200.c (notice_update_cc): Likewise.
20328 * mn10300/mn10300.c (notice_update_cc): Likewise.
20329 * romp/romp.c (update_cc): Likewise.
20330 * sparc/sparc.c (check_pic): Likewise.
20331 * v850/v850.c (notice_update_cc): Likewise.
20332
20333 * genemit.c (main): Don't declare recog_operand.
20334
20335 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
20336
20337 * ggc.h (rtvec_def): Forward declare.
20338 (tree_node): Likewise.
20339 (ggc_root): Define.
20340 (roots): Declare.
20341 (ggc_set_mark_rtx): Add prototype.
20342 (ggc_set_mark_rtvec): Likewise.
20343 (ggc_set_mark_tree): Likewise.
20344 * ggc-simple.c (ggc_root): Don't define.
20345 (roots): Don't declare.
20346 (ggc_mark_rtx): Remove.
20347 (ggc_mark_rtvec): Likewise.
20348 (ggc_mark_tree): Likewise.
20349 (ggc_mark_varray): Likewise.
20350 (ggc_mark_tree_hash_table_entry): Likewise.
20351 (ggc_mark_tree_hash_table): Likewise.
20352 (ggc_set_mart_rtx): New function.
20353 (ggc_set_mark_rtvec): Likewise.
20354 (ggc_set_mark_tree): Likewise.
20355 (ggc_add_root): Remove.
20356 (ggc_add_rtx_root): Likewise.
20357 (ggc_remove_tree_root): Likewise.
20358 (ggc_add_string_root): Likewise.
20359 (ggc_add_tree_varray_root): Likewise.
20360 (ggc_add_tree_hash_table_root): Likewise.
20361 (ggc_del_root): Likewise.
20362 (ggc_mark_rtx_ptr): Likewise.
20363 (ggc_mark_tree_ptr): Likewise.
20364 (ggc_mark_string_ptr): Likewise.
20365 (ggc_mark_tree_varray_ptr): Likewise.
20366 (ggc_mark_tree_hash_table_ptr): Likewise.
20367 * ggc-common.c: New file.
20368 * Makefile.in (OBJS): Add ggc-common.o.
20369 (ggc-common.o): List dependencies.
20370
20371 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
20372
20373 * cppalloc.c (xstrdup): Use memcpy.
20374 * cpperror.c (cpp_print_containing_files): Don't use
20375 cpp_notice.
20376 * cpplib.c (conditional_skip): Set temp->lineno.
20377 (do_endif): Make error message less obscure.
20378 (if_directive_name): New function.
20379 (cpp_get_token [case EOF]): Unwind the if stack and generate
20380 error messages for each unterminated conditional in this file.
20381 (parse_string): Do not behave differently if -traditional.
20382
20383 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
20384
20385 * builtins.c (expand_builtin_va_arg): Cope with an array-type
20386 va_list decomposing to pointer-type.
20387 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
20388 (rs6000_va_arg): Likewise.
20389
20390 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
20391
20392 * except.c (start_dynamic_handler): Compute size using
20393 STACK_SAVEAREA_MODE.
20394
20395 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20396
20397 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
20398 include directory headers. Don't define strrchr. Don't provide
20399 my_* replacement functions. Prefer PTR over `pointer_type'.
20400 Don't prototype system functions. Don't redefine getopt.
20401
20402 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
20403 safe_read, safe_write, save_pointers, restore_pointers,
20404 is_id_char, in_system_include_dir, directory_specified_p,
20405 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
20406 find_corresponding_lparen, referenced_file_is_newer,
20407 save_def_or_dec, munge_compile_params, gen_aux_info_file,
20408 process_aux_info_file, identify_lineno, check_source,
20409 seek_to_line, forward_to_next_token_char, output_bytes,
20410 output_string, output_up_to, other_variable_style_function,
20411 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
20412 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
20413 find_static_definition, connect_defs_and_decs, add_local_decl,
20414 add_global_decls, needs_to_be_converted, visit_each_hash_node,
20415 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
20416 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
20417 scan_for_missed_items, edit_file, string_list_cons): Add static
20418 prototypes.
20419 (standard_exec_prefix, target_machine, target_version,
20420 default_syscalls_dir, string_list, string_list_cons, find_file,
20421 do_cleaning): Constify a char*.
20422 (safe_read, safe_write): Use PTR, not a char*.
20423 (is_id_char): Take an int, not a char.
20424 (main): Add prototype. Call return, not exit.
20425
20426 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
20427
20428 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
20429 when comparing types.
20430
20431 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
20432
20433 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
20434 (strength_reduce): Release the varrays from the no-bivs early exit.
20435
20436 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
20437 the loop over the registers.
20438
20439 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
20440 for a new obstack.
20441 (restore_tree_status): Check that instead when freeing the obstack.
20442
20443 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
20444
20445 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
20446 as pointers.
20447
20448 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20449
20450 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
20451 operand size modifiers.
20452
20453 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20454
20455 * c-common.c (c_common_nodes_and_builtins): Don't build
20456 va_list_type_node.
20457 * c-common.h (enum c_tree_index and related accesor macros): Remove
20458 everything now declared in tree.h.
20459 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
20460 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
20461 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
20462 (error_mark_node, void_type_node, char_type_node, integer_type_node,
20463 unsigned_type_node, ptr_type_node, va_list_type_node,
20464 integer_zero_node, null_pointer_node, integer_one_node): Delete.
20465 (init_decl_processing): Call build_common_tree_nodes and
20466 build_common_tree_nodes_2 instead of building their nodes here.
20467 Don't add roots for these nodes.
20468 * stor-layout.c (size_zero_node, size_one_node): Delete.
20469 (set_sizetype): Make a new node for bitsizetype each time.
20470 * tree.c (global_trees): New variable.
20471 (init_obstacks): Add a gc root for it.
20472 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
20473 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
20474 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
20475 (build_common_tree_nodes): New function.
20476 (fix_sizetype): New function.
20477 (build_common_tree_nodes_2): New function.
20478 * tree.h (enum tree_index): New.
20479 (global_trees): Declare.
20480 Add accessor macros for all nodes now moved to global_trees.
20481 Delete their declarations.
20482
20483 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
20484
20485 * c-decl.c (finish_function): When processing a nested function,
20486 push and pop GC context around rest_of_compilation.
20487
20488 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
20489
20490 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
20491 Default ix86_arch to PROCESSOR_I386.
20492 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
20493 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
20494 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
20495 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
20496 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
20497 (EXTRA_SPECS): Remove deleted specs.
20498
20499 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
20500
20501 * function.c (assign_stack_local_1): Allocate from
20502 function->x_frame_offset, not frame_offset.
20503
20504 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
20505
20506 * ggc.h (lang_cleanup_tree): Remove.
20507 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
20508 * ggc-callbacks.c (lang_cleanup_tree): Remove.
20509
20510 * c-decl.c (finish_struct): Use ggc_alloc to allocate
20511 TYPE_LANG_SPECIFIC when garbage collecting.
20512 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
20513 (lang_cleanup_tree): Remove.
20514
20515 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
20516
20517 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
20518 * crtstuff.c: Not here.
20519 * dwarf2out.c: Or here.
20520 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
20521 info.
20522
20523 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
20524
20525 * function.h (free_after_compilation): Remove decl parameter.
20526 (free_varasm_status0: Likewise.
20527 (free_emit_status): Likewise.
20528 (free_stmt_status): Likewise.
20529 (free_after_compilation): Likewise.
20530 (init_lang_status): New variable.
20531 (free_lang_status): Likewise.
20532 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
20533 * function.c (init_lang_status): New variable.
20534 (free_lang_status): Likewise.
20535 (push_function_context_to): Don't set function::decl here.
20536 (free_after_copmilation): Make decl parameter implicit. Call
20537 free_lang_status if defined.
20538 (prepare_function_start): Call init_lang_status if defined.
20539 (init_function_start): Set function::decl here.
20540 * profile.c (output_func_start_profiler): Don't call pushdecl
20541 until we've actually started the function.
20542 * stmt.c (free_stmt_status): Make decl parameter implicit.
20543 * toplev.c (rest_of_compilation): Don't pass decl to
20544 free_after_compilation.
20545 * varasm.c (free_varasm_status): Likewise.
20546
20547 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20548
20549 * except.c (call_get_eh_context): Add root when allocating static
20550 tree variable.
20551
20552 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
20553
20554 * arm.c: Include "ggc.h".
20555 (arm_add_gc_roots): New function.
20556 (arm_override_options): Call it.
20557 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
20558
20559 * arm.md (define_asm_attributes): Add a pool_range attribute.
20560
20561 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
20562
20563 * extend.texi (Volatiles): New node.
20564
20565 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
20566
20567 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
20568 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
20569 (struct ggc_any): Replace `mark' with `magic_mark'.
20570 (ggc_alloc_string): Use memcpy, not bcopy.
20571 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
20572 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
20573 (ggc_free_any): New.
20574 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
20575 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
20576 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
20577 Use IS_MARKED. Use ggc_free_any.
20578
20579 1999-09-09 Scott Bambrough <scottb@netwinder.org>
20580
20581 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
20582
20583 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
20584
20585 * toplev.c (main): Always init_ggc.
20586
20587 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
20588
20589 * except.c (find_all_handler_type_matches): Free the list if
20590 we found no matches.
20591
20592 * combine.c (SUBST): Break out to a real function do_SUBST.
20593 (SUBST_INT): Likewise.
20594 * gcse.c (free_pre_mem): Free `temp_bitmap'.
20595 (pre_insert): Free `inserted'.
20596 * loop.c (basic_induction_var): Always set `location'.
20597
20598 * function.c (expand_function_end): Add initial_trampoline as a root.
20599 * rtl.h (init_varasm_once): Declare.
20600 * toplev.c (compile_file): Call it.
20601 * ggc-simple.c (ggc_mark_string_ptr): New.
20602 (ggc_add_string_root): New.
20603 (ggc_collect): Disable collection avoidance temporarily.
20604 * ggc.h (ggc_add_string_root): Declare.
20605 * except.c (create_rethrow_ref): Use ggc_alloc_string.
20606 * optabs.c (init_libfuncs): Likewise.
20607 * varasm.c (named_section): Use ggc_alloc_string.
20608 (make_function_rtl): Likewise.
20609 (make_decl_rtl): Likewise.
20610 (assemble_static_space): Likewise.
20611 (assemble_trampoline_template): Likewise.
20612 (output_constant_def): Likewise.
20613 (force_const_mem): Likewise.
20614 (mark_const_hash_entry): New.
20615 (mark_pool_sym_hash_table): New.
20616 (mark_varasm_state): Use it.
20617 (init_varasm_once): New.
20618
20619 * expr.h (init_one_libfunc): Declare.
20620 * optabs.c (init_one_libfunc): New.
20621 (init_optabs): Use it.
20622 * config/gofast.h: Likewise.
20623 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
20624 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
20625
20626 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
20627
20628 * Makefile.in (cppexp.o): Depend on cpphash.h.
20629 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
20630 Include cpphash.h.
20631 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
20632 * cpplib.c (do_define): Generalise to handle poisoned definitions,
20633 redefining poisoned identifiers, etc.
20634 (do_undef): Don't allow poisoned identifiers to be undefined.
20635 (do_pragma): Add #pragma poison.
20636 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
20637
20638 * cccp.c: Add T_POISON node type.
20639 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
20640 poisoned xxx.
20641 (do_define): Generalise to handle poisoned definitions,
20642 redefining poisoned identifiers, etc.
20643 (do_undef): Don't allow poisoned identifiers to be undefined.
20644 (do_pragma): Add #pragma poison.
20645 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
20646
20647 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
20648 * c-pragma.h: Add ps_poison state. We now always have generic
20649 pragmas.
20650
20651 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
20652
20653 * ggc.h (ggc_alloc): New function.
20654 (ggc_mark): Likewise.
20655 * ggc-simple.c (ggc_any): New structure.
20656 (ggc_status): Add anys.
20657 (n_anys_collected): New variable.
20658 (ggc_alloc): Define.
20659 (ggc_mark): Likewise.
20660 (ggc_collect): Collect the anys.
20661
20662 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20663
20664 * c-decl.c (mark_binding_level): Make static to match prototype.
20665
20666 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
20667
20668 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
20669
20670 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
20671
20672 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
20673 will use into account. Expand the max width to 5.
20674 * rtl.c: Likewise.
20675
20676 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
20677
20678 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
20679 for the rtx length.
20680
20681 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
20682
20683 * alpha.md (call value patterns): Remove the result predicates.
20684
20685 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
20686
20687 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
20688 last change.
20689
20690 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20691
20692 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
20693 changed from extern char *, to extern PTR. Also fix typo in
20694 NEED_DECLARATION_REALLOC test.
20695
20696 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
20697
20698 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20699
20700 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
20701 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
20702 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
20703 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
20704
20705 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
20706
20707 * cccp.c (pcfinclude): Likewise.
20708
20709 * global.c (allocno_compare): Likewise.
20710
20711 * haifa-sched.c (rank_for_schedule): Likewise.
20712
20713 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
20714
20715 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
20716
20717 * stupid.c (stupid_reg_compare): Likewise.
20718
20719 * tree.c (_obstack_allocated_p): Likewise.
20720
20721 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
20722
20723 1999-09-08 Bruce Korb autogen@linuxbox.com
20724
20725 * Makefile.in: Give the hapless gperf user a hint about
20726 why "gperf -F" fails.
20727
20728 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
20729
20730 * lists.c: Include ggc.h.
20731 (zap_lists): New.
20732 (init_EXPR_INSN_LIST_cache): Install it.
20733
20734 * ggc-simple.c (init_ggc): Absorb the old init.
20735 (ggc_push_context): Use xcalloc.
20736 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
20737 (ggc_collect): Add [rvts] tags to the collection stats.
20738
20739 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
20740
20741 * cccp.c (main): Fix handling of -include and -imacros options.
20742
20743 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
20744
20745 * cpplib.c (cpp_push_buffer): Fix order of arguments.
20746
20747 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
20748
20749 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
20750 genrtl.c.
20751
20752 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
20753
20754 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
20755 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
20756 and SET_DEST. Update comment.
20757
20758 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20759
20760 * config/c4x/c4x.c: Include ggc.h.
20761 (c4x_add_gc_roots): New function.
20762 (c4x_override_options): Call c4x_add_gc_roots.
20763
20764 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
20765
20766 * defaults.h (TARGET_ESC): Move ...
20767 * system.h: ... here, where Linas had it in the first place. Silly me.
20768
20769 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
20770
20771 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
20772 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
20773 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
20774 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
20775 * defaults.h (TARGET_ESC): Add default.
20776
20777 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
20778
20779 * configure.in: add i370-*-openedition, i370-*-mvs and
20780 i370-*-linux targets
20781
20782 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
20783
20784 * dsp16xxx.c: Include ggc.h
20785 (override_options): Mark GC roots.
20786 * mn10200.c: Include ggc.h.
20787 (asm_file_start): Mark GC roots.
20788 * tahoe.c: Include ggc.h.
20789 (extensible_operand): Mark GC roots.
20790
20791 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
20792
20793 * README: Add section discussing status of ELF ABI.
20794 * i370.c: Fix misc spelling mistakes.
20795 (i370_label_scan): Updated notes, exception handling.
20796 (i370_function_prolog): Simplify ELF stack handling.
20797 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
20798 (STACK_GROWS_DOWNWARD): ELF stack grows down.
20799 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
20800 * i370.md: (movdi): Add notes.
20801 (floatsidf2): Use stack not rtca for scratch float area.
20802 (iorsi3): Correct operand constraints.
20803 * x-oe: Restore TAROUTOPTS which are used by pax.
20804
20805 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
20806
20807 * rs6000.c: Include ggc.h.
20808 (rs6000_add_gc_roots): New function.
20809 (override_options): Call it.
20810
20811 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
20812
20813 * alpha.h (alpha_compare): New.
20814 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
20815 * alpha.c: Likewise for the definitions.
20816 (alpha_emit_conditional_branch): Update for alpha_compare.
20817 (alpha_emit_conditional_move): Likewise.
20818 * alpha.md (cmpdf, cmpdi): Likewise.
20819 (setcc patterns): Likewise. Zero alpha_compare after use.
20820 (sne): Optimize (x != 0) into (0U < x).
20821
20822 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
20823
20824 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
20825 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
20826 (INIT_EXPANDERS): Remove.
20827 * alpha.c: Include ggc.h.
20828 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
20829 (alpha_init_machine_status, alpha_mark_machine_status): New.
20830 (override_options): Install them.
20831 (struct machine_function): Moved to alpha.h.
20832 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
20833 (alpha_init_expanders): Remove.
20834 (alpha_return_addr): Adjust to use current_function->machine.
20835 (alpha_ra_ever_killed): Likewise.
20836 (alpha_expand_epilogue): Likewise.
20837 * alpha.md (eh_epilogue): Likewise.
20838
20839 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
20840 Melissa O'Neill <oneill@cs.sfu.ca>
20841 Geoffrey Keating <geoffk@cygnus.com>
20842
20843 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
20844 call-used registers (call-saved registers must still be contiguous
20845 and end with r31, of course).
20846
20847 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
20848
20849 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
20850 (self_promoting_type_p): Delete.
20851 (self_promoting_args_p): Move ...
20852 * c-common.c: ... here.
20853 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
20854 (simple_type_promotes_to): New.
20855 * builtins.c (lang_type_promotes_to): New.
20856 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
20857 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
20858 * c-common.h: ... here.
20859 (self_promoting_args_p, simple_type_promotes_to): Declare.
20860 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
20861 (grokdeclarator): Likewise.
20862 * tree.h (lang_type_promotes_to): Declare.
20863
20864 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
20865
20866 Add some machine-dependent GC roots.
20867 * sparc.c: Include ggc.h.
20868 (sparc_add_gc_roots): New function.
20869 (mark_ultrasparc_pipeline_state): Likewise.
20870 (override_options): Call sparc_add_gc_roots.
20871 * pa.c: Include ggc.h.
20872 (pa_add_gc_roots): New function.
20873 (mark_deferred_plabels): Likewise.
20874 (override_options): Call pa_add_gc_roots.
20875 * mips.c: Include ggc.h.
20876 (mips_add_gc_roots): New function.
20877 (override_options): Use it.
20878
20879 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20880
20881 * cpperror.c (cpp_file_line_for_message): Constify a char*.
20882
20883 * cppexp.c (parse_number, parse_charconst, cpp_lex,
20884 cpp_parse_expr): Add static prototypes.
20885 (parse_charconst): Don't cast away const-ness.
20886 (token): Constify a char*.
20887
20888 * cppfiles.c (file_name_list, include_hash, find_include_file,
20889 finclude, initialize_input_buffer): Constify a char*.
20890 (file_cleanup, find_position): Add static prototypes.
20891
20892 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
20893 collect_expansion): Add static prototypes.
20894 (cpp_install, create_definition, monthnames): Constify a char*.
20895
20896 * cpphash.h (cpp_install): Likewise.
20897
20898 * cppinit.c (known_suffixes, default_include,
20899 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
20900 (base_name, dump_special_to_buffer, initialize_dependency_output):
20901 Add static prototypes.
20902
20903 * cpplib.c (my_strerror): Constify a char*.
20904 (null_underflow, null_cleanup, skip_comment, copy_comment,
20905 copy_rest_of_line, handle_directive, pass_thru_directive,
20906 get_directive_token, read_line_number, cpp_print_file_and_line,
20907 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
20908 v_cpp_warning_with_line, detect_if_not_defined,
20909 consider_directive_while_skipping): Add static prototypes.
20910 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
20911 cpp_pedwarn_with_file_and_line): Constify a char*.
20912
20913 * cpplib.h (cpp_options, include_hash, progname, definition,
20914 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
20915 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
20916 find_include_file, deps_output, include_hash): Constify a char*.
20917
20918 * cppmain.c (progname): Constify.
20919 (main): Add prototype. Use return, not exit.
20920
20921 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
20922 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
20923 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
20924 check_protection): Add static prototype.
20925 (xfree): Remove.
20926 (progname, recognized_macrom, recognized_extern): Constify a char*.
20927 (main): Add prototype.
20928
20929 * gen-protos.c (progname): Constify a char*.
20930
20931 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
20932
20933 * emit-rtl.c (free_emit_status): Take decl as a parameter.
20934 (init_emit_once): Add more GC roots.
20935 * except.c (mark_func_eh_entry): New function.
20936 (mark_eh_node): Mark false_label and rethrow_label.
20937 (init_eh): Add more GC roots.
20938 * function.c (free_after_compilation): Take decl as a paramter.
20939 Call free_stmt_status.
20940 (mark_function_state): Don't assume x_parm_reg_stack_loc is
20941 non-NULL.
20942 * function.h (free_after_compilation): Change prototype.
20943 (free_varasm_status): Likewise.
20944 (free_emit_status): Likewise.
20945 (free_stmt_status): New function.
20946 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
20947 Remove, replacing with ...
20948 (ggc_status): New structure.
20949 (ggc_chain): New variable.
20950 (init_gcc): Define.
20951 (ggc_push_context): New function.
20952 (ggc_pop_context): Likewise.
20953 (ggc_alloc_rtx): Adjust for use of ggc_chain.
20954 (ggc_alloc_rtvec): Likewise.
20955 (ggc_alloc_tree): Likewise.
20956 (ggc_alloc_string): Likewise.
20957 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
20958 (ggc_mark_tree): Give language-dependent code a chance to mark
20959 `x' nodes.
20960 (ggc_mark_tree_varray): Handle empty arrays.
20961 (ggc_collect): Adjust for use of ggc_chain. Clear
20962 bytes_alloced_since_last_gc.
20963 * ggc.h (ggc_pop_context): New function.
20964 (ggc_push_context): Likewise.
20965 * print-tree.c (print_node): Don't print obstacks when GC'ing.
20966 * stmt.c (free_stmt_status): New function.
20967 (init_stmt_for_function): Clear last_expr_value.
20968 * toplev.c (rest_of_compilation): Always call free_after_compilation.
20969 Conditionalize call to ggc_collect.
20970 (main): Call init_ggc.
20971 * tree.c (push_obstacks): Do the push, even when GC'ing.
20972 (push_obstacks_nochange): Likewise.
20973 (pop_obstacks): Liekwise.
20974 * varasm.c (free_varasm_status): Take decl as a parameter.
20975
20976 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
20977
20978 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
20979 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
20980 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
20981 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
20982
20983 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
20984
20985 * pa/x-pa-mpeix: New file for the MPE port.
20986
20987 * pa/quadlib.asm: New file for long double support.
20988
20989 * configure.in: Add hppa1.0-*-mpeix for MPE port.
20990 * configure: Rebuilt.
20991
20992 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
20993
20994 * final.c (shorten_branches): Fix last change.
20995
20996 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
20997
20998 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
20999
21000 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
21001
21002 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
21003 details.
21004
21005 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21006
21007 * c-aux-info.c (concat): Don't define.
21008
21009 * cccp.c (my_strerror): Likewise. All callers changed to use
21010 xstrerror instead.
21011 (do_include): Call xstrdup, not xmalloc/strcpy.
21012 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
21013 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
21014
21015 * collect2.c (my_strsignal): Likewise. All callers changed to use
21016 strsignal instead.
21017 (locatelib): Call xstrdup, not xmalloc/strcpy.
21018
21019 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
21020
21021 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
21022
21023 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
21024
21025 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
21026
21027 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
21028
21029 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
21030
21031 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
21032 malloc/realloc.
21033 (find_all_handler_type_matches): Likewise. Don't check return
21034 value.
21035 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
21036 xmalloc, not malloc.
21037 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
21038
21039 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
21040 (init_spec): Call xcalloc, not xmalloc/bzero.
21041 (set_spec): Call xstrdup, not save_string.
21042 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
21043 (find_a_file): Call xstrdup, not xmalloc/strcpy.
21044 (process_command): Call xstrdup, not save_string.
21045 (main): Call xcalloc, not xmalloc/bzero.
21046
21047 * gcov.c (xmalloc): Don't define.
21048 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
21049 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
21050 (output_data): Call xcalloc, not xmalloc/bzero.
21051
21052 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
21053
21054 * mips-tdump.c (xmalloc): Don't define.
21055 (print_symbol): Call xmalloc, not malloc.
21056 (read_tfile): Call xcalloc, not calloc.
21057
21058 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
21059 Don't define. All callers of xfree/my_strsignal changed to use
21060 free/strsignal instead.
21061 (allocate_cluster): Call xcalloc, not calloc.
21062
21063 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
21064 Fix memory leak, free allocated memory.
21065
21066 * prefix.c (translate_name): Call xstrdup, not save_string.
21067 (update_path): Likewise.
21068
21069 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
21070
21071 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
21072 Don't define. Callers of xfree/savestring2 changed to use
21073 free/concat instead.
21074
21075 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
21076 (init_elim_table): Likewise.
21077
21078 * resource.c (init_resource_info): Likewise.
21079
21080 * stupid.c (stupid_life_analysis): Likewise.
21081
21082 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
21083 (open_dump_file): Call concat, not xmalloc/strcpy/...
21084 (clean_dump_file): Likewise.
21085 (compile_file): Call xstrdup, not xmalloc/strcpy.
21086
21087 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
21088
21089 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
21090 * v850.c (v850_va_arg): New.
21091
21092 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21093
21094 * haifa-sched.c: Tidy comments.
21095
21096 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21097
21098 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
21099 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
21100 $(out_object_file)): Depend on ggc.h.
21101 * c-common.c: Include "ggc.h".
21102 (combine_strings): If doing GC, use ggc_alloc_string.
21103 * c-decl.c: Include "ggc.h".
21104 (ggc_p): Define with value 0.
21105 (mark_binding_level): New function.
21106 (init_decl_processing): Add GC roots.
21107 (mark_c_function_context): New function.
21108 (lang_mark_false_label_stack): New function.
21109 (lang_mark_tree): New function.
21110 (lang_cleanup_tree): New function.
21111 * c-lang.c: Include "ggc.h".
21112 (lang_init): Call c_parse_init.
21113 * c-lex.c: Include "ggc.h".
21114 (check_linenum): If doing GC, don't copy filenames to permanent
21115 obstack.
21116 * c-parse.in: Include "ggc.h".
21117 (c_parse_init): New function.
21118 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
21119 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
21120
21121 * except.c (mark_eh_state): Mark more state.
21122 * function.c (mark_function_state): Likewise.
21123 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
21124 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
21125 * toplev.c (mark_file_stack): New function.
21126 (compile_file): If doing GC, use ggc_alloc_string on input filename.
21127 (main): Add root for input_file_stack.
21128
21129 * i386.c: Include "ggc.h".
21130 (ix86_mark_machine_status): New function.
21131 (override_options): Set mark_machine_status.
21132
21133 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21134
21135 * tree.c (copy_node): Copy node contents also if doing GC.
21136
21137 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
21138
21139 * collect2.c (scan_libraries): Fix double-thinko :-).
21140
21141 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
21142
21143 * collect2.c (scan_libraries): Fix thinko.
21144
21145 * cse.c (delete_trivially_dead_insns): Do not skip the last
21146 insn if it is a real insn.
21147
21148 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
21149
21150 * Makefile.in (ggc-simple.o): Depend on hash.h.
21151 * ggc.h (ggc_add_tree_hash_table_root): Declare.
21152 (ggc_mark_tree_varray): Likewise.
21153 (ggc_mark_tree_hash_table): Likewise.
21154 * ggc-simple.c: Include hash.h.
21155 (ggc_mark_tree_hash_table_ptr): New function.
21156 (ggc_mark_tree_hash_table_entry): Likewise.
21157 (ggc_mark_tree_hash_table): Likewise.
21158 (ggc_add_tree_hash_table_root): Likewise.
21159 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
21160 rtx, when defining fields.
21161
21162 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
21163
21164 * profile.c (output_func_start_profiler): Remove apparently
21165 nonsensical call to start_sequence.
21166
21167 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
21168
21169 * clipper/clipper.c (clipper_va_start): Fix typos.
21170
21171 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
21172 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
21173 (spur_va_arg): New stub.
21174
21175 * configure.in: Comment out pyramid.
21176
21177 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
21178
21179 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
21180 don't conflict with the bits that win32, cygwin, and dgux
21181 defines.
21182
21183 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
21184 Bernd Schmidt <bernds@cygnus.co.uk>
21185
21186 * integrate.c (function_cannot_inline_p): Do not inline
21187 functions with forced labels.
21188
21189 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
21190 Bernd Schmidt <bernds@cygnus.co.uk>
21191 Mark Mitchell <mark@codesourcery.com>
21192
21193 * Makefile.in (ggc-simple.o): Depend on varray.h.
21194 (rtl.o): Depend on ggc.h.
21195 (genattrtab.o): Depend on ggc.h.
21196 (print-tree.o): Likewise.
21197 (fold-const.o): Likewise.
21198 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
21199 (make_insn_raw): Don't cache insns when GC'ing.
21200 (emit_insn_before): Likewise.
21201 (emit_insn_after): Likewise.
21202 (emit_insn): Likewise.
21203 (start_sequence): Use xmalloc to allocate the sequence_stack.
21204 (end_sequence): Add free to free it.
21205 (gen_sequence): Don't cache insns when GC'ing.
21206 (clear_emit_caches): Don't use sequence_element_free_list.
21207 (init_emit): Use xcalloc, not xmalloc+bzero.
21208 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
21209 * function.c (pop_function_context_from): Use free to free the
21210 fixup_var_refs_queue.
21211 (put_reg_into_stack): Allocate it with xmalloc.
21212 * genattrtab.c: Include ggc.h.
21213 (operate_exp): Don't use obstack_free when GC'ing.
21214 (simplify_cond): Likewise.
21215 (simplify_text_exp): Likewise.
21216 (optimize_attrs): Likewise.
21217 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
21218 GC'ing.
21219 (gencode): Generate a #include for ggc.h.
21220 * ggc-callbacks.c (ggc_p): Define it to zero.
21221 * ggc-none.c (ggc_p): Likewise.
21222 * ggc-simple.c: Include varray.h.
21223 (ggc_mark_tree_varray): New function.
21224 (ggc_add_tree_varray_root): Likewise.
21225 (ggc_mark_tree_varray_ptr): Likewise.
21226 * ggc.h (ggc_p): Declare.
21227 (varray_head_tag): Likewise.
21228 (ggc_add_tree_varray_root): Declare.
21229 * print-tree.c (print_node): Don't check for TREE_PERMANENT
21230 inconsistencies when GC'ing.
21231 * rtl.c: Include ggc.h.
21232 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
21233 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
21234 (rtx_free): Don't call obstack_free when GC'ing.
21235 * toplev.c (rest_of_compilation): Call ggc_collect after every
21236 pass, if GC'ing.
21237 * tree.c (push_obstacks): Do nothing, if GC'ing.
21238 (pop_obstacks_nochange): Likewise.
21239 (pop_obstacks): Likewise.
21240 (make_node): Use ggc_alloc_tree when GC'ing.
21241 (copy_node): Likewise.
21242 (get_identifier): Use ggc_alloc_string when GC'ing.
21243 (build_string): Likewise.
21244 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
21245 (tree_cons): Likewise.
21246 (build1): Likewise.
21247 (type_hash_canon): Don't call obstack_free when GC'ing.
21248
21249 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
21250
21251 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
21252 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
21253
21254 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
21255 Bernd Schmidt <bernds@cygnus.co.uk>
21256 Mark Mitchell <mark@codesourcery.com>
21257
21258 * Makefile.in (stor-layout.o): Depend on ggc.h.
21259 (expr.o): Depend on ggc.h.
21260 (profile.o): Depend on ggc.h.
21261 (stor-layout.o): Depend on ggc.h.
21262 * emit-rtl.c (init_emit_once): Add gc roots.
21263 * expr.c: Include ggc.h.
21264 (emit_block_move): Add gc roots.
21265 (clear_storage): Likewise.
21266 * expr.h (init_stor_layout_once): New function.
21267 * profile.c: Include ggc.h.
21268 (init_arc_profiler): profiler_label is a root.
21269 * scan.c (make_sstring_space): Trust xrealloc to function
21270 correctly with first parameter NULL.
21271 * stor-layout.c: Include ggc.h.
21272 (set_sizetype): Add gc root.
21273 (init_stor_layout_once): New function.
21274 * toplev.c (compile_file): Call it.
21275
21276 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
21277 Bernd Schmidt <bernds@cygnus.co.uk>
21278 Mark Mitchell <mark@codesourcery.com>
21279
21280 * Makefile.in (tree.o): Depend on ggc.h.
21281 (varasm.o): Likewise.
21282 (function.o): Likewise.
21283 (stmt.o): Likewise.
21284 (except.o): Likewise.
21285 (optabs.o): Likewise.
21286 (emit-rtl.o): Likewise.
21287 * emit-rtl.c: Include ggc.h.
21288 (sequence_element_free_list): Remove, and all references.
21289 (mark_sequence): New functions.
21290 (mark_emit_state): New function.
21291 * except.c: Include ggc.h.
21292 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
21293 (mark_tree_label_node): New functions.
21294 (mark_eh_state): New function.
21295 * function.c: Include ggc.h.
21296 (mark_temp_slot, mark_function_chain): New functions.
21297 (mark_function_state): New function.
21298 (init_function_once): New function.
21299 * function.h (init_function_once): New function.
21300 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
21301 * ggc.h (label_node): Declare.
21302 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
21303 (lang_mark_false_label_stack): New function.
21304 (mark_temp_slot): Remove declaration.
21305 (mark_function_chain): Likewise.
21306 (mark_eh_state): Adjust prototype.
21307 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
21308 Likewise.
21309 * optabs.c: Include ggc.h.
21310 (mark_optab): New function.
21311 (init_optabs): Add gc roots.
21312 * stmt.c: Include ggc.h.
21313 (mark_cond_nesting, mark_loop_nesting): New functions.
21314 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
21315 (mark_stmt_state): New function.
21316 * toplev.c (compile_file): Call init_function_once.
21317 * tree.c: Include ggc.h.
21318 (type_hash): Move declaration earlier in file.
21319 (TYPE_HASH_SIZE, type_hash_table): Likewise.
21320 (init_obstacks): Add gc roots.
21321 (mark_type_hash): New function.
21322 * varasm.c: Include ggc.h.
21323 (mark_pool_constant): New function.
21324 (mark_varasm_state): New function.
21325
21326 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21327
21328 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
21329
21330 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21331
21332 * c-decl.c (struct language_function): Renamed from struct c_function.
21333 Delete elt NEXT.
21334 (c_function_chain): Delete.
21335 (push_c_function_context): New arg F. Don't warn about nested
21336 functions here. Fill LANGUAGE elt of F. Delete code to update
21337 c_function_chain. Don't call push_function_context.
21338 (pop_c_function_context): New arg F. Restore from there instead of
21339 from c_function_chain. Don't call pop_function_context. Clear out
21340 LANGUAGE field of F when done.
21341 * c-lang.c: Include "function.h"
21342 (lang_init): Initialize save_lang_status and restore_lang_status.
21343 * c-parse.in (nested_function, nested_function_notype): Warn about
21344 nested functions. Call push_function_context/pop_function_context
21345 instead of the _c_ variants.
21346 * c-tree.h (push_c_function_context, pop_c_function_context): Update
21347 prototype.
21348 * Makefile.in (c-lang.o): Update dependencies.
21349
21350 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
21351 regno_pointer_flag, regno_pointer_align.
21352 (gen_reg_rtx): Use xrealloc to enlarge them.
21353 (free_emit_status): New function.
21354 * function.c (mark_machine_status, mark_lang_status): New variables.
21355 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
21356 in some bits from assign_stack_local. All callers changed to use new
21357 name.
21358 (assign_stack_local): Just call assign_stack_local_1.
21359 (free_after_compilation): New function.
21360 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
21361 (trampoline_address): Likewise.
21362 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
21363 (prepare_function_start): Explicitly clear some more variables.
21364 * function.h (struct function): New elt can_garbage_collect.
21365 (mark_machine_status, mark_lang_status): Declare variables.
21366 (free_after_compilation, free_emit_status, free_varasm_status,
21367 init_varasm_status): Declare functions.
21368 * toplev.c (rest_of_compilation): Call free_after_compilation when
21369 done with the current function.
21370 * varasm.c (free_varasm_status): New function.
21371
21372 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
21373
21374 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
21375 (EXPAND_BUILTIN_VA_ARG): Define.
21376 * sparc.c (sparc_va_start): New.
21377 (sparc_va_arg): New.
21378
21379 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21380
21381 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
21382
21383 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21384
21385 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
21386
21387 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
21388
21389 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
21390 (OBJS): Add $(GGC).
21391 (ggc-callbacks.o): New target.
21392 * ggc-callbacks.c: New file.
21393
21394 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21395
21396 * expr.h: Collapse individual optab and libfunc vars to arrays.
21397 (optab_index, libfunc_index): New enumerations.
21398 (optab_table, libfunc_table): New arrays.
21399 Add accessor macros for both.
21400
21401 * optabs.c (optab_table, libfunc_table): New.
21402 Delete declarations for individual optab and libfunc vars.
21403
21404 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
21405
21406 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
21407
21408 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
21409
21410 * Makefile.in (GGC, GGC_LIB): New.
21411 (HOST_RTL): Include ggc-none.o.
21412 (ggc-simple.o): New target.
21413 (ggc-none.o): Likewise.
21414 * tree.h (tree_common): Add gc_mark.
21415 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
21416 (struct rtvec_def): Add gc_mark.
21417 * emit-rtl.c (global_rtl): Update static initializers to contain
21418 enough initializers.
21419 * ggc.h, ggc-none.c, ggc-simple.c: New files.
21420 * toplev.c (gc_time): New variable.
21421 (all_time): New variable.
21422 (compile_file): Print gc time.
21423 (print_time): Calculate percentage of the whole.
21424
21425 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21426
21427 Change obstack memory management and varasm constant pool handling so
21428 that nested functions are treated like any other functions.
21429 * function.c (init_machine_status): New variable.
21430 (push_function_context_to): Set contains_functions for the outer
21431 function. Don't call save_varasm_status.
21432 (pop_function_context_from): Don't call restore_varasm_status. Don't
21433 set current_function_contains_functions.
21434 (prepare_function_start): Call init_varasm_status rather than
21435 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
21436 is non-null.
21437 * function.h (struct function) Add field varasm. Delete fields
21438 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
21439 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
21440 (init_machine_status): Declare.
21441 (save_varasm_status, restore_varasm_status): Delete declarations.
21442 (save_tree_status, restore_tree_status): Delete last argument.
21443 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
21444 code. All callers changed.
21445 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
21446 save_constants_in_decl_trees, restore_constants, save_constants,
21447 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
21448 functions.
21449 (inlining): New variable.
21450 (reg_map, label_map, insn_map, orig_asm_operands_vector,
21451 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
21452 variables.
21453 (save_for_inline_nocopy): Don't save constants.
21454 Don't set inl_emit field in current_function.
21455 (expand_inline_function): Use emit field, not inl_emit, of the inlined
21456 function. Set new variable inlining before
21457 calling copy_rtx_and_substitute.
21458 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
21459 constant pool references if inlining is nonzero.
21460 Delete ADDRESS and (most of the) CONST cases.
21461 (output_inline_function): Save and restore current_function/
21462 current_function_decl. Delete restore_constants code. Don't call
21463 init_const_rtx_hash_table.
21464 * output.h (init_const_rtx_hash_table): Don't declare.
21465 * rtl.h (struct function): Declare.
21466 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
21467 * toplev.c (rest_of_compilation): Don't treat nested functions or
21468 functions containing them specially. Delete all code to deal with
21469 save_for_inline_copying.
21470 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
21471 inline_obstacks): Delete variables.
21472 (save_tree_status): Lose arg CONTEXT. All callers changed.
21473 Simply allocate a new function_maybepermanent_obstack for the new
21474 function, delete all the special cases.
21475 Don't save inline_obstacks.
21476 (restore_tree_status): Lose arg CONTEXT. All callers changed.
21477 Delete special handling for function_maybepermanent_obstack; simply
21478 free it if empty.
21479 Don't restore inline_obstacks.
21480 (permanent_allocation): Delete code that frees inline_obstacks.
21481 (print_inline_obstack_statistics): Delete function.
21482 (dump_tree_statistics): Don't call it.
21483 * varasm.c (struct varasm_status): New.
21484 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
21485 last_pool, pool_offset, const_double_chain): Delete global
21486 variables, replace with accessor macros.
21487 (immed_double_const): Don't walk const_double_chain outside a
21488 function, but don't treat nested functions specially anymore.
21489 (immed_real_const_1): Likewise.
21490 (clear_const_double_mem): Don't treat nested functions specially.
21491 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
21492 (save_varasm_status, restore_varasm_status): Delete functions.
21493 (init_varasm_status): New function.
21494 (force_const_mem): Don't treat nested functions specially.
21495 (find_pool_constant): Accept new arg F, search for constants in
21496 that function's pool rather than the current one. All callers
21497 changed.
21498 (get_pool_constant_for_function, get_pool_mode_for_function): New
21499 functions.
21500
21501 * i386.c (init_386_machine_status): New function, mostly from
21502 clear_386_stack_locals.
21503 (struct machine_functions): Rename element names to avoid name
21504 clashes.
21505 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
21506 macros, replacing global variables.
21507 (clear_386_stack_locals, save_386_machine_status,
21508 restore_386_machine_status): Delete functions.
21509 (override_options): Initialize init_machine_status.
21510 * i386.h (INIT_EXPANDERS): Delete macro.
21511 (save_386_machine_status, restore_386_machine_status,
21512 clear_386_stack_locals): Delete declarations.
21513
21514 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21515
21516 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
21517 (doloop_begin): Simplify pattern and use emit_jump_insn.
21518 (doloop_end): Simplify pattern, switch operand order,
21519 and use emit_jump_insn.
21520
21521 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
21522
21523 * function.h (struct function): Add new element LANGUAGE.
21524 (save_lang_status): Declare new variable.
21525 (restore_lang_status): Likewise.
21526 * function.c (save_lang_status): Define.
21527 (restore_lang_status): Likewise.
21528 (push_function_context_to): Call language-specific save function.
21529 (pop_function_context_from): Call language-specific restore function.
21530
21531 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
21532
21533 * i386.md (movsf_1): Check REG_P before use of REGNO.
21534 (movdf_1): Likewise.
21535 (movxf_1): Likewise.
21536 (extendsfdf2): Likewise.
21537 (extendsfxf2): Likewise.
21538 (extenddfxf2): Likewise.
21539
21540 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21541
21542 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
21543 constants into memory.
21544 (c4x_shiftable_constant): New function.
21545 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
21546 (c4x_shiftable_constant): Declare.
21547 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
21548 ashlqi3_noclobber): Add new patterns and associated splitters.
21549
21550 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
21551
21552 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
21553 * dwarf2out.c (dwarf2out_frame_init): Likewise.
21554 * final.c (shorten_branches): Likewise.
21555 * global.c (global_alloc): Likewise.
21556 * haifa-sched.c (build_control_flow): Likewise.
21557 * stmt.c (check_for_full_enumeration_handling): Likewise.
21558 (estimate_case_costs): Likewise.
21559
21560 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
21561
21562 * rtl.h (RTL_CHECKC2): Fix typo in last change.
21563
21564 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
21565
21566 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
21567 (recompute_reg_usage): Likewise.
21568 * rtlanal.c (find_regno_fusage): Likewise.
21569
21570 * rtl.c (rtl_check_failed_code1): New function.
21571 (rtl_check_failed_code2): New.
21572 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
21573 (RTL_CHECKC1, RTL_CHECKC2): New.
21574 (XC*): New accessor macros.
21575 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
21576 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
21577 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
21578 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
21579 (TRAP_*, RANGE_INFO_*): Likewise.
21580
21581 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21582
21583 * Makefile.in (tlink.o): Don't depend on toplev.h.
21584
21585 * collect2.c (c_file, o_file, export_file, import_file, ldout,
21586 output_file, nm_file_name, ldd_file_name, strip_file_name,
21587 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
21588 add_prefix, prefix_from_env, prefix_from_string, do_wait,
21589 fork_execute, maybe_unlink, add_to_list,
21590 extract_init_priority, write_list, dump_list,
21591 dump_prefix_list, write_list_with_asm, write_c_file,
21592 write_c_file_stat, write_c_file_glob, scan_prog_file,
21593 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
21594 ignore_library, extract_string, notice, dump_file, target_machine,
21595 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
21596 read_file, print_load_command): Constify a char*.
21597 (fdopen, error, fatal, fatal_perror): Don't prototype.
21598 (my_strerror): Remove. All callers use xstrerror instead.
21599 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
21600 (main): Add prototype. Constify lots of char* ptrs. Change calls
21601 to xcalloc/strcpy/strcat/... to one call to concat.
21602 (main, scan_prog_file, scan_libraries): Use an intermediate
21603 `const char **' to build an argv array.
21604 (mapfile, libselect, libcompare, locatelib): Add prototypes.
21605
21606 * collect2.h (collect_execute, collect_wait, dump_file,
21607 file_exists): Constify a char*.
21608 (ldout, c_file_name, temporary_obstack, permanent_obstack,
21609 temporary_firstobj, vflag, debug): Add extern declarations.
21610 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
21611
21612 * tlink.c: Don't include toplev.h.
21613 (vflag, debug, ldout, c_file_name, temporary_obstack,
21614 permanent_obstack, temporary_firstobj): Don't declare.
21615 (tlink_execute, frob_extension, symbol_hash_lookup,
21616 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
21617 recompile_files, read_repo_files, demangle_new_symbols,
21618 scan_linker_output): Constify a char*.
21619 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
21620 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
21621
21622 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
21623
21624 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
21625 (relative) rather than jsr (absolute) subroutine call insns.
21626 * config/m68k/m68k-coff.h: Ditto.
21627
21628 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
21629
21630 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
21631 now rework these too.
21632 (arm_reorg): If an insn can't reach the end of the current pool,
21633 ensure that we emit that pool before the insn.
21634
21635 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
21636
21637 * tlink.c (scan_linker_output): Skip the initial underscore in
21638 a mangled name if appropriate.
21639
21640 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21641
21642 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
21643 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
21644 error_with_ivar, gen_declarator, create_builtin_decl,
21645 my_build_string, generate_descriptor_table, generate_ivars_list,
21646 generate_dispatch_table, check_protocols, TAG_GETCLASS,
21647 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
21648 dump_base_name, lang_decode_option, build_encode_expr,
21649 start_class, finish_class, encode_pointer, really_start_method,
21650 gen_declaration, dump_interface, handle_class_ref, handle_impent):
21651 Constify.
21652 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
21653 Add static prototypes.
21654 (build_objc_string_decl, build_selector_reference_decl,
21655 encode_bitfield, build_class_reference_decl): Remove unused
21656 parameter, all callers changed.
21657 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
21658 (objc_printable_name): Likewise. Change second parameter to type int.
21659 (init_objc): Use memcpy, not bcopy, to avoid casts.
21660
21661 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
21662
21663 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
21664 reg notes on a deleted insn.
21665 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
21666
21667 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
21668
21669 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
21670
21671 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21672
21673 * stmt.c (expand_asm_operands): Fix index into inout_mode when
21674 reading it.
21675
21676 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
21677
21678 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
21679 * tm.texi (MD_ASM_CLOBBERS): Document it.
21680
21681 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
21682
21683 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
21684 * except.c (expand_rethrow): Remove unused variable.
21685 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
21686 * flow.c (replace_insns): Likewise.
21687 (create_edge_list, verify_edge_list): Likewise.
21688 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
21689
21690 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
21691 is special code to run.
21692 (main): Don't define operands to emit_operand.
21693 * genrecog.c (main): Don't emit an empty peephole2_insn function.
21694
21695 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
21696
21697 * alpha/alpha.h (normal_memory_operand): Declare.
21698 (reg_no_subreg_operand): Declare.
21699 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
21700
21701 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
21702
21703 * c-parse.in (compstmt_primary_start): New, broken out of first
21704 part of compstmt handling in primary.
21705 (primary): Use it. Add an error clause.
21706 (compstmt_nostart): Renamed from compstmt; remove all
21707 initial invocations of compstmt_start.
21708 (compstmt): New.
21709
21710 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
21711
21712 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
21713 needed.
21714
21715 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
21716
21717 * combine.c (simplify_shift_const): Remove extra semicolon.
21718 * dwarf2out.c (remove_AT): Likewise.
21719 * expmed.c (expand_mult): Likewise.
21720 * gcov.c (create_program_flow_graph): Likewise.
21721 * reorg.c (mostly_true_jump): Likewise.
21722
21723 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
21724
21725 * fold-const.c (fold_range_test): Do not try to fold the range
21726 test if the rhs or lhs has side effects.
21727
21728 * combine.c (simplify_rtx): Recognize another case of a synthesized
21729 sign extension.
21730
21731 * varasm.c (mark_constant_pool): When marking indirect references,
21732 only look at SYMBOL_REFs.
21733
21734 * except.c (expand_fixup_region_end): Do not peek at
21735 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
21736
21737 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
21738
21739 * flags.h: New variables align_loops, align_loops_log,
21740 align_jumps, align_jumps_log, align_labels, align_labels_log,
21741 align_functions, align_functions_log.
21742 * toplev.c: Define them.
21743 (f_options): Handle -falign-* when they have no argument.
21744 (main): Add logic to set variables for -falign-functions,
21745 -falign-jumps, -falign-labels, -falign-loops.
21746 Make it -fsched-verbose=<n> and -finline-limit=<n>.
21747 (display_help): Change help to match options.
21748 * final.c (LABEL_ALIGN): Default to align_labels_log.
21749 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
21750 (LOOP_ALIGN): Default to align_loops_log.
21751 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
21752 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
21753 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
21754 * varasm.c (assemble_start_function): Handle align_functions.
21755
21756 * config/sparc/sparc.h: Don't declare sparc_align_*.
21757 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
21758 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
21759 sparc.c.
21760 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
21761 it's a promise.
21762 * config/sparc/sparc.c: Delete sparc_align_loops,
21763 sparc_align_jumps, sparc_align_funcs and the corresponding string
21764 variables.
21765 (sparc_override_options): Default align_functions on ultrasparc.
21766 Delete -malign-* handling.
21767
21768 * config/mips/mips.c (override_options): On 64-bit targets,
21769 try to align code to 64-bit boundaries.
21770 (print_operand): New substitution, %~,
21771 which aligns labels to align_labels_log.
21772 * config/mips/mips.md (div_trap_normal): Use %~.
21773 (div_trap_mips16): Likewise.
21774 (abssi): Likewise.
21775 (absdi2): Likewise.
21776 (ffssi2): Likewise.
21777 (ffsdi2): Likewise.
21778 (ashldi3_internal): Likewise.
21779 (ashrdi3_internal): Likewise.
21780 (lshrdi3_internal): Likewise.
21781 (casesi_internal): Likewise.
21782
21783 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
21784
21785 Merge new ia32 backend from the branch!
21786
21787 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
21788 See ChangeLog.P2 on new_ia32_branch for details.
21789
21790 * rtl.h (stack_regs_mentioned_p): Delete prototype.
21791 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
21792 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
21793 * i386/gas.h (ASM_FILE_START): Define.
21794 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
21795 for name change of ix86_valid_decl_attribute_p.
21796 (i386_pe_valid_type_attribute_p): Similarly.
21797
21798 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
21799
21800 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
21801 to step through CC modes.
21802
21803 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21804
21805 * regmove.c (fixup_match_1): Don't move INSN in front of P if
21806 it would end up in the shadow of a live flags regsiter.
21807
21808 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21809
21810 * reload1.c: Fix many indentation problems.
21811 * reload.c: Likewise.
21812
21813 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
21814
21815 * alias.c (non_local_reference_p): Constify fmt.
21816
21817 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
21818
21819 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
21820
21821 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
21822
21823 * cse.c (delete_trivially_dead_insns): Do not delete stores to
21824 the internal_arg_pointer.
21825
21826 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
21827
21828 Merge peephole2 from new_ia32_branch:
21829 * Makefile.in (STAGESTUFF): Add *.peephole2.
21830 (mostlyclean): Likewise.
21831 (recog.o): Depend on resource.h.
21832
21833 * final.c (peephole): Conditionalize decl on HAVE_peephole.
21834 (final_scan_insn): Likewise for the invocation of peephole.
21835 * genconfig.c (main): Look for peephole and peephole2 patterns.
21836 Emit HAVE_peephole* accordingly.
21837 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
21838 * flags.h (flag_peephole2): Declare.
21839 * toplev.c: New pass peephole2. New flag -fpeephole2.
21840
21841 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
21842 * gencodes.c (main): Likewise.
21843 * genextract.c (main): Likewise.
21844 * genoutput.c (main): Likewise.
21845 * genemit.c (max_operand_1): Look for the max scratch operand.
21846 (gen_rtx_scratch): New.
21847 (gen_exp): Use it, and pass on new arg subroutine_type.
21848 (gen_expand): Take max scratch into account.
21849 (gen_split): Emit peephole2 functions.
21850 (output_peephole2_scratch): New.
21851 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
21852 * genrecog.c (routine_type): Add PEEPHOLE2.
21853 (IS_SPLIT): New.
21854 (make_insn_sequence): Match outer parallel for peep2. Discard
21855 top level scratches and dups.
21856 (add_to_sequence): New args insn_type and top. Update all callers.
21857 Handle toplevel peep2 matching insns.
21858 (write_subroutine): Handle peep2.
21859 (write_tree_1): Likewise.
21860 (write_tree): Likewise.
21861 (main): Likewise.
21862 (change_state): New arg afterward. Update all callers.
21863 Handle matching separate insns.
21864 * recog.c (recog_next_insn): New.
21865 (peephole2_optimize): New.
21866 * rtl.def (DEFINE_PEEPHOLE2): New.
21867 * resource.c (find_free_register): New argument last_insn. Use it
21868 to find a register available through the entire span.
21869 * resource.h (find_free_register): Update prototype.
21870
21871 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
21872
21873 * i386.c (output_strlen_unroll): Don't write xops[7]
21874 label if it wasn't set.
21875
21876 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
21877
21878 * cpplib.c (struct directive): Const-ify name pointer and
21879 function pointer prototype.
21880 (validate_else, do_define, do_line, do_include, do_undef,
21881 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
21882 do_elif, do_endif, do_sccs, do_assert, do_unassert,
21883 do_warning): Const-ify second arg.
21884 (directive_table): Mark const. Reorder entries by frequency
21885 of usage, record statistics.
21886
21887 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
21888
21889 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
21890 bounds- check RTL accesses if --enable-checking.
21891 (RTVEC_ELT): Bounds check if --enable-checking.
21892 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
21893 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
21894 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
21895 GET_NUM_ELEM.
21896 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
21897 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
21898
21899 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
21900 (NOTE_SOURCE_FILE): Use X0STR.
21901 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
21902 MEM_ALIAS_SET): Use X0INT.
21903 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
21904 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
21905 Use X0EXP.
21906 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
21907 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
21908 (rtl_check_failed_bounds, rtl_check_failed_type1,
21909 rtl_check_failed_type2, rtvec_check_failed_bounds): New
21910 functions.
21911 (fancy_abort): Fix comment.
21912
21913 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
21914 (cse_insn): Decrement LABEL_NUSES for jump target before
21915 deleting jump insn.
21916 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
21917 * final.c (alter_subreg): Compute regno before changing x to
21918 REG; set REGNO(x) after changing it.
21919 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
21920 notes containing CONST_INTs.
21921 (delete_eh_regions): Use NOTE_EH_HANDLER.
21922 * function.c (put_reg_into_stack): Make reg a MEM before
21923 initializing it.
21924 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
21925 delete insn.
21926 (gen_mem_addressof): Make reg a MEM before initializing it.
21927 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
21928 X0WINT.
21929 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
21930 deleting an insn, not after.
21931 (block_alloc): Only look at PATTERN(insn) if we have to, and
21932 only if it's format class 'i'.
21933 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
21934 CONST_INT before using its INTVAL.
21935 * print-rtl.c (print_rtx): Use X0STR.
21936 * regmove.c (fixup_match_1): Don't look at PATTERN of
21937 non-class-'i' insn chain elements.
21938 * reload.c (loc_mentioned_in_p): Take address of
21939 in->fld[1].rtx directly.
21940 * reload1.c (reload): Change reg to a MEM before initializing
21941 it.
21942 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
21943 have no names.
21944 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
21945
21946 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
21947
21948 * config/mips/mips.c (machine_dependent_reorg): Force a
21949 barrier to output the local constant pool if a barrier hasn't
21950 been found at a natural point in the instruction stream.
21951
21952 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21953
21954 * c-parse.in (language_string): Constify.
21955
21956 * dwarf2out.c (language_string): Remove declaration.
21957
21958 * dwarfout.c (language_string): Likewise.
21959
21960 * toplev.c (language_string, init_parse, finish_parse): Likewise.
21961
21962 * tree.h (language_string, init_parse, finish_parse): Declare.
21963
21964 * i386/sun386.h (language_string): Remove declaration.
21965
21966 * mips.h (language_string): Likewise.
21967
21968 * nextstep.h (language_string): Likewise.
21969
21970 * nextstep21.h (language_string): Likewise.
21971
21972 * rs6000.c (language_string): Likewise.
21973
21974 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21975
21976 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
21977 (getpwd.o): Remove target.
21978
21979 * getpwd.c: Delete file. Its in libiberty now.
21980
21981 * dbxout.c (getpwd): Don't prototype.
21982 * dwarf2out.c (getpwd): Likewise
21983 * dwarfout.c (getpwd): Likewise
21984 * final.c (getpwd): Likewise.
21985 * protoize.c (getpwd): Likewise.
21986
21987 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21988
21989 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
21990
21991 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
21992
21993 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
21994 mark_set_resources.
21995
21996 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
21997
21998 * fixinc/Makefile.in (subdir): New.
21999 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
22000 (Makefile): New.
22001
22002 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
22003
22004 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
22005 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
22006 be shared.
22007
22008 * invoke.texi: Fix typo.
22009
22010 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
22011 changed. Handle autoincrement addressing modes.
22012
22013 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
22014 just like we would the virtual incoming args register when
22015 integrating.
22016
22017 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
22018
22019 * rs6000.h (ASM_FILE_START): Specify complete filename, including
22020 path, in .file directive.
22021
22022 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
22023
22024 * gcc.texi (External Bugs): Remove obsolete note about Perl on
22025 SunOS.
22026
22027 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
22028
22029 * stdbool.h: Make the typedef name _Bool, with bool a #defined
22030 alias.
22031
22032 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22033
22034 * tree.c (tree_code_name): Constify a char*.
22035
22036 * tree.h (tree_code_name, decl_printable_name): Likewise.
22037
22038 * function.h (struct function): Likewise.
22039
22040 * toplev.c (decl_name, decl_printable_name): Likewise.
22041
22042 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
22043
22044 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
22045 (init_objc): Remove function pointer cast.
22046
22047 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
22048
22049 * pa.md (interspace_jump): New pattern.
22050 (builtin_longjmp): New expander.
22051
22052 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
22053
22054 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
22055 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
22056 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
22057
22058 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
22059
22060 * jump.c (delete_prior_computation): Also check calls
22061 to constant functions. Don't bother checking for a
22062 REG_UNUSED note before adding it.
22063 (delete_computation): Handle multi-word hard registers
22064 when synthesizing missing REG_DEAD notes for a register
22065 which is both set and used by an insn.
22066
22067 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
22068
22069 * loop.c (this_loop_info): New variable.
22070 (loop_has_call, loop_has_volatile, loop_has_tablejump,
22071 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
22072 All uses updated.
22073 (prescan_loop, strength_reduce): New argument loop_info. All callers
22074 updated.
22075 (scan_loop): New variable loop_info, initialise to address of
22076 this_loop_info.
22077 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
22078 Delete variable loop_has_multiple_exit targets and replace with
22079 field in this_loop_info.
22080 (find_and_verify_loops): Rename this_loop to this_loop_num.
22081 (strength_reduce): Delete loop_iteration_info. Replace variable
22082 loop_info with function argument of same name.
22083 (insert_bct): Rework test for loop being completely unrolled.
22084
22085 * loop.h (struct loop_info): New fields num, loops_enclosed,
22086 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
22087 has_indirect_jump, and cont. Redefine use of unroll_number.
22088 (loop_unroll_number): Delete.
22089
22090 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
22091 field of loop_info.
22092 (loop_iterations): Delete variable vtop and instead use
22093 loop_info->vtop computed in prescan_loop.
22094
22095 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
22096
22097 * fix-header.c (main): Do not pass a null pointer to strcmp.
22098
22099 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
22100
22101 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
22102 filenames.
22103 * configure: Rebuilt.
22104
22105 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
22106
22107 * jump.c (jump_optimize_1): Do not delete assignments to
22108 internal_arg_pointer.
22109 * cse.c (delete_trivially_dead_insns): Always consider a set of
22110 the internal_arg_pointer live.
22111
22112 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
22113
22114 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
22115 (update_life_info) [REG_WAS_0]: Search the original insns rather
22116 than the new insns for the note. Fix typos finding note_dest.
22117 If no dest found, discard the note rather than abort.
22118 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
22119 (replace_insns): Remove the old insn list after update_life_info
22120 not before.
22121
22122 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
22123
22124 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
22125 sched_analyze_insn.
22126 (sched_analyze_1): Let add_dependence care for not adding dups.
22127 (sched_analyze_2): Likewise.
22128 (add_branch_dependences): Likewise.
22129
22130 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
22131
22132 * i386/winnt.c (export_list): New type.
22133 (exports_head): Rename to
22134 (export_head): this.
22135 (i386_pe_record_exported_symbol): Add is_data flag.
22136 (i386_pe_asm_file_end): Emit directive for exported variables.
22137 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
22138 prototype.
22139 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
22140 (ASM_DECLARE_OBJECT_NAME): Likewise.
22141 (ASM_DECLARE_FUNCTION_NAME): Likewise.
22142 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
22143
22144 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
22145
22146 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
22147
22148 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
22149 operand.
22150
22151 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
22152
22153 * config/openbsd.h: Define SET_ASM_OP.
22154 * tm.texi: cross-reference SET_ASM_OP in the index.
22155
22156 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
22157
22158 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
22159 for a CONST_DOUBLE, at compile time. Initialize rtx_length
22160 and class_narrowest_mode at compile time. Kill init_rtl.
22161 Mark rtx_length, mode_class, mode_size, mode_unit_size,
22162 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
22163 rtx_format as const. Kill all references to EXTRA_CC_MODES or
22164 EXTRA_CC_NAMES.
22165 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
22166 format.
22167 * rtl.h: Declare rtx_length and rtx_format as const.
22168 * machmode.def: Define CC(). Use CC() to define CCmode. If
22169 EXTRA_CC_MODES is defined, expand it here.
22170 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
22171 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
22172 const. Kill all references to EXTRA_CC_MODES.
22173
22174 * toplev.c: Don't prototype or call init_rtl.
22175 * optabs.c: Don't call init_mov_optab.
22176 * genemit.c: Don't generate init_mov_optab. Don't call
22177 init_rtl.
22178 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
22179 here.
22180 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
22181 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
22182 genrecog.c: Don't call init_rtl.
22183
22184 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
22185 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
22186 definition of EXTRA_CC_MODES.
22187
22188 * md.texi: Kill ref to EXTRA_CC_NAMES.
22189 * tm.texi: Document new way to define EXTRA_CC_MODES.
22190
22191 * genrecog.c: Do not look up the name of a define_split.
22192 (Unrelated bugfix.)
22193
22194 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
22195
22196 * config/v850/v850.md: Fix typo introduced by previous delta.
22197
22198 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22199
22200 * gcc.c (fatal): Make definition static to match prototype.
22201
22202 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22203
22204 * combine.c (get_last_value): Don't look for earlier sets if the last
22205 known set is somewhere in between the insns being combined.
22206
22207 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
22208
22209 * configure.in: Don't use shell ! to negate exit codes
22210 * configure: Regenerate
22211
22212 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
22213
22214 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
22215 the fact that ALIGN is measured in bits, not bytes.
22216
22217 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
22218
22219 * errors.c: New file; defines functions error, warning, and
22220 fatal, variables have_error and progname.
22221 * errors.h: New file; prototypes and decls for stuff in errors.c.
22222
22223 * Makefile: Add rules to build errors.o and
22224 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
22225 genopinit, genrecog, genextract, genpeep, genattr, and
22226 genoutput with errors.o. Add errors.h to deps of genconfig.o,
22227 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
22228 genpeep.o, genattr.o, and genoutput.o.
22229
22230 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
22231 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
22232 define or prototype fatal. Set progname at beginning of main.
22233 * genoutput.c: Likewise, and don't define or prototype error
22234 either.
22235
22236 * c-typeck.c (c_expand_start_case): Return immediately if exp
22237 is an ERROR_MARK.
22238 * fold-const.c (operand_equal_p): Return immediately if arg1
22239 or arg0 are ERROR_MARKs.
22240 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
22241 fields of type ERROR_MARK when calculating if the record can
22242 go in a register.
22243
22244 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
22245 with much help from Jeffrey A Law and Richard Henderson
22246
22247 * i386.md: In the 6 insns which call output_fix_trunc,
22248 earlyclobber operands[0].
22249
22250 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
22251
22252 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
22253 creating new registers.
22254
22255 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
22256
22257 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
22258 i386_reg_alloc_order, i386_regparm_string,
22259 i386_align_loops_string, i386_align_jumps_string,
22260 i386_align_funcs_string, i386_preferred_stack_boundary_string,
22261 and i386_branch_cost_string as type "const char *".
22262 * i386.c: Define all above strings as type "const char *".
22263
22264 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
22265
22266 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
22267 when emitting alignment padding. Emit padding byte of 0 instead of 4.
22268
22269 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
22270
22271 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
22272 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
22273
22274 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
22275
22276 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
22277 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
22278 (dwarf2out_line, dwarf2out_finish): Likewise.
22279 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
22280
22281 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
22282
22283 * tree.c (lang_unsave_expr_now) : Correct return type.
22284 * tree.h (lang_unsave_expr_now) : Same.
22285
22286 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
22287
22288 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
22289 instead of duplicating code.
22290
22291 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22292
22293 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
22294
22295 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
22296
22297 * tree.h: fancy_abort always takes three args.
22298 * resource.c: Move include of system.h before toplev.h.
22299
22300 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
22301
22302 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
22303 as SYMBOL_REFs.
22304
22305 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
22306
22307 * system.h: Don't redefine abort or trim_filename.
22308 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
22309 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
22310 whether or not __FUNCTION__ is available.
22311 * tree.h: Duplicate rtl.h's definition of abort, for files
22312 that don't include rtl.h. Delete all code to perform type
22313 checking with a compiler other than GCC.
22314 * varray.h: Delete all code to perform type checking with a
22315 compiler other than GCC. Make VARRAY_CHECK() always evaluate
22316 its arguments exactly once, using a statement expression.
22317 Adjust the VARRAY_<type> accessor macros to match.
22318 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
22319 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
22320 caller's location. Define fatal_insn and fatal_insn_not_found
22321 as macros that use _fatal_insn and _fatal_insn_not_found.
22322 (fancy_abort, trim_filename): Kill prototypes.
22323
22324 * rtl.c (trim_filename): Move here from toplev.c.
22325 (fancy_abort): New function.
22326 (DIR_SEPARATOR): Provide default definition.
22327 * tree.c (tree_check_failed, tree_class_check_failed): Go
22328 through fancy_abort.
22329 (tree_check, tree_class_check, cst_or_constructor_check,
22330 expr_check): Delete.
22331 * varray.c (varray_check_failed): New function.
22332 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
22333 _fatal_insn and _fatal_insn_not_found. Go through
22334 fancy_abort.
22335 (trim_filename, fancy_abort): Delete.
22336
22337 * builtins.c (expand_builtin_args_info): Report ICE with abort.
22338 * except.c (start_catch_handler): Report ICE with error/abort
22339 combo.
22340 * final.c (output_operand_lossage): Likewise.
22341 * flow.c (verify_flow_info): Likewise.
22342
22343 * gcc.c: Prototype fatal.
22344 * gengenrtl.c: Undef abort after including rtl.h not system.h.
22345 * genattr.c, genattrtab.c, genemit.c, genextract.c,
22346 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
22347 Don't define fancy_abort.
22348
22349 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
22350
22351 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
22352 canonization.
22353
22354 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
22355
22356 * m88k.h (VERSION_INFO2): Kill.
22357 (VERSION_STRING): Kill.
22358 (TM_RCS_ID): Kill.
22359 (VERSION_INFO1): Tidy.
22360 (TARGET_VERSION): Update.
22361 * m88k/dgux.h (VERSION_INFO2): Kill.
22362 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
22363 * m88k/luna.h (VERSION_INFO1): Tidy.
22364 * m88k/sysv4.h (VERSION_INFO1): Likewise.
22365 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
22366 (output_file_start): Adjust for death of VERSION_STRING.
22367
22368 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
22369
22370 * cpplib.c (detect_if_not_defined): New function.
22371 (do_if): Use it to detect potential once-only headers.
22372
22373 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
22374
22375 * c-common.c (combine_strings): Always set TREE_CONSTANT.
22376
22377 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
22378
22379 * combine.c (nonzero_bits) : Allow single-ly set registers to be
22380 anywere in the function only if they are pseudos and set before
22381 being used (not live at the start of the function).
22382 (num_sign_bit_copies) : Same.
22383 (get_last_value_validate) : Same.
22384 (get_last_value) : Same.
22385
22386 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
22387
22388 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
22389 where N and M are constant and N is an integer multiple of M.
22390
22391 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
22392
22393 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
22394 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
22395 sbitmap_union_of_preds): Add prototypes.
22396 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
22397 the intersection of successors with the new flow graph structures.
22398 (sbitmap_intersection_of_preds): New function to compute the
22399 intersection of predecessors with the new flow graph structures.
22400 (sbitmap_union_of_succs): New function to compute the union of
22401 successors with the new flow graph structures.
22402 (sbitmap_union_of_preds): New function to compute the union of
22403 predecessors with the new flow graph structures.
22404 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
22405 (expr_reaches_here_p): Use edge and basic_block structures instead
22406 of s_preds and s_succs.
22407 (compute_cprop_avinout): Use new sbitmap routines.
22408 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
22409 of s_preds and s_succs.
22410 * flow.c (compute_flow_dominators): Compute dominators using
22411 edges and basic blocks instead of s_preds and s_succs.
22412
22413 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
22414
22415 * lists.c (unused_insn_list, unused_expr_list): New file for
22416 maintaining various types of lists. New statics for maintaining a
22417 cache of available INSN_LIST and EXPR_LIST nodes.
22418 (free_list): Static function for freeing a list of INSN/EXPR nodes.
22419 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
22420 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
22421 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
22422 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
22423 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
22424 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
22425 (free_INSN_LIST_node): Free an individual INSN_LIST node.
22426 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
22427 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
22428 (remove_dependence, free_pending_lists): Use new global routines.
22429 (flush_pending_lists, sched_analyze_insn): Use new global routines.
22430 (sched_analyze, compute_block_backward_dependences): Use new routines.
22431 (sched_analyze_1, sched_analyze_2): Use new routines.
22432 (schedule_insns): Use new global routines.
22433 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
22434 prototypes.
22435 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
22436 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
22437 prototypes.
22438 * toplev.c (rest_of_compilation): Initialize node cache.
22439 * Makefile.in (OBJS): Add lists.o to list of object files.
22440 (lists.o): Add dependancies.
22441
22442 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
22443
22444 * config/v850/v850.md: Fix compile time warning messages.
22445 * config/v850/v850.c: Fix compile time warning messages.
22446 * config/v850/v850.h: Fix compile time warning messages.
22447
22448 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22449
22450 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
22451 Remove unused prototype for `init_lengths'.
22452
22453 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22454
22455 * calls.c (emit_call_1): Mark parameter `stack_size' with
22456 ATTRIBUTE_UNUSED.
22457 (expand_call): Initialize variable `insn'.
22458 (emit_library_call): Likewise for variable `high_to_save'.
22459 (emit_library_call_value): Likewise.
22460 (store_one_arg): Likewise for variables `lower_bound' and
22461 `upper_bound'.
22462
22463 * combine.c (try_combine): Likewise for variables `i2_code_number'
22464 and `other_code_number'.
22465 (find_split_point): Likewise for variables `pos', `unsignedp' and
22466 `inner'.
22467 (simplify_if_then_else): Likewise for variables `op' and `c1'.
22468 (simplify_and_const_int): Remove unused variable `width'.
22469 (merge_outer_ops): Likewise.
22470
22471 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
22472 HOST_WIDE_INT' when comparing against one.
22473 (simplify_relational_operation): Likewise.
22474 (cse_insn): Initialize variables `src_eqv_volatile',
22475 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
22476
22477 * final.c (init_final): Constify parameter `filename'.
22478 (final_start_function): Mark parameter `optimize' with
22479 ATTRIBUTE_UNUSED.
22480 (profile_function): Likewise for parameters `first' and `optimize'.
22481 (output_source_line): Likewise for parameter `file'.
22482
22483 * integrate.c (subst_constants): Cast a value to `size_t' when
22484 comparing against one.
22485 (mark_stores): Initialize variable `mode'. Cast a value to
22486 `size_t' when comparing against one.
22487
22488 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
22489
22490 * loop.c (move_movables): Initialize variable `first'.
22491 (strength_reduce): Likewise for variable `increment'.
22492 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
22493 value to `size_t' when comparing against one.
22494 (load_mems): Initialize variable `end_label'.
22495
22496 * output.h (init_final): Constify parameter.
22497
22498 * reload.c (decompose): Initialize variable `base'.
22499
22500 * reload1.c (reload): Likewise for variable `is_scalar'.
22501 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
22502 (choose_reload_regs): Initialize variable `mode'.
22503 (emit_reload_insns): Likewise for variable `store_insn'.
22504 (reload_cse_noop_set_p): Mark parameter `insn' with
22505 ATTRIBUTE_UNUSED.
22506 (reload_combine): Initialize variable `set'.
22507
22508 * unroll.c (unroll_loop): Likewise for variable `local_label'.
22509 (copy_loop_body): Cast a value to `size_t' when comparing against
22510 one.
22511
22512 * varasm.c (assemble_variable): Initialize variable `size_tree'.
22513 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
22514 (remove_from_pending_weak_list): Mark parameter `name' with
22515 ATTRIBUTE_UNUSED.
22516
22517 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22518
22519 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
22520 gcse dump file.
22521
22522 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
22523
22524 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
22525 (ASM_DECLARE_FUNCTION_NAME): Define.
22526 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
22527 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
22528 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
22529 not already defined.
22530
22531 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
22532
22533 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
22534 of n_popped when call/call_value are not defined.
22535
22536 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
22537
22538 * tm.texi: GNU CC -> GCC conversion.
22539 (CC1_SPEC): Indicate it is used for all language front ends.
22540
22541 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
22542
22543 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
22544 NOTE_INSN_EH_REGION_END correctly.
22545
22546 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
22547 Jeff Law <law@cygnus.com>
22548
22549 * loop.c (strength_reduce): Automatically unroll loops if the
22550 unrolled loop size is smaller than the rolled loop size.
22551
22552 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
22553 and delete comment that code should be rewritten.
22554
22555 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
22556
22557 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
22558 as reachable.
22559
22560 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
22561
22562 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
22563
22564 * fixinc/mkfixinc.sh: Don't fix uwin headers.
22565 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
22566 (LINK_SPEC): Add -u _main when building executables.
22567 (ASM_DECLARE_FUNCTION): Update from Cygwin.
22568 (ASM_FILE_END): Use the default for ix86-pe.
22569 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
22570
22571 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
22572
22573 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
22574 and ASM_CLOSE_PAREN are empty strings.
22575
22576 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
22577 Geoffrey Keating <geoffk@cygnus.com>
22578
22579 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
22580 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
22581 (unprotoize.o): Ditto.
22582 (test-protoize-simple): Don't define STD_PROTO_DIR.
22583 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
22584 changes to make 'test-protoize-simple' pass.
22585 (STD_PROTO_DIR): Remove define.
22586 (STANDARD_EXEC_PREFIX): Supply default define.
22587 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
22588 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
22589 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
22590 (GET_ENV_PATH_LIST): New macro.
22591 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
22592 (do_processing): Initialize default_syscalls_dir using new
22593 macros. Use it to initialize syscalls_absolute_filename.
22594
22595 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
22596
22597 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
22598 B into a register before emit_conditional_move.
22599
22600 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
22601
22602 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
22603 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
22604 multiplicand out of (+ (* a b) (* c d)).
22605
22606 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
22607 Richard Henderson <rth@cygnus.com>
22608
22609 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
22610 (new_insn_dead_notes): Likewise.
22611 (update_n_sets): Likewise.
22612 (update_flow_info): Move to flow.c, renamed to update_life_info;
22613 extend to handle multiple source insns.
22614 * flow.c: Include resource.h
22615 (unlink_insn_chain): New.
22616 (split_hard_reg_notes): New.
22617 (maybe_add_dead_note): New.
22618 (maybe_add_dead_note_use): New.
22619 (find_insn_with_note): New.
22620 (new_insn_dead_notes): New.
22621 (update_n_sets): New.
22622 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
22623 (maybe_remove_dead_notes): New.
22624 (update_life_info): New.
22625 (prepend_reg_notes): New.
22626 (replace_insns): New.
22627 * output.h (update_life_info): Declare.
22628 * recog.c (split_block_insns): Use update_life_info.
22629 * resource.c (find_free_register): Use reg_alloc_order, don't use
22630 fixed regs, make sure the mode is supported, don't use new regs.
22631 (reg_dead_p): New.
22632 * rtl.h (replace_insns): Declare.
22633
22634 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
22635
22636 * expr.c (expand_expr): Cope with COND_EXPRs with one
22637 non-returning branch.
22638
22639 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
22640
22641 * expr.c (store_expr): Always pass down the target, even when not
22642 doing CSE.
22643
22644 1999-08-24 Nick Clifton <nickc@cygnus.com>
22645
22646 * configure.in: Define target_cpu_default for v850 targets.
22647 * configure: Regenerate
22648
22649 * config/v850/v850.h (TARGET_CPU_generic): Define.
22650 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
22651 addresses are 4 byte aligned.
22652
22653 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
22654 addresses.
22655
22656 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22657
22658 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
22659 (main): Add prototypes.
22660
22661 * genattrtab.c (substitute_address, write_const_num_delay_slots,
22662 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
22663 (write_attr_get): Emit prototypes along with function definition.
22664 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
22665 (write_complex_function): Emit static prototype along with
22666 function definition.
22667
22668 * genemit.c (gen_split): Emit prototypes along with function
22669 definition.
22670
22671 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
22672 Likewise for predicates and `insn_operand_predicate'.
22673 (process_template): Emit static prototype along with function
22674 definition.
22675
22676 * genrecog.c (make_insn_sequence): Constify a char*. Add
22677 prototypes for get_split_*().
22678 (write_subroutine): Emit prototypes along with function
22679 definition.
22680
22681 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22682
22683 * gcse.c (find_avail_set): Follow chains of register-register copies.
22684 Use oprs_not_set_p to guarantee that the returned value can be
22685 substituted.
22686 (cprop_insn): Don't verify the return value of find_avail_set with
22687 oprs_not_set_p.
22688
22689 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
22690 (cprop_cc0_jump): New function.
22691 (cprop_insn): Break out new function cprop_jump and use it.
22692 Also use cprop_cc0_jump for machines with CC0.
22693 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
22694
22695 * tree.h (current_function_calls_setjmp,
22696 current_function_calls_longjmp): Delete declarations.
22697 * dsp16xx.c: Include "function.h".
22698 * elxsi.c: Likewise.
22699 * gmicro.c: Likewise.
22700 * h8300.c: Likewise.
22701 * i370.c: Likewise.
22702 * m32r.c: Likewise.
22703 * mn10200.c: Likewise.
22704 * mn10300.c: Likewise.
22705 * ns32k.c: Likewise.
22706 * spur.c: Likewise.
22707 * v850.c: Likewise.
22708
22709 * rtl.h (rtx_equal_function_value_matters): Declare.
22710 * toplev.c (rtx_equal_function_value_matters): Don't declare.
22711 * cse.c: Likewise.
22712 * function.c: Likewise.
22713 * emit-rtl.c: Likewise.
22714
22715 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
22716
22717 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
22718 call.
22719
22720 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
22721
22722 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
22723 exactly.
22724
22725 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
22726
22727 * cpp.texi: Add a node documenting macro varargs (copied
22728 from extend.texi).
22729
22730 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
22731
22732 * cppspec.c: Put a null pointer at the end of the new argv.
22733
22734 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
22735
22736 * configure.in: Remove code to select/de-select the haifa
22737 scheduler. Every scheduled port gets haifa now.
22738 * configure: Rebuilt.
22739 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
22740 * sched.c Deleted.
22741 * Makefile.in: Corresponding changes.
22742
22743 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22744
22745 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
22746 All callers changed.
22747 (prepare_float_lib_cmp): Likewise.
22748 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
22749 * expr.h (emit_float_lib_cmp): Delete declaration.
22750 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
22751 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
22752 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
22753 specially.
22754 (cmptf): Now conditional on TARGET_HARD_QUAD.
22755
22756 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
22757
22758 * resource.c (mark_target_live_regs): Use
22759 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
22760
22761 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22762
22763 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
22764
22765 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
22766
22767 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
22768
22769 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22770
22771 * rtl.h (rtx_format): Constify a char*.
22772
22773 * rtl.c (rtx_format): Likewise.
22774 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
22775 (init_rtl): Use accessor macro, not `rtx_format'.
22776
22777 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
22778 char*.
22779
22780 * caller-save.c (mark_referenced_regs): Likewise.
22781
22782 * combine.c (subst, make_compound_operation, known_cond,
22783 gen_rtx_combine, update_table_tick, get_last_value_validate,
22784 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
22785
22786 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
22787 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
22788 count_reg_usage): Likewise.
22789
22790 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
22791 Likewise.
22792
22793 * final.c (leaf_renumber_regs_insn): Likewise.
22794
22795 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
22796 dump_edge_info, count_reg_references): Likewise.
22797
22798 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
22799 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
22800 Likewise.
22801
22802 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
22803 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
22804 add_label_notes): Likewise.
22805
22806 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
22807 clear_struct_flag, count_sub_rtxs, count_alternatives,
22808 compares_alternatives_p, contained_in_p, walk_attr_value,
22809 write_expr_attr_cache): Likewise.
22810
22811 * genconfig.c (walk_insn_part): Likewise.
22812
22813 * genemit.c (max_operand_1, gen_exp): Likewise.
22814
22815 * genextract.c (walk_rtx): Likewise.
22816
22817 * genflags.c (num_operands): Likewise.
22818
22819 * genoutput.c (scan_operands): Likewise.
22820
22821 * genpeep.c (match_rtx): Likewise.
22822
22823 * genrecog.c (add_to_sequence): Likewise.
22824
22825 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
22826 Likewise.
22827
22828 * integrate.c (save_constants, copy_for_inline,
22829 copy_rtx_and_substitute, subst_constants, restore_constants):
22830 Likewise.
22831
22832 * jump.c (mark_jump_label, invert_exp, redirect_exp,
22833 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
22834
22835 * local-alloc.c (contains_replace_regs, memref_referenced_p):
22836 Likewise.
22837
22838 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
22839 add_label_notes, replace_call_address, count_nonfixed_reads,
22840 invariant_p, find_single_use_in_loop, find_mem_givs,
22841 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
22842 Likewise.
22843
22844 * print-rtl.c (reg_names, print_rtx): Likewise.
22845
22846 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
22847
22848 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
22849 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
22850 print_blocks): Likewise.
22851
22852 * regclass.c (fix_register, record_address_regs,
22853 reg_scan_mark_refs): Likewise.
22854
22855 * regmove.c (stable_but_for_p): Likewise.
22856
22857 * reload.c (loc_mentioned_in_p, operands_match_p,
22858 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
22859 copy_replacements, refers_to_regno_for_reload_p,
22860 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
22861 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
22862 Likewise.
22863
22864 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
22865 delete_address_reloads_1, count_occurrences,
22866 reload_cse_mem_conflict_p, reload_combine_note_use,
22867 add_auto_inc_notes): Likewise.
22868
22869 * resource.c (mark_referenced_resources, mark_set_resources):
22870 Likewise.
22871
22872 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
22873 reg_mentioned_p, regs_set_between_p, modified_between_p,
22874 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
22875 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
22876 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
22877 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
22878
22879 * sched.c (sched_analyze_2, attach_deaths): Likewise.
22880
22881 * stupid.c (stupid_mark_refs): Likewise.
22882
22883 * unroll.c (remap_split_bivs): Likewise.
22884
22885 * varasm.c (mark_constants): Likewise.
22886
22887 * a29k/a29k.c (uses_local_reg_p): Likewise.
22888
22889 * alpha/alpha.c (summarize_insn): Likewise.
22890
22891 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
22892 eliminate_lr2ip): Likewise.
22893
22894 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
22895
22896 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
22897 reg_mentioned_in_mem): Likewise.
22898
22899 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
22900 symbolic_reference_mentioned_p): Likewise.
22901
22902 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
22903
22904 * sh/sh.c (regs_used, mark_use): Likewise.
22905
22906 * vax/vax.c (vax_rtx_cost): Likewise.
22907
22908 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22909
22910 * machmode.h (mode_name): Constify a char*.
22911
22912 * rtl.c (mode_name): Likewise.
22913
22914 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
22915
22916 * optabs.c (init_libfuncs): Constify a char*.
22917
22918 * print-tree.c (mode_name): Remove redundant declaration.
22919 (print_node): Use accessor macro, not `mode_name'.
22920
22921 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
22922 not `mode_name'.
22923 (new_spill_reg): Constify a char*.
22924
22925 * tree.c (mode_name): Remove redundant declaration.
22926
22927 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22928
22929 * rtl.c (rtx_name): Constify a char*.
22930
22931 * rtl.h (rtx_name, fix_sched_param): Likewise.
22932
22933 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
22934 (mypr): Use accessor macro, not `rtx_name'.
22935
22936 * genemit.c (print_code): Constify a char*.
22937
22938 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
22939
22940 * genpeep.c (print_code): Constify a char*.
22941
22942 * genrecog.c (print_code): Likewise.
22943
22944 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
22945 end_bb): Add static prototype.
22946 (draw_edge): Constify a char*.
22947 (end_bb): Remove unused parameter.
22948
22949 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
22950 print_block_visualization): Constify a char*.
22951
22952 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
22953
22954 * c-common.c (c_get_alias_set): Update comment.
22955
22956 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
22957
22958 * linux.h (LIB_SPEC): Added.
22959
22960 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
22961
22962 * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
22963
22964 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
22965
22966 * tree.c (expr_check): Fix typo in last change.
22967
22968 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
22969
22970 * rtl.def (NOTE): Change format to "iuu0n".
22971 (ADDR_DIFF_VEC): Change format to "eEee0".
22972 (ADDRESSOF): Change format to "eit".
22973
22974 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
22975 (RTVEC_ELT): Change to match.
22976 (XVECEXP): Use XVEC and RTVEC_ELT.
22977 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
22978 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
22979 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
22980 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
22981 TRAP_CONDITION, TRAP_CODE): Use XEXP.
22982 (INTVAL): Use XWINT.
22983 (ADDRESSOF_DECL): Use XTREE.
22984 (SET_ADDRESSOF_DECL): Delete.
22985 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
22986 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
22987 ifdefed out since 2.6 at least.
22988 (gen_rtvec_vv): Delete prototype.
22989
22990 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
22991 not rtunion.
22992 (copy_most_rtx): Handle 't' format letter.
22993 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
22994 (gen_rtvec_vv): Delete function. All callers changed to use
22995 gen_rtvec_v instead.
22996 * print-rtl.c (print_rtx): Move special casing of NOTEs to
22997 the '0' format letter.
22998
22999 * function.c (gen_mem_addressof): Don't use
23000 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
23001 instead.
23002 * integrate.c (copy_rtx_and_substitute): Likewise.
23003 Copy 't' slots with XTREE.
23004 (subst_constants): Treat 't' slots like '[swi]' slots.
23005 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
23006 * jump.c (rtx_equal_for_thread_p): Likewise.
23007 * rtlanal.c (rtx_equal_p): Likewise.
23008 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
23009 only four arguments.
23010 * gengenrtl.c (type_from_format): Provide correct types for
23011 'b' and 't' slots.
23012
23013
23014 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
23015 If a recent gcc is in use (always in stage2 and beyond), use
23016 statement expressions, so we don't make a function call unless
23017 the check fails. Evaluate arguments exactly once.
23018 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
23019 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
23020 Delete.
23021 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
23022 they evaluate their arguments exactly once, irrespective of
23023 the compiler in use.
23024
23025 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
23026 is used by the currently-enabled check macros. This is:
23027 (tree_check_failed, tree_class_check_failed): For gcc.
23028 (tree_check, tree_class_check, cst_or_constructor_check,
23029 expr_check): For other compilers.
23030
23031 * gencheck.c: Do not define any *_CHECK1 macros.
23032
23033 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
23034 Mark Mitchell <mark@codesourcery.com>
23035
23036 * c-common.c (c_get_alias_set): Fix support for poitners and
23037 references.
23038
23039 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
23040
23041 * alias.c: Include tree.h.
23042 (nonlocal_reference_p, mark_constant_function): New functions.
23043 * flow.c (life_analysis): Call mark_constant_function.
23044 * rtl.h (mark_constant_function): Declare it.
23045
23046 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
23047
23048 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
23049 unrecognisable switches.
23050
23051 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23052
23053 * loop.c (recombine_givs): Set ix field after sorting.
23054 (recombine_givs): Remove bogus index / giv lockstep looping.
23055
23056 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23057
23058 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
23059 on CODE.
23060 (emit_store_flag_force): Use do_compare_rtx_and_jump.
23061 (do_cmp_and_jump): Formatting fixes.
23062 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
23063 do_compare_rtx_and_jump instead of compare_from_rtx.
23064 (do_compare_rtx_and_jump): New function; mostly copied from
23065 compare_from_rtx.
23066 (do_jump_for_compare): Delete.
23067 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
23068 MIN_EXPR.
23069 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
23070 of compare/do_jump_for_compare pairs.
23071 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
23072 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
23073 compare_from_rtx/do_jump_for_compare pairs.
23074 (do_jump_by_parts_equality): Likewise.
23075 (do_jump_by_parts_equality_rtx): Likewise.
23076 * expr.h (do_compare_rtx_and_jump): Declare.
23077 * optabs.c (prepare_cmp_insn): New function, contains most of the code
23078 that used to be in emit_cmp_insn.
23079 (cmp_available_p): New function.
23080 (prepare_operand): New function.
23081 (emit_cmp_and_jump_insn_1): New function, contains some code that used
23082 to be in emit_cmp_insn.
23083 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
23084 parameters to be pointers; don't emit final compare but modify some of
23085 the values pointed to by the args so the caller can perform the
23086 correct comparison.
23087 (expand_binop): Call emit_store_flag_force with signed forms of
23088 comparison code.
23089 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
23090 emit_jump_insn pair.
23091 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
23092 emit_cmp_and_jump_insn_1. Call emit_queue.
23093 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
23094 arg.
23095 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
23096 jump sets cc0 before deleting it.
23097 * integrate.c (expand_inline_function): Likewise.
23098 * unroll.c (unroll_loop): Similar changes in several places.
23099 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
23100 before deleting it.
23101
23102 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23103
23104 * Makefile.in (insn-recog.o): Update dependencies.
23105 * genrecog.c (main): Make generated file include "function.h".
23106
23107 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
23108
23109 * cse.c (cse_insn): Call never_reached_warning when a jump is
23110 changed to be unconditional.
23111 * flags.h: Declare warn_notreached.
23112 * flow.c (delete_block): Call never_reached_warning when
23113 a block is deleted.
23114 * jump.c (delete_barrier_successors): Call never_reached_warning
23115 when we delete everything after a BARRIER.
23116 (never_reached_warning): New function.
23117 * rtl.h: Declare never_reached_warning.
23118 * toplev.c (warn_notreached): New variable.
23119 (lang_independent_options): Set warn_notreached
23120 when -Wunreachable-code.
23121 (compile_file): We need line numbers for -Wunreachable-code.
23122
23123 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
23124
23125 * haifa-sched.c (insn_unit): Fix typo on out of range test.
23126 * sched.c (insn_unit): Likewise.
23127
23128 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
23129
23130 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
23131
23132 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
23133
23134 * flow.c (create_edge_list): Use xmalloc, not malloc.
23135
23136 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
23137
23138 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
23139 C-style comments. Do not lose the character before double slash.
23140
23141 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
23142
23143 * basic-block.h (struct edge_list): Stucture to maintain a vector
23144 of edges.
23145 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
23146 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
23147 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
23148 New function prototypes.
23149 * flow.c (create_edge_list): Function to create an edge list.
23150 (free_edge_list): Discards memory used by an edge list.
23151 (print_edge_list): Debug output showing an edge list.
23152 (verify_edge_list): Internal consistency check for an edge list.
23153 (find_edge_index): Function to find an edge index for a pred and succ.
23154
23155 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
23156
23157 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
23158 hashtable.
23159
23160 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
23161
23162 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
23163
23164 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
23165
23166 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
23167
23168 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
23169
23170 * toplev.c (rest_of_compilation): Allow machine dependent
23171 reorganisation pass to place information into the RTL dump
23172 file if it so wishes.
23173
23174 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
23175
23176 * explow.c (hard_function_value): Use VOIDmode instead of
23177 MAX_MACHINE_MODE.
23178 * stmt.c (expand_return): Likewise.
23179 * stor-layout.c (get_best_mode): Likewise.
23180
23181 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
23182 emit call instead of emit_insn call.
23183
23184 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
23185
23186 * configure.in: Handle --disable/enable-win32-registry.
23187 * install.texi: Document --disable/enable-win32-registry.
23188 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
23189 (WIN32_REGISTRY_KEY): New macro.
23190 * prefix.c: Use to enable/disable win32-specific code.
23191 (lookup_key): Use versioned key.
23192 * configure: Regenerate.
23193 * config.in: Likewise.
23194
23195 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
23196
23197 * cpplib.c (read_line_number): New fn, split out of...
23198 (do_line): Here.
23199
23200 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
23201
23202 tree.c (lang_unsave_expr_now) : New.
23203 (unsave_expr_now): Call lang_unsave_expr_now.
23204 tree.h (lang_unsave_expr_now) : New.
23205
23206 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
23207
23208 * toplev.c (flag_new_exceptions): On by default.
23209
23210 1999-08-13 Michael Meissner <meissner@cygnus.com>
23211
23212 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
23213
23214 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
23215
23216 * dwarfout.c (fundamental_type_code): Return FT_boolean for
23217 INTEGER_TYPE with precision==1, it's __java_boolean.
23218
23219 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23220
23221 * global.c (prune_preferences): Move some invariants out of the
23222 inner loop.
23223
23224 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
23225
23226 * configure.in (alpha*-dec-osf*): Add osf5.
23227
23228 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
23229
23230 * configure.in: Rework handling of ARM GNU/Linux slightly.
23231 (arm*-*-linux-gnuoldld): New target.
23232 * configure: Regenerate.
23233 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
23234 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
23235 * config/arm/linux-oldld.h: New file.
23236 * config/arm/linux-elf26.h: Don't include linux-elf.h.
23237 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
23238 Don't define.
23239 * config/arm/linux-elf.h (ASM_SPEC): Define.
23240 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
23241 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
23242 for 26-bit APCS and old linker.
23243 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
23244 `arm_elf'.
23245 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
23246 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
23247 don't define `arm' or `arm_elf'.
23248 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
23249 MULTILIB_DIRNAMES): Define. Fix typo in comment.
23250
23251 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
23252
23253 * rtl.texi: Fix typo.
23254
23255 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
23256
23257 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
23258
23259 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
23260
23261 * extend.texi (C++ Signatures): Remove node.
23262 * invoke.texi: Remove discussion of -fhandle-signatures,
23263 signature, sigof, __signature__, and __sigof__.
23264
23265 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
23266
23267 * Makefile.in (JAVAGC): Removed.
23268
23269 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
23270
23271 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
23272
23273 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
23274
23275 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
23276
23277 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
23278
23279 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
23280 a register that is already known to be a pointer.
23281
23282 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
23283
23284 * fixinc/inclhack.tpl: Only install assert.h conditionally.
23285 * fixinc/inclhack.sh: Regenerated.
23286 * fixinc/fixincl.sh: Regenerated.
23287
23288 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
23289
23290 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
23291 Fix documentation of -ansi flag to describe its C++ behavior.
23292 Remove bogus reference to GCC 2.9.
23293
23294 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
23295
23296 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
23297 note if it is non-NULL.
23298
23299 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
23300
23301 * except.h (eh_nesting_info): Add new structure defintion.
23302 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
23303 (reachable_handlers, update_rethrow_references): Add function
23304 prototypes.
23305 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
23306 a rethrow symbol instead of an integer exception region number.
23307 * flow.c (Make_edges): Use new exception nesting routines to determine
23308 which handlers are reachable from a CALL or asynchronous insn.
23309 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
23310 goto receivers.
23311 (delete_eh_regions): Update rethrow labels, and don't delete
23312 regions which are the target of a rethrow.
23313 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
23314 avoid overloading the SYMBOL_REF_USED flag.
23315 (rethrow_symbol_map): Use new rethrow_ref field.
23316 (rethrow_used): Use new rethrow_ref field.
23317 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
23318 of an integer. Fix formatting.
23319 (output_exception_table_entry): Use new rethrow_ref field.
23320 (can_throw): Check for EH_REGION_NOTE before deciding
23321 whether a CALL can throw or not.
23322 (scan_region): Call rethrow_used() instead of accessing data structure.
23323 (update_rethrow_references): New function to make sure only regions
23324 which are still targets of a rethrow are flagged as such.
23325 (process_nestinfo): New static function to initialize a handler
23326 list for a specific region.
23327 (init_eh_nesting_info): New function to allocate and initialize
23328 the list of all EH handlers reachable from all regions.
23329 (reachable_handlers): New function to retrieve the list of handlers
23330 reachable from a specific region and insn.
23331 (free_eh_nesting_info): New function to dispose of a list of
23332 reachable handlers.
23333
23334 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
23335
23336 * flow.c (split_edge): Set JUMP_LABEL field.
23337 (commit_one_edge_insertion): Set head correctly for insert_before.
23338 When inserting insns, update insn block numbers if allocated.
23339
23340 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23341
23342 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
23343 retry_incomplete_types): Add static prototype.
23344 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
23345 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
23346 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
23347 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
23348 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
23349 Constify a char*.
23350
23351 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
23352 dwarf2out_start_source_file, dwarf2out_line): Likewise.
23353
23354 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23355
23356 * output.h (assemble_name): Constify a char*.
23357
23358 * varasm.c (UNIQUE_SECTION, assemble_start_function,
23359 assemble_variable, assemble_name): Likewise.
23360
23361 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
23362
23363 * arm/pe.c (arm_pe_unique_section): Likewise.
23364
23365 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
23366
23367 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
23368
23369 * i386/interix.c (i386_pe_unique_section): Likewise.
23370
23371 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
23372
23373 * i386/winnt.c (i386_pe_unique_section): Likewise.
23374
23375 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
23376
23377 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
23378
23379 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
23380
23381 * pa/pa.c (output_call): Likewise.
23382
23383 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
23384
23385 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
23386
23387 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
23388 Likewise.
23389
23390 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
23391 Likewise.
23392
23393 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
23394
23395 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
23396 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
23397
23398 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
23399
23400 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23401
23402 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
23403
23404 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23405
23406 * tree.h (lang_identify): Constify a char*.
23407 (print_error_function): Add extern prototype. Constify a char*.
23408
23409 * c-lang.c (lang_identify): Constify a char*.
23410
23411 * objc/objc-act.c (lang_identify): Constify a char*.
23412
23413 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23414
23415 * genpeep.c (main): Make generated file include "function.h".
23416 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
23417
23418 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23419
23420 * Makefile.in: Update dependencies.
23421 * alias.c: Include "function.h"
23422 * c-decl.c: Likewise.
23423 * caller-save.c: Likewise.
23424 * calls.c: Likewise.
23425 * combine.c: Likewise.
23426 * cse.c: Likewise.
23427 * explow.c: Likewise.
23428 * final.c: Likewise.
23429 * global.c: Likewise.
23430 * graph.c: Likewise.
23431 * local-alloc.c: Likewise.
23432 * loop.c: Likewise.
23433 * optabs.c: Likewise.
23434 * profile.c: Likewise.
23435 * recog.c: Likewise.
23436 * regclass.c: Likewise.
23437 * regmove.c: Likewise.
23438 * reload.c: Likewise.
23439 * reorg.c: Likewise.
23440 * resource.c: Likewise.
23441 * sched.c: Likewise.
23442 * stupid.c: Likewise.
23443 * config/1750a/1750a.c: Likewise.
23444 * config/a29k/a29k.c: Likewise.
23445 * config/arc/arc.c: Likewise.
23446 * config/arm/arm.c: Likewise.
23447 * config/arm/thumb.c: Likewise.
23448 * config/c4x/c4x.c: Likewise.
23449 * config/clipper/clipper.c: Likewise.
23450 * config/convex/convex.c: Likewise.
23451 * config/fx80/fx80.c: Likewise.
23452 * config/i860/i860.c: Likewise.
23453 * config/m68k/m68k.c: Likewise.
23454 * config/m88k/m88k.c: Likewise.
23455 * config/mips/mips.c: Likewise.
23456 * config/pdp11/pdp11.c: Likewise.
23457 * config/pyr/pyr.c: Likewise.
23458 * config/romp/romp.c: Likewise.
23459 * config/sh/sh.c: Likewise.
23460 * config/tahoe/tahoe.c: Likewise.
23461 * config/vax/vax.c: Likewise.
23462 * config/we32k/we32k.c: Likewise.
23463 * config/sparc/sparc.c: Include "function.h".
23464 (mem_min_alignment): Test current_function rather than
23465 regno_pointer_align.
23466 * config/pa/pa.c: Likewise.
23467 (compute_frame_size): Delete declaration of
23468 current_function_outgoing_args_size.
23469 * config/arc/arc.h (current_function_varargs): Delete declaration.
23470 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
23471 declaration.
23472 * config/i370/i370.h (current_function_outgoing_args_size): Delete
23473 declaration.
23474 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
23475 current_function_uses_pic_offset_table.
23476 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
23477 of current_function_returns_pointer.
23478 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23479 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23480 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23481 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23482 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23483 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
23484 * config/m88k/m88k.c: Include "function.h"
23485 (call_used_regs, current_function_pretend_args_size,
23486 current_function_outgoing_args_size, frame_pointer_needed): Delete
23487 declarations.
23488 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
23489 declaration.
23490 * config/mips/mips.h (current_function_calls_alloca): Delete
23491 declaration.
23492 * config/mn10200/mn10200.h (current_function_needs_context,
23493 rtx_equal_function_value_matters): Delete declarations.
23494 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
23495 flag_pic): Delete declarations.
23496 * config/pa/pa.h (current_function_pretend_args_size,
23497 current_function_decl): Delete declarations.
23498 * config/pa/som.h (current_function_varargs): Delete declaration.
23499 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
23500 declaration.
23501 * config/pyr/pyr.h (current_function_pretend_args_size,
23502 current_function_args_size, current_function_calls_alloca): Delete
23503 declarations.
23504 * config/sh/sh.h (current_function_varargs): Delete declaration.
23505 * config/sparc/sparc.h (current_function_outgoing_args_size,
23506 current_function_calls_alloca, current_function_decl): Delete
23507 declarations.
23508 * config/spur/spur.h (current_function_pretend_args_size,
23509 current_function_calls_alloca): Delete declarations.
23510 * config/v850/v850.c (current_function_outgoing_args_size): Delete
23511 declaration.
23512 * config/vax/vms.h (current_function_name): Delete declaration.
23513 * gcse.c: Include "function.h".
23514 (current_function_name, current_function_calls_setjmp): Delete
23515 declarations.
23516 * haifa-sched.c: Include "function.h".
23517 (forced_labels): Delete declaration.
23518 * jump.c: Likewise.
23519 * reg-stack.c: Likewise.
23520 * reload1.c: Likewise.
23521 * genemit.c (main): Make generated file include function.h.
23522 * genoutput.c (output_prologue): Likewise.
23523
23524 * builtins.c (saveregs_value, apply_args_value): Delete variables.
23525 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
23526 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
23527 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
23528 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
23529 macros for some of them.
23530 (emit_filename, emit_lineno): Delete declarations.
23531 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
23532 regno_pointer_* variables through current_function.
23533 (gen_inline_header_rtx): Delete function.
23534 (save_emit_status): Delete function.
23535 (set_new_last_label_num): New function.
23536 (clear_emit_caches): New function.
23537 (restore_emit_status): Just clear last_labelnum and call
23538 clear_emit_caches.
23539 (get_last_insn_anywhere): Variable sequence_stack is now accessed
23540 through macro seq_stack.
23541 (add_insn_after): Likewise.
23542 (add_insn_before): Likewise.
23543 (remove_insn): Likewise.
23544 (pop_topmost_sequence): Likewise.
23545 (in_sequence_p): Likewise.
23546 (start_sequence_for_rtl_expr): Likewise.
23547 (start_sequence): Likewise, and likewise for
23548 sequence_rtl_expr/seq_rtl_expr.
23549 (push_topmost_sequence): Likewise.
23550 (end_sequence): Likewise.
23551 (init_virtual_regs): Now takes a "struct emit_status *" argument.
23552 All callers changed. Store into that pointer instead of globals.
23553 (init_emit): Allocate emit elt of current_function.
23554 Changes for sequence_rtl_expr/sequence_stack renaming.
23555 Call clear_emit_caches instead of doing it in-line.
23556 Access regno_pointer_* variables through current_function.
23557 (init_emit_once) Don't clear sequence_stack.
23558
23559 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
23560 Delete variables.
23561 (arg_pointer_save_area): Delete declaration.
23562 (finish_expr_for_function): Renamed from init_queue; no longer static.
23563 (init_expr): Don't call init_queue.
23564 (save_expr_status, restore_expr_status): Delete functions.
23565 (expand_expr): Changes to reflect new layout of struct function.
23566 Don't access current_function_check_memory_usage when current_function
23567 is 0.
23568 * expr.h (forced_labels, save_expr_regs, saveregs_value,
23569 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
23570 current_function_outgoing_args_size, current_function_arg_offset_rtx,
23571 current_function_uses_const_pool, function_call_count,
23572 current_function_uses_pic_offset_table, nonlocal_labels,
23573 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
23574 current_function_check_memory_usage, nonlocal_goto_handler_slots,
23575 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
23576 declarations.
23577 (finish_expr_for_function): Declare.
23578 * flags.h (current_function_has_nonlocal_label,
23579 current_function_has_nonlocal_goto, current_function_is_thunk,
23580 current_function_has_computed_jump): Delete declarations.
23581 * flow.c (forced_labels): Delete declaration.
23582 * function.c (current_function_pops_args,
23583 current_function_returns_struct, current_function_returns_pcc_struct,
23584 current_function_needs_context, current_function_calls_setjmp,
23585 current_function_calls_longjmp, current_function_has_nonlocal_label,
23586 current_function_has_nonlocal_goto, current_function_is_thunk,
23587 current_function_has_computed_jump, current_function_calls_alloca,
23588 current_function_contains_functions, current_function_returns_pointer,
23589 current_function_epilogue_delay_list, current_function_args_size,
23590 current_function_pretend_args_size, current_function_arg_offset_rtx,
23591 current_function_outgoing_args_size, current_function_varargs,
23592 current_function_stdarg, current_function_args_info, cleanup_label,
23593 current_function_name, current_function_uses_const_pool,
23594 current_function_instrument_entry_exit, current_function_return_rtx,
23595 current_function_uses_pic_offset_table, nonlocal_labels,
23596 current_function_internal_arg_pointer, current_function_cannot_inline,
23597 current_function_check_memory_usage, function_call_count,
23598 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
23599 nonlocal_goto_stack_level, return_label, save_expr_regs,
23600 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
23601 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
23602 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
23603 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
23604 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
23605 Delete variables.
23606 (push_function_context_to): Don't save them. Don't call
23607 save_storage_status, save_emit_status or save_expr_status.
23608 (pop_function_context_from): Don't restore them. Don't call
23609 restore_storage_status or restore_expr_status.
23610 (get_func_frame_size): New function.
23611 (get_frame_size): Use it.
23612 (assign_outer_stack_local): Reflect some member name changes in struct
23613 function.
23614 (put_reg_into_stack): Likewise.
23615 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
23616 seq_rtl_expr.
23617 (fixup_var_refs): Likewise.
23618 (fix_lexical_addr): Likewise.
23619 (trampoline_address): Likewise.
23620 (prepare_function_start): Clear field inlinable of current_function.
23621 (init_function_for_compilation): New function.
23622 (expand_dummy_function_end): New function.
23623 (expand_function_end): Call finish_expr_for_function.
23624 * function.h (struct emit_status): New; fields moved here from struct
23625 function and from global variables. Add accessor macros for some of
23626 the fields.
23627 (struct expr_status): Likewise.
23628 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
23629 (struct function): Add fields expr and emit, inlinable, inl_emit,
23630 original_arg_vector, original_decl_initial, inl_last_parm_insn,
23631 inl_max_label_num. Add many comments.
23632 Add accessor macros for all elts of struct function that no longer
23633 have a global variable.
23634 (cleanup_label, return_label, frame_offset, tail_recursion_label,
23635 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
23636 stack_slot_list): Delete declarations.
23637 (get_func_frame_size): Declare.
23638 (save_expr_status, restore_expr_status, save_emit_status,
23639 save_storage_status, restore_storage_status): Delete declarations.
23640 (init_virtual_regs): Declare.
23641 * output.h (current_function_pops_args,
23642 current_function_returns_struct, current_function_returns_pcc_struct,
23643 current_function_needs_context, current_function_calls_setjmp,
23644 current_function_calls_longjmp, current_function_calls_alloca,
23645 current_function_has_nonlocal_label, current_function_varargs,
23646 current_function_has_computed_jump, current_function_returns_pointer,
23647 current_function_contains_functions, current_function_args_size,
23648 current_function_pretend_args_size, current_function_stdarg,
23649 current_function_outgoing_args_size, current_function_args_info,
23650 current_function_name, current_function_return_rtx,
23651 current_function_epilogue_delay_list,
23652 current_function_uses_const_pool, current_function_cannot_inline):
23653 Delete declarations.
23654 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
23655 regno_reg_rtx): Delete declaration.
23656 (REGNO_POINTER_FLAG): Delete macro.
23657 * stmt.c (expand_goto): Changes to reflect that some fields in struct
23658 function were renamed.
23659 * stor-layout.c (save_storage_status, restore_storage_status): Delete
23660 functions.
23661 * toplev.c: Include "function.h".
23662 (current_function_decl): Delete declaration.
23663 (compile_file): Call init_dummy_function_start and
23664 expand_dummy_function_end around some initializations that need to
23665 emit rtl.
23666 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
23667 Call init_function_for_compilation.
23668 * unroll.c: Include "function.h"
23669 (unroll_loop): Access regno_pointer_* variables through
23670 current_function.
23671
23672 * tree.h (struct tree_decl): Add elt f to saved_insns member.
23673 (DECL_SAVED_INSNS): use it.
23674 (expand_dummy_function_end): Declare.
23675 (init_function_for_compilation): Declare.
23676 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
23677 that it's no longer an INLINE_HEADER.
23678 (expand_call): Likewise.
23679 * integrate.c (finish_inline): Delete function.
23680 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
23681 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
23682 args. Don't generate an INLINE_HEADER rtx, just return the arg
23683 vector. All callers changed.
23684 (save_for_inline_copying): Create a duplicate struct emit_status to
23685 hold the emit state for compiling the current function. Use this and
23686 the other new fields in struct function that are for integration
23687 instead of an INLINE_HEADER.
23688 Use memcpy instead of bcopy.
23689 Store the current struct function in DECL_SAVED_INSNS of fndecl.
23690 (save_for_inline_nocopy): Similar changes, except no new emit_status
23691 is needed here.
23692 (expand_inline_function): Get information from function structure,
23693 not from an inline header rtx.
23694 (output_inline_function): Lose code to extract the necessary
23695 information from an inline header; simply put back the function
23696 structure into current_function. Clear its inlinable elt.
23697 * rtl.def (INLINE_HEADER): Delete.
23698 * rtl.h: Delete all accessors for an INLINE_HEADER.
23699 (gen_inline_header_rtx): Delete declaration.
23700 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
23701 Delete declarations.
23702 (REGNO_POINTER_ALIGN): Delete.
23703 (clear_emit_caches): Declare.
23704 (set_new_last_label_num): Declare.
23705
23706 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
23707
23708 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
23709
23710 * except.c (expand_eh_region_start_for_decl): Always start a new block.
23711 * stmt.c (is_eh_region): Make sure current_function is present, too.
23712
23713 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
23714
23715 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
23716 for 64bit PA targets.
23717
23718 * pa.h (SELECT_SECTION): Define.
23719 * som.h (SELECT_SECTION): Delete.
23720
23721 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23722
23723 * alias.c (init_alias_analysis): Wrap call to
23724 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
23725
23726 1999-08-07 Bruce Korb <autogen@linuxbox.com>
23727
23728 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
23729 <sys/asm.h> contains an asm comment with an apostrophe
23730 * fixinc/inclhack.sh: regen
23731 * fixinc/fixincl.x: regen
23732
23733 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
23734
23735 * function.c (init_function_start): Clear prologue & epilogue.
23736 (prologue_epilogue_contains): New function.
23737 * alias.c (init_alias_analysis): Use it.
23738 * rtl.h (prologue_epilogue_contains): Declare it.
23739
23740 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
23741
23742 * jump.c (onlyjump_p): New function.
23743 * rtl.h: Declare it.
23744 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
23745 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
23746
23747 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
23748
23749 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
23750 to invert loops. Simplify block scanning.
23751
23752 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23753
23754 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
23755 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
23756
23757 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
23758
23759 * config/sparc/liteelf.h: New file to support sparclite-elf target
23760 * config/sparc/t-sp86x: New file to support sparc86x targets
23761 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
23762 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
23763 * configure.in: Support above target triplets
23764 * configure: Regenerated
23765
23766 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
23767
23768 * fixinc/server.c (server_setup): Do not prefix function used as
23769 parameter with `&'.
23770
23771 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
23772
23773 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
23774 Remove fp reg alternatives.
23775
23776 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
23777
23778 * Makefiin (TAROUTOPTS): Kill.
23779 (install-headers-tar): Use "xpf" for tar headerfile extraction
23780 * i370/x-oe (TAROUTOPTS): Delete.
23781 * m68k/x-apollo68 (TAROUTOPTS): Delete.
23782 * m68k/x-hp320 (TAROUTOPTS): Delete.
23783 * m68k/x-hp320g (TAROUTOPTS): Delete.
23784 * gcc.texi: Update bug reporting text.
23785
23786 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
23787
23788 * reg-stack.c (change_stack) Fixed problem with negative array index.
23789
23790 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
23791
23792 * extend.texi, install.texi: Fix spelling mistakes.
23793
23794 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
23795 (s-attrtab); No longer try to use pre-made insn-attrtab file.
23796 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
23797 PREMADE_ATTRTAB_MD.
23798 * mips/t-ecoff: Likewise.
23799 * mips/t-elf: Likewise.
23800 * mips/t-mips: Likewise.
23801 * mips/t-osfrose: Likewise.
23802 * mips/t-r3900: Likewise.
23803 * mips/t-svr3: Likewise.
23804 * mips/t-svr4: Likewise.
23805 * mips/t-ultrix: Likewise.
23806
23807 * gcc.texi: Document recommend means to provide software floating
23808 point libraries in libgcc.a
23809
23810 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
23811
23812 * c-lex.c (yylex): We can have a number with no digits.
23813
23814 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
23815
23816 * jump.c (delete_prior_computation): New function, broken
23817 out of delete_computation. Check for side effects with
23818 side_effects_p instead of FIND_REG_INC_NOTE. Handle
23819 multi-word hard registers.
23820 (delete_computation): Use it. Check for side effects with
23821 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
23822 missing REG_DEAD note for a register which is both set and
23823 used by an insn.
23824
23825 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
23826
23827 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
23828 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
23829 (ASM_FILE_START): Import _mcount with the right type.
23830 (ASM_DECLARE_FUNCTION_NAME): Define.
23831 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
23832 * pa.c (output_function_prologue): Always emit the function's label
23833 here.
23834 * pa.h (TEXT_SPACE_P): Define.
23835 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
23836 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
23837 * som.h (TEXT_SPACE_P): Delete.
23838 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
23839 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
23840
23841 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
23842
23843 * expr.c (emit_group_load): Allow src to be a CONCAT.
23844
23845 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23846
23847 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
23848 (___mulsi3): Use '!' comment character.
23849
23850 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23851
23852 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
23853
23854 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
23855
23856 * gcc.c: Update URLs and mail addresses.
23857 * gcc.texi: Likewise.
23858
23859 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
23860
23861 * rs6000.c (current_file_function_operand): Return zero for
23862 weak functions.
23863 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
23864 weak symbols.
23865 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
23866 for weak symbols.
23867
23868 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
23869
23870 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
23871 allocate space in the stack frame for the PIC register.
23872
23873 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
23874
23875 * m68k.md (xordi3, anddi3): These patterns are not available on
23876 the coldfire.
23877
23878 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
23879
23880 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
23881 (PUT_REAL): Likewise.
23882
23883 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23884
23885 * final.c (shorten_branches): Don't add an alignment for loops
23886 that have no label inside.
23887
23888 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23889
23890 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
23891 prototypes in macro HAVE_cmpstrsi.
23892
23893 * cpplib.c (cpp_get_token): Remove unused label `op3'.
23894
23895 * emit-rtl.c (operand_subword): Remove unused variable
23896 `bits_per_word'.
23897
23898 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
23899
23900 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
23901
23902 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
23903
23904 * cpphash.c (macroexpand): Delete leading whitespace when arg
23905 is concatenated before.
23906 (unsafe_chars): Correct test for whether + and - can extend a
23907 token.
23908
23909 * cppinit.c (cpp_start_read): Do dependencies for
23910 -include/-imacros files also.
23911
23912 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
23913 tokenizing non-directive lines.
23914 (cpp_expand_to_buffer): Temporarily disable no-output mode.
23915 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
23916 the input file.
23917
23918 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
23919
23920 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
23921
23922 * c-lex.c: Sync with C++ frontend.
23923 (linemode): New variable.
23924 (parse_float): imag, conversion_errno, and type are output only.
23925 (yylex): Adjust. Move initial '.' case into main switch.
23926 Use linemode.
23927 (handle_generic_pragma): Just deal with tokens.
23928 (readescape): Use ISXDIGIT and ISGRAPH.
23929 * c-parse.in: Add END_OF_LINE token.
23930
23931 * c-lex.c (lang_init): Generalize.
23932 (nextchar): Remove. Replace uses with UNGETC.
23933 (skip_white_space): Handle linemode here. Optimize for cpplib.
23934 (skip_white_space_on_line): Remove.
23935 (extend_token_buffer_to): New fn.
23936 (extend_token_buffer): Use it.
23937 (read_line_number, check_newline): Just deal with tokens.
23938 (token_getch, token_put_back): New fns.
23939 (yylex): Use them. More cpplib optimizations. Simplify.
23940
23941 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
23942 Jason Merrill <jason@yorick.cygnus.com>
23943
23944 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
23945 (consume_string): Make this smart about USE_CPPLIB.
23946 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
23947 (yylex): Rewrite to be intelligent about USE_CPPLIB.
23948 Also, clean up cases where we redundantly set token_buffer[0].
23949 (read_line_number): New fn.
23950 (ignore_escape_flag): New variable.
23951
23952 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
23953
23954 * a29k/t-a29kbare: Fix some comments.
23955 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
23956 (FPBIT, DPBIT): Define.
23957 * a29k/t-vx29k: Likewise.
23958 * arc/t-arc: Likewise.
23959 * arm/t-arm-elf: Likewise.
23960 * arm/t-bare: Likewise.
23961 * arm/t-pe: Likewise.
23962 * arm/t-pe-thumb: Likewise.
23963 * arm/t-semi: Likewise.
23964 * arm/t-thumb: Likewise.
23965 * arm/t-thumb-elf: Likewise.
23966 * arm/t-thumb-linux: Likewise.
23967 * h8300/t-h8300: Likewise.
23968 * i960/t-i960: Likewise.
23969 * i960/t-vxworks960: Likewise.
23970 * m32r/t-m32r: Likewise.
23971 * mips/t-ecoff: Likewise.
23972 * mips/t-elf: Likewise.
23973 * mips/t-r3900: Likewise.
23974 * pa/t-pro: Likewise.
23975 * rs6000/t-aix43: Likewise.
23976 * rs6000/t-beos: Likewise.
23977 * rs6000/t-newas: Likewise.
23978 * rs6000/t-ppccomm: Likewise.
23979 * rs6000/t-rs6000: Likewise.
23980 * rs6000/t-winnt: Likewise.
23981 * rs6000/t-xnewas: Likewise.
23982 * rs6000/t-xrs6000: Likewise.
23983 * sh/t-sh: Likewise.
23984 * sparc/t-elf: Likewise.
23985 * sparc/t-sparcbare: Likewise.
23986 * sparc/t-sparclite: Likewise.
23987 * sparc/t-splet: Likewise.
23988 * v850/t-v850: Likewise.
23989 * mn10200/t-mn10200: Fix comments.
23990 * mn10300/t-mn10300: Likewise.
23991
23992 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
23993 dummy operand. Allocate a new pseudo for the dummy operand.
23994 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
23995
23996 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
23997
23998 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
23999
24000 * configure: Rebuilt.
24001 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
24002
24003 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
24004
24005 * recog.c (preproces_constraints): Zero recog_op_alt before
24006 processing the constraints.
24007
24008 * arm.c (typedef minipool_node): Renamed from pool_node.
24009 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
24010 (add_minipool_constant): New function.
24011 (dump_minipool): New function.
24012 (find_barrier): Remove special case for getting the insn size of
24013 an insn that references the constant pool.
24014 (minipool_fixup): New structure.
24015 (push_minipool_barrier): New function.
24016 (push_minipool_fix): New function.
24017 (note_invalid_constants): New function.
24018 (add_pool_constant, dump_table, fixit, broken_move): Delete.
24019 (arm_reorg): Rewrite code to fix up the constant pool into a
24020 series of mini-pools embedded in the insn stream.
24021 (arm_output_epilogue): New function, made mainly from the body
24022 of output_func_epilogue.
24023 (output_func_epilogue): Move insn generation part of epilogue code
24024 to arm_output_epilogue.
24025 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
24026 * arm.md (pool_range): New attribute.
24027 (zero_extendqidi2): Add attribute pool_range.
24028 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
24029 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
24030 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
24031 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
24032 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
24033 (epilogue): New expand.
24034 (epilogue_insn): New insn. Call arm_output_epilogue.
24035
24036 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
24037 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
24038
24039 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
24040
24041 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
24042
24043 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
24044
24045 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
24046
24047 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
24048
24049 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
24050
24051 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
24052
24053 * global.c: Fix comment.
24054
24055 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
24056
24057 * gcc.c (access_check): New static function.
24058 (find_a_file): Use it when searching a directory list.
24059 * collect2.c (find_a_file): Don't accept directories found when
24060 searching a directory list.
24061
24062 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
24063
24064 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
24065 function parameters with `&'.
24066 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
24067
24068 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
24069
24070 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
24071 or tidy_fallthru_edge if the last insn in the block is not
24072 an unconditional jump or a simple conditional jump.
24073
24074 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24075
24076 * Makefile.in (c-decl.o): Depends on defaults.h.
24077
24078 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
24079
24080 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
24081 PA1.1 and above.
24082 (CLASS_MAX_NREGS): Likewise.
24083
24084 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
24085
24086 * cse.c (cse_insn): Fix dumb thinko in last change.
24087
24088 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24089
24090 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
24091 "const char *".
24092
24093 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
24094
24095 * dwarf2out.c (add_location_or_const_value_attribute): Correct
24096 test for sizes of passed and declared parameter types.
24097
24098 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24099
24100 * fixincludes: Fix the return type of bsearch, char* -> void*.
24101
24102 * fixinc/inclhack.def: Likewise.
24103
24104 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
24105
24106 * invoke.texi (-fdump-translation-unit): New option.
24107
24108 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
24109
24110 * expr.h (PROMOTE_PROTOTYPES): Move ...
24111 * defaults.h: ... to here.
24112 * c-decl.c: Include defaults.h instead of expr.h.
24113 * c-typeck.c: Include defaults.h.
24114
24115 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
24116
24117 * toplev.h (errorcount): Declare.
24118 (warningcount): Likewise.
24119 (sorrycount): Likewise.
24120 * c-lex.c (errorcount): Don't declare.
24121 * dwarf2out.c (errorcount): Don't declare.
24122
24123 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
24124
24125 * config/libgloss.h: Add a note discouraging use with ELF.
24126 * configure.in: Don't use libgloss.h for ELF targets.
24127 Always use_collect2 on a.out targets.
24128
24129 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
24130
24131 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
24132 (force_to_mode, case ASHIFTRT): Add shiftrt label.
24133
24134 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24135
24136 * loop.c (strength_reduce): When doing biv->giv conversion, update
24137 reg note of NEXT->insn.
24138
24139 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
24140
24141 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
24142
24143 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
24144
24145 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
24146 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
24147 Ensure expr.h is included.
24148 * c-typecheck.c (convert_arguments): Ditto.
24149
24150 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
24151
24152 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
24153 * config/convex/convex.h: Ditto.
24154 * config/dsp16xx/dsp16xx.h: Ditto.
24155 * config/fx80/fx80.h: Ditto.
24156 * config/gmicro/gmicro.h: Ditto.
24157 * config/i370/i370.h: Ditto.
24158 * config/i386/i386.h: Ditto.
24159 * config/m32r/m32r.h: Ditto.
24160 * config/m68k/m68k.h: Ditto.
24161 * config/m88k/m88k.h: Ditto.
24162 * config/mips/mips.h: Ditto.
24163 * config/pa/pa.h: Ditto.
24164 * config/pyr/pyr.h: Ditto.
24165 * config/tahoe/tahoe.h: Ditto.
24166 * config/we32k/we32k.h: Ditto.
24167
24168 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
24169 based on arch size.
24170
24171 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
24172
24173 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
24174 from comment.
24175
24176 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
24177
24178 1999-08-02 Richard Henderson <rth@cygnus.com>
24179
24180 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
24181 for the register spill block.
24182 (m32r_va_arg): New.
24183 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
24184 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
24185
24186 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
24187 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
24188 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
24189
24190 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
24191
24192 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
24193 MAX_WCHAR_TYPE defined in sparc.h.
24194 * config/sparc/linuxaout.h: Likewise.
24195 * config/sparc/linux64.h: Likewise.
24196 Also default to -mvis if CPU is UltraSPARC.
24197
24198 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
24199
24200 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
24201 (RTX_OK_FOR_OLO10): Likewise.
24202 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
24203 %lo(), allow it in addresses...
24204 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
24205 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
24206 does not make sense.
24207 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
24208 (sparc_output_scratch_registers): New function.
24209 (output_function_prologue, sparc_flat_output_function_prologue): Use
24210 it.
24211 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
24212 defined.
24213 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
24214 * configure.in: Add check for .register pseudo-op support in as and
24215 check for offsetable %lo().
24216 * acconfig.h: Add templates for the above checks.
24217 * configure: Regenerate.
24218
24219 1999-08-02 Richard Henderson <rth@cygnus.com>
24220
24221 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
24222 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
24223 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
24224
24225 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24226
24227 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
24228 reg_biv_class.
24229
24230 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
24231
24232 * config/float-sparc.h: New file.
24233 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
24234 sparc-*-linux-gnu and sparc64-*-linux*.
24235
24236 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24237
24238 * rs6000.c (rs6000_va_list): Type is an array.
24239 (rs6000_va_start): Don't doubly adjust for varargs.
24240 (rs6000_va_arg): Evaluate long long GPR adjustment.
24241
24242 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
24243
24244 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
24245 -maix64 and -maix32.
24246 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
24247 LINK_SPEC): Change appropriately.
24248 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
24249 (u_short_cint_operand): Likewise.
24250 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
24251 for 64-bit hosts.
24252 * rs6000/t-aix43 (MULTILIB): Change to -m64.
24253
24254 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
24255
24256 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
24257
24258 * rs6000/rs6000.c (num_insns_constant_wide): Correct
24259 for type promotion.
24260 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
24261 (non_add_cint_operand): Likewise.
24262 (logical_operand): Likewise.
24263 (non_logical_cint_operand): Likewise.
24264 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
24265 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
24266 (rs6000_select_rtx_section): Suppress warning.
24267 (small_data_operand): Suppress warning.
24268 (rs6000_got_register): Suppress warning.
24269 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
24270 type, so `J' is generally the wrong constraint for a SImode value;
24271 use `L' instead.
24272 (andsi3_internal2): Likewise.
24273 (andsi3_internal3): Likewise.
24274 (iorsi3_internal1): Likewise.
24275 (xorsi3_internal1): Likewise.
24276 (movsi): Likewise.
24277 (movsf_softfloat): Likewise.
24278 (scc insns): Likewise.
24279 (movsi+2): Preserve sign bits of SImode constant.
24280 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
24281 (movdf+1): Sign-extend properly.
24282 (movdi_32+1): Sign-extend properly.
24283 (scc insns): Sign-extend properly.
24284
24285 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
24286 K, L, and T.
24287
24288 1999-08-02 Richard Henderson <rth@cygnus.com>
24289
24290 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
24291 -mcpu parsing code.
24292 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
24293 * alpha.md (all fp insns): Likewise.
24294
24295 1999-08-02 Nick Clifton <nickc@cygnus.com>
24296
24297 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
24298 already defined.
24299
24300 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
24301
24302 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
24303 pic_load_label generator directly.
24304 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
24305 No longer a named pattern.
24306
24307 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
24308
24309 * explow.c (force_reg): Call force_operand if X does not
24310 satisfy general_operand.
24311
24312 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
24313
24314 * fix-header.c (main): When testing for CONTINUED, use string
24315 equality, not pointer equality.
24316
24317 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
24318
24319 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
24320
24321 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
24322
24323 * cse.c (cse_insn): Fix loop which deletes insns after a jump
24324 that has become an unconditional jump.
24325
24326 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
24327 (output_function_epilogue): Similarly.
24328
24329 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24330
24331 * tree.h (init_dummy_function_start): Declare.
24332
24333 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24334
24335 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
24336 last_expr_type, last_expr_value, block_start_count, block_stack,
24337 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
24338 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
24339 dynamically in stmt elt of struct function for each function.
24340 (struct nesting): Rename function_call_count elt to n_function_calls,
24341 target_temp_slot_level to block_target_temp_slot_level. All users
24342 changed.
24343 (struct stmt_status): New structure definition.
24344 Add many accessor macros for stmt_status elements which previously
24345 were global variables.
24346 (init_stmt_for_function): Allocate stmt elt for current_function.
24347 Reflect that block_start_count was renamed to
24348 current_block_start_count.
24349 (save_stmt_status, restore_stmt_status): Delete functions.
24350 (preserve_subexpressions_p): Don't access loop_stack when outside
24351 a function.
24352 (expand_start_bindings): Reflect that block_start_count was renamed to
24353 current_block_start_count.
24354 (expand_fixup): Likewise.
24355 (expand_decl): Don't access block_stack when outside a function.
24356 (expand_decl_cleanup): Likewise.
24357 (expand_dcc_cleanup): Likewise.
24358 (expand_dhc_cleanup): Likewise.
24359 (expand_anon_union_decl): Likewise.
24360 (set_file_and_line_for_stmt): New function.
24361 (in_control_zone_p): New function.
24362
24363 * function.h (struct function): Add new elt stmt.
24364 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
24365 case_stack, nesting_stack, nesting_depth, block_start_count,
24366 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
24367 emit_lineno, goto_fixup_chain.
24368 (save_eh_status, restore_eh_status, save_stmt_status,
24369 restore_stmt_status): Delete declarations.
24370 * function.c (push_function_context_to): Don't call save_stmt_status.
24371 (pop_function_context_to): Don't call restore_stmt_status.
24372 * tree.h (in_control_zone_p): Declare.
24373 * rtl.h (set_file_and_line_for_stmt): Declare.
24374
24375 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
24376 call set_file_and_line_for_stmt.
24377
24378 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
24379
24380 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
24381 Also update copyright.
24382
24383 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24384
24385 * c-pragma.c: Don't include "except.h".
24386 * emit-rtl.c: Likewise.
24387 * stor-layout.c: Likewise.
24388 * tree.c: Likewise.
24389 * varasm.c: Likewise.
24390
24391 * flow.c: Include "function.h".
24392 * tree.h (init_dummy_function_start): Declare new function.
24393
24394 * except.h (struct eh_status): New structure.
24395 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
24396 been included.
24397 (eh_return_stub_label, ehstack, catchstack, ehqueue,
24398 catch_clauses, false_label_stack, caught_return_label_stack,
24399 protect_list, current_function_ehc): Add accessor macros for the
24400 corresponding fields in current_function->eh; delete declarations
24401 for all items that used to be declared here.
24402 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
24403 catch_clauses, false_label_stack, caught_return_label_stack,
24404 protect_list, current_function_ehc): Delete variables.
24405 (init_eh_for_function): Allocate current_function->eh.
24406 (save_eh_status, restore_eh_status): Delete functions.
24407
24408 * function.h (struct function): Add fields next_global and eh.
24409 Delete all exception handling related fields.
24410 * function.c (current_function): New variable.
24411 (all_functions): New variable.
24412 (push_function_context_to): Don't allocate a struct function,
24413 use current_function instead. Call init_dummy_function_start when
24414 outside a function. Clear current_function before returning.
24415 (pop_function_context_from): Restore current_function.
24416 Don't free the restored struct function.
24417 (prepare_function_start): New function.
24418 (init_dummy_function_start): New function.
24419 (init_function_start): Break out some code into prepare_function_start
24420 and call it here.
24421
24422 * stmt.c (save_stmt_status): Don't call save_eh_status.
24423 (restore_stmt_status): Don't call restore_eh_status.
24424
24425 * Makefile.in: Update dependencies.
24426
24427 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
24428
24429 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
24430 of depending on a magic constant value. Update comments.
24431 (hppa_expand_prologue): Similarly.
24432
24433 * pa.md (reload_indi, reload_outdi): Allow any register for the
24434 original reload register.
24435
24436 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
24437
24438 * cccp.c (print_help): Change marcos to macros.
24439
24440 1999-07-30 Richard Henderson <rth@cygnus.com>
24441
24442 * c-typeck.c (initializer_constant_valid_p): Move ...
24443 * c-common.c (initializer_constant_valid_p): ... here. Use
24444 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
24445 of label addresses.
24446 * c-common.h (initializer_constant_valid_p): Declare.
24447 * c-tree.h (initializer_constant_valid_p): Remove.
24448
24449 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
24450
24451 * config/i386/sol2-c1.asm: Align the stack.
24452 * config/i386/sol2-gc1.asm: Likewise.
24453
24454 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
24455
24456 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
24457 -Asparclite for sparc86x.
24458 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
24459 sparc86x.
24460 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
24461
24462 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
24463
24464 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
24465 the user if using the non-default arch size in BI_ARCH configuration.
24466 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
24467
24468 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
24469 Fix patterns so that they actually match.
24470 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
24471 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
24472 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
24473 TARGET_HARD_MUL32.
24474 (mulsidi3): Reflect this in the expand.
24475 (smulsi3_highpart): Only on TARGET_ARCH32.
24476 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
24477 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
24478 (umulsidi3): Reflect this in the expand.
24479 (umulsi3_highpart): Only on TARGET_ARCH32.
24480 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
24481 don't require g0 to be zero.
24482 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
24483 ({,u}divsi3): New expands.
24484 ({,u}divsi3_sp64): New patterns.
24485 (after lshrdi3_v8plus): Four new patterns to help combiner
24486 optimizing nested mixed mode shifts.
24487
24488 * config/sparc/sparc.c (sparc_override_options): Use deprecated
24489 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
24490 speed things up. Don't use them by default on plain v9 in 64bit
24491 mode, according to what SPAMv9 sais.
24492
24493 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
24494 top 32 bits of %[og][0-7] in signal handlers.
24495 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
24496
24497 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
24498
24499 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
24500 (ashlsi3): Corresponding changes.
24501
24502 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
24503
24504 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
24505
24506 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
24507
24508 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24509
24510 * arm.h (Hint): Delete macro.
24511 Substitute HOST_WIDE_INT for Hint in some prototypes.
24512 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
24513
24514 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
24515
24516 * builtins.c (expand_builtin_setjmp): Use force_operand to
24517 make sure that the buffer address is in a suitable form to be
24518 passed to force_reg.
24519
24520 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
24521
24522 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
24523 them here.
24524
24525 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
24526
24527 * pa.md (indirect_jump): Remove mode from match_operand. Verify
24528 proper mode in the condition string.
24529 (icacheflush, dcacheflush): Remove modes from match_operands.
24530
24531 * pa.c (emit_move_sequence): Always convert scratch_reg to the
24532 proper mode before using it.
24533
24534 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
24535 pair.
24536
24537 * pa.c (store_reg): Do not call add_high_const generator directly.
24538 (load_reg, set_reg_plus_d): Likewise.
24539 * pa.md (add_high_const): No longer a named pattern.
24540
24541 * pa.c (legitimize_address): Consistently use Pmode rather than
24542 SImode. Do not call gen_pic2_highpart directly anymore.
24543 * pa.md (pic2_highpart): No longer a named pattern.
24544 (pic2_lo_sum): Similarly. Reformat to make more readable.
24545
24546 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
24547 needed.
24548
24549 * README: Update.
24550
24551 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24552
24553 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
24554
24555 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
24556
24557 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
24558 and tag the spill mems.
24559 (hppa_va_start): New.
24560 (hppa_va_arg): New.
24561 * pa.h (EXPAND_BUILTIN_VA_START): New.
24562 (EXPAND_BUILTIN_VA_ARG): New.
24563
24564 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
24565
24566 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
24567 and tag the spill mems.
24568 (mn10300_va_start): New.
24569 (mn10300_va_arg): New.
24570 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
24571 (EXPAND_BUILTIN_VA_ARG): New.
24572
24573 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
24574
24575 * mn10200.c (mn10200_va_arg): New.
24576 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
24577
24578 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
24579
24580 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
24581 rather than play with TREE_INT_CST_LOW.
24582
24583 1999-07-27 Philip Blundell <pb@nexus.co.uk>
24584
24585 * config/arm/telf.h: Include dbxelf.h.
24586 (CPP_PREDEFINES): Only define if not already defined.
24587 (ASM_IDENTIFY_GCC): Likewise.
24588 (SUBTARGET_EXTRA_SECTIONS): Likewise.
24589 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
24590 * config/arm/thumb.h (LINK_SPEC): Only define if not already
24591 defined.
24592 (DBX_DEBUGGING_INFO): Don't define.
24593 * config/arm/linux-telf.h: New file.
24594 * config/arm/linux-tgas.h: New file.
24595 * config/arm/t-thumb-linux: New file.
24596 * config/arm/uclinux-elf.h: New file.
24597 * config/arm/uclinux-telf.h: New file.
24598 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
24599 thumb-*-uclinux): New targets.
24600 * configure: Regenerate.
24601
24602 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
24603
24604 * pa.md (post_store, pre_load): New expanders.
24605 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
24606 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
24607 need to directly generate RTL for them.
24608 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
24609 changes.
24610
24611 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
24612
24613 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
24614 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
24615 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
24616 (secndary_reload_class): Make TARGET_ELF conditional compile.
24617 (print_operand_address): Similar.
24618 (output_toc): Print all values as hex.
24619 (get_issue_rate): Rearrange and add RS64A and PPC630.
24620 * rs6000.h (processor_type): Add RS64A and PPC630.
24621 (PROCESSOR_POWERPC64): New.
24622 (PROMOTE_MODE): Use word_mode.
24623 (RTX_COSTS): Add RS64A and PPC630.
24624 * rs6000.md (scheduling information): Add lmul and ldiv
24625 representing 64-bit integer multiply and divide. Add rs64a and
24626 PPC630 information.
24627 (ashldi3): Add support for "rldic" instruction.
24628 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
24629
24630 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
24631
24632 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
24633 instead of V8 for sparclite86x in cpu_table.
24634
24635 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24636
24637 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
24638 output_file_directive.
24639
24640 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
24641
24642 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
24643 tree for op1, not the rtl.
24644
24645 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
24646
24647 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
24648 to m88k_va_start, leaving only the register spill.
24649 (m88k_build_va_list): New.
24650 (m88k_va_start): New.
24651 (m88k_va_arg): New.
24652 * m88k.h (BUILD_VA_LIST_TYPE): New.
24653 (EXPAND_BUILTIN_VA_START): New.
24654 (EXPAND_BUILTIN_VA_ARG): New.
24655
24656 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
24657
24658 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
24659 Rename from expand_builtin_saveregs.
24660 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
24661
24662 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
24663
24664 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
24665 for the register spill block.
24666 (i960_build_va_list): New.
24667 (i960_va_start): New.
24668 (i960_va_arg): New.
24669 * i960.h (BUILD_VA_LIST_TYPE): New.
24670 (EXPAND_BUILTIN_VA_START): New.
24671 (EXPAND_BUILTIN_VA_ARG): New.
24672 * i960.md (store_multiple): Use change_address on individul mems.
24673
24674 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
24675
24676 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
24677 an ARRAY_TYPE.
24678 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
24679 (expand_builtin_va_end): Evaluate arg for side effects.
24680 * c-common.c (c_common_nodes_and_builtins): Construct a
24681 va_list_arg_type_node to handle array decomposition to pointer.
24682
24683 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
24684
24685 * except.c (st_dynamic_cleanup): Use force_operand on the
24686 buffer's address.
24687
24688 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
24689
24690 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
24691 * c4x.c (c4x_va_arg): New.
24692
24693 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
24694
24695 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
24696 has manual_pop set.
24697
24698 1999-07-26 Nathan Sidwell <nathan@acm.org>
24699
24700 * eh-common.h (__eh_matcher): Prototype correctly.
24701
24702 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
24703
24704 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
24705 (TARGET_SINGLE_PIC_BASE): Likewise.
24706 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
24707 definitions.
24708 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
24709 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
24710 (TARGET_OPTIONS): Add -mpic-register=N.
24711 (OUTPUT_INT_ADDR_CONST): New macro.
24712 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
24713 LEGITIMATE_PIC_OPERAND_P): Likewise.
24714 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
24715 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
24716 output_addr_const directly.
24717 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
24718 ARM port.
24719 (thumb_pic_register, thumb_pic_register_string): Declare.
24720
24721 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
24722 from arm.c.
24723 (label_mentioned_p): New function: Imported from arm.c.
24724 (legitimize_pic_address): New function: Imported from arm.c.
24725 (is_pic):New function: Imported from arm.c.
24726 (thumb_finalize_pic):New function: Imported from arm.c.
24727 (add_constant): Cope with PIC constants.
24728 (fixit): Cope with PIC constants.
24729 (output_return): Do not treat the PIC register as live if
24730 TARGET_SINGLE_PIC_BASE is true.
24731 (thumb_function_prologue): Do not treat the PIC register as live if
24732 TARGET_SINGLE_PIC_BASE is true.
24733 (thumb_expand_prologue): Do not treat the PIC register as live if
24734 TARGET_SINGLE_PIC_BASE is true.
24735 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
24736 TARGET_SINGLE_PIC_BASE is true.
24737 (thumb_print_operand): Accept '|'.
24738 (thumb_override_options): Process PIC options.
24739
24740 * config/arm/thumb.md (movsi): Support PIC.
24741 (call_insn): Change "i" constraint to "X".
24742 (call_value_insn): Likewise.
24743 (consttable_4, consttable_8, consttable_end): Set and clear
24744 "making_const_table" as appropriate.
24745 (pic_load_addr, pic_add_dot_plus_four): New insns.
24746
24747 * invoke.texi (Thumb Options): Fix spelling. Document new
24748 options -msingle-pic-base and -mpic-register=.
24749
24750 1999-07-26 Andrew Haley <aph@cygnus.com>
24751
24752 * config/m32r/initfini.c (__init): Use a full word immediate for
24753 __fini: this allows it to be placed in any memory region.
24754
24755 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
24756 -mmodel=medium. This is OK for all memory models.
24757
24758 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
24759
24760 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
24761 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
24762
24763 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
24764
24765 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
24766 defined.
24767
24768 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
24769
24770 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
24771
24772 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
24773 (BUILD_VA_LIST_TYPE): New.
24774 (EXPAND_BUILTIN_VA_START): New.
24775 (EXPAND_BUILTIN_VA_ARG): New.
24776 * i860.c (output_delayed_branch): Disable.
24777 (output_delay_insn): Likewise.
24778 (i860_saveregs): New.
24779 (i860_build_va_list): New.
24780 (i860_va_start): New.
24781 (i860_va_arg): New.
24782 * i860.md: Disable all peepholes using output_delayed_branch.
24783 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
24784
24785 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
24786
24787 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
24788 (BUILD_VA_LIST_TYPE): New.
24789 (EXPAND_BUILTIN_VA_START): New.
24790 (EXPAND_BUILTIN_VA_ARG): New.
24791 * clipper.c (clipper_builtin_saveregs): Only dump registers.
24792 Return the address of the save area.
24793 (clipper_build_va_list): New.
24794 (clipper_va_start): New.
24795 (clipper_va_arg): New.
24796
24797 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
24798
24799 * arc.h (EXPAND_BUILTIN_VA_START): New.
24800 (EXPAND_BUILTIN_VA_ARG): New.
24801 * arc.c (arc_setup_incoming_varargs): Set alias set of
24802 varargs save area.
24803 (arc_va_start): New.
24804 (arc_va_arg): New.
24805
24806 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
24807
24808 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
24809 (BUILD_VA_LIST_TYPE): New.
24810 (EXPAND_BUILTIN_VA_START): New.
24811 (EXPAND_BUILTIN_VA_ARG): New.
24812 * alpha.c (alpha_builtin_saveregs): Delete.
24813 (alpha_build_va_list): New.
24814 (alpha_va_start): New.
24815 (alpha_va_arg): New.
24816
24817 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
24818
24819 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
24820 column zero.
24821 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
24822 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
24823
24824 * gcc.texi: More changes related to list conversion.
24825 * invoke.texi: Likewise.
24826
24827 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
24828
24829 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
24830 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
24831 (expand_builtin_next_arg): Accept ARGLIST not EXP.
24832 (stabilize_va_list): New function.
24833 (std_expand_builtin_va_start): New function.
24834 (expand_builtin_va_start): New function.
24835 (get_varargs_alias_set): New function.
24836 (std_expand_builtin_va_arg): New function.
24837 (expand_builtin_va_arg): New function.
24838 (expand_builtin_va_end): New function.
24839 (expand_builtin_va_copy): New function.
24840 (expand_builtin): Call them.
24841 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
24842 __builtin_{varargs_start,stdarg_start,end,copy}.
24843 (build_va_arg): New function.
24844 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
24845 (build_va_arg): Declare.
24846 * c-decl.c (ptr_type_node, va_list_type_node): New.
24847 * c-parse.gperf (__builtin_va_arg): New.
24848 * c-parse.in (VA_ARG): New token.
24849 (unary_expr): Recognize it.
24850 * expr.c (expand_expr): Expand VA_ARG_EXPR.
24851 * expr.h (std_expand_builtin_va_start): Declare.
24852 (std_expand_builtin_va_arg): Declare.
24853 (expand_builtin_va_arg): Declare.
24854 (get_varargs_alias_set): Declare.
24855 * tree.def (VA_ARG_EXPR): New.
24856 * tree.h (BUILT_IN_VARARGS_START): New.
24857 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
24858 (ptr_type_node, va_list_type_node): Declare.
24859 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
24860 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
24861 * m88k.h, m88k.c: Likewise.
24862 * mn10300.h, mn10300.c: Likewise.
24863 * pa.h, pa.c: Likewise.
24864 * rs6000.h, rs6000.c: Likewise.
24865 * sh.h, sh.c: Likewise.
24866 * sparc.h, sparc.c: Likewise.
24867
24868 * emit-rtl.c (operand_subword): Copy alias set.
24869 (change_address): Likewise.
24870
24871 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
24872
24873 * pa.c (compute_frame_size): Scan all the used callee saved registers,
24874 not just the first one.
24875
24876 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
24877
24878 * config/arm/arm.h (TARGET_SWITCHES): Add
24879 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
24880 (TARGET_OPTIONS): Add -mpic-register=.
24881 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
24882 (arm_pic_register_string): Declare.
24883 (NEED_PLT_GOT): Delete, replace with ...
24884 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
24885 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
24886 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
24887 * config/arm/arm.c (arm_override_options): Add new option
24888 -mpic-register=N.
24889 (arm_pic_register_string): New variable.
24890 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
24891 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
24892 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
24893 (output_return_instruction): Likewise.
24894 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
24895 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
24896 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
24897
24898 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
24899 mention of -msched-prolog. Document new options -msingle-pic-base
24900 and -mpic-register=.
24901
24902 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
24903
24904 * haifa-sched.c (reemit_notes): Tidy.
24905 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
24906 haifa's routine.
24907
24908 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
24909
24910 * explow.c (trunc_int_for_mode): New function.
24911 (plus_constant_wide): Use it.
24912 * combine.c (simplify_and_const_int): Likewise.
24913 (merge_outer_ops): Likewise.
24914 (simplify_shift_const): Likewise.
24915 * cse.c (simplify_unary_operation): Likewise.
24916 (simplify_binary_operation): Likewise.
24917 * emit-rtl.c (operand_subword): Likewise.
24918 * rtl.h: Declare it.
24919
24920 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24921
24922 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
24923 (use NUM_REGS instead of NUM_INTS).
24924
24925 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24926
24927 * builtins.c: New file.
24928 * expr.c (saveregs_value, apply_args_value): Delete definition,
24929 moved into builtins.c.
24930 (string_constant): No longer static.
24931 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
24932 apply_args_size, apply_result_size, result_vector,
24933 expand_builtin_apply_args, expand_builtin_apply,
24934 expand_builtin_return): Delete functions, moved into builtins.c.
24935 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
24936 * expr.h (saveregs_value, apply_args_value): Declare variables.
24937 (expand_builtin, string_constant): Declare functions.
24938 * Makefile.in: Update to build builtin.o.
24939
24940 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
24941
24942 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
24943 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
24944 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
24945 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
24946 false.
24947 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
24948 Define to zero.
24949
24950 1999-07-21 Michael Meissner <meissner@cygnus.com>
24951
24952 * print-rtl.c (print_rtx): Print the names of the virtual
24953 registers.
24954
24955 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
24956
24957 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
24958 introduced in previous delta.
24959
24960 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24961
24962 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
24963 to avoid name clash.
24964
24965 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
24966
24967 * c-lex.c (yylex) : Correct the test for overflow when lexing
24968 integer literals.
24969
24970 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
24971
24972 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
24973 (adjust_priority): Always call ADJUST_PRIORITY.
24974 (schedule_insn): Only put insns into the ready at cost 0.
24975 (schedule_block): Remove redundant initial sort. Give clock_var
24976 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
24977 is not 0.
24978 * tm.texi (MD_SCHED_REORDER): Update docs.
24979
24980 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
24981 * sparc.c (ultra_reorder_called_this_block): Delete.
24982 (ultrasparc_sched_init): Don't set it.
24983 (ultrasparc_sched_reorder): Don't check it.
24984
24985 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
24986
24987 * rs6000.h (struct rs6000_args): Add sysv_gregno.
24988 * rs6000.c (init_cumulative_args): Init sysv_gregno.
24989 (function_arg_boundary): Align DFmode.
24990 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
24991 to get fp reg and stack overflow correct.
24992 (function_arg): Likewise.
24993 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
24994 (setup_incoming_varargs): Restructure for ABI_V4; use
24995 function_arg_advance to skip final named argument.
24996 (expand_builtin_saveregs): Properly unskip the last integer arg
24997 when doing varargs. Adjust overflow location calculation.
24998
24999 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
25000 explicitly unsigned.
25001 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
25002 (__VA_GP_REGSAVE): Similarly.
25003 (__va_longlong_p): Delete.
25004 (__va_arg_type_violation): New declaration.
25005 (va_arg): Restructure. Flag promotion errors. Align double.
25006 TFmode passed by reference.
25007
25008 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
25009 in the HOST_BITS_PER_WIDE_INT > 32 case.
25010
25011 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
25012
25013 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
25014
25015 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
25016
25017 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
25018 * toplev.c (documented_lang_options): Add -fpreprocessed.
25019 * cpplib.h (struct cpp_buffer): Add preprocessed.
25020 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
25021 (cpp_start_read): Don't expand macros or emit an initial #line
25022 directive if -fpreprocessed.
25023
25024 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
25025
25026 * cpplib.h (struct cpp_buffer): Added manual_pop for
25027 better C++ tokenization.
25028 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
25029 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
25030 * c-common.c (cpp_token): Make non-static.
25031
25032 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25033
25034 * c-common.h: New file.
25035 * c-common.c (permanent_obstack): Delete unused declaration.
25036 (c_global_trees): New array.
25037 (c_common_nodes_and_builtins): New function; split off common code
25038 from init_decl_processing in both c-decl.c and cp/decl.c.
25039 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
25040 c_global_trees and accessor macros defined in c-common.h.
25041 Include c-common.h.
25042 * c-decl.c: Delete definitions for tree nodes that were replaced by
25043 c_global_trees.
25044 (init_decl_processing): Build void_list_node.
25045 Call c_common_nodes_and_builtins; delete code to generate the common
25046 builtins here.
25047 * objc/objc-act.c (build_module_descriptor): Rename variable
25048 void_list_node to avoid clash with c-common.h.
25049
25050 * Makefile.in: Update dependencies.
25051 * objc/Make-lang.in: Likewise.
25052
25053 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
25054
25055 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
25056 (UNIQUE_SECTION_P): Likewise.
25057 (UNIQUE_SECTION): Likewise.
25058
25059 1999-07-19 Linas Vepstas <linas@linas.org>
25060
25061 * config/i370/README: New file.
25062 * config/i370/linux.h: New file.
25063 * config/i370/mvs.h: New file.
25064 * config/i370/oe.h: New file.
25065 * config/i370/t-linux: New file.
25066 * config/i370/t-mvs: New file.
25067 * config/i370/t-oe: New file.
25068 * config/i370/x-oe: New file.
25069 * config/i370/xm-linux.h: New file.
25070 * config/i370/xm-mvs.h: New file.
25071 * config/i370/xm-oe.h: New file.
25072
25073 * i370.c (label_node_t): Add first_ref_page, label_addr,
25074 label_first_ref, label_last_ref members.
25075 (mvs_need_base_reload): Renamed from mvs_label_emitted.
25076 (MAX_MVS_LABEL_SIZE): Define.
25077 (MAX_LONG_LABEL_SIZE): Define.
25078 (alias_node_t, alias_anchor, alias_number): New.
25079 (mvs_function_table): Reorder for EBCDIC.
25080 (ascebc, ebcasc): Unconditionally define.
25081 (i370_branch_dest, i370_branch_length): New functions.
25082 (i370_short_branch, i370_label_scan): New functions.
25083 (mvs_get_label): Renamed from mvs_add_label. Search for
25084 an existing label before creating a new one.
25085 (mvs_add_label): New function.
25086 (mvs_get_label_page): New function.
25087 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
25088 over the entire list.
25089 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
25090 (mvs_check_page) [TARGET_ELF_ABI]: New function.
25091 (mvs_add_alias, mvs_need_alias): New functions.
25092 (mvs_get_alias, mvs_check_alias): New functions.
25093 (handle_pragma): New function.
25094 (mvs_function_check): New function.
25095 (unsigned_jump_follows_p): Search harder.
25096 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
25097 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
25098 * i370.h (TARGET_VERSION): Delete.
25099 (CPP_SPEC, CPP_PREDEFINES): Delete.
25100 (mvs_label_emitted): Delete.
25101 (TARGET_EBCDIC): Delete.
25102 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
25103 (HANDLE_PRAGMA): Define.
25104 (HARD_REGNO_NREGS): Handle complex modes.
25105 (HARD_REGNO_MODE_OK): Likewise.
25106 (CLASS_MAX_NREGS): Likewise.
25107 (RET_REG): Likewise.
25108 (EXTRA_CONSTRAINT): Define.
25109 (RETURN_IN_MEMORY): True for DImode.
25110 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
25111 (FUNCTION_PROFILER): Delete.
25112 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
25113 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
25114 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
25115 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
25116 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
25117 (ASM_FILE_START): Add "RMODE ANY".
25118 (ASM_OUTPUT_EXTERNAL): Check for aliases.
25119 (ASM_GLOBALIZE_LABEL): Likewise.
25120 (ASM_OUTPUT_LABELREF): Likewise.
25121 (ASM_OUTPUT_COMMON): Likewise.
25122 (PRINT_OPERAND): Handle 'K', 'W', default.
25123 (PRINT_OPERAND_ADDRESS): New.
25124 (Lots of defines): Add support for TARGET_ELF_ABI.
25125 * i370.md (attr length): New. Define for all patterns.
25126 (*): Lots of tweeks to assembly output and constraints.
25127
25128 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
25129
25130 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
25131 Disable patterns performing SImode comparisons with SImode values
25132 if TARGET_POWERPC64 and instruction does not sign-extend or does
25133 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
25134 differ for signed quantities.
25135 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
25136 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
25137 (decrement_and_branch_on_count): Add 64-bit variant.
25138
25139 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25140
25141 * final.c (output_asm_insn): When searching for the matching string
25142 for a given dialect, don't run past the end of the list of
25143 alternatives if there are fewer alternatives in the template than
25144 dialects.
25145
25146 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
25147
25148 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
25149 Removed paragraph about compression of files and size limitation,
25150 duplicated in the FAQ. Use gcc-patches for posting patches.
25151 * gcc.c (main): Updated URL with bug reporting instructions to
25152 gcc.gnu.org. Removed e-mail address.
25153 * system.h (abort): Likewise.
25154
25155 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25156
25157 * Makefile.in (stmp-multilib-sub): Make the files extracted
25158 from $(LIBGCC1) writable.
25159
25160 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
25161
25162 * config/arm/aout.h: Reformat for improved readability.
25163
25164 * config/arm/arm.h: Reformat for improved readability.
25165 Replace uses of fprintf with asm_fprintf where appropriate.
25166 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
25167 function declaration assembler actions.
25168 (NUM_INTS): New macro: Convert from bytes to words.
25169 (NUM_REGS): New macro: Compute number of registers required to
25170 hold a quanitity of tyep MODE.
25171 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
25172 types.
25173 (NUM_ARG_REGS): New macro: The number of argument registers
25174 available.
25175 (ARG_REGISTER): New macro: Compute the register number of the Nth
25176 argument register.
25177 (LAST_ARG_REGNUM): New macro: The number of the last argument
25178 register.
25179 (SP_REGNUM): New macro: Register number of the stack pointer.
25180 (FP_REGNUM): New macro: Register number of the frame pointer.
25181 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
25182 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
25183 CUMULATIVE_ARGS so that it counts registers not bytes.
25184
25185 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
25186 TARGET_INTERWORK.
25187 Replace uses of fprintf with asm_fprintf where appropriate.
25188 (output_ascii_pseudo_op): Replace with version from thumb.c
25189
25190 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
25191
25192 * config/arm/elf.h (CPP_PREDEFINES): Replace with
25193 SUBTARGET_CPP_SPEC.
25194 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
25195 (ASM_FILE_START): Emit ASM_APP_OFF.
25196
25197 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
25198
25199 * pa.c (compute_frame_size): Round frame according to
25200 STACK_BOUNDARY rather than a hardwired value.
25201
25202 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
25203
25204 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
25205 of "1".
25206 * configure: Rebuilt.
25207
25208 * configure.in (hppa*-*-linux*): New configuration.
25209 * configure: Rebuilt.
25210 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
25211 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
25212 * pa/pa-linux.h: New file.
25213 * pa/t-linux: New file.
25214 * pa/xm-linux.h: New file.
25215
25216 * pa.c (hppa_legitimize_address): Change references from SImode to
25217 either Pmode or word_mode as appropriate.
25218 (emit_move_sequence, store_reg, load_reg): Likewise.
25219 (set_reg_plus_d, hppa_expand_prologue): Likewise.
25220 (output_mul_insn): Likewise.
25221 * pa.h (PROMOTE_MODE): Likewise.
25222 (INITIALZE_TRAMPOLINE): Likewise.
25223 (Pmode): Define to word_mode.
25224
25225 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
25226 value of 4. Allocate 8 bytes for each FP register save.
25227 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
25228 value of 4.
25229 (hppa_expand_prologue): Likewise.
25230 * pa.h (PROMOTE_MODE): Likewise.
25231 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
25232 (FUNCTION_ARG_BOUNDARY): Likewise.
25233
25234 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
25235
25236 * pa.c (out_of_line_prologue_epilogue): Delete.
25237 (override_options): Remove -mspace related code.
25238 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
25239 (compute_frame_size): Only allocate space for register that
25240 actually need to be saved.
25241 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
25242 (TARGET_SWITCHES): Remove -mspace, -mno-space
25243 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
25244 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
25245 * pa/ee.asm, pa/ee_fp.asm: Delete.
25246
25247 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
25248
25249 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
25250 directive in column zero.
25251
25252 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
25253
25254 * m68k.c (output_function_prologue): Fix computation of save mask
25255 when generating PIC code.
25256
25257 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
25258
25259 * tree.c (build_type_attribute_variant): Move current_obstack restore
25260 after build_qualified_type call.
25261
25262 1999-07-15 Mark Mitchell <mark@codesourcery.com>
25263
25264 * configure.in: Use t-iris6, even with GNU LD.
25265 * config/mips/iris6gld.h: Fix typo in linker spec.
25266 * config/mips/t-iris6gld: Remove.
25267
25268 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
25269
25270 * rs6000.md (insv, extzv): Remove SImode dependence in named
25271 patterns. Explicitly generate DImode RTL if PowerPC64 and
25272 operand is DImode.
25273 (insvdi): Reverse start and size in instruction template.
25274
25275 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
25276
25277 * invoke.texi: Typo fixes.
25278
25279 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
25280
25281 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
25282 handle at this time instead of silently generating incorrect code.
25283 (gen_imagpart): Likewise.
25284
25285 * reload.c (find_reloads): Emit a USE for a pseudo register without
25286 a hard register if we could not create an optional reload for the
25287 pseudo.
25288
25289 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25290
25291 * c-typeck.c (output_init_element, process_init_element):
25292 When advancing constructor_unfilled_fields for a RECORD_TYPE,
25293 check for nameless bit fields.
25294
25295 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
25296
25297 * regclass.c (scan_one_insn): Notice subregs that change the
25298 size of their operand.
25299 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
25300
25301 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
25302
25303 * configure.in (alpha*-*-*): Include alpha/t-ieee.
25304 * configure: Rebuilt.
25305 * alpha/t-ieee: New file.
25306
25307 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
25308
25309 * rs6000.c (find_addr_reg): Do not select r0 as an address
25310 register.
25311
25312 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
25313
25314 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
25315
25316 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
25317
25318 * rs6000.md (movsf): Do not force easy FP constants into memory.
25319
25320 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
25321 immed_double_const to ensure they are properly truncated then
25322 sign extended.
25323
25324 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
25325
25326 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
25327 always unless NO_DEBUG is used. Compile this code
25328 unconditionally.
25329 (replace_symbols_in_block): Compile it unconditionally.
25330
25331 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
25332
25333 * configure.in (i?86-*-elf*): New target.
25334 * configure: Rebuilt.
25335 * i386/i386elf.h, i386/t-i386elf: New files.
25336
25337 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
25338
25339 * toplev.c (main): Don't complain about saying -gdwarf.
25340 (rest_of_compilation): Remove redundant code.
25341
25342 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
25343
25344 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
25345
25346 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
25347
25348 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
25349 "Li960R:", to avoid name clash.
25350
25351 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25352
25353 * loop.c (check_dbra_loop): When reversing a loop, delete all
25354 REG_EQUAL notes referencing the reversed biv except those which are
25355 for a giv based on it.
25356
25357 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
25358
25359 * version.c: Drop "gcc-" prefix from version #.
25360
25361 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
25362
25363 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
25364 the label if we're being verbose.
25365
25366 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
25367
25368 * m68k.c (output_function_prologue): Add pic register to mask
25369 if live and flag_pic.
25370 (output_function_epilogue): Likewise.
25371
25372 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
25373
25374 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
25375 directives in column zero.
25376
25377 * pa/elf.h (ASM_FILE_START): Define.
25378 * pa/som.h (ASM_FILE_START): Include .level directives.
25379 * pa/hpux10.h (ASM_FILE_START): Delete.
25380 * pa/hpux11.h (ASM_FILE_START): Delete.
25381
25382 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
25383
25384 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25385
25386 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
25387 when reload_out equals reload_in.
25388
25389 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
25390
25391 * invoke.texi (Spec Files): New node: Describe the contents of
25392 spec files.
25393
25394 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
25395
25396 * invoke.texi (DEC Alpha Options): Put @end table at
25397 beginning of line, to avoid confusing texi2html.
25398
25399 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
25400
25401 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
25402 introduced in previous delta.
25403
25404 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
25405
25406 * reload1.c (gen_reload): When synthesizing a 3 operand add
25407 sequence, improve test for when to reload OP1 into the reload
25408 register instead of OP0.
25409
25410 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
25411
25412 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
25413
25414 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
25415
25416 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
25417 string literal.
25418
25419 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
25420
25421 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
25422 (va_dcl): Use __builtin_va_alist_t.
25423
25424 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
25425
25426 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
25427 on the permanent_obstack.
25428 * dwarfout.c (output_type): Likewise.
25429
25430 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
25431
25432 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
25433 Merged from c-typeck.c and cp/typeck.c.
25434 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
25435 Merged into c-common.
25436
25437 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
25438
25439 * c-lex.c (errorcount): Declare it.
25440 (finish_parse): Update errorcount when using CPPLIB.
25441
25442 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
25443
25444 * fixinc/inclhack.def(end_else_label): Double the backslash so
25445 sed gets a chance to see it.
25446 * fixinc/inclhack.sh: regen
25447 * fixinc/fixincl.x: regen
25448
25449 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
25450
25451 Add framework to support armv5 architecture when it becomes
25452 available:
25453
25454 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
25455 (arm_arch5): New variable.
25456 (all_architectures): Add armv5 line.
25457 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
25458 -march=armv5 is specified on the command line.
25459 (arm_arch5): Export this variable.
25460 * invoke.texi: Document new string accepted by -march= switch for
25461 ARM ports.
25462
25463 * config/arm/arm.h: Replace use of constant 12 as a register
25464 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
25465 * config/arm/arm.c: Replace use of constant 12 as a register
25466 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
25467
25468 * config/arm/elf.h: Tidy up.
25469 * config/arm/coff.h: Tidy up.
25470
25471 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
25472
25473 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
25474 * gcc/config/mips/t-iris6gld: New file.
25475 * gcc/config/mips/iris6gld.h: Likewise.
25476
25477 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
25478
25479 * c-decl.c (widest_integer_literal_type_node,
25480 widest_unsigned_literal_type) : New.
25481 (init_decl_processing): Handle/use the two new types.
25482 * c-common.c (type_for_size,type_for_mode) : Same.
25483 * c-lex.c (yylex) : Same.
25484 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
25485 Same.
25486 * c-tree.h (widest_integer_literal_type_node,
25487 widest_unsigned_literal_type) : New.
25488
25489 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
25490
25491 * dwarfout.c (field_byte_offset): Correctly compute the object's
25492 byte offset for the first bit of a field which crosses an alignment
25493 boundary on a !BYTES_BIG_ENDIAN target.
25494
25495 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
25496
25497 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
25498 ntohs.
25499
25500 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
25501 Jeff Law <law@cygnus.com>
25502
25503 * ginclude/varargs.h (va_dcl): Use word_mode for type of
25504 __builtin_va_list.
25505
25506 * except.c: Include intl.h.
25507 (expand_eh_return): Set current_function_cannot_inline.
25508 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
25509 * function.h (struct function): Add eh_return_stub_label.
25510 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
25511 * Makefile.in (except.o): Depend on intl.h.
25512
25513 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
25514
25515 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
25516 same as offsettable in cases 1 and 2.
25517
25518 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
25519
25520 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
25521 (extlh, extwh): Likewise.
25522
25523 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
25524
25525 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
25526
25527 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
25528
25529 * configure.in: Add arm-pe and thumb-pe targets.
25530 * configure: Regenerate.
25531
25532 * thumb.c (arm_naked_function_p): New function: Determines if
25533 a function is naked (has no gcc generated prologue/epilogue).
25534 (is_called_in_ARM_mode): Return true if the func has the
25535 interfacearm attribute.
25536 (output_return): Do not generate a return for naked functions.
25537 (thumb_function_prologue): Do not generate a prologue for
25538 naked functions.
25539 (thumb_expand_prologue): Do not generate a prologue for naked
25540 functions.
25541 (thumb_expand_epilogue): Do not generate an epilogue for naked
25542 functions.
25543 (arm_valid_machine_decl_attribute): New function, copied from
25544 arm.c: Permit naked and interfacearm attributes.
25545
25546 * config/arm/pe.c: New file: Support code for arm-pe target.
25547 * config/arm/pe.h: New file: Header file for arm-pe target.
25548 * config/arm/tpe.h: New file: Header file for thumb-pe target.
25549 * config/arm/t-thumb-pe: New file: Makefile fragment for
25550 thumb-pe target.
25551
25552 1999-07-01 Mark Kettenis <kettenis@gnu.org>
25553
25554 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
25555 -fPIC or -fpic is specified.
25556
25557 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
25558
25559 * expr.c (emit_block_move): Use copy_to_mode_reg for
25560 !TARGET_MEM_FUNCTIONS case too.
25561
25562 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
25563 appropriate.
25564 * configure: Rebuilt.
25565 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
25566 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
25567 definitions made redundant by dbxelf.h inclusion. Delete
25568 lots of definitions related to assembly output that are
25569 specific to the SOM object format.
25570 * pa.c (output_function_prologue): Do not emit the function's
25571 name for OBJ_ELF.
25572 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
25573 * pa-pro.h: Deleted.
25574 * som.h: New file with SOM specific definitions.
25575 * elf.h: New file with ELF specific definitions.
25576
25577 * elfos.h (const_section): Output a tab before assembler directives.
25578 (ctors_section, dtors_section): Likewise.
25579 (ASM_OUTPUT_SECTION_NAME): Likewise.
25580
25581 * pa/pa1.h: Delete unused file.
25582
25583 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
25584
25585 * configure.in (hppa*-hp-hpux11*): New configuration.
25586 * configure: Rebuilt.
25587 * pa/pa-hpux11.h: New file.
25588 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
25589 command line.
25590
25591 * mips.md (leasi, leadi): New patterns.
25592
25593 * expr.c (emit_block_move): Properly handle case where one of the
25594 block move arguments has a queued increment or decrement.
25595 (clear_storage): Similarly. Fix formatting goof.
25596
25597 1999-06-28 "David O'Brien" <obrien@NUXI.com>
25598
25599 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
25600 semicolon from the BSD VA_LIST replacement expression.
25601
25602 * fixinc/inclhack.sh: regen
25603 * fixinc/fixincl.x: regen
25604
25605 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
25606 now use the fixincl program.
25607
25608 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
25609
25610 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
25611 case. Also make the PIC register call_used.
25612
25613 * m68k.h (FINALIZE_PIC): Delete.
25614 * m68k.c (finalize_pic): Delete.
25615
25616 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
25617
25618 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
25619 to memory.
25620
25621 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
25622
25623 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
25624
25625 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
25626
25627 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
25628
25629 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
25630
25631 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
25632
25633 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
25634
25635 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
25636
25637 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
25638
25639 * rs6000.c (output_toc): Always use hex values for floating-point
25640 constants. Store single-precision values in upper-half of TOC
25641 entry in 64-bit mode.
25642 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
25643 to final constraints.
25644 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
25645 (fctiwz): Improve accuracy of RTL for pattern.
25646
25647 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
25648
25649 * expr.c (expand_expr): Allow RTL_EXPR's through the
25650 MAX_INTEGER_COMPUTATION_MODE checks.
25651
25652 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
25653
25654 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
25655 such that MASK_SUPPORT_ARCH is not negative.
25656
25657 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
25658
25659 * loop.c (verify_dominator): Properly handle ADDR_VEC and
25660 ADDR_DIFF_VEC insns that appear inside loops.
25661
25662 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
25663 Jeff Law <law@cygnus.com>
25664
25665 * rs6000.md (movdf_hardfloat32): Revert previous patch.
25666 Handle LO_SUM the same as offsettable in cases 1 and 2.
25667 * rs6000.c (find_addr_reg): Revert previous patch.
25668
25669 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
25670
25671 * system.h (strstr): New external function declaration.
25672 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
25673 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
25674 * config.in, configure: Rebuilt.
25675
25676 1999-06-24 Tom Tromey <tromey@cygnus.com>
25677
25678 * gcc.c (main): Read user-specified specs files after computing
25679 additional startfile_prefixes.
25680
25681 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
25682
25683 Revert these two patches:
25684
25685 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25686 * loop.c (strength_reduce): When doing biv->giv conversion, update
25687 reg note of NEXT->insn.
25688
25689 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25690 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
25691 reg_biv_class.
25692 (recombine_givs): Set ix field after sorting.
25693
25694 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25695
25696 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
25697 for the parts of an UNSPEC / UNSPEC_VOLATILE.
25698
25699 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
25700
25701 *fixinc/inclhack.def: Add fix development commentary
25702 (read_ret_type): reactivate and add selection clause
25703 (zzz_*): tweak output file name to match what is used in hackshell.tpl
25704 *fixinc/{fixincl.x|inclhack.sh}: regen
25705
25706 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
25707
25708 * expr.c (expand_expr): STRIP_NOPS before checking against
25709 MAX_INTEGER_COMPUTATION_MODE
25710 (check_max_integer_computation_mode): Likewise.
25711
25712 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
25713
25714 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
25715
25716 1999-06-22 Jim Wilson <wilson@cygnus.com>
25717
25718 * expr.c (store_expr): When target is a promoted subreg, return a
25719 promoted subreg as a result.
25720
25721 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
25722
25723 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
25724 coding standards.
25725 (dwarf2out_define): Mark unused parameters appropriately.
25726 (gen_unspecified_parameters_die): Ditto.
25727 (gen_subprogram_die): Fix signed/unsigned warnings.
25728 (gen_variable_die): Ditto.
25729
25730 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
25731
25732 * fixinc/inclhack.def(end_else_label): combined else_label
25733 and endif_label and fixed the sed expression.
25734 *fixinc/{fixincl.x|inclhack.sh}: regen
25735
25736 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
25737
25738 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
25739 'x' when handling non-offsettable addresses
25740
25741 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
25742
25743 * final.c (shorten_branches): Don't try to split an insn that has
25744 been deleted.
25745
25746 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
25747
25748 * config/mips/mips.c (symbolic_expression_p): New function.
25749 (mips_select_rtx_section): Put symbolic expressions in the
25750 data section, not the read-only data section.
25751
25752 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
25753
25754 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
25755
25756 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
25757
25758 * collect2.c (main): Log frame table count.
25759 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
25760 (scan_prog_file) [COFF]: Handle frame tables.
25761
25762 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
25763 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
25764 * alpha/elf.h: Undef them again.
25765 * alpha/vms.h: Remove their definitions.
25766
25767 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25768
25769 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
25770 remove the clobber of r0 and change the REG_UNUSED note to
25771 REG_INC.
25772
25773 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
25774
25775 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
25776 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
25777 fits in HOST_WIDE_INT and one uses union to access a long constant
25778 as double.
25779
25780 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
25781
25782 * sparc.c (sparc_override_options): Don't allow profiling for
25783 code models other than medlow.
25784 (sparc_function_profiler): New function from old FUNCTION_PROFILER
25785 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
25786 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
25787 (sparc_block_profiler): Likewise.
25788 (sparc_function_block_profiler_exit): Likewise.
25789 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
25790 (FUNCTION_BLOCK_PROFILER): Likewise.
25791 (BLOCK_PROFILER): Likewise.
25792 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
25793 (MCOUNT_FUNCTION): New.
25794 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
25795 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
25796 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
25797 (MCOUNT_FUNCTION): New.
25798 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
25799 (BLOCK_PROFILER): Delete.
25800 (MCOUNT_FUNCTION): New.
25801
25802 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
25803
25804 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
25805
25806 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
25807
25808 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
25809 Add the macros.
25810
25811 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
25812 Ditto.
25813
25814 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
25815 Ditto.
25816
25817 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
25818 Ditto.
25819
25820 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
25821
25822 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
25823 types.
25824
25825 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
25826
25827 * i386/djgpp.h (LIB_SPEC): New.
25828 (STARTFILE_SPEC): New.
25829
25830 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
25831
25832 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
25833
25834 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
25835 compiler flags.
25836
25837 * system.h (WSTOPSIG): New macro.
25838
25839 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
25840
25841 * c-pragma.c (push_alignment): Don't ignore alignments greater than
25842 4 bytes.
25843 (insert_pack_attributes): Take into account member natural
25844 alignment.
25845
25846 * i386/winnt.c (exports_head): New static variable.
25847 (i386_pe_record_exported_symbol): New function.
25848 (i386_pe_asm_file_end): Use.
25849 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
25850 symbols to be emitted at end of assembly.
25851 (ASM_DECLARE_OBJECT_NAME): Likewise.
25852 (ASM_DECLARE_FUNCTION_NAME): Likewise.
25853
25854 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
25855 -iwithprefix.
25856
25857 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
25858
25859 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
25860 in last change.
25861
25862 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
25863
25864 * haifa-sched.c (sched_analyze_1): Use free_list instead of
25865 zapping reg_last_uses directly.
25866 (sched_analyze_2, sched_analyze_insn): Likewise.
25867 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
25868
25869 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
25870
25871 * rs6000.md (movdf_hardfloat32): Use worst case insn length
25872 attributes for cases 1 and 2.
25873
25874 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
25875
25876 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
25877 instead of set.
25878
25879 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
25880
25881 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
25882
25883 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
25884
25885 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
25886 PIC_OFFSET_TABLE_REGNUM for general alloaction.
25887 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
25888 must be stacked if it is used for PIC accesses.
25889 * arm.c (use_return_insn): Handle PIC register specially.
25890 (output_return_instruction): Likewise.
25891 (output_func_{prologue,epilogue}): Likewise.
25892 (output_expand_prologue): Likewise.
25893
25894 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
25895 (*strsi_predec): Renamed from *strqi_predec.
25896 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
25897 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
25898
25899 * arm.c (arm_override_options): Remove warning about PIC code
25900 not being supported.
25901
25902 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
25903
25904 * rs6000.c (find_addr_reg): New function.
25905 * rs6000.h (find_addr_reg): Declare.
25906 (offsettable_addr_operand): Delete.
25907 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
25908 from and stores to GPRs.
25909
25910 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
25911
25912 * alpha.c (alpha_expand_block_move): Use get_insns rather than
25913 gen_sequence as argument to emit_no_conflict_block.
25914
25915 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
25916
25917 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
25918 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
25919 *fixinc/fixincl.x: regen
25920 *fixinc/inclhack.sh: regen
25921
25922 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
25923
25924 * added support for -mpcrel (PC relative addressing for m68k)
25925 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
25926 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
25927 * m68k.c (print_operand_address): Handle 32-bit PIC case.
25928 (comments for general_src_operand): Add some explanation
25929 about EXTRA_CONSTRAINTS.
25930 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
25931 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
25932 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
25933 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
25934 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
25935 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
25936 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
25937 if not already set.
25938 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
25939 * m68k.h (TARGET_PCREL): New target flag.
25940 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
25941 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
25942 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
25943 contains a SYMBOL_REF. Relax this constraint during reload, since
25944 we want to use the predicates, not reload's built-in concept of a
25945 valid memory address, to control what insns need reloading.
25946 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
25947 operands (essentially 'g', 'm', and 's' under normal circumstances).
25948 * m68k.c (print_operand): Cause printing of pc-relative addresses
25949 to include pc register.
25950 (print_operand_address): Ditto.
25951 (general_src_operand): Accept operands that are not only
25952 general_operands, but are also valid when used as a pc-relative
25953 source.
25954 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
25955 (memory_src_operand): Similar, for memory_operands.
25956 (pcrel_address): New predicate to accept the special case of a
25957 pc-relative address.
25958 * m68k.md (many patterns): Rewrite common SImode, HImode, and
25959 QImode insns to accept *_src_operand instead of *_operand where
25960 pc-relative operands can fit. For example, a pc-relative operand
25961 can be used as a memory source operand for addsi3, but not as a
25962 memory destination.
25963 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
25964
25965 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
25966
25967 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
25968 .thumb_set pseudo op to mark aliases of thumb functions.
25969
25970 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
25971
25972 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
25973 preference to ASM_OUTPUT_DEF, if it is defined.
25974
25975 * tm.texi: Document new, optional target macro
25976 ASM_OUTPUT_DEF_FROM_DECLS.
25977
25978 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
25979
25980 * fixincludes: ISCNTL patch
25981 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
25982 (dgux_int_varargs): new for DG/UX
25983 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
25984
25985 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
25986
25987 * invoke.texi (ia32 options): Fix typo.
25988
25989 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25990
25991 * loop.c (strength_reduce): When doing biv->giv conversion, update
25992 reg note of NEXT->insn.
25993
25994 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
25995
25996 * loop.c (move_movables): Note issues with replacing REGs with
25997 SUBREGs.
25998 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
25999
26000 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
26001
26002 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
26003
26004 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
26005 the reference to `mcount' was not correct for the ELF on FreeBSD.
26006
26007 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26008
26009 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
26010 reg_biv_class.
26011
26012 (recombine_givs): Set ix field after sorting.
26013
26014 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
26015
26016 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
26017 to safe to extract a subword out of a REG.
26018
26019 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26020
26021 * sh.md (mulsi3): Don't add a no-op move at the end.
26022
26023 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26024
26025 * cse.c (cse_insn): Don't put hard register source into tables for
26026 the last insn of a libcall.
26027
26028 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26029
26030 * loop.c (strength_reduce): Insert sets of derived givs at every
26031 biv increment, even if it's the only one.
26032
26033 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
26034
26035 * dwarfout.c (add_incomplete_type): New fn.
26036 (output_type): Call it.
26037 (retry_incomplete_types): New fn.
26038 (dwarfout_finish): Call it.
26039
26040 From Eric Raskin <ehr@listworks.com>:
26041 (output_type): Output types for bases.
26042
26043 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
26044
26045 * mips.c (mips_output_conditional_branch): Add `break'
26046 between `default' label and `close braces'.
26047
26048 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
26049
26050 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
26051 specifications and make it realistic.
26052 (LIB_SPEC): Likewise.
26053
26054 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
26055
26056 * config/mips/mips.c (mips_secondary_reload_class): Check for
26057 (PLUS (SP) (REG)) and return appropriate register class.
26058 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
26059 Handle (PLUS (SP) (REG)).
26060 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
26061 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
26062 of emit_insn for tablejump.
26063
26064 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
26065
26066 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
26067 asm_fprintf format string by itself.
26068 (output_function_profiler): Likewise.
26069
26070 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
26071
26072 * combine.c (simplify_logical, case AND): Only call
26073 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
26074 or the constant is positive.
26075
26076 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
26077
26078 * configure.in: Fix typo in rs6000-ibm-aix4 case.
26079 * configure: Regenerate.
26080
26081 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
26082
26083 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
26084 require a sub-version #.
26085 * configure: Rebuilt.
26086
26087 1999-06-14 Robert Lipe (robertlipe@usa.net)
26088
26089 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
26090
26091 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
26092
26093 * c-typeck.c (process_init_element): Detect excess elements in
26094 char array initializer.
26095
26096 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
26097
26098 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
26099
26100 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
26101
26102 * invoke.texi (Option Summary): Add -fpermissive flag.
26103
26104 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
26105
26106 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
26107 that require PIC code sequences.
26108
26109 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
26110
26111 * configure.in: Add new target: thumb-elf.
26112 * configure: Regenerate.
26113 * config/arm/t-thumb-elf: New file: Makefile fragment for
26114 thumb-elf build.
26115 * config/arm/telf.h: New file: Header file for thumb-elf
26116 build.
26117
26118 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
26119
26120 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
26121 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
26122 initializers is some circumstances.
26123
26124 * fixinc/inclhack.def (endif_label): Add additional selector for
26125 more bogus stuff after #endif statements.
26126 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
26127
26128 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
26129
26130 * i386/cygwin.h (SET_ASM_OP): Define.
26131
26132 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
26133
26134 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
26135
26136 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26137
26138 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
26139 latter.
26140
26141 * sh.md (ic_invalidate_line_i): Remove second alternative.
26142
26143 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
26144
26145 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
26146 test for the presence of valid prototypes. Delete bypass expr.
26147 (ioctl_fix_ctrl): Correct the selection expression.
26148 (no_double_slash): Correct quoting rules
26149 *fixinc/fixincl.x: regen
26150 *fixinc/inclhack.sh: regen
26151
26152 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
26153
26154 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
26155
26156 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
26157
26158 * rs6000.md (movsi_got_internal_mem): Delete.
26159 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
26160 (GOT_TOC_REGNUM): Delete.
26161 (PIC_OFFSET_TABLE_REGNUM): Define.
26162 (FINALIZE_PIC): Disable.
26163 * rs6000.c (rs6000_got_register): New code for fixed pic register.
26164 (rs6000_replace_regno): Delete.
26165 (rs6000_finalize_pic): Likewise.
26166 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
26167
26168 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26169
26170 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
26171 is a note; use <= for the compare; advance P while it is
26172 a NOTE.
26173
26174 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
26175
26176 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
26177 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
26178
26179 * varasm.c (remove_from_pending_weak_list): Verify t->name
26180 is non-NULL before passing it to strcmp.
26181
26182 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
26183
26184 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
26185 the typed arguments are not part of a comment
26186 (ioctl_fix_ctrl): Added a purpose comment
26187 *fixinc/fixincl.x: regenerate
26188 *fixinc/inclhack.sh: regenerate
26189
26190 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
26191
26192 * invoke.texi: Add C4x invocation docs.
26193
26194 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
26195
26196 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
26197 Define new macros.
26198 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
26199 TARGET_EXPOSE_LDP.
26200 (c4x_legitimize_reload_address): New function.
26201 * config/c4x/c4x.md: Update docs.
26202
26203 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
26204
26205 * fixincludes: Avoid removing '.'.
26206 * fixinc/fixinc.svr4: Likewise.
26207 * fixinc/fixinc.winnt: Likewise.
26208 * fixinc/inclhack.tpl: Likewise.
26209 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
26210
26211 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
26212
26213 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
26214 pattern.
26215 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
26216
26217 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
26218
26219 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
26220 correctly.
26221
26222 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
26223
26224 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
26225 * configure: Regenerate.
26226
26227 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
26228
26229 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
26230 values.
26231
26232 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
26233
26234 * fixinc/inclhack.def (avoid_bool): Also catch
26235 "typedef [unsigned] int bool".
26236 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
26237
26238 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
26239 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
26240 * configure: Rebuilt.
26241
26242 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
26243
26244 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
26245 such that we can override its definitions if necessary.
26246 (CPP_SPEC): New define. Support processor specific predefines via
26247 %(cpp_cpu).
26248 (CC1_SPEC): New define. Support processor specific compiler
26249 options via %(cc1_cpu).
26250 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
26251 -static.
26252
26253 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
26254
26255 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
26256 between sed's -e flag, and the open-quote following it.
26257 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
26258
26259 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
26260 Jeffrey A Law (law@cygnus.com)
26261
26262 * varasm.c (assemble_start_function): Remove the function
26263 from the pending weak decls list when we define a function.
26264 (assemble_variable): Similarly for variables.
26265 (weak_finish): Ignore items on the list with a NULL name.
26266 (remove_from_ending_weak_list); New function to "remove" an item
26267 from the pending weak declarations list.
26268
26269 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
26270
26271 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
26272
26273 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
26274
26275 * c-lex.c (GETC): Redefine to call getch.
26276 (UNGETC): Redefine to call put_back.
26277 (putback_buffer): New structure type.
26278 (putback): New static structure.
26279 (getch): New function.
26280 (put_back): New function.
26281 (yylex): Replace unused bytes from bad multibyte character.
26282
26283 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
26284
26285 * cpplib.c (do_define): Cast `alloca' return value.
26286 (do_include, do_undef, do_pragma): Likewise.
26287 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
26288 values.
26289 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
26290 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
26291
26292 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
26293
26294 * sparc.md (abstf2): This should be an expand.
26295 (split after abstf2_notv9): Fix mode.
26296 (abstf2_hq_v9): New pattern.
26297 (abstf2_v9): Only use when no hard quad.
26298 (absdf2_v9): Fix if target is not the same as source.
26299 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
26300 Add correct output constraints.
26301
26302 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
26303
26304 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
26305 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
26306
26307 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
26308
26309 * mips.h (mips_output_conditional_branch): New function.
26310 (mips_adjust_insn_length): Likewise.
26311 (ASSEMBLER_SCRATCH_REGNUM): New macro.
26312 (ADJUST_INSN_LENGTH): Likewise.
26313 * mips.c (print_operand): Add `F' and `W' for floating-point
26314 comparison opcodes.
26315 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
26316 are now in bytes.
26317 (mips_adjust_insn_length): New function.
26318 (mips_output_conditional_branch): New function.
26319 * mips.md (length): Adjust attribute definition to handle
26320 conditional branches. Change lengths to bytes, rather than
26321 instructions throughout. Remove length attribute from
26322 instructions whose length is four bytes, and rely on the default
26323 instead.
26324 (dslot): Fix typo in comment.
26325 Reword conditional branch patterns to use
26326 mips_output_conditional_branch.
26327
26328 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
26329
26330 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
26331 (LIB_SPEC): Likewise.
26332 Link with -lprof1_r for -g/-pg.
26333
26334 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
26335
26336 * loop.c (check_dbra_loop): Fix change of Jan 19.
26337
26338 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
26339
26340 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
26341 (STARTFILE_SPEC): Define, override the svr4.h version.
26342 (ENDFILE_SPEC): Likewise.
26343
26344 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
26345
26346 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
26347 * fixinc/fixincl.x: Regenerated.
26348 * fixinc/inclhack.sh: Regenerated.
26349
26350 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26351
26352 * sh.c (barrier_align): Don't return early for normal branch/barrier
26353 when optimizing for SH2.
26354
26355 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
26356
26357 * i386/udk.h (LINK_SPEC): Correct linker search path for
26358 system libraries.
26359
26360 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26361
26362 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
26363 (braf_label_ref_operand): Delete.
26364 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
26365 * sh.md (casesi_jump_2): Operand1 is now the inside of a
26366 label_ref, and has no predicate.
26367 The patten has a predicate to guard against invalid substitutions.
26368 (dummy_jump): Delete.
26369 (casesi): Update use of casesi_jump_2.
26370
26371 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
26372
26373 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
26374 *fixinc/fixincl.x: regenerate
26375 *fixinc/inclhack.sh: regenerate
26376
26377 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
26378
26379 * dwarf2out.c (add_incomplete_type): New fn.
26380 (gen_struct_or_union_type_die): Call it.
26381 (retry_incomplete_types): New fn.
26382 (dwarf2out_finish): Call it.
26383
26384 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
26385
26386 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
26387 current block starts with a CODE_LABEL and ends with a CALL and
26388 we can not find all the argument setup instructions for the CALL.
26389
26390 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
26391
26392 Revert this change:
26393 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
26394 something is a candidate for optimize_bit_field_compare.
26395
26396 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26397
26398 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
26399
26400 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
26401
26402 * alpha.c (override_options): Thinko in last patch.
26403
26404 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
26405 (LIB_SPEC): Recognize -pthread.
26406
26407 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
26408
26409 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
26410 definition in config/arm/coff.h
26411 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
26412
26413 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
26414
26415 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
26416 fixes that need "file=xxx\n" prepended before invocation
26417 (start_fixer - new): starting the fixer process is complex enough
26418 to warrent its own routine. It prepends the "file=xxx\n" stuff.
26419 (process): uses the new routine; omit usage of putenv()
26420 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
26421 * fixinc/fixincl.x: regenerate
26422
26423 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
26424
26425 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
26426 and version #s (1.1 -> 2.96) as needed.
26427 * README.g77: Kill way out of date file in the toplevel directory.
26428
26429 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
26430
26431 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
26432 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
26433 * configure: Rebuilt.
26434 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
26435 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
26436 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
26437 (SWITCH_TAKES_ARG): Likewise.
26438 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
26439 * config/t-freebsd: Moved from config/i386/ so it can used for all
26440 FreeBSD targets.
26441
26442 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
26443
26444 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
26445
26446 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
26447
26448 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
26449 * configure: Rebuilt.
26450
26451 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
26452
26453 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
26454 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
26455 * rs6000/rs6000.c (rs6000_file_start): Use putc.
26456 (rs6000_output_load_toc_table): Same.
26457 (output_prolog, output_mi_thunk): Same.
26458 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
26459 (ASM_GLOBALIZE_LABEL): Use putc.
26460
26461 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
26462
26463 * alpha.md (reload_*_help): New patterns and splitters.
26464 (reload_*): Use them.
26465 (mov[qh]i): Likewise.
26466
26467 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
26468
26469 * cccp.c (handle_directive): Handle backslash-newlines in quoted
26470 strings correctly.
26471
26472 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
26473
26474 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
26475
26476 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
26477
26478 * flow.c (mark_regs_live_at_end, insn_dead_p,
26479 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
26480 and HARD_FRAME_POINTER_REGNUM special treatment if reload
26481 hasn't run or the frame pointer is needed.
26482 * haifa-sched.c (attach_deaths): Likewise.
26483 * sched.c (attach_deaths): Likewise.
26484
26485 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
26486
26487 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
26488 calculate_can_reach_end returns nonzero.
26489
26490 * configure.in (native gas tests): Search for an assembler in the
26491 same manner that the installed compiler will.
26492 * configure: Rebuilt.
26493 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
26494
26495 * alias.c (find_base_term): Improve handling of addresses
26496 constructed from binary operations.
26497
26498 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
26499
26500 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
26501
26502 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
26503
26504 * function.h (cleanup_label, frame_offset): Declare.
26505 (tail_recursion_label, tail_recursion_reentry): Likewise.
26506 (arg_pointer_save_area, rtl_expr_chain): Likewise.
26507 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
26508 (tail_recursion_label, tail_recursion_reentry): Likewise.
26509 (arg_pointer_save_area, rtl_expr_chain): Likewise.
26510
26511 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
26512
26513 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
26514 defined.
26515 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
26516 (MAX_OFILE_ALIGNMENT): Define.
26517
26518 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
26519
26520 * fixincl.c: Replace local include scheme with #includes of
26521 gansidecl.h and system.h.
26522 * procopen.c: Likewise.
26523 * server.c: Likewise.
26524
26525 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
26526
26527 * i386/t-dgux (EXTRA_PARTS): Add crti.o
26528 (crti.o): Add build rule and dependencies.
26529 * fixinc/fixinc.dgux: Use modified _int_varargs.h
26530
26531 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
26532
26533 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
26534 (LIB_LINUX_SPEC): Likewise.
26535 (LIB_LINUX_SPEC): Add support for -pthread
26536 (CPP_OS_LINUX_SPEC): Likewise.
26537 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
26538 specified.
26539
26540 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
26541
26542 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
26543 conditional move.
26544 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
26545 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
26546 for IEEE math and CC_FCOMI.
26547 (put_jump_code): No IEEE if CC_FCOMI is set.
26548
26549 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
26550
26551 * fold-const.c (fold_truthop): Make the field reference unsigned
26552 when converting a single bit compare.
26553
26554 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26555
26556 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
26557
26558 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
26559
26560 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
26561 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
26562 version did.
26563
26564 * reload.c (push_reload): Do not call remove_address_replacements
26565 when presented with identical optional reloads.
26566
26567 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
26568
26569 * alpha.h (MASK_FIX, TARGET_FIX): New.
26570 (MASK_*): Reorganize constants.
26571 (CPP_AM_FIX_SPEC): New.
26572 (TARGET_SWITCHES): Add FIX.
26573 (EXTRA_SPECS): Likewise.
26574 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
26575 (SECONDARY_MEMORY_NEEDED): Likewise.
26576 (REGISTER_MOVE_COST): Likewise.
26577 * alpha.c (override_options): Add FIX support. Always use
26578 ALPHA_TP_PROG for ev6.
26579 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
26580 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
26581 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
26582
26583 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
26584
26585 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
26586 something is a candidate for optimize_bit_field_compare.
26587
26588 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
26589
26590 * gcc.texi (Passes): Document branch-shortening.
26591 * invoke.texi (Debugging Options): Document the fact that `-dp'
26592 outputs length information for instructions.
26593
26594 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
26595
26596 * flow.c: Revert previous delta.
26597
26598 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
26599
26600 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
26601 FRAME_POINTER_REGNUM.
26602 (mark_set_1): Ditto.
26603 (mark_used_regs): Ditto.
26604
26605 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
26606
26607 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
26608 (GOT_PCREL): New macro. Define to 1 if not already defined.
26609 * arm/elf.h (GOT_PCREL): Define to 0.
26610 * arm.c (arm_finalize_pic): Take into account the setting of
26611 GOT_PCREL.
26612
26613 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
26614
26615 * output.h (STRIP_NAME_ENCODING): Provide default definition.
26616 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
26617
26618 * flow.c (mark_set_1): Do not record BLKmode stores as dead
26619 store elimination candidates.
26620
26621 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
26622
26623 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
26624 TARGET_GAS.
26625
26626 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
26627
26628 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
26629 Add use of x-aix41-gld.
26630
26631 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
26632
26633 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
26634 (ASM_OUTPUT_DESTRUCTOR): Define.
26635
26636 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
26637
26638 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
26639 last CODE_LABEL in a loop if we have previously passed a jump
26640 to the top of the loop.
26641
26642 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
26643
26644 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
26645 applying Philip's patch.
26646
26647 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
26648
26649 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
26650 are not VAR_DECLs.
26651
26652 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
26653
26654 * loop.c (strength_reduce): Grow reg_single_usage as needed.
26655
26656 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
26657
26658 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
26659 Also remove a useless comment.
26660
26661 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
26662
26663 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
26664
26665 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
26666
26667 * collect2.c (main): Only generate import or export file and add
26668 to link arguments if non-empty. Use xmalloc not alloca.
26669 (write_{export,import}_file): Delete.
26670 (write_aix_file): New function.
26671 (locatelib): Use xmalloc not malloc.
26672 (GCC_OK_SYMBOL): Do not check type if aix64.
26673
26674 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
26675
26676 Based on patch by Scott Bambrough and Pat Beirne:
26677 * config/arm/arm.c (making_const_table): New variable.
26678 * config/arm/arm.h (making_const_table): Declare.
26679 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
26680 appropriate.
26681 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
26682 Keep track of when we are building the constant table.
26683
26684 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
26685
26686 * config/arm/arm.c (arm_override_options): Fix erroneous warning
26687 message.
26688
26689 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
26690
26691 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
26692 defined.
26693
26694 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
26695
26696 * tm.texi (FUNCTION_ARG): Correct description of a stack element
26697 in a PARALLEL.
26698
26699 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
26700
26701 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
26702
26703 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
26704
26705 * rs6000.c (output_mi_thunk): Enable full support again.
26706
26707 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26708
26709 * sh.h (BRANCH_COST): Define.
26710
26711 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
26712
26713 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
26714
26715 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
26716
26717 * function.c (assign_stack_local): Align stack slot propertly.
26718 (assign_outer_stack_local): Likewise.
26719
26720 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
26721
26722 * expr.h (lang_expand_constant): Declare.
26723 * toplev.c (lang_expand_constant): Define it.
26724 * varasm.c (output_constant): Use it.
26725
26726 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
26727
26728 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
26729 Change function definitions to K&R style.
26730
26731 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
26732
26733 * fixinc/fixincl.c: We must not ignore SIGCLD now.
26734
26735 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
26736
26737 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
26738 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
26739 (several places): omit static initialization
26740 (process): use single fd, since only the read fd is used
26741 * fixinc/gnu-regex.c: define 'const' away, if not supported
26742 * fixinc/procopen.c(several places): omit static initialization
26743 * fixinc/server.c: define 'volitile' away, if not supported
26744
26745 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
26746
26747 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
26748 asm_fprintf and %L to generate the label name.
26749 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
26750 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
26751
26752 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
26753
26754 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
26755 insn for a conditional jump can not be found.
26756
26757 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
26758
26759 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
26760 on variables in specific sections other than .sbss and .sdata.
26761
26762 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
26763
26764 * stmt.c (expand_return): Call start_cleanup_deferral and
26765 end_cleanup_deferral around conditional code.
26766
26767 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
26768
26769 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
26770 filename lists. Utilizes new "krstr" AutoGen function.
26771 * fixinc/fixincl.x: Rebuilt.
26772
26773 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
26774
26775 * i386.c (output_float_compare): Avoid GNU-C extensions.
26776
26777 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
26778
26779 * version.c: Bump to distinguish mainline tree from the
26780 gcc-2.95 branch.
26781
26782 See ChangeLog.1 for earlier changes.
This page took 1.209107 seconds and 5 git commands to generate.